/* ============================================================
   ATÖLYE — Default storefront teması
   Token sistemi: data-attribute + CSS değişkenleri ile sürülür.
   Tüm görsel eksenler (renk / font / radius / yoğunluk / buton
   stili) çalışma zamanında değiştirilebilir.
   ============================================================ */

/* Font import — temada Vite kullanmıyoruz; CSS'in başından çağırıyoruz.
   Listedeki tüm aileler tek istekte yüklenir; operatör Tema Özelleştirme
   sayfasından hangisini kullanacağını seçer. */
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap");

:root {
    /* — Renk (default: monokrom) — */
    --bg:        #ffffff;
    --surface:   #ffffff;
    --surface-2: #f6f6f4;
    --ink:       #0c0c0d;
    --ink-2:     #56565b;
    --ink-3:     #9a9aa0;
    --line:      #e8e7e3;
    --line-2:    #d8d7d2;
    --field:     #f4f3f0;
    --accent:    #0c0c0d;
    --accent-ink:#ffffff;
    --accent-soft: #f4f3f0;
    --sale:      #b4341f;
    --ok:        #1f7a4d;
    --warn:      #b45309;

    /* — Radius — */
    --radius: 4px;
    --r-xs: max(0px, calc(var(--radius) * 0.5));
    --r-sm: var(--radius);
    --r-md: calc(var(--radius) * 1.6);
    --r-lg: calc(var(--radius) * 2.4);
    --r-pill: 999px;

    /* — Tipografi — */
    --font-head: 'Hanken Grotesk', system-ui, sans-serif;
    --font-body: 'Hanken Grotesk', system-ui, sans-serif;
    --tracking-head: -0.02em;
    --head-weight: 700;

    /* type scale */
    --fs-2xs: 11px;
    --fs-xs:  12px;
    --fs-sm:  13px;
    --fs-base:15px;
    --fs-md:  17px;
    --fs-lg:  20px;
    --fs-xl:  26px;
    --fs-2xl: 34px;
    --fs-3xl: 46px;
    --fs-4xl: 64px;

    /* — Yoğunluk / spacing — */
    --u: 4px;
    --gap-grid: 22px;
    --pad-page: 56px;
    --pad-card: 16px;
    --ctrl-h: 46px;
    --section-y: 80px;

    --ph-strong: rgba(12,12,13,.36);
    --ph-soft:   rgba(12,12,13,.18);

    --shadow-sm: 0 1px 2px rgba(12,12,13,.05);
    --shadow-md: 0 6px 24px -8px rgba(12,12,13,.14);
    --shadow-lg: 0 24px 60px -18px rgba(12,12,13,.22);
    --ring: rgba(12,12,13,.12);

    --maxw: 1320px;
}

[data-density="comfy"]   { --gap-grid: 30px; --pad-card: 20px; --ctrl-h: 50px; --section-y: 104px; }
[data-density="compact"] { --gap-grid: 14px; --pad-card: 12px; --ctrl-h: 40px; --section-y: 56px;  }

/* Koyu mod */
[data-theme="dark"] {
    --bg:        #0d0d0f;
    --surface:   #141416;
    --surface-2: #1a1a1d;
    --ink:       #f4f3f0;
    --ink-2:     #a7a7ad;
    --ink-3:     #6e6e75;
    --line:      #26262a;
    --line-2:    #34343a;
    --field:     #1c1c20;
    --accent:    #f4f3f0;
    --accent-ink:#0d0d0f;
    --accent-soft: #1f1f23;
    --ph-strong: rgba(244,243,240,.40);
    --ph-soft:   rgba(244,243,240,.20);
    --ring: rgba(244,243,240,.14);
    --shadow-md: 0 6px 24px -8px rgba(0,0,0,.6);
    --shadow-lg: 0 24px 60px -18px rgba(0,0,0,.75);
}

/* ============================================================
   RESET
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1,h2,h3,h4 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    letter-spacing: var(--tracking-head);
    margin: 0; line-height: 1.05;
    text-wrap: balance;
}
p { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }

.scrollarea::-webkit-scrollbar { width: 10px; height: 10px; }
.scrollarea::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 3px solid var(--bg); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-page); }
.site-main { min-height: 50vh; }
.eyebrow {
    font-size: var(--fs-2xs); letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink-3); font-weight: 600;
}
.muted { color: var(--ink-2); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    --btn-bg: var(--accent);
    --btn-ink: var(--accent-ink);
    appearance: none; border: 1px solid transparent;
    background: var(--btn-bg); color: var(--btn-ink);
    height: var(--ctrl-h); padding: 0 22px; border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 600; letter-spacing: .01em;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
    white-space: nowrap; user-select: none; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:hover { box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; }
.btn--lg { height: calc(var(--ctrl-h) + 6px); padding: 0 30px; font-size: var(--fs-base); }
.btn--sm { height: 36px; padding: 0 14px; font-size: var(--fs-xs); }
.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface-2); box-shadow: none; }
.btn--soft { --btn-bg: var(--accent-soft); --btn-ink: var(--ink); }
.btn--soft:hover { --btn-bg: var(--line); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

[data-btn="outline"] .btn:not(.btn--ghost):not(.btn--soft) {
    --btn-bg: transparent; --btn-ink: var(--accent); border-color: var(--accent);
}
[data-btn="outline"] .btn:not(.btn--ghost):not(.btn--soft):hover {
    --btn-bg: var(--accent); --btn-ink: var(--accent-ink);
}
[data-btn="pill"] .btn { border-radius: var(--r-pill); }

/* ============================================================
   FORM CONTROLS
   ============================================================ */
/* Stand-alone input/select/textarea kullanımı (form'larda direkt .field) */
input.field, select.field, textarea.field {
    width: 100%; height: var(--ctrl-h); padding: 0 14px;
    background: var(--field); border: 1px solid transparent; border-radius: var(--r-sm);
    font-size: var(--fs-sm); color: var(--ink);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
input.field::placeholder, textarea.field::placeholder { color: var(--ink-3); }
input.field:focus, select.field:focus, textarea.field:focus {
    outline: none; border-color: var(--ink); background: var(--surface);
}
textarea.field { height: auto; padding: 12px 14px; resize: vertical; min-height: 96px; }

/* Label-as-wrapper: <label class="field"><span>...</span><input></label>
   View'larda yaygın kalıp; field stilini input'a otomatik uygular. */
label.field {
    display: flex; flex-direction: column; gap: 6px;
    height: auto; padding: 0; background: transparent; border: 0;
}
label.field > span { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
label.field > input,
label.field > select,
label.field > textarea {
    width: 100%; height: var(--ctrl-h); padding: 0 14px;
    background: var(--field); border: 1px solid transparent; border-radius: var(--r-sm);
    font-size: var(--fs-sm); color: var(--ink);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
label.field > input::placeholder, label.field > textarea::placeholder { color: var(--ink-3); }
label.field > input:focus,
label.field > select:focus,
label.field > textarea:focus {
    outline: none; border-color: var(--ink); background: var(--surface);
    box-shadow: 0 0 0 4px var(--ring);
}
label.field > textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 96px; }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }

.label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); margin-bottom: 7px; display: block; }
.form-error { color: var(--sale); font-size: var(--fs-xs); margin-top: 4px; }
.form-success {
    color: var(--ok); font-size: var(--fs-sm); padding: 10px 14px;
    background: rgba(34,139,84,.08); border-left: 3px solid var(--ok); border-radius: var(--r-sm);
}

/* Form layout primitives */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form h3 { font-size: var(--fs-lg); margin: 4px 0 6px; font-weight: 600; }
.auth-form__submit {
    align-self: flex-start;
    height: var(--ctrl-h); padding: 0 22px; border-radius: var(--r-sm);
    background: var(--ink); color: var(--surface); border: 0; cursor: pointer;
    font-weight: 600; font-size: var(--fs-sm); letter-spacing: .02em;
    transition: opacity .15s;
}
.auth-form__submit:hover { opacity: .88; }
.auth-link-button {
    background: transparent; border: 0; padding: 0;
    color: var(--ink-2); font-size: var(--fs-sm); cursor: pointer;
    text-decoration: underline; text-underline-offset: 3px;
}
.auth-link-button:hover { color: var(--ink); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.account-profile { display: flex; flex-direction: column; gap: 28px; }
.account-profile__password { padding-top: 22px; border-top: 1px solid var(--line); }

/* Address book */
.address-book { display: flex; flex-direction: column; gap: 22px; }
.address-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .address-list { grid-template-columns: 1fr; } }
.address-item {
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 16px 18px; display: flex; flex-direction: column; gap: 12px;
}
.address-item__body strong { display: inline-block; font-size: var(--fs-md); margin-right: 8px; }
.address-item__body p { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.address-item__badge {
    display: inline-block; padding: 2px 8px; border-radius: var(--r-pill);
    background: var(--ink); color: var(--surface); font-size: var(--fs-xs); font-weight: 600;
    vertical-align: middle;
}
.address-item__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.address-item__actions button {
    background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
    padding: 6px 12px; font-size: var(--fs-xs); color: var(--ink-2); cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.address-item__actions button:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }

.address-form { padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.address-form h3 { margin-top: 14px; }
.address-form__actions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }

/* ============================================================
   BADGES / PILLS
   ============================================================ */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 9px; border-radius: var(--r-xs); line-height: 1;
}
.badge--solid { background: var(--accent); color: var(--accent-ink); }
.badge--sale  { background: var(--sale); color: #fff; }
.badge--line  { border: 1px solid var(--line-2); color: var(--ink-2); }
.badge--new   { background: var(--ink); color: var(--bg); }

.chip {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px;
    border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface);
    font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2);
    transition: all .15s ease; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[data-active="true"], .chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pcard { position: relative; display: flex; flex-direction: column; gap: 12px; }
.pcard__media {
    position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-md);
    overflow: hidden; background: var(--surface-2);
}
.pcard__media--wide { aspect-ratio: 4 / 5; }
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard__img { transform: scale(1.045); }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.pcard__actions { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.pcard__fav, .pcard__compare {
    width: 38px; height: 38px; border-radius: var(--r-pill); border: 0;
    background: rgba(255,255,255,.82); backdrop-filter: blur(6px);
    display: grid; place-items: center; color: var(--ink); opacity: 0; transform: translateY(-4px);
    transition: opacity .2s, transform .2s, background .2s, color .2s;
    cursor: pointer; text-decoration: none;
}
.pcard:hover .pcard__fav, .pcard:hover .pcard__compare { opacity: 1; transform: translateY(0); }
.pcard__fav:hover, .pcard__compare:hover { background: #fff; }
.pcard__fav[data-on="true"] { opacity: 1; transform: translateY(0); color: var(--sale); }
.pcard__compare[data-on="true"] { opacity: 1; transform: translateY(0); color: var(--ink); background: #fff; }
.pcard__quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
    opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease;
}
.pcard:hover .pcard__quick { opacity: 1; transform: translateY(0); }
.pcard__brand { font-size: var(--fs-2xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pcard__name { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.3; text-decoration: none; display: block; }
.pcard__row { display: flex; align-items: baseline; gap: 9px; }
.price { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.price--old { color: var(--ink-3); font-weight: 500; text-decoration: line-through; }
.price--sale { color: var(--sale); }
.swatches { display: flex; gap: 5px; }
.swatch { width: 14px; height: 14px; border-radius: var(--r-pill); border: 1px solid rgba(0,0,0,.12); }

/* Placeholder media — kategori glyph + ürün adı */
.ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, var(--surface-2), var(--line)); }
.ph__label {
    position: relative; z-index: 2; font-family: var(--font-head); font-weight: 700;
    letter-spacing: -0.02em; color: var(--ph-strong); text-align: center; padding: 0 12%;
    line-height: 1.1; text-transform: uppercase; font-size: clamp(14px, 3.4vw, 30px);
}
.ph__glyph { position: absolute; z-index: 1; opacity: .9; }

/* ============================================================
   GRID
   ============================================================ */
.pgrid { display: grid; gap: var(--gap-grid); grid-template-columns: repeat(4, 1fr); }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pgrid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px){ .pgrid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px){ .pgrid, .pgrid--3 { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   BLOG (Faz 14.13a)
   ============================================================ */
.blog-grid { display: grid; gap: var(--gap-grid); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px){ .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 700px){ .blog-grid { grid-template-columns: 1fr; } }

.blog-card { display: flex; flex-direction: column; gap: 14px; }
.blog-card__media-link { display: block; }
.blog-card__media {
    width: 100%; aspect-ratio: 16 / 10; background: var(--surface-2);
    border-radius: var(--r-md); overflow: hidden; position: relative;
}
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body { display: flex; flex-direction: column; gap: 6px; }
.blog-card__date { font-size: var(--fs-xs); color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.blog-card__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--fs-lg); line-height: 1.3; margin: 4px 0 0; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; margin: 6px 0 0; }
.blog-card__cta {
    display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-sm);
    font-weight: 600; color: var(--ink); margin-top: 8px; width: fit-content;
}
.blog-card__cta:hover { color: var(--accent); }

.blog-post__body p { margin: 0 0 18px; }
.blog-post__body h2 { font-family: var(--font-head); font-size: var(--fs-2xl); margin: 32px 0 12px; }
.blog-post__body h3 { font-family: var(--font-head); font-size: var(--fs-xl); margin: 24px 0 10px; }
.blog-post__body img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 16px 0; }
.blog-post__body ul, .blog-post__body ol { margin: 0 0 18px; padding-left: 24px; }
.blog-post__body li { margin-bottom: 6px; }
.blog-post__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   UTIL
   ============================================================ */
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.icon-btn {
    width: var(--ctrl-h); height: var(--ctrl-h); border-radius: var(--r-sm); border: 1px solid transparent;
    background: transparent; display: grid; place-items: center; color: var(--ink); position: relative;
    transition: background .15s, color .15s;
    /* Konu 29 — iOS/Android default mavi tap highlight'ı kaldırılır;
       native uygulama hissiyatı için hover ile aynı renk yumuşak
       feedback verir. */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { background: var(--surface-2); transform: scale(0.94); transition: background .1s, transform .1s; }
.icon-btn:focus { outline: none; }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Global tap highlight — tüm buttonlar ve link icon'larda. */
button, a, [role="button"] {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   MOBİL ALT NAVBAR — native uygulama tab bar (Konu 29)
   ============================================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 70;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 6px 4px max(6px, env(safe-area-inset-bottom));
    align-items: stretch;
    justify-content: space-around;
    gap: 2px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}
.bottom-nav__item {
    flex: 1;
    background: none;
    border: 0;
    color: var(--ink-2);
    cursor: pointer;
    text-decoration: none;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: color 0.15s;
}
.bottom-nav__item svg { display: block; transition: transform 0.15s; }
.bottom-nav__item:active svg { transform: scale(0.88); }
.bottom-nav__item:active { color: var(--ink); }
.bottom-nav__item.is-active { color: var(--accent); }
.bottom-nav__item.is-active svg { color: var(--accent); }
.bottom-nav__item--cta { color: var(--accent); font-weight: 700; }
.bottom-nav__icon-wrap { position: relative; display: block; }
.bottom-nav__dot {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: var(--r-pill);
    font-size: 9px;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .bottom-nav { display: flex; }
    /* Bottom nav body içeriğini örtmesin diye padding ekle. */
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    /* Üst header search & cart icon'ları mobilde gizli — duplikasyon
       olmasın; bottom-nav'da zaten var. */
    .hide-on-mobile { display: none !important; }
}
.count-dot {
    position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px;
    background: var(--accent); color: var(--accent-ink); border-radius: var(--r-pill);
    font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}

/* ============================================================
   ANNOUNCE BAR — kayan marquee
   ============================================================ */
.announce { background: var(--ink); color: var(--bg); overflow: hidden; }
.announce__track { display: flex; width: max-content; }
.announce__group { display: flex; flex-shrink: 0; }
.announce__item {
    display: flex; align-items: center; white-space: nowrap;
    font-size: var(--fs-xs); letter-spacing: .06em; font-weight: 500; padding: 9px 0;
}
.announce__item::after { content: "•"; opacity: .45; margin: 0 34px; }
@media (prefers-reduced-motion: no-preference) {
    .announce__track { animation: announce-marquee 34s linear infinite; }
    .announce:hover .announce__track { animation-play-state: paused; }
}
/* 4 klonun 1'i kayar (-25%) — translateX -100%'a kadar dönmeden
   önce sonraki klon zaten viewport'ta. Boşluk kalmaz (Konu 28). */
@keyframes announce-marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: var(--bg); border-bottom: 1px solid var(--line);
    transition: box-shadow .18s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header__bar {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; gap: 18px;
}
.site-logo {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-head); font-weight: 800; font-size: 19px;
    letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
}
.site-logo__mark {
    width: 26px; height: 26px; border-radius: var(--r-xs);
    background: var(--accent); color: var(--accent-ink);
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 800; font-size: 15px;
}
.header-nav { display: flex; align-items: stretch; gap: 4px; height: 100%; }
.header-navlink {
    background: none; border: 0; height: 100%; padding: 0 14px;
    font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2);
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center;
}
.header-navlink:hover, .header-navlink.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.header-burger { display: none; }

/* ============================================================
   MEGA MENU — CSS-only hover (no JS required)
   ============================================================
   .has-mega'ya position:relative VERMİYORUZ — verirsek mega menü
   sadece o kategori kutusunun genişliğine sığar (metinler taşar).
   Bunun yerine mega menü `.site-header`'a göre konumlanır
   (sticky element positioned ancestor sayılır → absolute child
   onun genişliğine yayılır). */
/* ============================================================
   MEGA MENÜ
   Faz 14.14 (revize 14.14b): iki davranış varyantı.
     - Default `.has-mega`  → parent-relative dar dropdown (list).
     - `.has-mega--full`    → static; .mega-menu site-header genişliğine
                              yayılır (grid varyantı için).
   ============================================================ */
.has-mega { position: relative; }
.has-mega--full { position: static; }

.mega-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--bg); border: 1px solid var(--line); border-top: 0;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .18s, visibility .18s, transform .18s;
    z-index: 50;
    min-width: 240px; max-width: 340px;
    /* Header altından viewport sonuna kadar — küçük ekranlarda dropdown
       içerik taşarsa scroll edilebilir (Konu 28). 100px = header pay'ı. */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }

/* LIST varyantı: dar dropdown, parent öğenin altına yapışır,
   uzunsa dikey scroll. */
.mega-menu--list .mega-menu__inner {
    display: block; padding: 16px 20px;
}
.mega-menu__list { display: flex; flex-direction: column; gap: 10px; }
.megalink {
    font-size: var(--fs-md); font-weight: 500; cursor: pointer;
    padding: 4px 0; color: var(--ink-2);
}
.megalink:hover { color: var(--accent); }

/* GRID varyantı: tam genişlik, alt kategoriler kapak görseli + isim
   kart-grid. `.has-mega--full` static olduğu için `.mega-menu` site-
   header'a (sticky positioned ancestor) relative absolute olur ve
   tüm header genişliğine yayılır. */
.mega-menu--grid {
    left: 0; right: 0;
    min-width: 0; max-width: none;
    /* Header pay'ı düşülmüş viewport yüksekliği — küçük ekranda /
       zoom %125'te alt kategori grid'i taşarsa scroll edilir (Konu 28). */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.mega-menu--grid .mega-menu__inner {
    display: block; padding: 26px var(--pad-page) 32px;
}
.mega-menu__grid-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 18px; gap: 16px;
}
.mega-menu__view-all {
    display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm);
    font-weight: 600; color: var(--ink); text-decoration: none;
}
.mega-menu__view-all:hover { color: var(--accent); }
.mega-menu__grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
@media (max-width: 1280px) { .mega-menu__grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1080px) { .mega-menu__grid { grid-template-columns: repeat(4, 1fr); } }

.mega-category { display: block; color: inherit; text-decoration: none; text-align: center; }
.mega-category__media {
    width: 100%; aspect-ratio: 1 / 1; background: var(--surface-2);
    border-radius: var(--r-md); overflow: hidden;
}
.mega-category__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mega-category:hover .mega-category__media img { transform: scale(1.05); }
.mega-category__name {
    margin-top: 8px; font-size: var(--fs-sm); font-weight: 600;
    line-height: 1.35; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.mega-category:hover .mega-category__name { color: var(--accent); }

/* Grid varyantında küçük tarayıcılarda otomatik liste fallback'ı:
   header nav zaten <900px'de kullanılmaz (hamburger açılır), ama
   tablet/orta breakpoint için grid yerine basit liste göster. */
.mega-menu__grid-fallback { display: none; }
@media (max-width: 900px) {
    .mega-menu--grid {
        min-width: 240px; max-width: 340px;
        left: 0; right: auto;
        max-height: calc(100vh - 100px); overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .mega-menu--grid .mega-menu__inner { padding: 16px 20px; }
    .mega-menu__grid, .mega-menu__grid-head { display: none; }
    .mega-menu__grid-fallback {
        display: flex; flex-direction: column; gap: 10px;
    }
    .mega-menu__grid-fallback .megalink { padding: 4px 0; }
}

/* ============================================================
   SITE FOOTER (dark)
   ============================================================ */
.site-footer { background: var(--ink); color: var(--bg); margin-top: var(--section-y); }
.site-footer__inner { padding-top: 56px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-newsletter { max-width: 320px; }
.footer-col__title { font-size: var(--fs-2xs); letter-spacing: .22em; text-transform: uppercase;
    color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 14px; }
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__list a { opacity: .8; font-size: var(--fs-sm); width: fit-content; }
.footer-col__list a:hover { opacity: 1; }
.footer-bottom {
    margin-top: 44px; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
@media (max-width: 768px) {
    .footer-bottom { justify-content: center; }
}
.footer-pay { display: flex; gap: 8px; }
.footer-pay span {
    font-size: 10px; font-weight: 700; letter-spacing: .06em; opacity: .8;
    border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: 5px 8px;
}

/* Sosyal medya icon'ları (Konu 31) — footer hakkında metninin altında. */
.footer-social {
    display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px;
}
.footer-social a {
    width: 36px; height: 36px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); border-radius: 50%;
    color: var(--bg); opacity: .85;
    transition: background .15s, opacity .15s, transform .15s;
}
.footer-social a:hover { background: rgba(255,255,255,.18); opacity: 1; transform: translateY(-2px); }

/* Mobil uygulama mağaza rozetleri (Konu 31) — footer-grid alt bandında. */
.footer-apps {
    margin: 36px 0 12px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.14);
    text-align: center;
}
.footer-apps__title {
    font-size: var(--fs-2xs); letter-spacing: .22em; text-transform: uppercase;
    color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 14px;
}
.footer-apps__list { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.footer-apps__badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    color: var(--bg);
    transition: background .15s, transform .15s;
}
.footer-apps__badge:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.footer-apps__badge svg { flex-shrink: 0; }
.footer-apps__badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.footer-apps__badge small { font-size: 9px; opacity: .7; letter-spacing: .05em; }
.footer-apps__badge strong { font-size: 14px; font-weight: 700; }

/* /store landing sayfası rozet butonu — light bg üzerinde koyu kontrast. */
.store-landing-list {
    display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.store-landing-badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 22px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 12px;
    transition: background .15s, transform .15s;
}
.store-landing-badge:hover { background: var(--ink-2); transform: translateY(-2px); }
.store-landing-badge svg { flex-shrink: 0; }
.store-landing-badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.store-landing-badge small { font-size: 10px; opacity: .7; letter-spacing: .05em; }
.store-landing-badge strong { font-size: 16px; font-weight: 700; }

/* Powered-by bandı (Konu 31) — central panel kontrollü, tenant kaldıramaz. */
.powered-by {
    padding: 14px 0;
    text-align: center;
    font-size: var(--fs-xs);
}
.powered-by__inner { display: flex; justify-content: center; align-items: center; }
.powered-by__link {
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
}
.powered-by__link img { margin: 0 2px; }
a.powered-by__link:hover { opacity: .85; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
    position: relative; width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden; background: var(--surface-2);
    height: clamp(450px, 64vh, 660px);
    /* pan-y: vertical scroll'u tarayıcı handle eder; horizontal swipe
       Alpine touchstart/move/end ile kontrol edilir. */
    touch-action: pan-y;
    user-select: none;
}
.hero-slider__track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.7,0,.2,1); }
.hero-slide { position: relative; flex-shrink: 0; width: 100%; }
.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__scrim { position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(12,12,13,.62), rgba(12,12,13,.18) 55%, transparent); }
.hero-slide--center .hero-slide__scrim {
    background: linear-gradient(180deg, rgba(12,12,13,.12), rgba(12,12,13,.5));
}
.hero-slide__content {
    position: absolute; inset: 0; display: flex; align-items: center;
    pointer-events: none;
}
.hero-slide--center .hero-slide__content { justify-content: center; }
.hero-slide__card {
    pointer-events: auto; display: flex; flex-direction: column; gap: 20px;
    max-width: 540px; color: #fff;
}
.hero-slide--center .hero-slide__card { text-align: center; align-items: center; }
.hero-slide__eyebrow { font-size: var(--fs-2xs); letter-spacing: .22em; text-transform: uppercase;
    color: rgba(255,255,255,.82); font-weight: 600; }
.hero-title {
    font-size: clamp(34px, 5.6vw, 64px);
    font-family: var(--font-head); font-weight: var(--head-weight);
    letter-spacing: var(--tracking-head); margin: 0; line-height: .98;
    white-space: pre-line; color: #fff;
}
.hero-slide__sub { font-size: var(--fs-md); max-width: 440px; color: rgba(255,255,255,.88); }
.hero-slide__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide--center .hero-slide__cta { justify-content: center; }
.hero-slide__btn-primary { background: #fff; color: #111; }
.hero-slide__btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.hero-slide__caption { position: absolute; left: var(--pad-page); bottom: 30px;
    pointer-events: auto; color: rgba(255,255,255,.85);
    font-size: var(--fs-2xs); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 999px; border: 0;
    background: rgba(255,255,255,.82); color: #111;
    display: grid; place-items: center; z-index: 4; cursor: pointer;
    transition: background .2s; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: #fff; }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }
.hero-dots {
    position: absolute; bottom: 20px; left: 0; right: 0; z-index: 4;
    display: flex; justify-content: center; gap: 8px;
}
.hero-dot {
    width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0;
    background: rgba(255,255,255,.5); transition: width .3s, background .3s; cursor: pointer;
}
.hero-dot.is-active { width: 28px; background: #fff; }
@media (max-width: 640px) { .hero-slider { height: clamp(400px, 72vh, 560px); } .hero-arrow { display: none; } }

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 26px;
}
.section-head h2 { font-size: var(--fs-2xl); }

.trust-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line);
    border-radius: var(--r-md); overflow: hidden;
}
.trust-item { background: var(--bg); padding: 20px 22px; display: flex; align-items: center; gap: 12px; }
.trust-item__icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--ink); }
.trust-item__title { font-weight: 700; font-size: var(--fs-sm); }
.trust-item__sub { color: var(--ink-2); font-size: var(--fs-xs); }

.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap-grid); }
.cat-card { background: none; border: 0; padding: 0; text-align: left;
    position: relative; cursor: pointer; text-decoration: none; display: block; }
.cat-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden;
    border-radius: var(--r-md); background: var(--surface-2); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__scrim { position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, transparent 40%, rgba(12,12,13,.55)); }
.cat-card__caption {
    position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3;
    color: #fff; display: flex; align-items: center; justify-content: space-between;
}
.cat-card__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lg); }
.cat-card__arrow {
    width: 38px; height: 38px; border-radius: var(--r-pill);
    background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
    display: grid; place-items: center;
}

.editorial {
    display: grid; grid-template-columns: 1.2fr 1fr;
    background: var(--surface-2); border-radius: var(--r-lg);
    overflow: hidden; min-height: 360px;
}
.editorial__body {
    display: flex; flex-direction: column; justify-content: center; gap: 18px;
    padding: clamp(28px, 5vw, 64px);
}
.editorial__body h2 { font-size: var(--fs-3xl); line-height: 1; }
.editorial__media { width: 100%; min-height: 300px; position: relative; }
.editorial__media .ph { position: absolute; inset: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    color: var(--ink-2); font-size: var(--fs-xs); margin-bottom: 18px;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb__sep { opacity: .4; }

/* ============================================================
   LISTING (CATEGORY)
   ============================================================ */
.listing-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.listing-head h1 { font-size: var(--fs-2xl); }
.listing-layout {
    display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start;
}
.listing-aside { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.filter-block + .filter-block { margin-top: 28px; }

/* Kategori ağacı (Faz 14.17 / revize 14.21b: collapsible) */
.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree--level-1 { margin-left: 14px; margin-top: 6px; }
.cat-tree--level-2 { margin-left: 14px; margin-top: 4px; }
.cat-tree__item { margin: 2px 0; }
.cat-tree__row { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.cat-tree__toggle {
    width: 22px; height: 22px;
    background: transparent; border: 0; padding: 0; cursor: pointer;
    display: grid; place-items: center;
    color: var(--ink-2);
    transition: transform .2s, color .15s, background .15s;
    border-radius: 4px;
}
.cat-tree__toggle:hover { color: var(--accent); background: var(--surface-2); }
.cat-tree__toggle.is-open { transform: rotate(90deg); }
.cat-tree__toggle--placeholder { visibility: hidden; }
.cat-tree__link {
    display: block; padding: 4px 0; color: var(--ink-2);
    font-weight: 500; transition: color .15s;
    flex: 1;
}
.cat-tree--level-0 > .cat-tree__item > .cat-tree__row > .cat-tree__link {
    font-weight: 600; color: var(--ink);
}
.cat-tree__link:hover { color: var(--accent); }
.cat-tree__item.is-active > .cat-tree__row > .cat-tree__link {
    color: var(--accent); font-weight: 700;
}

/* Kategori sayfası SEO içerik blokları + banner (Faz 14.17) */
.category-content {
    margin: 28px 0;
    font-size: var(--fs-md);
    line-height: 1.7;
    color: var(--ink-2);
}
.category-content--top { margin-bottom: 36px; }
.category-content--bottom { margin-top: 48px; }
.category-content h2 { font-family: var(--font-head); font-size: var(--fs-2xl); color: var(--ink); margin: 24px 0 12px; }
.category-content h3 { font-family: var(--font-head); font-size: var(--fs-xl); color: var(--ink); margin: 20px 0 10px; }
.category-content p { margin: 0 0 14px; }
.category-content ul, .category-content ol { margin: 0 0 14px; padding-left: 22px; }
.category-content li { margin-bottom: 4px; }
.category-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.category-content blockquote { margin: 16px 0; padding: 8px 16px; border-left: 3px solid var(--accent); color: var(--ink-2); }

.category-banner { margin: 24px 0 36px; border-radius: var(--r-md); overflow: hidden; }
.category-banner img { width: 100%; height: auto; display: block; }
.category-banner--bottom { margin: 48px 0 24px; }

/* WhatsApp floating ikon (Faz 14.20) — tüm sayfalarda görünür.
   Operatör konum (sağ/sol) ve numara doluluğunu yönetir. */
.whatsapp-float {
    position: fixed; bottom: 24px; z-index: 95;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366; color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.24); }
.whatsapp-float--right { right: 24px; }
.whatsapp-float--left { left: 24px; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* Konu 30 — mobilde alt navbar var, WhatsApp icon onunla üst üste gelmesin.
   Sol alt köşeye konumlandır: bottom 65px (bottom-nav yüksekliği + boşluk),
   left 15px (varyantı override). */
@media (max-width: 768px) {
    .whatsapp-float,
    .whatsapp-float--right,
    .whatsapp-float--left {
        bottom: calc(65px + env(safe-area-inset-bottom));
        left: 15px;
        right: auto;
    }
}

/* Ürün detay sayfası "WhatsApp ile Sipariş Ver" butonu */
.btn-whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: #25D366; color: #fff;
    border: 0; border-radius: var(--r-md);
    padding: 0 24px; height: var(--ctrl-h);
    font-weight: 600; font-size: var(--fs-md);
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.btn-whatsapp:hover { background: #1ebe57; color: #fff; transform: translateY(-1px); }
.btn-whatsapp svg { width: 20px; height: 20px; }

/* Telefon input — bayraklı ülke kodu seçici (Faz 14.22) */
.phone-input { position: relative; }
.phone-input__row { display: flex; gap: 6px; align-items: stretch; }
.phone-input__country {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0 12px; height: var(--ctrl-h);
    background: var(--surface); border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 500;
    color: var(--ink); cursor: pointer;
    transition: border-color .15s;
    white-space: nowrap;
}
.phone-input__country:hover { border-color: var(--ink); }
.phone-input__flag {
    width: 22px; height: 16px; object-fit: cover;
    border-radius: 2px;
}
.phone-input__dial { font-variant-numeric: tabular-nums; }
.phone-input__number { flex: 1; }
.phone-input__dropdown {
    position: absolute; top: calc(var(--ctrl-h) + 6px); left: 0; right: 0;
    background: var(--bg); border: 1px solid var(--line-2);
    border-radius: var(--r-sm); box-shadow: var(--shadow-md);
    z-index: 60;
    max-height: 320px;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.phone-input__search {
    margin: 8px; flex: 0 0 auto;
}
.phone-input__list {
    list-style: none; margin: 0; padding: 0 0 6px;
    overflow-y: auto; flex: 1;
}
.phone-input__option {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 8px 12px; background: none; border: 0;
    cursor: pointer; text-align: left;
    font-size: var(--fs-sm); color: var(--ink-2);
    transition: background .15s, color .15s;
}
.phone-input__option:hover { background: var(--surface-2); color: var(--ink); }
.phone-input__option.is-active { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.phone-input__opt-name { flex: 1; }
.phone-input__opt-dial { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.phone-input__empty {
    display: block; padding: 12px; text-align: center;
    color: var(--ink-2); font-size: var(--fs-sm);
}

/* Ürün galerisi lightbox (Faz 14.21) */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(15, 15, 15, .92);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 24px;
}
.lightbox__close {
    position: absolute; top: 18px; right: 22px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.08); color: #fff;
    border: 0; border-radius: 50%;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background .15s;
}
.lightbox__close:hover { background: rgba(255,255,255,.18); }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px;
    background: rgba(255,255,255,.08); color: #fff;
    border: 0; border-radius: 50%;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background .15s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.18); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__stage {
    flex: 1; width: 100%; max-width: 1200px;
    display: grid; place-items: center;
    overflow: hidden;
    cursor: zoom-in;
}
.lightbox__stage.is-zoomed { cursor: zoom-out; }
.lightbox__stage img {
    max-width: 100%; max-height: 80vh;
    object-fit: contain;
    transition: transform .25s ease-out;
    user-select: none;
}
.lightbox__thumbs {
    display: flex; gap: 8px;
    margin-top: 16px;
    overflow-x: auto; max-width: 100%;
    padding: 4px 0;
}
.lightbox__thumbs button {
    flex: 0 0 auto;
    width: 64px; height: 64px;
    border: 2px solid transparent; border-radius: 4px;
    background: rgba(255,255,255,.06); padding: 0;
    cursor: pointer; overflow: hidden;
    transition: border-color .15s, opacity .15s;
    opacity: .55;
}
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button.is-active { border-color: #fff; opacity: 1; }
.lightbox__counter {
    position: absolute; top: 24px; left: 24px;
    color: rgba(255,255,255,.65);
    font-size: var(--fs-sm);
}
@media (max-width: 640px) {
    .lightbox { padding: 12px; }
    .lightbox__nav { width: 40px; height: 40px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__close { top: 10px; right: 10px; }
    .lightbox__counter { top: 14px; left: 14px; }
    .lightbox__thumbs button { width: 48px; height: 48px; }
}
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-list a {
    padding: 6px 0; color: var(--ink-2); cursor: pointer; font-weight: 500;
    transition: color .15s, font-weight .15s;
}
.filter-list a.is-active { color: var(--ink); font-weight: 700; }
.filter-color { display: flex; gap: 9px; flex-wrap: wrap; }
.filter-color button {
    width: 30px; height: 30px; border-radius: var(--r-pill); padding: 0;
    border: 1px solid var(--line-2); cursor: pointer; outline-offset: 2px;
}
.filter-color button.is-active { outline: 2px solid var(--ink); }
.filter-radio { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-sm); }
.filter-radio label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.filter-radio input { accent-color: var(--ink); }
.listing-filterbtn { display: none; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.detail-grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
    align-items: start; margin-top: 8px;
}
.detail-gallery {
    display: grid; grid-template-columns: 72px 1fr; gap: 14px;
    position: sticky; top: 90px;
}
.detail-thumbs { display: flex; flex-direction: column; gap: 10px; }
.detail-thumbs button {
    aspect-ratio: 3/4; border-radius: var(--r-sm); overflow: hidden;
    position: relative; border: 1px solid var(--line); padding: 0;
    background: none; cursor: pointer; transition: border-color .15s;
}
.detail-thumbs button.is-active { border: 2px solid var(--ink); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-main {
    position: relative; aspect-ratio: 3/4; border-radius: var(--r-md);
    overflow: hidden; background: var(--surface-2);
}
.detail-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-main__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }

.detail-info { display: flex; flex-direction: column; gap: 0; }
.detail-info__brand { font-size: var(--fs-2xs); letter-spacing: .14em;
    text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.detail-info__title { font-size: var(--fs-2xl); margin-bottom: 12px; }
.detail-info__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.detail-info__price {
    display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}
.detail-info__price .price { font-size: var(--fs-2xl); }
.detail-info__price .price--old { font-size: var(--fs-lg); }

/* Stars (CSS-only) */
.stars { position: relative; display: inline-flex; line-height: 0; }
.stars__base, .stars__fill { display: inline-flex; gap: 1px; }
.stars__base { color: var(--line-2); }
.stars__fill { position: absolute; inset: 0; overflow: hidden; color: var(--ink); }

/* Axis (variant) selector — Faz 14.5 ekseni-bazlı */
.axis { margin-bottom: 22px; }
.axis__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.axis__label .label { margin: 0; }
.axis__label-value { color: var(--ink); font-weight: 600; font-size: var(--fs-xs); }
.axis-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.axis-swatch {
    width: 38px; height: 38px; border-radius: var(--r-pill);
    border: 1px solid var(--line-2); padding: 0; cursor: pointer;
    outline-offset: 3px; transition: outline .12s;
    background-clip: padding-box;
}
.axis-swatch.is-active { outline: 2px solid var(--ink); }
.axis-swatch:disabled { opacity: .4; cursor: not-allowed; }
.axis-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.axis-btn {
    min-width: 48px; height: 46px; padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm); border: 1px solid var(--line-2);
    background: var(--surface); color: var(--ink);
    font-weight: 600; font-size: var(--fs-sm); cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.axis-btn:hover:not(:disabled) { border-color: var(--ink); }
.axis-btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.axis-btn:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* Qty stepper */
.qty {
    display: inline-flex; align-items: center;
    border: 1px solid var(--line-2); border-radius: var(--r-sm); height: 44px;
    width: fit-content;
}
.qty button {
    width: 44px; height: 44px; display: grid; place-items: center;
    background: none; border: 0; color: var(--ink); cursor: pointer;
}
.qty__value {
    min-width: 36px; text-align: center; font-weight: 700; font-size: var(--fs-sm);
    border: 0; background: none; color: var(--ink);
    -moz-appearance: textfield;
}
.qty__value::-webkit-outer-spin-button,
.qty__value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.detail-cta { display: flex; gap: 12px; margin: 6px 0 14px; flex-wrap: wrap; }
.detail-cta .btn { flex: 1; min-width: 0; }
.detail-cta .btn span { white-space: normal; overflow-wrap: anywhere; }
.detail-cta__buy { width: 100%; margin-bottom: 24px; }

/* Konu 29 — mobilde adet ve sepete ekle butonları tam genişlik
   alt alta yığılır; uzun fiyat metni (15.299,00 ₺) butonu taşırmaz. */
@media (max-width: 640px) {
    .detail-cta { gap: 10px; }
    .detail-cta .qty { width: 100%; height: var(--ctrl-h); justify-content: space-between; }
    .detail-cta .btn { flex: 1 0 100%; }
    .detail-cta > form { flex: 1 0 100%; }
    .detail-cta > form .icon-btn { width: 100% !important; }
}
.detail-trust {
    display: flex; gap: 16px; flex-wrap: wrap;
    padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    margin-bottom: 8px; color: var(--ink-2); font-size: var(--fs-xs);
}
.detail-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* Accordion */
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head {
    width: 100%; background: none; border: 0;
    padding: 16px 0; font-weight: 700; font-size: var(--fs-base);
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; color: var(--ink); text-align: left;
}
.accordion__body {
    padding-bottom: 18px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.65;
    display: none;
}
.accordion__item[open] > .accordion__body,
.accordion__item.is-open > .accordion__body { display: block; }
.accordion__icon { transition: transform .2s; }
.accordion__item[open] .accordion__icon,
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px; align-items: start; margin-top: 20px; }
.cart-item {
    display: grid; grid-template-columns: 100px 1fr auto; gap: 16px;
    align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-item__media {
    width: 100px; aspect-ratio: 3/4; border-radius: var(--r-sm); overflow: hidden;
    background: var(--surface-2); position: relative;
}
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 700; font-size: var(--fs-sm); margin-bottom: 4px; }
.cart-item__meta { color: var(--ink-2); font-size: var(--fs-xs); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.cart-summary {
    background: var(--surface-2); border-radius: var(--r-md);
    padding: 24px; position: sticky; top: 90px;
}
.cart-summary__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cart-summary__total { font-size: var(--fs-xl); font-weight: 800; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ============================================================
   CHECKOUT / ACCOUNT (basit layout)
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; margin-top: 20px; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; margin-top: 8px; }

.account-aside {
    background: var(--surface-2); border-radius: var(--r-md);
    padding: 14px; position: sticky; top: 90px;
    display: flex; flex-direction: column; gap: 4px;
    border: 1px solid var(--line);
}
.account-aside__link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--r-sm);
    color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500;
    background: transparent; border: 0; width: 100%; text-align: left; cursor: pointer;
    transition: background .15s, color .15s; text-decoration: none;
}
.account-aside__link:hover,
.account-aside__link.is-active {
    background: var(--surface); color: var(--ink);
}
.account-aside__link.is-active { font-weight: 600; }
.account-aside__link--logout { color: var(--sale, #b4341f); margin-top: 6px; }
.account-aside__link--logout:hover { background: rgba(180,52,31,.08); color: var(--sale, #b4341f); }

.account-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 22px 24px;
}
.account-card__title { font-size: var(--fs-lg); margin: 0 0 16px; font-weight: 600; }
.account-order {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.account-order:last-child { border-bottom: 0; }
.account-order__id { font-weight: 700; color: var(--ink); text-decoration: none; }
.account-order__id:hover { color: var(--accent); }

.wishlist-empty {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 60px 20px; text-align: center;
    background: var(--surface-2); border-radius: var(--r-md);
    border: 1px dashed var(--line);
}
.wishlist-empty__icon {
    width: 64px; height: 64px; border-radius: var(--r-pill);
    background: var(--surface); border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--ink-2);
    margin-bottom: 10px;
}

@media (max-width: 860px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-aside { position: static; flex-direction: row; flex-wrap: wrap; padding: 10px; }
    .account-aside__link { width: auto; padding: 8px 12px; }
}

/* ============================================================
   MOBILE MENU + SEARCH OVERLAY + CART DRAWER (Alpine)
   ============================================================ */
.overlay-backdrop {
    position: fixed; inset: 0; background: rgba(12,12,13,.45); z-index: 90;
}
.cart-drawer, .mobile-menu {
    position: fixed; top: 0; bottom: 0; width: min(440px, 92vw);
    background: var(--bg); z-index: 95;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
    /* iOS-like spring kolay-out (Konu 28). */
    transition: transform .34s cubic-bezier(.32, .72, 0, 1);
    will-change: transform;
}
.cart-drawer { right: 0; transform: translateX(100%); }
.cart-drawer.is-open { transform: translateX(0); }
.mobile-menu { left: 0; width: min(360px, 88vw); transform: translateX(-100%); }
.mobile-menu.is-open { transform: translateX(0); }
/* Backdrop fade — Alpine x-transition.opacity ile birlikte yumuşak. */
.overlay-backdrop { transition: opacity .24s ease; }

/* Search drawer (Konu 30) — yukarıdan açılır, native uygulama hissi.
   Drawer her zaman DOM'da; .is-open class'ı transform translateY üzerinde
   transition tetikler. */
.search-drawer {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--bg);
    z-index: 95;
    padding: 0 0 26px;
    transform: translateY(-100%);
    transition: transform .34s cubic-bezier(.32, .72, 0, 1);
    will-change: transform;
    box-shadow: var(--shadow-md);
}
.search-drawer.is-open { transform: translateY(0); }
.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: var(--fs-lg); }

/* ============================================================
   STORE LANGUAGE/CURRENCY/COUNTRY SWITCHERS (mevcut yapı korunur)
   ============================================================ */
.language-switcher, .currency-switcher, .country-switcher {
    display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--ink-2);
}
.language-switcher a, .currency-switcher a, .country-switcher a {
    padding: 4px 8px; border-radius: var(--r-xs); border: 1px solid transparent;
}
.language-switcher a.is-active, .currency-switcher a.is-active, .country-switcher a.is-active {
    background: var(--surface-2); color: var(--ink); border-color: var(--line);
}

/* ============================================================
   IMPERSONATION BANNER (mevcut)
   ============================================================ */
.impersonation-banner {
    background: var(--warn); color: #fff; padding: 10px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: var(--fs-sm);
}
.impersonation-banner form { margin: 0; }
.impersonation-banner button {
    background: rgba(255,255,255,.15); color: #fff; border: 0;
    padding: 6px 12px; border-radius: var(--r-sm); font-weight: 600; cursor: pointer;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review__title { font-weight: 700; margin-bottom: 4px; }
.review__rating { color: var(--ink); }

.empty-state { color: var(--ink-2); padding: 24px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .header-nav { display: none; }
    .header-burger { display: grid; }
    .header-acc { display: none; }
    .detail-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
    .detail-gallery { position: static !important; }
    .listing-layout { grid-template-columns: 1fr !important; }
    .listing-aside { display: none !important; }
    .listing-filterbtn { display: inline-flex !important; }
    .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr !important; }
    .account-layout aside { flex-direction: row; flex-wrap: wrap; position: static; }
    .editorial { grid-template-columns: 1fr !important; }
    .cat-grid { grid-template-columns: repeat(2,1fr) !important; }
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
}
@media (max-width: 900px) {
    :root { --pad-page: 20px; --section-y: 56px; }
}
@media (max-width: 620px) {
    .trust-grid { grid-template-columns: 1fr 1fr !important; }
    .cat-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; }
    .detail-gallery { grid-template-columns: 1fr !important; }
    .detail-thumbs { flex-direction: row !important; order: 2; }
    .detail-thumbs button { width: 64px; }
}

/* ===== CONTACT + DEALERSHIP (Faz 14.24) ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}
.contact-info__row { display: flex; flex-direction: column; gap: 2px; }
.contact-info__row dt {
    font-size: var(--fs-xs);
    color: var(--ink-2);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}
.contact-info__row dd { margin: 0; font-size: var(--fs-md); color: var(--ink); }
.contact-info__row dd a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.contact-map__frame {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
    aspect-ratio: 4 / 3;
}
.contact-map__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.dealership-form__section {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dealership-form__section legend {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 4px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--line);
    width: 100%;
}

/* Static page embed gövdesi — iframe responsive */
.static-page__embed iframe {
    max-width: 100%;
    border: 0;
    display: block;
    border-radius: var(--r-md);
}

/* ===== ADDRESS PICKER + TABS (Faz 14.29a) ===== */
.address-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}
.address-tabs__tab {
    background: none;
    border: 0;
    padding: 10px 16px;
    font: inherit;
    font-size: var(--fs-sm);
    color: var(--ink-2);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.address-tabs__tab.is-active {
    color: var(--ink);
    border-bottom-color: var(--accent);
    font-weight: 600;
}
.address-tabs__tab:hover { color: var(--ink); }

.address-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (max-width: 640px) {
    .address-picker { grid-template-columns: 1fr; }
}
.address-picker__card {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.address-picker__card.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent) inset;
}
.address-picker__card input[type=radio] {
    margin-top: 3px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}
.address-picker__card strong { font-size: var(--fs-sm); }

/* Bank account cards (Faz 14.30b) */
.bank-accounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.bank-account-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 14px 16px;
    font-size: var(--fs-sm);
}
.bank-account-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--line);
}
.bank-account-card__row:last-of-type { border-bottom: 0; }
.bank-account-card__row code {
    font-size: var(--fs-xs);
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Guest mode tabs (Faz 14.29b) */
.guest-mode-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.guest-mode-tabs__tab {
    flex: 1;
    background: none;
    border: 0;
    padding: 12px 14px;
    font: inherit;
    font-size: var(--fs-sm);
    color: var(--ink-2);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-align: center;
    transition: color .15s, border-color .15s;
}
.guest-mode-tabs__tab.is-active {
    color: var(--ink);
    border-bottom-color: var(--accent);
    font-weight: 600;
}
.guest-mode-tabs__tab:hover { color: var(--ink); }

/* ===== LEGAL CONSENT + MODAL + COOKIE BANNER (Faz 14.26) ===== */
.legal-consent { display: flex; flex-direction: column; gap: 10px; }
.legal-consent__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--fs-sm);
    line-height: 1.55;
    cursor: pointer;
}
.legal-consent__row input[type=checkbox] {
    flex: 0 0 auto;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}
.legal-consent__row a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Legal modal */
[x-cloak] { display: none !important; }
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.legal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.legal-modal__panel {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-md);
    width: 100%;
    max-width: 720px;
    max-height: 86vh;
    overflow-y: auto;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
    padding: 32px 28px 28px;
}
.legal-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--ink-2);
}
.legal-modal__close:hover { color: var(--ink); }
.legal-modal__body { font-size: var(--fs-sm); line-height: 1.7; }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 8500;
    pointer-events: none;
}
.cookie-banner__bar,
.cookie-banner__panel {
    pointer-events: auto;
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--r-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    padding: 16px 20px;
}
.cookie-banner__bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-banner__text {
    flex: 1;
    min-width: 240px;
    font-size: var(--fs-sm);
    line-height: 1.55;
}
.cookie-banner__text strong { display: block; margin-bottom: 4px; }
.cookie-banner__text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-banner__panel {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}
.cookie-banner__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.cookie-banner__close {
    background: none;
    border: 0;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: var(--ink-2);
}
.cookie-banner__cat {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.cookie-banner__cat:last-of-type { border-bottom: 0; }
.cookie-banner__cat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}
.cookie-banner__cat-desc {
    font-size: var(--fs-xs);
    line-height: 1.5;
    margin: 0;
}
.cookie-banner__toggle {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
}
.cookie-banner__toggle input { display: none; }
.cookie-banner__toggle-track {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 12px;
    transition: background 0.2s;
    cursor: pointer;
}
.cookie-banner__toggle-track::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-banner__toggle input:checked + .cookie-banner__toggle-track {
    background: var(--accent);
}
.cookie-banner__toggle input:checked + .cookie-banner__toggle-track::before {
    transform: translateX(16px);
}
.cookie-banner__toggle-track.is-disabled { opacity: 0.6; cursor: not-allowed; }
.cookie-banner__panel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

/* ============================================================
   Yorum yazma formu — "Yorum yapmak için tıklayın" butonu
   (Konu 26 — inline style yedeği; theme CSS filemtime ile
   cache-busted, garantili görsel düzeltme).
   ============================================================ */
.review-form__toggle {
    /* display: flex class'ta (!important YOK) — Alpine x-show false
       olduğunda inline "display: none" eklediğinde inline kazanır
       (specificity: inline > class), buton düzgün gizlenir (Konu 27). */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 22px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed var(--line-2);
    border-radius: var(--r-md);
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s;
}
.review-form__toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}
.review-form__toggle svg {
    display: block;
    flex-shrink: 0;
}
.review-form__toggle span {
    font-weight: 600;
    line-height: 1;
}
