/**
 * DEVNANOTEK template_v1 — İlk Ekran Kritik Stilleri
 * Üst bar, sayfa/hero başlangıcı, Nano paneli ve çerez merkezi için küçük render katmanı.
 * Tam bileşen sistemi style.css içinde düşük öncelikle indirilir ve site_main.js tarafından uygulanır.
 */

/* ── Marka display fontu (logo) kritik katmandadır: ilk boyamada font-logo bozulmasın diye
   layout head'inde preload edilir; swap ile geç gelse bile daima doğru fonta oturur. ── */
@font-face {
    font-family: "Bebas Neue";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/bebas-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;
}
@font-face {
    font-family: "Bebas Neue";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/bebas-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;
}

/* Açık tema tasarım tokenları. */
:root {
    color-scheme: light;
    --bg: #FAF9F7;
    --surface: rgba(255, 255, 255, .62);
    --surface-2: rgba(255, 255, 255, .85);
    --line: rgba(70, 55, 25, .13);
    --glass-brd: rgba(255, 255, 255, .92);
    --text: #232425;
    --text-muted: #6E675B;
    --gold: #8A5A00;
    --gold-hover: #6E4800;
    --gold-soft: rgba(250, 164, 26, .14);
    --gold-fill: #FAA41A;
    --gold-fill-ink: #2A1C06;
    --gold-metal: #C29B40;
    --gold-btn-ink: #171004;
    --brand-dark: #232425;
    --ok: #157347;
    --ok-bg: rgba(21, 115, 71, .10);
    --err: #B02A37;
    --err-bg: rgba(176, 42, 55, .10);
    --warn: #8A6D00;
    --warn-bg: rgba(160, 130, 20, .12);
    --info: #0B5ED7;
    --info-bg: rgba(11, 94, 215, .10);
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 16px;
    --sp-4: 24px;
    --sp-5: 40px;
    --sp-6: 64px;
    --sp-7: 96px;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Bebas Neue", var(--font-body);
    --font-heading: var(--font-body);
    --radius: 24px;
    --radius-sm: 14px;
    --shadow: 0 24px 60px -26px rgba(90, 70, 40, .24), 0 6px 16px -8px rgba(70, 55, 30, .10);
    --shadow-sm: 0 12px 30px -16px rgba(90, 70, 40, .22);
    --container: 1200px;
    --container-narrow: 820px;
    --menu-bg: #FFF;
    --amb-opacity: .55;
    --amb-a: #FFE6B8;
    --amb-b: #D9F2E6;
    --amb-c: #E4F3EC;
    --amb-d: #FFF0CB;
    --grad-gold: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --grad-gold-ring: linear-gradient(90deg, #893C15 0%, #FFDE44 17%, #B1741E 24%, #FFE752 40%, #E09326 50%, #E4962A 59%, #B0781B 70%, #EFB333 85%, #873A1A 100%);
    /* İkon kutuları amber (kullanıcı kararı) — butonlar altın kalır */
    --grad-amber: linear-gradient(135deg, #FFC24D, #F59E0B);
    --metal-shine: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 5px rgba(116, 71, 8, .35);
    --glow-gold: rgba(197, 141, 38, .5);
}

/* Koyu tema; cookie yoksa sistem tercihi aynı tokenları kullanır. */
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #1B1C1D;
    --surface: rgba(255, 255, 255, .055);
    --surface-2: rgba(255, 255, 255, .09);
    --line: rgba(255, 255, 255, .10);
    --glass-brd: rgba(255, 255, 255, .14);
    --text: #F2EFE8;
    --text-muted: #A49B8C;
    --gold: #FFB43A;
    --gold-hover: #FFC46B;
    --gold-soft: rgba(250, 164, 26, .13);
    --ok: #3DD68C;
    --ok-bg: rgba(61, 214, 140, .12);
    --err: #FF6B6B;
    --err-bg: rgba(255, 107, 107, .12);
    --warn: #FFC14D;
    --warn-bg: rgba(255, 193, 77, .12);
    --info: #6BB6FF;
    --info-bg: rgba(107, 182, 255, .12);
    --menu-bg: #232527;
    --amb-opacity: .16;
    --amb-a: #FFB84D;
    --amb-b: #2FBF9C;
    --amb-c: #2FA982;
    --amb-d: #FFCF6E;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="dark"]):not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #1B1C1D;
        --surface: rgba(255, 255, 255, .055);
        --surface-2: rgba(255, 255, 255, .09);
        --line: rgba(255, 255, 255, .10);
        --glass-brd: rgba(255, 255, 255, .14);
        --text: #F2EFE8;
        --text-muted: #A49B8C;
        --gold: #FFB43A;
        --gold-hover: #FFC46B;
        --gold-soft: rgba(250, 164, 26, .13);
        --ok: #3DD68C;
        --err: #FF6B6B;
        --warn: #FFC14D;
        --info: #6BB6FF;
        --menu-bg: #232527;
        --amb-opacity: .16;
        --amb-a: #FFB84D;
        --amb-b: #2FBF9C;
        --amb-c: #2FA982;
        --amb-d: #FFCF6E;
    }
}

/* Temel akış ve erişilebilirlik. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: transparent; color: var(--text); font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
body.tv1::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--amb-opacity); background: radial-gradient(560px 560px at -4% -6%, var(--amb-a) 0%, transparent 68%), radial-gradient(520px 520px at 104% -4%, var(--amb-b) 0%, transparent 68%), radial-gradient(520px 520px at 22% 108%, var(--amb-c) 0%, transparent 68%), radial-gradient(480px 480px at 96% 106%, var(--amb-d) 0%, transparent 68%); }
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
h1, h2, h3, h4 { line-height: 1.2; overflow-wrap: break-word; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.2em; height: 1.2em; vertical-align: -.25em; flex-shrink: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; padding: var(--sp-2) var(--sp-3); border-radius: 0 0 var(--radius-sm) 0; background: var(--gold-metal); color: var(--gold-fill-ink); font-weight: 600; }
.skip-link:focus { left: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-3); }
.container-narrow { max-width: var(--container-narrow); }
.site-main { min-height: 60vh; }
.section { padding: var(--sp-6) 0; }

/* Üst bar ve gezinme. */
.site-header { position: sticky; top: 12px; z-index: 100; padding: 0 var(--sp-3); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 10px 12px 10px 22px; background: var(--surface); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border: 1px solid var(--glass-brd); border-radius: 999px; box-shadow: var(--shadow-sm); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand-text { color: var(--text); font: 400 26px/1 var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.brand-text .brand-dev { color: var(--gold-fill); } /* KULLANICI KARARI: eski iki tonlu logo birebir korunur; kutu/zemin/boşluk ekleme. */
.brand-img { display: block; width: auto; max-height: 40px; }
.site-nav, .nav-list, .nav-tools, .nav-auth, .lang-switcher { display: flex; align-items: center; }
.site-nav { gap: var(--sp-4); }
.nav-list { gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
.nav-list a, .nav-sub-btn, .nav-auth-link { display: inline-flex; align-items: center; color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 15px; border-radius: 999px; }
.nav-list a[aria-current="page"], .nav-auth-link[aria-current="page"] { color: var(--gold); }
.nav-list a.nav-cta { margin-left: var(--sp-2); color: var(--gold-fill-ink); background: var(--gold-metal); background-image: var(--grad-gold); font-weight: 600; }
.nav-tools { gap: var(--sp-3); }
.nav-auth, .lang-switcher { gap: var(--sp-2); }
.nav-sub { position: relative; }
.nav-sub-btn { gap: 6px; border: 0; background: none; cursor: pointer; }
.nav-sub-list { display: none; position: absolute; top: calc(100% + 14px); left: 50%; z-index: 120; min-width: 210px; margin: 0; padding: var(--sp-2); transform: translateX(-50%); list-style: none; background: var(--menu-bg); border: 1px solid var(--glass-brd); border-radius: 18px; box-shadow: var(--shadow); }
.nav-sub.is-open .nav-sub-list { display: block; }
.nav-sub-list a { display: block; padding: 9px 14px; }
.lang-switcher a { padding: var(--sp-1) var(--sp-2); color: var(--text-muted); text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 600; }
.lang-switcher a.active { color: var(--gold); background: var(--gold-soft); border-radius: 999px; }
.nav-social { display: none; }
.theme-toggle, .nav-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text); background: var(--surface-2); border: 1px solid var(--glass-brd); border-radius: 50%; cursor: pointer; }
.theme-toggle { display: inline-flex; }
.theme-toggle[hidden] { display: none; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* İlk ekran başlıkları ve eylemler. */
.page-head { padding: var(--sp-6) 0 var(--sp-4); border-bottom: 1px solid var(--line); }
.page-title { margin: 0 0 var(--sp-2); font: 700 clamp(30px, 4.4vw, 48px)/1.2 var(--font-heading); }
.page-lead { max-width: 720px; margin: 0; color: var(--text-muted); font-size: clamp(16px, 2vw, 19px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-3); color: var(--text-muted); font-size: 14px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 13px 26px; color: inherit; border: 1px solid transparent; border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 14px; }
.btn-primary { color: var(--bg); background: var(--text); }
.btn-gold { color: var(--gold-btn-ink); background: var(--gold-metal); background-image: var(--grad-gold); box-shadow: var(--metal-shine), 0 14px 30px -12px var(--glow-gold); }
.btn-soft { color: var(--text); background: var(--surface-2); border-color: var(--line); }
.btn-ghost { position: relative; z-index: 1; color: #F2CF6C; background: var(--grad-gold-ring); border: 0; }
.btn-ghost::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--brand-dark); border-radius: inherit; }
.hero { padding: var(--sp-6) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-6); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--sp-3); padding: 7px 14px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; background: #C29B40; border-radius: 50%; }
.hero-title { margin: 0 0 var(--sp-3); font: 700 clamp(34px, 4.8vw, 58px)/1.06 var(--font-heading); }
.hero-subtitle { max-width: 520px; margin: 0 0 var(--sp-4); color: var(--text-muted); font-size: clamp(16px, 2.2vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Katalogların ilk görünümü: tam CSS uygulanırken kartlar ve medya alanları yer değiştirmez. */
.section-tight { padding: var(--sp-5) 0; }
.section-head { max-width: 640px; margin: 0 auto var(--sp-5); text-align: center; }
.section-head-left { margin-left: 0; text-align: left; }
.section-title { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-2); font: 700 clamp(26px, 3.6vw, 40px)/1.2 var(--font-heading); }
.section-head-left .section-title { justify-content: flex-start; }
.section-sub, .section-note { color: var(--text-muted); }
.section-sub { margin: 0; }
.section-note { margin: var(--sp-5) 0 0; text-align: center; font-size: 14px; }
.card-grid { display: grid; gap: var(--sp-3); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); color: var(--text); background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; }
.svc-card-icon { display: inline-flex; position: relative; width: 50px; height: 50px; align-items: center; justify-content: center; color: #fff; background: var(--gold-fill); background-image: var(--grad-amber); border-radius: 16px; }
.svc-card-icon-sm { width: 38px; height: 38px; border-radius: 12px; }
.svc-card-title { margin: 0; font-size: 19px; font-weight: 700; }
.svc-card-desc { flex-grow: 1; margin: 0; color: var(--text-muted); font-size: 14.5px; }
.svc-card-more { display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--gold); text-decoration: none; font-size: 14px; font-weight: 600; }
.cat-nav { position: sticky; top: 84px; z-index: 50; }
.cat-nav-inner { display: flex; gap: var(--sp-2); overflow-x: auto; padding: var(--sp-2) var(--sp-3); scrollbar-width: none; }
.cat-chip { display: inline-flex; align-items: center; gap: var(--sp-1); padding: 8px 15px; color: var(--text); background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 999px; box-shadow: var(--shadow-sm); text-decoration: none; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.svc-section { scroll-margin-top: 150px; }
.product-card { display: flex; position: relative; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.product-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.product-media-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-media-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background-image: linear-gradient(135deg, var(--gold-soft), transparent 70%); }
.product-badges { display: flex; position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 2; max-width: calc(100% - var(--sp-5)); justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.product-badge { padding: 4px 12px; color: var(--gold-fill-ink); background: var(--gold-metal); background-image: var(--grad-gold); border-radius: 999px; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-badge-sale { color: #FFF; background: #B02A37; }
.product-badge-best { color: var(--text); background: var(--surface-2); border: 1px solid var(--gold); }
.product-card-body { display: flex; flex-grow: 1; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); }
.product-title { margin: 0; font-size: 20px; font-weight: 700; }
.product-desc { margin: 0; color: var(--text-muted); font-size: 14.5px; }
.product-features { display: flex; flex-direction: column; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
.product-features li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: 14px; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sp-1); margin: auto 0 0; }
.product-price-value { color: var(--gold); font-size: 27px; }
.product-price-period, .product-price-note { color: var(--text-muted); }
.product-price-period { font-size: 14px; font-weight: 600; }
.product-price-note { font-size: 12.5px; }
.shop-highlights { padding-bottom: 0; }
.shop-strip { margin-bottom: var(--sp-4); }
.shop-strip-title { margin: 0 0 var(--sp-2); color: var(--gold); font-size: 21px; }
.shop-toolbar { padding: var(--sp-4) 0 var(--sp-2); }
.shop-toolbar-inner { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-3); }
.shop-search { display: flex; position: relative; min-width: 0; flex: 1 1 320px; align-items: center; }
.shop-search-ico { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.shop-search-input { width: 100%; padding: 13px 44px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 16px; }
.shop-search-clear { display: inline-flex; position: absolute; right: 4px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text-muted); background: transparent; border: 0; border-radius: 50%; }
.shop-search-clear[hidden] { display: none; }
.shop-sort-wrap { display: inline-flex; align-items: center; gap: var(--sp-2); flex: 0 0 auto; }
.shop-sort-label { color: var(--text-muted); font-size: 14px; font-weight: 600; }
.shop-sort { padding: 11px 16px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 14.5px; font-weight: 600; }
.shop-filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.shop-chip { display: inline-flex; min-height: 44px; align-items: center; gap: var(--sp-1); padding: 9px 16px; color: var(--text); background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; }
.shop-chip.is-active { color: var(--gold); background: var(--gold-soft); border-color: var(--gold); }
.shop-chip-count { min-width: 20px; padding: 1px 8px; color: var(--text-muted); background: var(--surface-2); border-radius: 999px; text-align: center; font-size: 12px; font-weight: 700; }
.shop-results { padding-top: var(--sp-4); }
.shop-meta { margin: 0 0 var(--sp-3); color: var(--text-muted); font-size: 14px; font-weight: 600; }
.product-tag { display: inline-flex; max-width: calc(100% - 76px); align-items: center; gap: 6px; align-self: flex-start; overflow: hidden; padding: 4px 11px; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 600; }
.shop-empty[hidden] { display: none; }

/* Ana sayfadaki Nano paneli ilk ekranda yer değiştirmesin. */
.chat { display: flex; position: relative; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 26px; box-shadow: var(--shadow); }
.chat-head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3); border-bottom: 1px solid var(--line); }
.chat-avatar { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: #fff; background: var(--gold-fill); background-image: var(--grad-amber); border-radius: 14px; }
.chat-head-text { display: flex; flex-direction: column; }
.chat-name { font-weight: 700; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; }
.chat-status::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; background: var(--ok); border-radius: 50%; }
.chat-log { display: flex; min-height: 190px; max-height: 320px; flex-direction: column; gap: var(--sp-2); overflow-y: auto; padding: var(--sp-3); }
.chat-msg { max-width: 85%; padding: 10px 15px; background: var(--surface-2); border: 1px solid var(--glass-brd); border-radius: 18px 18px 18px 6px; font-size: 14.5px; }
.chat-msg p { margin: 0; }
.chat-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0 var(--sp-3) var(--sp-3); }
.chat-chip { min-height: 44px; padding: 7px 14px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; }
.chat-form { display: flex; gap: var(--sp-2); padding: var(--sp-3); border-top: 1px solid var(--line); }
.chat-input { min-width: 0; flex: 1; padding: 10px 16px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; font-size: 16px; }
.chat-send { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold-fill-ink); background: var(--gold-metal); background-image: var(--grad-gold); border: 0; border-radius: 50%; cursor: pointer; }
.chat-privacy-note { margin: 0; padding: 0 var(--sp-3) var(--sp-3); color: var(--text-muted); font-size: 12px; line-height: 1.5; }

/* Flash ve çerez merkezi geç boyama/LCP kaymasına neden olmaz. */
.flash-area { padding-top: var(--sp-3); }
.alert { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-2); padding: var(--sp-3) var(--sp-4); border: 1px solid; border-radius: var(--radius-sm); }
.alert-success { color: var(--ok); background: var(--ok-bg); border-color: var(--ok); }
.alert-danger { color: var(--err); background: var(--err-bg); border-color: var(--err); }
.alert-warning { color: var(--warn); background: var(--warn-bg); border-color: var(--warn); }
.alert-info { color: var(--info); background: var(--info-bg); border-color: var(--info); }
.cookie-banner { display: flex; position: fixed; right: var(--sp-3); bottom: var(--sp-3); left: var(--sp-3); z-index: 150; max-width: 960px; max-height: calc(100vh - 32px); align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); overflow: auto; margin: 0 auto; padding: var(--sp-3) var(--sp-4); background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 20px; box-shadow: var(--shadow); }
.cookie-banner[hidden], .cookie-categories[hidden] { display: none; }
.cookie-text { margin: 0; color: var(--text-muted); font-size: 14px; }
.cookie-actions { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: var(--sp-2); }
.cookie-categories { display: grid; flex: 0 0 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); padding-top: var(--sp-3); border-top: 1px solid var(--glass-brd); }
.cookie-category { display: flex; min-width: 0; align-items: flex-start; gap: 10px; padding: 10px; border: 1px solid var(--glass-brd); border-radius: 12px; }
.cookie-category input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gold); }
.cookie-category label { display: grid; min-width: 0; gap: 3px; }
.cookie-category label span { color: var(--text-muted); font-size: 13px; line-height: 1.45; }

/* İlk ekran kırılımları: 360 px'den masaüstüne taşma oluşturmaz. */
@media (max-width: 1280px) {
    .site-nav { gap: var(--sp-3); }
    .nav-list a, .nav-sub-btn { padding: 9px 10px; font-size: 14.5px; }
    .nav-tools { gap: var(--sp-2); }
}
@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; top: calc(100% + 10px); right: var(--sp-3); left: var(--sp-3); max-height: calc(100vh - 110px); flex-direction: column; align-items: stretch; gap: var(--sp-3); overflow-y: auto; padding: var(--sp-3); background: var(--menu-bg); border: 1px solid var(--glass-brd); border-radius: 24px; box-shadow: var(--shadow); }
    .site-nav.is-open { display: flex; }
    .nav-list, .nav-tools { flex-direction: column; align-items: stretch; }
    .nav-list a { display: block; padding: 12px 16px; font-size: 16px; }
    .nav-list a.nav-cta { margin-left: 0; text-align: center; }
    .nav-tools { padding-top: var(--sp-3); border-top: 1px solid var(--line); }
    .nav-auth-link { flex: 1; justify-content: center; }
    .nav-sub { position: static; }
    .nav-sub-btn { width: 100%; justify-content: space-between; padding: 12px 16px; font-size: 16px; }
    .nav-sub-list { position: static; min-width: 0; padding-left: 14px; transform: none; background: none; border: 0; box-shadow: none; }
}
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
    .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .section, .hero { padding: var(--sp-5) 0; }
    .site-header { top: 8px; padding: 0 var(--sp-2); }
    .site-header-inner { padding: 8px 8px 8px 18px; }
    .brand-text { font-size: 23px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-categories { grid-template-columns: 1fr; }
    .chat-log { min-height: 150px; max-height: 260px; }
    .card-grid-3 { grid-template-columns: 1fr; }
    .shop-toolbar-inner { flex-direction: column; align-items: stretch; gap: var(--sp-2); }
    .shop-sort-wrap { justify-content: space-between; }
    .shop-sort { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
