/* SBT Commerce — ortak yapı katmanı (mobile-first).
   Renk/tipografi/biçim tema token'larından gelir; temalar :root'ta bu değişkenleri tanımlar
   ve kendi bileşenlerini (header, hero, kart, PDP) ayrıca stiller. */
:root {
  --c-bg: #fff; --c-surface: #fff; --c-surface-2: #f5f5f4; --c-text: #1c1917; --c-muted: #57534e;
  --c-line: #e7e5e4; --c-accent: #1c1917; --c-accent-contrast: #fff; --c-sale: #b91c1c; --c-ok: #15803d; --c-warn: #b45309;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif; --font-display: var(--font-body);
  --radius: 10px; --radius-sm: 6px; --radius-btn: 999px; --container: 1240px; --gutter: 16px;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.25); --focus: 0 0 0 3px color-mix(in srgb, var(--c-accent) 35%, transparent);
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-accent); color: var(--c-accent-contrast); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--c-muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mono { font-family: ui-monospace, Menlo, monospace; }
.stack > * + * { margin-top: 20px; }
.hide-sm { display: none; }
[hidden] { display: none !important; }
main { min-height: 50vh; }
main:focus { outline: none; }

/* Demo şeridi */
.demo-bar { background: #0b1f3a; color: #e2e8f0; font-size: .8rem; padding: 8px var(--gutter); display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; text-align: center; }
.demo-bar a { color: #93c5fd; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-btn); border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; white-space: nowrap; }
.btn--primary { background: var(--c-accent); color: var(--c-accent-contrast); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost { background: transparent; border-color: var(--c-line); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-text); }
.btn--lg { min-height: 54px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid currentColor; border-color: var(--c-accent-contrast) transparent var(--c-accent-contrast) transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; position: relative; text-decoration: none; color: inherit; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

/* Form */
label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-surface); font-size: 16px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: var(--focus); }
[aria-invalid="true"] { border-color: var(--c-sale) !important; }
.field { margin-bottom: 16px; }
.field--short { max-width: 200px; }
.field-error { color: var(--c-sale); font-size: .85rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; margin: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-accent); flex: none; }
.check small { color: var(--c-muted); margin-left: auto; }
.grid-2, .grid-3 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; }
.password-field { position: relative; }
.password-field .linklike { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .85rem; }
.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.segmented { display: flex; gap: 8px; border: 0; padding: 0; margin: 12px 0; }
.segmented label { flex: 1; margin: 0; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; text-align: center; padding: 10px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; }
.segmented input:checked + span { border-color: var(--c-accent); background: var(--c-surface-2); }
.segmented input:focus-visible + span { box-shadow: var(--focus); }

/* Flash & toast */
.flash-wrap { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 8px; }
.flash--ok { background: color-mix(in srgb, var(--c-ok) 12%, transparent); color: var(--c-ok); }
.flash--error { background: color-mix(in srgb, var(--c-sale) 10%, transparent); color: var(--c-sale); }
.flash--info { background: var(--c-surface-2); }
.toast-region { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--c-text); color: var(--c-bg); padding: 12px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: .92rem; animation: toast-in .25s ease; }
.toast--error { background: var(--c-sale); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* Header (temel) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.site-header__inner { display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.site-header__logo { text-decoration: none; margin-right: auto; }
.logo { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.site-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.header-actions .search { display: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-accent); color: var(--c-accent-contrast); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.search { position: relative; }
.search input { padding-right: 44px; min-height: 42px; border-radius: var(--radius-btn); background: var(--c-surface-2); border-color: transparent; }
.search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; cursor: pointer; }
.search__results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 300px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 60; overflow: hidden; }
.search__results a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; text-decoration: none; font-size: .9rem; }
.search__results a[aria-selected="true"], .search__results a:hover { background: var(--c-surface-2); }
.search__results img { width: 40px; height: 50px; object-fit: cover; border-radius: 4px; }
.search__results .price-s { margin-left: auto; font-weight: 600; white-space: nowrap; }
.search__empty { padding: 12px; color: var(--c-muted); font-size: .9rem; }

/* Drawer (sepet, menü, filtreler) */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fade .2s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--c-bg); display: flex; flex-direction: column; animation: slide-in .25s ease; box-shadow: var(--shadow); }
.drawer--left .drawer__panel { right: auto; left: 0; animation-name: slide-in-left; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
.drawer__head h2 { font-size: 1.1rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px; }
.drawer__foot { padding: 16px; border-top: 1px solid var(--c-line); display: grid; gap: 8px; }
.mini-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: .9rem; }
.mini-line img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.mini-total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.mini-ship { font-size: .85rem; color: var(--c-muted); margin: 0; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--c-line); font-weight: 600; }
.mobile-nav a.sub { font-weight: 400; padding-left: 16px; color: var(--c-muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-left { from { transform: translateX(-100%); } }
body.is-locked { overflow: hidden; }

/* Fiyat, rozet, stok, puan */
.price { display: inline-flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price__now { font-weight: 700; }
.price--sale .price__now { color: var(--c-sale); }
.price__was { color: var(--c-muted); font-size: .88em; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--c-text); color: var(--c-bg); font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: var(--radius-sm); letter-spacing: .02em; }
.badge--sale { background: var(--c-sale); color: #fff; }
.stock { font-size: .85rem; font-weight: 600; }
.stock--in_stock { color: var(--c-ok); }
.stock--low_stock { color: var(--c-warn); }
.stock--out_of_stock, .stock--out { color: var(--c-sale); }
.stock--preorder { color: var(--c-accent); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; }
.rating__stars { --pct: calc(var(--rating) / 5 * 100%); display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, #f59e0b var(--pct), var(--c-line) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating__stars::before { content: "★★★★★"; }
.rating__count { color: var(--c-muted); }
.tag, .tag-test { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--c-surface-2); }
.tag-test { background: #fef3c7; color: #92400e; letter-spacing: .04em; }

/* Kart (varsayılan) */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.card { position: relative; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--c-surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding-top: 10px; }
.card__title { font-size: .95rem; font-weight: 500; margin: 0 0 4px; font-family: var(--font-body); }
.card__title a { text-decoration: none; }
.rail { margin: 56px 0; }
.rail__title { font-size: 1.5rem; margin-bottom: 20px; }
.rail__title small { font-size: .95rem; font-weight: 400; color: var(--c-muted); }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0; font-size: .82rem; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Listeleme */
.listing-head { margin-bottom: 16px; }
.listing-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.listing-intro { color: var(--c-muted); max-width: 680px; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; }
.subcats a { padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; font-size: .88rem; }
.listing-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-block: 1px solid var(--c-line); margin-bottom: 24px; }
.listing-toolbar p { margin: 0 auto 0 0; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form label { margin: 0; font-weight: 400; color: var(--c-muted); }
.sort-form select { min-height: 40px; width: auto; }
.listing-filters { display: none; }
.listing-filters.is-open { display: block; position: fixed; inset: 0; z-index: 140; background: var(--c-bg); overflow-y: auto; padding: 20px var(--gutter); }
.filter-group { border: 0; border-bottom: 1px solid var(--c-line); padding: 0 0 16px; margin: 0 0 16px; }
.filter-group legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.filters__actions { display: grid; gap: 8px; position: sticky; bottom: 0; background: var(--c-bg); padding: 12px 0; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range label { flex: 1; margin: 0; }
.swatch-list { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; margin: 0; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch span:not(.sr-only) { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--swatch); border: 2px solid var(--c-bg); box-shadow: 0 0 0 1px var(--c-line); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--c-accent); }
.swatch input:focus-visible + span { box-shadow: var(--focus); }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--radius-sm); text-decoration: none; border: 1px solid var(--c-line); }
.pagination .is-current { background: var(--c-accent); color: var(--c-accent-contrast); border-color: var(--c-accent); }
.empty-state { text-align: center; padding: 64px 16px; max-width: 520px; margin: 0 auto; }
.empty-state__icon { font-size: 2.4rem; width: 84px; height: 84px; border-radius: 50%; background: var(--c-surface-2); display: grid; place-items: center; margin: 0 auto 16px; color: var(--c-muted); }
.empty-state__title { font-size: 1.35rem; }

/* Ürün detay */
.pdp { display: grid; gap: 24px; }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-surface-2); aspect-ratio: 4 / 5; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery--zoom .gallery__main { cursor: zoom-in; }
.gallery--zoom .gallery__main.is-zoomed img { transform: scale(2); cursor: zoom-out; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumb { flex: none; width: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none; cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--c-accent); }
.gallery__thumb img { width: 72px; height: 90px; object-fit: cover; }
.pdp__brand { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--c-muted); margin: 0 0 6px; }
.pdp__title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.pdp__price { font-size: 1.4rem; margin: 12px 0; }
.pdp__lead { color: var(--c-muted); }
.option { border: 0; padding: 0; margin: 0 0 18px; }
.option legend { font-weight: 600; margin-bottom: 8px; padding: 0; font-size: .92rem; }
.option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.option__value { position: relative; margin: 0; }
.option__value input { position: absolute; opacity: 0; }
.option__value > span { display: grid; place-items: center; min-width: 48px; min-height: 44px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 500; }
.option__value input:checked + span { border-color: var(--c-accent); box-shadow: inset 0 0 0 1px var(--c-accent); }
.option__value input:focus-visible + span { box-shadow: var(--focus); }
.option__value input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.option__value--swatch > span { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; background: var(--swatch); border: 3px solid var(--c-bg); box-shadow: 0 0 0 1px var(--c-line); }
.option__value--swatch input:checked + span { box-shadow: 0 0 0 2px var(--c-accent); }
.buy-row { display: flex; gap: 10px; align-items: stretch; margin: 12px 0; }
.buy-row .add-btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--radius-btn); overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 44px !important; min-height: 46px !important; border: 0 !important; padding: 0 !important; text-align: center; background: transparent !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wish-btn { border: 1px solid var(--c-line); border-radius: 50%; width: 52px; height: 52px; }
.wish-btn.is-active svg { fill: var(--c-sale); stroke: var(--c-sale); }
.stock-line { min-height: 1.4em; margin: 0; }
.trust { list-style: none; padding: 16px 0; margin: 16px 0; display: grid; gap: 10px; border-block: 1px solid var(--c-line); font-size: .88rem; }
.trust li { display: flex; gap: 10px; align-items: center; }
.accordion details { border-bottom: 1px solid var(--c-line); }
.accordion summary { padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::after { content: "+"; font-size: 1.2rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion summary::-webkit-details-marker { display: none; }
.prose { color: var(--c-text); }
.prose p { color: var(--c-muted); }
.specs { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 8px 16px; margin: 0 0 16px; font-size: .92rem; }
.specs dt { color: var(--c-muted); }
.specs dd { margin: 0; }
.tiers { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: .9rem; }
.tiers caption { text-align: left; font-weight: 600; margin-bottom: 6px; }
.tiers th, .tiers td { padding: 8px; border: 1px solid var(--c-line); text-align: left; }
.notify-form { margin: 8px 0 16px; }
.compare-toggle { font-size: .9rem; margin: 4px 0; }
.review-list { list-style: none; padding: 0; }
.review { border-bottom: 1px solid var(--c-line); padding: 16px 0; }
.review__head { display: flex; gap: 10px; align-items: center; }
.verified { color: var(--c-ok); font-weight: 600; }
.review-form { max-width: 560px; margin-top: 24px; }
.stars-input { border: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input legend { width: 100%; font-weight: 600; margin-bottom: 4px; }
.stars-input input { position: absolute; opacity: 0; }
.stars-input label { font-size: 1.8rem; color: var(--c-line); cursor: pointer; margin: 0; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #f59e0b; }
.stars-input input:focus-visible + label { box-shadow: var(--focus); }
.bundle ul { padding-left: 18px; }

/* Sepet & checkout */
.page-title { font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 24px 0 16px; }
.steps { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 0 24px; overflow-x: auto; font-size: .78rem; color: var(--c-muted); }
.steps li { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding-right: 10px; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--c-line); font-weight: 700; font-size: .72rem; }
.steps .is-current { color: var(--c-text); font-weight: 700; }
.steps .is-current span, .steps .is-done span { background: var(--c-accent); color: var(--c-accent-contrast); border-color: var(--c-accent); }
.cart-layout, .checkout { display: grid; gap: 24px; align-items: start; }
.cart-lines { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; grid-template-areas: "img info total" "img qty remove"; gap: 8px 14px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.cart-line.has-issue { background: color-mix(in srgb, var(--c-sale) 5%, transparent); }
.cart-line__img { grid-area: img; }
.cart-line__img img { width: 84px; height: 105px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-line__info { grid-area: info; min-width: 0; }
.cart-line__info p { margin: 2px 0; }
.cart-line__name { font-weight: 600; text-decoration: none; }
.cart-line__qty { grid-area: qty; }
.cart-line__total { grid-area: total; font-weight: 700; margin: 0; text-align: right; }
.cart-line form:last-child { grid-area: remove; text-align: right; align-self: center; }
.cart-line__remove { font-size: .85rem; color: var(--c-muted); }
.ship-progress { padding: 12px 16px; background: var(--c-surface-2); border-radius: var(--radius-sm); margin-bottom: 8px; }
.ship-progress p { margin: 0 0 6px; font-size: .9rem; }
.ship-progress progress { width: 100%; height: 6px; accent-color: var(--c-accent); }
.ship-progress--done p { margin: 0; color: var(--c-ok); font-weight: 600; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.summary__box { background: var(--c-surface-2); border-radius: var(--radius); padding: 20px; }
.summary__title { font-size: 1.1rem; }
.summary__rows { margin: 0; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; }
.summary__rows dt, .summary__rows dd { margin: 0; }
.summary__rows .is-discount { color: var(--c-ok); }
.summary__total { border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 12px !important; font-size: 1.15rem !important; font-weight: 700; }
.coupon { margin-top: 16px; }
.coupon--applied { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--c-bg); border-radius: var(--radius-sm); }
.summary__items ul { list-style: none; padding: 0; margin: 0 0 8px; }
.summary__items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; padding: 8px 0; font-size: .88rem; align-items: center; }
.summary__items img { width: 48px; height: 60px; object-fit: cover; border-radius: 4px; }
.co-section { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; background: var(--c-surface); }
.co-section h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; font-family: var(--font-body); }
.co-num { width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-contrast); display: grid; place-items: center; font-size: .8rem; flex: none; }
.choice-list { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); cursor: pointer; margin: 0; font-weight: 400; }
.choice input { width: 20px; height: 20px; accent-color: var(--c-accent); flex: none; }
.choice:has(input:checked) { border-color: var(--c-accent); box-shadow: inset 0 0 0 1px var(--c-accent); }
.choice__body { display: grid; flex: 1; }
.choice__price { font-weight: 700; white-space: nowrap; }
.checkout-login { padding: 12px 16px; background: var(--c-surface-2); border-radius: var(--radius-sm); }
.check--terms { font-size: .9rem; }
.secure-note { display: flex; gap: 6px; }
.checkout-header { border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.checkout-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.checkout-header__logo { text-decoration: none; }
.secure-badge { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--c-ok); font-weight: 600; }

/* Sipariş sonucu */
.order-hero { padding: 28px; border-radius: var(--radius); margin-bottom: 20px; }
.order-hero--ok { background: color-mix(in srgb, var(--c-ok) 10%, transparent); }
.order-hero--wait { background: #fef3c7; }
.order-hero--error { background: color-mix(in srgb, var(--c-sale) 10%, transparent); }
.order-hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
.bank-box { border: 1px dashed var(--c-line); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.bank-box dl { display: grid; grid-template-columns: 100px 1fr; gap: 6px 12px; }
.bank-box dd { margin: 0; }
.order-grid { display: grid; gap: 16px; margin-bottom: 24px; }
.order-items { list-style: none; padding: 0; margin: 0 0 12px; }
.order-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--c-line); font-size: .92rem; }
.order-items img { width: 56px; height: 70px; object-fit: cover; border-radius: 4px; }
.timeline { list-style: none; padding: 0 0 0 18px; border-left: 2px solid var(--c-line); margin: 16px 0; }
.timeline li { position: relative; padding: 0 0 14px 12px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); }
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--c-surface-2); }
.status--processing, .status--shipped { background: #dbeafe; color: #1e40af; }
.status--delivered, .status--completed { background: #dcfce7; color: #166534; }
.status--cancelled, .status--payment_failed, .status--refunded { background: #fee2e2; color: #991b1b; }
.status--pending_payment, .status--awaiting_payment { background: #fef3c7; color: #92400e; }

/* Hesap */
.auth-page { display: grid; place-items: center; padding: 32px var(--gutter); }
.auth-card { width: 100%; max-width: 460px; }
.account-layout { display: grid; gap: 24px; margin-bottom: 48px; }
.account-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.account-nav a, .account-nav button { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; background: var(--c-surface-2); font-size: .9rem; border: 0; }
.account-nav a[aria-current] { background: var(--c-accent); color: var(--c-accent-contrast); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { padding: 16px; border-radius: var(--radius); background: var(--c-surface-2); display: grid; }
.stat strong { font-size: 1.5rem; }
.h-small { font-size: 1.1rem; font-family: var(--font-body); }
.table-scroll { overflow-x: auto; }
.table, .compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td, .compare-table th, .compare-table td { padding: 12px 10px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.compare-table img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); }
.address-grid { display: grid; gap: 12px; }
.address-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px; }
.request-box { margin-top: 20px; }
.request-box summary { list-style: none; display: inline-flex; }
.request-box form { margin-top: 12px; max-width: 520px; }
.split-intro { display: grid; gap: 24px; padding: 24px 0 48px; }
.check-list { padding-left: 20px; }
.contact-grid { display: grid; gap: 24px; margin-bottom: 48px; }
.about-img { border-radius: var(--radius); margin: 16px 0 24px; }
.legal-note { background: #fef3c7; color: #78350f; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .88rem; }

/* Footer (temel) */
.site-footer { border-top: 1px solid var(--c-line); margin-top: 64px; padding-top: 40px; font-size: .92rem; }
.site-footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.site-footer__grid > div:first-child { grid-column: 1 / -1; }
.site-footer a { display: block; text-decoration: none; padding: 4px 0; color: var(--c-muted); }
.site-footer a:hover { color: var(--c-text); }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); margin-bottom: 10px; }
.footer-legal { border-top: 1px solid var(--c-line); margin-top: 32px; padding: 20px var(--gutter) 32px; font-size: .8rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; }
.footer-legal nav a { display: inline; padding: 0; }
.footer-legal .linklike { color: var(--c-muted); font-size: .8rem; }

/* Çerez */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; padding: 12px; }
.cookie__box { max-width: 720px; margin: 0 auto; background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.cookie__box h2 { font-size: 1.05rem; font-family: var(--font-body); }
.cookie__box p { font-size: .88rem; color: var(--c-muted); }
.cookie__prefs label { font-weight: 400; display: flex; gap: 10px; font-size: .9rem; margin: 8px 0; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; min-height: 42px; }

/* WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
body.is-checkout .wa-float { display: none; }

/* Test ödeme ekranı */
.mock-pay { background: #eef2f7; display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.mock-pay__box { background: #fff; max-width: 440px; width: 100%; border-radius: 14px; padding: 28px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.3); }
.mock-pay__box h1 { font-size: 1.35rem; }
.mock-pay__dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px; margin: 16px 0; }
.mock-pay__dl dd { margin: 0; }
.mock-pay__form { display: grid; gap: 10px; }
.mock-pay .btn--primary { background: #1d4ed8; color: #fff; }

/* ≥ 600px */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .address-grid, .order-grid { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: inline-grid; }
  .cookie { bottom: 16px; }
}
/* ≥ 960px */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: none; }
  .site-nav { display: flex; gap: 24px; margin-right: auto; }
  .site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
  .site-header__logo { margin-right: 24px; }
  .header-actions .search { display: block; width: 260px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-layout.has-filters { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
  .listing-layout.has-filters .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
  .filter-toggle { display: none; }
  .filters__actions { position: static; }
  .pdp { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
  .pdp__info { position: sticky; top: calc(var(--header-h) + 16px); }
  .cart-layout { grid-template-columns: 1fr 380px; gap: 40px; }
  .checkout { grid-template-columns: 1fr 400px; gap: 40px; }
  .checkout__side { position: sticky; top: 80px; display: grid; gap: 12px; }
  .account-layout { grid-template-columns: 220px 1fr; }
  .account-nav { flex-direction: column; overflow: visible; }
  .account-nav a, .account-nav button { border-radius: var(--radius-sm); text-align: left; }
  .split-intro, .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer__grid > div:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.mock-pay__form--fail { margin-top: 10px; }
.mobile-search { display: flex; gap: 8px; margin-bottom: 12px; } .mobile-search input { flex: 1; min-width: 0; } .mobile-search .btn { min-height: 48px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 1.1rem; }
@media (min-width: 960px) { .filters__head { display: none; } }
.gift-codes ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; } .gift-codes code, .invite-box code { font-size: 1rem; padding: 4px 8px; background: var(--c-surface-2); border-radius: 6px; word-break: break-all; } .rewards-points p { margin: 0 0 8px; } .invite-box { margin: 16px 0; }
.demo-hint { background: #FEF3C7; color: #78350F; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; margin-bottom: 16px; line-height: 1.6; } .demo-hint code { background: rgba(255,255,255,.6); padding: 1px 6px; border-radius: 4px; }
