/* =====================================================================
   LisansPro — Varsayılan tema
   Renkleri değiştirmek için sadece :root içindeki değişkenleri düzenleyin.
   ===================================================================== */

:root {
    --paper: #f3f5fa;
    --paper-2: #eef1f7;
    --surface: #ffffff;
    --ink: #14213d;
    --ink-2: #2a3654;
    --muted: #5b6782;
    --line: #dce2ee;
    --line-strong: #c5cee0;
    --primary: #2f5bff;
    --primary-ink: #1d3fd1;
    --primary-soft: #e8eeff;
    --brass: #ffc83d;
    --brass-ink: #f5b80f;
    --sale: #e5384f;
    --sale-soft: #fdecef;
    --ok: #12a06b;
    --ok-ink: #0b6b47;
    --ok-soft: #e3f6ee;
    --warn-soft: #fff6dc;
    --warn-ink: #6b5100;

    --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --container: 1240px;
    --gutter: 20px;
    --shadow-pop: 0 18px 40px -16px rgba(20, 33, 61, .28);

    /* Temaların ezebileceği yüzey değişkenleri */
    --font-display: var(--font);
    --on-primary: #ffffff;
    --night: #14213d;            /* koyu marka yüzeyi: üst bant, alt bilgi, anahtar plakası */
    --night-2: #2a3654;
    --on-brass: #14213d;         /* vurgu renginin üstündeki yazı */
    --field: #ffffff;            /* form alanı zemini */
    --tint: #f5f8ff;             /* vurgulu kutu zemini */
    --tint-line: #d6e0ff;
    --sale-ink: #b4233a;
    --danger-ink: #c62a41;
    --overlay: rgba(20, 33, 61, .45);
    --hero-bg: linear-gradient(135deg, #eaf0ff 0%, #f6f8ff 55%, #fff8e6 100%);
    --hero-line: #d6dffb;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--font); font-size: 16px; line-height: 1.55; font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0; font-family: var(--font-display); }
.brand-name, .hero-title, .spot-title, .price-box strong, .p-price strong { font-family: var(--font-display); }
p { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.site-main { flex: 1; padding-bottom: 24px; }
.icon { flex: none; }
.mono { font-family: var(--mono); font-size: .92em; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; border-radius: var(--r); }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-brass { background: var(--brass); color: var(--on-brass); }
.btn-brass:hover { background: var(--brass-ink); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; width: 100%; }
.round-btn {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.round-btn:hover { border-color: var(--ink); }
.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    background: var(--primary-soft); color: var(--primary-ink); font-size: 13px; font-weight: 600; text-decoration: none;
}
.chip-link {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 600;
    text-decoration: none; white-space: nowrap;
}
.chip-link:hover { border-color: var(--primary); color: var(--primary-ink); }
.chip-live { background: var(--ok-soft); border-color: #bfe8d6; color: var(--ok-ink); }
.chip-live:hover { border-color: var(--ok); color: var(--ok-ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 160, 107, .2); }
.badge-sale {
    position: absolute; top: 10px; right: 10px; z-index: 1; padding: 4px 9px; border-radius: 8px;
    background: var(--sale); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: -0.01em;
}
.badge-lg { top: 16px; right: 16px; font-size: 16px; padding: 6px 12px; }
.badge-out {
    position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
    background: var(--night); color: #fff; font-size: 12px; font-weight: 600;
}

/* ---------- Üst duyuru çubuğu ---------- */
.topbar { background: var(--night); color: #c4cde3; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-note { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-note .icon { color: var(--brass); }
.topbar-note strong { color: #fff; font-weight: 600; }
.topbar-note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a { color: #c4cde3; text-decoration: none; }
.topbar-links a:hover { color: #fff; }
.topbar .dropdown > summary { height: 30px; padding: 0 8px; color: #fff; gap: 5px; font-weight: 600; font-size: 12.5px; }
.topbar .dropdown > summary:hover, .topbar .dropdown[open] > summary { background: rgba(255,255,255,.08); }
.topbar .dropdown-panel { min-width: 170px; }

/* ---------- Üst bilgi ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-bar { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--night); color: var(--brass); display: grid; place-items: center; }
.brand-name { font-weight: 700; font-size: 21px; letter-spacing: -0.025em; }
.icon-btn.menu-toggle { display: none; }

.search { position: relative; flex: 1; max-width: 640px; }
.search input {
    width: 100%; height: 48px; padding: 0 92px 0 44px; border-radius: var(--r);
    border: 1.5px solid var(--line); background: var(--paper); font-size: 15px;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-btn { position: absolute; right: 6px; top: 6px; min-height: 36px; padding: 0 16px; border-radius: 9px; }
.search-results {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-pop); padding: 6px; max-height: 70vh; overflow: auto;
}
.sr-item {
    display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px;
    border-radius: var(--r-sm); color: var(--ink); text-decoration: none;
}
.sr-item:hover, .sr-item.is-active { background: var(--paper); }
.sr-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--paper-2); }
.sr-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.sr-cat { display: block; font-size: 12.5px; color: var(--muted); }
.sr-price { text-align: right; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.sr-price s { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.sr-all { display: block; padding: 10px; text-align: center; font-weight: 600; font-size: 14px; border-top: 1px solid var(--line); margin-top: 4px; }
.sr-empty { padding: 14px; color: var(--muted); font-size: 14px; text-align: center; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.action-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: var(--r);
    color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
}
.action-btn:hover, .dropdown[open] > .action-btn { background: var(--paper); }
.action-icon { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.action-btn:hover .action-icon { background: var(--surface); }
.action-text { display: flex; flex-direction: column; line-height: 1.2; }
.action-text small { color: var(--muted); font-size: 12px; }
.action-text strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.cart-count {
    position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700;
    display: grid; place-items: center; border: 2px solid var(--surface);
}
.icon-btn {
    position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none;
    border-radius: var(--r); color: var(--ink); text-decoration: none; cursor: pointer;
}
.icon-btn:hover { background: var(--paper); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.avatar-lg { width: 46px; height: 46px; font-size: 19px; }
.lang-code { font-family: var(--mono); font-size: 12px; font-weight: 600; }

/* Açılır menüler (<details>) */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; user-select: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown-panel {
    position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; z-index: 70;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; box-shadow: var(--shadow-pop);
}
.dropdown-panel a, .dropdown-panel .linklike {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm);
    color: var(--ink); text-decoration: none; font-size: 14px;
}
.dropdown-panel .icon { color: var(--muted); }
.dropdown-panel a:hover, .dropdown-panel .linklike:hover { background: var(--paper); }
.dropdown-panel a[aria-current] { color: var(--primary-ink); font-weight: 600; }
.dropdown-meta { padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dropdown-meta strong { color: var(--ink); }

/* Ana menü + mega panel */
.main-nav { border-top: 1px solid var(--line); }
.main-nav-inner { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav-link {
    display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 11px; border-radius: var(--r-sm);
    color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.nav-link .icon { color: var(--muted); }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { background: var(--paper); color: var(--ink); }
.nav-link.is-active { background: var(--primary-soft); color: var(--primary-ink); }
.nav-link.is-active .icon { color: var(--primary-ink); }
.nav-caret { transition: transform .15s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-extra { display: flex; gap: 8px; flex: none; }

.mega {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; z-index: 55;
    background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--shadow-pop); visibility: hidden; opacity: 0; transform: translateY(-4px);
    transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s;
}
.nav-item:hover > .mega, .nav-item:focus-within > .mega {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .14s ease .08s, transform .14s ease .08s, visibility 0s linear .08s;
}
.mega-inner { display: grid; grid-template-columns: 1fr 240px; gap: 28px; padding: 22px 24px; }
.mega-groups { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px 28px; align-content: start; }
.mega-groups.is-single ul { column-count: 2; column-gap: 28px; }
.mega-groups.is-single li { break-inside: avoid; }
.mega-heading {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 8px; margin-bottom: 4px;
    border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none;
}
.mega-heading:hover { color: var(--primary-ink); }
.mega-count { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--paper); padding: 2px 8px; border-radius: 999px; }
.mega-product {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    padding: 6px 8px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: 14px;
}
.mega-product:hover { background: var(--paper); color: var(--ink); }
.mega-thumb { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; line-height: 1.3; font-size: 13.5px; }
.mega-price { font-weight: 700; color: var(--ink); font-size: 13.5px; white-space: nowrap; }
.mega-more { display: inline-block; margin: 6px 8px 0; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.mega-deal {
    display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-lg);
    background: var(--night); color: #fff; text-decoration: none; align-self: start;
}
.mega-deal-label { display: inline-flex; align-items: center; gap: 6px; color: var(--brass); font-size: 13px; font-weight: 700; }
.mega-deal-media { position: relative; height: 150px; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mega-deal-media img { width: 100%; height: 100%; object-fit: cover; }
.mega-deal-name { font-weight: 700; line-height: 1.3; }
.mega-deal-price { display: flex; align-items: baseline; gap: 8px; }
.mega-deal-price s { color: #8e9ab8; font-size: 13px; }
.mega-deal-price strong { color: var(--brass); font-size: 20px; }
.mega-foot { border-top: 1px solid var(--line); padding: 12px 24px; text-align: right; }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }

/* Mobil çekmece menü */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-backdrop { position: absolute; inset: 0; background: var(--overlay); }
.drawer-panel {
    position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 360px); background: var(--surface);
    display: flex; flex-direction: column; overflow-y: auto; animation: drawer-in .2s ease;
}
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-account { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-account a:not(.btn) { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 600; text-decoration: none; }
.drawer-account .btn { flex: 1; }
.drawer-nav { padding: 8px; }
.drawer-link {
    display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: var(--r-sm);
    color: var(--ink); font-weight: 600; text-decoration: none; cursor: pointer; list-style: none;
}
.drawer-link .icon { color: var(--muted); }
.drawer-link::-webkit-details-marker { display: none; }
.drawer-link:hover { background: var(--paper); }
.acc-caret { margin-left: auto; transition: transform .15s; }
.drawer-acc[open] .acc-caret { transform: rotate(180deg); }
.drawer-sub { padding: 0 6px 10px 40px; }
.drawer-group { display: block; padding: 8px 4px 4px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.drawer-group span { font-weight: 500; }
.drawer-product { display: flex; justify-content: space-between; gap: 10px; padding: 7px 4px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.drawer-product strong { color: var(--ink); white-space: nowrap; }

/* ---------- Bildirimler ---------- */
.flash-stack { display: grid; gap: 8px; padding-top: 18px; }
.flash, .notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); font-size: 15px; border: 1px solid; }
.flash-success { background: var(--ok-soft); border-color: #b6e6d1; color: var(--ok-ink); }
.flash-error { background: var(--sale-soft); border-color: #f6c7d0; color: var(--sale-ink); }
.flash-warning, .flash-info, .notice-warn { background: var(--warn-soft); border-color: #f3dc97; color: var(--warn-ink); }
.notice { margin-bottom: 18px; }
.notice-row { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.notice-row > span { display: flex; gap: 10px; align-items: flex-start; }

.toast-stack { position: fixed; right: 16px; bottom: 16px; z-index: 95; display: grid; gap: 8px; width: min(92vw, 360px); }
.toast {
    display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r);
    background: var(--night); color: #fff; box-shadow: var(--shadow-pop); font-size: 14.5px; animation: toast-in .2s ease;
}
.toast .icon { color: #6be3b2; margin-top: 1px; }
.toast.is-error .icon { color: #ff8a9a; }
.toast a { color: var(--brass); font-weight: 700; white-space: nowrap; margin-left: auto; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Ana sayfa: üst bölüm ---------- */
.home-top { padding: 24px 0 8px; }
.home-top-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.home-top-grid.no-deal { grid-template-columns: minmax(0, 1fr); }

.spot {
    position: relative; border-radius: var(--r-xl); border: 1px solid var(--hero-line); overflow: hidden;
    background: var(--hero-bg); min-height: 380px;
}
.spot-slide { display: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; padding: 36px 40px 76px; height: 100%; }
.spot-slide.is-active { display: grid; animation: spot-in .35s ease; }
@keyframes spot-in { from { opacity: 0; } to { opacity: 1; } }
.spot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.spot-meta > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.spot-meta .icon { color: var(--primary); }
.spot-title { margin-top: 16px; font-size: clamp(28px, 3.3vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.spot-title a { color: var(--ink); text-decoration: none; }
.spot-text { margin-top: 12px; color: var(--ink-2); max-width: 46ch; }
.spot-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.price-box {
    display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border-radius: var(--r);
    background: var(--surface); border: 1.5px solid var(--primary);
}
.price-pct { color: var(--sale); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.price-stack { display: flex; flex-direction: column; line-height: 1.1; }
.price-stack s { color: var(--muted); font-size: 13px; }
.price-stack strong { font-size: 24px; letter-spacing: -0.02em; }
.spot-visual { position: relative; display: grid; place-items: center; }
.spot-visual > img { width: min(100%, 300px); aspect-ratio: 1; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 24px 50px -24px rgba(20, 33, 61, .5); }
.plate-mini {
    position: absolute; right: -6px; bottom: -20px; width: 250px; padding: 14px 16px; border-radius: var(--r);
    transform: rotate(-2deg);
}
.plate-mini .plate-label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #a9b4cf; }
.plate-mini .plate-label .icon { color: var(--brass); }
.plate-mini .plate-key { margin-top: 6px; font-size: 16px; }
.plate-mini .plate-foot { margin-top: 10px; font-size: 12px; }
.spot-controls { position: absolute; left: 40px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.spot-dots { display: flex; gap: 6px; }
.spot-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: #c5cee0; cursor: pointer; transition: width .2s, background-color .2s; }
.spot-dot.is-active { width: 28px; background: var(--primary); }
.spot-arrows { display: flex; gap: 8px; }

.deal-card {
    display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-xl);
    background: var(--surface); border: 1px solid var(--line);
}
.deal-title { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--sale); }
.deal-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.deal-media img { width: 100%; height: 100%; object-fit: cover; }
.deal-name { color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.3; }
.deal-name:hover { color: var(--primary-ink); }
.deal-feats { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.deal-feats li { display: flex; align-items: center; gap: 6px; }
.deal-feats .icon { color: var(--ok); }
.deal-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.deal-price s { color: var(--muted); font-size: 14px; }
.deal-price strong { font-size: 24px; letter-spacing: -0.02em; }

/* Ürün yoksa gösterilen tanıtım bölümü */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-title { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; max-width: 14ch; text-wrap: balance; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 52ch; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Lisans plakası: sitenin imza öğesi */
.plate {
    --notch: 11px;
    position: relative; color: #e7ecf8; background: var(--night);
    border-radius: var(--r-lg); padding: 24px 26px 20px;
    box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -30px rgba(20, 33, 61, .55);
}
.hero .plate { transform: rotate(-1.5deg); }
.plate-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.plate-status {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px;
    background: rgba(18, 160, 107, .16); color: #6be3b2; font-weight: 600;
}
.plate-no { font-family: var(--mono); color: #8e9ab8; }
.plate-product { margin-top: 22px; font-size: 14px; color: #a9b4cf; }
.plate-key {
    margin-top: 8px; font-family: var(--mono); font-weight: 600; color: var(--brass);
    font-size: clamp(16px, 2vw, 23px); letter-spacing: .04em; white-space: nowrap; overflow: hidden;
}
.plate-key .dash { color: #56627f; padding: 0 .08em; }
.plate-perf {
    position: relative; height: 1px; margin: 22px -26px 16px;
    background-image: linear-gradient(90deg, #3a4767 50%, transparent 50%); background-size: 10px 1px;
}
.plate-perf::before, .plate-perf::after {
    content: ""; position: absolute; top: calc(-1 * var(--notch)); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
    border-radius: 50%; background: var(--paper);
}
.plate-perf::before { left: calc(-1 * var(--notch)); }
.plate-perf::after { right: calc(-1 * var(--notch)); }
.plate-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: #a9b4cf; }
.plate-foot span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.plate-copy { padding: 5px 12px; border-radius: var(--r-sm); background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }

/* Slayt (admin panelden eklenirse) */
.slider { padding: 24px 0 8px; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-xl); scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { position: relative; scroll-snap-align: start; min-height: 260px; }
.slide img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; }
.slide-text { position: absolute; inset: auto 0 0 0; padding: 32px; color: #fff; background: linear-gradient(0deg, rgba(20,33,61,.85), rgba(20,33,61,0)); }
.slide-text h2 { font-size: clamp(24px, 3.5vw, 40px); }
.slide-text p { margin: 8px 0 16px; max-width: 60ch; opacity: .9; }

/* Güven şeridi */
.trust { padding: 16px 0 0; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.trust-row li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.trust-row li + li { border-left: 1px solid var(--line); }
.trust-row strong { display: block; font-size: 15px; }
.trust-row small { display: block; font-size: 13px; color: var(--muted); }
.trust-icon { width: 42px; height: 42px; border-radius: var(--r); background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; flex: none; }

/* ---------- Bölümler ---------- */
.section { padding: 48px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.section-title { font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.025em; }
.section-sub { color: var(--muted); margin-top: 4px; font-size: 15px; }
.section-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.rail-arrows { display: flex; align-items: center; gap: 8px; }
.rail-arrows .section-link { margin-right: 8px; }

/* Kategori kartları */
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-card {
    --tile-bg: var(--primary-soft); --tile-fg: var(--primary-ink);
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s;
}
.cat-cards li:nth-child(6n+2) .cat-card { --tile-bg: #fff1e6; --tile-fg: #c2410c; }
.cat-cards li:nth-child(6n+3) .cat-card { --tile-bg: #f1ecff; --tile-fg: #6d28d9; }
.cat-cards li:nth-child(6n+4) .cat-card { --tile-bg: #e3f6ee; --tile-fg: #0f7a50; }
.cat-cards li:nth-child(6n+5) .cat-card { --tile-bg: #fdecef; --tile-fg: #be123c; }
.cat-cards li:nth-child(6n+6) .cat-card { --tile-bg: #e4f5fa; --tile-fg: #0e7490; }
.cat-card:hover { border-color: var(--tile-fg); }
.cat-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.cat-card-icon { width: 48px; height: 48px; border-radius: var(--r); background: var(--tile-bg); color: var(--tile-fg); display: grid; place-items: center; overflow: hidden; }
.cat-card-icon img { width: 32px; height: 32px; object-fit: contain; }
.cat-card-count { font-size: 12.5px; font-weight: 700; color: var(--tile-fg); background: var(--tile-bg); padding: 3px 9px; border-radius: 999px; }
.cat-card-name { font-weight: 700; font-size: 17px; }
.cat-card-sub { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card-cta { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 4px; color: var(--tile-fg); font-weight: 700; font-size: 14px; }

/* Ürün kartları */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 236px); gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
    position: relative; /* içerideki .sr-only gibi mutlak konumlu öğeler sayfayı yatayda genişletmesin */
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s; }
.p-card:hover { border-color: var(--line-strong); }
.p-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--paper-2); }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-placeholder { color: var(--line-strong); }
.p-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; flex: 1; }
.p-cat { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.p-name { font-size: 15.5px; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-name a { color: var(--ink); text-decoration: none; }
.p-name a:hover { color: var(--primary-ink); }
.p-feats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.p-feats li { display: inline-flex; align-items: center; gap: 4px; }
.p-feats .icon { color: var(--ok); }
.p-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; padding-top: 4px; }
.p-price s { width: 100%; color: var(--muted); font-size: 13px; }
.p-price strong { font-size: 21px; letter-spacing: -0.02em; }
.p-save { font-size: 12px; font-weight: 700; color: var(--ok-ink); background: var(--ok-soft); padding: 2px 7px; border-radius: 6px; }
.p-action { margin-top: 4px; }
.p-card.is-out .p-media img { opacity: .5; filter: grayscale(1); }
.p-card.is-out .p-price strong { color: var(--muted); }

/* Sekmeler */
.tab-list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab {
    display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap;
}
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--night); border-color: var(--night); color: #fff; }
.tab-more { text-align: center; margin-top: 20px; }

/* Adımlar: anahtar segmentleri gibi tirelerle bağlı */
.steps-section { padding-bottom: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 22px; left: 46px; right: calc(33.33% - 46px + 28px);
    height: 2px; background-image: linear-gradient(90deg, var(--line-strong) 60%, transparent 60%); background-size: 14px 2px;
}
.steps li { position: relative; }
.step-no {
    position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r);
    background: var(--night); color: var(--brass); font-family: var(--mono); font-weight: 600; font-size: 18px; margin-bottom: 16px;
}
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { color: var(--muted); margin-top: 6px; max-width: 34ch; }

/* ---------- Listeleme ---------- */
.breadcrumb { padding: 18px 0 6px; font-size: 13.5px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-ink); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.listing-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.listing-count { color: var(--muted); margin-top: 4px; }
.listing-intro { margin: -4px 0 18px; max-width: 75ch; font-size: 15.5px; }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
select, .sort-form select {
    height: 42px; padding: 0 36px 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface);
    appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6782' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; color: var(--ink); font-weight: 600; cursor: pointer;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.page-btn {
    min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--r-sm); display: inline-grid; place-items: center;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none;
}
a.page-btn:hover { border-color: var(--ink); }
.page-btn.is-current { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.page-gap { align-self: center; color: var(--muted); padding: 0 2px; }
.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    padding: 56px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
}
.empty-state h2, .empty-state h3 { font-size: 20px; }
.empty-state p { color: var(--muted); max-width: 46ch; margin-bottom: 8px; }
.empty-sm { padding: 36px 20px; border: 0; }
.empty-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--paper); color: var(--muted); display: grid; place-items: center; margin-bottom: 4px; }

/* ---------- Ürün detay ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 10px; align-items: start; }
.pd-main { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb { width: 72px; height: 72px; padding: 0; border-radius: var(--r); overflow: hidden; border: 2px solid transparent; background: var(--paper-2); cursor: pointer; }
.pd-thumb.is-active { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { margin-top: 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.pd-meta li { display: inline-flex; align-items: center; gap: 6px; }
.pd-meta .icon { color: var(--ok); }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.stock.is-low .stock-dot { background: #e58b0b; }
.stock.is-low { color: #a35f00; font-weight: 600; }
.stock.is-out .stock-dot { background: var(--sale); }
.stock.is-out { color: var(--sale); font-weight: 600; }
.pd-short { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; max-width: 60ch; }
.pd-buybox { margin-top: 22px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; }
.price-box-lg { border: 0; padding: 0; background: none; flex-wrap: wrap; }
.price-box-lg .price-pct { font-size: 34px; }
.price-box-lg .price-stack strong { font-size: 34px; }
.price-box-lg .price-stack s { font-size: 15px; }
.pd-form { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-add { flex: 1 1 180px; }
.pd-buy { flex: 1 1 120px; }
.pd-out { display: flex; gap: 10px; align-items: flex-start; color: var(--sale); font-weight: 600; }
.pd-delivery { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--paper); font-size: 14px; color: var(--ink-2); }
.pd-delivery strong { display: block; color: var(--ink); }
.pd-delivery-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); color: var(--primary); display: grid; place-items: center; flex: none; }
.pd-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.pd-trust li { display: inline-flex; align-items: center; gap: 6px; }
.pd-section { margin-top: 48px; }
.pd-section > h2 { font-size: 24px; margin-bottom: 14px; }
.pd-section .prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; }

.qty { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.qty input { width: 52px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.qty-btn { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.qty-btn:hover { background: var(--paper); }
.qty-sm { height: 40px; border-radius: var(--r-sm); }
.qty-sm input { width: 40px; font-size: 15px; }
.qty-sm .qty-btn { width: 32px; }

/* ---------- Sepet ---------- */
.page-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.025em; margin: 8px 0 20px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cart-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cart-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 110px auto; gap: 16px; align-items: center; padding: 16px; }
.cart-row + .cart-row { border-top: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 72px; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.cart-name:hover { color: var(--primary-ink); }
.cart-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.cart-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cart-notice { margin-top: 6px; font-size: 13px; color: #a35f00; font-weight: 600; }
.cart-total { text-align: right; font-size: 17px; }
.cart-remove { color: var(--muted); }
.cart-remove:hover { color: var(--sale); background: var(--sale-soft); }
.summary { position: sticky; top: 150px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.summary h2 { font-size: 19px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 600; }
.summary-total { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink) !important; font-size: 18px; }
.summary-total dd { font-weight: 700; font-size: 22px; }
.summary-notes { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.summary-notes li { display: flex; gap: 8px; align-items: flex-start; }
.summary-notes .icon { color: var(--ok); margin-top: 2px; }

/* ---------- Ödeme ---------- */
.muted { color: var(--muted); }
.d-block { display: block; }
.checkout .cart-grid { margin-bottom: 16px; }
.checkout-main { display: grid; gap: 0; }
.co-items { display: grid; gap: 2px; }
.co-items li, .order-item-head { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 8px 0; }
.order-item-head { grid-template-columns: 52px minmax(0, 1fr) auto; padding: 0; }
.co-thumb { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--paper-2); display: block; }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-name { font-weight: 600; line-height: 1.3; }
.co-name small { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 2px; }
.co-qty { color: var(--muted); font-size: 14px; }
.pay-methods { display: grid; gap: 10px; margin-bottom: 14px; }
.pay-methods-inline { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pay-method {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); cursor: pointer;
    border: 1.5px solid var(--line); background: var(--surface); transition: border-color .15s, background-color .15s;
}
.pay-method:hover { border-color: var(--line-strong); }
.pay-method:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.pay-method input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; margin: 0; }
.pay-method.is-disabled { opacity: .6; cursor: not-allowed; }
.pay-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; color: var(--primary-ink); flex: none; }
.pay-text strong { display: block; }
.pay-text small { display: block; color: var(--muted); font-size: 13px; }
.field textarea { height: auto; padding: 10px 14px; resize: vertical; min-height: 70px; }
.summary-discount { color: var(--ok-ink) !important; }
.coupon-box { max-width: calc(100% - 364px); }
.coupon-form, .coupon-applied { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.coupon-form label, .coupon-applied span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.coupon-form input { flex: 1; min-width: 160px; height: 42px; padding: 0 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line); text-transform: uppercase; }
.coupon-form input:focus { outline: none; border-color: var(--primary); }
.coupon-applied { border-style: solid; border-color: #b6e6d1; background: var(--ok-soft); color: var(--ok-ink); justify-content: space-between; }
.pay-frame { max-width: 760px; }
.pay-frame-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: -10px 0 16px; }
.pay-frame-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; }
.pay-frame-box iframe { width: 100%; min-height: 600px; border: 0; }
.result-page { max-width: 560px; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.result-page h1 { font-size: 28px; margin: 18px 0 10px; }
.result-page .lead { margin: 0 auto 22px; }
.result-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; }
.result-icon.is-ok { background: var(--ok-soft); color: var(--ok); }
.result-icon.is-wait { background: var(--primary-soft); color: var(--primary); }
.result-icon.is-fail { background: var(--sale-soft); color: var(--sale); }

/* Sipariş detayı */
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.order-head .page-title { margin-bottom: 2px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 6px; }
.panel-accent { border-color: var(--tint-line); background: var(--tint); }
.panel-head h2 .icon { vertical-align: -3px; }
.pay-again-actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.danger-link { color: var(--danger-ink); font-size: 14px; font-weight: 600; margin-top: 12px; width: auto; }
.order-items { display: grid; gap: 12px; }
.order-item { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); }
.item-status { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.item-delivered { background: var(--ok-soft); color: var(--ok-ink); }
.item-pending { background: var(--warn-soft); color: var(--warn-ink); }
.item-refunded { background: var(--sale-soft); color: var(--sale-ink); }
.key-list { display: grid; gap: 8px; margin-top: 12px; }
.key-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: var(--r); background: var(--night); }
.key-value { flex: 1; color: var(--brass); font-family: var(--mono); font-size: 15.5px; font-weight: 600; letter-spacing: .03em; word-break: break-all; }
.key-row .btn-ghost { background: rgba(255,255,255,.1); border-color: transparent; color: #fff; }
.key-row .btn-ghost:hover { background: rgba(255,255,255,.2); }
.delivery-box { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px; border-radius: var(--r); background: var(--paper); }
.delivery-box pre { flex: 1; margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 14px; }
.download-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.item-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; }
.order-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.kv { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.kv-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 17px; }
.help-panel { display: flex; gap: 14px; align-items: flex-start; }
.help-panel h2 { font-size: 17px; margin-bottom: 4px; }
.help-panel .btn { margin-top: 10px; }

/* Bakiye yükleme */
.quick-amounts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick-amounts .chip-link { height: 32px; font-size: 13.5px; }
.bank-list { display: grid; gap: 10px; margin: 14px 0 22px; }
.bank-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.bank-card > div { flex: 1; min-width: 0; }
.bank-card small { display: block; color: var(--muted); font-size: 13px; }
.bank-logo { width: 44px; height: 44px; object-fit: contain; }
.iban { display: block; margin-top: 4px; font-family: var(--mono); font-size: 14.5px; font-weight: 600; word-break: break-all; }
.sub-title { font-size: 16px; margin: 6px 0 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form-grid .field-wide { grid-column: 1 / -1; }
.field select { width: 100%; height: 48px; }
.status-dep-pending { background: var(--warn-soft); color: var(--warn-ink); }
.status-dep-approved { background: var(--ok-soft); color: var(--ok-ink); }
.status-dep-rejected { background: var(--sale-soft); color: var(--sale-ink); }
.balance-hero .btn-brass { flex: none; }

/* ---------- Formlar ve üyelik ---------- */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="number"],
.field input[type="url"], .field input[type="date"], .field input[type="datetime-local"], .field textarea {
    width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--field); font-size: 15.5px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.field textarea { height: auto; min-height: 70px; padding: 11px 14px; line-height: 1.55; resize: vertical; }
.field.has-error input { border-color: var(--sale); }
.field-error { margin-top: 6px; font-size: 13.5px; color: var(--danger-ink); font-weight: 500; }
.field-hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px !important; }
.pw-toggle { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: var(--r-sm); display: grid; place-items: center; }
.pw-toggle:hover { color: var(--ink); background: var(--paper); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-narrow { max-width: 480px; }

.auth-page { padding-top: 32px; padding-bottom: 32px; }
.auth-card {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); max-width: 1000px; margin: 0 auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.auth-card-single { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
.auth-main { padding: 40px 44px; }
.auth-main h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.auth-sub { color: var(--muted); margin: 8px 0 26px; }
.auth-icon { width: 52px; height: 52px; border-radius: var(--r); background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; margin-bottom: 18px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -2px 0 20px; font-size: 14.5px; }
.auth-row a { font-weight: 600; text-decoration: none; }
.auth-switch { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15px; }
.auth-switch a { font-weight: 700; text-decoration: none; }
.auth-aside { background: var(--night); color: #dfe5f3; padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.plate-flat { background: #1e2d50; box-shadow: none; }
.plate-flat .plate-key { font-size: 20px; }
.auth-benefits { display: grid; gap: 16px; }
.auth-benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.auth-benefits .icon { color: var(--brass); margin-top: 2px; }

/* ---------- Hesabım ---------- */
.account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 24px; }
.account-side { position: sticky; top: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; }
.account-user { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-user strong { display: block; line-height: 1.25; }
.account-user small { display: block; color: var(--muted); font-size: 12.5px; word-break: break-all; }
.account-nav a, .account-nav .linklike {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm);
    color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.account-nav .icon { color: var(--muted); }
.account-nav a:hover, .account-nav .linklike:hover { background: var(--paper); color: var(--ink); }
.account-nav a[aria-current] { background: var(--primary-soft); color: var(--primary-ink); }
.account-nav a[aria-current] .icon { color: var(--primary-ink); }
.account-main .page-title { margin-top: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.stat small { display: block; color: var(--muted); font-size: 13px; }
.stat strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.stat-icon { width: 42px; height: 42px; border-radius: var(--r); background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; flex: none; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { font-size: 18px; }
.table-wrap { overflow-x: auto; position: relative; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table .pos { color: var(--ok-ink); font-weight: 700; }
.table .neg { color: var(--danger-ink); font-weight: 700; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.status-pending { background: var(--warn-soft); color: var(--warn-ink); }
.status-processing { background: var(--primary-soft); color: var(--primary-ink); }
.status-completed { background: var(--ok-soft); color: var(--ok-ink); }
.status-cancelled, .status-refunded { background: var(--sale-soft); color: var(--sale-ink); }
.balance-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-lg); background: var(--night); color: #c4cde3; margin-bottom: 20px; }
.balance-hero small { display: block; font-size: 14px; }
.balance-hero strong { display: block; font-size: 34px; color: var(--brass); letter-spacing: -0.03em; }
.balance-hero p { max-width: 40ch; font-size: 14.5px; }

/* ---------- Kurumsal sayfa ---------- */
.page-article { padding-top: 40px; padding-bottom: 56px; max-width: 800px; }
.page-article h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin-bottom: 24px; letter-spacing: -0.03em; }
.prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 22px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 18px; margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }

/* ---------- Hata sayfaları ---------- */
.error-page { padding: 80px var(--gutter) 96px; text-align: center; max-width: 640px; }
.error-code { display: inline-flex; gap: 8px; margin-bottom: 28px; }
.error-code span { width: 64px; height: 76px; display: grid; place-items: center; border-radius: var(--r); background: var(--night); color: var(--brass); font-family: var(--mono); font-weight: 600; font-size: 40px; }
.error-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.error-page .lead { margin: 14px auto 28px; }
.minimal-header { display: flex; justify-content: center; padding: 32px 0 0; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--night); color: #b8c2db; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: var(--brass); color: var(--on-brass); }
.footer-brand p { margin-top: 14px; max-width: 38ch; font-size: 14px; }
.footer-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 9px; font-size: 14px; }
.site-footer a { color: #b8c2db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--brass); }
.social { display: flex !important; flex-wrap: wrap; gap: 8px 16px !important; margin-top: 18px; }
.pay-list li { color: #dfe5f3; }
.footer-bottom { border-top: 1px solid #2a3654; padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: #8e9ab8; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1140px) {
    .nav-extra { display: none; }
    .mega-inner { grid-template-columns: 1fr 220px; }
}
@media (max-width: 1024px) {
    .hide-md { display: none !important; }
    .home-top-grid { grid-template-columns: minmax(0, 1fr); }
    .deal-card { display: grid; grid-template-columns: 140px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 18px; }
    .deal-title { grid-column: 1 / -1; }
    .deal-media { grid-row: 2 / 5; }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cart-grid { grid-template-columns: minmax(0, 1fr); }
    .summary { position: static; }
    .coupon-box { max-width: none; }
    .order-bottom { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
    .icon-btn.menu-toggle { display: grid; margin-left: -8px; }
    .main-nav { display: none; }
    .header-bar { flex-wrap: wrap; min-height: 0; gap: 10px 12px; padding-top: 10px; padding-bottom: 12px; }
    .brand-name { font-size: 19px; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .spot-slide { grid-template-columns: minmax(0, 1fr); padding: 28px 24px 72px; }
    .spot-visual { display: none; }
    .spot-controls { left: 24px; }
    .spot { min-height: 0; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .hero .plate { transform: none; }
    .trust-row { grid-template-columns: repeat(2, 1fr); }
    .trust-row li:nth-child(3) { border-left: 0; }
    .trust-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .steps::before { display: none; }
    .pd { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .pd-gallery { max-width: 520px; }
    .auth-card { grid-template-columns: minmax(0, 1fr); }
    .auth-aside { display: none; }
    .account { grid-template-columns: minmax(0, 1fr); }
    .account-side { position: static; }
    .account-nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
    .account-nav a, .account-nav .linklike { white-space: nowrap; width: auto; }
    .account-nav form { flex: none; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .hide-sm { display: none !important; }
    .topbar-links { gap: 10px; }
    .header-actions { gap: 0; }
    .action-btn { padding: 0; }
    .search input { padding-right: 16px; }
    .search-btn { display: none; }
    .spot-title { font-size: 28px; }
    .price-pct { font-size: 22px; }
    .price-stack strong { font-size: 21px; }
    .deal-card { grid-template-columns: 110px 1fr; }
    .trust-row { grid-template-columns: minmax(0, 1fr); }
    .trust-row li + li { border-left: 0; border-top: 1px solid var(--line); }
    .section { padding-top: 36px; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
    .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rail { grid-auto-columns: 74%; gap: 10px; }
    .p-body { padding: 12px; }
    .p-name { font-size: 14.5px; }
    .p-price strong { font-size: 18px; }
    .p-card .btn { padding: 0 10px; font-size: 14px; }
    .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cat-card { padding: 14px; }
    .cart-row { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: 10px 12px; }
    .cart-thumb { grid-area: thumb; width: 60px; height: 60px; align-self: start; }
    .cart-info { grid-area: info; }
    .cart-row > form.qty { grid-area: qty; justify-self: start; }
    .cart-total { grid-area: total; }
    .cart-row > form:last-child { grid-area: remove; }
    .auth-main { padding: 28px 22px; }
    .field-pair, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .co-items li { grid-template-columns: 44px minmax(0, 1fr) auto; }
    .co-items .co-qty { display: none; }
    .co-thumb { width: 44px; height: 44px; }
    .bank-card { flex-wrap: wrap; }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .stat { padding: 12px; }
    .stat-icon { display: none; }
    .panel { padding: 16px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .error-code span { width: 52px; height: 62px; font-size: 32px; }
    .plate { padding: 20px 18px 16px; }
    .plate-perf { margin-left: -18px; margin-right: -18px; }
    .plate-key { font-size: 13.5px; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Destek: merkez sayfası, talepler, canlı destek penceresi
   ===================================================================== */
.live-dot.is-off { background: #9aa5bd; box-shadow: 0 0 0 3px rgba(154, 165, 189, .25); }
.presence { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.presence.is-online { color: var(--ok-ink); border-color: #bfe8d6; background: var(--ok-soft); }
.presence-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa5bd; }
.presence.is-online .presence-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 160, 107, .2); }

.support-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 8px 0 24px; }
.support-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 8px; }
.support-hero p { color: var(--muted); font-size: 16.5px; max-width: 60ch; }
.support-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.support-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.support-card h2 { font-size: 19px; }
.support-card p { color: var(--muted); font-size: 15px; flex: 1; }
.support-card .btn { margin-top: 6px; }
.support-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); }
.support-card-chat { background: var(--night); border-color: var(--night); color: #fff; }
.support-card-chat p { color: #c4cde3; }
.support-card-chat .support-icon { background: var(--brass); color: var(--on-brass); }
.support-card-chat .btn-primary { background: #fff; color: #14213d; border-color: #fff; }
.support-card-chat .btn-primary:hover { background: var(--brass); border-color: var(--brass); }
.support-lower { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 48px; }
.faq h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; color: var(--muted); transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 0 18px; color: var(--ink-2); max-width: 70ch; line-height: 1.65; }
.contact-panel h2 { font-size: 17px; margin-bottom: 12px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-list .icon { color: var(--primary-ink); flex: none; }

/* Destek talepleri */
.status-t-open { background: var(--warn-soft); color: var(--warn-ink); }
.status-t-answered { background: var(--ok-soft); color: var(--ok-ink); }
.status-t-customer_reply { background: var(--primary-soft); color: var(--primary-ink); }
.status-t-closed { background: var(--paper-2); color: var(--muted); }
.ticket-link { font-weight: 600; color: var(--ink); }
.ticket-title { font-size: clamp(22px, 2.6vw, 30px); overflow-wrap: anywhere; }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 14px; }
.ticket-meta a { font-weight: 600; }
ol.thread { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.thread-msg { padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.thread-msg.is-staff { background: var(--tint); border-color: var(--tint-line); box-shadow: inset 3px 0 0 var(--primary); }
.thread-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14.5px; }
.thread-head .avatar { width: 30px; height: 30px; font-size: 13px; }
.thread-msg.is-staff .avatar { background: var(--night); color: var(--brass); }
.thread-head time { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.thread-body { line-height: 1.65; overflow-wrap: anywhere; }
.thread-file { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.thread-file:hover { border-color: var(--primary); }
.panel-head .linklike { width: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.panel-head .linklike:hover { color: var(--ok-ink); }
.notice-line { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn-ink); font-size: 14px; font-weight: 500; }
.reply-actions { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.reply-actions .field { margin-bottom: 0; }
.form-actions { display: flex; justify-content: flex-end; }
.form-grid .check { margin-bottom: 16px; }
.file-input { font-size: 14px; color: var(--muted); max-width: 100%; }
.file-input::file-selector-button {
    margin-right: 12px; height: 38px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}
.file-input::file-selector-button:hover { border-color: var(--ink); }

/* Canlı destek penceresi */
body:has(.chat) .toast-stack { bottom: 88px; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 90; }
.chat-launcher {
    position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border: 0; border-radius: 999px;
    background: var(--night); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: var(--shadow-pop);
}
.chat-launcher:hover { background: var(--night-2); }
.chat-launcher-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--brass); color: var(--on-brass); display: grid; place-items: center; }
.chat-launcher .chat-presence { position: absolute; left: 36px; top: 8px; border: 2px solid var(--night); }
.chat-presence { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #9aa5bd; flex: none; }
.chat-presence.is-online { background: #2bd38d; }
.chat-badge { position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.chat.is-open .chat-launcher { display: none; }

.chat-panel {
    position: fixed; right: 20px; bottom: 20px; width: 380px; height: min(620px, calc(100vh - 40px)); display: flex; flex-direction: column;
    background: var(--surface); border-radius: var(--r-xl); box-shadow: 0 24px 60px -18px var(--overlay), 0 0 0 1px rgba(20, 33, 61, .06); overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--night); color: #fff; }
.chat-head-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brass); color: var(--on-brass); display: grid; place-items: center; flex: none; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head h2 { font-size: 16.5px; }
.chat-head p { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; line-height: 1.4; color: #c4cde3; }
.chat-head p .chat-presence { width: 8px; height: 8px; margin-top: 5px; }
.chat-end { border: 0; background: none; padding: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chat-end:hover { color: var(--sale-ink); }
.chat-x { width: 36px; height: 36px; border: 0; background: none; color: #fff; border-radius: 10px; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-x:hover { background: rgba(255,255,255,.1); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--paper); overscroll-behavior: contain; }
.chat-log { display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 86%; }
.chat-msg.is-visitor { align-self: flex-end; align-items: flex-end; }
.chat-msg.is-system { align-self: center; max-width: 100%; }
.chat-bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.is-visitor .chat-bubble { background: var(--primary); border-color: var(--primary); color: var(--on-primary); border-radius: 16px 16px 4px 16px; }
.chat-msg.is-visitor .chat-bubble a { color: var(--on-primary); }
.chat-meta { margin-top: 3px; font-size: 11.5px; color: var(--muted); padding: 0 4px; }
.chat-system { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 12.5px; text-align: center; }
.chat-system.is-error { align-self: center; background: var(--sale-soft); color: var(--sale-ink); }
.chat-start { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.chat-field { margin-bottom: 12px; }
.chat-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.chat-field input, .chat-field textarea { width: 100%; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--field); font-size: 14.5px; resize: none; }
.chat-field input:focus, .chat-field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 3px var(--primary-soft); }
.chat-field small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.chat-field.has-error input, .chat-field.has-error textarea { border-color: var(--sale); }
.chat-error { margin: -2px 0 10px; font-size: 13px; color: var(--danger-ink); font-weight: 500; }
.chat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chat-ended { display: flex; justify-content: center; margin-top: 14px; }
.chat-ended[hidden], .chat-start[hidden], .chat-compose[hidden], .chat-end[hidden] { display: none; }
.chat-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 10px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-compose textarea { flex: 1; min-height: 40px; max-height: 120px; padding: 9px 0; border: 0; resize: none; font-size: 15px; line-height: 1.45; background: none; }
.chat-compose textarea:focus { outline: none; }
.chat-send { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-send:hover { background: var(--primary-ink); }
.chat-foot { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 9px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-foot:has(.chat-end:not([hidden])) { justify-content: space-between; }
.chat-foot a { font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; text-align: right; }
.chat-foot a:hover { color: var(--primary-ink); }
.chat-foot:not(:has(a, .chat-end:not([hidden]))) { display: none; }

@media (max-width: 960px) {
    .support-options { grid-template-columns: minmax(0, 1fr); }
    .support-lower { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .support-hero { flex-direction: column; align-items: flex-start; }
    .chat { right: 14px; bottom: 14px; }
    .chat-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; }
    .chat-launcher-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .chat-launcher-icon { width: 44px; height: 44px; }
    .chat-launcher .chat-presence { left: auto; right: 6px; top: 6px; }
    .chat-panel { inset: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; }
    .thread-msg { padding: 14px; }
    .reply-actions .btn { width: 100%; }
    body:has(.chat) .toast-stack { bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) {
    .faq-item summary .icon { transition: none; }
}

/* Yönetici tema önizleme şeridi */
.theme-preview-bar { position: sticky; top: 0; z-index: 120; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; background: #ffc83d; color: #14213d; font-size: 13.5px; }
.theme-preview-bar div { display: flex; align-items: center; gap: 8px; }
.theme-preview-bar a, .theme-preview-bar button { height: 30px; padding: 0 12px; border-radius: 6px; border: 0; background: #14213d; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.theme-preview-bar .is-ghost { background: transparent; color: #14213d; border: 1px solid rgba(20, 33, 61, .35); }
.license-bar { position: relative; z-index: 121; padding: 8px 16px; background: #d6324a; color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; }
.license-bar a { color: #fff; text-decoration: underline; margin-left: 6px; }
/* Demo sitesi şeridi (config.php → demo.enabled) */
.demo-bar { position: relative; z-index: 121; background: #161a2b; color: #dfe4f2; font-size: 13px; line-height: 1.45; }
.demo-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-block: 8px; }
.demo-bar-text { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; }
.demo-bar-text svg { flex: none; color: #ffd24a; }
.demo-cred { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.demo-cred a { color: #ffd24a; font-weight: 700; text-decoration: none; }
.demo-cred a:hover { text-decoration: underline; }
.demo-cred code { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 12.5px; user-select: all; }
.demo-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; background: var(--tint, #eef2ff); color: var(--ink, #14213d); font-size: 14px; }
.demo-hint svg { flex: none; color: var(--primary); }
@media (max-width: 640px) { .demo-bar { font-size: 12.5px; } .demo-bar-text { margin-right: 0; } }
