/* Kolektif Garaj - vitrin stilleri
   Tasarim dili: otopark/garaj estetigi. Asfalt koyusu, beton acigi ve uyari sarisi;
   kosegen "tehlike seridi" ve cadirin yuzeyli (faceted) formu tekrar eden motiflerdir. */

:root {
    --ink: #1b1f24;
    --asphalt: #262b31;
    --asphalt-2: #32383f;
    --steel: #5b6470;
    --mute: #8a919b;
    --line: #dfe2e6;
    --paper: #f4f5f7;
    --concrete: #e9ebee;
    --card: #ffffff;
    --hazard: #cf431b;
    --hazard-dark: #aa3716;
    --hazard-light: #d86544;
    /* Vurgu rengi uzerindeki yazi rengi; tema degisince /tema.css icinde yeniden hesaplanir. */
    --on-hazard: #ffffff;
    --blue: #1f5a96;
    --ok: #1d7a46;
    --ok-bg: #e6f4ec;
    --danger: #b3261e;
    --danger-bg: #fbeae8;
    --info-bg: #eaf0fd;
    --radius: 8px;
    --wrap: 1180px;
    --font-display: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --stripes: linear-gradient(90deg, var(--hazard), var(--hazard-dark));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-stretch: 85%;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.01em;
    margin: 0 0 0.5em;
    text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--hazard); color: var(--on-hazard); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

/* --- Serit ve ust bilgi --- */
.hazard-bar { height: 4px; background: var(--stripes); }
.site-header { background: #fff; color: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(27, 31, 36, 0.06); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; flex-shrink: 0; }
.logo img { display: block; height: 64px; width: auto; max-width: 100%; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav button { color: var(--ink); text-decoration: none; padding: 9px 13px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; background: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { background: var(--concrete); }
.nav form { margin: 0; }
.nav .cart-link { background: var(--hazard); color: var(--on-hazard); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.nav .cart-link:hover { background: #ffc91f; }
.cart-count { background: var(--ink); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; font-size: 0.78rem; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 8px 12px; font-size: 0.9rem; font-weight: 600; cursor: pointer; }

/* --- Dugmeler --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-stretch: 88%; font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 13px 24px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: #fff; cursor: pointer; transition: transform 0.12s ease, background 0.12s ease; }
.btn:hover { transform: translateY(-1px); background: var(--asphalt-2); }
.btn-hazard { background: var(--hazard); border-color: var(--hazard); color: var(--on-hazard); }
.btn-hazard:hover { background: var(--hazard-dark); border-color: var(--hazard-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--concrete); }
.btn-light { background: transparent; border-color: #fff; color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, 0.12); }
.hero .btn-light { border-color: var(--ink); color: var(--ink); }
.hero .btn-light:hover { background: var(--concrete); }
.nav .cart-link:hover { background: var(--hazard-dark); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--steel); text-decoration: underline; cursor: pointer; font: inherit; }
.link-btn:hover { color: var(--danger); }

/* --- Bildirimler --- */
.flashes { padding-top: 18px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 10px; border-left: 5px solid; font-size: 0.95rem; }
.flash-success { background: var(--ok-bg); border-color: var(--ok); }
.flash-error { background: var(--danger-bg); border-color: var(--danger); }
.flash-info { background: var(--info-bg); border-color: var(--blue); }

/* --- Hero --- */
.hero { background-color: #fff; background-image: linear-gradient(rgba(27, 31, 36, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 31, 36, 0.04) 1px, transparent 1px); background-size: 56px 56px; color: var(--ink); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-stretch: 88%; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; color: var(--hazard); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--stripes); }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--hazard); }
.hero p.lead { font-size: 1.12rem; color: var(--steel); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; filter: drop-shadow(0 22px 26px rgba(27, 31, 36, 0.2)); }
.bay-label { position: absolute; top: 4%; right: 2%; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--on-hazard); background: var(--hazard); padding: 4px 12px; border-radius: 3px; }
.hero-edge { height: 4px; background: var(--stripes); }

/* --- Bolumler --- */
.section { padding: 64px 0; }
.section-alt { background: var(--concrete); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head p { color: var(--steel); margin: 0; max-width: 40em; }
.section-dark .section-head p { color: #b8bec6; }
.section-head h2 { margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 5px solid var(--hazard); }
.feature .num { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--mute); }
.feature h3 { margin: 6px 0 8px; }
.feature p { margin: 0; color: var(--steel); font-size: 0.95rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; counter-reset: step; }
.step { border-left: 3px solid var(--hazard); padding: 4px 0 4px 20px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--hazard-light); line-height: 1; display: block; margin-bottom: 8px; }
.step p { color: #b8bec6; margin: 0; }

.cta-band { background: var(--hazard); color: var(--on-hazard); padding: 44px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 6px 0 0; }

/* --- Urun kartlari --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(21, 23, 26, 0.12); }
.card-media { background: var(--concrete); aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.badge-sale { background: var(--hazard); color: var(--on-hazard); }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.card-body h2, .card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body p { margin: 0; color: var(--steel); font-size: 0.92rem; flex: 1; }
.price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.price del { font-size: 0.95rem; color: var(--mute); font-weight: 400; margin-right: 8px; }
.card .price del { display: block; margin: 0 0 2px; line-height: 1.1; }
.card-foot { align-items: flex-end; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.card-foot span.more { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid var(--hazard); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 0.92rem; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 56px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--steel); }

/* --- Sayfa basligi --- */
.page-head { background: var(--asphalt); color: #fff; padding: 34px 0; }
.page-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0; }
.page-head p { color: #c3c8cf; margin: 8px 0 0; }
.crumbs { font-size: 0.85rem; color: #aab0b8; margin-bottom: 10px; }
.crumbs a { color: #aab0b8; }

/* --- Urun sayfasi --- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 44px 20px 64px; align-items: start; }
.gallery-main { background: var(--concrete); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: var(--radius); background: var(--concrete); width: 78px; height: 60px; overflow: hidden; cursor: pointer; }
.thumbs button.active { border-color: var(--hazard-dark); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.product-info .price { font-size: 2.1rem; margin: 10px 0 4px; }
.vat-note { color: var(--mute); font-size: 0.85rem; margin-bottom: 16px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; }
.stock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.stock.out::before { background: var(--danger); }
.stock.low::before { background: var(--hazard-dark); }
.buy { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-bottom: 24px; }
.qty { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.qty button { width: 42px; border: 0; background: var(--concrete); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--line); }
.qty input { width: 56px; border: 0; text-align: center; font-size: 1rem; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.assure { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.assure li { padding-left: 26px; position: relative; font-size: 0.95rem; }
.assure li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--hazard); }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.95rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--steel); font-weight: 600; background: var(--concrete); }
.prose { max-width: 46em; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }

/* --- Formlar --- */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field .hint { font-size: 0.82rem; color: var(--mute); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; padding: 11px 13px; border: 1.5px solid #c9c4b8; border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink); }
.input:focus { border-color: var(--ink); outline: 3px solid rgba(245, 183, 0, 0.45); outline-offset: 0; }
textarea.input { min-height: 110px; resize: vertical; }
.field-error { color: var(--danger); font-size: 0.85rem; margin: 5px 0 0; font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 10px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--hazard); display: inline-block; }
.auth-card { max-width: 460px; margin: 48px auto 72px; }
.auth-card .panel { padding: 30px; }
.auth-links { text-align: center; font-size: 0.92rem; color: var(--steel); }
.radio-card { display: flex; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; }
.radio-card input { margin-top: 4px; accent-color: var(--ink); }
.radio-card small { color: var(--steel); display: block; }

/* --- Sepet / odeme --- */
.layout-2 { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 36px 20px 64px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb { background: var(--concrete); border-radius: var(--radius); aspect-ratio: 4 / 3; overflow: hidden; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { font-size: 1rem; margin: 0 0 4px; }
.cart-line h3 a { text-decoration: none; }
.cart-line .unit { color: var(--steel); font-size: 0.88rem; }
.cart-line .line-total { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; text-align: right; }
.cart-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.cart-actions form { margin: 0; display: flex; gap: 8px; align-items: center; }
.summary { position: sticky; top: 92px; }
.summary dl { margin: 0; }
.summary .line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.95rem; }
.summary .line dt { color: var(--steel); }
.summary .line dd { margin: 0; font-weight: 600; }
.summary .line.discount dd { color: var(--ok); }
.summary .total { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; font-family: var(--font-display); font-size: 1.4rem; }
.summary .total dt { color: var(--ink); }
.summary .note { font-size: 0.8rem; color: var(--mute); margin: 6px 0 16px; }
.coupon-form { display: flex; gap: 8px; margin-bottom: 16px; }
.coupon-form .input { text-transform: uppercase; }
.mini-items { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.mini-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; padding: 4px 0; }
.mini-items li span:first-child { color: var(--steel); }
.secure-note { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--steel); margin-top: 14px; }
.secure-note svg { width: 18px; height: 18px; flex: none; }
.pay-frame { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-height: 420px; }
.pay-frame iframe { width: 100%; border: 0; min-height: 600px; }

/* --- Durum etiketleri / tablolar --- */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: var(--concrete); }
.tag-paid, .tag-delivered, .tag-processing { background: var(--ok-bg); color: var(--ok); }
.tag-pending { background: #fff4cf; color: #7a5a00; }
.tag-failed, .tag-cancelled, .tag-review { background: var(--danger-bg); color: var(--danger); }
.tag-shipped, .tag-preparing { background: var(--info-bg); color: var(--blue); }
.tag-refunded, .tag-partially_refunded { background: #ece8f7; color: #4a3a8a; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.table th { text-align: left; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); padding: 10px 12px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table .num { text-align: right; white-space: nowrap; }
.status-box { border-left: 6px solid var(--hazard); background: var(--card); padding: 20px 22px; border-radius: var(--radius); margin-bottom: 20px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-box.ok { border-left-color: var(--ok); }
.status-box.bad { border-left-color: var(--danger); }
.status-box h2 { font-size: 1.3rem; margin-bottom: 6px; }
.status-box p { margin: 0 0 12px; color: var(--steel); }
.status-box p:last-child { margin-bottom: 0; }
.spinner { width: 18px; height: 18px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; display: inline-block; vertical-align: -3px; margin-right: 8px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: 0.93rem; margin: 0; }
.kv dt { color: var(--steel); }
.kv dd { margin: 0; }

/* --- Hesap --- */
.account { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding: 36px 20px 64px; align-items: start; }
.side-nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.side-nav a, .side-nav button { display: block; width: 100%; text-align: left; padding: 10px 14px; border-radius: 4px; text-decoration: none; font-size: 0.95rem; background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--ink); }
.side-nav a:hover, .side-nav button:hover { background: var(--concrete); }
.side-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.side-nav form { margin: 0; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.address-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: 0.93rem; }
.address-card h3 { font-size: 1rem; margin-bottom: 8px; }
.address-card .actions { display: flex; gap: 14px; margin-top: 12px; align-items: center; }
.address-card form { margin: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar h2 { margin: 0; font-size: 1.3rem; }

/* --- Taslak uyarisi --- */
.draft-note { background: #fff4cf; border: 1px dashed #b98a00; padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 24px; }

/* --- Alt bilgi --- */
.site-footer { background: var(--ink); color: #c3c8cf; margin-top: auto; font-size: 0.92rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; padding: 48px 20px 32px; }
.site-footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.14em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c3c8cf; text-decoration: none; }
.site-footer a:hover { color: var(--hazard-light); }
.site-footer .logo, .admin-side .logo { background: #fff; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 14px; }
.site-footer .logo img { height: 50px; }
.site-footer .legal { border-top: 1px solid #2c3035; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: #8a919b; }

/* --- Sade yerlesim (hata, kurulum, yonetici girisi) --- */
body.bare { background: var(--asphalt); background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px; align-items: center; justify-content: center; padding: 24px; }
.bare-card { background: var(--card); border-radius: var(--radius); width: 100%; max-width: 480px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.bare-card .inner { padding: 30px; }
.bare-card .code { font-family: var(--font-display); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--hazard-dark); }
.bare-card h1 { font-size: 1.5rem; margin: 8px 0 10px; }
.bare-card .logo { margin-bottom: 20px; }
.bare-card .logo img { height: 72px; }
/* Kurulum sihirbazi (uygulama baslatilmadan gosterilir; tema.css yuklenmez) */
body.install-page { justify-content: flex-start; }
.bare-card.install { max-width: 640px; margin: 16px 0; }
.install h2 { font-size: 1.1rem; margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.install .hint { font-size: 0.85rem; color: var(--mute); margin: 0 0 14px; }
.install .field .hint { margin: 4px 0 0; }
.install .cols { display: grid; grid-template-columns: 2fr 1fr; gap: 0 14px; }
.install details { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 14px; }
.install summary { cursor: pointer; font-weight: 600; }
.install details[open] summary { margin-bottom: 14px; }
.install .check { margin: 18px 0; }
.install .req { list-style: none; padding: 0; margin: 0; }
.install .req li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); }
.install .req li::before { content: "\2713"; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.install .req li.bad::before { content: "\2715"; color: var(--danger); }
.install .req .hint { display: block; margin: 2px 0 0; }
.install .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 4px; }
.install .next { padding-left: 20px; margin: 0; }
.install .next li { margin-bottom: 10px; }
.install code { font-family: ui-monospace, Consolas, monospace; font-size: 0.88em; background: var(--concrete); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }
@media (max-width: 560px) {
    body.install-page { padding: 12px; }
    .bare-card.install .inner { padding: 22px 18px; }
    .install .cols { grid-template-columns: 1fr; }
}
.secret-box { font-family: ui-monospace, Consolas, monospace; background: var(--concrete); padding: 12px; border-radius: var(--radius); word-break: break-all; font-size: 0.95rem; letter-spacing: 0.06em; }

/* --- Duyarli --- */
@media (max-width: 960px) {
    .hero .wrap, .product, .layout-2, .account { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .site-footer .cols { grid-template-columns: 1fr 1fr; }
    .summary { position: static; }
    .hero .wrap { padding-top: 44px; padding-bottom: 52px; }
}
/* Menu acilir dugmeye donmeden hemen once: baglantilar tek satirda kalsin diye sikistirilir. */
@media (min-width: 721px) and (max-width: 860px) {
    .site-header .wrap { gap: 12px; }
    .logo img { height: 52px; }
    .nav { gap: 0; }
    .nav a, .nav button { padding: 9px; font-size: 0.9rem; }
}
@media (max-width: 720px) {
    .nav-toggle { display: inline-flex; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-top: 1px solid var(--line); box-shadow: 0 14px 24px rgba(27, 31, 36, 0.12); }
    .logo img { height: 46px; }
    .site-header .wrap { min-height: 64px; }
    .nav.open { display: flex; }
    .nav a, .nav button { width: 100%; text-align: left; padding: 12px; }
    .row-2, .row-3 { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .cart-line { grid-template-columns: 72px 1fr; }
    .cart-line .line-total { grid-column: 2; text-align: left; }
    .site-footer .cols { grid-template-columns: 1fr; }
    .kv { grid-template-columns: 1fr; }
    .kv dt { font-weight: 600; margin-top: 6px; }
    .section { padding: 44px 0; }
}
/* --- Ana sayfa slider'i --- */
.slider { position: relative; background: var(--ink); overflow: hidden; border-bottom: 4px solid var(--hazard); }
.slides { position: relative; height: clamp(380px, 46vw, 660px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease; z-index: 1; }
.slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--asphalt); }
.slide-shade { position: absolute; inset: 0; }
.slide-left.shade-soft .slide-shade { background: linear-gradient(90deg, rgba(15, 18, 22, 0.72) 0%, rgba(15, 18, 22, 0.42) 45%, rgba(15, 18, 22, 0) 80%); }
.slide-left.shade-strong .slide-shade { background: linear-gradient(90deg, rgba(15, 18, 22, 0.88) 0%, rgba(15, 18, 22, 0.66) 55%, rgba(15, 18, 22, 0.3) 100%); }
.slide-center.shade-soft .slide-shade { background: rgba(15, 18, 22, 0.42); }
.slide-center.shade-strong .slide-shade { background: rgba(15, 18, 22, 0.66); }
.slide-content { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; }
.slide-content .wrap { padding-left: 64px; padding-right: 64px; }
.slide-text { max-width: 620px; }
.slide-center .slide-text { margin: 0 auto; text-align: center; }
.slide-center .hero-actions { justify-content: center; }
.slide-center .eyebrow { justify-content: center; }
.slide-title { font-size: clamp(1.8rem, 4.2vw, 3.2rem); margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.slide-title em { font-style: normal; color: var(--hazard-light); }
.slide-text .eyebrow { color: #fff; }
.slide-text .lead { font-size: 1.1rem; color: #eceef1; margin-bottom: 24px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.slider[data-effect="slide"] .slide { opacity: 1; transform: translateX(100%); transition: none; }
.slider[data-effect="slide"] .slide.is-active { transform: none; visibility: visible; transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.slider[data-effect="slide"] .slide.is-leaving { transform: translateX(-100%); visibility: visible; transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); z-index: 0; }
.slider[data-effect="slide"] .slide.from-left { transform: translateX(-100%); }
.slider[data-effect="slide"] .slide.is-leaving.to-right { transform: translateX(100%); }
.slider-nav { display: none; }
.slider.is-ready .slider-nav { display: block; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 1.9rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
.slider-arrow:hover { background: #fff; }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
.slider-dots button[aria-current="true"] { background: var(--hazard); border-color: var(--hazard); width: 30px; border-radius: 999px; }
.slider-dots .slider-pause { width: auto; height: auto; border: 0; border-radius: 4px; color: #fff; font-size: 0.7rem; padding: 4px 6px; margin-left: 6px; background: rgba(15, 18, 22, 0.45); box-shadow: none; letter-spacing: 1px; }
@media (max-width: 720px) {
    .slides { height: clamp(360px, 92vw, 520px); }
    .slide-content .wrap { padding-left: 20px; padding-right: 20px; }
    .slide-left.shade-soft .slide-shade { background: rgba(15, 18, 22, 0.5); }
    .slide-left.shade-strong .slide-shade { background: rgba(15, 18, 22, 0.7); }
    .slider-arrow { width: 36px; height: 36px; font-size: 1.5rem; top: auto; bottom: 8px; transform: none; }
    .slide-text .lead { font-size: 1rem; }
}
/* --- Duyuru bandi --- */
.announce { background: var(--hazard); color: var(--on-hazard); font-size: 0.9rem; font-weight: 600; text-align: center; }
.announce .wrap { padding-top: 8px; padding-bottom: 8px; }

/* --- Sayfa metinleri (yonetim panelinden yazilan) --- */
.prose table { width: 100%; }
.prose .table td, .prose .table th { vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; background: var(--concrete); padding: 1px 5px; border-radius: 3px; }
.prose .note { border-left: 5px solid var(--hazard); background: var(--card); padding: 12px 16px; border-radius: var(--radius); }
.prose .btn { margin: 4px 0; }
.page-updated { margin-top: 2.5em; font-size: 0.85rem; color: var(--steel); }
.wrap.narrow { max-width: 720px; }

/* --- Cerez bildirimi --- */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--asphalt); color: #e9ebee; border-radius: calc(var(--radius) + 4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); border-top: 4px solid var(--hazard); }
.cookie-bar .wrap { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.cookie-text { flex: 1; min-width: 0; font-size: 0.88rem; line-height: 1.55; }
.cookie-text strong { display: block; font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.cookie-text p { margin: 0; }
.cookie-bar a { color: var(--hazard); font-weight: 600; }
.cookie-actions { display: flex; align-items: center; gap: 14px; margin: 0; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn { min-width: 120px; }
.btn-ghost-light { background: transparent; border-color: #5b6470; color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

.cookie-dialog { width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: calc(var(--radius) + 4px); background: var(--card); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.cookie-dialog[open] { display: flex; flex-direction: column; }
.cookie-dialog::backdrop { background: rgba(10, 12, 14, 0.6); }
.cookie-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--concrete); font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; }
.cookie-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--steel); padding: 0 4px; }
.cookie-close:hover { color: var(--ink); }
.cookie-dialog-body { padding: 18px 20px 20px; overflow-y: auto; }
.cookie-form { margin: 0; }
.cookie-intro { font-size: 0.9rem; line-height: 1.55; color: var(--steel); margin: 0 0 16px; }
.cookie-cats { margin: 18px 0; border-top: 1px solid var(--line); }
.cookie-cat { border-bottom: 1px solid var(--line); }
.cookie-cat summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; }
.cookie-cat summary::-webkit-details-marker { display: none; }
.cookie-cat .cat-name::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 400; color: var(--steel); }
.cookie-cat[open] .cat-name::before { content: "–"; }
.cookie-cat p { margin: 0 0 14px 1.2em; font-size: 0.88rem; line-height: 1.55; color: var(--steel); }
.cat-fixed { font-size: 0.85rem; font-weight: 600; color: var(--hazard-dark); white-space: nowrap; }
.switch { position: relative; display: inline-flex; flex-shrink: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .slider { width: 52px; height: 28px; border-radius: 999px; border: 2px solid var(--mute); background: var(--card); transition: background 0.15s, border-color 0.15s; }
.switch .slider::after { content: ""; display: block; width: 20px; height: 20px; margin: 2px; border-radius: 50%; background: var(--mute); transition: transform 0.15s, background 0.15s; }
.switch input:checked + .slider { background: var(--hazard); border-color: var(--hazard); }
.switch input:checked + .slider::after { transform: translateX(24px); background: var(--on-hazard); }
.switch input:focus-visible + .slider { outline: 3px solid var(--blue); outline-offset: 2px; }
.cookie-form-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
    .cookie-bar .wrap { flex-direction: column; align-items: stretch; gap: 14px; }
    .cookie-actions { justify-content: stretch; }
    .cookie-actions .btn { flex: 1; }
    .cookie-actions a { width: 100%; text-align: center; }
    .cookie-form-actions .btn { flex: 1; }
}

@media print {
    .site-header, .site-footer, .hazard-bar, .announce, .cookie-bar, .cookie-dialog, .skip, .flashes, .draft-note { display: none !important; }
    body { background: #fff; }
    .page-head { background: none; color: #000; padding: 0 0 12px; }
    .prose { max-width: none; }
    .prose a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
    .slide, .slider[data-effect="slide"] .slide.is-active, .slider[data-effect="slide"] .slide.is-leaving { transition: none; }
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
