/*
 * MB Mobilya Premium — tema stilleri (genel)
 *
 * SES: sakin, kurumsal, güven veren | FİKİR: mobilya kataloğu + sevkiyat ağı
 * GÖRSEL: güneş alan salon render'ı, 81 il haritası
 * RENK & TİP: sıcak beyaz zemin, mürekkep, ceviz bantlar; Maraş biberi vurgusu yalnızca harita ve küçük işaretlerde.
 *             Tek aile Archivo: geniş kesim başlıklar (font-stretch %110–125) + normal metin.
 * DÜZEN: başlık üstte, tam genişlik fotoğraf, kıl çizgili listeler; kart yerine çizgi, gölge yalnızca yüzen öğede.
 *
 * Dosyalar: tema.css (her sayfa) · ana-sayfa.css (yalnızca ana sayfa) · magaza.css (diğer sayfalar).
 */

/* ---------- Yazı tipi (yerel: ziyaretçi bilgisi üçüncü tarafa gitmez; SIL OFL 1.1, fonts/OFL.txt) ---------- */
@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url('../fonts/archivo-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Token'lar ---------- */
:root {
	--zemin: #F5F3EF;
	--kart: #FBFAF8;
	--yuzey: #E4E0DA;
	--yuzey-koyu: #DDD6CC;
	--bant: #E9E3DA;
	--murekkep: #1B1814;
	--murekkep-dolgu: #3A2E26;
	--koyu: #2A211B;
	--koyu-panel: #352A22;
	--footer: #1E1813;
	--acik: #EDE7DF;
	--acik-baslik: #F5F0E9;
	--vurgu: #9A2E1F;
	--nokta: #B49A82;
	--izgara: #D3CABE;
	--kazanc: #E9B9A8;

	--metin-2: rgb(27 24 20 / .72);
	--metin-3: rgb(27 24 20 / .64);
	--cizgi: rgb(27 24 20 / .14);
	--cizgi-2: rgb(27 24 20 / .22);
	--cizgi-3: rgb(27 24 20 / .32);
	--acik-2: rgb(237 231 223 / .74);
	--acik-3: rgb(237 231 223 / .64);
	--acik-cizgi: rgb(237 231 223 / .16);

	--font: Archivo, 'Helvetica Neue', Arial, sans-serif;
	--b-baslik-1: clamp(2rem, .9rem + 4.6vw, 5.5rem);
	--b-baslik-2: clamp(1.75rem, 1.1rem + 2.1vw, 3rem);
	--b-baslik-3: 20px;

	--eo: cubic-bezier(.16, 1, .3, 1);
	--eos: cubic-bezier(.25, 1, .5, 1);
	--eio: cubic-bezier(.65, 0, .35, 1);
	--es: cubic-bezier(.34, 1.56, .64, 1);

	--kap: 1320px;
	--kenar: max(4vw, 16px);
	--ust-y: 74px;
	--golge-yuzen: 0 18px 44px rgb(27 24 20 / .2);
	--golge-dugme: 0 14px 34px rgb(27 24 20 / .28);
	--yaricap: 2px;
	--yaricap-panel: 4px;
	color-scheme: light;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html[data-gorunum="toptan"] { scroll-padding-top: 136px; }
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--zemin);
	color: var(--murekkep);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button, input, select, textarea, output { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--vurgu); outline-offset: 3px; }
::selection { background: var(--murekkep); color: var(--zemin); }
[hidden] { display: none !important; }

.mb-sr, .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.mb-atla {
	position: fixed; left: 16px; top: 12px; z-index: 100;
	padding: 12px 18px; border-radius: 999px;
	background: var(--murekkep); color: var(--zemin); font-weight: 600;
	transform: translateY(-160%); transition: transform .3s var(--eo);
}
.mb-atla:focus { transform: none; }

.mb-kap { width: 100%; max-width: var(--kap); margin-inline: auto; padding-inline: var(--kenar); }
.mb-soluk { color: var(--metin-3); }
.mb-rakam { font-variant-numeric: tabular-nums; }
.mb-not { margin: 0; font-size: 13px; color: rgb(27 24 20 / .64); }
.mb-not--ayrik { margin-top: 32px; }
.mb-giris { margin: 0; font-size: 17px; color: var(--metin-2); max-width: 48ch; }
.mb-ust-satir { margin: 0; font-size: 14px; color: rgb(27 24 20 / .64); }
.mb-ust-satir a { color: inherit; }
.mb-baslik-1 { margin: 0; font-size: var(--b-baslik-1); line-height: .98; font-weight: 600; font-stretch: 112%; letter-spacing: -.035em; }
.mb-baslik-2 { margin: 0; font-size: var(--b-baslik-2); line-height: 1.04; font-weight: 600; font-stretch: 110%; letter-spacing: -.03em; }
.mb-baslik-3 { margin: 0; font-size: var(--b-baslik-3); line-height: 1.25; font-weight: 600; }
.mb-kaydir { scrollbar-width: none; }
.mb-kaydir::-webkit-scrollbar { display: none; }

/* Görünüm (Perakende/Toptan): CSS ile anında değişir; toptan fiyat hiçbir zaman sayfada değildir. */
html:not([data-gorunum="toptan"]) .mb-yalniz-toptan { display: none !important; }
html[data-gorunum="toptan"] .mb-yalniz-perakende { display: none !important; }
/* JavaScript'e bağlı denetimler JS yokken gizli. */
html:not(.mb-js) [data-js-gerekli] { display: none !important; }

/* ---------- Bağlantılar ve düğmeler ---------- */
.mb-ul {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .45s var(--eo);
	padding-bottom: 1px;
}
.mb-ul:hover, .mb-ul:focus-visible, .mb-ul[aria-current] { background-size: 100% 1px; }

.mb-dugme {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 15px;
	font-weight: 550;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: color .3s, border-color .3s, opacity .3s;
	-webkit-user-select: none;
	user-select: none;
}
.mb-dugme::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--dolgu, var(--murekkep-dolgu));
	transform: translateY(101%);
	transition: transform .5s var(--eo);
}
.mb-dugme:hover::before, .mb-dugme:focus-visible::before { transform: none; }
.mb-dugme:active { transform: translateY(1px); }
.mb-dugme--dolu { background: var(--murekkep); color: var(--zemin); --dolgu: var(--murekkep-dolgu); }
.mb-dugme--dolu:hover { color: var(--zemin); }
.mb-dugme--cizgi { border-color: rgb(27 24 20 / .25); --dolgu: rgb(27 24 20 / .06); }
.mb-dugme--acik { background: var(--acik); color: var(--murekkep); font-weight: 600; --dolgu: #fff; }
.mb-dugme--acik:hover { color: var(--murekkep); }
.mb-dugme--cizgi-acik { border-color: rgb(237 231 223 / .35); color: var(--acik); --dolgu: rgb(237 231 223 / .1); }
.mb-dugme--cizgi-acik:hover { color: var(--acik); }
.mb-dugme--buyuk { min-height: 54px; padding: 0 30px; font-size: 15.5px; }
.mb-dugme--genis { width: 100%; }
.mb-dugme svg { flex: none; }
.mb-dugme[aria-disabled="true"], .mb-dugme:disabled, .mb-dugme.is-bekliyor { opacity: .55; cursor: not-allowed; }
.mb-dugme.is-bekliyor { cursor: progress; }
.mb-ok svg, .mb-ok-baglanti svg { transition: transform .4s var(--eo); }
.mb-ok:hover svg, .mb-ok-baglanti:hover svg, .mb-ok:focus-visible svg, .mb-ok-baglanti:focus-visible svg { transform: translateX(5px); }
.mb-ok-baglanti {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px;
	font-size: 15px; font-weight: 550;
}
.mb-ok-baglanti--kucuk { min-height: 32px; font-size: 13.5px; gap: 6px; }
.mb-yuvarlak-dugme {
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border: 1px solid rgb(27 24 20 / .22); border-radius: 50%;
	background: transparent; cursor: pointer;
	transition: background-color .3s, border-color .3s, opacity .3s;
}
.mb-yuvarlak-dugme:hover { border-color: var(--murekkep); background: rgb(27 24 20 / .04); }
.mb-yuvarlak-dugme:disabled { opacity: .35; cursor: default; }
.mb-ikon-dugme {
	position: relative;
	width: 44px; height: 44px; flex: none;
	display: grid; place-items: center;
	padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: inherit;
	cursor: pointer;
	transition: background-color .25s;
}
@media (hover: hover) { .mb-ikon-dugme:hover { background: rgb(27 24 20 / .06); } }

/* ---------- Mağaza notu ve duyuru şeridi ---------- */
.mb-onizleme {
	margin: 0;
	padding: 7px var(--kenar);
	background: var(--bant);
	color: var(--murekkep);
	font-size: 13px; font-weight: 500; line-height: 1.45;
	text-align: center;
}
.mb-onizleme a { text-decoration: underline; text-underline-offset: 2px; }
.mb-duyuru {
	position: relative;
	display: flex; align-items: center;
	height: 38px;
	overflow: hidden;
	white-space: nowrap;
	background: var(--koyu);
	color: var(--acik);
	font-size: 13px;
}
.mb-duyuru__ray { display: flex; width: max-content; }
.mb-duyuru__oge { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.mb-duyuru__nokta { width: 4px; height: 4px; border-radius: 50%; background: var(--nokta); }
.mb-duyuru__durdur {
	position: absolute; right: 0; top: 0; bottom: 0;
	width: 44px;
	display: grid; place-items: center;
	border: 0; background: var(--koyu); color: var(--acik);
	cursor: pointer;
}
.mb-duyuru__durdur svg { opacity: .8; transition: opacity .2s; }
.mb-duyuru__durdur:hover svg { opacity: 1; }
.mb-duyuru__ikon-oynat, .mb-duyuru[data-durdu] .mb-duyuru__ikon-durdur { display: none; }
.mb-duyuru[data-durdu] .mb-duyuru__ikon-oynat { display: block; }
html:not(.mb-js) .mb-duyuru__durdur { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.mb-duyuru__ray { animation: mb-kay 48s linear infinite; }
	.mb-duyuru:hover .mb-duyuru__ray, .mb-duyuru:focus-within .mb-duyuru__ray, .mb-duyuru[data-durdu] .mb-duyuru__ray { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .mb-duyuru__durdur { display: none; } }
@keyframes mb-kay { to { transform: translateX(-50%); } }

/* ---------- Üst bölüm ---------- */
.mb-ust {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--zemin);
	transition: transform .5s var(--eo), box-shadow .3s;
}
.admin-bar .mb-ust { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .mb-ust { top: 0; } }
.mb-ust[data-dolu] { box-shadow: 0 1px 0 rgb(27 24 20 / .12); }
.mb-ust[data-gizli]:not(:focus-within) { transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px))); }
.mb-ust__ic { height: var(--ust-y); display: flex; align-items: center; gap: 24px; }
.mb-logo { display: flex; align-items: center; gap: 11px; flex: none; min-height: 44px; }
.mb-logo__yazi { display: flex; flex-direction: column; line-height: 1; }
.mb-logo__ad { font-weight: 650; font-stretch: 116%; font-size: 17px; letter-spacing: -.01em; }
.mb-logo__alt { margin-top: 3px; font-size: 13px; color: rgb(27 24 20 / .62); }
.mb-logo__gorsel { width: auto; max-height: 44px; }
.mb-nav { margin: 0 auto; }
.mb-nav__liste { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.mb-nav__liste a {
	display: inline-block;
	padding: 6px 0;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .45s var(--eo);
}
.mb-nav__liste a:hover, .mb-nav__liste a:focus-visible, .mb-nav__liste a[aria-current], .mb-nav__liste .current-menu-item > a { background-size: 100% 1px; }
.mb-ust__araclar { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.mb-gorunum {
	display: flex;
	margin: 0 6px 0 0;
	padding: 3px;
	border: 1px solid rgb(27 24 20 / .18);
	border-radius: 999px;
	font-size: 13.5px;
}
.mb-gorunum__dugme {
	height: 36px;
	padding: 0 14px;
	border: 0; border-radius: 999px;
	background: transparent; color: var(--murekkep);
	cursor: pointer;
	transition: background-color .3s, color .3s;
}
.mb-gorunum__dugme[aria-pressed="true"] { background: var(--murekkep); color: var(--zemin); }
.mb-gorunum__dugme:not([aria-pressed="true"]):hover { background: rgb(27 24 20 / .06); }
.mb-gorunum--buyuk { align-self: flex-start; margin: 0; font-size: 15px; }
.mb-gorunum--buyuk .mb-gorunum__dugme { height: 44px; padding: 0 18px; }
.mb-sayac {
	position: absolute; right: 2px; top: 4px;
	min-width: 19px; height: 19px;
	padding: 0 5px;
	display: grid; place-items: center;
	border-radius: 999px;
	background: var(--murekkep); color: var(--zemin);
	font-size: 12px; font-weight: 600; line-height: 1;
	font-variant-numeric: tabular-nums;
}
.mb-sayac.is-zipla { animation: mb-zipla .5s var(--es); }
@keyframes mb-zipla { 50% { transform: scale(1.4); } }
.mb-menu-ac { display: none; }

/* Toptan görünüm bandı */
.mb-toptan-bant { background: var(--bant); font-size: 13.5px; }
.mb-toptan-bant__ic { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-block: 9px; }
.mb-toptan-bant__baglantilar { display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 600; }

@media (max-width: 1080px) {
	.mb-nav { display: none; }
	.mb-menu-ac { display: grid; }
}
@media (max-width: 760px) {
	.mb-ust__ic { gap: 12px; }
	.mb-ust .mb-gorunum--ust { display: none; }
	:root { --ust-y: 66px; }
}

/* ---------- Mobil menü (dialog) ---------- */
.mb-mobil-menu {
	position: fixed;
	inset: 0;
	width: 100%; max-width: 100%;
	height: 100%; max-height: 100%;
	margin: 0;
	padding: 16px var(--kenar) 32px;
	border: 0;
	background: var(--zemin);
	color: var(--murekkep);
	overflow-y: auto;
	overscroll-behavior: contain;
	flex-direction: column;
	gap: 28px;
	transform: translateY(-102%);
	transition: transform .6s var(--eio), overlay .6s allow-discrete, display .6s allow-discrete;
}
.mb-mobil-menu[open] { display: flex; transform: none; }
@starting-style { .mb-mobil-menu[open] { transform: translateY(-102%); } }
.mb-mobil-menu::backdrop { background: transparent; }
.mb-mobil-menu__ust { display: flex; justify-content: space-between; align-items: center; min-height: 58px; }
.mb-mobil-menu__liste { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mb-mobil-menu__liste a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid rgb(27 24 20 / .12);
	font-size: 26px; font-weight: 600; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.25;
}
.mb-mobil-menu__liste .current-menu-item > a, .mb-mobil-menu__liste a[aria-current] { color: var(--metin-3); }
.mb-mobil-menu__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* ---------- Alt bölüm ---------- */
.mb-alt { background: var(--footer); color: var(--acik); overflow-x: clip; }
.mb-alt__ic { padding-top: clamp(64px, 7vw, 104px); padding-bottom: 28px; }
.mb-alt__izgara { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 32px; }
.mb-alt__sutun { min-width: 0; }
.mb-alt__baslik { margin: 0 0 14px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--acik); }
.mb-alt__liste { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mb-alt__liste a { display: inline-block; padding: 6px 0; font-size: 14.5px; line-height: 1.45; color: rgb(237 231 223 / .72); transition: color .25s; }
.mb-alt__liste a:hover { color: var(--acik); }
@media (pointer: coarse) { .mb-alt__liste a { padding: 10px 0; } .mb-alt__liste { gap: 0; } }
.mb-alt__adres { display: grid; gap: 8px; font-style: normal; font-size: 14.5px; line-height: 1.7; color: rgb(237 231 223 / .72); }
.mb-alt__adres a { color: var(--acik); }
.mb-alt__marka {
	margin: clamp(56px, 7vw, 96px) 0 0;
	font-size: clamp(3rem, .6rem + 10vw, 10.5rem);
	line-height: .84;
	font-weight: 600;
	font-stretch: 125%;
	letter-spacing: -.05em;
	white-space: nowrap;
	overflow: hidden;
	color: var(--acik);
}
.mb-alt__yasal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
	margin-top: 30px; padding-top: 20px;
	border-top: 1px solid rgb(237 231 223 / .14);
	font-size: 13px; color: rgb(237 231 223 / .64);
}
.mb-alt__not { margin: 12px 0 0; font-size: 13px; color: rgb(237 231 223 / .64); }
.mb-alt__not--soluk { color: rgb(237 231 223 / .54); }
@media (max-width: 1080px) { .mb-alt__izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
	.mb-alt__izgara > :last-child { grid-column: 1 / -1; }
	.mb-alt__marka { font-size: clamp(2.4rem, 13.4vw, 3rem); }
}

/* ---------- Sabit WhatsApp düğmesi ---------- */
.mb-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 55;
	isolation: isolate; overflow: hidden;
	height: 56px;
	padding: 0 20px 0 17px;
	display: inline-flex; align-items: center; gap: 10px;
	border-radius: 999px;
	background: var(--murekkep); color: var(--zemin);
	font-size: 15px; font-weight: 550;
	box-shadow: var(--golge-dugme);
	transition: transform .4s var(--eo), opacity .3s;
}
.mb-wa::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--murekkep-dolgu); transform: translateY(101%); transition: transform .5s var(--eo);
}
.mb-wa:hover { color: var(--zemin); }
.mb-wa:hover::before { transform: none; }
.mb-wa[data-saklan] { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
	.mb-wa { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
	.mb-wa__metin { display: none; }
}

/* ---------- Bildirim (toast) ve uçan nokta ---------- */
.mb-bildirim {
	position: fixed; left: 50%; bottom: 24px; z-index: 90;
	display: flex; align-items: center; gap: 10px;
	max-width: calc(100% - 32px);
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--murekkep); color: var(--zemin);
	font-size: 15px; line-height: 1.35;
	box-shadow: var(--golge-dugme);
	transform: translate(-50%, 200%);
	opacity: 0; visibility: hidden;
	transition: transform .55s var(--eo), opacity .3s, visibility 0s .55s;
}
.mb-bildirim[data-acik] { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .55s var(--eo), opacity .3s; }
.mb-bildirim[data-tur="hata"] svg { display: none; }
.mb-bildirim[data-tur="hata"]::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #E9B9A8; }
.mb-bildirim svg { flex: none; }
.mb-ucan {
	position: fixed; z-index: 95;
	width: 16px; height: 16px; margin: -8px 0 0 -8px;
	border-radius: 50%;
	background: var(--murekkep);
	box-shadow: 0 0 0 3px var(--zemin);
	pointer-events: none;
}

/* ---------- Sepet çekmecesi (dialog) ---------- */
.mb-cekmece {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(440px, 100%); max-width: 100%;
	height: 100%; max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--kart);
	color: var(--murekkep);
	box-shadow: -24px 0 60px rgb(27 24 20 / .2);
	flex-direction: column;
	overflow: hidden;
	transform: translateX(104%);
	transition: transform .55s var(--eo), overlay .55s allow-discrete, display .55s allow-discrete;
}
.mb-cekmece[open] { display: flex; transform: none; }
@starting-style { .mb-cekmece[open] { transform: translateX(104%); } }
.mb-cekmece::backdrop {
	background: rgb(20 16 12 / 0);
	transition: background-color .45s var(--eo), overlay .45s allow-discrete, display .45s allow-discrete;
}
.mb-cekmece[open]::backdrop { background: rgb(20 16 12 / .45); }
@starting-style { .mb-cekmece[open]::backdrop { background: rgb(20 16 12 / 0); } }
.mb-cekmece__ust { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 18px 24px; border-bottom: 1px solid rgb(27 24 20 / .12); }
.mb-cekmece__baslik { margin: 0; font-size: 20px; font-weight: 600; }
.mb-cekmece__baslik .mb-soluk { font-weight: 400; }
.mb-cekmece__govde { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px; }
.mb-cekmece__alt { display: flex; flex-direction: column; gap: 10px; padding: 18px 24px 24px; border-top: 1px solid rgb(27 24 20 / .12); }
.mb-cekmece__satir { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.mb-cekmece__satir--buyuk { font-size: 16px; }
.mb-cekmece__satir--buyuk span:last-child { font-weight: 600; }
.mb-cekmece__ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mb-cekmece__ikili .mb-dugme { min-height: 48px; padding: 0 14px; font-size: 14.5px; }
.mb-cekmece__not { margin: 2px 0 0; font-size: 13px; color: rgb(27 24 20 / .64); }
.mb-cekmece__yukleniyor { display: grid; gap: 16px; padding: 18px 0; }
.mb-cekmece__yukleniyor span { display: block; height: 105px; border-radius: 2px; background: linear-gradient(90deg, var(--yuzey) 0 84px, transparent 84px 98px, rgb(27 24 20 / .06) 98px); opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .mb-cekmece__yukleniyor span { animation: mb-nabiz 1.2s var(--eio) infinite alternate; } }
@keyframes mb-nabiz { to { opacity: .35; } }
.mb-sepet-bos { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 0; text-align: center; }
.mb-sepet-bos__baslik { margin: 0; font-size: 18px; font-weight: 600; }
.mb-sepet-bos__metin { margin: 0; max-width: 30ch; font-size: 15px; color: rgb(27 24 20 / .66); }
.mb-sepet-satir { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgb(27 24 20 / .12); }
.mb-sepet-satir.is-bekliyor { opacity: .55; pointer-events: none; }
.mb-sepet-satir__gorsel { flex: none; width: 84px; height: 105px; object-fit: cover; border-radius: 2px; background: var(--yuzey); }
.mb-sepet-satir__govde { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mb-sepet-satir__ad { margin: 0; font-weight: 600; line-height: 1.3; }
.mb-sepet-satir__alt { margin: 0; font-size: 13.5px; color: rgb(27 24 20 / .64); }
.mb-sepet-satir__alt-satir { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.mb-sepet-satir__tutar { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb-sepet-satir__kaldir { align-self: flex-start; margin-top: 2px; padding: 0; border: 0; background: none; font-size: 13px; color: rgb(27 24 20 / .64); cursor: pointer; min-height: 32px; }
.mb-sepet-satir__kaldir:hover { color: var(--murekkep); text-decoration: underline; }
.mb-sepet-hata { margin: 12px 0 0; padding: 10px 14px; border: 1px solid var(--cizgi); border-radius: 12px; font-size: 14px; background: var(--zemin); }

/* Adet seçici (çekmece, ürün sayfası, sepet) */
.mb-adet { display: inline-flex; align-items: center; border: 1px solid rgb(27 24 20 / .18); border-radius: 999px; background: transparent; }
.mb-adet button {
	width: 44px; height: 40px;
	display: grid; place-items: center;
	padding: 0; border: 0; border-radius: 999px;
	background: transparent; cursor: pointer; font-size: 18px; line-height: 1;
}
.mb-adet button:hover { background: rgb(27 24 20 / .05); }
.mb-adet button:disabled { opacity: .35; cursor: default; }
.mb-adet__sayi { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- Bölümler ---------- */
.mb-bolum__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 28px; }
.mb-bolum__giris { max-width: 640px; }
.mb-bolum__metin { margin: 10px 0 0; font-size: 16px; color: rgb(27 24 20 / .7); }
.mb-bolum__not { margin: 8px 0 0; font-size: 15px; color: var(--metin-3); }

/* Kıl çizgili tanım listesi (özellikler, ölçüler) */
.mb-cizgili-liste { display: grid; gap: 0 28px; margin: 0; font-size: 14.5px; }
.mb-cizgili-liste > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--cizgi); min-width: 0; }
.mb-cizgili-liste dt { color: rgb(27 24 20 / .64); }
.mb-cizgili-liste dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.mb-cizgili-liste--iki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mb-cizgili-liste--uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .mb-cizgili-liste--iki { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mb-cizgili-liste--uc { grid-template-columns: 1fr; } }

/* Çipler (süzgeç, il, kategori) */
.mb-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-cip {
	display: inline-flex; align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgb(27 24 20 / .22);
	border-radius: 999px;
	background: transparent;
	color: var(--murekkep);
	font-size: 14px; line-height: 1.2;
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}
.mb-cip:hover { border-color: var(--murekkep); }
.mb-cip[aria-pressed="true"], .mb-cip[aria-current] { background: var(--murekkep); border-color: var(--murekkep); color: var(--zemin); }
.mb-cipler--koyu .mb-cip { border-color: rgb(237 231 223 / .28); color: var(--acik); }
.mb-cipler--koyu .mb-cip:hover { border-color: var(--acik); }
.mb-cipler--koyu .mb-cip[aria-pressed="true"] { background: var(--acik); border-color: var(--acik); color: var(--murekkep); }

/* Renk düğmeleri */
.mb-renkler { display: flex; flex-wrap: wrap; gap: 12px; }
.mb-renk {
	width: 44px; height: 44px;
	padding: 0; border: 0; border-radius: 50%;
	background: var(--renk, #CFC8BF);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12);
	cursor: pointer;
	transition: transform .35s var(--es), box-shadow .3s;
}
.mb-renk:hover { transform: scale(1.08); }
.mb-renk[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--zemin), 0 0 0 4.5px var(--murekkep); }
.mb-renk:disabled, .mb-renk[aria-disabled="true"] { opacity: .35; cursor: not-allowed; transform: none; }

/* Rozet */
.mb-rozetler { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.mb-rozet { padding: 5px 11px; border-radius: 999px; background: var(--kart); font-size: 13px; font-weight: 550; line-height: 1.2; }
.mb-rozet--soluk { background: rgb(251 250 248 / .9); color: var(--metin-3); }

/* ---------- Ürün kartı ve ızgara ---------- */
.mb-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; margin: 0; padding: 0; list-style: none; }
.mb-izgara > li { min-width: 0; margin: 0; }
.mb-kart { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.mb-kart__medya { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--yaricap); background: var(--yuzey); }
.mb-kart__zoom { position: absolute; inset: 0; }
.mb-kart__gorsel { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--eo), opacity .55s var(--eo); }
.mb-kart__gorsel--ikinci { position: absolute; inset: 0; opacity: 0; }
.mb-kart:hover .mb-kart__gorsel { transform: scale(1.03); }
.mb-kart:hover .mb-kart__gorsel--ikinci { opacity: 1; }
.mb-kart__eylemler { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: grid; }
.mb-kart__eylem {
	display: grid; place-items: center;
	height: 48px; padding: 0 12px;
	border-radius: 999px;
	background: var(--murekkep); color: var(--zemin);
	font-size: 14.5px; font-weight: 550; text-align: center; white-space: nowrap;
	transform: translateY(130%);
	transition: transform .5s var(--eo), background-color .3s;
}
.mb-kart__eylem:hover { background: var(--murekkep-dolgu); color: var(--zemin); }
.mb-kart:hover .mb-kart__eylem, .mb-kart:focus-within .mb-kart__eylem { transform: none; }
.mb-kart__eylem.is-bekliyor { opacity: .7; cursor: progress; }
@media (hover: none) { .mb-kart__eylem { transform: none; } }
.mb-kart__govde { display: flex; flex-direction: column; gap: 3px; }
.mb-kart__ad { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.mb-kart__baglanti::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--yaricap); }
.mb-kart__baglanti:focus-visible { outline: none; }
.mb-kart__baglanti:focus-visible::after { outline: 2px solid var(--vurgu); outline-offset: 4px; }
.mb-kart__alt { margin: 0; font-size: 14px; color: var(--metin-3); }
.mb-kart__fiyat { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; margin-top: 6px; }
.mb-kart__renkler { display: flex; gap: 6px; margin: 7px 0 0; }
.mb-kart__renkler span { width: 14px; height: 14px; border-radius: 50%; background: var(--renk); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
.mb-kart .star-rating { margin-top: 4px; }
@media (max-width: 1080px) { .mb-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.mb-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.mb-kart__eylem { height: 44px; font-size: 13.5px; }
	.mb-kart__eylemler { left: 8px; right: 8px; bottom: 8px; }
	.mb-rozetler { left: 8px; top: 8px; }
	.mb-rozet { padding: 4px 9px; }
	.mb-kart__ad { font-size: 15.5px; }
	.mb-kart__alt { font-size: 13.5px; }
}

/* Fiyat */
.mb-fiyat { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb-fiyat--buyuk { font-size: 30px; }
.mb-fiyat del, .price del { font-weight: 400; color: rgb(27 24 20 / .58); text-decoration-thickness: 1px; margin-right: 8px; }
.mb-fiyat ins, .price ins { text-decoration: none; }
.mb-etiket { font-size: 13px; color: rgb(27 24 20 / .64); }
.mbm-bayi-fiyat { white-space: nowrap; }
.mbm-bayi-on { font-weight: 400; font-size: .82em; color: rgb(27 24 20 / .64); }
.mbm-kdv { font-size: .72em; font-weight: 500; color: rgb(27 24 20 / .64); }

/* Görsel yakınlaştırma sarmalayıcısı */
.mb-zoom { display: block; width: 100%; height: 100%; transition: transform 1.3s var(--eo); }
.mb-zoom img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Giriş animasyonları (yalnızca JS + hareket izni varken; içerik JS olmadan görünür) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.mb-js [data-rv="up"]:not([data-in]) { opacity: 0; transform: translateY(34px); }
	.mb-js [data-rv="up"][data-in] { transition: opacity .9s var(--eo), transform 1s var(--eo); transition-delay: calc(var(--i, 0) * 85ms); }
	.mb-js [data-rv="img"] > * { clip-path: inset(0); }
	.mb-js [data-rv="img"]:not([data-in]) > * { clip-path: inset(0 0 100% 0); }
	.mb-js [data-rv="img"]:not([data-in]) img { transform: scale(1.16); }
	.mb-js [data-rv="img"][data-in] > * { transition: clip-path 1.3s var(--eio); }
	.mb-js [data-rv="img"][data-in] img { transition: transform 1.9s var(--eo); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Formlar (genel: ödeme, hesap, bayi başvurusu, arama) ---------- */
label { cursor: default; }
.mb-girdi,
.input-text,
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], input[type="date"],
select, textarea {
	width: 100%;
	min-height: 52px;
	padding: 0 20px;
	border: 1px solid rgb(27 24 20 / .22);
	border-radius: 999px;
	background: var(--kart);
	color: var(--murekkep);
	font-size: 16px;
	line-height: 1.3;
	transition: border-color .25s, box-shadow .25s;
	-webkit-appearance: none;
	appearance: none;
}
textarea, textarea.input-text { min-height: 120px; padding: 14px 20px; border-radius: 20px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: rgb(27 24 20 / .5); }
.mb-girdi:hover, .input-text:hover, select:hover, textarea:hover { border-color: rgb(27 24 20 / .4); }
.mb-girdi:focus, .input-text:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--murekkep); box-shadow: 0 0 0 3px rgb(27 24 20 / .08); }
.mb-girdi:focus-visible, .input-text:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--vurgu); outline-offset: 2px; }
select {
	padding-right: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231B1814' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	cursor: pointer;
	text-overflow: ellipsis;
}
select[multiple] { background-image: none; border-radius: 20px; padding: 10px 16px; }
input[type="checkbox"], input[type="radio"] {
	flex: none;
	width: 20px; height: 20px;
	margin: 0;
	border: 1.5px solid rgb(27 24 20 / .45);
	background: var(--kart);
	-webkit-appearance: none; appearance: none;
	display: inline-grid; place-items: center;
	vertical-align: -4px;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
input[type="checkbox"] { border-radius: 5px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::after { content: ""; width: 10px; height: 6px; border: solid var(--zemin); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--es); }
input[type="radio"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--zemin); transform: scale(0); transition: transform .2s var(--es); }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--murekkep); border-color: var(--murekkep); }
input[type="checkbox"]:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
input[type="radio"]:checked::after { transform: scale(1); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid var(--vurgu); outline-offset: 2px; }
.mb-secim { position: relative; display: inline-flex; align-items: center; min-width: 0; }
.mb-secim select { width: 100%; background-image: none; }
.mb-secim__ok { position: absolute; right: 18px; pointer-events: none; }

.form-row { margin: 0 0 18px; padding: 0; }
.form-row label, .woocommerce-form-row label, .mb-etiket-ust { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 550; line-height: 1.4; }
.form-row .required, .form-row abbr.required, abbr.required { color: var(--vurgu); text-decoration: none; border: 0; font-weight: 600; }
.form-row .optional { font-weight: 400; color: var(--metin-3); }
.form-row .woocommerce-input-wrapper { display: block; width: 100%; }
.form-row-first, .form-row-last { width: calc(50% - 8px); float: left; }
.form-row-last { float: right; }
.form-row-wide { clear: both; width: 100%; }
.form-row::after { content: ""; display: table; clear: both; }
.form-row .description, .form-row-description { display: block; margin-top: 6px; font-size: 13px; color: var(--metin-3); }
.form-row label.checkbox, .form-row label.woocommerce-form__label-for-checkbox, .woocommerce-form__label-for-checkbox {
	display: flex; align-items: flex-start; gap: 12px;
	font-weight: 400; font-size: 15px; line-height: 1.5; cursor: pointer;
}
.form-row label.checkbox input, .woocommerce-form__label-for-checkbox input { margin-top: 2px; }
.form-row.woocommerce-invalid .input-text, .form-row.woocommerce-invalid select, .form-row.woocommerce-invalid .select2-selection { border-color: var(--vurgu); }
.form-row.woocommerce-validated .input-text { border-color: rgb(27 24 20 / .3); }
.woocommerce-error-message, .checkout-inline-error-message { margin: 6px 0 0; font-size: 13px; color: var(--vurgu); }
fieldset { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
@media (max-width: 480px) {
	.form-row-first, .form-row-last { width: 100%; float: none; }
}

/* Düğmeler: WooCommerce ve WordPress sınıfları da aynı görünür */
.button, button.button, a.button, input.button, input[type="submit"], .wp-element-button, .wp-block-button__link {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid rgb(27 24 20 / .25);
	border-radius: 999px;
	background: transparent;
	color: var(--murekkep);
	font-size: 15px;
	font-weight: 550;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.button:hover, button.button:hover, a.button:hover, input.button:hover, input[type="submit"]:hover { background: rgb(27 24 20 / .06); color: var(--murekkep); }
.button.alt, button.button.alt, a.button.alt, input.button.alt, .checkout-button, #place_order, .woocommerce-Button.button, button[name="login"], button[name="register"], button[type="submit"].button, .single_add_to_cart_button, .wp-element-button, .wp-block-button__link {
	border-color: var(--murekkep);
	background: var(--murekkep);
	color: var(--zemin);
}
.button.alt:hover, button.button.alt:hover, a.button.alt:hover, .checkout-button:hover, #place_order:hover, .woocommerce-Button.button:hover, button[name="login"]:hover, button[name="register"]:hover, button[type="submit"].button:hover, .single_add_to_cart_button:hover, .wp-element-button:hover, .wp-block-button__link:hover {
	border-color: var(--murekkep-dolgu);
	background: var(--murekkep-dolgu);
	color: var(--zemin);
}
.button:disabled, .button.disabled, .button[disabled], button:disabled.button, .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.button.loading { opacity: .7; cursor: progress; }
.button.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mb-don .8s linear infinite; }
@keyframes mb-don { to { transform: rotate(360deg); } }

/* ---------- Bildirimler (WooCommerce ve eklenti) ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
	margin: 0 0 24px;
	padding: 14px 18px 14px 40px;
	border: 1px solid var(--cizgi);
	border-radius: 16px;
	background: var(--kart);
	color: var(--murekkep);
	font-size: 15px;
	line-height: 1.5;
	list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
	content: "";
	position: absolute; left: 18px; top: 22px;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--murekkep);
}
.woocommerce-error::before { background: var(--vurgu); }
.woocommerce-error { flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-message a.restore-item {
	order: 2; margin-left: auto;
	min-height: 40px; padding: 0 18px; font-size: 14px;
	border-color: rgb(27 24 20 / .25); background: transparent; color: var(--murekkep);
}
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: rgb(27 24 20 / .06); color: var(--murekkep); }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-store-notice, p.demo_store { display: none !important; } /* Temanın üst bandında gösterilir. */

/* Yıldız puanı (WooCommerce .star-rating) */
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.1em; font-size: 14px; line-height: 1; overflow: hidden; }
.star-rating::before { content: "★★★★★"; position: absolute; inset: 0; letter-spacing: .12em; color: rgb(27 24 20 / .2); }
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; font-size: 0; }
.star-rating span::before { content: "★★★★★"; position: absolute; inset: 0; letter-spacing: .12em; font-size: 14px; color: var(--murekkep); }

/* Boş durum */
.mb-bos { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 48px 0; }
.mb-bos__baslik { margin: 0; font-size: 22px; font-weight: 600; font-stretch: 108%; }
.mb-bos__metin { margin: 0; max-width: 52ch; color: var(--metin-2); }
.mb-bos__eylemler { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }
.mb-bos--kucuk { padding: 24px 0 0; color: var(--metin-2); }

/* Ürün arama */
.mb-arama { display: flex; gap: 8px; max-width: 560px; }
.mb-arama .mb-girdi { flex: 1 1 auto; }
.mb-arama .mb-dugme { flex: none; }
