/* =========================================================================
   Higold Türkiye — Tasarım Sistemi
   Apple-vari ferahlık + Higold tonlaması (beyaz/kum · kömür · altın/bronz)
   ========================================================================= */

/* ---- Tasarım token'ları ------------------------------------------------ */
/* ---- Self-host font (Google Fonts kritik yoldan çıkarıldı) --------------- */
/* Host Grotesk: tek aile, değişken ağırlık 300–800. Serif display aile yok;
   vurgu aynı ailenin ağırlığıyla verilir. Yalnız normal stil barındırılır. */
@font-face {
    font-family: 'Host Grotesk';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/host-grotesk-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;
}
@font-face {
    font-family: 'Host Grotesk';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/host-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Nötr duman zeminler + tek altın vurgu. Krem/kum paleti bırakıldı. */
    --bg:          #fbfbfa;
    --surface:     #f3f3f1;
    --surface-2:   #e9e9e6;
    --ink:         #131416;
    --ink-2:       #4f5257;
    --muted:       #696c72; /* WCAG AA: beyazda 5.9:1 (footer/yardımcı metin) */
    --line:        #e4e4e1;
    --line-strong: #cfd0cc;
    --gold:        #9c7a4a;
    --gold-deep:   #74582f; /* beyazda 6.7:1 — metin/ikon için güvenli */
    --white:       #ffffff;

    --maxw: 1280px;
    --gutter: clamp(20px, 5vw, 64px);
    --r-sm: 6px;
    --r: 14px;

    /* Header tek bar: üst kurumsal şerit kaldırıldı (Faz 1).
       --header-top-h: sayfa başındaki bar yüksekliği (.page-hero / .section--error
       bundan türetilir). --header-h: kaydırılmış kapsülün kapladığı yükseklik;
       kapsül aynı barın içinde scaleY ile küçüldüğü için ikisi de bar kutusudur. */
    --header-h: 72px;
    --header-top-h: 72px;

    /* Dikey ritim ölçeği (utility sınıfları .mt-* / .mb-* bunları kullanır) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 14px;
    --space-4: 18px;
    --space-5: 24px;
    --space-6: 28px;
    --space-7: 32px;
    --space-8: 48px;

    --font: "Host Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

    --shadow-sm: 0 1px 2px rgba(19, 20, 22, .06), 0 8px 24px rgba(19, 20, 22, .06);
    --shadow-md: 0 12px 32px rgba(19, 20, 22, .10);

    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --ease-io: cubic-bezier(.77, 0, .175, 1);
    --t-fast: 120ms;
    --t: 220ms;
    --t-slow: 520ms;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---- Tipografi ---------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.02; letter-spacing: -.028em; text-wrap: balance; }
/* Uzun Türkçe bileşik kelimeler dar ekranda taşmasın. */
h1, h2, h3, .display { overflow-wrap: break-word; hyphens: auto; }
/* Tek aile: vurgu ikinci bir aileyle değil, ağırlıkla verilir.
   Host Grotesk italik barındırılmadığından <em> sentetik oblik'e düşmesin. */
em { font-style: normal; font-weight: 500; }
.display {
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
    font-weight: 300;
    letter-spacing: -.028em;
    line-height: 1.02;
    text-wrap: balance;
}
.display b, .display strong { font-weight: 500; }
.h-xl { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.h-lg { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.02em; }
.h-md { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.02em; font-weight: 500; }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.15rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--muted); }

/* ---- Düzen yardımcıları ------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section--surface { background: var(--surface); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.stack--loose > * + * { margin-top: clamp(28px, 4vw, 56px); }
.measure { max-width: 56ch; }
.mx-auto { margin-inline: auto; }

/* Spacing utility'leri: görünümlerde inline style yerine bunlar kullanılır. */
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); } .mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); } .mb-4 { margin-bottom: var(--space-4); }
.d-block { display: block; } .d-inline-block { display: inline-block; } .d-inline-flex { display: inline-flex; }
.text-sm { font-size: .92rem; } .text-xs { font-size: .85rem; }
.text-gold { color: var(--gold-deep); }
/* Başlık/paragraf satır genişliği sınırlayıcıları (ch cinsinden) */
.ch-16 { max-width: 16ch; } .ch-18 { max-width: 18ch; } .ch-20 { max-width: 20ch; }
.ch-22 { max-width: 22ch; } .ch-24 { max-width: 24ch; } .ch-40 { max-width: 40ch; }
.ch-46 { max-width: 46ch; } .ch-60 { max-width: 60ch; }
.maxw-sm { max-width: 640px; }

/* Bölüm varyantları */
.section--tight-top { padding-top: clamp(24px, 4vw, 48px); }
.section--snug-top { padding-top: clamp(16px, 2.5vw, 32px); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--error { padding-top: calc(var(--header-top-h) + clamp(40px, 7vw, 56px)); min-height: 60vh; text-align: center; }
.section--error .btn-row { justify-content: center; }

/* Yuvarlatılmış geniş görsel çerçevesi (kategori/marka bantları) */
.media-frame { border-radius: var(--r); overflow: hidden; background: var(--surface); }
.media-frame--photo { aspect-ratio: 4/3.4; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Butonlar ----------------------------------------------------------- */
/* Tek kapsül geometrisi: çerçeveli (varsayılan) ve dolu (siyah) iki durum.
   Altın buton yok — altın yalnız metin linkinde ve "Eklendi" durumunda.
   --bgc/--fg/--bdc değişkenleri korunur: product-detail.css gibi sayfa
   katmanları butonu bu üç değişken üzerinden yeniden renklendiriyor. */
.btn {
    --bgc: transparent; --fg: var(--ink); --bdc: var(--line-strong);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border: 1px solid var(--bdc); border-radius: 999px;
    background: var(--bgc); color: var(--fg);
    font-weight: 500; font-size: .95rem; letter-spacing: -.02em;
    transition: transform var(--t-fast) var(--ease-out), background var(--t) var(--ease-out),
        border-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg { flex: none; transition: transform var(--t) var(--ease-out); }
.btn--solid, .btn--gold { --bgc: var(--ink); --fg: var(--bg); --bdc: var(--ink); }
.btn--ghost { --bgc: transparent; --fg: var(--ink); --bdc: var(--line-strong); }
.btn--whatsapp { --bgc: #0e7a37; --fg: #fff; --bdc: #0e7a37; } /* beyaz metinle AA (5.4:1) */
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: .88rem; gap: 8px; }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 1.02rem; }

/* Metin linki: alt hairline + hover'da 3px kayan ok.
   Hairline ::after ile metnin hemen altına konumlanır; kutu 44px dokunma
   hedefi için dikey tamponla büyür ama çizgi metne yapışık kalır. */
.link-arrow {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 500; color: var(--ink);
    padding-block: 10px; margin-block: -10px;
}
.link-arrow::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: calc(50% - .52em);
    height: 1px; background: var(--line-strong);
    transition: background var(--t) var(--ease-out);
}
.link-arrow svg { transition: transform var(--t) var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
    .btn--solid:hover, .btn--gold:hover { --bgc: #2a2c30; --bdc: #2a2c30; }
    .btn--whatsapp:hover { --bgc: #0c682f; --bdc: #0c682f; }
    .btn:not(.btn--solid):not(.btn--gold):not(.btn--whatsapp):hover { --bgc: var(--surface); --bdc: var(--ink); }
    .btn:hover svg, .link-arrow:hover svg { transform: translateX(3px); }
    .link-arrow:hover::after { background: var(--ink); }
}

/* =========================================================================
   Header / Navigasyon
   ========================================================================= */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    color: var(--ink);
}

/* --- Tek bar: kaydırınca yüzen kapsüle morph ---
   Morph yalnız ::before yüzeyinde ve YALNIZ transform/border-radius/renk
   üzerinden yapılır; height/max-width/padding geçişi yok (layout tetikliyordu).
   Üstte scaleX(3) barı tam genişliğe taşırır + alt hairline (taşan kısım
   .header__bar'ın overflow-x: clip'i ile kesilir; 1.4 katsayısı 1280px sütunda
   yalnız 1792px kaplıyor, 1920+ ekranlarda iki yanda 64px boşluk bırakıyordu);
   kaydırınca scaleX(1) scaleY(.86) ile içerik sütununa oturan kapsüle döner. */
.header__bar { position: relative; overflow-x: clip; padding: 0; }
.header__inner {
    position: relative;
    display: flex; align-items: center; gap: 24px;
    height: var(--header-top-h);
    max-width: var(--maxw); margin-inline: auto;
    padding-inline: var(--gutter);
}
.header__inner::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--bg);
    border: 1px solid transparent; border-bottom-color: var(--line);
    border-radius: 0;
    transform: scaleX(3);
    transition: transform var(--t-slow) var(--ease-out), border-radius var(--t-slow) var(--ease-out),
        box-shadow var(--t-slow) var(--ease-out), background var(--t-slow) var(--ease-out),
        border-color var(--t-slow) var(--ease-out);
}
.header.is-scrolled .header__inner::before {
    transform: scaleX(1) scaleY(.86);
    border-radius: 999px;
    background: rgba(251, 251, 250, .72);
    border-color: rgba(19, 20, 22, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 32px rgba(19, 20, 22, .10);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
    backdrop-filter: saturate(170%) blur(18px);
}

/* Marka logosu (gerçek Higold logosu — kaynak beyaz; açık zeminde siyaha çevrilir) */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 23px; width: auto; display: block; filter: brightness(0); }
.brand-region { font-size: .8rem; letter-spacing: .01em; font-weight: 500; color: var(--muted); padding-left: 11px; border-left: 1px solid var(--line-strong); line-height: 1.02; }
.footer .brand-region { border-color: var(--line-strong); }

.nav { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav__link { position: relative; font-size: .94rem; font-weight: 500; padding-block: 8px; color: var(--ink-2); transition: color var(--t) var(--ease-out); }
.nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
    background: var(--ink); transform: scaleX(0); transform-origin: left;
    transition: transform var(--t) var(--ease-out);
}
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
    .nav__link:hover { color: var(--ink); }
    .nav__link:hover::after { transform: scaleX(1); }
}

/* margin-left: auto — nav gizliyken (≤980) aksiyonlar yine sağa yaslı kalır. */
.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; letter-spacing: .01em; }
.lang-switch a { color: var(--muted); transition: color var(--t) var(--ease-out); } /* opacity yerine AA geçen renk */
.lang-switch a.is-active, .lang-switch a:hover { color: inherit; }
.lang-switch span { opacity: .3; }

/* Teklif listesi kapsülü (header): siyah kapsül + sayaç rozeti.
   Ekleme anında quote.js .bump ekler; rozet kısaca büyüyüp küçülür. */
.quote-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 14px 0 16px; border-radius: 999px;
    background: var(--ink); color: var(--bg);
    font-size: .86rem; font-weight: 500;
    transition: transform var(--t-fast) var(--ease-out), background var(--t) var(--ease-out);
}
.quote-pill:active { transform: scale(.96); }
.quote-pill .count {
    display: inline-grid; place-items: center;
    min-width: 20px; height: 20px; padding-inline: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .18); color: inherit;
    font-size: .74rem; font-weight: 600; font-variant-numeric: tabular-nums;
    transition: transform var(--t) var(--ease-out);
}
.quote-pill.bump .count { transform: scale(1.18); }
.quote-pill[data-count="0"] .count { display: none; }
@media (hover: hover) and (pointer: fine) { .quote-pill:hover { background: #2a2c30; } }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 1.6px; background: currentColor; position: relative; transition: var(--t) var(--ease-out); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.6px; background: currentColor; transition: var(--t) var(--ease-out); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Mobil menü paneli */
.mobile-nav {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; gap: 8px;
    padding: var(--gutter);
    /* Çentikli cihazlar (viewport-fit=cover): güvenli alan payı. */
    padding-top: calc(var(--gutter) + env(safe-area-inset-top, 0px));
    padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: transform var(--t-slow) var(--ease-out), opacity var(--t) var(--ease-out), visibility 0s var(--t-slow);
}
body.menu-open .mobile-nav {
    transform: translateY(0); opacity: 1; pointer-events: auto;
    visibility: visible;
    transition: transform var(--t-slow) var(--ease-out), opacity var(--t) var(--ease-out), visibility 0s 0s;
}
/* Dikey ortalama auto margin ile: içerik taşarsa (yatay telefon) üstten
   hizalanıp kaydırılabilir kalır — justify-content:center üstü kırpardı. */
.mobile-nav > :first-child { margin-top: auto; }
.mobile-nav > :last-child { margin-bottom: auto; }
/* Yalnız doğrudan çocuk ana linkler büyük tipografi alsın; foot/iletişim butonları değil. */
.mobile-nav > a { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 600; letter-spacing: -.028em; padding-block: 8px; }
.mobile-nav .mobile-nav__foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mobile-nav__contact { display: flex; flex-direction: column; gap: 0; }
/* 44 px dokunma hedefi (WCAG 2.5.8 / mobil QA); önceki 12 px aralık hedef yüksekliğinin içinde kalır. */
.mobile-nav__contact a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.05rem; font-weight: 500; color: var(--ink-2); transition: color var(--t) var(--ease-out); }
.mobile-nav__contact a:hover { color: var(--gold-deep); }
.mobile-nav__lang { font-size: 1rem; font-weight: 600; }

/* Overlay açıkken arka plan scroll kilidi (mobil menü / drawer / quick view).
   JS, kaydırma konumunu saklayıp body'yi sabitler; iOS dahil scroll bleed'i önler. */
body.scroll-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

/* İçeriğe atla bağlantısı: yalnız klavye odağında görünür. */
.skip {
    position: fixed; top: 14px; left: 14px; z-index: 200;
    padding: 12px 20px; border-radius: 999px;
    background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem;
    transform: translateY(-250%);
    transition: transform var(--t) var(--ease-out);
}
.skip:focus { transform: translateY(0); }

/* =========================================================================
   Bölüm başlıkları
   ========================================================================= */
.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }
/* Başlık sol + link sağ ayrımı bırakıldı: dikey yığın, link başlığın altında. */
.section-head--row { display: grid; gap: 12px; justify-items: start; align-items: start; max-width: none; }

/* =========================================================================
   Koleksiyon / kart grid'leri
   ========================================================================= */
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Kart meta satırı: düz metin, orta nokta ayraç, eşit genişlikte rakamlar. */
.card__meta {
    margin-top: 6px; font-size: .82rem; color: var(--muted);
    display: flex; flex-wrap: wrap; gap: 8px; font-variant-numeric: tabular-nums;
}
.card__meta span + span::before { content: "·"; margin-right: 8px; }

/* Editöryel ürün kartı. position: relative — kart meta satırındaki .sr-only etiketi (mutlak konumlu) kartın içinde kalsın;
   aksi hâlde yatay rayda (overflow: auto) konumlandırma kapsayıcısı rayın dışına düşer ve sayfayı yatay taşırır. */
.product-card { position: relative; background: var(--surface); border-radius: var(--r); overflow: hidden; transition: background var(--t) var(--ease-out); }
.product-card__media { aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.product-card__body { padding: 16px 18px 20px; }
.product-card__type { font-size: .82rem; font-weight: 500; color: var(--muted); }
.product-card__title { font-size: 1.08rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin-top: 4px; }
.product-card__foot { margin-top: 14px; display: flex; align-items: center; }
.catalog-prices { display: grid; gap: 10px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.catalog-price { min-width: 0; }
.catalog-price__foreign { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.catalog-price__try { display: block; font-size: 14px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.catalog-prices__empty, .catalog-prices__vat, .catalog-price-note { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.catalog-prices__empty { margin-top: 12px; }
.catalog-prices__vat { margin-top: 8px; }
.catalog-price-note { margin: 0 0 16px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .product-card:hover { background: var(--surface-2); }
    .product-card:hover .product-card__media img { transform: scale(1.03); }
}

/* =========================================================================
   Split / öne çıkan içerik
   ========================================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3.4; background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   CTA bandı
   ========================================================================= */
/* Yuvarlatılmış kart + radial blob + ortalı düzen bırakıldı: tam genişlik
   düz bant. .wrap içinden çağrıldığı için 100vw ile taşırılır; iç padding
   metni yine içerik sütununa hizalar (body'de overflow-x: hidden var). */
.cta-band {
    width: 100vw; margin-inline: calc(50% - 50vw);
    padding-block: clamp(44px, 6vw, 80px);
    padding-inline: max(var(--gutter), calc(50vw - (var(--maxw) / 2) + var(--gutter)));
    background: var(--surface); color: var(--ink);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    border-radius: 0; text-align: left;
}
.cta-band .h-xl, .cta-band .display { max-width: 22ch; }
.cta-band .lead { margin-top: 14px; }
.cta-band .btn-row { margin-top: 28px; display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
/* Sayfayi kapatan bant: alt hairline footer'in ust cizgisiyle cakismasin. */
.section--flush-bottom .cta-band { border-bottom: 0; }

/* =========================================================================
   İç sayfa başlığı (page hero)
   ========================================================================= */
.page-hero { padding-top: calc(var(--header-top-h) + clamp(18px, 3vw, 26px)); padding-bottom: clamp(28px, 5vw, 56px); }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
/* Dokunma hedefi: negatif margin görünümü değiştirmeden tıklama alanını büyütür. */
.breadcrumb a { display: inline-block; padding: 12px 2px; margin: -12px -2px; }
.breadcrumb a:hover { color: var(--ink); }
.spec { border-top: 1px solid var(--line); padding-block: 18px; }
.spec:first-child { border-top: none; }
.spec h4, .spec .spec-label { font-size: .8rem; letter-spacing: .01em; font-weight: 500; color: var(--muted); }
.spec p { margin-top: 6px; }
/* İletişim bilgi listesi */
.contact-list { display: grid; gap: 4px; }
.split__media--photo { aspect-ratio: 4/3.2; }
/* Çok dar ekranda teknik özellik satırlarında etiket/değer alt alta gelsin. */
@media (max-width: 420px) {
    .spec-row { flex-direction: column; gap: 2px; }
    .spec-row dd { text-align: left; }
    .variant-row { flex-direction: column; gap: 6px; }
    .variant-row__codes { justify-content: flex-start; }
}

/* =========================================================================
   Teklif (quote)
   ========================================================================= */
.quote-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.quote-items { display: flex; flex-direction: column; gap: 14px; }
.quote-item { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: var(--r); padding: 14px; }
.quote-item img { width: 76px; height: 76px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); }
.quote-item__body { flex: 1; }
.quote-item__remove { color: var(--muted); font-size: .85rem; }
.quote-item__remove:hover { color: var(--gold-deep); }
.quote-empty { background: var(--surface); border-radius: var(--r); padding: 36px; text-align: center; color: var(--muted); }

/* Form */
.form { display: flex; flex-direction: column; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.field label { display: block; font-size: .82rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 8px; color: var(--ink-2); }
.field input, .field textarea {
    width: 100%; min-height: 48px; padding: 13px 14px; border-radius: var(--r-sm);
    background: var(--surface); border: 1px solid var(--line-strong);
    transition: border-color var(--t) var(--ease-out), background var(--t) var(--ease-out);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--bg); }
.field input:focus-visible, .field textarea:focus-visible,
.ctf-sort select:focus-visible {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(168, 126, 79, .22);
}
/* Genel klavye odak halkası (:where ile sıfır özgüllük — bileşen kuralları ezer). */
:where(a, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.field textarea { min-height: 120px; resize: vertical; }
.honey { position: absolute; left: -9999px; opacity: 0; }
.alert { border-radius: var(--r-sm); padding: 14px 18px; font-size: .95rem; }
.alert--ok { background: #e9f4ec; color: #276b44; } /* AA: 5.0:1 */
.alert--err { background: #fbeee7; color: #9c4c19; }

/* Alan bazlı form hataları + yardım metni */
.field--error input, .field--error textarea { border-color: #b3401f; background: #fdf4f0; }
.field-error { margin-top: 6px; font-size: .85rem; color: #9c4c19; }
.field-hint { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.contact-form-wrap { max-width: 680px; }
.contact-form-wrap .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .contact-form-wrap .row { grid-template-columns: 1fr; } }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--bg); color: var(--ink-2); border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: .92rem; }
.footer a:hover { color: var(--gold-deep); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--ink); }
.footer h3 { color: var(--muted); font-size: .8rem; letter-spacing: .01em; margin-bottom: 12px; font-weight: 500; }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a { display: inline-block; padding: 10px 0; margin: -10px 0; } /* 44px dokunma hedefi */
.footer__about { max-width: 34ch; color: var(--ink-2); margin-top: 14px; }
.footer__bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.footer__credit { color: var(--muted); }
.footer__credit a { white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.footer__credit a:hover { text-decoration-color: currentColor; }
.footer__credit a:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; border-radius: var(--r-sm); }

/* =========================================================================
   Animasyon: scroll-reveal
   ========================================================================= */
/* Gizleme yalnızca JS açıkken (.js) uygulanır — JS yoksa sayfa tam görünür.
   .reveal-fallback: app.js yüklenemezse head'deki emniyet zamanlayıcısı ekler. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-fallback .reveal { opacity: 1 !important; transform: none !important; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    /* Tek blok: bu dosyadaki tüm hareket gerileştirmeleri burada.
       transition: none yerine transition-duration: 0s — geçiş özellikleri
       tanımlı kalır, yalnız süre sıfırlanır. */
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .header__inner::before, .nav__link::after, .quote-pill, .quote-pill .count,
    .toast, .skip, .burger span, .burger span::before, .burger span::after,
    .mobile-nav, body.menu-open .mobile-nav,
    .faq-item summary::before, .faq-item summary::after,
    .ctf-search, .sticky-cta, .cat-pill, .chip, .icon-btn,
    .facet-pill .facet-check__label, .facet-pill .facet-check__label::before,
    .variant-more summary::after,
    .filter-drawer__scrim, .filter-drawer__panel,
    .lightbox, .lightbox__stage img, .lightbox__close, .lightbox__nav, .lightbox__dot,
    .add__l { transition-duration: 0s; }
}

/* Toast: siyah kapsül, alt-orta; görünürlük transform + visibility ile. */
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 120%); z-index: 200;
    background: var(--ink); color: var(--bg); padding: 10px 16px 10px 12px; border-radius: 999px;
    box-shadow: var(--shadow-md);
    font-size: .88rem; font-weight: 500; display: inline-flex; gap: 10px; align-items: center;
    visibility: hidden; pointer-events: none;
    transition: transform var(--t-slow) var(--ease-out), visibility 0s var(--t-slow); }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.toast svg { color: inherit; width: 14px; height: 14px; }

/* Çerez onay bandı (GA4 yalnızca onay sonrası yüklenir) */
.consent { position: fixed; left: 50%; transform: translateX(-50%); z-index: 210;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: min(560px, calc(100vw - 24px));
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-md);
    padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.consent__text { font-size: .9rem; color: var(--ink-2); line-height: 1.5; margin: 0; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__actions .btn { min-height: 44px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
    .nav { display: none; }
    /* Teklif kapsülü mobilde de daima görünür (experience.css 44px ikon kapsülü):
       mobil menüde ikinci bir teklif kalemi tutulmaz. */
    .header__actions .quote-pill { padding: 9px 14px; font-size: .84rem; }
    .burger { display: inline-flex; }
    .split, .quote-layout { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    /* Dokunma hedefleri: ~44px eşiğine taşı (burger zaten 44px). */
    .ctf-view__btn { height: 38px; min-width: 44px; }
    .icon-btn { width: 44px; height: 44px; }
    .quote-item__remove { padding: 10px; margin: -10px -10px -10px 0; }
    .cat-pill { padding: 10px 16px; }
    .chip { padding: 9px 12px; }
    .lang-switch a { padding: 12px 8px; }
    /* Katalog kartındaki ikon-only teklif butonu (birincil eylem) 44px eşiğine. */
    .quote-pill { min-height: 44px; min-width: 44px; justify-content: center; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    /* Header dar; "Türkiye" bölge etiketini mobilde gizle (footer'da kalır). */
    .header .brand-region { display: none; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    /* Mobilde bölümler arası dikey boşluğu makullaştır. */
    .section { padding-block: 56px; }
    /* iOS Safari: <16px input'lar odaklanınca otomatik zoom yapar — engelle.
       (.field kapsamı: teklif/iletişim formları — body 16px'e güvenme, açık yaz.) */
    .ctf-search input, .ctf-sort select, .facet-range input,
    .field input, .field select, .field textarea { font-size: 16px; }
    /* Form etiketleri okunabilirlik. */
    .field label { font-size: .9rem; }
}

/* =========================================================================
   Katalog (Ürünler) — filtre barı · drawer · çipler · liste
   ========================================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* display tanımlı bileşenlerin [hidden] niteliğini geçersiz kılmaması için. */
[hidden] { display: none !important; }
.page-hero--tight { padding-bottom: clamp(10px, 2vw, 22px); }

/* --- Sticky araç çubuğu --- */
.catalog-toolbar {
    position: sticky; top: calc(var(--header-h) + 6px); z-index: 50;
    background: rgba(255,255,255,.82);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-block: 1px solid var(--line);
}
.catalog-toolbar__inner {
    display: grid; align-items: center; gap: 12px 18px;
    grid-template-columns: 1fr auto;
    grid-template-areas: "search controls" "pills count";
    padding-block: 14px;
}
.ctf-search {
    grid-area: search; position: relative; display: flex; align-items: center; min-width: 0;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    transition: border-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.ctf-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 126, 79, .22); }
.ctf-search svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.ctf-search input {
    width: 100%; padding: 11px 12px 11px 40px; border-radius: var(--r-sm);
    background: transparent; border: 0; font-size: .95rem;
}
.ctf-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ctf-search input:focus { outline: none; }

/* Kategori hapları: HER kırılımda tek satır yatay kaydırma şeridi — sarma
   yok, araç çubuğu dikeyde kompakt kalır. Sağ kenar yumuşakça sönerek devamı
   olduğunu ima eder (mobil desende olduğu gibi). */
.ctf-pills {
    grid-area: pills; display: flex; gap: 8px;
    flex-wrap: nowrap; overflow-x: auto; min-width: 0;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-block: 2px; /* focus halkası kırpılmasın */
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent);
}
.ctf-pills::-webkit-scrollbar { display: none; }
.cat-pill { scroll-snap-align: start; }
.cat-pill {
    padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500;
    color: var(--ink-2); background: var(--surface); white-space: nowrap;
    transition: background var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.cat-pill:hover { background: var(--surface-2); }
.cat-pill.is-active { background: var(--ink); color: var(--bg); }

.ctf-controls { grid-area: controls; display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.ctf-count { grid-area: count; justify-self: end; font-size: .85rem; color: var(--muted); white-space: nowrap; }

.ctf-sort { position: relative; display: inline-flex; align-items: center; }
.ctf-sort select {
    appearance: none; -webkit-appearance: none;
    padding: 10px 34px 10px 16px; border-radius: var(--r-sm);
    background: var(--surface); border: 1px solid var(--line-strong);
    font-size: .88rem; font-weight: 500; cursor: pointer;
    transition: border-color var(--t) var(--ease-out);
}
.ctf-sort select:focus { outline: none; border-color: var(--gold); }
.ctf-sort__chev { position: absolute; right: 13px; color: var(--ink-2); pointer-events: none; }
/* Sıralama ikonu yalnızca mobil aksiyon çubuğunda görünür (masaüstü değişmez). */
.ctf-sort__lead { display: none; position: absolute; left: 16px; color: var(--ink-2); pointer-events: none; }

.ctf-filters-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--r-sm); font-size: .88rem; font-weight: 500;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-strong);
    transition: border-color var(--t) var(--ease-out);
}
.ctf-filters-btn:hover { border-color: var(--ink); }
.ctf-badge {
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: var(--gold-deep); color: #fff; font-size: .7rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}

.ctf-view { display: inline-flex; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 3px; }
.ctf-view__btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 32px; border-radius: var(--r-sm); color: var(--muted);
    transition: background var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.ctf-view__btn.is-active { background: var(--bg); color: var(--ink); }

/* --- Aktif filtre çipleri --- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500;
    background: var(--surface); color: var(--ink-2); transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.chip:hover { background: var(--surface-2); color: var(--ink); }
.chip span { font-size: .9em; opacity: .7; }
.chip--clear { background: transparent; color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--line); }
.chip--clear:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--gold); }

/* --- Filtre drawer --- */
.filter-drawer { position: fixed; inset: 0; z-index: 120; }
.filter-drawer[hidden] { display: none; }
.filter-drawer__scrim { position: absolute; inset: 0; background: rgba(12,10,7,.42); opacity: 0; transition: opacity var(--t) var(--ease-out); }
.filter-drawer__panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 92vw);
    background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-md);
    transform: translateX(100%); transition: transform var(--t) var(--ease-out);
}
body.drawer-open .filter-drawer__scrim { opacity: 1; }
body.drawer-open .filter-drawer__panel { transform: translateX(0); }
/* Başlık: display serif + ferah boşluk; ağır çizgi yerine yumuşak geçiş */
.filter-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 28px 28px 14px; }
.filter-drawer__head h2 { font-weight: 500; font-size: 1.65rem; letter-spacing: -.02em; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; font-size: 1.05rem; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; justify-content: center; transition: box-shadow var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--ink); }
.filter-drawer__body { flex: 1; overflow-y: auto; padding: 4px 28px 28px; }
.filter-drawer__foot { display: flex; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--bg); }
.filter-drawer__foot .btn { flex: 1; justify-content: center; }

/* Facet grupları — zarif pill deseni (kaba checkbox/toggle/sayı kutusu yok) */
.facet { border: 0; padding: 0; margin: 0; border-top: 1px solid var(--line); padding-block: 24px; }
.facet:first-child { border-top: 0; }
.facet__legend {
    font-size: .8rem; letter-spacing: .01em;
    font-weight: 500; color: var(--muted); margin-bottom: 14px; padding: 0;
}
.facet__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.facet__count { color: var(--muted); font-size: .78em; font-weight: 400; font-variant-numeric: tabular-nums; }

/* Seçilebilir hap: yumuşak hatlar, altın vurgulu seçim, kayarak beliren onay imi */
.facet-pill { position: relative; }
.facet-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.facet-pill .facet-check__label {
    display: inline-flex; align-items: center; gap: 7px;
    min-height: 42px; padding: 9px 17px; border-radius: 999px;
    background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
    font-size: .9rem; font-weight: 500; color: var(--ink-2);
    cursor: pointer; user-select: none;
    transition: box-shadow var(--t) var(--ease-out), background var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.facet-pill:hover .facet-check__label { box-shadow: inset 0 0 0 1px var(--gold); color: var(--ink); }
/* Onay imi: renk tek başına anlam taşımasın (a11y) — seçimde yumuşakça açılır */
.facet-pill .facet-check__label::before {
    content: "✓"; color: var(--gold-deep); font-size: .82em; line-height: 1.02;
    max-width: 0; overflow: hidden; opacity: 0;
    transition: max-width var(--t) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.facet-pill input:checked ~ .facet-check__label {
    background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--ink);
}
.facet-pill input:checked ~ .facet-check__label::before { max-width: 1.1em; opacity: 1; }
.facet-pill input:focus-visible ~ .facet-check__label {
    box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 3px rgba(168, 126, 79, .22);
}

/* --- Katalog grid + kart --- */
.catalog-card { position: relative; }
/* Ekran dışı kartların render maliyetini sıfırla (uzun listede kaydırma akıcılığı). */
.catalog-card { content-visibility: auto; contain-intrinsic-size: auto 380px; }
.catalog-card .product-card__media { position: relative; }
.catalog-card .product-card__media > a { display: block; width: 100%; height: 100%; }

/* Liste görünümü */
.catalog-grid--list { display: flex; flex-direction: column; gap: 16px; }
.catalog-grid--list .catalog-card { display: grid; grid-template-columns: 220px 1fr; align-items: center; }
.catalog-grid--list .product-card__media { aspect-ratio: 4 / 3; }
.catalog-grid--list .product-card__body { padding: 22px 28px; }
.catalog-grid--list .product-card__title { font-size: 1.34rem; }

/* Boş durum */
.catalog-empty { text-align: center; padding: 64px 20px; }
.catalog-empty .h-md { margin-bottom: 8px; }
.catalog-empty .btn { margin-top: 20px; }

/* --- Ürün detay: yapılandırılmış teknik özellik tablosu --- */
.spec-table__title { font-size: .8rem; letter-spacing: .01em; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
/* Kompakt iki sütun: özellikler yan yana akar, dikey yer ~yarıya iner. */
.spec-table dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; }
.spec-row dt { color: var(--muted); font-size: .9rem; }
.spec-row dd { margin: 0; font-weight: 500; text-align: right; }

/* Malzeme & işçilik notu — teknik föyle uyumlu başlık + derli toplu metin. */
.material-note { margin-top: 16px; }
.material-note p { margin-top: 6px; color: var(--ink-2); line-height: 1.7; }

/* ---- SSS / FAQ ----------------------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
    position: relative;
    list-style: none; cursor: pointer; display: flex; align-items: center;
    gap: 16px; padding: 18px 38px 18px 4px; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Arti/eksi: iki 1.75px cizgi; acilinca dikey cizgi transform ile kapanir. */
.faq-item summary::before, .faq-item summary::after {
    content: ""; position: absolute; right: 6px; top: 50%;
    width: 14px; height: 1.75px; border-radius: 999px; background: var(--gold-deep);
    transform: translateY(-50%);
    transition: transform var(--t) var(--ease-out);
}
.faq-item summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(90deg) scaleX(0); }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.faq-item__q { font-size: 1.05rem; font-weight: 500; line-height: 1.25; margin: 0; }
.faq-item__a { padding: 0 4px 20px; color: var(--ink-2); line-height: 1.7; max-width: 64ch; }

/* ---- Varyant listesi (özellik → ürün kodları) --------------------------- */
.variant-table__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.variant-table__count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.variant-list { list-style: none; margin: 0; padding: 0; }
.variant-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.variant-row__label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.variant-row__codes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.variant-row__codes code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .76rem; font-variant-numeric: tabular-nums; letter-spacing: .01em;
    color: var(--ink-2); background: var(--white);
    border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px 8px;
    white-space: nowrap;
}
.variant-more summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 0 2px; font-size: .85rem; font-weight: 500; color: var(--gold-deep);
}
.variant-more summary::-webkit-details-marker { display: none; }
.variant-more summary::after { content: '›'; transform: rotate(90deg); transition: transform var(--t-fast) var(--ease-out); }
.variant-more[open] summary::after { transform: rotate(-90deg); }
.variant-more summary:hover { color: var(--gold); }
.variant-more summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }
.variant-more__hide { display: none; }
.variant-more[open] .variant-more__show { display: none; }
.variant-more[open] .variant-more__hide { display: inline; }


/* --- Katalog responsive --- */
@media (max-width: 980px) {
    /* Mobilde header morph kapalı: sabit 72px bar (experience.css). */
    :root { --header-h: 72px; --header-top-h: 72px; }
}
@media (max-width: 720px) {
    /* Mobilde yapışkanlık kapalı: araç çubuğu içerikle birlikte yukarı kaysın. */
    .catalog-toolbar { position: static; top: auto; }

    /* --- Mobil araç çubuğu: sakin, dengeli, dokunma dostu --- */
    .catalog-toolbar__inner {
        grid-template-columns: 1fr;
        grid-template-areas: "search" "pills" "count" "controls";
        gap: 13px;
    }
    /* Sonuç sayacı: aksiyon çubuğunun üstünde küçük, sakin bir etiket. */
    .ctf-count { justify-self: start; margin-bottom: -5px; font-size: .8rem; }

    /* Kategori hapları: kenarları yumuşatılmış yatay kaydırma şeridi. */
    .ctf-pills {
        flex-wrap: nowrap; overflow-x: auto;
        margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 26px), transparent);
        mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 26px), transparent);
    }
    .ctf-pills::-webkit-scrollbar { display: none; }
    .cat-pill { scroll-snap-align: start; }

    /* Birincil eylemler: iki eşit, dengeli buton — Sırala | Filtrele. */
    .ctf-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
    .ctf-view { display: none; }                 /* Görünüm geçişi mobilde gizli (kalabalığı azaltır). */
    .ctf-sort { display: flex; }
    .ctf-sort, .ctf-sort select { width: 100%; }
    .ctf-sort select, .ctf-filters-btn {
        height: 52px; border-radius: var(--r-sm); font-size: 1rem; font-weight: 500;
        background: var(--surface); border: 1px solid var(--line-strong);
    }
    .ctf-sort select { text-align: left; padding: 0 40px 0 44px; }
    .ctf-sort__lead { display: block; }
    .ctf-sort__chev { right: 16px; }
    .ctf-filters-btn { justify-content: flex-start; gap: 10px; padding: 0 16px; color: var(--ink); }
    .ctf-filters-btn:hover { background: var(--surface); }  /* Dokunmada hover yok; kuma dönmesin. */
    .ctf-badge { margin-left: auto; }

    .filter-drawer__panel { width: 100%; }
    .catalog-grid--list .catalog-card { grid-template-columns: 120px 1fr; }
    .catalog-grid--list .product-card__body { padding: 16px 18px; }
}
/* Katalog grid'ini ≤600'de tek değil iki sütun tut (yoğun vitrin); çok dar ekranda tek sütun. */
@media (max-width: 600px) {
    .catalog-grid:not(.catalog-grid--list) { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    /* Dar 2 sütun kartta gövde padding'ini kıs ve footer'ı (keşfet + ekle) dikey diz. */
    .catalog-grid:not(.catalog-grid--list) .product-card__body { padding: 14px 16px 18px; }
    .catalog-grid:not(.catalog-grid--list) .product-card__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 460px) {
    .catalog-grid:not(.catalog-grid--list) { grid-template-columns: 1fr; }
    /* Çok dar ekranda liste kartı görselini daralt. */
    .catalog-grid--list .catalog-card { grid-template-columns: 92px 1fr; }
}

/* Çok dar telefonlarda birincil aksiyonları tam genişlik yap (yan yana sıkışmasın). */
@media (max-width: 480px) {
    .cta-band .btn-row .btn { width: 100%; justify-content: center; }
    /* Tek butonlu bant: tam genişlik bandı gereksiz ağır durur. */
    .cta-band .btn-row .btn:only-child { width: auto; }
}

/* =========================================================================
   Lightbox (ürün galerisi tam ekran görüntüleme)
   ========================================================================= */
.lightbox {
    position: fixed; inset: 0; z-index: 120;
    background: rgba(21, 20, 15, .92);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--t) var(--ease-out);
}
.lightbox.is-open { opacity: 1; }
.lightbox__stage {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    padding: clamp(16px, 5vw, 64px);
}
.lightbox__stage img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    border-radius: var(--r); box-shadow: var(--shadow-md);
    transform: scale(.97); transition: transform var(--t) var(--ease-out);
}
.lightbox.is-open .lightbox__stage img { transform: scale(1); }
.lightbox__close {
    position: absolute; top: 18px; right: 18px; z-index: 2;
    width: 44px; height: 44px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .12); color: #fff;
    transition: background var(--t) var(--ease-out);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .24); }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 48px; height: 48px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .12); color: #fff;
    transition: background var(--t) var(--ease-out);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__dots {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
}
.lightbox__dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .35); transition: background var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.lightbox__dot.is-active { background: var(--gold); transform: scale(1.25); }
@media (max-width: 600px) {
    /* Mobilde ok butonları görseli kapatmasın; gezinme swipe + noktalarla. */
    .lightbox__nav { display: none; }
}

/* =========================================================================
   Mikro-etkileşim cilası
   ========================================================================= */
/* Basılı tutma geri bildirimi (yalnız imleç/tuş etkileşiminde, klavye hariç değil).
   Kart/buton hover'ları zaten (hover: hover) and (pointer: fine) kapısı
   arkasında; dokunmatikte yapışan hover durumu oluşmuyor. */
.cat-pill:active { transform: scale(.97); transition-duration: var(--t-fast); }

/* Sayfalar arası yumuşak geçiş (Chromium; diğerleri yok sayar). */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation-duration: var(--t-fast); }
    ::view-transition-new(root) { animation-duration: var(--t-fast); }
}

/* ---- Yatay ray (scroll-snap; carousel JS'siz) --------------------------- */
.rail {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: clamp(240px, 26vw, 320px);
    gap: clamp(16px, 2vw, 28px);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-block: 6px 18px; /* kart gölgesi kırpılmasın */
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 32px), transparent);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.product-desc-text { font-size: 1.02rem; color: var(--ink-2); line-height: 1.7; }
/* Kompakt SSS (ürün detay föyü içinde) */
.faq-list--compact { max-width: none; margin: 0; }
.faq-list--compact .faq-item:first-child { border-top: 0; }
.faq-list--compact .faq-item:last-child { border-bottom: 0; }
.faq-list--compact .faq-item summary { padding: 13px 0; }
.faq-list--compact .faq-item__q { font-size: .95rem; }
.faq-list--compact .faq-item__a { font-size: .92rem; padding: 0 0 14px; }

/* ---- Ürün kartı 2.0 ----------------------------------------------------- */
/* Hover'da ikinci görsele cross-fade (yalnız gerçek imleç + motion açıkken). */
.product-card__media { position: relative; }
/* Katman opak zeminli: ikinci görsel contain ile sığdığında boşluklarda
   birinci görsel görünmesin (experience.css tüm kart görsellerini contain yapar). */
.product-card__alt { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: var(--surface); transition: opacity var(--t-slow) var(--ease-out); }
.product-card__alt img, .product-card__alt picture { width: 100%; height: 100%; }
/* object-fit kasıtlı olarak belirtilmez: katalogda (experience.css) contain, ana sayfa rayında (home.css) cover — birinci görselle aynı kural. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .product-card:hover .product-card__alt,
    .product-card:focus-within .product-card__alt { opacity: 1; }
}
/* Kategori etiketi tıklanabilir bağlantı.
   Dokunma hedefleri (WCAG 2.5.8): başlık linki dikey tamponla ~44px'e çıkar;
   kategori etiketi kendi tamponunu küçük tutar ki ikisi çakışmasın. */
.product-card__cat { display: inline-block; padding: 5px 0; margin: -5px 0 0; transition: color var(--t) var(--ease-out); }
.product-card__cat:hover { color: var(--gold-deep); }
.product-card__title a { position: relative; display: inline-block; padding-block: 10px; margin-block: -10px; }
/* Kategori bağlantısı başlığın hemen üstündeyse başlık bağlantısının dokunma alanı yukarı taşmasın: iki hedef çakışmasın
   (WCAG 2.5.8 / Lighthouse target-size). Başlık bağlantısı yine ≥ 24 px kalır. */
.product-card__cat + .product-card__title a { padding-top: 3px; margin-top: -3px; }
/* Çok seçenekli üründe "Seçenekleri gör" bağlantısı: teklif düğmesiyle aynı 44px hedef. */
.product-card__foot .product-card__cta { min-height: 44px; }

/* Teklife ekle: iki etiketli blur-crossfade durum geçişi.
   .is-done sınıfını quote.js yalnızca listeye gerçekten eklendiğinde koyar. */
.add { position: relative; overflow: hidden; }
.add__l { display: inline-flex; align-items: center; gap: 8px;
    transition: opacity var(--t) var(--ease-out), filter var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.add__l--done { position: absolute; inset: 0; justify-content: center; opacity: 0; filter: blur(3px); transform: translateY(4px); color: var(--bg); white-space: nowrap; }
.quote-pill__label { font-weight: 500; white-space: nowrap; }
.add.is-done { --bgc: var(--gold-deep); --bdc: var(--gold-deep); --fg: var(--bg); }
.add.is-done .add__l--idle { opacity: 0; filter: blur(3px); transform: translateY(-4px); }
.add.is-done .add__l--done { opacity: 1; filter: blur(0); transform: none; }
@media (hover: hover) and (pointer: fine) { .add.is-done:hover { --bgc: var(--gold-deep); --bdc: var(--gold-deep); } }

/* ---- Filtre çekmecesi: mobilde bottom-sheet ----------------------------- */
@media (max-width: 720px) {
    .filter-drawer__panel {
        top: auto; bottom: 0; height: min(86dvh, 100%); width: 100%;
        border-radius: var(--r) var(--r) 0 0;
        transform: translateY(100%);
    }
    body.drawer-open .filter-drawer__panel { transform: translateY(0); }
    /* Sürükleme kolu görünümü (görsel ipucu). */
    .filter-drawer__head { position: relative; padding-top: 26px; }
    .filter-drawer__head::before {
        content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
        width: 44px; height: 4px; border-radius: 999px; background: var(--surface-2);
    }
    .filter-drawer__foot { padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
    /* Dokunma dostu satır yükseklikleri. */
    .facet-check, .facet-toggle { min-height: 44px; }
}

