/* =========================================================
   igosterea — teknik katalog
   Nötr grafit/porselen zemin, tek derin teal aksan.
   Ürünlerin kendi renk dünyası (Amber, Silver, Turquoise…)
   öne çıksın diye arayüz bilinçli olarak sessiz tutuldu.
   ========================================================= */

/* --- Fontlar (self-hosted, latin + latin-ext) --------- */
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/plex-mono-500-latin-ext.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    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;
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/plex-mono-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    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: 'IBM Plex Sans';
    src: url('../fonts/plex-sans-400-latin-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    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;
}
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/plex-sans-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    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: 'IBM Plex Sans';
    src: url('../fonts/plex-sans-600-latin-ext.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    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;
}
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/plex-sans-600-latin.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    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: 'Space Grotesk';
    src: url('../fonts/space-grotesk-500-latin-ext.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    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;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/space-grotesk-500-latin.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    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: 'Space Grotesk';
    src: url('../fonts/space-grotesk-700-latin-ext.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    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;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/space-grotesk-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    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;
}

/* --- Tokenlar ------------------------------------------ */
:root {
    --ink:        #16181c;
    --ink-soft:   #3d424b;
    --muted:      #6e7681;
    --line:       #e3e5e8;
    --line-soft:  #eef0f2;
    --paper:      #f6f7f8;
    --surface:    #ffffff;

    --teal:       #0e5f5b;
    --teal-deep:  #0a4744;
    --teal-tint:  #e6f0ef;

    --amber:      #b06b1f;
    --amber-tint: #f8efe2;

    --whatsapp:   #1faa54;
    --whatsapp-d: #17853f;

    --danger:     #b3261e;

    --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --shell:   1300px;
    --gutter:  clamp(16px, 4vw, 40px);
    --radius:  4px;

    --shadow-sm: 0 1px 2px rgba(22, 24, 28, .06);
    --shadow-md: 0 4px 16px rgba(22, 24, 28, .08);
    --shadow-lg: 0 12px 40px rgba(22, 24, 28, .12);
}

/* --- Sıfırlama ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* --- Düzen --------------------------------------------- */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.section { padding-block: clamp(40px, 6vw, 72px); }
.section--tight { padding-block: clamp(28px, 4vw, 44px); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.section-head h2 { margin: 0; }

/* Eyebrow: bölümün ne içerdiğini söyler, dekorasyon değil */
.eyebrow {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
}

.link-more {
    font-family: var(--mono);
    font-size: .8rem;
    letter-spacing: .04em;
    color: var(--teal);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    white-space: nowrap;
}
.link-more:hover { color: var(--teal-deep); }

/* --- Yaş kapısı ---------------------------------------- */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(22, 24, 28, .96);
    display: grid;
    place-items: center;
    padding: 24px;
}
.age-gate[hidden] { display: none; }

.age-gate__panel {
    background: var(--surface);
    max-width: 460px;
    width: 100%;
    padding: clamp(28px, 5vw, 44px);
    text-align: center;
    border-radius: var(--radius);
}
.age-gate__mark {
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 16px;
}
.age-gate__panel h2 { font-size: 1.35rem; }
.age-gate__panel p { color: var(--ink-soft); font-size: .95rem; }
.age-gate__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.age-gate__actions .btn { flex: 1; }
.age-gate__note {
    margin-top: 20px;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.5;
}

/* --- Duyuru şeridi ------------------------------------- */
.topbar {
    background: var(--ink);
    color: #cfd3d8;
    font-size: .8rem;
}
.topbar .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
    flex-wrap: wrap;
}
.topbar__note { display: flex; align-items: center; gap: 8px; }
.topbar__note strong { color: #fff; font-weight: 600; }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a:hover { color: #fff; }

.age-mark {
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 500;
    border: 1px solid currentColor;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
}

/* --- Başlık -------------------------------------------- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main .shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    min-height: 76px;
}

.logo {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
    white-space: nowrap;
}
.logo span { color: var(--teal); }

.search {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: border-color .15s, background .15s;
}
.search:focus-within { border-color: var(--teal); background: var(--surface); }
.search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 11px 14px;
    font: inherit;
    font-size: .92rem;
    color: var(--ink);
    min-width: 0;
}
.search input:focus { outline: none; }
.search button {
    border: 0;
    background: transparent;
    padding: 0 14px;
    color: var(--muted);
    display: grid;
    place-items: center;
}
.search button:hover { color: var(--teal); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    font-size: .85rem;
    font-weight: 600;
    transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--paper); }
.icon-btn--outline { border-color: var(--line); }

.cart-btn { position: relative; }
.cart-count {
    position: absolute;
    top: 2px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--teal);
    color: #fff;
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 500;
    display: grid;
    place-items: center;
}
.cart-count[data-empty="1"] { display: none; }

.menu-toggle { display: none; }

/* --- Kategori navigasyonu ------------------------------ */
.catnav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.catnav .shell { display: flex; }
.catnav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.catnav__list::-webkit-scrollbar { display: none; }

.catnav__item { position: relative; flex-shrink: 0; }
.catnav__link {
    display: block;
    padding: 13px 16px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.catnav__link:hover,
.catnav__item[aria-current="true"] > .catnav__link {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

.catnav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    list-style: none;
    margin: 0;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 20;
}
.catnav__item:hover .catnav__sub,
.catnav__item:focus-within .catnav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.catnav__sub a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    font-size: .86rem;
    color: var(--ink-soft);
    border-radius: 3px;
}
.catnav__sub a:hover { background: var(--paper); color: var(--teal); }
.catnav__sub .count {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--muted);
}

/* --- Butonlar ------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--body);
    font-size: .92rem;
    font-weight: 600;
    text-align: center;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { background: var(--whatsapp-d); }

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn--disabled {
    background: var(--line-soft);
    color: var(--muted);
    pointer-events: none;
    border-color: transparent;
}

/* --- Hero ---------------------------------------------- */
.hero {
    background: var(--ink);
    color: #fff;
    padding-block: clamp(44px, 7vw, 84px);
    position: relative;
    overflow: hidden;
}
.hero .shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.hero h1 {
    color: #fff;
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}
.hero p {
    color: #b6bcc4;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    max-width: 46ch;
    margin-bottom: 30px;
}
.hero .eyebrow { color: #7d8794; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* İmza öğesi: Terea renk skalası.
   Ürün adları renkten geliyor — paletin kendisi navigasyon oluyor. */
.swatches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    border: 1px solid #2a2e35;
}
.swatch {
    aspect-ratio: 4 / 3;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2px;
    position: relative;
    transition: transform .2s;
}
.swatch:hover { transform: translateY(-3px); z-index: 2; }
.swatch__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: -.01em;
}
.swatch__meta {
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .72;
}

/* --- Güven bandı --------------------------------------- */
.assurance {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.assurance__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.assurance__item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 22px var(--gutter);
    border-right: 1px solid var(--line-soft);
}
.assurance__item:last-child { border-right: 0; }
.assurance__item svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.assurance__item strong {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.assurance__item span { font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* --- Ürün kartı ---------------------------------------- */
/* Kart çerçevesi karta ait — grid zemini boyamak yerine.
   Böylece son satır eksik kaldığında boş gri hücreler oluşmuyor. */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
    gap: 1px;
}

.card {
    background: var(--surface);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 0 1px var(--line);
    transition: box-shadow .18s;
}
.card:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow-md); z-index: 2; }

.card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--paper);
    overflow: hidden;
    display: block;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14%;
    transition: transform .3s ease;
}
.card:hover .card__media img { transform: scale(1.04); }

.card__flags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    z-index: 2;
}

.flag {
    font-family: var(--mono);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-soft);
}
.flag--unit { background: var(--ink); border-color: var(--ink); color: #fff; }
.flag--origin { background: var(--amber-tint); border-color: #e8d5b8; color: var(--amber); }
.flag--sale { background: var(--teal); border-color: var(--teal); color: #fff; }
.flag--out { background: var(--surface); color: var(--danger); border-color: #e6c9c7; }

.card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.card__cat {
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
}

/* İki satırlık pay bırakılır ki yoğunluk çubuğu ve fiyat
   komşu kartlarla aynı hizada kalsın. */
.card__title {
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.015em;
    margin: 0;
    min-height: calc(2 * 1.28em);
}
.card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.card__title a:hover { color: var(--teal); }

/* İmza: yoğunluk göstergesi — Terea'nın kendi aroma yoğunluğu kavramı.
   Dekorasyon değil, karşılaştırma yapmayı sağlayan veri. */
.intensity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
}
.intensity__bars { display: flex; gap: 3px; }
.intensity__bar {
    width: 15px;
    height: 3px;
    background: var(--line);
}
.intensity__bar--on { background: var(--teal); }

.card__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.price {
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
    white-space: nowrap;
}
.price__old {
    display: block;
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: line-through;
    letter-spacing: 0;
}

.card__add {
    position: relative;
    z-index: 2;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    transition: background .15s, border-color .15s, color .15s;
    flex-shrink: 0;
}
.card__add:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.card__add[disabled] { opacity: .4; pointer-events: none; }

/* --- Kategori kartları --------------------------------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 1px;
}
.cat-card {
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--line);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 148px;
    transition: background .15s;
}
.cat-card:hover { background: var(--teal-tint); }
.cat-card__name {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.02em;
}
.cat-card__desc { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.cat-card__count {
    margin-top: auto;
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal);
}
.cat-card__count--soon { color: var(--muted); }

/* --- Breadcrumb ---------------------------------------- */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: var(--muted);
    padding-block: 18px;
}
.crumbs a:hover { color: var(--teal); }
.crumbs__sep { opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }

/* --- Sayfa başlığı ------------------------------------- */
.page-head {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding-bottom: 30px;
}
.page-head h1 { margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 68ch; }

/* --- Katalog düzeni ------------------------------------ */
.catalog {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.sidebar {
    background: var(--surface);
    border: 1px solid var(--line);
    position: sticky;
    top: 96px;
}
.sidebar__block { border-bottom: 1px solid var(--line-soft); padding: 18px; }
.sidebar__block:last-child { border-bottom: 0; }
.sidebar__title {
    margin: 0;
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.sidebar__list { list-style: none; margin: 0; padding: 0; }
.sidebar__list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    font-size: .88rem;
    color: var(--ink-soft);
}
.sidebar__list a:hover { color: var(--teal); }
.sidebar__list [aria-current="page"] { color: var(--teal); font-weight: 600; }
.sidebar__list .count { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.sidebar__sub { list-style: none; margin: 2px 0 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.sidebar__sub a { font-size: .84rem; padding: 5px 0; }

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.toolbar__count { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.toolbar select {
    font: inherit;
    font-size: .86rem;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
}

.filter-toggle { display: none; }

/* --- Sayfalama ----------------------------------------- */
.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--surface);
    font-family: var(--mono);
    font-size: .84rem;
    color: var(--ink-soft);
}
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-gap { border: 0; background: transparent; }

/* --- Ürün detay ---------------------------------------- */
.product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.gallery__main {
    background: var(--surface);
    border: 1px solid var(--line);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}
.gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9%;
}
.gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.gallery__thumb {
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 6px;
    cursor: pointer;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb[aria-selected="true"] { border-color: var(--teal); }

.product__head { margin-bottom: 20px; }
.product__cat {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
    display: block;
}
.product h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.product__lead { color: var(--ink-soft); font-size: 1.02rem; }

.product__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-block: 20px;
    padding-block: 20px;
    border-block: 1px solid var(--line);
}
.product__price .price { font-size: 1.9rem; }
.product__price .price__old { display: inline; font-size: 1rem; }

/* Teknik künye — ürünün ölçülebilir verisi tek yerde */
.specs {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    border-top: 1px solid var(--line-soft);
}
.specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: .89rem;
}
.specs dt, .specs .k {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.specs .v { font-weight: 600; text-align: right; }

.stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 600;
}
.stock--in { color: var(--teal); }
.stock--out { color: var(--danger); }
.stock__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.buybox { display: grid; gap: 10px; }
.buybox__row { display: flex; gap: 10px; }

.qty {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    flex-shrink: 0;
}
.qty button {
    width: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.1rem;
    display: grid;
    place-items: center;
}
.qty button:hover { color: var(--teal); }
.qty input {
    width: 52px;
    border: 0;
    border-inline: 1px solid var(--line);
    background: transparent;
    text-align: center;
    font-family: var(--mono);
    font-size: .95rem;
    color: var(--ink);
    -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

.buybox__note {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 4px;
}

/* --- İçerik / SEO metni -------------------------------- */
.prose { max-width: 74ch; color: var(--ink-soft); }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--teal); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: clamp(22px, 3.5vw, 36px);
}

/* --- Sepet --------------------------------------------- */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 28px;
    align-items: start;
}

.cart-list { background: var(--surface); border: 1px solid var(--line); }

.cart-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--line-soft);
    align-items: center;
}
.cart-row:last-child { border-bottom: 0; }
.cart-row__media {
    width: 88px;
    height: 88px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    padding: 8px;
}
.cart-row__media img { width: 100%; height: 100%; object-fit: contain; }
.cart-row__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.015em;
    margin-bottom: 4px;
    display: block;
}
.cart-row__name:hover { color: var(--teal); }
.cart-row__meta {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.cart-row__controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cart-row__side { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-row__total { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.cart-row__unit { font-family: var(--mono); font-size: .72rem; color: var(--muted); }

.link-remove {
    background: none;
    border: 0;
    padding: 0;
    font-size: .8rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.link-remove:hover { color: var(--danger); }

.summary {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 22px;
    position: sticky;
    top: 96px;
}
.summary h2 { font-size: 1.1rem; margin-bottom: 16px; }
.summary__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: .9rem;
    color: var(--ink-soft);
}
.summary__row--total {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 16px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
}
.summary__note {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.55;
    margin-top: 14px;
}

/* --- Boş durumlar -------------------------------------- */
.empty {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: clamp(36px, 6vw, 64px) 24px;
    text-align: center;
}
.empty svg { color: var(--line); margin-bottom: 18px; }
.empty h2 { font-size: 1.25rem; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 44ch; margin-inline: auto; margin-bottom: 24px; }

/* --- Formlar ------------------------------------------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
    font: inherit;
    font-size: .93rem;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-tint);
}
.field textarea { resize: vertical; min-height: 130px; }
.field__hint { font-size: .78rem; color: var(--muted); }

.notice {
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: .89rem;
    margin-bottom: 18px;
    border: 1px solid;
}
.notice--ok { background: var(--teal-tint); border-color: #bcd8d5; color: var(--teal-deep); }
.notice--err { background: #fdf0ef; border-color: #f0cecb; color: var(--danger); }

/* --- SSS ----------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: var(--surface); }
.faq-item summary {
    padding: 18px 20px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -.01em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--mono);
    font-size: 1.3rem;
    color: var(--teal);
    flex-shrink: 0;
    line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item__body { padding: 0 20px 20px; color: var(--ink-soft); font-size: .94rem; }

/* --- İletişim ------------------------------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}
.contact-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.contact-card__row {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
}
.contact-card__row:last-of-type { border-bottom: 0; }
.contact-card__row svg { color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.contact-card__row strong { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }

/* --- Yüzen WhatsApp ------------------------------------ */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lg);
    transition: transform .18s, background .18s;
}
.wa-float:hover { transform: scale(1.06); background: var(--whatsapp-d); }

/* --- Alt bilgi ----------------------------------------- */
.site-footer {
    background: var(--ink);
    color: #9aa2ac;
    margin-top: clamp(40px, 6vw, 72px);
    font-size: .88rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
    padding-block: clamp(36px, 5vw, 56px);
}
.footer-brand .logo { color: #fff; font-size: 1.3rem; display: inline-block; margin-bottom: 12px; }
.footer-brand p { max-width: 42ch; line-height: 1.65; }
.footer-col h3 {
    color: #fff;
    font-size: .8rem;
    font-family: var(--mono);
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a:hover { color: #fff; }

.footer-warning {
    border-top: 1px solid #2a2e35;
    border-bottom: 1px solid #2a2e35;
    padding-block: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .8rem;
    line-height: 1.55;
    color: #7d8794;
}
.footer-warning .age-mark { color: #b6bcc4; }

.footer-bottom {
    padding-block: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: #6e7681;
}

/* --- Duyarlılık ---------------------------------------- */
@media (max-width: 1080px) {
    .catalog { grid-template-columns: 1fr; }
    .sidebar { position: static; display: none; }
    .sidebar.is-open { display: block; }
    .filter-toggle { display: inline-flex; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
    .hero .shell { grid-template-columns: 1fr; }
    .product { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .header-main .shell {
        grid-template-columns: auto 1fr;
        gap: 12px;
        min-height: 64px;
        padding-block: 12px;
    }
    .search {
        grid-column: 1 / -1;
        order: 3;
    }
    .menu-toggle { display: inline-flex; }
    .icon-btn__label { display: none; }
    .icon-btn { padding: 9px; }

    .catnav__list { gap: 0; }
    .catnav__link { padding: 12px 13px; font-size: .84rem; }
    .catnav__sub { display: none; }

    /* Üst şeritte yalnızca yasal uyarı kalır; yardım bağlantıları
       zaten alt bilgide var, ikinci satır açmaya değmiyor. */
    .topbar__links { display: none; }
    .topbar .shell { min-height: 34px; }

    .assurance__item { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-block: 16px; }
    .assurance__item:last-child { border-bottom: 0; }

    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card__body { padding: 13px 14px 15px; gap: 8px; }
    .card__title { font-size: .93rem; }
    .price { font-size: 1rem; }

    .cart-row { grid-template-columns: 68px minmax(0, 1fr); gap: 13px; }
    .cart-row__media { width: 68px; height: 68px; }
    .cart-row__side {
        grid-column: 1 / -1;
        justify-items: stretch;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--line-soft);
        padding-top: 12px;
    }

    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .swatches { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 440px) {
    /* Ürün ızgarası 2 sütunda kalır — telefonda tek sütun,
       aynı ekranda yarısı kadar ürün göstermek demek. */
    .card__body { padding: 11px 12px 13px; }
    .card__title { font-size: .88rem; }
    .card__media img { padding: 10%; }
    .flag { font-size: .6rem; padding: 3px 6px; }

    .hero__actions .btn { width: 100%; }
    .age-gate__actions { flex-direction: column; }
    .swatches { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 340px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* --- Yazdırma ------------------------------------------ */
@media print {
    .topbar, .catnav, .wa-float, .age-gate, .search, .header-actions { display: none !important; }
    body { background: #fff; }
}

/* --- Ödeme yöntemi seçimi ------------------------------ */
.pay-options { display: grid; gap: 10px; }

.pay-option {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.pay-option:hover { border-color: var(--ink-soft); }
.pay-option input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }
.pay-option:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.pay-option:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }

.pay-option__body { display: grid; gap: 4px; }
.pay-option__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.01em;
}
.pay-option__desc { font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* Sepet özetinde yöntem ipucu */
.pay-hint {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}
.pay-hint__label {
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
}
.pay-hint ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.pay-hint li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-soft); }
.pay-hint svg { color: var(--teal); flex-shrink: 0; }

/* Sipariş özetindeki satırlar */
.summary__items {
    display: grid;
    gap: 9px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line-soft);
    max-height: 260px;
    overflow-y: auto;
}
.summary__item { display: flex; gap: 10px; font-size: .86rem; align-items: baseline; }
.summary__item-qty { font-family: var(--mono); color: var(--muted); flex-shrink: 0; }
.summary__item-name { flex: 1; min-width: 0; color: var(--ink-soft); }
.summary__item-total { font-weight: 600; white-space: nowrap; }

/* --- Sipariş alındı ------------------------------------ */
.order-done { text-align: center; padding-bottom: 8px; }
.order-done__mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--teal-tint);
    color: var(--teal);
    display: inline-grid;
    place-items: center;
    margin-bottom: 16px;
}
.order-done h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.order-done__no {
    font-family: var(--mono);
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: 12px;
}
.order-done__no strong { color: var(--ink); letter-spacing: .04em; }

.bank-box {
    margin-top: 22px;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 20px;
}
.bank-box h2 { font-size: 1.05rem; margin-bottom: 8px; }
.bank-box__accounts {
    font-family: var(--mono);
    font-size: .84rem;
    line-height: 1.7;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 14px;
    margin: 12px 0 8px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}

.order-lines { margin-top: 26px; }
.order-lines h2 { font-size: 1.05rem; margin-bottom: 12px; }
.order-line {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: .92rem;
}
.order-line__qty { font-family: var(--mono); color: var(--muted); flex-shrink: 0; }
.order-line__name { flex: 1; min-width: 0; }
.order-line__name small {
    display: block;
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}
.order-line__total { font-weight: 600; white-space: nowrap; }
.order-line--total {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 14px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    justify-content: space-between;
}

/* --- Mobil kategori paneli ----------------------------- */
.catdrawer {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(22, 24, 28, .5);
    display: flex;
    justify-content: flex-end;
}
.catdrawer[hidden] { display: none; }

.catdrawer__panel {
    background: var(--surface);
    width: min(340px, 88vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.catdrawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 12px 14px 20px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
}

.catdrawer__body { overflow-y: auto; padding: 8px 0 24px; -webkit-overflow-scrolling: touch; }

.catdrawer__group { border-bottom: 1px solid var(--line-soft); padding-bottom: 6px; margin-bottom: 6px; }
.catdrawer__group:last-child { border-bottom: 0; }

.catdrawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 20px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
}
.catdrawer__link:hover, .catdrawer__link:focus-visible { background: var(--paper); color: var(--teal); }
.catdrawer__link--all { border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-block: 13px; }
.catdrawer__link--sub {
    padding-left: 34px;
    font-size: .89rem;
    font-weight: 400;
    color: var(--ink-soft);
}
.catdrawer__count {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    color: var(--muted);
}

/* Geniş ekranda üst menü zaten alt kategorileri açıyor */
@media (min-width: 761px) {
    .catdrawer { display: none !important; }
}

/* --- Sipariş onay kutusu ------------------------------------ */
.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--surface-2, #f6f7f8);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: .84rem;
    line-height: 1.5;
    cursor: pointer;
}
.consent input { margin-top: 3px; flex: none; }
.consent a { text-decoration: underline; }

/* --- Doldurulmamış yer tutucu (yasal metinler) --------------- */
.ph-missing {
    background: #fff3cd;
    border-bottom: 1px dashed #b8860b;
    color: #7a5c00;
    padding: 0 3px;
    font-size: .92em;
    white-space: nowrap;
}

/* --- Uyarı bildirimi ---------------------------------------- */
.notice--warn {
    background: #fff8e6;
    border-color: #f0d68a;
    color: #6b5200;
}

/* --- Footer yasal bağlantı şeridi ---------------------------- */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 18px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .8rem;
}
.footer-legal a { opacity: .72; }
.footer-legal a:hover { opacity: 1; }

/* Kargo ücretsizse vurgula */
.summary__row .is-free { color: var(--ok, #1f7a5a); font-weight: 600; }

/* --- Blog ---------------------------------------------------- */
.tagbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 0 0;
}
.tagbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .84rem;
    color: var(--ink-soft);
    background: #fff;
}
.tagbar__item:hover { border-color: var(--ink); color: var(--ink); }
.tagbar__item.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tagbar__count { font-size: .74rem; opacity: .6; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: clamp(18px, 2.4vw, 28px);
}

.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow .18s, transform .18s;
}
.post-card:hover { box-shadow: 0 14px 38px rgba(0,0,0,.09); transform: translateY(-2px); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #f1f3f4; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__tag {
    position: absolute; left: 12px; top: 12px;
    background: rgba(22,24,28,.88); color: #fff;
    padding: 4px 10px; border-radius: 3px;
    font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
}
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__title { font-size: 1.05rem; line-height: 1.35; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--teal); }
.post-card__excerpt { font-size: .88rem; color: var(--muted); line-height: 1.55; flex: 1; }
.post-card__meta { display: flex; gap: 7px; font-size: .78rem; color: var(--muted); }

/* Yazı sayfası */
.post { max-width: 780px; margin-inline: auto; padding-bottom: clamp(30px, 5vw, 54px); }
.post__head { padding: clamp(14px, 2vw, 24px) 0 clamp(20px, 3vw, 30px); }
.post__head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.18; margin: 10px 0 14px; }
.post__lead { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.6; }
.post__meta { display: flex; gap: 8px; font-size: .84rem; color: var(--muted); margin-top: 16px; }
.post__body { font-size: 1.02rem; line-height: 1.75; }
.post__body h2 { font-size: 1.45rem; margin: 34px 0 14px; }
.post__body h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.post__body p { margin-bottom: 16px; }
.post__body ul, .post__body ol { margin: 0 0 18px 22px; }
.post__body li { margin-bottom: 7px; }
.post__body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; }
.post__body th, .post__body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post__body th { background: #f7f8f9; font-weight: 600; }
.post__body blockquote {
    margin: 22px 0; padding: 14px 20px;
    border-left: 3px solid var(--teal); background: #f7f8f9;
    font-size: .96rem; color: var(--ink-soft);
}
.post__cta { margin-top: 38px; }
.post__cta h2 { font-size: 1.2rem; margin-bottom: 8px; }
.post__cta p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }

/* Footer sosyal hesap şeridi */
.footer-social {
    display: flex;
    gap: 10px;
    padding-top: 20px;
}
.footer-social a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    opacity: .72;
    transition: opacity .15s, border-color .15s;
}
.footer-social a:hover { opacity: 1; border-color: rgba(255,255,255,.45); }
