/* ==========================================================================
   Royal Kebab Saint-Lô - main stylesheet
   Mobile first: base styles are for phones, @media blocks add tablet/desktop.
   Colors are CSS variables: light theme first, then the dark theme.
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/karla-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/karla-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Colors (light theme = default) ----------
   Palette "Iznik": cobalt blue and porcelain white, coral red, turquoise, saffron gold */
:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fc;
  --bg-2: #e9eef8;
  --surface: #ffffff;
  --surface-2: #f2f5fb;
  --ink: #121b38;
  --ink-soft: #4a5473;
  --line: #dbe2f0;
  --line-strong: #b9c4dc;

  --brand: #1b3a8c;          /* Iznik cobalt */
  --brand-ink: #ffffff;
  --brand-soft: #e3e9f8;
  --link: #1b3a8c;
  --cta: #c8352b;            /* Iznik coral red */
  --cta-hover: #a72a21;
  --cta-ink: #ffffff;
  --turq: #0f7378;           /* Iznik turquoise */
  --gold: #c9a24a;           /* saffron gold (decoration only) */
  --gold-text: #8a6214;
  --success: #1d7a46;
  --danger: #b42318;

  --hero-bg: #0b1a42;
  --hero-bg-2: #1b3a8c;
  --hero-ink: #fbf7ee;
  --hero-ink-soft: #dce3f4;

  --logo-ink: #1b3a8c;
  --logo-star: #c9a24a;
  --dish-bg: radial-gradient(circle at 50% 58%, #ffffff 0 38%, #e8eef9 70%);

  --shadow-s: 0 1px 2px rgb(18 27 56 / 0.06), 0 3px 10px rgb(18 27 56 / 0.06);
  --shadow-m: 0 14px 34px rgb(18 27 56 / 0.14);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%231B3A8C' stroke-width='1.2'%3E%3Cpath d='M28 4l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Ccircle cx='28' cy='28' r='6' stroke='%230F7378'/%3E%3C/g%3E%3Cg fill='%23C8352B'%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='56' cy='0' r='3'/%3E%3Ccircle cx='0' cy='56' r='3'/%3E%3Ccircle cx='56' cy='56' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --tile-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23E3B65A' stroke-width='1.2'%3E%3Cpath d='M28 4l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Ccircle cx='28' cy='28' r='6' stroke='%235CC9C3'/%3E%3C/g%3E%3Cg fill='%23E3B65A'%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='56' cy='0' r='3'/%3E%3Ccircle cx='0' cy='56' r='3'/%3E%3Ccircle cx='56' cy='56' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* Dark theme: "Istanbul by night" */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1124;
  --bg-2: #0e1730;
  --surface: #131e3b;
  --surface-2: #1a2747;
  --ink: #eef2fb;
  --ink-soft: #b3bfdc;
  --line: #24345d;
  --line-strong: #34497b;

  --brand: #8fb0ff;
  --brand-ink: #0a1124;
  --brand-soft: #1c2c55;
  --link: #a9c1ff;
  --cta: #ef6a5b;
  --cta-hover: #f5867a;
  --cta-ink: #1a0806;
  --turq: #5fd0cc;
  --gold: #e3b65a;
  --gold-text: #e3b65a;
  --success: #4cc38a;
  --danger: #ff8a80;

  --hero-bg: #060c1c;
  --hero-bg-2: #12245a;
  --hero-ink: #f5f1e8;
  --hero-ink-soft: #cfd7ee;

  --logo-ink: #eef2fb;
  --logo-star: #e3b65a;
  --dish-bg: radial-gradient(circle at 50% 58%, #22325c 0 38%, #16213f 72%);

  --shadow-s: 0 1px 2px rgb(0 0 0 / 0.3), 0 3px 10px rgb(0 0 0 / 0.25);
  --shadow-m: 0 14px 34px rgb(0 0 0 / 0.45);
  --tile: var(--tile-gold);
}

:root {
  --font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --header-h: 68px;
  --bar-h: 66px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1200px;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom));
}
html[data-page="menu"] { scroll-padding-top: calc(var(--header-h) + 130px); }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
html[data-page="order"] body { padding-bottom: 0; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
main, .site-footer { overflow-x: clip; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon-fill { fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: var(--radius-s);
  background: var(--brand); color: var(--brand-ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.link { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }
.muted { color: var(--ink-soft); }
.small-note { margin-top: 14px; font-size: 0.875rem; color: var(--ink-soft); }
mark { background: var(--gold); color: #1e1633; padding: 0 4px; border-radius: 4px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 8px 20px rgb(194 65 45 / 0.28); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: var(--brand-ink); }
.btn-outline-light { border-color: rgb(251 242 226 / 0.7); color: var(--hero-ink); background: rgb(255 255 255 / 0.04); }
.btn-outline-light:hover { background: var(--hero-ink); color: var(--hero-bg); border-color: var(--hero-ink); }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { border-color: var(--brand); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.icon-btn:hover { border-color: var(--brand); }
.icon-btn:active { transform: scale(0.94); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }

.logo { display: inline-flex; color: var(--logo-ink); text-decoration: none; border-radius: 8px; }
.logo-svg { width: 132px; height: auto; aspect-ratio: 408 / 156; display: block; }

.main-nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-switch a {
  display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px;
  border-radius: 999px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em;
  text-decoration: none; color: var(--ink-soft); transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch a:hover { color: var(--ink); background: var(--bg-2); }
.lang-switch a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); }
.lang-switch-desktop { display: none; }

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--cta); color: var(--cta-ink);
  font-size: 0.75rem; font-weight: 800; line-height: 22px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- 6. Mobile drawer, basket, dish dialog ---------- */
dialog { color: var(--ink); background: var(--surface); border: 0; padding: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(12 8 26 / 0.55); backdrop-filter: blur(3px); }

.drawer, .sheet {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(420px, 100%); height: 100%;
  display: none; flex-direction: column;
  box-shadow: var(--shadow-m);
}
.drawer[open], .sheet[open] { display: flex; animation: slide-in 0.28s var(--ease); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }

.drawer-head, .sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head .logo-svg { width: 120px; color: var(--logo-ink); }
.sheet-head h2 { font-size: 1.5rem; }

.drawer-nav { padding: 8px 10px; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 12px; border-radius: 12px;
  font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; text-decoration: none;
}
.drawer-nav a:hover, .drawer-nav a[aria-current="page"] { background: var(--bg-2); color: var(--brand); }
.drawer-nav .icon { color: var(--ink-soft); }
.drawer-foot { display: grid; gap: 12px; padding: 16px 20px; margin-top: auto; }
.drawer-label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.drawer-foot .lang-switch { justify-content: space-between; }
.drawer-foot .lang-switch li { flex: 1; }
.drawer-foot .lang-switch a { width: 100%; }

.sheet-body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.sheet-foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 10px; }

.cart-empty { display: grid; justify-items: center; gap: 14px; padding: 48px 12px; text-align: center; color: var(--ink-soft); }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--bg-2); display: grid; place-items: center; color: var(--brand); }
.cart-thumb svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-name { font-weight: 800; line-height: 1.3; }
.cart-opts { font-size: 0.85rem; color: var(--ink-soft); }
.cart-line-price { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.cart-line-actions { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 50%; color: var(--ink); }
.qty button:hover { background: var(--bg-2); }
.qty output, .qty span { min-width: 28px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.text-btn { min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--ink-soft); font-size: 0.9rem; text-decoration: underline; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.text-btn:hover { color: var(--danger); }
.text-btn .icon { width: 16px; height: 16px; }

.totals { display: grid; gap: 6px; margin: 0; }
.totals div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.totals dt { color: var(--ink-soft); }
.totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals .total-row { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 1.2rem; }
.totals .total-row dt { color: var(--ink); font-weight: 800; }
.totals .total-row dd { font-weight: 800; }
.free-hint { font-size: 0.875rem; color: var(--turq); font-weight: 700; }

/* Dish dialog: bottom sheet on phones, centred box on larger screens */
.modal {
  position: fixed; inset: auto 0 0 0; margin: 0;
  width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0;
  overflow: hidden; box-shadow: var(--shadow-m);
}
.modal[open] { display: flex; flex-direction: column; animation: rise 0.28s var(--ease); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.pd { display: flex; flex-direction: column; max-height: 92vh; min-height: 0; }
.pd-media { position: relative; height: 180px; background: var(--bg-2); flex: none; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-media .dish-icon { height: 100%; }
.pd-close { position: absolute; top: 12px; right: 12px; }
.pd-body { padding: 18px 20px; overflow-y: auto; display: grid; gap: 18px; }
.pd-title { font-size: 1.7rem; }
.pd-desc { color: var(--ink-soft); margin-top: 4px; }
.pd-group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pd-group legend { font-weight: 800; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pd-group legend small { font-weight: 400; color: var(--ink-soft); font-size: 0.875rem; }
.pd-options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt > span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-weight: 600; transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.opt input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.opt input:focus-visible + span { outline: 3px solid var(--turq); outline-offset: 2px; }
.opt input:disabled + span { opacity: 0.45; }
.opt .opt-price { font-weight: 800; }
.pd-error { color: var(--danger); font-weight: 700; font-size: 0.95rem; }
.pd-note { width: 100%; }
.pd-foot {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--surface-2); flex: none;
}
.pd-foot .btn { flex: 1; justify-content: space-between; }

/* ---------- 7. Hero ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, var(--hero-bg-2), var(--hero-bg) 75%);
  color: var(--hero-ink);
}
/* Istanbul photo behind the hero, darkened on the text side */
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(8 18 48 / 0.55) 0%, rgb(8 18 48 / 0.35) 30%, rgb(8 18 48 / 0.92) 100%);
}
.hero-tiles {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18px; z-index: 1;
  background: var(--tile-gold) center / 18px 18px repeat-x, var(--hero-bg);
  border-top: 2px solid var(--gold);
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 40px 64px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-style: italic; font-size: 1.15rem;
  color: var(--turq); margin-bottom: 10px;
}
.eyebrow .icon { width: 22px; height: 22px; color: var(--gold); }
.eyebrow-light { color: var(--gold); }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding: 6px 14px; border-radius: 999px;
  background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-title); font-style: italic; font-size: 1.05rem; color: #fff;
}
.hero-kicker span { color: var(--gold); font-weight: 700; }

.hero h1 { font-size: clamp(2.5rem, 10vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); }
.hero h1 span { display: block; }
.hero h1 em { display: block; font-style: italic; font-weight: 600; color: #f2cf7b; }
.hero-lead { margin-top: 16px; max-width: 32rem; font-size: 1.15rem; color: #eef2fb; text-shadow: 0 1px 12px rgb(0 0 0 / 0.4); }

.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgb(8 18 48 / 0.55); border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-weight: 700; font-size: 0.95rem; color: #fff;
}
.status[hidden] { display: none; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff8a6a; }
.status.is-open .status-dot { background: #4cd38a; box-shadow: 0 0 0 4px rgb(76 211 138 / 0.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(76 211 138 / 0.08); } }
.status-inline { background: var(--bg-2); border-color: var(--line); color: var(--ink); margin-top: 16px; backdrop-filter: none; }
.status-inline.is-open { color: var(--success); }
.status-inline.is-closed { color: var(--danger); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ctas .btn { flex: 1 1 220px; }
.btn-glass { background: rgb(255 255 255 / 0.12); color: #fff; border-color: rgb(255 255 255 / 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--hero-bg); border-color: #fff; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; max-width: 30rem; }
.hero-stats li, .hero-stats a {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: #fff;
}
.hero-stats li { background: rgb(8 18 48 / 0.45); border: 1px solid rgb(255 255 255 / 0.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 0; }
.hero-stats li > strong, .hero-stats li > span { padding-inline: 12px; }
.hero-stats li > strong { padding-top: 10px; }
.hero-stats li > span:last-child { padding-bottom: 10px; }
.hero-stats strong { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-title); font-size: 1.5rem; line-height: 1.1; color: #f2cf7b; }
.hero-stats strong .icon { width: 18px; height: 18px; color: #f2cf7b; }
.hero-stats span { font-size: 0.82rem; color: #e3e9f8; line-height: 1.3; }
.hero-stats a:hover span { text-decoration: underline; }

.hero-media { position: relative; justify-self: center; width: min(72vw, 460px); margin-bottom: 12px; }
.hero-plate { position: relative; aspect-ratio: 1; }
.hero-ring {
  position: absolute; inset: 4%; border-radius: 50%;
  background: var(--tile-gold) center / 34px 34px, radial-gradient(circle, rgb(27 58 140 / 0.85), rgb(11 26 66 / 0.95));
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.08), 0 30px 60px rgb(0 0 0 / 0.45);
}
.hero-plate img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgb(0 0 0 / 0.45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(2deg); } }
.hero-status { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); margin: 0; width: max-content; max-width: 100%; }
.hero-chip {
  position: absolute; display: grid; justify-items: center; gap: 0;
  width: 92px; padding: 6px 6px 8px; border-radius: 18px;
  background: rgb(255 255 255 / 0.95); color: #121b38; box-shadow: 0 14px 30px rgb(0 0 0 / 0.3);
  font-weight: 800; font-size: 0.8rem;
}
.hero-chip img { width: 80px; height: 64px; object-fit: contain; }
.hero-chip-a { right: -4px; top: 8%; transform: rotate(6deg); }
.hero-chip-b { left: -6px; top: 46%; transform: rotate(-6deg); }

/* Smaller hero for inner pages (Istanbul photo behind) */
.page-hero-inner { position: relative; z-index: 1; padding-block: 48px 64px; }
.page-hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); color: #fff; text-shadow: 0 2px 20px rgb(0 0 0 / 0.4); }
.page-hero-lead { margin-top: 12px; max-width: 38rem; color: #eef2fb; font-size: 1.1rem; text-shadow: 0 1px 10px rgb(0 0 0 / 0.45); }
.page-hero .eyebrow-light { color: #f2cf7b; }
.page-hero-small .page-hero-inner { padding-block: 32px 40px; }
.demo-banner {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 8px 14px; border-radius: 12px; font-size: 0.9rem; font-weight: 700;
  background: rgb(255 255 255 / 0.1); color: var(--hero-ink);
}
.demo-banner-dark { background: var(--bg-2); color: var(--ink); margin: 0 0 24px; }

/* ---------- 8. Sections ---------- */
.section { padding-block: 64px; }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 700; }
.section-lead { margin-top: 12px; color: var(--ink-soft); font-size: 1.075rem; }
.center-cta { display: flex; justify-content: center; margin-top: 36px; }

/* Features strip */
.features { padding-block: 8px 24px; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr)); gap: 10px; }
.feature { min-width: 0; }
.feature {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding: 14px; border-radius: var(--radius-m);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature > div { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.feature-title { font-family: var(--font-text); font-size: 1.05rem; font-weight: 800; }
.feature p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.45; }
.feature-icon { width: 42px; height: 42px; }

/* Featured new dish */
.featured {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center;
  padding: 18px; margin-bottom: 32px; border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--hero-bg-2), var(--hero-bg)); color: var(--hero-ink);
  box-shadow: var(--shadow-m);
}
.featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tile-gold) 0 0 / 56px 56px; opacity: 0.1; }
.featured-media { position: relative; width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--tile-gold) center / 28px 28px, rgb(255 255 255 / 0.08); border: 2px solid var(--gold); display: grid; place-items: center; }
.featured-media img { width: 118%; max-width: none; height: auto; object-fit: contain; filter: drop-shadow(0 12px 16px rgb(0 0 0 / 0.4)); }
.featured h2, .featured h3 { font-size: 1.7rem; color: var(--hero-ink); }
.featured-desc { margin-top: 4px; font-size: 0.95rem; color: var(--hero-ink-soft); }
.featured-price { margin-top: 6px; font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.featured .btn { grid-column: 1 / -1; }
.featured-tile { position: absolute; right: -30px; bottom: -30px; width: 180px; height: 180px; z-index: -1; color: var(--gold); opacity: 0.18; fill: none; stroke: currentColor; stroke-width: 1; }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--gold); color: #121b38;
}
.tag-new { margin-bottom: 6px; }
.tag-fav { position: absolute; top: 10px; left: 10px; background: var(--cta); color: var(--cta-ink); }

/* Dish cards (phones: compact rows) */
.dish-grid { display: grid; gap: 12px; }
.dish-card {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px;
  padding: 12px; border-radius: var(--radius-m);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.dish-card[hidden] { display: none; }
.dish-media { position: relative; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--dish-bg); }
.dish-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.dish-media .tag-fav { display: none; }
.dish-icon {
  display: grid; place-items: center; width: 100%; height: 100%;
  color: var(--brand); background: var(--brand-soft);
  position: relative; overflow: hidden;
}
.dish-icon::before { content: ""; position: absolute; inset: 0; background: var(--tile) 0 0 / 40px 40px; opacity: 0.16; }
.dish-icon svg { position: relative; width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dish-body { display: flex; flex-direction: column; min-width: 0; }
.dish-cat { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turq); }
.dish-name { font-family: var(--font-text); font-size: 1.08rem; font-weight: 800; line-height: 1.3; }
.dish-desc { margin-top: 2px; font-size: 0.9rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.dish-price { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.dish-price .from { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }

.add-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 10px;
  border: 0; border-radius: 999px; background: var(--cta); color: var(--cta-ink);
  font-weight: 800; cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.add-btn:hover { background: var(--cta-hover); }
.add-btn:active { transform: scale(0.95); }
.add-btn.is-added { background: var(--success); color: #fff; }

/* Story */
.story { background: var(--bg-2); position: relative; }
.story-grid { display: grid; gap: 48px; }
.arch {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-l) var(--radius-l);
  padding: 10px; background: var(--surface);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.18);
}
.arch::before { content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 2px solid var(--gold); opacity: 0.8; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px calc(var(--radius-l) - 8px) calc(var(--radius-l) - 8px); }

/* Istanbul culture cards */
.culture { background: var(--surface); position: relative; }
.culture::before { content: ""; position: absolute; inset: 0; background: var(--tile) 0 0 / 56px 56px; opacity: 0.05; pointer-events: none; }
.culture .container { position: relative; }
.culture-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: thin; }
.culture-card { position: relative; scroll-snap-align: start; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--hero-bg); box-shadow: var(--shadow-m); isolation: isolate; }
.culture-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.culture-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(6 12 32 / 0.6) 58%, rgb(6 12 32 / 0.95) 100%); }
.culture-card:hover img { transform: scale(1.05); }
.culture-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; }
.culture-word { font-family: var(--font-title); font-style: italic; color: #f2cf7b; font-size: 1.05rem; }
.culture-body h3 { color: #fff; font-size: 1.45rem; margin-top: 2px; }
.culture-body p:last-child { margin-top: 6px; color: #e3e9f8; font-size: 0.95rem; line-height: 1.45; }
.booking-photo { position: relative; margin: 24px 0 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.booking-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.booking-photo figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-title); font-style: italic; font-size: 1.6rem; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 0.6); }

.story-media { position: relative; width: min(100%, 420px); margin-inline: auto; padding-bottom: 40px; }
.arch-story { background: var(--surface); }
.arch-story img { object-position: 50% 50%; }
.story-photo { position: absolute; width: 42%; border-radius: 18px; overflow: hidden; border: 5px solid var(--surface); box-shadow: var(--shadow-m); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.story-photo-a { right: -10px; bottom: 0; width: 40%; transform: rotate(4deg); }
.story-photo-b { left: -10px; top: 38%; width: 34%; transform: rotate(-5deg); }
.story-photo-a img { aspect-ratio: 4 / 5; }
.story-badge { position: absolute; top: 18px; right: -6px; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #1b3a8c; color: #fff; border: 3px solid var(--gold); box-shadow: var(--shadow-m); transform: rotate(8deg); text-align: center; line-height: 1.1; }
.story-badge strong { font-family: var(--font-title); font-size: 1.5rem; color: #f2cf7b; }
.story-badge span { font-size: 0.8rem; font-weight: 700; }
.story-photo-b img { aspect-ratio: 4 / 5; }
.story-text > p { margin-top: 14px; color: var(--ink-soft); font-size: 1.075rem; }
.story-text > p:first-of-type { color: var(--ink); font-size: 1.15rem; }
.story-quote {
  position: relative; margin: 28px 0 0; padding: 22px 22px 18px 22px;
  border-radius: var(--radius-m); background: var(--surface); border-left: 5px solid var(--gold);
}
.story-quote .icon { position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--gold); color: #1e1633; }
.story-quote blockquote { margin: 0; font-family: var(--font-title); font-style: italic; font-size: 1.3rem; line-height: 1.4; }
.story-quote figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.timeline { display: grid; gap: 0; margin-top: 28px; border-left: 2px solid var(--line-strong); }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 4px var(--bg-2); }
.tl-year { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: var(--brand); }

/* Reviews */
.rating-row { display: grid; gap: 12px; margin-bottom: 28px; }
.rating-row a {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 16px 20px; border-radius: var(--radius-m); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.rating-row a:hover { border-color: var(--brand); }
.rating-score { grid-row: span 2; font-family: var(--font-title); font-size: 2.4rem; font-weight: 700; color: var(--brand); line-height: 1; }
.rating-stars { color: var(--gold); letter-spacing: 2px; }
.rating-src { font-weight: 700; color: var(--ink-soft); font-size: 0.95rem; }
.review-grid { display: grid; gap: 14px; }
.review { margin: 0; padding: 22px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review-stars { color: var(--gold); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.05rem; }
.review figcaption { margin-top: auto; color: var(--ink-soft); font-size: 0.9rem; }
.review figcaption strong { color: var(--ink); }
.reviews .small-note { text-align: center; }

/* Delivery */
.delivery { background: var(--bg-2); }
.delivery-grid { display: grid; gap: 16px; }
.del-card { min-width: 0; padding: 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.del-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand); color: var(--brand-ink); margin-bottom: 14px; }
.del-icon .icon { width: 26px; height: 26px; }
.del-card h3 { font-size: 1.5rem; }
.del-card > p { margin-top: 6px; color: var(--ink-soft); }
.del-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px !important; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand) !important; font-weight: 700; }
.table-wrap { margin-top: 16px; overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.zones { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.zones th, .zones td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.zones thead th { background: var(--surface-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.zones tbody th { font-family: var(--font-title); font-size: 1.2rem; color: var(--brand); }
.zones tr:last-child th, .zones tr:last-child td { border-bottom: 0; }
.zone-label { display: none; }
/* Phones: each zone becomes a small card instead of a wide table */
@media (max-width: 599px) {
  .table-wrap { border: 0; overflow: visible; }
  .zones { min-width: 0; }
  .zones thead { display: none; }
  .zones tbody, .zones tr, .zones th, .zones td { display: block; }
  .zones tr { padding: 12px 14px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
  .zones th, .zones td { padding: 3px 0; border: 0; }
  .zones td { display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .zones td::before { content: attr(data-label); font-weight: 700; color: var(--ink-soft); text-align: left; }
  .zone-label { display: inline; }
}

/* Booking */
.booking-grid { display: grid; gap: 32px; }
.booking-points { display: grid; gap: 10px; }
.booking-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; min-height: 44px; }
.booking-points .link, .co-sum-head .link, .info-list dd > .link { display: inline-flex; align-items: center; min-height: 44px; }
.booking-points .icon { color: var(--turq); }
.booking-card { padding: 22px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-m); }

/* Forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field-row { display: grid; gap: 16px; }
label { font-weight: 700; }
.req { font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="search"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink); font-size: 1rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
textarea { min-height: 90px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-help { font-size: 0.875rem; color: var(--ink-soft); }
.field-error { font-size: 0.9rem; font-weight: 700; color: var(--danger); }
.field-error[hidden] { display: none; }
.error-summary { padding: 16px 18px; border-radius: 12px; border: 2px solid var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.error-summary[hidden] { display: none; }
.error-summary p { font-weight: 800; }
.error-summary ul { margin-top: 6px; padding-left: 20px; list-style: disc; }
.error-summary a { color: var(--danger); font-weight: 700; }
.form-success { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 24px 8px; }
.form-success[hidden] { display: none; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: #fff; }
.success-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.form-success h3 { font-size: 1.6rem; }
.booking-recap { font-weight: 700; padding: 10px 14px; border-radius: 12px; background: var(--bg-2); }

/* Info */
.info-grid { display: grid; gap: 24px; }
.info-list { display: grid; gap: 20px; margin: 0; }
.info-list dt { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turq); }
.info-list dd { margin: 6px 0 0; }
.hours-card { padding: 22px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.hours-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 10px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--brand); }
.map-card { border-radius: var(--radius-l); overflow: hidden; min-height: 300px; background: var(--brand-soft); border: 1px solid var(--line); }
.map-placeholder { position: relative; display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 300px; height: 100%; padding: 24px; text-align: center; }
.map-pin { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--cta); color: #fff; box-shadow: var(--shadow-m); }
.map-pin .icon { transform: rotate(45deg); }
.map-placeholder .btn, .map-note { position: relative; }
.map-note { font-size: 0.85rem; color: var(--ink-soft); max-width: 22rem; }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- 9. Menu page ---------- */
.menu-bar {
  position: sticky; top: var(--header-h); z-index: 30;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-bar-inner { display: grid; gap: 10px; padding-block: 10px; }
.menu-bar-inner > * { min-width: 0; }
.search { position: relative; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.search input { padding-left: 44px; border-radius: 999px; min-height: 46px; }
.chips { margin-inline: -20px; }
.chips ul { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
.chips ul::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none; scroll-snap-align: start;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 700; font-size: 0.92rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.menu-page { padding-block: 28px 64px; }
.search-result { font-weight: 700; color: var(--ink-soft); }
.search-result:empty { display: none; }
.search-result:not(:empty) { margin-bottom: 16px; }
.search-empty { padding: 40px 0; text-align: center; color: var(--ink-soft); font-size: 1.1rem; }
.menu-cat { padding-top: 28px; }
.menu-cat[hidden] { display: none; }
.menu-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.menu-cat-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--brand); color: var(--brand-ink); }
.menu-cat-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-cat-head h2 { font-size: 1.8rem; }
.menu-cat-note { color: var(--ink-soft); font-size: 0.95rem; }
.menu-notes { margin-top: 40px; padding: 18px; border-radius: var(--radius-m); background: var(--bg-2); color: var(--ink-soft); font-size: 0.92rem; display: grid; gap: 4px; }

/* ---------- 10. Checkout ---------- */
.checkout { padding-block: 28px 64px; }
.co-empty { display: grid; justify-items: center; gap: 16px; padding: 48px 0; text-align: center; font-size: 1.1rem; }
.co-empty[hidden], .co-grid[hidden], .co-ok[hidden], .co-paying[hidden] { display: none; }
html.js:not(.has-cart) .co-grid { display: none; }
html.js:not(.has-cart) .co-empty[hidden] { display: grid; }
.co-empty .dish-icon { width: 96px; height: 96px; border-radius: 24px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.co-side { min-width: 0; }
.co-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.co-step { margin: 0; padding: 20px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-s); display: grid; gap: 16px; min-width: 0; }
.co-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; padding: 0; }
.co-step legend + * { clear: both; }
.co-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-family: var(--font-text); font-size: 1rem; font-weight: 800; }
.co-address { display: grid; gap: 16px; }
.co-address[hidden] { display: none; }

.choice-grid { display: grid; gap: 10px; }
.choice { position: relative; display: block; font-weight: 400; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-box {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.choice-box .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--brand); }
.choice-title { font-weight: 800; overflow-wrap: anywhere; }
.choice-desc { font-size: 0.9rem; color: var(--ink-soft); }
.choice:hover .choice-box { border-color: var(--line-strong); }
.choice input:checked + .choice-box { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--turq); outline-offset: 2px; }

.co-summary { min-width: 0; padding: 20px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-m); display: grid; gap: 14px; }
.co-sum-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; }
.co-sum-head h2 { font-size: 1.5rem; }
.co-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.co-line-qty { font-weight: 800; color: var(--brand); }
.co-line-opts { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.co-line-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.co-min { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); font-weight: 700; font-size: 0.95rem; }
.co-min[hidden] { display: none; }
.co-paying { display: grid; justify-items: center; gap: 16px; padding: 80px 0; font-weight: 700; font-size: 1.1rem; }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-ok { display: grid; justify-items: center; gap: 14px; max-width: 640px; margin-inline: auto; padding: 32px 0; text-align: center; }
.co-ok h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.ok-number strong { font-family: var(--font-title); font-size: 1.4rem; color: var(--brand); letter-spacing: 0.04em; }
.ok-card { width: 100%; text-align: left; padding: 20px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.ok-card h3 { font-size: 1.2rem; }
.ok-row { display: flex; justify-content: space-between; gap: 12px; }

/* ---------- 11. Legal ---------- */
.prose { max-width: 760px; padding-block: 32px 64px; }
.prose h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.prose p { color: var(--ink-soft); margin-top: 8px; }

/* 404 */
.notfound .page-hero-inner { text-align: center; padding-block: 48px 140px; }
.notfound .hero-ctas { justify-content: center; }
.notfound .hero-ctas .btn { flex: 0 1 auto; }
.nf-code { font-family: var(--font-title); font-size: clamp(5rem, 22vw, 9rem); font-weight: 700; line-height: 1; color: var(--gold); }
.notfound .page-hero-lead { margin-inline: auto; }
.nf-langs { margin-top: 20px; }
.nf-langs a { color: var(--hero-ink); }

/* ---------- 12. Footer: Istanbul night band + Iznik tiles + info ---------- */
.site-footer { margin-top: 0; color: #dfe6f6; }
.ft-band { position: relative; isolation: isolate; overflow: hidden; background: #060c1c; }
.ft-band-bg { position: absolute; inset: 0; z-index: -2; }
.ft-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.ft-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 12 28 / 0.55), rgb(6 12 28 / 0.8)); }
.ft-band-inner { padding-block: 64px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.ft-script { font-family: var(--font-title); font-style: italic; font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: 1; color: #f2cf7b; text-shadow: 0 4px 24px rgb(0 0 0 / 0.5); }
.ft-band-title { color: #fff; font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 600; max-width: 30rem; }
.ft-band-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

.ft-tiles {
  height: 34px;
  background: var(--tile-gold) center / 34px 34px repeat-x, #1b3a8c;
  border-block: 3px solid var(--gold);
}

.ft-main { position: relative; background: #0b1a42; }
.ft-main::before { content: ""; position: absolute; inset: 0; background: var(--tile-gold) 0 0 / 80px 80px; opacity: 0.04; pointer-events: none; }
.ft-grid { position: relative; display: grid; gap: 36px; padding-block: 48px 32px; }
.logo-footer { color: #fff; --logo-star: var(--gold); }
.logo-footer .logo-svg { width: 180px; }
.ft-tagline { margin-top: 10px; max-width: 22rem; color: #c9d3ec; }
.ft-nazar { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); font-family: var(--font-title); font-style: italic; color: #f2cf7b; }
.ft-nazar svg { width: 34px; height: 34px; animation: nazar 8s linear infinite; }
@keyframes nazar { to { transform: rotate(360deg); } }
.site-footer .social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.15); color: #fff; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.site-footer .social a:hover { background: var(--gold); color: #0b1a42; }

.ft-h { font-family: var(--font-title); font-weight: 600; font-size: 1.3rem; color: #fff; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid; border-image: linear-gradient(90deg, var(--gold) 0 40px, rgb(255 255 255 / 0.12) 40px) 1; }
.ft-card { padding: 22px; border-radius: 20px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.12); }
.ft-address { display: flex; gap: 10px; font-style: normal; line-height: 1.7; }
.ft-address .icon { color: var(--gold); margin-top: 4px; }
.ft-bottom .ft-link { min-height: 32px; }
.ft-link { color: #f2cf7b; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
.ft-hours { display: grid; gap: 0; margin-top: 12px; font-size: 0.95rem; }
.ft-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border-radius: 8px; }
.ft-hours li span:last-child { font-variant-numeric: tabular-nums; color: #c9d3ec; }
.ft-hours li.is-today { background: rgb(242 207 123 / 0.14); color: #fff; font-weight: 700; }
.ft-hours li.is-today span:last-child { color: #f2cf7b; }
.ft-links { display: grid; }
.ft-links a { display: flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; transition: color 0.2s var(--ease), padding 0.2s var(--ease); }
.ft-links a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--gold); transition: width 0.2s var(--ease), margin 0.2s var(--ease); }
.ft-links a:hover { color: #f2cf7b; }
.ft-links a:hover::before { width: 14px; margin-right: 8px; }
.ft-links-small a { min-height: 44px; color: #c9d3ec; font-size: 0.95rem; }
.ft-reviews { display: grid; gap: 8px; }
.ft-reviews a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; border-radius: 12px; background: rgb(255 255 255 / 0.05); color: #fff; text-decoration: none; transition: background-color 0.2s var(--ease); }
.ft-reviews a:hover { background: rgb(255 255 255 / 0.12); }
.ft-reviews strong { font-family: var(--font-title); font-size: 1.3rem; color: #f2cf7b; }
.ft-reviews strong::after { content: " ★"; font-size: 0.9rem; }
.ft-bottom { position: relative; display: grid; gap: 4px; align-items: center; padding-block: 18px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.875rem; color: #c9d3ec; }
.ft-demo { color: #f2cf7b; }
.site-footer :focus-visible { outline-color: var(--gold); }

/* ---------- 13. Mobile bottom bar, back to top, toast ---------- */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(0 0 0 / 0.08);
}
.mobile-bar a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 50px; border-radius: 14px; font-size: 0.78rem; font-weight: 700; text-decoration: none; color: var(--ink);
}
.mobile-bar a:active { background: var(--bg-2); }
.mobile-bar .mobile-bar-order { background: var(--cta); color: var(--cta-ink); }
.mobile-bar .cart-count { top: 3px; right: calc(50% - 30px); background: var(--gold); color: #1e1633; box-shadow: none; }

.to-top {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom)); z-index: 55;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--brand); color: var(--brand-ink);
  box-shadow: var(--shadow-m); cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.to-top[hidden] { display: grid; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--cta); color: var(--cta-ink); }
html[data-page="order"] .to-top { bottom: 20px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 18px + env(safe-area-inset-bottom)); z-index: 300;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg);
  font-weight: 700; box-shadow: var(--shadow-m);
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; background: none; color: inherit; text-decoration: underline; font-weight: 800; cursor: pointer; min-height: 32px; }

/* Scroll reveal (only when JavaScript works) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 14. Tablet (600px+) ---------- */
@media (min-width: 600px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-bottom { grid-template-columns: 1fr auto; }
  .ft-demo { grid-column: 1 / -1; grid-row: 2; }
  .container { padding-inline: 32px; }
  .chips { margin-inline: -32px; }
  .chips ul { padding-inline: 32px; }
  .logo-svg { width: 150px; }

  .hero-ctas .btn { flex: 0 0 auto; }
  .feature-list { grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }

  .featured { grid-template-columns: 150px 1fr; gap: 28px; padding: 22px 28px 22px 22px; }
  .featured-media { width: 170px; }
  .featured .btn { grid-column: auto; justify-self: start; margin-top: 10px; }

  .dish-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .dish-card { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
  .dish-media { width: 100%; height: auto; aspect-ratio: 5 / 4; border-radius: 0; }
  .dish-media .tag-fav { display: inline-block; top: 12px; left: 12px; }
  .feature { flex-direction: row; padding: 18px; gap: 14px; }
  .dish-body { padding: 16px 18px 18px; }
  @media (hover: hover) { .dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line-strong); } }
  .dish-card:hover .dish-media img { transform: scale(1.06) rotate(-1.5deg); }
  .culture-grid { grid-auto-columns: 46%; }

  .rating-row { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .modal { inset: 0; margin: auto; width: min(560px, calc(100% - 48px)); max-height: min(88vh, 820px); border-radius: 24px; }
  .pd { max-height: min(88vh, 820px); }
  .pd-media { height: 220px; }
}

/* ---------- 15. Desktop (960px+) ---------- */
@media (min-width: 960px) {
  .ft-grid { grid-template-columns: 1.1fr 1.3fr 0.8fr 0.9fr; gap: 40px; padding-block: 64px 40px; }
  .ft-band-inner { padding-block: 96px; }
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .to-top { bottom: 28px; right: 28px; }
  .toast { bottom: 28px; }

  .logo-svg { width: 170px; }
  .main-nav { display: block; margin-left: 24px; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--ink);
  }
  .main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--cta); transform: scaleX(0); transition: transform 0.25s var(--ease); }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .burger { display: none; }
  .lang-switch-desktop { display: flex; }

  .hero { min-height: min(760px, calc(100vh - var(--header-h))); display: grid; align-items: center; }
  .hero-shade { background: linear-gradient(90deg, rgb(8 18 48 / 0.92) 0%, rgb(8 18 48 / 0.7) 42%, rgb(8 18 48 / 0.15) 75%, rgb(8 18 48 / 0.35) 100%), linear-gradient(180deg, transparent 70%, rgb(8 18 48 / 0.6) 100%); }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 40px; padding-block: 72px 96px; }
  .hero h1 { font-size: clamp(3.2rem, 4.6vw, 4.2rem); }
  .hero-media { width: 470px; }
  .hero-chip { width: 110px; } .hero-chip img { width: 96px; height: 77px; }
  .hero-chip-b { left: -40px; }
  .page-hero-inner { padding-block: 80px 96px; }
  .page-hero-small .page-hero-inner { padding-block: 56px 64px; }
  .page-hero .hero-shade { background: linear-gradient(90deg, rgb(8 18 48 / 0.9) 0%, rgb(8 18 48 / 0.55) 55%, rgb(8 18 48 / 0.25) 100%); }
  .culture-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 22px; }

  .section { padding-block: 96px; }
  .feature-list { grid-template-columns: repeat(4, 1fr); }
  .features { margin-top: 32px; position: relative; z-index: 2; }
  .dish-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }

  .story-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 72px; }
  .review-grid { grid-template-columns: repeat(4, 1fr); }
  .delivery-grid { grid-template-columns: 1fr 1.6fr; align-items: stretch; }
  .booking-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .booking-card { padding: 32px; }
  .info-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .map-card { grid-column: 1 / -1; min-height: 360px; }

  .menu-bar-inner { grid-template-columns: 280px 1fr; align-items: center; gap: 16px; }
  .chips { margin-inline: 0; min-width: 0; }
  .chips ul { padding-inline: 0; }
  .menu-cat-head h2 { font-size: 2.1rem; }

  .co-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .co-side { position: sticky; top: calc(var(--header-h) + 20px); }
}

@media (min-width: 1200px) {
  .dish-grid-menu { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 16. Less motion for people who ask for it ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
