
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.15; letter-spacing: var(--display-track); }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 19px; }
em { font-style: italic; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.i { flex: none; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.ok { color: var(--ok); font-weight: 600; }

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.link { color: var(--accent); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.link-btn:hover { color: var(--ink); }

/* Butonlar */
.btn {
    --h: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--h);
    padding: 0 20px;
    border-radius: var(--r-btn);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: var(--btn-track);
    text-transform: var(--btn-case);
    white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; background: var(--line); color: var(--muted); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn.is-loading { pointer-events: none; opacity: .7; }

.icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }

.badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: 999px;
}
.badge.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-open, .filters-open { overflow: hidden; }

/* Uyarılar ve bildirimler */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--r);
    font-size: 14px;
    background: var(--ok-soft);
    color: var(--ok);
}
.alert-error { background: var(--bad-soft); color: var(--bad); }
.note {
    position: relative;
    padding: 12px 14px;
    margin: 14px 0;
    background: var(--surface-2);
    border-radius: var(--r);
    font-size: 13.5px;
    color: var(--muted);
}
.note:has(> .i) { padding-left: 40px; }
.note > .i { position: absolute; left: 14px; top: 14px; }
.note-warn { background: var(--warn-soft); color: var(--warn); }
.note-warn strong { color: inherit; }

.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--ink);
    color: var(--bg);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    animation: rise .3s ease;
}
.toast a { margin-left: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.toast.out { opacity: 0; transform: translateY(8px); transition: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.lead { font-size: 17px; color: var(--muted); margin-top: 20px; max-width: 520px; }

/* Bölümler */
.section { padding: 56px 0; }
@media (min-width: 960px) { .section { padding: 80px 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head-sm { margin: 36px 0 14px; }
.section-head-sm h2 { font-size: 22px; }

.rating { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.rating .i { color: var(--star); }
.dots { display: flex; gap: 4px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }

.checks { display: grid; gap: 10px; margin-bottom: 28px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks .i { color: var(--accent); }

.news-form { display: flex; gap: 8px; flex-wrap: wrap; }
.news-form input { flex: 1; min-width: 200px; height: 52px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--surface); }
.news-form .btn { height: 52px; }

/* Sayfa başlığı, breadcrumb */
.page-head { padding: 32px 0 24px; }
.page-head-sm { padding: 24px 0 8px; }
.page-head p { margin-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin: 20px 0 12px; }
.page-head .crumbs { margin-top: 0; }

.crumbs a:hover { color: var(--ink); }
.back-link { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin: 24px 0 16px; }
.back-link:hover { color: var(--ink); }

.opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; color: var(--muted); }
.opt:hover, .opt.is-active, .opt:has(input:checked) { color: var(--ink); }
.opt.is-active { font-weight: 600; }
.opt small { margin-left: auto; color: var(--muted); font-size: 12px; }
.opt input { accent-color: var(--ink); width: 16px; height: 16px; }

.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; width: 36px; height: 20px; background: var(--line-2); border-radius: 999px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.select { position: relative; display: inline-flex; align-items: center; margin-left: auto; }
.select select { appearance: none; height: 38px; padding: 0 36px 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-btn); background: var(--surface); font-size: 14px; cursor: pointer; }
.select .i { position: absolute; right: 12px; pointer-events: none; }

.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 64px 16px; background: var(--surface-2); border-radius: var(--r-lg); color: var(--muted); }
.empty h3 { color: var(--ink); margin-top: 6px; }
.empty .btn { margin-top: 10px; }
.empty-sm { padding: 40px 16px; }

.stage { position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); }
.variant { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.variant.is-on { opacity: 1; }
.variant .art { width: 100%; height: 100%; transition: transform .5s ease; }

.field-label { font-size: 14px; margin-bottom: 10px; }
.swatches { display: flex; gap: 10px; margin-bottom: 24px; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .2s; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 6px; }
.buy { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-btn); height: 52px; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty input { width: 36px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button { appearance: none; }
.qty-sm { height: 36px; }
.qty-sm button { width: 32px; }
.qty-sm input { width: 28px; font-size: 14px; }
.stock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock.is-low i { background: var(--warn); }

.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { transition: transform .2s; }
.acc details[open] summary .i { transform: rotate(180deg); }
.acc details > :not(summary) { padding-bottom: 18px; color: var(--muted); font-size: 14.5px; }
.acc .checks { margin-bottom: 0; padding-bottom: 8px; }

/* Sepet */
.cart { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .cart { grid-template-columns: 1fr 380px; gap: 48px; } }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:first-child { padding-top: 0; }
@media (min-width: 600px) { .line { grid-template-columns: 128px 1fr auto; gap: 20px; } }
.line-media { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.line-media .art { width: 100%; height: 100%; }
.line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line-title { font-weight: 600; font-size: 16px; }
.line-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px; }
.line-total { white-space: nowrap; }
.dot-color { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }

.summary { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 16px; }
@media (min-width: 960px) { .summary { position: sticky; top: 92px; } }
.summary h3 { font-size: 20px; }
.ship-bar p { display: flex; gap: 6px; align-items: center; color: var(--muted); }
.ship-bar p strong { color: var(--ink); }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .4s; }
.totals { display: grid; gap: 10px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals-sum { padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.totals-sum dt { color: var(--ink); }
.trust { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }

/* Ödeme */
.steps { display: flex; gap: 8px; font-size: 13px; color: var(--muted); counter-reset: s; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; counter-increment: s; }
.steps li::before { content: counter(s); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-size: 11px; font-weight: 700; }
.steps li:not(:last-child)::after { content: ""; width: 28px; height: 1px; background: var(--line-2); margin-left: 4px; }
.steps .is-on { color: var(--ink); font-weight: 600; }
.steps .is-on::before { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.steps .is-done::before { content: "✓"; background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.steps-mini { justify-content: center; margin: 24px 0; }
@media (max-width: 420px) { .steps { gap: 6px; font-size: 12px; flex-wrap: nowrap; } .steps li { gap: 6px; white-space: nowrap; } .steps li:not(:last-child)::after { width: 12px; margin-left: 0; } }

.checkout { display: grid; gap: 24px; align-items: start; padding-top: 16px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 400px; gap: 40px; } .checkout-side { position: sticky; top: 92px; } }
.checkout-main { display: grid; gap: 20px; }
.box { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.box h3 { font-size: 17px; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.box-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.box-head h2 { font-size: 20px; }
.box-aside { margin-left: auto; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 700; }

.fields { display: grid; gap: 14px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } }
.field-full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.field > span:first-child { display: flex; justify-content: space-between; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-input);
    background: var(--bg);
    font-size: 15px;
    font-weight: 400;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--bad); }
.err { color: var(--bad); font-weight: 500; font-size: 12.5px; display: block; }
.check { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; align-items: flex-start; }
.check input { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.check.is-bad { color: var(--bad); }

.pay-opts { display: grid; gap: 10px; }
@media (min-width: 600px) { .pay-opts { grid-template-columns: 1fr 1fr; } }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt > span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-opt .i { grid-row: span 2; align-self: center; color: var(--muted); }
.pay-opt small { color: var(--muted); font-size: 12.5px; }
.pay-opt input:checked + span { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-opt input:checked + span .i { color: var(--accent); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pay-panel { margin-top: 20px; }
.buy-now { margin-top: 10px; }
.set { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.set-head { margin: 4px 0 8px; font-size: 15px; }
.set-head + .set-parts { margin-bottom: 14px; }
.set-parts { display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
.set-parts li { display: flex; align-items: center; gap: 8px; }
.set-parts .i { color: var(--ok); }
.set-extras { display: grid; }
.set-extras li { display: grid; grid-template-columns: 1fr auto 128px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.set-extras li.is-on span:first-of-type { font-weight: 600; }
.set-extras li.has-pic { grid-template-columns: 52px 1fr auto 128px; }
.set-pic { width: 52px; height: 52px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--line); cursor: zoom-in; }
.set-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.set-pic:hover img { transform: scale(1.06); }
@media (max-width: 480px) {
    .set-extras li.has-pic { grid-template-columns: 40px 1fr auto auto; gap: 8px; }
    .set-extras li.has-pic .set-pic { width: 40px; height: 40px; border-radius: 8px; }
    .set-extras li.has-pic .btn { padding: 0 10px; }
}
.set-extras .btn, .set-extras .qty { justify-self: end; }
.set-extras .qty[hidden], .set-extras .btn[hidden] { display: none; }
.set-extras .qty input { pointer-events: none; }
.set-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 16px; }
.more { margin-top: 14px; }
.more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { color: var(--ink); }
.more input { width: 100%; height: 46px; margin-top: 10px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-input); background: var(--surface); }

.mini { display: grid; gap: 14px; margin-bottom: 18px; }
.mini li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-media { position: relative; width: 56px; height: 56px; border-radius: var(--r-sm); }
.mini-media .art { width: 100%; height: 100%; border-radius: inherit; }
.mini-media b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11px; display: grid; place-items: center; }
.mini-info { display: flex; flex-direction: column; min-width: 0; }
.mini-info small { color: var(--muted); }

/* Sipariş tamamlandı */
.done { text-align: center; padding-top: 48px; display: grid; gap: 18px; justify-items: center; }
.done .lead { margin-top: 0; }
.done .box { width: 100%; text-align: left; }
.done-mark { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); animation: pop .5s cubic-bezier(.2, 1.6, .5, 1); }
.done-mark .i path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s ease forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-no { display: grid; gap: 6px; justify-items: center; padding: 20px 32px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.order-no > div { display: flex; align-items: center; gap: 6px; }
.order-no code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(22px, 4vw, 30px); font-weight: 700; letter-spacing: .06em; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; width: 100%; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-align: left; }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 14px 16px; background: var(--surface); min-width: 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.done-act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.promo { width: 100%; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--accent-soft); border-radius: var(--r-lg); text-align: left; }

/* Sipariş takip */
.track { padding-top: 48px; }
.track-head { text-align: center; display: grid; justify-items: center; gap: 10px; }
.track-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.track-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 460px; margin-inline: auto; }
.track-box + form { margin-top: 16px; }
.otp { display: flex; gap: 8px; justify-content: center; }
.otp input[type=text] { flex: 1 1 0; width: 100%; min-width: 0; max-width: 52px; }
.otp input { height: 58px; text-align: center; font-size: 24px; font-weight: 700; border: 1px solid var(--line-2); border-radius: var(--r-input); background: var(--bg); }
.otp input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.otp.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.track-list { display: grid; gap: 10px; }
.track-who { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); padding: 0 4px 6px; }
.track-who span { display: inline-flex; gap: 6px; align-items: center; }

.order-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 6px 16px;
    align-items: center;
    padding: 16px;
    margin-bottom: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color .2s, transform .2s;
}
.order-row:hover { border-color: var(--line-2); transform: translateY(-1px); }
.order-row > .i { display: none; }
.order-row .status { grid-column: 2; justify-self: start; }
.order-row-total { grid-column: 3; grid-row: 1; }
@media (min-width: 700px) {
    .order-row { grid-template-columns: auto 1fr auto 120px 20px; }
    .order-row .status { grid-column: auto; }
    .order-row-total { grid-column: auto; grid-row: auto; text-align: right; }
    .order-row > .i { display: block; color: var(--muted); }
}
.order-thumbs { display: flex; grid-row: span 2; }
@media (min-width: 700px) { .order-thumbs { grid-row: auto; } }
.order-thumbs span { width: 52px; height: 52px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--surface); }
.order-thumbs span + span { margin-left: -18px; }
.order-thumbs .art { width: 100%; height: 100%; }
.order-row-info { display: flex; flex-direction: column; min-width: 0; }
.order-row-info strong { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .03em; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.status-received { background: var(--info-soft); color: var(--info); }
.status-preparing { background: var(--warn-soft); color: var(--warn); }
.status-scheduled { background: #ede4f6; color: #6a3f99; }
.status-shipped { background: var(--accent-soft); color: var(--accent); }
.status-delivered { background: var(--ok-soft); color: var(--ok); }
.status-cancelled { background: var(--bad-soft); color: var(--bad); }

.order { display: grid; gap: 20px; }
.order-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.order-head h2 { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 24px; letter-spacing: .03em; }
.status { font-size: 13px; }
.timeline { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); padding: 24px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; }
.timeline li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; font-size: 13px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 18px; right: 50%; width: 100%; height: 2px; background: var(--line-2); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.is-done::before { background: var(--accent); }
.timeline .tl-dot { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2); margin-bottom: 4px; }
.timeline .is-done .tl-dot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.timeline .is-now .tl-dot { box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline .is-done strong { color: var(--ink); }
.timeline .is-cancel .tl-dot { background: var(--bad); border-color: var(--bad); }
.timeline .is-cancel::before { background: var(--bad) !important; }
.timeline small { font-size: 11.5px; }
@media (max-width: 599px) {
    .timeline { grid-template-columns: 1fr !important; gap: 18px; padding: 20px; }
    .timeline li { grid-template-columns: 38px 1fr; justify-items: start; text-align: left; column-gap: 12px; }
    .timeline .tl-dot { grid-row: span 2; margin: 0; }
    .timeline li::before { top: auto; bottom: 100%; right: auto; left: 18px; width: 2px; height: 18px; }
}
.order-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .order-grid { grid-template-columns: 1.4fr 1fr; } }
.order-side { display: grid; gap: 16px; }
.order-side p { font-size: 14px; line-height: 1.7; }
.order-side .i { display: inline; vertical-align: -3px; }

.auth { display: grid; }
@media (min-width: 960px) { .auth { min-height: calc(100vh - 110px); } }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-form { width: 100%; max-width: 440px; margin: 0 auto; padding: 32px 16px 48px; display: grid; gap: 16px; align-content: center; }
.auth-form > .muted { margin-top: -8px; }
.stack { display: grid; gap: 16px; margin-top: 8px; }
.pw { position: relative; display: block; }
.pw .link-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-weight: 600; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.meter[data-level="1"] i:nth-child(-n+1) { background: var(--bad); }
.meter[data-level="2"] i:nth-child(-n+2) { background: var(--warn); }
.meter[data-level="3"] i:nth-child(-n+3) { background: var(--ok); }
.meter[data-level="4"] i { background: var(--ok); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-art { display: none; position: relative; overflow: hidden; background: var(--surface-2); }
@media (min-width: 960px) { .auth-art { display: block; } }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-art blockquote { position: absolute; left: 40px; right: 40px; bottom: 40px; padding: 24px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(10px); border-radius: var(--r-lg); font-family: var(--font-display); font-size: 22px; line-height: 1.3; color: var(--ink); }
.auth-art cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 13px; font-style: normal; color: var(--muted); }

/* Hesabım */
.account { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; align-items: start; }
.account > *, .checkout > *, .cart > *, .order-grid > * { min-width: 0; }
@media (min-width: 960px) { .account { grid-template-columns: 260px 1fr; gap: 48px; } .acc-nav { position: sticky; top: 92px; } }
.acc-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.acc-user > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.acc-user small { overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 18px; }
.acc-nav nav { display: grid; gap: 2px; }
.acc-nav nav a, .acc-nav nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--muted); font-size: 14.5px; width: 100%; text-align: left; }
.acc-nav nav a:hover, .acc-nav nav button:hover { background: var(--surface-2); color: var(--ink); }
.acc-nav nav a.is-active { background: var(--surface-2); color: var(--ink); font-weight: 600; }
@media (max-width: 959px) {
    .acc-nav nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
    .acc-nav nav a, .acc-nav nav button { white-space: nowrap; width: auto; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; }
}
.acc-main h1 { margin-bottom: 20px; font-size: clamp(26px, 6vw, 32px); }
.acc-main > .back-link { margin-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 4px; }
.tile small { color: var(--muted); }
.tile strong { font-size: 24px; font-family: var(--font-display); font-weight: var(--display-weight); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Hata */
.error-page { text-align: center; padding: 48px 16px 24px; display: grid; justify-items: center; gap: 10px; }

@media (max-width: 599px) {
    .box, .summary { padding: 18px; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }

    .line { grid-template-columns: 84px 1fr; }
    .line-total { grid-column: 2; }
    .done-act .btn { flex: 1; }
    .order-no { padding: 16px 20px; }
    .facts { grid-template-columns: 1fr 1fr; }
    .news { padding: 28px 20px; }

}
/* iOS odakta yakınlaşmasın */
@media (max-width: 959px) {
    .field input, .field textarea, .field select, .news-form input, .otp input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* kupon */
.coupon details summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); list-style: none; }
.coupon details summary::-webkit-details-marker { display: none; }
.coupon-form { display: flex; gap: 8px; margin-top: 10px; }
.coupon-form input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-input); background: var(--bg); text-transform: uppercase; font-size: 14px; }
.coupon .err { margin-top: 6px; }
.coupon-on { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--ok-soft); color: var(--ok); border-radius: var(--r); font-size: 14px; }
.coupon-on form, .coupon-on button { margin-left: auto; }
.coupon-on code, .totals code { font-weight: 700; letter-spacing: .04em; }
.totals-disc dd { color: var(--ok); font-weight: 600; }
.totals code { font-size: 12px; padding: 1px 6px; background: var(--ok-soft); color: var(--ok); border-radius: 4px; }

/* kargo bilgisi */
.ship-info { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ship-info > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ship-info strong { font-size: 16px; }
.ship-info code { font-weight: 700; color: var(--ink); }
.ship-info-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; }
@media (max-width: 599px) { .ship-info .btn { width: 100%; } }

.emoji { line-height: 1; display: inline-block; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }

/* yükleniyor */
.loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    background: var(--bg);
    transition: opacity .35s ease, visibility .35s;
}
.ld-off .loader { display: none; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-art { width: 180px; overflow: visible; }
.l-draw { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: l-draw .5s var(--d, 0s) cubic-bezier(.6, 0, .3, 1) forwards; }
.l-floor { stroke: var(--line-2); stroke-width: 1.5; }
.l-fill { fill: var(--accent); opacity: 0; transform: translateY(4px); animation: l-fill .3s .55s ease forwards; }
.l-glow { fill: #ffd98a; opacity: 0; animation: l-glow 1.6s .6s ease-in-out infinite; }
.loader-name { font-family: var(--font-display); font-size: 22px; letter-spacing: .02em; opacity: 0; animation: l-fill .3s .3s ease forwards; transform: none; }
.loader-bar { width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--accent); animation: l-bar .9s ease forwards; }
@keyframes l-draw { to { stroke-dashoffset: 0; } }
@keyframes l-fill { to { opacity: 1; transform: none; } }
@keyframes l-glow { 0%, 100% { opacity: .15; } 50% { opacity: .55; } }
@keyframes l-bar { 60% { width: 75%; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* google */
.btn-google { gap: 10px; background: var(--surface); }
.btn-google:hover { background: var(--surface); }
.checkout .btn-google { margin-bottom: 4px; }

/* kargo seçimi */
.ship-opts { display: grid; gap: 10px; }
.ship-opt input { position: absolute; opacity: 0; }
.ship-opt > span { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background .2s; }
.ship-opt strong { font-weight: 600; }
.ship-opt small { grid-column: 1; color: var(--muted); }
.ship-opt b { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.ship-opt input:checked + span { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.ship-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* yorumlar */
.reviews { padding-top: 24px; }
.rv { display: grid; gap: 28px; }
@media (min-width: 900px) { .rv { grid-template-columns: 260px 1fr; gap: 48px; } }
.rv-sum { display: grid; gap: 6px; align-content: start; }
.rv-sum strong { font: 400 56px/1 var(--font-display); }
.rv-sum .rating { color: var(--star); }
.rv-list { display: grid; gap: 14px; }
.rv-item { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.rv-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.rv-item header time { margin-left: auto; }
.rv-item p { color: var(--ink); }
.rv-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 600; }
.rv-write { display: grid; gap: 4px; }
.rv-row { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.rv-row:first-of-type { border-top: 0; }
.rv-row-main { display: grid; gap: 4px; min-width: 0; }
.rv-row summary { cursor: pointer; width: max-content; list-style: none; }
.rv-row summary::-webkit-details-marker { display: none; }
.rv-form { display: grid; gap: 12px; margin-top: 12px; }
.rv-form .btn { justify-self: start; }
.stars-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars-in input { position: absolute; opacity: 0; }
.stars-in label { color: var(--line-2); cursor: pointer; transition: color .15s; }
.stars-in input:checked ~ label, .stars-in label:hover, .stars-in label:hover ~ label { color: var(--star); }
.stars-in input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }
img.art-img { object-fit: cover; width: 100%; height: 100%; display: block; }
.art-blank { display: grid; place-items: center; width: 100%; height: 100%; color: var(--line-2); background: var(--surface-2); }
.photo-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.photo-thumbs button { flex: none; width: 84px; height: 84px; border-radius: var(--r); overflow: hidden; border: 2px solid transparent; opacity: .75; transition: .2s; }
.photo-thumbs button.is-on { border-color: var(--ink); opacity: 1; }

/* hesabım: profil, adres, favori */
.acc-main > .box + .box { margin-top: 16px; }
.acc-main .box h3 { margin-bottom: 12px; }
.acc-main .box > .muted { margin: -4px 0 14px; }
.form-end { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.acc-main .check { margin-top: 14px; }
.acc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.acc-head h1 { margin: 0; }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.addr { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.addr.is-default { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.addr header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.addr p { line-height: 1.6; font-size: 14px; flex: 1; }
.addr-act { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; }
.addr-act button.link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }
.link-bad { color: var(--bad) !important; }
.tag-sm { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 600; }
.ms-card { position: relative; }
.ms-fav { position: absolute; top: 60px; right: 12px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .08); transition: transform .15s, color .15s; }
.ms-fav:hover { transform: scale(1.08); }
.ms-fav.is-on, .fav-btn.is-on { color: #c0392b; }
.ms-fav.is-on svg path, .fav-btn.is-on svg path { fill: currentColor; }
.fav-btn { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s; }
.fav-btn:hover { border-color: var(--ink); }
.fav-grid { margin-top: 4px; }

.saved-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.saved-addr .muted { width: 100%; }
.saved-addr .chip { display: inline-flex; align-items: center; gap: 6px; }
.save-addr { margin-top: 12px; }
@media (max-width: 599px) { .ms-fav { top: 48px; right: 8px; width: 34px; height: 34px; } }

/* deneme ödemesi uyarısı */
.test-pay { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border: 1px dashed #d19a2a; border-radius: var(--r-sm); background: #fdf6e7; color: #6b4a10; font-size: 14px; line-height: 1.5; }
.test-pay b { flex: none; padding: 2px 8px; border-radius: 6px; background: #d19a2a; color: #fff; font-size: 12px; letter-spacing: .08em; }
.test-pay-sm { margin: 0 0 14px; padding: 10px 12px; font-size: 13px; }
