/* =====================================================================
   Kutu Kırtasiye - Ana Stil Dosyası
   Tasarım dili: "kareli defter" (graph paper) motifi + kurumsal mavi
   ===================================================================== */

/* ------------------------------ 1. Tokenlar ------------------------ */
:root {
    --primary: #1E3A8A;
    --primary-600: #1B347C;
    --primary-050: #EEF2FF;

    /* Metin rolündeki marka renkleri. Aydınlık temada marka renklerinin aynısıdır;
       koyu temada ayrıca tanımlanır. Bu ayrım gereklidir: --primary hem dolgu
       (buton/rozet zemini) hem metin rengi olarak kullanılıyor ve koyu temada
       tek bir değerin ikisini birden karşılaması mümkün değil. */
    --primary-text: var(--primary);
    --secondary-text: var(--secondary);
    --secondary: #2563EB;
    --secondary-050: #EFF6FF;
    --accent: #F59E0B;
    --accent-050: #FFFBEB;

    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --surface-2: #F1F5F9;
    --border: #E2E8F0;
    --border-strong: #CBD5E1;

    --text: #0F172A;
    --text-muted: #64748B;
    --text-soft: #94A3B8;

    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #0EA5E9;

    --grid-line: rgba(30, 58, 138, .07);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
    --shadow-primary: 0 14px 34px rgba(30, 58, 138, .28);

    --ring: 0 0 0 3px rgba(37, 99, 235, .35);

    --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

    --header-height: 76px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --transition: .35s var(--ease);

    --container: 1240px;
}

[data-theme="dark"] {
    --bg: #0B1220;
    --surface: #111C33;
    --surface-2: #16233D;
    --border: #23324F;
    --border-strong: #2F4166;

    --text: #E8EDF7;
    --text-muted: #A2B0C9;
    --text-soft: #7C8CA8;

    --primary-050: #16233D;
    --secondary-050: #16233D;
    --accent-050: #2A2312;

    /* Koyu zeminde okunabilir marka mavileri.
       Önce: --primary  #1E3A8A -> 1.51-1.81:1 (AA 4.5:1 çok altında)
             --secondary #2563EB -> 3.03-3.62:1 (AA altında)
       Sonra: --primary-text   #93B4FF -> 7.6-9.1:1
              --secondary-text #7FA5FF -> 6.5-7.8:1
       Ton korunur (~220 derece), böylece marka kimliği değişmez. */
    --primary-text: #93B4FF;
    --secondary-text: #7FA5FF;


    --grid-line: rgba(148, 178, 255, .07);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
    --shadow: 0 12px 34px rgba(0, 0, 0, .5);
    --shadow-lg: 0 26px 64px rgba(0, 0, 0, .6);
}

/* ------------------------------ 2. Temel ---------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4, h5, h6, .display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--text);
    margin-top: 0;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin-top: 0; }

a { color: var(--secondary-text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-text); }

img { max-width: 100%; height: auto; }

.container-kk {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.text-muted-kk { color: var(--text-muted) !important; }
.mono { font-family: var(--font-mono); font-size: .82em; letter-spacing: .04em; }

::selection { background: var(--accent); color: #1a1a1a; }

:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------ 3. Kareli defter motifi -------------- */
.paper-grid {
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 28px 28px;
}

.section {
    padding: clamp(56px, 8vw, 104px) 0;
    position: relative;
}
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--surface { background: var(--surface); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--secondary-text);
    margin-bottom: 12px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title { margin-bottom: 8px; }
.section-subtitle { color: var(--text-muted); max-width: 62ch; margin-bottom: 0; }

/* ------------------------------ 4. Butonlar ------------------------- */
.btn-kk {
    --btn-bg: var(--primary);
    --btn-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    color: var(--btn-color);
    background: var(--btn-bg);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s ease, color .25s ease;
}
.btn-kk:hover { color: var(--btn-color); transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.btn-kk:active { transform: translateY(0); }

.btn-kk--primary { --btn-bg: var(--primary); }
.btn-kk--secondary { --btn-bg: var(--secondary); }
.btn-kk--accent { --btn-bg: var(--accent); --btn-color: #1F1300; }
.btn-kk--dark { --btn-bg: var(--text); }

.btn-kk--outline {
    --btn-bg: transparent;
    --btn-color: var(--primary-text);
    border-color: var(--border-strong);
}
.btn-kk--outline:hover { --btn-bg: var(--primary); --btn-color: #fff; border-color: var(--primary); }

.btn-kk--ghost {
    --btn-bg: transparent;
    --btn-color: var(--text);
    border-color: transparent;
}
.btn-kk--ghost:hover { --btn-bg: var(--surface-2); box-shadow: none; }

.btn-kk--light { --btn-bg: #fff; --btn-color: var(--primary); }

.btn-kk--sm { padding: 9px 18px; font-size: .84rem; }
.btn-kk--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-kk--block { width: 100%; }

.btn-kk[disabled], .btn-kk.is-disabled { opacity: .55; pointer-events: none; }

.icon-btn {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ------------------------------ 5. Üst bar & navbar ------------------ */
.topbar {
    background: var(--primary);
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
}
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 40px;
}
.topbar-list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: var(--shadow-primary);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--text); letter-spacing: -.02em; }
.brand-tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); }

.main-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav > li { position: relative; }
.nav-link-kk {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .94rem;
    color: var(--text);
    white-space: nowrap;
}
.nav-link-kk:hover, .nav-link-kk.active { background: var(--primary-050); color: var(--primary-text); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #1F1300;
    font-size: .7rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    border: 2px solid var(--surface);
}

/* Mega menü */
.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, 12px);
    width: min(880px, 92vw);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 26px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
    z-index: 40;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mega-item {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 13px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: var(--transition);
}
.mega-item:hover { background: var(--surface-2); border-color: var(--border); transform: translateX(3px); }
.mega-icon {
    width: 42px; height: 42px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--primary-050);
    color: var(--primary-text);
    font-size: 1.05rem;
}
.mega-name { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--text); }
.mega-desc { font-size: .8rem; color: var(--text-muted); margin: 2px 0 0; }
.mega-foot {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* Mobil menü */
.mobile-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(340px, 86vw);
    background: var(--surface);
    z-index: 1080;
    transform: translateX(-100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav a {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 600;
}
.mobile-nav a:hover { background: var(--surface-2); }

/* ------------------------------ 6. Arama ---------------------------- */
.search-shell { position: relative; flex: 1; max-width: 460px; }
.search-field {
    width: 100%;
    height: 46px;
    padding: 0 46px 0 44px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    font-size: .92rem;
    transition: var(--transition);
}
.search-field::placeholder { color: var(--text-soft); }
.search-field:focus { outline: none; background: var(--surface); border-color: var(--secondary); box-shadow: var(--ring); }
.search-icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--text-soft); pointer-events: none; }
.search-clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border: 0; border-radius: 50%;
    background: transparent; color: var(--text-soft); cursor: pointer; display: none;
}
.search-shell.has-value .search-clear { display: grid; place-items: center; }

.suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 60;
    display: none;
}
.suggestions.is-open { display: block; }
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.suggestion-item:last-child { border-bottom: 0; }
.suggestion-item:hover, .suggestion-item.is-active { background: var(--primary-050); color: var(--primary-text); }
.suggestion-thumb {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--surface-2); object-fit: contain; padding: 5px; flex-shrink: 0;
}
/* Orta sütun (ad + sku/kategori). JS bu sarmalayıcıyı sınıfsız bir <span> olarak
   üretir; flex öğesi varsayılanı flex:0 1 auto + min-width:auto olduğu için uzun
   ürün adlarında satır kutudan taşar ve .suggestions'ın overflow:hidden kuralı
   metni ve fiyatı kırpar. flex:1 alanı verir, min-width:0 kısalmayı mümkün kılar. */
.suggestion-item > span:not(.suggestion-price) { flex: 1 1 auto; min-width: 0; }
.suggestion-name {
    display: block;
    font-weight: 600; font-size: .9rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.suggestion-meta {
    display: block;
    font-size: .76rem; color: var(--text-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.suggestion-price {
    flex-shrink: 0;
    margin-left: auto; font-family: var(--font-mono); font-weight: 600;
    font-size: .85rem; color: var(--primary-text); white-space: nowrap;
}
.suggestion-empty { padding: 26px 18px; text-align: center; color: var(--text-muted); font-size: .9rem; }

/* Mobil menüdeki öneriler: .mobile-nav a (0,1,1) kuralı .suggestion-item (0,1,0)
   kuralını geçtiği için satırlara fazladan dolgu ve kalın yazı uyguluyordu. */
.mobile-nav .suggestions .suggestion-item { padding: 11px 15px; border-radius: 0; font-weight: 400; }
.mobile-nav .suggestions .suggestion-item:hover { background: var(--primary-050); }

/* ------------------------------ 7. Hero ----------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 88% -10%, rgba(37, 99, 235, .16), transparent 62%),
        radial-gradient(760px 420px at 4% 108%, rgba(245, 158, 11, .14), transparent 60%),
        var(--bg);
    padding: clamp(56px, 8vw, 108px) 0 clamp(64px, 9vw, 116px);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 78%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.hero-badge span.dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
}
.hero-title { margin-bottom: 20px; }
.hero-title .accent-underline {
    background-image: linear-gradient(transparent 62%, rgba(245, 158, 11, .45) 62%);
    background-repeat: no-repeat;
    background-size: 0 100%;
    animation: underline-in 1s var(--ease) .5s forwards;
}
@keyframes underline-in { to { background-size: 100% 100%; } }

.hero-lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--text-muted); max-width: 56ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat-value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--primary-text); line-height: 1; }
.hero-stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 6px; }

/* Kompakt hero: ana sayfada ürünlere hızlı ulaşmak için 300-350px yükseklikte tutulur. */
.hero--compact {
    padding: 0;
    min-height: 300px;
    display: grid;
    align-items: center;
}
.hero--compact::before {
    mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 82%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 82%);
}
.hero--compact .container-kk { padding-top: 40px; padding-bottom: 40px; }
.hero--compact .hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 48px);
}
.hero--compact .hero-title {
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    margin-bottom: 12px;
}
.hero--compact .hero-lead {
    font-size: 1rem;
    max-width: 60ch;
    margin-bottom: 22px;
}
.hero--compact .hero-actions { margin-bottom: 0; gap: 12px; }

/* Katalog künyesi: hero'nun sağında ince bir bilgi bloğu */
.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: clamp(24px, 4vw, 44px);
    border-left: 1px solid var(--border);
    white-space: nowrap;
}
.hero-meta-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-text);
    line-height: 1;
}
.hero-meta-label { font-size: .82rem; color: var(--text-muted); }

@media (max-width: 860px) {
    .hero--compact { min-height: 0; }
    .hero--compact .hero-inner { grid-template-columns: 1fr; }
    .hero-meta { display: none; }
}

/* Hero görseli: "sipariş fişi" kartı */
.hero-visual { position: relative; }
.receipt-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 26px;
    position: relative;
    overflow: hidden;
}
.receipt-card::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -10px;
    height: 20px;
    background:
        radial-gradient(circle at 10px -2px, transparent 10px, var(--surface) 11px) repeat-x;
    background-size: 20px 20px;
}
.receipt-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 16px; border-bottom: 1px dashed var(--border-strong); margin-bottom: 16px;
}
.receipt-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 0; border-bottom: 1px dashed var(--border);
    font-size: .9rem;
}
.receipt-row:last-of-type { border-bottom: 0; }
.receipt-row .name { font-weight: 600; }
.receipt-row .qty { font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); }
.receipt-row .price { font-family: var(--font-mono); font-weight: 600; color: var(--primary-text); }
.receipt-total {
    margin-top: 12px; padding-top: 16px; border-top: 2px solid var(--text);
    display: flex; align-items: baseline; justify-content: space-between;
}
.receipt-total .label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.receipt-total .value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--primary-text); }

.float-chip {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow);
    font-size: .84rem;
    font-weight: 600;
    animation: float-y 5s ease-in-out infinite;
}
.float-chip i { color: var(--accent); }
.float-chip--tl { top: -18px; left: -22px; }
.float-chip--br { bottom: 6px; right: -26px; animation-delay: 1.4s; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ------------------------------ 8. Kartlar -------------------------- */
.card-kk {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.card-kk:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border-strong); }

/* Ürün kartı */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--secondary); }

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.product-media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform .5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }

.product-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.flag {
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: #fff;
    box-shadow: var(--shadow-xs);
}
.flag--new { background: var(--secondary); }
.flag--discount { background: var(--danger); }
.flag--featured { background: var(--accent); color: #1F1300; }
.flag--out { background: var(--text-muted); }

.product-tools {
    position: absolute; top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(10px);
    transition: opacity .3s ease, transform .3s var(--ease);
    z-index: 2;
}
.product-card:hover .product-tools, .product-card:focus-within .product-tools { opacity: 1; transform: none; }
.product-tools .icon-btn { width: 38px; height: 38px; font-size: .85rem; box-shadow: var(--shadow-sm); }
.icon-btn.is-wishlisted { background: var(--danger); border-color: var(--danger); color: #fff; }

.product-body { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.product-category {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--secondary-text);
}
.product-name {
    font-family: var(--font-display);
    font-size: .99rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--secondary-text); }
.product-sku { font-family: var(--font-mono); font-size: .72rem; color: var(--text-soft); }

.stock-line { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; }
.stock--in { color: var(--success); } .stock--in .stock-dot { background: var(--success); }
.stock--low { color: var(--warning); } .stock--low .stock-dot { background: var(--warning); }
.stock--out { color: var(--text-muted); } .stock--out .stock-dot { background: var(--text-soft); }

.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price-now { font-family: var(--font-display); font-size: 1.22rem; font-weight: 800; color: var(--primary-text); line-height: 1.1; }
.price-old { font-size: .82rem; color: var(--text-soft); text-decoration: line-through; }
.price-unit { font-size: .74rem; color: var(--text-muted); }

/* Kategori kartı */
.category-card {
    display: block;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.category-card::before {
    content: "";
    position: absolute; inset: auto -30% -60% auto;
    width: 190px; height: 190px; border-radius: 50%;
    background: var(--primary-050);
    transition: transform .5s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card:hover::before { transform: scale(1.7); }
.category-card > * { position: relative; z-index: 1; }
.category-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 17px;
    background: linear-gradient(140deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.28rem;
    margin-bottom: 18px;
    box-shadow: var(--shadow-primary);
}
.category-name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; color: var(--text); margin-bottom: 6px; }
.category-desc { font-size: .87rem; color: var(--text-muted); margin-bottom: 14px; }
.category-count { font-family: var(--font-mono); font-size: .76rem; color: var(--secondary-text); font-weight: 600; }

/* ------------------------------ 9. Kampanya ------------------------- */
.campaign-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    padding: clamp(32px, 5vw, 58px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.campaign-hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .06)),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, .3));
}
.campaign-hero > * { position: relative; z-index: 2; }
.campaign-hero img.bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .5;
}
.campaign-badge {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
    padding: 7px 15px; margin-bottom: 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.campaign-title { color: #fff; margin-bottom: 12px; }
.campaign-sub { color: rgba(255, 255, 255, .9); max-width: 54ch; margin-bottom: 26px; }

.campaign-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    padding: 30px;
    min-height: 220px;
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.campaign-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ------------------------------ 10. Avantaj / istatistik ------------- */
.feature-tile {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 15px;
    background: var(--primary-050);
    color: var(--primary-text);
    font-size: 1.15rem;
}
.feature-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: 5px; }
.feature-text { font-size: .89rem; color: var(--text-muted); margin: 0; }

.stats-band {
    background: linear-gradient(135deg, var(--primary), #16307A 55%, var(--secondary));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(34px, 5vw, 56px);
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 32px 32px;
}
.stats-band > * { position: relative; }
.stat-value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.stat-label { color: rgba(255, 255, 255, .78); font-size: .88rem; margin-top: 8px; }

/* Yorumlar */
.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    position: relative;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-quote { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--primary-050); position: absolute; top: 14px; right: 22px; }
.review-stars { color: var(--accent); margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: .95rem; color: var(--text); margin-bottom: 20px; position: relative; }
.review-person { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--primary); color: #fff;
    font-family: var(--font-display); font-weight: 800;
}
.review-name { font-weight: 700; font-size: .92rem; }
.review-role { font-size: .8rem; color: var(--text-muted); }

/* Markalar */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-chip {
    display: grid; place-items: center;
    padding: 22px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-soft);
    letter-spacing: .02em;
    transition: var(--transition);
}
.brand-chip:hover { color: var(--primary-text); border-color: var(--secondary); transform: translateY(-3px); }

/* Bülten */
.newsletter {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 4vw, 52px);
    box-shadow: var(--shadow-sm);
}
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form .form-control-kk { flex: 1; min-width: 240px; }

/* ------------------------------ 11. Form öğeleri --------------------- */
.form-label-kk {
    display: block;
    font-weight: 600;
    font-size: .87rem;
    margin-bottom: 8px;
    color: var(--text);
}
.form-control-kk {
    width: 100%;
    padding: 12px 16px;
    font-size: .94rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.form-control-kk::placeholder { color: var(--text-soft); }
.form-control-kk:focus { outline: none; border-color: var(--secondary); box-shadow: var(--ring); }
.form-control-kk.input-validation-error { border-color: var(--danger); }
textarea.form-control-kk { min-height: 130px; resize: vertical; }
select.form-control-kk { appearance: none; background-image: none; cursor: pointer; }

.field-error, .text-danger { color: var(--danger); font-size: .82rem; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }

.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }

.switch-kk { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch-kk input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
    width: 48px; height: 27px; border-radius: var(--radius-pill);
    background: var(--border-strong); position: relative; transition: background-color .25s ease; flex-shrink: 0;
}
.switch-track::after {
    content: ""; position: absolute; top: 3px; left: 3px;
    width: 21px; height: 21px; border-radius: 50%; background: #fff;
    transition: transform .25s var(--ease); box-shadow: var(--shadow-xs);
}
.switch-kk input:checked + .switch-track { background: var(--success); }
.switch-kk input:checked + .switch-track::after { transform: translateX(21px); }
.switch-kk input:focus-visible + .switch-track { box-shadow: var(--ring); }

.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; background: var(--surface); }
.qty-box button {
    width: 40px; height: 42px; border: 0; background: transparent; color: var(--text); cursor: pointer; font-size: .9rem;
    transition: background-color .2s ease;
}
.qty-box button:hover { background: var(--surface-2); }
.qty-box input {
    width: 54px; height: 42px; border: 0; text-align: center;
    font-family: var(--font-mono); font-weight: 600; background: transparent; color: var(--text);
}
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* ------------------------------ 12. Sepet paneli --------------------- */
.overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    z-index: 1070;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(430px, 92vw);
    background: var(--surface);
    z-index: 1090;
    transform: translateX(100%);
    transition: transform .42s var(--ease);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.cart-drawer.is-open { transform: none; }
.cart-drawer-head {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-drawer-foot { padding: 20px 22px; border-top: 1px solid var(--border); background: var(--surface-2); }

.cart-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-img { width: 68px; height: 68px; border-radius: 12px; background: var(--surface-2); object-fit: contain; padding: 6px; flex-shrink: 0; }
.cart-line-name { font-weight: 600; font-size: .9rem; line-height: 1.4; margin-bottom: 4px; color: var(--text); }
.cart-line-meta { font-family: var(--font-mono); font-size: .74rem; color: var(--text-muted); }
.cart-line-price { font-family: var(--font-display); font-weight: 800; color: var(--primary-text); }

.summary-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: .9rem; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 1.05rem; font-weight: 800; }
.summary-row.total span:last-child { font-family: var(--font-display); color: var(--primary-text); font-size: 1.3rem; }

.progress-kk { height: 8px; border-radius: var(--radius-pill); background: var(--border); overflow: hidden; }
.progress-kk span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--secondary), var(--accent)); transition: width .6s var(--ease); }

/* ------------------------------ 13. Boş durum & iskelet -------------- */
.empty-state { text-align: center; padding: clamp(40px, 7vw, 80px) 20px; }
.empty-art { width: 190px; max-width: 60%; margin: 0 auto 26px; display: block; }
.empty-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; }
.empty-text { color: var(--text-muted); max-width: 46ch; margin: 0 auto 26px; }

.skeleton {
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 37%, var(--surface-2) 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skeleton-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.skeleton-media { aspect-ratio: 4 / 3; }
.skeleton-line { height: 12px; margin: 10px 18px; }
.skeleton-line.short { width: 45%; }

.spinner-kk {
    width: 42px; height: 42px;
    border: 3px solid var(--border);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-loader {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--bg);
    display: grid; place-items: center;
    transition: opacity .45s ease, visibility .45s;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }

/* ------------------------------ 14. Breadcrumb & sayfalama ----------- */
.breadcrumb-kk {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-size: .84rem; color: var(--text-muted);
    padding: 18px 0;
    margin: 0; list-style: none;
}
.breadcrumb-kk li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-kk li + li::before { content: "/"; color: var(--text-soft); }
.breadcrumb-kk a { color: var(--text-muted); }
.breadcrumb-kk a:hover { color: var(--secondary-text); }
.breadcrumb-kk .current { color: var(--text); font-weight: 600; }

.pager { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-top: 42px; }
.pager a, .pager span {
    min-width: 42px; height: 42px;
    display: grid; place-items: center;
    padding: 0 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-weight: 600; font-size: .9rem;
    transition: var(--transition);
}
.pager a:hover { border-color: var(--secondary); color: var(--secondary-text); transform: translateY(-2px); }
.pager .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager .is-disabled { opacity: .45; pointer-events: none; }

/* ------------------------------ 15. Filtre paneli -------------------- */
.filter-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}
.filter-group + .filter-group { margin-top: 26px; padding-top: 26px; border-top: 1px dashed var(--border); }
.filter-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: .9rem; }
.filter-option a { color: var(--text); display: flex; align-items: center; gap: 9px; }
.filter-option a:hover { color: var(--secondary-text); }
.filter-option.is-active a { color: var(--secondary-text); font-weight: 700; }
.filter-count { font-family: var(--font-mono); font-size: .75rem; color: var(--text-soft); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: var(--primary-050);
    color: var(--primary-text);
    font-size: .82rem; font-weight: 600;
}
.chip a { color: inherit; opacity: .7; }
.chip a:hover { opacity: 1; }

.toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

/* ------------------------------ 16. Ürün detay ----------------------- */
.gallery-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    display: grid; place-items: center;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 34px; transition: transform .35s var(--ease); }
.gallery-main.is-zoomed img { transform: scale(2); cursor: zoom-out; padding: 0; }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumb {
    width: 74px; height: 74px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--surface);
    padding: 5px;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb:hover, .gallery-thumb.is-active { border-color: var(--secondary); transform: translateY(-2px); }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 13px 0; border-bottom: 1px dashed var(--border); text-align: left; font-size: .9rem; }
.spec-table th { color: var(--text-muted); font-weight: 600; width: 42%; }
.spec-table td { font-weight: 600; }

.trust-row { display: flex; flex-wrap: wrap; gap: 20px; padding: 18px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-muted); }
.trust-item i { color: var(--success); }

/* ------------------------------ 17. Footer --------------------------- */
.site-footer {
    background: #0B1631;
    color: rgba(255, 255, 255, .72);
    padding: clamp(48px, 6vw, 76px) 0 0;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}
.site-footer > * { position: relative; }
.site-footer h4 {
    color: #fff; font-size: .96rem; font-weight: 700;
    margin-bottom: 18px; letter-spacing: .01em;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: .9rem; }
.footer-contact-item i { color: var(--accent); margin-top: 4px; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: #1F1300; transform: translateY(-3px); }

.footer-bottom {
    margin-top: 46px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: .84rem;
}

/* ------------------------------ 18. Yardımcılar ---------------------- */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px;
    width: 48px; height: 48px;
    border: 0; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow-primary);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: var(--transition);
    z-index: 1040; cursor: pointer;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.whatsapp-fab {
    position: fixed; right: 22px; bottom: 82px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #25D366; color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow);
    z-index: 1040;
    transition: var(--transition);
}
.whatsapp-fab:hover { color: #fff; transform: translateY(-3px) scale(1.05); }

.toast-stack { position: fixed; top: 92px; right: 20px; z-index: 1100; display: flex; flex-direction: column; gap: 10px; }
.toast-kk {
    display: flex; align-items: center; gap: 12px;
    min-width: 280px; max-width: 380px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    font-size: .9rem;
    animation: toast-in .35s var(--ease);
}
.toast-kk.is-out { animation: toast-out .3s var(--ease) forwards; }
.toast-kk--success { border-left-color: var(--success); }
.toast-kk--error { border-left-color: var(--danger); }
.toast-kk--warning { border-left-color: var(--warning); }
.toast-kk i { font-size: 1.05rem; }
.toast-kk--success i { color: var(--success); }
.toast-kk--error i { color: var(--danger); }
.toast-kk--warning i { color: var(--warning); }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--header-height));
}
.auth-side {
    background: linear-gradient(150deg, var(--primary), #16307A 60%, var(--secondary));
    color: #fff;
    padding: clamp(36px, 5vw, 64px);
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.auth-side::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 30px 30px;
}
.auth-side > * { position: relative; }
.auth-form-wrap { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.auth-card { width: 100%; max-width: 460px; margin-inline: auto; }

.map-frame {
    width: 100%; height: 420px; border: 0;
    border-radius: var(--radius-lg);
    filter: grayscale(.25);
}

/* ------------------------------ 19. Duyarlı (responsive) ------------- */
@media (max-width: 1199.98px) {
    .brand-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991.98px) {
    :root { --header-height: 68px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; }
    .main-nav, .topbar { display: none; }
    .search-shell { max-width: none; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .filter-panel { position: static; }
    .float-chip--br { right: 0; }
}

@media (max-width: 767.98px) {
    body { font-size: 15px; }
    .brand-strip { grid-template-columns: repeat(2, 1fr); }
    .section-head { flex-direction: column; align-items: flex-start; }
    .hero-stats { gap: 22px; }
    .float-chip { display: none; }
    .toast-stack { left: 16px; right: 16px; top: 78px; }
    .toast-kk { min-width: 0; max-width: none; }
    .brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .back-to-top, .whatsapp-fab, .cart-drawer, .overlay { display: none !important; }
    body { background: #fff; }
}

/* ============================== SEPET SAYFASI ==============================
   Sepet daha önce yalnızca admin.css içinde tanımlı olan .panel / .table-kk /
   .thumb-sm / .action-btn sınıflarını kullanıyordu; vitrin yerleşimi admin.css
   yüklemediği için bu öğeler stilsiz kalıyordu. Aşağıdaki sınıflar sepete özel
   olup mevcut tasarım değişkenlerini kullanır, koyu temayı otomatik destekler.
   -------------------------------------------------------------------------- */
.cart-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.cart-head h1 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 0 0 4px; }
.cart-head-note { font-size: .88rem; color: var(--text-muted); margin: 0; max-width: 62ch; }

.cart-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.cart-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
}
.cart-panel-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin: 0; }
.cart-panel-body { padding: 18px; }

/* ------------------------------ Ürün satırı ------------------------------ */
.cart-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 112px 128px 108px 36px;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    transition: background-color .2s var(--ease);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row:hover { background: var(--surface-2); }

.cart-thumb {
    width: 56px; height: 56px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    object-fit: contain;
    padding: 5px;
}
.cart-row .cart-line-name { display: block; margin-bottom: 2px; }
.cart-row-meta { font-size: .74rem; color: var(--text-muted); }
.cart-row-price { font-size: .9rem; color: var(--text-muted); }
.cart-row-total { text-align: right; }

/* Dar ekranlarda hücrelerin ne olduğunu belirten etiketler */
.cart-row-label { display: none; font-size: .72rem; color: var(--text-muted); margin-bottom: 3px; }

.cart-remove {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.cart-remove:hover { background: rgba(239, 68, 68, .12); color: var(--danger); border-color: transparent; }
.cart-remove:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

/* ------------------------------ Özet kartı ------------------------------- */
.cart-summary { position: sticky; top: calc(var(--header-height) + 16px); }
.cart-summary .summary-row { padding: 6px 0; }

.cart-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--accent-050);
    font-size: .84rem;
}

/* Birincil eylem: etiket ileride "Ödemeye Geç" olarak değiştiğinde
   yükseklik ve genişlik sabit kaldığı için yerleşim kaymaz. */
.cart-cta {
    width: 100%;
    min-height: 52px;
    white-space: nowrap;
    margin-top: 16px;
}

@media (max-width: 1199px) {
    .cart-row { grid-template-columns: 52px minmax(0, 1fr) 118px 96px 34px; }
    .cart-row .cart-row-price { display: none; }
}

@media (max-width: 640px) {
    .cart-row {
        grid-template-columns: 52px minmax(0, 1fr) 34px;
        row-gap: 12px;
        padding: 14px;
    }
    .cart-row-qty { grid-column: 1 / 3; }
    .cart-row-total { grid-column: 3 / 4; text-align: right; align-self: end; }
    .cart-row-label { display: block; }
    .cart-summary { position: static; }
}

/* ============================ SİPARİŞ TAKİBİ ============================
   Müşteri sipariş sayfaları. Vitrin yerleşimi admin.css yüklemediği için
   .panel / .table-kk / .badge-kk burada kullanılamaz; aşağıdaki sınıflar
   yalnızca mevcut tasarım değişkenlerini kullanır ve koyu temayı destekler.
   ---------------------------------------------------------------------- */
.order-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.order-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
}
.order-panel-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin: 0; }
.order-panel-body { padding: 18px; }

/* ----------------------------- Durum rozeti ----------------------------- */
.order-status {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: .78rem; font-weight: 600;
    white-space: nowrap;
}
.order-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.order-status--pending   { color: #B45309; background: rgba(245, 158, 11, .15); }
.order-status--approved  { color: #047857; background: rgba(16, 185, 129, .15); }
.order-status--preparing { color: var(--secondary-text); background: var(--secondary-050); }
.order-status--shipped   { color: #0E7490; background: rgba(6, 182, 212, .15); }
.order-status--delivered { color: #047857; background: rgba(16, 185, 129, .24); }
.order-status--cancelled { color: #B91C1C; background: rgba(239, 68, 68, .15); }

/* --------------------------- Sipariş listesi --------------------------- */
.order-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) auto minmax(0, .7fr) auto;
    align-items: center; gap: 16px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
    transition: background-color .2s var(--ease);
}
.order-row:last-child { border-bottom: 0; }
.order-row:hover { background: var(--surface-2); }
.order-no { font-family: var(--font-mono); font-weight: 600; }
.order-date { font-size: .8rem; color: var(--text-muted); }
.order-total { font-family: var(--font-display); font-weight: 700; text-align: right; }

/* --------------------------- Sipariş kalemleri -------------------------- */
.order-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 116px 116px;
    align-items: center; gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}
.order-line:last-child { border-bottom: 0; }
.order-line--head {
    font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-muted); background: var(--surface-2);
    padding-top: 9px; padding-bottom: 9px;
}
.order-line-cell--num { text-align: right; }
.order-cell-label { display: none; font-size: .72rem; color: var(--text-muted); margin-bottom: 2px; }

@media (max-width: 767px) {
    .order-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
    .order-total { text-align: left; }
    .order-line { grid-template-columns: minmax(0, 1fr) 1fr; row-gap: 8px; }
    .order-line--head { display: none; }
    .order-line-cell--num { text-align: left; }
    .order-cell-label { display: block; }
}

/* ========================== HERO ARAMA ALANI ==========================
   Başlıktaki arama bileşeni buraya taşındı. Aynı .search-shell yapısı ve
   aynı data-* kancaları kullanıldığı için site.js içindeki canlı arama
   mantığı ($$("[data-search-shell]")) hiç değişmeden çalışmaya devam eder.
   Başlığa ait .search-shell / .search-field kuralları değiştirilmedi;
   buradaki kurallar yalnızca .hero-search kapsamında geçerlidir.
   --------------------------------------------------------------------- */
.hero-search-band {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: clamp(26px, 4vw, 40px) 0;
}
.hero-search { max-width: 800px; margin: 0 auto; }

/* Başlıktaki dar kutu yerine tam genişlik */
.hero-search .search-shell { flex: none; max-width: none; width: 100%; }
.hero-search .search-field {
    height: 58px;
    font-size: 1rem;
    padding: 0 58px 0 54px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-xs);
}
.hero-search .search-field:focus { background: var(--surface); }
.hero-search .search-icon { left: 21px; font-size: 1.02rem; }
.hero-search .search-clear { right: 11px; width: 36px; height: 36px; }

/* Öneri kartı */
.hero-search .suggestions { top: calc(100% + 12px); border-radius: var(--radius-lg); }
.hero-search .suggestion-item {
    padding: 13px 18px;
    transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.hero-search .suggestion-item:hover,
.hero-search .suggestion-item.is-active { padding-left: 23px; }
.hero-search .suggestion-thumb { width: 48px; height: 48px; }

/* Popüler aramalar */
.hero-search-hints {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px; margin-top: 16px;
}
.hero-search-hints-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.hero-search-hints .chip { transition: var(--transition); }
.hero-search-hints .chip:hover {
    background: var(--secondary-050);
    color: var(--secondary-text);
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .hero-search .search-field { height: 52px; font-size: .95rem; padding: 0 50px 0 46px; }
    .hero-search .search-icon { left: 17px; }
    .hero-search .search-clear { right: 8px; width: 32px; height: 32px; }
    .hero-search .suggestion-thumb { width: 44px; height: 44px; }
    .hero-search-hints { justify-content: flex-start; }
}

/* ===================== ANA SAYFA — GÖRSEL DÜZENLEME =====================
   Yalnızca hiyerarşi, boşluk ve güven unsurları düzenlenir.
   Renk paleti, tipografi ve bileşen yapısı değiştirilmez; tüm değerler
   mevcut tasarım değişkenlerinden gelir.
   ----------------------------------------------------------------------- */

/* --------- Hero: sağ sütun iş metrikleri (2x2, mevcut minimal dil) ------- */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
    padding-left: clamp(24px, 4vw, 44px);
    border-left: 1px solid var(--border);
}
.hero-metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-text);
    white-space: nowrap;
}
.hero-metric-label {
    display: block;
    margin-top: 5px;
    font-size: .79rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* --------- Arama: sayfanın odak noktası --------- */
.hero-search .search-field {
    height: 60px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.hero-search .search-field:focus {
    background: var(--surface);
    border-color: var(--secondary);
    box-shadow: var(--ring), var(--shadow);
}

/* Güven satırı: küçük ikon, sessiz tipografi, kart yok */
.search-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px 26px;
    margin-top: 18px;
}
.search-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    color: var(--text-muted);
}
.search-trust-item i { font-size: .72rem; color: var(--success); }

/* Popüler aramalar kategori filtrelerinden daha sessiz olmalı */
.hero-search-hints { margin-top: 14px; gap: 8px 10px; }
.hero-search-hints .chip {
    background: var(--surface-2);
    color: var(--text-muted);
    font-weight: 500;
}
.hero-search-hints .chip:hover {
    background: var(--primary-050);
    color: var(--primary-text);
    transform: none;
}

/* --------- Ürünlere daha erken ulaşım --------- */
.hero-search-band { padding: clamp(24px, 3.5vw, 34px) 0 clamp(22px, 3vw, 30px); }
.hero-search-band + .section { padding-top: clamp(28px, 3.5vw, 44px); }

/* Kategori filtreleri: dar ekranda satır kırmak yerine yatay kaydırma */
#urunler .chip-row { gap: 9px; }
#urunler .chip-row .chip:hover { background: var(--primary); color: var(--surface); }

/* --------- Ürün kartı: yalnızca ince rötuşlar --------- */
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-strong);
}
.product-card:hover .product-media img { transform: scale(1.03); }
.product-media img { padding: 20px; }
.product-flags { top: 14px; left: 14px; }
.product-tools { top: 14px; right: 14px; }

@media (max-width: 860px) {
    .hero-metrics { display: none; }
}

@media (max-width: 767.98px) {
    /* Bu blok dosyada daha sonra geldiği için yukarıdaki mobil kuralın
       height değerini yeniden bildirmek gerekir; aksi halde 60px kazanır. */
    .hero-search .search-field { height: 54px; }
    .search-trust { justify-content: flex-start; gap: 8px 18px; }
    #urunler .chip-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    #urunler .chip-row::-webkit-scrollbar { display: none; }
    #urunler .chip-row .chip { flex: 0 0 auto; }
}

/* ============================ ÖDEME / CHECKOUT ============================
   Yalnızca ödeme sayfasına ait bileşenler. Renk paleti ve font aileleri
   değişmez; tipografi ölçeği bu sayfa kapsamında netleştirilir.
   Tüm değerler mevcut tasarım değişkenlerinden gelir (koyu tema uyumlu).
   ------------------------------------------------------------------------- */
.checkout-page { padding: 6px 0 clamp(40px, 5vw, 64px); }

.checkout-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 6px;
}
.checkout-subtitle {
    font-size: .95rem;
    color: var(--text-muted);
    margin: 0 0 26px;
    max-width: 60ch;
}

/* ----------------------------- Adım göstergesi -------------------------- */
.checkout-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}
.checkout-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-align: center;
    min-width: 0;
}
/* Adımlar arası bağlantı çizgisi */
.checkout-step::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: var(--border);
}
.checkout-step:first-child::before { display: none; }
.checkout-step.is-done::before,
.checkout-step.is-current::before { background: var(--success); }

.checkout-step-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 600;
}
.checkout-step-text {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 100%;
}
.checkout-step.is-done .checkout-step-dot {
    border-color: var(--success);
    background: var(--success);
    color: var(--surface);
}
.checkout-step.is-done .checkout-step-text { color: var(--text); font-weight: 500; }
.checkout-step.is-current .checkout-step-dot {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--surface);
    box-shadow: 0 0 0 4px var(--primary-050);
}
.checkout-step.is-current .checkout-step-text { color: var(--primary-text); }

/* -------------------------------- Kartlar ------------------------------- */
.checkout-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.checkout-card-head {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
}
.checkout-card-no {
    display: grid; place-items: center;
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--primary-050);
    color: var(--primary-text);
    font-family: var(--font-mono);
    font-size: .76rem;
    font-weight: 600;
}
.checkout-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0;
}
.checkout-card-body { padding: 22px; }

/* Alan tipografisi ve hizası */
.checkout-page .form-label-kk {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 7px;
}
.checkout-page .form-control-kk { font-size: .97rem; }
.checkout-page textarea.form-control-kk { min-height: 92px; }
.checkout-page .form-hint { font-size: .82rem; margin-top: 6px; }

/* ---------------------------- Ödeme seçenekleri ------------------------- */
.pay-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    opacity: .78;
}
.pay-option + .pay-option { margin-top: 10px; }
.pay-option-icon {
    display: grid; place-items: center;
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--primary-text);
    font-size: 1.02rem;
}
.pay-option-body { min-width: 0; flex: 1 1 auto; }
.pay-option-title { display: block; font-weight: 600; font-size: .95rem; }
.pay-option-desc { display: block; margin-top: 2px; font-size: .82rem; color: var(--text-muted); }
.pay-option-tag {
    flex-shrink: 0;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ------------------------------ Sipariş özeti --------------------------- */
.checkout-summary { position: sticky; top: calc(var(--header-height) + 16px); }
.checkout-summary .checkout-card-body { padding: 18px 22px 22px; }

.checkout-line {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}
.checkout-line:first-of-type { padding-top: 0; }
.checkout-thumb {
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    object-fit: contain;
    padding: 5px;
}
.checkout-line-name {
    display: block;
    font-size: .89rem;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.checkout-line-meta {
    display: block;
    margin-top: 3px;
    font-size: .8rem;
    color: var(--text-muted);
}
.checkout-line-total {
    font-size: .95rem;
    font-weight: 600;
    white-space: nowrap;
}

/* --------------------------------- Toplamlar ---------------------------- */
.checkout-totals { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.checkout-total-row {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font-size: .9rem;
}
.checkout-total-row span:first-child { color: var(--text-muted); }
.checkout-total-row span:last-child { font-weight: 500; }
.checkout-grand {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.checkout-grand-label { font-size: .95rem; font-weight: 600; }
.checkout-grand-value {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--primary-text);
}

/* ------------------------------- Ana buton ------------------------------ */
.checkout-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 20px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    letter-spacing: .01em;
    white-space: nowrap;
}
.checkout-submit i { margin-right: 2px; }

/* ------------------------------ Güven rozetleri ------------------------- */
.checkout-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.checkout-trust span {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem;
    color: var(--text-muted);
    min-width: 0;
}
.checkout-trust i { flex-shrink: 0; width: 14px; text-align: center; color: var(--success); }

@media (max-width: 991.98px) {
    .checkout-summary { position: static; margin-top: 4px; }
}
@media (max-width: 575.98px) {
    .checkout-steps { margin-bottom: 24px; }
    .checkout-step-text { font-size: .74rem; }
    .checkout-step-dot { width: 28px; height: 28px; }
    .checkout-step::before { top: 13px; }
    .checkout-card-body { padding: 18px; }
    .checkout-trust { grid-template-columns: 1fr; }
}

/* ============================== YASAL SAYFALAR ==============================
   Uzun metin sayfaları için okunabilirlik düzenlemesi. Yeni bir tasarım dili
   getirmez; mevcut kart, tipografi ve renk değişkenlerini kullanır.
   --------------------------------------------------------------------------- */
.legal-head { max-width: 900px; margin: 0 auto 22px; }
.legal-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 6px 0 8px;
}
.legal-meta { font-size: .86rem; color: var(--text-muted); margin: 0; }

.legal-doc {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 44px);
}
/* Uzun metin kartı imleçle yükselmemeli */
.legal-doc:hover {
    transform: none;
    box-shadow: var(--shadow-xs);
    border-color: var(--border);
}

.legal-doc > h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 30px 0 10px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.legal-doc > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.legal-doc p,
.legal-doc li { font-size: .95rem; line-height: 1.75; color: var(--text); }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 20px; }
.legal-doc li { margin-bottom: 7px; }
.legal-doc li::marker { color: var(--secondary-text); }
.legal-doc strong { font-weight: 600; }

/* Değiştirilecek alanlar gözle ayırt edilebilsin */
.legal-doc code {
    font-family: var(--font-mono);
    font-size: .86em;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--primary-050);
    color: var(--primary-text);
}

.legal-note {
    margin-top: 26px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    font-size: .86rem;
    color: var(--text-muted);
}

/* ============================ ÖDEME LOGOLARI ============================
   iyzico resmî logo paketinden gelen SVG bandı (iyzico + Visa + Mastercard +
   Troy + American Express). Renkli sürüm açık temada, beyaz sürüm koyu temada
   gösterilir. Yalnızca mevcut tasarım değişkenleri kullanılır; tema, renk
   paleti, font ve yerleşim sistemi DEĞİŞMEZ.
   ----------------------------------------------------------------------- */
.pay-logos { margin-top: 14px; }
.pay-logos-img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;          /* en-boy oranı korunur */
}
.pay-logos-img--dark { display: none; }

[data-theme="dark"] .pay-logos-img--light { display: none; }
[data-theme="dark"] .pay-logos-img--dark { display: block; }

/* Alt bilgi koyu zeminlidir; her iki temada da beyaz sürüm kullanılır. */
.footer-payments {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-payments .pay-logos-img--dark { display: block; max-width: 320px; }

@media (max-width: 575.98px) {
    .pay-logos-img { max-width: 100%; }
}
