/* =============================================
   Ana sayfa üst — Sahibinden Pro v1.41
   ============================================= */

body.home .mb-header__pills,
body.home .mb-header__trust {
	display: none;
}

body.home .mb-sb-hero {
	display: none !important;
}

/* —— Pazar özeti: Sahibinden tarzı temiz bar —— */
.mb-home-top--pro {
	background:
		linear-gradient(180deg, #f7f9fc 0%, var(--mb-sb-bg, #eef2f7) 100%);
	border-bottom: 1px solid var(--mb-sb-border, #dce3ed);
}

.mb-home-top__live {
	background: #fff;
	color: var(--mb-sb-text, #1c2333);
	padding: 8px 0;
	border-top: 1px solid var(--mb-sb-border, #dce3ed);
	border-bottom: 1px solid var(--mb-sb-border, #dce3ed);
	box-shadow: inset 0 -2px 0 var(--mb-accent, #e5a800);
}

.mb-home-top__live-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 0;
	min-height: 34px;
}

.mb-home-top__live-left {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--mb-sb-muted, #64748b);
	background: var(--mb-neutral-50, #f8fafc);
	border: 1px solid var(--mb-sb-border, #dce3ed);
	border-radius: 999px;
	padding: 6px 12px;
}

.mb-home-top__live-left strong {
	color: var(--mb-sb-navy, #1e4a8c);
	font-weight: 800;
}

.mb-home-top__live-sep {
	opacity: 0.45;
}

.mb-home-top__live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
	animation: mb-live-pulse 2s ease infinite;
	flex-shrink: 0;
}

@keyframes mb-live-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
	70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.mb-home-top__live-text {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 10px;
	color: var(--mb-sb-navy, #1e4a8c);
}

.mb-home-top__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.mb-home-top__quick-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 13px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	color: var(--mb-sb-navy, #1e4a8c);
	background: #fff;
	border: 1px solid var(--mb-sb-border, #dce3ed);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: background 0.15s, border-color 0.15s, transform 0.12s, color 0.15s, box-shadow 0.15s;
}

.mb-home-top__quick-link .mb-icon {
	color: var(--mb-sb-navy, #1e4a8c);
	stroke-width: 2.4;
}

.mb-home-top__quick-link:hover {
	background: var(--mb-sb-gold-subtle, #fffbf0);
	border-color: var(--mb-accent, #e5a800);
	transform: translateY(-1px);
	color: var(--mb-sb-navy, #1e4a8c);
	box-shadow: 0 6px 16px rgba(30, 74, 140, 0.08);
}

.mb-home-top__quick-link--urg {
	border-left: 3px solid #ea580c;
}

.mb-home-top__quick-link--drop {
	border-left: 3px solid #0d9488;
}

.mb-home-top__quick-link--new {
	border-left: 3px solid var(--mb-accent, #e5a800);
}

/* —— Ana layout —— */
.mb-home-top__layout {
	display: grid;
	grid-template-columns: minmax(360px, 0.95fr) minmax(480px, 1.15fr);
	gap: 18px;
	padding: 18px 0 14px;
	align-items: stretch;
}

/* —— Vitrin slider —— */
.mb-home-top__showcase {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mb-home-top__showcase-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2px;
}

.mb-home-top__showcase-head h2 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	color: var(--mb-sb-navy, #1e4a8c);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mb-home-top__counter {
	font-size: 11px;
	font-weight: 700;
	color: var(--mb-sb-muted, #64748b);
	background: var(--mb-sb-surface, #fff);
	border: 1px solid var(--mb-sb-border, #dce3ed);
	padding: 3px 10px;
	border-radius: 999px;
}

.mb-home-top__slider {
	position: relative;
	flex: 1;
	border-radius: 16px;
	overflow: hidden;
	background: var(--mb-navy-950, #0c1f3d);
	border: 1px solid var(--mb-sb-border-strong, #c5ced9);
	box-shadow: 0 16px 42px rgba(12, 31, 61, 0.18);
	min-height: 330px;
}

.mb-home-top__progress {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 4;
	background: rgba(255, 255, 255, 0.15);
}

.mb-home-top__progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--mb-accent, #e5a800);
	transition: width 0.1s linear;
}

.mb-home-top__slider-track {
	position: relative;
	height: 100%;
	min-height: 330px;
}

.mb-home-top__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	text-decoration: none;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mb-home-top__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.mb-home-top__slide.is-active img {
	animation: mb-kenburns 8s ease forwards;
}

@keyframes mb-kenburns {
	from { transform: scale(1); }
	to { transform: scale(1.08); }
}

.mb-home-top__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform-origin: center;
}

.mb-home-top__slide-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 31, 61, 0.08) 0%, rgba(12, 31, 61, 0.15) 40%, rgba(12, 31, 61, 0.92) 100%);
}

.mb-home-top__slide-body {
	position: relative;
	z-index: 2;
	padding: 24px 20px 52px;
	width: 100%;
}

.mb-home-top__slide-badge {
	display: inline-block;
	padding: 4px 10px;
	margin-bottom: 10px;
	background: var(--mb-accent, #e5a800);
	color: var(--mb-navy-950, #0c1f3d);
	border-radius: 4px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.mb-home-top__slide-body strong {
	display: block;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.28;
	margin-bottom: 6px;
	max-width: 90%;
}

.mb-home-top__slide-price {
	display: block;
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--mb-accent, #e5a800);
	margin-bottom: 4px;
}

.mb-home-top__slide-loc {
	display: block;
	font-size: 12px;
	opacity: 0.88;
	margin-bottom: 10px;
}

.mb-home-top__slide-cta {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 6px;
}

.mb-home-top__slide--promo {
	align-items: center;
	justify-content: center;
	text-align: center;
}

.mb-home-top__slide--promo .mb-home-top__slide-body {
	max-width: 340px;
	padding-bottom: 24px;
}

.mb-home-top__slide--promo p {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.55;
	opacity: 0.92;
}

.mb-home-top__slide-deco {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
}

.mb-home-top__slide--gold {
	background: linear-gradient(135deg, #1e4a8c 0%, #0c1f3d 100%);
}

.mb-home-top__slide--urgent {
	background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
}

.mb-home-top__slide--drop {
	background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
}

.mb-home-top__slider-nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 14px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
}

.mb-home-top__slider-btn {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.mb-home-top__slider-btn:hover {
	background: rgba(255, 255, 255, 0.28);
}

.mb-home-top__slider-dots {
	display: flex;
	gap: 6px;
}

.mb-home-top__slider-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}

.mb-home-top__slider-dot.is-active {
	background: var(--mb-accent, #e5a800);
	transform: scale(1.25);
}

/* —— Fırsat köşesi —— */
.mb-home-top__deals-pro {
	display: flex;
	flex-direction: column;
	background: var(--mb-sb-surface, #fff);
	border: 1px solid var(--mb-sb-border, #dce3ed);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
	min-height: 330px;
}

.mb-home-top__deals-head-pro {
	padding: 16px 18px 14px;
	border-bottom: 1px solid var(--mb-sb-border, #dce3ed);
	background:
		linear-gradient(90deg, rgba(229, 168, 0, 0.1), transparent 48%),
		linear-gradient(180deg, #fff 0%, var(--mb-neutral-50, #f8fafc) 100%);
}

.mb-home-top__deals-head-pro h2 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 800;
	color: var(--mb-sb-navy, #1e4a8c);
}

.mb-home-top__deals-head-pro p {
	margin: 0 0 10px;
	font-size: 11px;
	color: var(--mb-sb-muted, #64748b);
}

.mb-home-top__deals-tabs-pro {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.mb-home-top__deals-tab-pro {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border: 1px solid var(--mb-sb-border, #dce3ed);
	border-radius: 6px;
	background: #fff;
	font-size: 11px;
	font-weight: 700;
	color: var(--mb-sb-text-secondary, #475569);
	cursor: pointer;
	transition: all 0.15s;
}

.mb-home-top__deals-tab-pro em {
	font-style: normal;
	font-size: 10px;
	font-weight: 800;
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--mb-neutral-100, #f1f5f9);
}

.mb-home-top__deals-tab-pro.is-active {
	color: #fff;
	border-color: transparent;
}

.mb-home-top__deals-tab-pro--urgent.is-active {
	background: #dc2626;
}

.mb-home-top__deals-tab-pro--price_drop.is-active {
	background: #0d9488;
}

.mb-home-top__deals-tab-pro--last48h.is-active {
	background: var(--mb-sb-navy, #1e4a8c);
}

.mb-home-top__deals-tab-pro.is-active em {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.mb-home-top__deals-panel-pro {
	display: none;
	flex: 1;
	flex-direction: column;
}

.mb-home-top__deals-panel-pro.is-active {
	display: flex;
}

.mb-home-top__deals-list-pro {
	flex: 1;
}

.mb-home-top__deals-more-pro {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 16px 14px;
	padding: 10px 14px;
	background: var(--mb-sb-gold-subtle, #fffbf0);
	border: 1px solid var(--mb-gold-100, #fef3c7);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--mb-sb-navy, #1e4a8c);
	text-decoration: none;
	transition: background 0.15s;
}

.mb-home-top__deals-more-pro:hover {
	background: var(--mb-gold-100, #fef3c7);
}

.mb-home-top__deals-empty-pro {
	padding: 40px 20px;
	text-align: center;
	color: var(--mb-sb-muted, #64748b);
}

.mb-home-top__deals-empty-pro .mb-icon {
	display: block;
	margin: 0 auto 12px;
	opacity: 0.35;
}

.mb-home-top__deals-empty-pro p {
	margin: 0 0 14px;
	font-size: 13px;
}

/* —— Deal satır (Sahibinden liste) —— */
.mb-deal-row {
	display: grid;
	grid-template-columns: 52px 1fr auto auto;
	gap: 10px;
	align-items: center;
	padding: 10px 16px;
	border-bottom: 1px solid var(--mb-neutral-100, #f1f5f9);
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.mb-deal-row:last-child {
	border-bottom: none;
}

.mb-deal-row:hover {
	background: var(--mb-sb-row-hover, #fffbf0);
}

.mb-deal-row--drop:hover {
	background: #fef2f2;
}

.mb-deal-row--urg:hover {
	background: #fff7ed;
}

.mb-deal-row__thumb {
	width: 52px;
	height: 40px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--mb-neutral-200, #e2e8f0);
	border: 1px solid var(--mb-sb-border, #dce3ed);
}

.mb-deal-row__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mb-deal-row__title {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--mb-sb-navy, #1e4a8c);
	line-height: 1.35;
	margin-bottom: 3px;
}

.mb-deal-row__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 10px;
	color: var(--mb-sb-muted, #64748b);
}

.mb-deal-row__meta em {
	font-style: normal;
}

.mb-deal-row__price {
	text-align: right;
	white-space: nowrap;
}

.mb-deal-row__price del {
	display: block;
	font-size: 10px;
	color: var(--mb-sb-muted, #64748b);
}

.mb-deal-row__price strong {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: var(--mb-sb-navy, #1e4a8c);
}

.mb-deal-row--drop .mb-deal-row__price strong {
	color: #dc2626;
}

.mb-deal-row__badge {
	display: flex;
	align-items: center;
	gap: 4px;
}

.mb-deal-row__pct {
	display: inline-block;
	padding: 3px 7px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 800;
	background: #dc2626;
	color: #fff;
}

.mb-deal-row__pct--urg {
	background: #ea580c;
	animation: mb-urg-blink 1.5s ease infinite;
}

@keyframes mb-urg-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.75; }
}

.mb-deal-row__pct--new {
	background: var(--mb-sb-navy, #1e4a8c);
}

.mb-deal-row__badge .mb-icon {
	color: var(--mb-sb-muted, #94a3b8);
	flex-shrink: 0;
}

/* —— Akıllı modüller —— */
.mb-home-top__modules {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 0 0 16px;
}

.mb-home-top__module {
	display: grid;
	grid-template-columns: 42px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: var(--mb-sb-surface, #fff);
	border: 1px solid var(--mb-sb-border, #dce3ed);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.mb-home-top__module:hover {
	transform: translateY(-2px);
	border-color: var(--mb-sb-navy-light, #2a5fa8);
	box-shadow: 0 12px 26px rgba(30, 74, 140, 0.1);
}

.mb-home-top__module-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--mb-sb-gold-subtle, #fffbf0);
	color: var(--mb-sb-navy, #1e4a8c);
}

.mb-home-top__module-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mb-home-top__module-body strong {
	font-size: 13px;
	font-weight: 800;
	color: var(--mb-sb-navy, #1e4a8c);
}

.mb-home-top__module-body small {
	font-size: 11px;
	line-height: 1.35;
	color: var(--mb-sb-muted, #64748b);
}

.mb-home-top__module em {
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	color: var(--mb-sb-navy, #1e4a8c);
	white-space: nowrap;
}

/* —— Kategori şeridi —— */
.mb-home-top__cats {
	padding-bottom: 18px;
	overflow: hidden;
}

.mb-home-top__cats-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.mb-home-top__cats-head > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mb-home-top__cats-head strong {
	font-size: 12px;
	font-weight: 800;
	color: var(--mb-sb-navy, #1e4a8c);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mb-home-top__cats-head span {
	font-size: 11px;
	color: var(--mb-sb-muted, #64748b);
}

.mb-home-top__cats-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.mb-home-top__cats-actions a {
	font-size: 11px;
	font-weight: 800;
	color: var(--mb-sb-navy, #1e4a8c);
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--mb-sb-border, #dce3ed);
}

.mb-home-top__cats-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--mb-sb-border, #dce3ed);
	color: var(--mb-sb-navy, #1e4a8c);
	font-size: 17px;
	font-weight: 800;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
	transition: background 0.15s, border-color 0.15s, transform 0.12s;
}

.mb-home-top__cats-nav:hover {
	background: var(--mb-sb-gold-subtle, #fffbf0);
	border-color: var(--mb-accent, #e5a800);
	transform: translateY(-1px);
}

.mb-home-top__cats-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
}

.mb-home-top__cats-track {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 8px;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.mb-home-top__cats-track::-webkit-scrollbar {
	display: none;
}

.mb-home-top__cat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 clamp(154px, 16vw, 190px);
	justify-content: flex-start;
	min-width: 0;
	padding: 9px 12px;
	background: var(--mb-sb-surface, #fff);
	border: 1px solid var(--mb-sb-border, #dce3ed);
	border-radius: 999px;
	text-decoration: none;
	color: var(--mb-sb-navy, #1e4a8c);
	font-size: 12px;
	font-weight: 700;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
	scroll-snap-align: start;
}

.mb-home-top__cat:hover {
	border-color: var(--cat-accent, var(--mb-primary));
	box-shadow: 0 4px 14px rgba(30, 74, 140, 0.1);
	transform: translateY(-1px);
}

.mb-home-top__cat-icon {
	display: flex;
	flex-shrink: 0;
	color: var(--cat-accent, var(--mb-primary));
}

.mb-home-top__cat-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mb-home-top__cat em {
	flex-shrink: 0;
	font-style: normal;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--cat-accent, #1e4a8c) 10%, #fff);
	color: var(--cat-accent, #1e4a8c);
}

.mb-home-top__cats-fade {
	position: absolute;
	top: 0;
	bottom: 6px;
	width: 44px;
	z-index: 2;
	pointer-events: none;
}

.mb-home-top__cats-fade--left {
	left: 0;
	background: linear-gradient(90deg, var(--mb-sb-bg, #eef1f6), transparent);
}

.mb-home-top__cats-fade--right {
	right: 0;
	background: linear-gradient(270deg, var(--mb-sb-bg, #eef1f6), transparent);
}

/* Footer sosyal ikonlar */
.mb-footer__social .mb-icon {
	stroke-width: 1.75;
}

/* —— Responsive —— */
@media (max-width: 960px) {
	.mb-home-top__layout {
		grid-template-columns: 1fr;
	}

	.mb-home-top__slider,
	.mb-home-top__slider-track {
		min-height: 240px;
	}

	.mb-home-top__modules {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	body.home .mb-header-trending {
		display: none;
	}

	.mb-home-top__live-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.mb-deal-row {
		grid-template-columns: 44px 1fr auto;
	}

	.mb-deal-row__badge .mb-icon {
		display: none;
	}

	.mb-home-top__module {
		grid-template-columns: 38px 1fr;
	}

	.mb-home-top__module em {
		grid-column: 2;
	}

	.mb-home-top__cats-head {
		align-items: flex-start;
	}

	.mb-home-top__cats-actions a {
		display: none;
	}

	.mb-home-top__cat {
		flex-basis: 150px;
	}

	.mb-home-top__cats-fade {
		width: 28px;
	}
}
