/* =========================================================
   GASTRO QR MENÜ: müşteri arayüzü
   ========================================================= */
:root {
  --brand: #b5532f;
  --on-brand: #fff;
  --brand-soft: color-mix(in srgb, var(--brand) 10%, transparent);
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-2: #f3efe9;
  --ink: #1a1714;
  --muted: #756d64;
  --faint: #a39a8f;
  --line: #ebe5dd;
  --ok: #2f7d4f;
  --danger: #b93a32;
  --green: #3d7a4a;
  --amber: #a66a12;
  --red: #b3412f;
  --violet: #6b4fa8;
  --shadow: 0 1px 2px rgba(26, 23, 20, .04), 0 8px 28px rgba(26, 23, 20, .08);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .28);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tabs-h: 50px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0d0c; --surface: #181614; --surface-2: #211e1b; --ink: #f3eee7; --muted: #a0978c; --faint: #6f675e; --line: #2a2622;
    --green: #7cc190; --amber: #e0a852; --red: #ec8a78; --violet: #b9a2ec;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0d0c; --surface: #181614; --surface-2: #211e1b; --ink: #f3eee7; --muted: #a0978c; --faint: #6f675e; --line: #2a2622;
  --green: #7cc190; --amber: #e0a852; --red: #ec8a78; --violet: #b9a2ec;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--tabs-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; font-feature-settings: 'cv11', 'ss01';
}
body.locked { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { flex: none; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); font-optical-sizing: auto; }
.num { font-variant-numeric: tabular-nums; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Kapak ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 62%),
    radial-gradient(60% 60% at 100% 100%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    #15120f;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
}
.hero.has-cover::before {
  background: linear-gradient(180deg, rgba(10,8,6,.45) 0%, rgba(10,8,6,.35) 40%, rgba(10,8,6,.82) 100%); mask-image: none;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.on { opacity: 1; animation: kenburns 10s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 14px 20px 58px; }
.hero-top { display: flex; align-items: center; gap: 8px; min-height: 38px; }
.hero-top .grow { flex: 1; }
.glass-btn {
  height: 36px; min-width: 36px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: 12.5px; letter-spacing: .02em;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .2s;
}
.glass-btn:hover { background: rgba(255,255,255,.2); }
.glass-btn svg { width: 16px; height: 16px; }
.table-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; background: #fff; color: #15120f;
}
.table-tag svg { width: 14px; height: 14px; }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 22px; }
.logo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 10px 30px rgba(0,0,0,.35); }
.logo.mono { display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); box-shadow: none; font-family: var(--serif); font-size: 28px; font-weight: 500; color: #fff; }
.brand h1 { margin: 18px 0 0; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: 36px; line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.brand .slogan { margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: 14.5px; max-width: 440px; text-wrap: balance; }
.meta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 2px; margin-top: 20px; }
.meta-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.88); }
.meta-link:hover { background: rgba(255,255,255,.08); }
.meta-link svg { width: 15px; height: 15px; opacity: .8; }
.meta-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.35); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.hero-dots button { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.hero-dots button.on { width: 18px; background: #fff; }
.sheet-edge { position: relative; z-index: 3; height: 24px; margin-top: -24px; background: var(--bg); border-radius: 24px 24px 0 0; }

/* ---------- Duyuru & öne çıkanlar ---------- */
.announce {
  display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 8px; padding: 13px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.45;
}
.announce i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 7px; flex: none; box-shadow: 0 0 0 4px var(--brand-soft); }
.label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
.promos { margin: 18px 0 4px; }
.promos .label { display: block; margin-bottom: 10px; }
.promo-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; }
.promo-row::-webkit-scrollbar { display: none; }
.promo-card {
  position: relative; flex: none; width: 78%; max-width: 320px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; scroll-snap-align: start;
  background: #15120f center / cover; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px;
  padding: 16px; text-align: start; color: #fff;
}
.promo-row .promo-card:only-child { width: 100%; max-width: none; aspect-ratio: 21 / 9; }
.promo-card.noimg { background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--brand) 70%, transparent), transparent 60%), #1d1916; }
.promo-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.72)); }
.promo-card > * { position: relative; }
.promo-card b { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.promo-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.promo-kicker::before { content: ''; width: 14px; height: 1.5px; background: currentColor; }
.promo-card:active { transform: scale(.985); }

/* ---------- Arama ---------- */
.searchbar { margin-top: 18px; }
.search {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: color-mix(in srgb, var(--ink) 35%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 6%, transparent); }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; font-size: 15px; }
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { display: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); place-items: center; color: var(--muted); }
.search.has-value .clear { display: grid; }
.search .clear svg { width: 13px; height: 13px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px -20px 0; padding: 0 20px 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); color: var(--muted); background: transparent; transition: all .15s;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.green i { color: var(--green); } .chip.amber i { color: var(--amber); } .chip.red i { color: var(--red); } .chip.violet i { color: var(--violet); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.on i { color: var(--bg); }

/* ---------- Kategori sekmeleri (yapışkan) ---------- */
.tabs-bar {
  position: sticky; top: 0; z-index: 20; margin-top: 14px; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line);
}
.tabs-inner { max-width: 720px; margin: 0 auto; display: flex; align-items: stretch; height: var(--tabs-h); }
.tabs-search { flex: none; width: 50px; display: grid; place-items: center; color: var(--muted); border-inline-end: 1px solid var(--line); }
.tabs-search svg { width: 18px; height: 18px; }
.tabs { flex: 1; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 0 20px; scroll-padding: 0 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted);
  white-space: nowrap; transition: color .2s;
}
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .25s ease; }
.tab.active { color: var(--ink); font-weight: 600; }
.tab.active::after { transform: scaleX(1); }
.tabs-bar.hidden { display: none; }

/* ---------- Ürün listesi ---------- */
.section { padding-top: 34px; }
.section-head { margin-bottom: 6px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: 27px; letter-spacing: -.015em; line-height: 1.15; display: flex; align-items: center; gap: 10px; }
.section-head .count { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .04em; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.cat-banner { aspect-ratio: 21 / 8; border-radius: 16px; background: var(--surface-2) center / cover; margin: 14px 0 4px; }

.item {
  position: relative; display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: opacity .2s;
}
.item:last-child { border-bottom: 0; }
.item:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
.item .desc {
  margin: 5px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.old-price { color: var(--faint); font-size: 13px; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.save { font-size: 11px; font-weight: 700; color: var(--danger); letter-spacing: .02em; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag.green { color: var(--green); } .tag.amber { color: var(--amber); } .tag.red { color: var(--red); } .tag.violet { color: var(--violet); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); opacity: .7; }

.item-media { position: relative; flex: none; width: 108px; height: 108px; }
.item-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.add {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .15s, background .2s, color .2s; font-weight: 700; font-size: 13px;
}
.add svg { width: 16px; height: 16px; }
.add:active { transform: scale(.9); }
.add.has { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.item-media .add { position: absolute; inset-inline-end: -6px; bottom: -6px; }
.item-side { flex: none; display: flex; align-items: flex-end; }
.item.soldout { cursor: default; }
.item.soldout h3, .item.soldout .desc { color: var(--faint); }
.item.soldout img { filter: grayscale(1); opacity: .55; }
.soldout-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

@media (min-width: 720px) {
  .item-media { width: 128px; height: 128px; }
}

.results-head { padding: 26px 0 4px; display: flex; justify-content: space-between; align-items: baseline; }
.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty svg { width: 36px; height: 36px; color: var(--faint); margin-bottom: 12px; }
.empty strong { display: block; color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 4px; }

.footer { text-align: center; color: var(--muted); font-size: 12.5px; padding: 48px 20px calc(130px + var(--safe-b)); }
.footer .fb-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink);
}
.footer .fb-btn svg { width: 16px; height: 16px; }
.footer .fname { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.footer p { margin: 4px 0; }

/* ---------- Alt çubuk ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; pointer-events: none; padding: 0 16px calc(14px + var(--safe-b)); }
.dock-inner { max-width: 688px; margin: 0 auto; display: flex; gap: 10px; align-items: flex-end; justify-content: flex-end; }
.dock-inner > * { pointer-events: auto; }
.cart-bar {
  flex: 1; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 18px; border-radius: 16px;
  background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 15px; box-shadow: 0 12px 32px color-mix(in srgb, var(--brand) 40%, transparent);
  animation: rise .3s ease;
}
.cart-bar .count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--on-brand) 18%, transparent); font-size: 13px; font-variant-numeric: tabular-nums; }
.cart-bar .cart-label { flex: 1; text-align: start; }
.cart-bar .sum { padding: 9px 13px; border-radius: 11px; background: color-mix(in srgb, var(--on-brand) 14%, transparent); font-variant-numeric: tabular-nums; }
.cart-bar.bump { animation: bump .35s ease; }
.fab {
  position: relative; flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.fab svg { width: 22px; height: 22px; }
.fab .dot { position: absolute; top: 12px; inset-inline-end: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--surface); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.03); } }

/* ---------- Alt sayfa / popup ---------- */
#sheet-root { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
#sheet-root.open { pointer-events: auto; }
.backdrop { position: absolute; inset: 0; background: rgba(10, 8, 6, .55); opacity: 0; transition: opacity .25s; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
#sheet-root.open .backdrop { opacity: 1; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; margin: 0 auto; max-width: 600px;
  background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(100%); transition: transform .34s cubic-bezier(.2, .9, .25, 1);
}
#sheet-root.open .sheet { transform: none; }
@media (min-width: 700px) {
  .sheet { bottom: 50%; border-radius: 22px; transform: translateY(calc(50% + 40px)); opacity: 0; transition: transform .3s cubic-bezier(.2,.9,.25,1), opacity .2s; max-height: 88vh; }
  #sheet-root.open .sheet { transform: translateY(50%); opacity: 1; }
}
.sheet.center {
  left: 16px; right: 16px; bottom: 50%; max-width: 400px; border-radius: 22px; max-height: 86vh; max-height: 86dvh;
  transform: translateY(calc(50% + 30px)) scale(.97); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.25,1), opacity .25s;
}
#sheet-root.open .sheet.center { transform: translateY(50%); opacity: 1; }
.sheet-grip { position: absolute; top: 8px; left: 50%; translate: -50% 0; z-index: 3; width: 36px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.sheet.center .sheet-grip { display: none; }
.sheet-close {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); color: var(--ink);
}
.sheet-close svg { width: 16px; height: 16px; }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.pad { padding: 28px 22px 22px; }
.sheet h2 { margin: 0; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -.015em; padding-inline-end: 40px; text-wrap: balance; }
.sheet .sub { color: var(--muted); margin: 8px 0 18px; font-size: 14px; }
.sheet-foot { flex: none; padding: 14px 22px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--surface); }
.sheet.center .sheet-foot { padding-bottom: 16px; }

.pd-img { aspect-ratio: 16 / 11; background: var(--surface-2); max-height: 44vh; width: 100%; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { margin-bottom: 8px; }
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pd-head h2 { padding-inline-end: 0; }
.pd-price { text-align: end; flex: none; padding-top: 4px; }
.pd-price .price { font-size: 19px; display: block; }
.pd-desc { color: var(--muted); margin: 14px 0 0; font-size: 15px; line-height: 1.6; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fact { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.fact svg { width: 15px; height: 15px; color: var(--muted); }
.fact small { color: var(--muted); }
.block { margin-top: 26px; }
.block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pill-req { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pill-req.need { background: var(--ink); color: var(--bg); }
.allergen-list { display: flex; flex-wrap: wrap; gap: 6px; }
.allergen { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; }
.opt-group.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.opt { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:last-child { border-bottom: 0; }
.opt input { appearance: none; width: 20px; height: 20px; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 50%; margin: 0; flex: none; display: grid; place-items: center; transition: all .15s; }
.opt input[type="checkbox"] { border-radius: 6px; }
.opt input:checked { border-color: var(--ink); background: var(--ink); }
.opt input:checked::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); }
.opt input[type="checkbox"]:checked::after { width: 9px; height: 5px; border-radius: 0; background: none; border: solid var(--bg); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.opt span { flex: 1; font-size: 15px; }
.opt small { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); outline: 0; resize: vertical; font-size: 15px; transition: border-color .15s; }
.field:focus { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.field::placeholder { color: var(--faint); }

.buy-row { display: flex; gap: 10px; align-items: center; }
.stepper { display: flex; align-items: center; height: 52px; border-radius: 14px; border: 1px solid var(--line); flex: none; }
.stepper button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--ink); }
.stepper button svg { width: 16px; height: 16px; }
.stepper b { min-width: 20px; text-align: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper.sm { height: 34px; border-radius: 10px; }
.stepper.sm button { width: 32px; }
.stepper.sm b { font-size: 14px; }
.btn {
  flex: 1; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 15.5px; padding: 0 18px; transition: transform .1s, opacity .2s;
}
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.ghost { background: var(--surface-2); color: var(--ink); }
.btn.block { width: 100%; }
.btn .sep { width: 1px; height: 18px; background: currentColor; opacity: .3; }

.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line h4 { margin: 0; font-size: 15px; font-weight: 600; }
.cart-line .opts { color: var(--muted); font-size: 13px; margin-top: 3px; }
.cart-line .note { font-size: 13px; margin-top: 3px; color: var(--muted); font-style: italic; }
.cart-line .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.summary { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.summary b { font-size: 20px; font-variant-numeric: tabular-nums; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.notice svg { width: 17px; height: 17px; margin-top: 1px; }

.actions { display: grid; gap: 10px; }
.action { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); text-align: start; width: 100%; transition: background .15s; }
.action:active { background: var(--surface-2); }
.action .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); flex: none; }
.action .ic svg { width: 22px; height: 22px; }
.action b { display: block; font-size: 15.5px; font-weight: 600; }
.action small { color: var(--muted); font-size: 13px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-grid .action { flex-direction: column; text-align: center; padding: 22px 12px; }

.stars { display: flex; justify-content: center; gap: 8px; margin: 6px 0 20px; }
.stars button { color: var(--line); transition: transform .15s, color .15s; }
.stars button svg { width: 38px; height: 38px; }
.stars button.on { color: #d9a441; transform: scale(1.05); }

.list { display: grid; }
.list-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; flex: none; color: var(--muted); }
.list-item .ic svg { width: 18px; height: 18px; }
.list-item div { flex: 1; min-width: 0; }
.list-item small { display: block; color: var(--muted); font-size: 12px; }
.list-item b { font-size: 15px; font-weight: 500; word-break: break-word; }
.small-btn { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: 13px; white-space: nowrap; }
.lang-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 2px; border-bottom: 1px solid var(--line); text-align: start; font-size: 16px; }
.lang-item:last-child { border-bottom: 0; }
.lang-item code { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); width: 36px; }
.lang-item span { flex: 1; }
.lang-item svg { width: 18px; height: 18px; color: var(--ink); }

.order-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.order-card .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.order-card .top b { font-size: 15px; }
.order-card .top small { color: var(--muted); font-variant-numeric: tabular-nums; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress .step { font-size: 11.5px; font-weight: 600; color: var(--faint); }
.progress .bar { height: 4px; border-radius: 2px; background: var(--surface-2); margin-bottom: 8px; overflow: hidden; }
.progress .step.done .bar { background: var(--ok); }
.progress .step.current .bar { background: linear-gradient(90deg, var(--ink) 0 50%, var(--surface-2) 50% 100%); background-size: 200% 100%; animation: load 1.3s linear infinite; }
.progress .step.done, .progress .step.current { color: var(--ink); }
@keyframes load { from { background-position: 100% 0; } to { background-position: 0 0; } }
.cancelled { color: var(--danger); font-weight: 600; }

.success { text-align: center; padding: 8px 0 18px; }
.success .check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; border: 1.5px solid var(--ok); display: grid; place-items: center; color: var(--ok); animation: pop .45s cubic-bezier(.2,1.4,.4,1); }
.success .check svg { width: 30px; height: 30px; }
.success h2 { padding: 0; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

.promo-media { position: relative; aspect-ratio: 4 / 3; max-height: 44vh; overflow: hidden; background: #15120f; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-media.ph { aspect-ratio: 16 / 7; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 75%, transparent), transparent 60%), #1d1916; }
.promo-body .kicker { color: var(--brand); margin-bottom: 10px; display: block; }
.promo-text { color: var(--muted); margin: 12px 0 0; font-size: 15px; line-height: 1.6; white-space: pre-line; }
.promo-product { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-weight: 500; }
.promo-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.promo-nav button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.promo-nav button svg { width: 18px; height: 18px; }
.promo-dots { display: flex; gap: 6px; }
.promo-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .3s; }
.promo-dots span.on { width: 16px; background: var(--ink); }

#toast {
  position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); z-index: 60; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 12px; font-weight: 500; font-size: 14px; box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); text-align: center; display: flex; gap: 8px; align-items: center;
}
#toast svg { width: 16px; height: 16px; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

[dir="rtl"] .opt input[type="checkbox"]:checked::after { transform: rotate(-45deg) translate(-1px, -1px); }
[dir="rtl"] .promo-nav, [dir="rtl"] .hero-dots { direction: ltr; }

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

/* Wi-Fi kartı: şifre + QR kod */
.wifi-card { display: flex; gap: 16px; align-items: stretch; padding: 16px; margin: 6px 0; border-radius: 16px; background: var(--surface-2); }
.wifi-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wifi-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--muted); }
.wifi-head .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--surface); display: grid; place-items: center; }
.wifi-head .ic svg { width: 16px; height: 16px; }
.wifi-head small { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.wifi-ssid { font-size: 16px; font-weight: 600; word-break: break-word; }
.wifi-label { margin-top: 10px; color: var(--muted); font-size: 12px; }
.wifi-pass { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wifi-pass code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 17px; font-weight: 600; letter-spacing: .04em; color: var(--ink); background: var(--surface); padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--line); word-break: break-all; user-select: all; }
.wifi-pass .small-btn { min-height: 36px; }
.wifi-hint { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.wifi-qr { flex: none; align-self: center; width: 118px; height: 118px; padding: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; cursor: zoom-in; transition: width .25s ease, height .25s ease; }
.wifi-qr img { width: 100%; height: 100%; display: block; }
.wifi-qr .spinner { width: 22px; height: 22px; border-color: #e5e5e5; border-top-color: #111; }
.wifi-qr.big { width: 220px; height: 220px; cursor: zoom-out; }
.wifi-card:has(.wifi-qr.big) { flex-direction: column; align-items: center; text-align: center; }
.wifi-card:has(.wifi-qr.big) .wifi-info { align-items: center; }
.wifi-card:has(.wifi-qr.big) .wifi-qr { order: -1; }
.wifi-card:has(.wifi-qr.big) .wifi-head { justify-content: center; }
@media (max-width: 360px) { .wifi-qr { width: 96px; height: 96px; } }

/* Çoklu ürün görseli (kaydırmalı galeri) */
.pd-gallery { position: relative; }
.pd-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pd-track::-webkit-scrollbar { display: none; }
.pd-track img { flex: 0 0 100%; scroll-snap-align: center; }
.pd-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pd-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: all .2s; }
.pd-dots i.on { width: 18px; background: #fff; }

/* Fix menü */
.set-badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 99px; background: color-mix(in srgb, var(--accent, var(--ink)) 12%, transparent); color: var(--accent, var(--ink)); white-space: nowrap; }
.item-foot .set-badge + .price { margin-left: 2px; }
.set-opt { gap: 12px; }
.opt-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--surface-2); }
.set-course .opt input[hidden] { display: none; }
.opt small.incl { color: var(--green, #16a34a); font-weight: 700; }
.opt.off { opacity: .45; cursor: not-allowed; }
.opt-out { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red, #dc2626); margin-left: 6px; }
.set-save { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--green, #16a34a) 10%, transparent); font-size: 14px; }
.set-save svg { width: 18px; height: 18px; flex: none; color: var(--green, #16a34a); }
.set-save s { color: var(--muted); }
.set-save b { color: var(--green, #16a34a); }
