/* Hatay'dan Sofrana — mağaza stilleri */
:root {
  --nar: #9B1B30;
  --nar-ink: #7A1426;
  --nar-soft: #F7E7E9;
  --olive: #55652B;
  --olive-soft: #EAEEDF;
  --ink: #2B1B14;
  --muted: #6E6259;
  --stone: #F1EDE6;
  --stone-2: #E9E3D9;
  --line: #E4DED4;
  --paper: #FFFFFF;
  --gold: #B07A1F;
  --danger: #B42318;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 64px;
  --bottom-h: 64px;
  --r-img: 14px;
  --r-btn: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
body.has-cart { padding-bottom: calc(var(--bottom-h) + 68px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.has-cart { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--nar) 55%, white); outline-offset: 2px; border-radius: 6px; }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- üst kısım ---------- */
.announce { background: var(--olive); color: #fff; text-align: center; font-size: .9rem; padding: 7px 16px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 8px; }
@media (min-width: 900px) { .header-in { gap: 24px; } }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { height: 34px; width: auto; max-width: calc(100vw - 140px); object-fit: contain; object-position: left center; }
.main-nav { display: none; gap: 22px; margin-left: 8px; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-link { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: var(--r-btn); }
.icon-link:hover { background: var(--stone); }
.icon-link .label { display: none; }
.badge { position: absolute; top: 2px; left: 24px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--nar); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.badge:empty { display: none; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .icon-link .label { display: inline; }
  .brand img { height: 56px; max-width: none; }
  :root { --header-h: 76px; }
}
.closed-bar { background: var(--nar-soft); color: var(--nar-ink); border-bottom: 1px solid #EBC9CE; }
.closed-bar .wrap { display: flex; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; font-weight: 600; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); border: 1px solid transparent; background: var(--nar); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--nar-ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--stone); }
.btn-olive { background: var(--olive); }
.btn-olive:hover { background: #46541F; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--nar); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- flash / toast ---------- */
.flash-stack { margin: 16px auto 0; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; font-weight: 600; }
.flash-success { background: var(--olive-soft); color: #3B4719; }
.flash-error { background: var(--nar-soft); color: var(--nar-ink); }
.toast { position: fixed; left: 50%; transform: translate(-50%, 20px); bottom: calc(var(--bottom-h) + 84px + env(safe-area-inset-bottom)); z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; max-width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- banner ---------- */
.hero { margin-top: 16px; }
.slider { position: relative; border-radius: 18px; overflow: hidden; background: var(--stone); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 10; color: #fff; text-decoration: none; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,6,0) 30%, rgba(20,10,6,.78) 100%); }
.slide-text { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; max-width: 520px; }
.slide-text h2 { font-size: clamp(1.35rem, 4.6vw, 2.3rem); margin-bottom: .25em; text-wrap: balance; }
@media (max-width: 519px) { .slide-text p { display: none; } .slide-text h2 { margin-bottom: .45em; } }
.slide-text p { margin: 0 0 14px; opacity: .92; max-width: 42ch; }
.slide-text .btn { min-height: 42px; background: #fff; color: var(--ink); }
.slide-text .btn:hover { background: var(--stone); }
.dots { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; gap: 6px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.dots button[aria-current="true"] { background: #fff; width: 22px; border-radius: 5px; }
@media (min-width: 720px) {
  .slide { aspect-ratio: 3.3 / 1; }
  .slide::after { background: linear-gradient(90deg, rgba(20,10,6,.74) 0%, rgba(20,10,6,.35) 48%, rgba(20,10,6,0) 72%); }
  .slide-text { left: 48px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .slide img { object-position: center 32%; }
}

/* ---------- işletme kartı ---------- */
.store-card { margin-top: 14px; background: var(--stone); border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; }
.store-card > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px; }
.store-card > div + div { border-left: 1px solid var(--stone-2); }
.store-card > div:nth-child(3) { border-left: 0; }
.store-card > div:nth-child(n+3) { border-top: 1px solid var(--stone-2); }
.store-card .icon { color: var(--olive); margin-top: 2px; }
.store-card dt { font-size: .85rem; color: var(--muted); }
.store-card dd { margin: 0; font-weight: 700; line-height: 1.3; }
.store-card dd .small { font-weight: 400; }
@media (min-width: 900px) {
  .store-card { grid-template-columns: repeat(4, 1fr); }
  .store-card > div { padding: 18px 20px; }
  .store-card > div:nth-child(3) { border-left: 1px solid var(--stone-2); }
  .store-card > div:nth-child(n+3) { border-top: 0; }
}

/* ---------- kategori şeridi ---------- */
.cat-bar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,.97); margin-top: 18px; border-bottom: 1px solid var(--line); }
.cat-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; color: var(--muted); }
.chip:hover { color: var(--ink); border-color: #CFC6B8; }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- ürünler ---------- */
.cat-section { padding-top: 26px; }
.cat-section h2 { margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; }
.card-top { position: relative; }
.card-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-img); overflow: hidden; background: var(--stone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding-top: 10px; }
.card-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; line-height: 1.2; text-decoration: none; display: block; }
.card-summary { color: var(--muted); font-size: .9rem; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 700; font-size: 1.05rem; }
.price del { color: var(--muted); font-weight: 400; font-size: .9rem; margin-left: 6px; }
.price small { font-weight: 600; color: var(--muted); font-size: .85rem; }
@media (max-width: 719px) { .price small { display: block; font-size: .8rem; margin-top: -2px; } }
.add-btn { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--nar); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(80,10,20,.28); transition: transform .15s, background .15s; }
.add-btn:hover { background: var(--nar-ink); }
.add-btn:active { transform: scale(.92); }
.add-btn .icon { width: 24px; height: 24px; }
.sold-out { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(43,27,20,.82); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card.is-sold-out .card-media img { filter: grayscale(.6); opacity: .75; }
.empty-state { text-align: center; padding: 48px 16px; }
.empty-state .icon { width: 44px; height: 44px; color: var(--muted); margin: 0 auto 12px; }

/* ---------- seçenek paneli (alttan açılır) ---------- */
dialog.sheet { border: 0; padding: 0; width: 100%; max-width: 480px; margin: auto auto 0; border-radius: 20px 20px 0 0; background: #fff; color: var(--ink); }
dialog.sheet::backdrop { background: rgba(30,18,12,.5); }
@media (min-width: 720px) { dialog.sheet { margin: auto; border-radius: 20px; } }
.sheet-in { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.sheet-head img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.sheet-head h3 { margin: 0; }
.sheet-close { margin-left: auto; align-self: flex-start; border: 0; background: var(--stone); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.options { display: grid; gap: 8px; margin-bottom: 16px; }
.option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--nar); background: var(--nar-soft); }
.option input { accent-color: var(--nar); width: 18px; height: 18px; }
.option .opt-name { font-weight: 600; }
.option .opt-price { margin-left: auto; font-weight: 700; }
.option.is-disabled { opacity: .45; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-btn); height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty input { width: 40px; text-align: center; border: 0; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sheet-actions { display: flex; gap: 10px; }
.sheet-actions .btn { flex: 1; }

/* ---------- alt menü (mobil) ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: .78rem; font-weight: 600; color: var(--muted); }
.bottom-nav a[aria-current="page"] { color: var(--nar); }
.bottom-nav .badge { top: 6px; left: calc(50% + 4px); }
@media (min-width: 900px) { .bottom-nav { display: none; } }
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottom-h) + 10px + env(safe-area-inset-bottom)); z-index: 49; display: none; align-items: center; gap: 12px; padding: 0 16px; height: 56px; border-radius: 14px; background: var(--nar); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px rgba(80,10,20,.3); }
body.has-cart .cart-bar { display: flex; }
.cart-bar .count { background: rgba(255,255,255,.2); border-radius: 8px; padding: 2px 9px; }
.cart-bar .go { margin-left: auto; display: flex; align-items: center; gap: 6px; }
@media (min-width: 900px) { body.has-cart .cart-bar { display: none; } }

/* ---------- alt bilgi ---------- */
.site-footer { margin-top: 64px; background: var(--ink); color: #E9E1D8; padding: 40px 0 28px; }
.site-footer a { color: #E9E1D8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { font-size: 1.05rem; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #BFB3A8; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.pay-note { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- sayfa iskeletleri ---------- */
.page { padding-top: 24px; }
.page-narrow { max-width: 720px; }
.page-head { margin-bottom: 20px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.prose { max-width: 70ch; font-size: 1.02rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.prose mark { background: #FFF2C6; padding: 0 3px; }
.panel { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; }
.panel + .panel { margin-top: 16px; }
.panel-stone { background: var(--stone); border-color: transparent; }

/* ---------- ürün sayfası ---------- */
.product-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; } }
.product-media { border-radius: 18px; overflow: hidden; background: var(--stone); aspect-ratio: 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info .summary { font-size: 1.08rem; color: var(--muted); }
.product-info .price-big { font-size: 1.6rem; font-weight: 700; margin: 12px 0 18px; }
.buy-row { display: flex; gap: 10px; margin-top: 4px; }
.buy-row .btn { flex: 1; }
.trust { margin-top: 20px; display: grid; gap: 10px; font-size: .95rem; }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust .icon { color: var(--olive); }
.rating { color: var(--gold); display: inline-flex; gap: 1px; }
.rating .icon { width: 17px; height: 17px; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }

/* ---------- formlar ---------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: .87rem; color: var(--muted); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #D6CEC2; border-radius: var(--r-btn); background: #fff; }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: 2px solid var(--nar); outline-offset: 0; border-color: var(--nar); }
.field.has-error .input { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--nar); flex: none; }
.auth-box { max-width: 440px; margin: 0 auto; }
.or-line { text-align: center; color: var(--muted); margin: 18px 0; font-size: .95rem; }

/* ---------- sepet ---------- */
.cart-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 380px; align-items: start; } .summary-box { position: sticky; top: calc(var(--header-h) + 20px); } }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.line-name { font-weight: 700; text-decoration: none; }
.line-meta { color: var(--muted); font-size: .9rem; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line .qty { height: 40px; }
.line .qty button { width: 36px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.15rem; font-weight: 700; }
.ship-hint { background: var(--olive-soft); color: #3B4719; border-radius: 10px; padding: 10px 12px; font-size: .92rem; margin: 10px 0; }
.progress { height: 6px; border-radius: 3px; background: rgba(85,101,43,.2); margin-top: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--olive); }

/* ---------- ödeme ---------- */
.step { margin-bottom: 18px; }
.step h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: .9rem; display: grid; place-items: center; }
.addr-list { display: grid; gap: 10px; margin-bottom: 12px; }
.addr { display: flex; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.addr:has(input:checked) { border-color: var(--nar); background: var(--nar-soft); }
.addr input { accent-color: var(--nar); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.addr .addr-title { font-weight: 700; }
.seg { display: inline-flex; background: var(--stone); padding: 4px; border-radius: 12px; margin-bottom: 14px; }
.seg label { padding: 8px 16px; border-radius: 9px; cursor: pointer; font-weight: 600; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.secure-note { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ---------- hesabım ---------- */
.account-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; scrollbar-width: none; }
.account-tabs a { padding: 10px 14px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.account-tabs a[aria-current="page"] { color: var(--ink); border-color: var(--nar); }
.order-row { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.order-row + .order-row { margin-top: 10px; }
.order-row:hover { border-color: #CFC6B8; }
.order-row .meta { color: var(--muted); font-size: .9rem; }
.order-row .right { margin-left: auto; text-align: right; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--stone); color: var(--ink); }
.status-yeni { background: #E5EEF9; color: #1D4F8A; }
.status-hazirlaniyor { background: #FFF1D6; color: #8A5A00; }
.status-kargoda { background: #E8E5F9; color: #4A3A9C; }
.status-teslim_edildi { background: var(--olive-soft); color: #3B4719; }
.status-iptal { background: var(--nar-soft); color: var(--nar-ink); }
.status-odeme_bekleniyor { background: #F3EFE9; color: var(--muted); }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-btn); background: #1F8F4E; color: #fff; font-weight: 700; text-decoration: none; }
.wa-btn:hover { background: #18773F; }
.wa-icon { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #D6CEC2; }
.timeline li::after { content: ""; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: #E4DED4; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done::before { background: var(--olive); }
.timeline li.current::before { background: var(--nar); box-shadow: 0 0 0 4px var(--nar-soft); }
.two-col { display: grid; gap: 16px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; }
.stars-input label { cursor: pointer; color: #D6CEC2; }
.stars-input label .icon { width: 32px; height: 32px; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--gold); }

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

/* ---------- üyeliksiz sipariş ---------- */
.guest-box { display: flex; gap: 14px; align-items: flex-start; background: var(--olive-soft); border: 2px solid #C9D3AE; border-radius: 16px; padding: 18px 20px; margin-bottom: 20px; font-size: 1.05rem; }
.guest-box p { margin: 0 0 6px; }
.guest-box .guest-title { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: #33401A; }
.guest-icon { width: 30px; height: 30px; color: #fff; background: var(--olive); border-radius: 50%; padding: 5px; flex: none; }
.no-signup { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 10px 0 0; font-weight: 600; color: #3B4719; font-size: .95rem; }
.no-signup .icon { width: 18px; height: 18px; }
.guest-tag { display: inline-block; background: #F1EDE6; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 1px 8px; vertical-align: middle; }

/* ---------- Siparişlerim / kargo takibi ---------- */
.lookup-box { max-width: 560px; margin: 0 auto; }
.wa-hero { background: #EAF6EF; border: 2px solid #B8DEC7; border-radius: 16px; padding: 22px 20px; text-align: center; margin-bottom: 16px; }
.wa-hero p { margin: 0 0 12px; font-size: 1.05rem; }
.wa-hero .wa-hero-title { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: #145A32; margin-bottom: 6px; }
.wa-big { min-height: 56px; padding: 0 28px; font-size: 1.15rem; border-radius: 14px; width: 100%; max-width: 360px; }
.wa-big .icon { width: 26px; height: 26px; }
.lookup-more { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 16px; background: #fff; }
.lookup-more summary { cursor: pointer; font-weight: 600; }
.lookup-more[open] summary { margin-bottom: 10px; }
.track-box { background: var(--stone); border-radius: 14px; padding: 16px; margin: 0 0 14px; }
.track-box .icon { vertical-align: -5px; color: var(--olive); }
.track-no { font-size: 1.1rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.track-actions .btn { flex: 1 1 auto; }

/* ---------- ödeme logoları ---------- */
.pay-band { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: center; }
.pay-band img { height: 28px; width: auto; max-width: 100%; }
.pay-band-light { display: block; height: 22px; width: auto; max-width: 100%; margin: 14px auto 0; }

/* ---------- üst menü: logo ortada (masaüstü) ---------- */
@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .header-in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "nav brand actions"; gap: 20px; }
  .brand { grid-area: brand; justify-self: center; }
  .brand img { height: 50px; }
  .main-nav { grid-area: nav; margin-left: 0; justify-self: start; gap: 18px; }
  .header-actions { grid-area: actions; margin-left: 0; justify-self: end; }
}
@media (min-width: 1100px) {
  :root { --header-h: 96px; }
  .brand img { height: 68px; }
  .main-nav { gap: 22px; }
}

/* ---------- telefonda sipariş bilgileri: ince şerit ---------- */
.info-strip { display: none; }
@media (max-width: 719px) {
  .store-card { display: none; }
  .info-strip { display: flex; gap: 8px; list-style: none; margin: 12px -16px 0; padding: 0 16px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .info-strip::-webkit-scrollbar { display: none; }
  .info-strip li { flex: none; display: flex; align-items: center; gap: 7px; background: var(--stone); border-radius: 999px; padding: 7px 13px 7px 10px; font-size: .88rem; color: var(--muted); white-space: nowrap; }
  .info-strip li strong { color: var(--ink); font-weight: 700; }
  .info-strip .icon { width: 17px; height: 17px; color: var(--olive); }
  .info-strip li:last-child { margin-right: 24px; }
}

/* ---------- bilgisayarda da ince bilgi şeridi + daha basık banner ---------- */
@media (min-width: 720px) {
  .store-card { display: none; }
  .info-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; list-style: none; margin: 14px 0 0; padding: 12px 20px; background: var(--stone); border-radius: 12px; }
  .info-strip li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--muted); white-space: nowrap; }
  .info-strip li strong { color: var(--ink); font-weight: 700; }
  .info-strip .icon { width: 18px; height: 18px; color: var(--olive); }
  .slide { aspect-ratio: 3.9 / 1; max-height: max(220px, 34vh); }
  .cat-bar { margin-top: 10px; }
  .cat-section { padding-top: 18px; }
}
