/*
 * EASmart — site stili. Çerçeve yok; renkler ve ölçüler aşağıdaki
 * değişkenlerden gelir. Koyu tema sistem ayarını izler, kullanıcı başlıktaki
 * düğmeyle seçerse <html data-theme> o seçimi sabitler.
 */

@font-face { font-family: "GT Walsheim"; src: url("/assets/fonts/GTWalsheimProRegular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GT Walsheim"; src: url("/assets/fonts/GTWalsheimProMedium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GT Walsheim"; src: url("/assets/fonts/GTWalsheimProBold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --brand: #075685;
    --brand-bright: #0277bd;
    --brand-contrast: #ffffff;

    --bg: #ffffff;
    --bg-tint: #f2f7fb;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --text: #13212e;
    --muted: #55687a;
    --border: #dbe4ec;
    --accent: var(--brand);
    --accent-hover: #05466d;
    --focus: #0277bd;

    --success-bg: #e6f6ec; --success-text: #13653a;
    --warning-bg: #fff6e0; --warning-text: #7a5300;
    --error-bg: #fdecec;   --error-text: #a12626;

    --radius: 14px;
    --radius-small: 8px;
    --shadow: 0 1px 2px rgb(16 40 64 / 6%), 0 8px 24px rgb(16 40 64 / 6%);
    --container: 1160px;
    --gutter: 20px;
    --font: "GT Walsheim", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --icon-filter: none;
    --network-color: 0, 0, 0;

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0c141b;
        --bg-tint: #111c25;
        --surface: #131f29;
        --surface-raised: #182633;
        --text: #e6edf3;
        --muted: #93a6b8;
        --border: #24384a;
        --accent: #4fb3f0;
        --accent-hover: #7cc7f5;
        --focus: #7cc7f5;
        --success-bg: #11301f; --success-text: #8be0ad;
        --warning-bg: #33280c; --warning-text: #f4cf6f;
        --error-bg: #3a1717;   --error-text: #f5a3a3;
        --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
        --icon-filter: invert(1);
        --network-color: 255, 255, 255;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #0c141b;
    --bg-tint: #111c25;
    --surface: #131f29;
    --surface-raised: #182633;
    --text: #e6edf3;
    --muted: #93a6b8;
    --border: #24384a;
    --accent: #4fb3f0;
    --accent-hover: #7cc7f5;
    --focus: #7cc7f5;
    --success-bg: #11301f; --success-text: #8be0ad;
    --warning-bg: #33280c; --warning-text: #f4cf6f;
    --error-bg: #3a1717;   --error-text: #f5a3a3;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
    --icon-filter: invert(1);
    --network-color: 255, 255, 255;
    color-scheme: dark;
}

/* ─── Temel ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: var(--radius-small); }
.skip-link:focus { top: 12px; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Düğmeler ──────────────────────────────────────────────────────────── */

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px;
    border: 1px solid transparent; border-radius: 999px;
    background: var(--brand); color: var(--brand-contrast);
    font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover { background: var(--brand-bright); color: var(--brand-contrast); }
.button:disabled { opacity: .45; cursor: not-allowed; background: var(--brand); }
.button--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.button--ghost:hover { background: var(--bg-tint); color: var(--text); }
.button--light { background: #fff; color: var(--brand); }
.button--light:hover { background: #e9f3fa; color: var(--brand); }
.button--small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.button--wide { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-button { background: none; border: 0; padding: 4px; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--error-text); }

.icon-button {
    position: relative; display: inline-grid; place-items: center;
    width: 42px; height: 42px; border: 0; border-radius: 50%;
    background: transparent; color: var(--text); cursor: pointer;
}
.icon-button:hover { background: var(--bg-tint); color: var(--text); }

.chip {
    display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
    color: var(--text); text-decoration: none; font-size: 15px;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Başlık ────────────────────────────────────────────────────────────── */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.brand:hover { color: var(--text); }
.brand__mark {
    width: 44px; height: 24px; background: var(--accent);
    -webkit-mask: url("/assets/img/mark.png") center / contain no-repeat;
    mask: url("/assets/img/mark.png") center / contain no-repeat;
}

.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 16px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-tint); }

.site-header__actions { display: flex; align-items: center; gap: 2px; }

.cart-link__count {
    position: absolute; top: 2px; right: 0;
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: var(--brand-bright); color: #fff; font-size: 12px; line-height: 19px; text-align: center;
}

.nav-toggle { display: none; }

[data-theme-toggle] .icon--moon { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .icon--sun { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .icon--moon { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) [data-theme-toggle] .icon--sun { display: none; }
    :root:not([data-theme="light"]) [data-theme-toggle] .icon--moon { display: block; }
}

@media (max-width: 860px) {
    .nav-toggle { display: inline-grid; }
    .site-header__actions { margin-left: auto; }
    .site-nav {
        display: none; position: absolute; inset: 68px 0 auto 0;
        flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px;
        background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px; border-radius: var(--radius-small); }
}

/* ─── Bölümler ──────────────────────────────────────────────────────────── */

.section { padding-block: 72px; }
.section--tinted { background: var(--bg-tint); }
.section--brand { background: linear-gradient(135deg, var(--brand), var(--brand-bright)); color: #fff; }
.section--brand .section__title { color: #fff; }
.section__header { max-width: 720px; margin-bottom: 36px; }
.section__title { font-size: clamp(26px, 3.4vw, 36px); }
.section__intro { font-size: 18px; margin: 0; }

.page-header { margin-bottom: 32px; }
.page-header__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }

.breadcrumb { display: flex; gap: 8px; padding-top: 24px; font-size: 15px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ─── Ana sayfa ─────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; padding-block: 64px 80px; background: radial-gradient(ellipse at 80% 20%, color-mix(in srgb, var(--brand-bright) 16%, transparent), transparent 60%); }
/* Ağ efekti hero'dan "Gelişmiş Akıllı Cihazlar" bölümünün sonuna kadar uzanır:
   tuval ikisini saran kapta, bölümler onun üstünde. */
.network-zone { position: relative; overflow: hidden; }
.network-zone > section { position: relative; z-index: 1; }
.network-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero__title { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.01em; }
.hero__lead { font-size: 20px; color: var(--muted); max-width: 34ch; margin-bottom: 28px; }
.hero__media { display: block; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid--compact { gap: 20px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature p { margin: 0; }
.feature__number {
    display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
    border-radius: 12px; background: var(--bg-tint); color: var(--accent); font-weight: 700;
}
.feature__title { font-size: 20px; }

.device-family { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.device-family li {
    display: flex; align-items: center; gap: 14px; padding: 16px;
    border: 1px solid var(--border); border-radius: var(--radius); font-weight: 500;
}
.device-family__icon { width: 40px; height: 40px; flex: none; opacity: .75; filter: var(--icon-filter); }

.app-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.app-band p { margin: 0; max-width: 52ch; opacity: .9; }
.app-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.store-button {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px;
    background: #000; color: #fff; border-radius: 10px; text-decoration: none; line-height: 1.1; font-weight: 500;
}
.store-button:hover { background: #222; color: #fff; }
.store-button .icon { fill: currentColor; stroke: none; width: 24px; height: 24px; }
.store-button small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .04em; }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact__list { margin: 0; }
.contact__list dt { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact__list dd { margin: 0 0 18px; font-size: 18px; }
.contact__map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }

/* ─── Ürünler ───────────────────────────────────────────────────────────── */

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.product-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__media { display: block; aspect-ratio: 1; background: #fff; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-card__title { font-size: 20px; margin-bottom: 8px; }
.product-card__title a { color: var(--text); text-decoration: none; }
.product-card__summary { font-size: 15px; flex: 1; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-variant-numeric: tabular-nums; }
.price__current { font-size: 20px; font-weight: 700; }
.price__old { color: var(--muted); font-size: 15px; }
.price--large .price__current { font-size: 32px; }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 24px 64px; }
.product__title { font-size: clamp(30px, 4vw, 42px); }
.product__tagline { font-size: 20px; font-weight: 500; color: var(--accent); }

.gallery__main { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery__thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.gallery__thumbs a { display: block; border: 2px solid transparent; border-radius: var(--radius-small); overflow: hidden; background: #fff; }
.gallery__thumbs a[aria-current="true"] { border-color: var(--accent); }
.gallery__thumbs img { aspect-ratio: 1; object-fit: cover; }

.buy-box { margin-top: 24px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.buy-box__meta { margin: 4px 0 20px; font-size: 15px; }
.buy-box__form { display: flex; gap: 12px; }
.buy-box__in-cart { margin: 14px 0 0; font-size: 15px; }
.quantity input, .quantity-input {
    width: 76px; min-height: 46px; padding: 0 10px;
    border: 1px solid var(--border); border-radius: var(--radius-small);
    background: var(--surface); color: var(--text); font: inherit; text-align: center;
}

.stock--in { color: var(--success-text); }
.stock--low { color: var(--warning-text); }
.stock--out { color: var(--error-text); }

.perks { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--muted); }
.perks li::before { content: "✓"; color: var(--success-text); margin-right: 6px; }

.marketplaces { margin-top: 24px; }
.marketplaces p { margin-bottom: 8px; font-size: 15px; }
.marketplaces ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); }
.prose h3 { font-size: 20px; margin-top: 1.6em; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }

.video { margin: 0; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.video figcaption { margin-top: 8px; font-size: 15px; }

.diagram { margin: 24px 0; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.note { padding: 16px 20px; border-left: 4px solid var(--warning-text); background: var(--warning-bg); border-radius: var(--radius-small); }
.note p:last-child { margin: 0; }

/* ─── Sepet ─────────────────────────────────────────────────────────────── */

.cart { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.cart-table th { font-size: 14px; font-weight: 500; color: var(--muted); text-align: left; padding: 0 8px 12px; border-bottom: 1px solid var(--border); }
.cart-table th.num { text-align: right; }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; font-weight: 500; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-small); background: #fff; flex: none; }

.cart__summary { position: sticky; top: 92px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cart__continue { display: block; margin-top: 12px; text-align: center; font-size: 15px; }

.totals { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.totals dd { margin: 0; text-align: right; }
.totals__grand { padding-top: 12px; border-top: 1px solid var(--border); font-size: 20px; font-weight: 700; }

.alert { padding: 12px 16px; border-radius: var(--radius-small); margin-bottom: 16px; }
.alert--success { background: var(--success-bg); color: var(--success-text); }
.alert--warning { background: var(--warning-bg); color: var(--warning-text); }
.alert--error { background: var(--error-bg); color: var(--error-text); }

.empty-state { padding: 48px 0; text-align: center; }
.empty-state .button { margin-top: 8px; }
.error-code { font-size: 64px; font-weight: 700; color: var(--accent); margin: 0; }

/* ─── Alt bilgi ─────────────────────────────────────────────────────────── */

.site-footer { padding-top: 56px; border-top: 1px solid var(--border); background: var(--bg-tint); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer__title { font-size: 15px; font-weight: 500; color: var(--muted); }
.site-footer__address { margin-top: 12px; max-width: 32ch; }
.site-footer__links, .social { list-style: none; margin: 0 0 16px; padding: 0; }
.site-footer__links li { margin-bottom: 6px; }
.site-footer__links a { color: var(--text); text-decoration: none; }
.site-footer__links a:hover { color: var(--accent); }
.social { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.social a { color: var(--muted); }
.site-footer__bottom { padding-block: 24px; margin-top: 32px; border-top: 1px solid var(--border); }

/* ─── Dar ekranlar ──────────────────────────────────────────────────────── */

@media (max-width: 960px) {
    .hero__grid, .product, .prose-grid, .contact, .cart { grid-template-columns: 1fr; }
    .hero__media { max-width: 420px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .device-family { grid-template-columns: 1fr 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .cart__summary { position: static; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }
    body { font-size: 16px; }
    .section { padding-block: 48px; }
    .hero { padding-block: 40px 56px; }
    .hero__lead { font-size: 18px; }
    .feature-grid, .device-family, .site-footer__grid { grid-template-columns: 1fr; }
    .product { gap: 28px; }

    /* Sepet tablosu dar ekranda kart listesine döner. */
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
    .cart-table tr { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .cart-table td { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border: 0; text-align: left; }
    .cart-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 14px; }
    .cart-table td:first-child { display: block; }
}

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

/* ─── Belge sayfaları (yasal metinler, yardım, hesap silme) ─────────────── */

.doc-body { background: var(--bg-tint); }
.doc { max-width: 980px; margin: 0 auto; padding: 24px var(--gutter) 40px; }

.doc__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.doc__brand { display: flex; align-items: center; gap: 12px; }
.doc__brand strong, .doc__brand span { display: block; line-height: 1.3; }
.doc__brand span { font-size: 14px; }
.doc__logo { width: 44px; height: 44px; padding: 6px; border-radius: 12px; background: var(--brand); object-fit: contain; }
.doc-body--master .doc__logo { background: #2b2420; }

.locale-switch { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.locale-switch a { padding: 4px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.locale-switch a[aria-current="page"] { background: var(--brand); color: #fff; }

.doc__prose, .doc .main, .doc .aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.doc__prose h1 { font-size: clamp(26px, 4vw, 34px); }
.doc__prose h2 { font-size: 21px; margin-top: 1.4em; }
.doc__prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.doc__prose ul, .doc__prose ol { padding-left: 1.3em; }
.doc__center { text-align: center; }
.doc__hero-logo { margin: 24px auto; width: 200px; }
.store-buttons--center { justify-content: center; }
.doc__callout { margin: 24px 0; padding: 20px; border-radius: var(--radius-small); background: var(--bg-tint); }
.doc__callout h2 { margin-top: 0; }
.doc__links { list-style: none; padding: 0 !important; margin: 0; }
.doc__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-weight: 500; text-decoration: none; }

.doc__footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; }

.steps { list-style: none; counter-reset: step; padding: 0 !important; }
.steps__item { counter-increment: step; display: grid; grid-template-columns: 1fr minmax(0, 260px); gap: 20px; align-items: start; padding: 20px 0; border-top: 1px solid var(--border); }
.steps__item:has(> :only-child) { grid-template-columns: 1fr; }
.steps__item p::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; }
.steps__item img { border-radius: 18px; border: 1px solid var(--border); }
@media (max-width: 640px) { .steps__item { grid-template-columns: 1fr; } .steps__item img { max-width: 260px; } }

/* Uygulama gizlilik politikası ve kullanım şartları (eski sitedeki yapı). */
.doc .badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.doc .badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); }
.doc .title-gradient { font-size: clamp(30px, 5vw, 44px); margin: 14px 0 8px; }
.doc .subtitle { font-size: 18px; color: var(--muted); max-width: 64ch; }
.doc .meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.doc .content { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; margin-top: 24px; align-items: start; }
.doc .section { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.doc .section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.doc .section-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.doc .section-title { display: flex; align-items: center; gap: 10px; font-size: 21px; margin: 6px 0 12px; }
.doc .section-index { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--bg-tint); color: var(--accent); font-size: 14px; flex: none; }
.doc .highlight { padding: 12px 16px; border-radius: var(--radius-small); background: var(--bg-tint); }
.doc .aside { position: sticky; top: 16px; font-size: 15px; }
.doc .aside-title { font-size: 17px; }
.doc .aside-section { margin-top: 16px; }
.doc .aside-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.doc .aside p { margin: 4px 0 0; }
.doc .link-chip { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.doc .link-chip svg { width: 16px; height: 16px; fill: currentColor; }
.doc .danger-note { color: var(--error-text); }
@media (max-width: 860px) { .doc .content { grid-template-columns: 1fr; } .doc .aside { position: static; } }

.brand-backdrop { position: fixed; inset: 0; background: radial-gradient(ellipse at 30% 20%, var(--brand-bright), var(--brand) 55%, #03263b); }

/* ─── Çerez onayı ───────────────────────────────────────────────────────── */

.cookie-banner {
    position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
    max-width: 720px; margin-inline: auto; padding: 20px 24px;
    display: flex; align-items: center; gap: 20px;
    background: var(--surface-raised); color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.cookie-banner__title { font-size: 17px; margin-bottom: 4px; }
.cookie-banner p { margin: 0; font-size: 15px; color: var(--muted); }
.consent-buttons { display: flex; gap: 10px; flex: none; }
.consent-buttons .button { min-width: 112px; }

@media (max-width: 640px) {
    .cookie-banner { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; padding: 16px; }
    .consent-buttons .button { flex: 1; }
}

.cookie-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 15px; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.cookie-table th { font-weight: 500; color: var(--muted); font-size: 14px; }
.cookie-table code { font-size: 14px; }
@media (max-width: 640px) {
    .cookie-table thead { display: none; }
    .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; }
    .cookie-table tr { padding: 8px 0; border-bottom: 1px solid var(--border); }
    .cookie-table td { border: 0; padding: 2px 0; }
}

/* ─── Ödeme ─────────────────────────────────────────────────────────────── */

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.checkout__summary { position: sticky; top: 92px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.checkout__summary-title { font-size: 20px; }
.checkout__secure { margin: 10px 0 0; text-align: center; }

.form-section { margin: 0 0 24px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.form-section legend { padding: 0 6px; margin-left: -6px; font-weight: 700; font-size: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 15px; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 12px;
    border: 1px solid var(--border); border-radius: var(--radius-small);
    background: var(--bg); color: var(--text); font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.field__hint { margin: 6px 0 0; font-size: 14px; }
.field__error { margin: 6px 0 0; font-size: 14px; color: var(--error-text); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error-text); }

.choice-row { display: flex; gap: 24px; margin-bottom: 16px; }
.choice, .field label.choice { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; cursor: pointer; font-size: 15px; }
.choice--top, .field label.choice--top { align-items: flex-start; font-weight: 400; }
.choice input { width: 20px; height: 20px; flex: none; accent-color: var(--brand); }
.choice--top input { margin-top: 2px; }
.billing-address { margin-top: 8px; }

.mini-cart { list-style: none; margin: 0 0 16px; padding: 0; }
.mini-cart li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }

.sales-doc-box { margin: 12px 0; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--bg); }
.sales-doc-box summary { padding: 12px 14px; cursor: pointer; font-weight: 500; font-size: 15px; }
.sales-doc-box[open] summary { border-bottom: 1px solid var(--border); }
.sales-doc-box .sales-doc { max-height: 360px; overflow: auto; padding: 4px 14px 14px; font-size: 14px; }
.sales-doc h2 { font-size: 18px; margin-top: 12px; }
.sales-doc h3 { font-size: 15px; margin: 16px 0 6px; }
.sales-doc__parties { display: grid; grid-template-columns: 140px 1fr; gap: 2px 12px; margin: 0; }
.sales-doc__parties dd { margin: 0; }
.sales-doc__table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.sales-doc__table th, .sales-doc__table td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--border); }

@media (max-width: 960px) {
    .checkout { grid-template-columns: 1fr; }
    .checkout__summary { position: static; }
}
@media (max-width: 640px) {
    .field-row { grid-template-columns: 1fr; }
    .form-section { padding: 16px; }
    .sales-doc__parties { grid-template-columns: 1fr; }
}

/* ─── Sipariş sayfası ───────────────────────────────────────────────────── */

.order { display: grid; gap: 20px; }
.order__hero { padding: 28px; border-radius: var(--radius); background: var(--bg-tint); }
.order__hero p:last-child, .order__hero form { margin: 0; }
.order__hero--success { background: var(--success-bg); }
.order__hero--warning { background: var(--warning-bg); }
.order__hero--warning form { margin-top: 12px; }
.order__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.order__card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.order__card h2 { font-size: 17px; }
.order__card p { margin: 0; }
.order__status { font-weight: 700; }
.order__status--paid, .order__status--shipped, .order__status--delivered { color: var(--success-text); }
.order__status--payment_failed, .order__status--cancelled { color: var(--error-text); }
.order__meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 12px 0 0; font-size: 15px; }
.order__meta dd { margin: 0; }
@media (max-width: 860px) { .order__grid { grid-template-columns: 1fr; } }

/* ─── Hesap ─────────────────────────────────────────────────────────────── */

.account-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--success-text); border: 2px solid var(--bg); }

.auth { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; }
.auth__card { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.auth__card .field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--bg); color: var(--text); font: inherit; }
.auth__links { display: flex; justify-content: space-between; margin: 16px 0; font-size: 15px; }
.auth__aside { padding-top: 12px; }
.auth__aside h2 { font-size: 20px; }
.perks--stacked { flex-direction: column; border: 0; padding: 0; margin: 0 0 16px; font-size: 16px; }

.account-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.order-list { list-style: none; margin: 0 0 40px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.order-list li + li { border-top: 1px solid var(--border); }
.order-list__item { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 16px 20px; color: var(--text); text-decoration: none; }
.order-list__item:hover { background: var(--bg-tint); color: var(--text); }
.order-list__item > span:first-child { display: flex; flex-direction: column; }
.app-band--card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-tint); }
.app-band--card .section__title { color: var(--text); font-size: 22px; }
.checkout__login { margin-bottom: 20px; }

@media (max-width: 860px) {
    .auth { grid-template-columns: 1fr; gap: 24px; }
    .order-list__item { grid-template-columns: 1fr auto; }
}
