/* =========================================================
   OGZ Coffee — QR Menü · iOS tarzı arayüz
   ========================================================= */

:root {
  color-scheme: light dark;

  /* iOS system colors — light */
  --bg: #F2F2F7;
  --bg-elevated: #FFFFFF;
  --cell: #FFFFFF;
  --cell-pressed: #E5E5EA;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.2);
  --label: #000000;
  --label-2: rgba(60, 60, 67, 0.6);
  --label-3: rgba(60, 60, 67, 0.3);
  --separator: rgba(60, 60, 67, 0.29);
  --accent: #8D6A43;           /* OGZ espresso — systemBrown'un okunaklı tonu */
  --accent-soft: rgba(162, 132, 94, 0.14);
  --hot: #FF9500;
  --cold: #32ADE6;

  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.03);
  --bar-bg: rgba(242, 242, 247, 0.78);

  --t-brown: #A2845E;
  --t-orange: #FF9500;
  --t-indigo: #5856D6;
  --t-teal: #30B0C7;
  --t-pink: #FF2D55;
  --t-yellow: #FFB800;
  --t-green: #34C759;
  --t-red: #FF3B30;

  --radius-cell: 12px;
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --gutter: 16px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Inter", system-ui, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elevated: #1C1C1E;
    --cell: #1C1C1E;
    --cell-pressed: #2C2C2E;
    --fill: rgba(118, 118, 128, 0.24);
    --fill-2: rgba(118, 118, 128, 0.32);
    --label: #FFFFFF;
    --label-2: rgba(235, 235, 245, 0.6);
    --label-3: rgba(235, 235, 245, 0.3);
    --separator: rgba(84, 84, 88, 0.6);
    --accent: #D2AE82;
    --accent-soft: rgba(210, 174, 130, 0.16);
    --hot: #FF9F0A;
    --cold: #64D2FF;

    --glass-bg: rgba(44, 44, 46, 0.58);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --bar-bg: rgba(0, 0, 0, 0.72);

    --t-brown: #AC8E68;
    --t-orange: #FF9F0A;
    --t-indigo: #5E5CE6;
    --t-teal: #40C8E0;
    --t-pink: #FF375F;
    --t-yellow: #FFC60A;
    --t-green: #30D158;
    --t-red: #FF453A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--safe-top) + 64px); }
html, body { margin: 0; background: var(--bg); }
html.sheet-open { overflow: hidden; }
html.sheet-open body { background: #000; }
body {
  font-family: var(--font);
  color: var(--label);
  font-size: 17px;
  line-height: 1.29;
  letter-spacing: -0.41px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; }
[hidden] { display: none !important; }

#app {
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(110px + var(--safe-bottom));
  transition: transform 0.5s var(--ease-ios), border-radius 0.5s var(--ease-ios), filter 0.5s var(--ease-ios);
  will-change: auto;
}
html.sheet-open #app {
  transform: scale(0.94);
  border-radius: 14px;
  overflow: hidden;
  filter: brightness(0.92);
}

/* ---------- Hero / large title ---------- */
.hero {
  position: relative;
  padding: calc(var(--safe-top) + 6px) var(--gutter) 8px;
  max-width: 720px;
  margin: 0 auto;
}
.hero-glow {
  position: absolute;
  inset: -40px -20% auto;
  height: 300px;
  background:
    radial-gradient(60% 70% at 50% 30%, rgba(162, 132, 94, 0.22), transparent 70%),
    radial-gradient(40% 50% at 80% 10%, rgba(255, 149, 0, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.back {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 2px;
  height: 36px;
  margin-left: -8px;
  padding: 0 10px 0 2px;
  border-radius: 999px;
  color: var(--accent);
  font-size: 17px; letter-spacing: -0.41px;
  transition: opacity 0.2s;
}
.back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.back:active { opacity: 0.4; transition: none; }
.logo {
  position: relative;
  z-index: 1;
  width: min(200px, 54vw);
  aspect-ratio: 416 / 199;
  margin: -2px auto 16px;
  background: var(--label);
  -webkit-mask: url("../OGZ.svg") center / contain no-repeat;
          mask: url("../OGZ.svg") center / contain no-repeat;
}
.large-title-row {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.large-title {
  margin: 0;
  font-size: 34px;
  line-height: 41px;
  font-weight: 700;
  letter-spacing: 0.37px;
}
.updated { font-size: 13px; color: var(--label-2); letter-spacing: -0.08px; white-space: nowrap; }

/* ---------- Search field ---------- */
.search {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 6px;
  height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--fill);
  color: var(--label-2);
  transition: background 0.2s;
}
.search:focus-within { background: var(--fill-2); }
.search input {
  flex: 1; min-width: 0;
  height: 100%;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 17px; letter-spacing: -0.41px;
  color: var(--label);
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--label-2); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 22px; height: 22px; display: none; place-items: center; color: var(--label-3); }
.search-clear svg { width: 17px; height: 17px; }
.search-clear circle { fill: currentColor; }
.search-clear path { stroke: var(--bg); stroke-width: 2.2; stroke-linecap: round; }
.search.has-value .search-clear { display: grid; }

/* ---------- Sticky category chips ---------- */
.sentinel { height: 1px; }
.chips-bar {
  position: sticky; top: 0; z-index: 20;
  padding-top: var(--safe-top);
  transition: background 0.25s, box-shadow 0.25s;
}
.chips-bar.stuck {
  background: var(--bar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0.5px 0 var(--separator);
}
.chips {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px var(--gutter);
  max-width: 720px; margin: 0 auto;
  scroll-padding-inline: var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: var(--cell);
  color: var(--label);
  font-size: 15px; font-weight: 500; letter-spacing: -0.24px;
  box-shadow: 0 0 0 0.5px var(--separator) inset;
  transition: background 0.25s var(--ease-ios), color 0.25s var(--ease-ios), transform 0.2s var(--ease-ios);
}
.chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--tint); transition: color 0.25s; }
.chip:active { transform: scale(0.95); }
.chip.active { background: var(--label); color: var(--bg); box-shadow: none; }
.chip.active svg { color: var(--bg); }

/* ---------- Content ---------- */
main { max-width: 720px; margin: 0 auto; }
.pane { animation: paneIn 0.45s var(--ease-ios); }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.group { padding: 0 var(--gutter); margin-top: 22px; scroll-margin-top: calc(var(--safe-top) + 62px); }
.group-head {
  display: flex; align-items: center; gap: 10px;
  padding: 0 4px 8px;
}
.tile {
  --size: 30px;
  width: var(--size); height: var(--size); flex: none;
  border-radius: calc(var(--size) * 0.2667);
  display: grid; place-items: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 82%, #fff), var(--tint));
  color: #fff;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.tile svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.group-title { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: 0.35px; flex: 1; }
.cols {
  display: flex; gap: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0;
  color: var(--label-2); text-transform: uppercase;
}
.cols span { width: 58px; text-align: right; }

.list {
  background: var(--cell);
  border-radius: var(--radius-cell);
  overflow: hidden;
}
.row {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  text-align: left;
  transition: background 0.35s;
}
.row + .row::before {
  content: ""; position: absolute; top: 0; left: 16px; right: 0;
  height: 0.5px; background: var(--separator);
}
button.row:active { background: var(--cell-pressed); transition: none; }
.row-main { flex: 1; min-width: 0; }
.row-name {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px;
  font-size: 17px; font-weight: 500;
}
.row-desc { margin-top: 2px; font-size: 15px; line-height: 20px; letter-spacing: -0.24px; color: var(--label-2); }
.row-meta { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--label-2); }
.serve { display: inline-flex; align-items: center; gap: 3px; }
.serve svg { width: 13px; height: 13px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.serve.hot svg { stroke: var(--hot); }
.serve.cold svg { stroke: var(--cold); }

.tag {
  display: inline-flex; align-items: center;
  height: 18px; padding: 0 6px;
  border-radius: 5px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06px;
  background: var(--accent-soft); color: var(--accent);
}
.tag.season { background: rgba(255, 149, 0, 0.14); color: #C76A00; }
@media (prefers-color-scheme: dark) { .tag.season { color: var(--t-orange); } }

.prices { display: flex; flex: none; font-variant-numeric: tabular-nums; }
.price { width: 58px; text-align: right; font-size: 17px; font-weight: 500; letter-spacing: -0.3px; }
.price.secondary { color: var(--label-2); }
.price .cur { font-size: 0.82em; margin-right: 1px; color: var(--label-2); font-weight: 500; }
.chev { width: 8px; height: 13px; flex: none; margin-left: -2px; fill: none; stroke: var(--label-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.group-foot { padding: 7px 16px 0; font-size: 13px; line-height: 18px; color: var(--label-2); letter-spacing: -0.08px; }

/* ---------- Menü listesi: kutusuz, kafe menüsü düzeni ----------
   iOS'un gruplu kartları yerine kâğıt menü hissi:
   karakterli başlık + kalın çizgi, noktalı ayraçlar, kutusuz satırlar. */
:root { --display: "Unbounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }

main .group { margin-top: 40px; }
main .group-head {
  align-items: flex-end;
  gap: 12px;
  padding: 0 0 10px;
  border-bottom: 1.5px solid var(--label);
}
main .group-head .tile { display: none; }
main .group-title {
  font-family: var(--display);
  font-size: 21px; line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
main .cols { font-size: 11px; letter-spacing: 0.9px; padding-bottom: 3px; }

main .list {
  background: none;
  border-radius: 0;
  overflow: visible;
}
main .row {
  width: calc(100% + 20px);
  margin: 0 -10px;
  padding: 15px 10px;
  border-radius: 12px;
  align-items: flex-start;
}
main .row + .row::before {
  left: 10px; right: 10px;
  height: 1px;
  background: linear-gradient(to right, var(--label-3) 1.5px, transparent 1.5px) repeat-x;
  background-size: 6px 1px;
  opacity: 0.8;
}
main button.row:active { background: var(--fill); }
main button.row:active::before,
main button.row:active + .row::before { opacity: 0; }
main .row-name { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; }
main .row-desc { margin-top: 3px; }
main .row-meta { margin-top: 7px; }
main .prices { padding-top: 1px; }
main .price { font-weight: 600; }
main .group-foot { padding: 10px 0 0; }

/* Başlıklarda Unbounded: logodaki geniş, geometrik harflerle aynı ruh */
.large-title,
.featured-head h3,
.home-title,
.home-card-title,
.sheet-title,
.card-name { font-family: var(--display); letter-spacing: -0.5px; }
.large-title { font-size: 30px; line-height: 38px; font-weight: 700; }
.featured-head h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; }
.home-title { font-size: 27px; line-height: 34px; font-weight: 700; }
.home-card-title { font-size: 26px; line-height: 32px; font-weight: 700; }
.sheet-title { font-size: 23px; line-height: 30px; font-weight: 700; }
.card-name { font-size: 15px; line-height: 19px; font-weight: 600; letter-spacing: -0.3px; }

/* Çipler: tek renk ikon, seçili olan espresso tonunda */
.chip { background: transparent; box-shadow: inset 0 0 0 1px var(--separator); }
.chip svg { color: currentColor; opacity: 0.75; }
.chip.active { background: var(--label); color: var(--bg); }
.chip.active svg { color: currentColor; opacity: 1; }

/* ---------- Featured carousel ---------- */
.featured { margin-top: 14px; }
.featured-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 calc(var(--gutter) + 4px) 10px; }
.featured-head h3 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: 0.35px; }
.featured-head span { font-size: 13px; color: var(--label-2); }
.carousel {
  display: flex; gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px var(--gutter) 6px;
  scroll-padding-inline: var(--gutter);
}
.carousel::-webkit-scrollbar { display: none; }
.card {
  position: relative;
  flex: none;
  width: 158px; height: 206px;
  border-radius: 22px;
  padding: 14px;
  scroll-snap-align: start;
  overflow: hidden;
  color: #fff;
  text-align: left;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--g);
  box-shadow: none;
  transition: transform 0.35s var(--spring);
  isolation: isolate;
}
.card:active { transform: scale(0.96); transition-duration: 0.12s; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.28), transparent 55%);
}
.card-art {
  position: absolute; top: 14px; right: -10px;
  width: 96px; height: 96px;
  fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  z-index: -1;
}
.card-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 8px 0 6px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06px;
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card-badge svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.card-name { font-size: 17px; line-height: 21px; font-weight: 700; letter-spacing: -0.3px; }
.card-price { margin-top: 4px; font-size: 13px; font-weight: 600; opacity: 0.9; }

/* Ürün görselli kart: bardak üstte, yazı altta */
.card:has(.card-img) { width: 168px; height: 262px; padding: 14px 14px 15px; }
.card-img {
  position: absolute; z-index: 0;
  left: 50%; top: 28px;
  height: 132px; width: auto;
  transform: translateX(-50%);
  transition: transform 0.5s var(--spring);
  pointer-events: none;
  user-select: none; -webkit-user-drag: none;
}
.card:active .card-img { transform: translateX(-50%) scale(1.04) rotate(-2deg); }
.card:has(.card-img) .card-name,
.card:has(.card-img) .card-price { position: relative; z-index: 1; }
.card:has(.card-img) .card-name { font-size: 15px; line-height: 19px; font-weight: 600; letter-spacing: -0.3px; }
.card:has(.card-img) .card-badge { z-index: 1; }

/* Detay sayfasında görsel: yalnızca buzlu seçiliyken */
.sheet-img {
  display: none;
  height: 200px; width: auto;
  margin: 0 0 6px;
  animation: imgIn 0.55s var(--spring);
}
.sheet-hero.show-img .sheet-img { display: block; }
.sheet-hero.show-img .tile { display: none; }
@keyframes imgIn { from { opacity: 0; transform: translateY(10px) scale(0.94); } to { opacity: 1; transform: none; } }

/* ---------- Search ---------- */
.empty { padding: 64px 32px; text-align: center; color: var(--label-2); }
.empty svg { width: 48px; height: 48px; margin: 0 auto 12px; fill: none; stroke: var(--label-3); stroke-width: 1.6; stroke-linecap: round; }
.empty strong { display: block; color: var(--label); font-size: 20px; font-weight: 600; margin-bottom: 4px; letter-spacing: 0.38px; }
mark { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 40px 32px 0; color: var(--label-2); }
.footer-note { margin: 4px auto 0; max-width: 300px; font-size: 12px; line-height: 16px; letter-spacing: 0; }

/* ---------- Glass tab bar (iOS 26) ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
          backdrop-filter: blur(24px) saturate(190%);
  border: 0.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}
.tabbar-wrap {
  position: fixed; z-index: 30;
  left: 0; right: 0;
  bottom: calc(var(--safe-bottom) + 14px);
  display: flex; justify-content: center; align-items: center; gap: 10px;
  padding: 0 var(--gutter);
  pointer-events: none;
  transition: transform 0.5s var(--ease-ios), opacity 0.3s;
}
html.sheet-open .tabbar-wrap { transform: translateY(140%); opacity: 0; }
.tabbar, .tab-search { pointer-events: auto; }
/* Koyu espresso kapsül: logo ve Unbounded başlıklarla aynı karakter */
:root {
  --dock-bg: rgba(24, 21, 19, 0.88);
  --dock-border: rgba(255, 255, 255, 0.08);
  --dock-ink: rgba(255, 255, 255, 0.66);
  --dock-lens: #FFFFFF;
  --dock-lens-ink: #17130F;
}
@media (prefers-color-scheme: dark) {
  :root {
    --dock-bg: rgba(48, 44, 41, 0.82);
    --dock-border: rgba(255, 255, 255, 0.1);
    --dock-ink: rgba(255, 255, 255, 0.6);
    --dock-lens: #F3ECE3;
    --dock-lens-ink: #17130F;
  }
}
.tabbar.glass,
.tab-search.glass {
  background: var(--dock-bg);
  border: 0.5px solid var(--dock-border);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tabbar {
  position: relative;
  display: flex;
  padding: 4px;
  border-radius: 999px;
}
.tab {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 132px; height: 48px;
  border-radius: 999px;
  color: var(--dock-ink);
  font-family: var(--display);
  font-size: 11.5px; font-weight: 600; letter-spacing: -0.1px;
  transition: color 0.35s var(--ease-ios), transform 0.25s var(--ease-ios);
}
.tab svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-selected="true"] { color: var(--dock-lens-ink); }
.tab:active { transform: scale(0.95); }
.tab-lens {
  position: absolute; z-index: 0;
  top: 4px; left: 4px;
  width: 132px; height: 48px;
  border-radius: 999px;
  background: var(--dock-lens);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.55s var(--spring);
}
.tab-search {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #FFFFFF;
  transition: transform 0.25s var(--ease-ios);
}
.tab-search:active { transform: scale(0.92); }
.tab-search svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Bottom sheet ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.5s var(--ease-ios);
}
.backdrop.show { opacity: 1; }
.sheet {
  position: fixed; z-index: 50;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  max-width: 560px;
  max-height: calc(100vh - var(--safe-top) - 24px);
  max-height: calc(100dvh - var(--safe-top) - 24px);
  display: flex; flex-direction: column;
  background: var(--bg);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-ios);
  touch-action: pan-y;
}
.sheet.show { transform: translateY(0); }
.sheet.dragging { transition: none; }
@media (min-width: 600px) {
  .sheet { bottom: 24px; border-radius: 22px; max-height: calc(100vh - 48px); }
  .sheet:not(.show) { transform: translateY(calc(100% + 40px)); }
}
.sheet-handle { position: absolute; top: 0; left: 0; right: 0; height: 22px; display: grid; place-items: center; z-index: 2; cursor: grab; touch-action: none; }
.grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--label-3); }
.sheet-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fill); color: var(--label-2);
}
.sheet-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 28px var(--gutter) 8px; flex: 1; }

.sheet-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 12px 6px; }
.sheet-hero .tile { --size: 72px; margin-bottom: 14px; box-shadow: 0 8px 20px -8px var(--tint); }
.sheet-hero .tile svg { stroke-width: 1.5; }
.sheet-title { margin: 0; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: 0.36px; }
.sheet-sub { margin: 6px 0 0; font-size: 17px; color: var(--label-2); }
.sheet-tags { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }

.field-label { margin: 22px 16px 7px; font-size: 13px; color: var(--label-2); text-transform: uppercase; letter-spacing: -0.08px; }

/* Segmented control */
.seg {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 2px;
  border-radius: 9px;
  background: var(--fill);
  user-select: none; -webkit-user-select: none;
}
.seg-thumb {
  position: absolute; top: 2px; bottom: 2px; left: 2px;
  border-radius: 7px;
  background: var(--bg-elevated);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--spring);
}
@media (prefers-color-scheme: dark) { .seg-thumb { background: #636366; } }
.seg button {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  min-height: 32px; padding: 6px 8px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.08px;
  transition: opacity 0.2s;
}
.seg button.on { font-weight: 600; }
.seg button small { font-size: 12px; font-weight: 500; color: var(--label-2); font-variant-numeric: tabular-nums; }
.seg button .seg-ic { display: inline-flex; align-items: center; gap: 5px; }
.seg button svg { width: 14px; height: 14px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seg.tall button { min-height: 50px; font-size: 15px; }

/* Option rows */
.opt { cursor: pointer; }
.opt .opt-name { flex: 1; font-size: 17px; }
.opt .opt-price { color: var(--label-2); font-variant-numeric: tabular-nums; font-size: 17px; }
.check { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.35s var(--spring); }
.opt.on .check { opacity: 1; transform: none; }

/* iOS switch */
.switch {
  position: relative; flex: none;
  width: 51px; height: 31px;
  border-radius: 999px;
  background: var(--fill-2);
  transition: background 0.25s;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 27px; height: 27px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 3px 1px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--spring);
}
.opt.on .switch { background: var(--t-green); }
.opt.on .switch::after { transform: translateX(20px); }

.sheet-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px calc(var(--gutter) + 4px) calc(14px + var(--safe-bottom));
  border-top: 0.5px solid var(--separator);
  background: var(--bar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
@media (min-width: 600px) { .sheet-footer { border-radius: 0 0 22px 22px; padding-bottom: 14px; } }
.total-label { font-size: 13px; color: var(--label-2); }
.total-note { font-size: 12px; color: var(--label-2); margin-top: 2px; max-width: 220px; line-height: 15px; letter-spacing: 0; }
.total {
  font-family: var(--font-round);
  font-size: 30px; font-weight: 700; letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.total.bump { animation: bump 0.4s var(--spring); }
@keyframes bump { 40% { transform: scale(1.08); } }

/* ---------- Seçim ekranı (home) ---------- */
html.at-home #app,
html.at-home .tabbar-wrap { display: none; }
html:not(.at-home) .home { display: none; }

.home {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}
.home-glow {
  position: absolute; inset: -10% -30% auto; height: 70%;
  background:
    radial-gradient(55% 55% at 50% 30%, rgba(162, 132, 94, 0.26), transparent 70%),
    radial-gradient(35% 40% at 85% 15%, rgba(255, 149, 0, 0.12), transparent 70%),
    radial-gradient(35% 40% at 10% 45%, rgba(255, 59, 48, 0.07), transparent 70%);
  pointer-events: none;
}
.home-inner {
  position: relative;
  max-width: 560px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex; flex-direction: column;
  padding: calc(var(--safe-top) + 40px) 20px calc(var(--safe-bottom) + 20px);
}
.home-logo {
  width: min(250px, 66vw);
  aspect-ratio: 416 / 199;
  margin: 0 auto 30px;
  background: var(--label);
  -webkit-mask: url("../OGZ.svg") center / contain no-repeat;
          mask: url("../OGZ.svg") center / contain no-repeat;
}
.home-kicker {
  margin: 0 4px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.24px;
  color: var(--accent);
}
.home-title {
  margin: 2px 4px 18px;
  font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: 0.37px;
}
.home-cards { display: grid; gap: 14px; flex: 1; grid-auto-rows: minmax(176px, 1fr); max-height: 520px; }
.home-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  color: #fff;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18);
  transition: transform 0.45s var(--spring);
}
.home-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 70% at 15% 0%, rgba(255, 255, 255, 0.30), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(0, 0, 0, 0.22), transparent 70%);
}
.home-card:active { transform: scale(0.97); transition-duration: 0.15s; }
.home-art {
  position: absolute; z-index: -1;
  top: -6%; right: -8%;
  width: 62%; max-width: 230px; aspect-ratio: 1;
  fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(-8deg);
}
.home-card-count {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 11px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: -0.08px;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.4);
}
.home-card-body { display: block; padding-right: 64px; }
.home-card-title { display: block; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: 0.36px; }
.home-card-sub { display: block; margin-top: 4px; font-size: 15px; line-height: 20px; letter-spacing: -0.24px; opacity: 0.88; }
.home-card-go {
  position: absolute; right: 18px; bottom: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.12);
}
.home-card-go svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.home-foot { margin: 22px 0 0; text-align: center; font-size: 12px; color: var(--label-2); letter-spacing: 0.2px; }

/* Ekran geçişleri (iOS push / pop) */
.home.enter .home-inner > * { animation: homeRise 0.6s var(--ease-ios) both; }
.home.enter .home-inner > :nth-child(2) { animation-delay: 0.03s; }
.home.enter .home-inner > :nth-child(3) { animation-delay: 0.06s; }
.home.enter .home-inner > :nth-child(4) { animation-delay: 0.1s; }
.home.enter .home-inner > :nth-child(5) { animation-delay: 0.14s; }
@keyframes homeRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

#app.push { animation: pushIn 0.5s var(--ease-ios) both; }
@keyframes pushIn { from { transform: translateX(32%); opacity: 0; } to { transform: none; opacity: 1; } }
.tabbar-wrap.push { animation: barIn 0.55s var(--spring) both; }
@keyframes barIn { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.sheet-open #app { transform: none; filter: none; border-radius: 0; }
}

/* =========================================================
   Detay sayfası — OGZ kimliği
   iOS ayar listesi yerine hap düğmeler, Unbounded başlıklar,
   sekme çubuğuyla aynı siyah/beyaz seçim dili.
   ========================================================= */
.sheet { background: var(--bg-elevated); }
.sheet-scroll { padding-top: 30px; }

/* Görseli olmayan ürünlerde ikon: renkli iOS kutusu yerine sade espresso diski */
.sheet-hero .tile {
  --size: 76px;
  border-radius: 50%;
  background: var(--fill);
  color: var(--label);
  box-shadow: none;
  margin-bottom: 16px;
}
.sheet-hero .tile svg { stroke-width: 1.4; }
.sheet-sub { font-size: 16px; margin-top: 8px; }
.sheet-tags { margin-top: 12px; }

/* Bölüm etiketleri */
.field-label {
  margin: 26px 2px 10px;
  font-family: var(--display);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.1px;
  text-transform: none;
  color: var(--label);
}

/* Segment: siyah kayan seçim (çiplerle aynı dil) */
.seg { border-radius: 999px; padding: 3px; background: var(--fill); }
.seg-thumb {
  top: 3px; bottom: 3px; left: 3px;
  border-radius: 999px;
  background: var(--label);
  box-shadow: none;
}
@media (prefers-color-scheme: dark) { .seg-thumb { background: var(--label); } }
.seg button { min-height: 40px; font-size: 15px; font-weight: 500; transition: color 0.3s var(--ease-ios); }
.seg button.on { color: var(--bg-elevated); font-weight: 600; }
.seg button.on small { color: inherit; opacity: 0.7; }
.seg.tall button { min-height: 54px; }
.seg button svg { width: 15px; height: 15px; }

/* Hap düğmeler: süt ve ekstralar */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 16px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.24px;
  color: var(--label);
  box-shadow: inset 0 0 0 1px var(--separator);
  transition: background 0.25s var(--ease-ios), color 0.25s var(--ease-ios), box-shadow 0.25s, transform 0.2s var(--ease-ios);
}
.pill small { font-size: 13px; font-weight: 500; color: var(--label-2); font-variant-numeric: tabular-nums; transition: color 0.25s; }
.pill:active { transform: scale(0.96); }
.pill.on { background: var(--label); color: var(--bg-elevated); box-shadow: none; }
.pill.on small { color: inherit; opacity: 0.7; }
.pill.toggle { padding-left: 12px; }
.pill-ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pill-ic .tick { display: none; }
.pill.on .pill-ic .plus { display: none; }
.pill.on .pill-ic .tick { display: inline; }

/* Alt toplam çubuğu */
.sheet-footer { background: var(--bg-elevated); border-top: 1px solid var(--separator); -webkit-backdrop-filter: none; backdrop-filter: none; }
.total-label { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--label); }
.total-note { margin-top: 3px; }
.total { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.8px; color: var(--label); }

/* Görseli olmayan ürünlerde OGZ "O" logosu */
.sheet-hero .tile-ogz::before {
  content: "";
  width: 62%; height: 62%;
  background: var(--label);
  -webkit-mask: url("../O.svg") center / contain no-repeat;
          mask: url("../O.svg") center / contain no-repeat;
}

/* Canlı etiketler: Sezonluk ve Favori öne çıksın */
.tag.hot-tag {
  gap: 3px;
  height: 20px;
  padding: 0 8px 0 6px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1px;
  color: #FFFFFF;
}
.tag.hot-tag svg { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tag.hot-tag svg .fill { fill: currentColor; stroke: none; }
.tag.season { background: linear-gradient(135deg, #FFB020, #FF6A00); color: #FFFFFF; }
.tag.fav { background: linear-gradient(135deg, #FF4D6D, #E01E5A); }
@media (prefers-color-scheme: dark) {
  .tag.season { color: #FFFFFF; }
}

/* Alt bilgi: tam OGZ logosu */
.footer-logo {
  display: block;
  width: 150px;
  aspect-ratio: 416 / 199;
  margin: 0 auto 16px;
  background: var(--label);
  opacity: 0.88;
  -webkit-mask: url("../OGZ.svg") center / contain no-repeat;
          mask: url("../OGZ.svg") center / contain no-repeat;
}

/* "Ana Sayfa" geri düğmesi: çiplerle aynı hap dili */
.back {
  height: 34px;
  margin: 4px 0 6px;
  padding: 0 14px 0 8px;
  gap: 4px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--label);
  font-family: var(--display);
  font-size: 12px; font-weight: 600; letter-spacing: -0.1px;
  transition: transform 0.2s var(--ease-ios), background 0.2s;
}
.back svg { width: 18px; height: 18px; stroke-width: 2.6; }
.back:active { opacity: 1; transform: scale(0.95); background: var(--fill-2); }

/* Tarih rozeti: bugünün tarihi */
.large-title-row { align-items: center; }
.updated {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 12px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--label);
  font-family: var(--display);
  font-size: 11px; font-weight: 600; letter-spacing: -0.1px;
}

/* Buzlu Favoriler: ok düğmeleri */
.featured-head { align-items: center; }
.car-nav { display: flex; gap: 8px; }
.car-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fill);
  color: var(--label);
  transition: transform 0.2s var(--ease-ios), background 0.2s, opacity 0.25s;
}
.car-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:active { transform: scale(0.9); background: var(--fill-2); }
.car-btn:disabled { opacity: 0.3; cursor: default; transform: none; }

/* Arama çubuğu: OGZ arama ikonu + alan */
.search {
  height: 50px;
  padding: 0 14px 0 16px;
  gap: 10px;
  border-radius: 999px;
  background: var(--fill);
  transition: background 0.2s, box-shadow 0.25s var(--ease-ios);
}
.search:focus-within { background: var(--bg-elevated); box-shadow: inset 0 0 0 1.5px var(--label); }
.search input { font-size: 17px; }
.search-clear { width: 28px; height: 28px; }
.search-clear svg { width: 18px; height: 18px; }
.search-clear path { stroke: var(--bg-elevated); }

/* Sütun başlıkları: "küçük" küçük, "BÜYÜK" büyük */
main .cols {
  align-items: baseline;
  text-transform: none;
  font-family: var(--display);
  letter-spacing: 0;
  color: var(--label);
  padding-bottom: 4px;
}
main .cols .col-s { font-size: 9.5px; font-weight: 500; color: var(--label-2); letter-spacing: 0.2px; }
main .cols .col-l { font-size: 13px; font-weight: 800; letter-spacing: -0.4px; }
/* Sütunlara nefes payı: başlık ve fiyat aynı genişlikte */
main .cols span,
main .price { width: 66px; }
main .cols .col-l { font-size: 11.5px; }

.search-glyph { width: 21px; height: 21px; flex: none; color: var(--label-2); transition: color 0.2s; }
.search:focus-within .search-glyph { color: var(--label); }

/* Detay: boy seçiminde "küçük" küçük, "BÜYÜK" büyük */
.seg .sz-s { font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: 0.2px; }
.seg .sz-l { font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -0.5px; }
.seg.tall button { gap: 2px; }

/* Detay: kategori etiketi ikonlu hap */
.tag.cat-tag {
  gap: 5px;
  height: 26px; padding: 0 11px 0 9px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--label);
  font-family: var(--display);
  font-size: 11px; font-weight: 600; letter-spacing: -0.1px;
}
.tag.cat-tag svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sheet-tags { align-items: center; flex-wrap: wrap; }

/* Detay: alt özet */
.total-info { min-width: 0; flex: 1; }
.total-label { font-size: 13px; line-height: 17px; letter-spacing: -0.2px; }
.total-note { max-width: none; }
.total-note.has-picks { color: var(--label); font-weight: 500; }

/* ================= Icons8 (iOS Filled) — PNG mask, rengi currentColor'dan alır ================= */
svg.ic {
  fill: none; stroke: none;
  background-color: currentColor;
  -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
          mask-position: center;         mask-size: contain;         mask-repeat: no-repeat;
}
.ic-espresso   { -webkit-mask-image: url("icons/espresso.png"); mask-image: url("icons/espresso.png"); }
.ic-imza       { -webkit-mask-image: url("icons/imza.png"); mask-image: url("icons/imza.png"); }
.ic-sutlu      { -webkit-mask-image: url("icons/sutlu.png"); mask-image: url("icons/sutlu.png"); }
.ic-frappe     { -webkit-mask-image: url("icons/frappe.png"); mask-image: url("icons/frappe.png"); }
.ic-milkshake  { -webkit-mask-image: url("icons/milkshake.png"); mask-image: url("icons/milkshake.png"); }
.ic-soguk      { -webkit-mask-image: url("icons/soguk.png"); mask-image: url("icons/soguk.png"); }
.ic-cay        { -webkit-mask-image: url("icons/cay.png"); mask-image: url("icons/cay.png"); }
.ic-pizza      { -webkit-mask-image: url("icons/pizza.png"); mask-image: url("icons/pizza.png"); }
.ic-burger     { -webkit-mask-image: url("icons/burger.png"); mask-image: url("icons/burger.png"); }
.ic-yemek      { -webkit-mask-image: url("icons/yemek.png"); mask-image: url("icons/yemek.png"); }
.ic-sandvic    { -webkit-mask-image: url("icons/sandvic.png"); mask-image: url("icons/sandvic.png"); }
.ic-wrap       { -webkit-mask-image: url("icons/wrap.png"); mask-image: url("icons/wrap.png"); }
.ic-kruvasan   { -webkit-mask-image: url("icons/kruvasan.png"); mask-image: url("icons/kruvasan.png"); }
.ic-salata     { -webkit-mask-image: url("icons/salata.png"); mask-image: url("icons/salata.png"); }
.ic-waffle     { -webkit-mask-image: url("icons/waffle.png"); mask-image: url("icons/waffle.png"); }
.ic-cup-tatli  { -webkit-mask-image: url("icons/cup-tatli.png"); mask-image: url("icons/cup-tatli.png"); }
.ic-cheesecake { -webkit-mask-image: url("icons/cheesecake.png"); mask-image: url("icons/cheesecake.png"); }
.ic-tab-icecek { -webkit-mask-image: url("icons/tab-icecek.png"); mask-image: url("icons/tab-icecek.png"); }
.ic-tab-yiyecek{ -webkit-mask-image: url("icons/tab-yiyecek.png"); mask-image: url("icons/tab-yiyecek.png"); }
.ic-ara        { -webkit-mask-image: url("icons/ara.png"); mask-image: url("icons/ara.png"); }
.ic-sicak      { -webkit-mask-image: url("icons/sicak.png"); mask-image: url("icons/sicak.png"); }
.ic-buzlu      { -webkit-mask-image: url("icons/buzlu.png"); mask-image: url("icons/buzlu.png"); }
.ic-geri       { -webkit-mask-image: url("icons/geri.png"); mask-image: url("icons/geri.png"); }
.ic-ileri      { -webkit-mask-image: url("icons/ileri.png"); mask-image: url("icons/ileri.png"); }
.ic-kapat      { -webkit-mask-image: url("icons/kapat.png"); mask-image: url("icons/kapat.png"); }
.ic-temizle    { -webkit-mask-image: url("icons/temizle.png"); mask-image: url("icons/temizle.png"); }
.ic-ekle       { -webkit-mask-image: url("icons/ekle.png"); mask-image: url("icons/ekle.png"); }
.ic-tik        { -webkit-mask-image: url("icons/tik.png"); mask-image: url("icons/tik.png"); }
.ic-sezon      { -webkit-mask-image: url("icons/sezon.png"); mask-image: url("icons/sezon.png"); }
.ic-favori     { -webkit-mask-image: url("icons/favori.png"); mask-image: url("icons/favori.png"); }

/* renkleri stroke yerine color ile ver */
.serve.hot svg.ic  { color: var(--hot); }
.serve.cold svg.ic { color: var(--cold); }
.card-badge svg.ic { color: #fff; }
.empty svg.ic      { color: var(--label-3); width: 44px; height: 44px; }
.home-card-go svg.ic { color: #fff; width: 20px; height: 20px; }
.home-art.ic { color: rgba(255, 255, 255, 0.16); width: 54%; }
.search-clear svg.ic { width: 18px; height: 18px; }

/* dolgulu ikonlar çizgiliye göre daha dolu durur: biraz küçült */
.tile svg.ic { width: 56%; height: 56%; }
.chip svg.ic { width: 17px; height: 17px; }
.back svg.ic, .car-btn svg.ic { width: 15px; height: 15px; }
.sheet-close svg.ic { width: 13px; height: 13px; }
.tab-search svg.ic, .search-glyph.ic { width: 19px; height: 19px; }

.pill-ic { display: inline-grid; width: 14px; height: 14px; flex: none; }
.pill-ic svg.ic { grid-area: 1 / 1; width: 100%; height: 100%; }

.footer-credit { margin-top: 6px; font-size: 11px; color: var(--label-3); }
.footer-credit a { color: inherit; text-decoration: none; }

/* İmza etiketi: kahve-altın, Sezonluk/Favori ile aynı ailede */
.tag.sig { background: linear-gradient(135deg, #D9A066, #8A5530); }
.tag.hot-tag svg.ic { width: 11px; height: 11px; background-color: currentColor; }

/* Yiyecek satırları da tıklanabilir: içerik satırı biraz daha okunaklı */
#pane-food .row-desc { margin-top: 3px; }

/* ================= Ana sayfa: beyaz ışık, O ikonu, kart renkleri ================= */
.home-glow {
  background:
    radial-gradient(55% 50% at 50% 22%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(30% 30% at 50% 18%, rgba(255, 255, 255, 0.10), transparent 70%);
}
.hero-glow {
  background: radial-gradient(60% 70% at 50% 28%, rgba(255, 255, 255, 0.13), transparent 70%);
}
@media (prefers-color-scheme: light) {
  .home-glow { background: radial-gradient(55% 50% at 50% 22%, rgba(255, 255, 255, 0.95), transparent 72%); }
  .hero-glow { background: radial-gradient(60% 70% at 50% 28%, rgba(255, 255, 255, 0.9), transparent 72%); }
}

/* Kartlardaki büyük O */
.home-art {
  position: absolute; z-index: -1;
  top: -14%; right: -6%;
  width: 46%; max-width: 210px; aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.14);
  -webkit-mask: url("../O.svg") center / contain no-repeat;
          mask: url("../O.svg") center / contain no-repeat;
  transform: rotate(-10deg);
  transition: transform 0.6s var(--spring);
}
.home-card:active .home-art { transform: rotate(-4deg) scale(1.04); }

/* Kart yüzeyi: daha derin degrade + yumuşak ışık + ince kenar */
.home-card {
  background:
    linear-gradient(160deg, var(--c1) 0%, color-mix(in srgb, var(--c1) 55%, var(--c2)) 45%, var(--c2) 100%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.home-card::before {
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(255, 255, 255, 0.24), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(0, 0, 0, 0.28), transparent 70%);
}
.home-card-count { background: rgba(255, 255, 255, 0.18); }
.home-card-go { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.45); }
.home-foot { font-variant-numeric: tabular-nums; }
.home-art { top: 16px; right: 18px; width: 34%; max-width: 150px; transform: rotate(0deg); }
.home-card:active .home-art { transform: scale(1.05); }

/* Görseli henüz gelmemiş kart: aynı boy, ortada cam daire içinde OGZ "O" */
.card:has(.card-ph) { width: 168px; height: 262px; padding: 14px 14px 15px; }
.card-ph {
  position: absolute; z-index: 0;
  left: 50%; top: 44px;
  width: 112px; height: 112px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.5s var(--spring);
}
.card-ph::before {
  content: ""; position: absolute; inset: 24%;
  background: #fff;
  -webkit-mask: url("../O.svg") center / contain no-repeat;
          mask: url("../O.svg") center / contain no-repeat;
}
.card:active .card-ph { transform: translateX(-50%) scale(1.05) rotate(-4deg); }
.card:has(.card-ph) .card-name { position: relative; z-index: 1; font-size: 15px; line-height: 19px; font-weight: 600; letter-spacing: -0.3px; }
.card:has(.card-ph) .card-price { position: relative; z-index: 1; }

/* ================= Ana sayfa v3: kart renkleri, O yerleşimi, "Hoş geldin" ================= */
.home-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 4px 2px;
  font-family: var(--display);
  font-size: 11px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--label-2);
}
.home-kicker::before {
  content: ""; width: 18px; height: 1.5px; border-radius: 2px;
  background: currentColor; opacity: 0.6;
}

/* Kart: koyu taban + köşeden vuran sıcak ışık */
.home-card {
  background:
    radial-gradient(120% 95% at 100% 0%, color-mix(in srgb, var(--c1) 92%, transparent) 0%, transparent 62%),
    linear-gradient(200deg, var(--c1) 0%, color-mix(in srgb, var(--c1) 40%, var(--c2)) 48%, var(--c2) 100%);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}
.home-card::before {
  background:
    radial-gradient(55% 60% at 88% 18%, color-mix(in srgb, var(--glow) 55%, transparent), transparent 70%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.28) 100%);
}

/* Büyük O: kartın sağından taşan, üstten alta solan filigran */
.home-art {
  top: 50%; right: -10%;
  width: auto; height: 128%; max-width: none; aspect-ratio: 1;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.10) 55%, rgba(255, 255, 255, 0) 90%);
  transform: translateY(-50%) rotate(-8deg);
  transition: transform 0.7s var(--spring);
}
.home-card:active .home-art { transform: translateY(-50%) rotate(-2deg) scale(1.04); }
.home-card:hover .home-art { transform: translateY(-50%) rotate(-5deg); }

.home-card-count {
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22);
}
.home-card-go {
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.home-card-go svg.ic { color: var(--c2); width: 18px; height: 18px; }
.home-card-sub { opacity: 0.78; }

/* ================= Safari üst/alt çubuklarıyla dikişsiz geçiş =================
   Safari, sayfanın en üst ve en alt kenar rengini çubuklara uygular. Işık
   kenara değerse çubuk ile sayfa arasında bant oluşur; ışığı logonun arkasına
   toplayıp kenarları tamamen zemin rengine bırakıyoruz. */
.home-glow {
  inset: 0 -20% auto; height: 62%;
  background:
    radial-gradient(42% 38% at 50% 52%, rgba(255, 255, 255, 0.13), transparent 100%),
    radial-gradient(22% 20% at 50% 50%, rgba(255, 255, 255, 0.07), transparent 100%);
}
.hero-glow {
  inset: 0 -20% auto; height: 340px;
  background: radial-gradient(45% 40% at 50% 50%, rgba(255, 255, 255, 0.11), transparent 100%);
}
@media (prefers-color-scheme: light) {
  .home-glow { background: radial-gradient(42% 38% at 50% 52%, rgba(255, 255, 255, 0.95), transparent 100%); }
  .hero-glow { background: radial-gradient(45% 40% at 50% 50%, rgba(255, 255, 255, 0.9), transparent 100%); }
}
/* alt çubuğun arkasında tarih sıkışmasın */
.home-inner { padding-bottom: calc(var(--safe-bottom) + 64px); }
