/* Ada Catering — public site styles. Loaded after tokens.css; colours come from its variables.
   Mobile-first and compact ("app-like" on phones, SPEC-v2 A). Logical properties for anything
   direction-dependent (RTL for Arabic). No flex `gap` (iOS 12): flex rows use margins; grid `gap` is fine.
   Paddings that must not grow with very large text (200% zoom) are in px. */

/* ---------- Public type scale and sizes (the admin keeps tokens.css as it is) ------------------- */
:root {
  --fs-root: 100%;                /* 16px phones */
  --fs-sm: 0.875rem;              /* 14px: meta, hints — never smaller */
  --fs-base: 1rem;
  --fs-md: 1.0625rem;             /* dish names */
  --fs-lg: 1.1875rem;             /* h3 */
  --fs-xl: 1.375rem;              /* h2 */
  --fs-2xl: clamp(1.625rem, 1.15rem + 1.9vw, 2.4rem); /* h1 */
  --lh-body: 1.5;
  --tap: 44px;
  --gutter: 16px;
  --header-h: 56px;               /* kept in sync with the real height by nav.js */
  --radius-card: 14px;
}
:root[dir="rtl"] { --lh-body: 1.7; }
@media (min-width: 600px) { :root { --fs-root: 106.25%; } }
@media (min-width: 720px) { :root { --gutter: 24px; } }

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

html {
  font-size: var(--fs-root);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
html.header-static { scroll-padding-top: 8px; }
html.has-cartbar { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
:root[lang="ar"] { --font-display: var(--font-body); }

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  overflow-wrap: break-word;
}
html.is-modal-open, html.is-modal-open body { overflow: hidden; }
html.is-nav-open body { overflow: hidden; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 {
  word-break: break-word; /* very large text must not overflow narrow screens */
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--c-ink);
  margin: 0 0 var(--sp-3);
}
h1 { font-size: 1.75rem; }
@supports (font-size: clamp(1rem, 2vw, 3rem)) { h1 { font-size: var(--fs-2xl); } }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 500; }
a { color: var(--c-pomegranate); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--c-pomegranate-dark); }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
/* Text next to an icon in a flex row may wrap inside its own box (very large text). */
.contact-line > span, .ticks li > span, .menu-notes li > span, .dish-note > span,
.eyebrow > span, .banner-text, .notice > span, .step-body { min-width: 0; }
pre { margin: 0; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: -0.25em;
  stroke-width: 2;
}
[dir="rtl"] .icon-flip { transform: scaleX(-1); }

.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: always visible and distinct from the brand red. The transparent outline on the ring-styled
   controls is painted in the system colour in Windows high-contrast (forced colours) mode. */
a:focus, button:focus, summary:focus, input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}
.btn:focus, .chip:focus, .choice input:focus + .choice-box {
  outline: 3px solid transparent;
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible), summary:focus:not(:focus-visible) {
  outline: none;
}
.btn:focus:not(:focus-visible), .chip:focus:not(:focus-visible) { box-shadow: none; }
[tabindex="-1"]:focus { outline: none; }
@media (forced-colors: active) {
  .btn:focus-visible, .chip:focus-visible, .choice input:focus-visible + .choice-box { outline: 3px solid CanvasText; }
  .choice input:checked + .choice-box { outline: 2px solid Highlight; }
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: var(--sp-4);
  z-index: 100;
  background: var(--c-ink);
  color: var(--c-paper);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
}
[dir="rtl"] .skip-link { left: auto; right: var(--sp-4); }
.skip-link:focus { top: var(--sp-3); color: var(--c-paper); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 48rem; }

/* Things that only work with JavaScript stay hidden until nav.js removes .no-js */
.no-js .qty, .no-js [data-needs-js] { visibility: hidden; }
.no-js .nav-toggle, .no-js .special-toggle, .no-js .btn-cart { display: none; }

/* Grid children may shrink below their longest word so huge text can wrap. */
.hero-inner > *, .special-inner > *, .about-inner > *, .contact-inner > *, .dish-grid > *,
.steps > *, .choice-grid > *, .review-list > *, .footer-inner > * { min-width: 0; }

/* ---------- Buttons --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  flex-wrap: wrap; /* unbreakable parts move to a new line instead of overflowing */
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: var(--tap);
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--c-paper);
  color: var(--c-ink);
  font-weight: 500;
  font-size: var(--fs-base);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur), transform var(--dur);
  -webkit-tap-highlight-color: transparent;
}
.btn > .icon + span, .btn > span + .icon, .btn > .icon + bdi, .btn > span + bdi { margin-inline-start: 0.45em; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--c-sand);
  border-color: var(--c-line);
  color: var(--c-ink-muted);
  cursor: not-allowed;
  transform: none;
}
.btn-primary { background: var(--c-pomegranate); border-color: var(--c-pomegranate); color: #fff; }
.btn-primary:hover { background: var(--c-pomegranate-dark); border-color: var(--c-pomegranate-dark); color: #fff; }
.btn-secondary { background: var(--c-paper); border-color: var(--c-line-strong); color: var(--c-ink); }
.btn-secondary:hover { border-color: var(--c-pomegranate); color: var(--c-pomegranate-dark); }
.btn-whatsapp { background: var(--c-whatsapp); border-color: var(--c-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--c-whatsapp-dark); border-color: var(--c-whatsapp-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--c-ink); }
.btn-ghost:hover { background: var(--c-sand); }
.btn-lg { min-height: 48px; padding: 0.6rem 1.25rem; font-size: var(--fs-md); }
.btn-block { display: flex; width: 100%; }

.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--sp-1);
  border: 0;
  background: none;
  color: var(--c-pomegranate);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.link-btn:hover { color: var(--c-pomegranate-dark); }
.link-btn > .icon + span { margin-inline-start: 0.4em; }

/* ---------- Header ---------------------------------------------------------------------------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--c-cream); /* opaque: text scrolling underneath must not show through */
  border-bottom: 1px solid var(--c-line);
}
html.header-static .site-header { position: relative; }
@media (max-height: 459px) { .site-header { position: relative; } }
.header-inner { display: flex; align-items: center; min-height: 56px; }
.brand {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--tap);
  color: var(--c-ink);
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; margin-inline-start: 0.5rem; }
.brand-name { font-family: "Lora", Georgia, serif; font-weight: 500; font-size: 1.3rem; color: var(--c-pomegranate-dark); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--c-pomegranate); font-weight: 500; white-space: nowrap; }
/* "Ada" alone would read as the word "island" in Turkish, so "Catering" stays on every phone: at 320px it
   leaves about 50px free next to the cart and ☰. Only narrower windows (page zoom, split screen) drop it;
   header-compact below hides the whole wordmark when even that does not fit (very large text). */
@media (max-width: 299px) { .brand-sub { display: none; } }
/* Set by nav.js when the header row does not fit (very large text): keep only the essentials. */
html.header-compact .brand-text, html.header-compact .cart-word { display: none; }

.main-nav { display: none; }
.header-actions { display: flex; align-items: center; flex: none; }
.header-actions > * + * { margin-inline-start: 8px; }

.btn-cart { background: var(--c-pomegranate); border-color: var(--c-pomegranate); color: #fff; padding: 0.35rem 0.65rem; flex-wrap: nowrap; }
.btn-cart:hover { background: var(--c-pomegranate-dark); color: #fff; }
.btn-cart.is-empty { background: var(--c-paper); border-color: var(--c-line-strong); color: var(--c-ink); }
.btn-cart > .icon + span { margin-inline-start: 0.4em; }
.cart-word { display: none; }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.5rem; height: 1.5rem;
  margin-inline-start: 0.4em;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--c-pomegranate-dark);
  font-size: var(--fs-sm);
  line-height: 1;
}
.btn-cart.is-empty .cart-count { background: var(--c-sand); color: var(--c-ink); }
@media (min-width: 360px) { .cart-word { display: inline; } }
.btn-cart.is-bumped { animation: sofra-bump 0.6s ease; }
@keyframes sofra-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.1); box-shadow: 0 0 0 5px var(--c-gold-tint); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cart.is-bumped { animation: none; box-shadow: 0 0 0 3px var(--c-gold); }
}

.nav-toggle {
  min-width: var(--tap);
  padding: 0 8px;
  border-color: var(--c-line-strong);
  background: var(--c-paper);
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .nav-icon-close, .nav-toggle[aria-expanded="true"] .nav-icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-close { display: inline-block; }
.nav-toggle[aria-expanded="true"] { background: var(--c-sand); }

/* Phone panel under the header row */
.nav-panel {
  border-top: 1px solid var(--c-line);
  background: var(--c-cream);
  box-shadow: 0 12px 24px rgba(42, 26, 23, 0.12);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.nav-panel-inner { padding-top: 4px; padding-bottom: 16px; }
.nav-panel-links { list-style: none; }
.nav-panel-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-panel-links a:hover { color: var(--c-pomegranate-dark); }
.nav-panel-langs { margin-top: 14px; }
.nav-langs-title { display: flex; align-items: center; margin: 0 0 6px; color: var(--c-ink-muted); font-size: var(--fs-sm); font-weight: 500; }
.nav-langs-title .icon { margin-inline-end: 0.4em; }
.nav-lang-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 600px) { .nav-lang-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nav-lang-list a, .lang-list a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  text-decoration: none;
}
.nav-lang-list a { border: 1px solid var(--c-line); background: var(--c-paper); }
.nav-lang-list a:hover, .lang-list a:hover { background: var(--c-sand); }
.nav-lang-list a[aria-current], .lang-list a[aria-current] { color: var(--c-pomegranate-dark); font-weight: 500; border-color: var(--c-pomegranate); }
.nav-lang-list .icon, .lang-list .icon, .icon-space { width: 1.1em; height: 1.1em; display: inline-block; flex: none; margin-inline-end: 0.5em; }
.nav-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 25; background: rgba(42, 26, 23, 0.35); }

/* Language menu (wide screens; phones without JavaScript). Works without JS thanks to <details>. */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.btn-lang { padding: 0.35rem 0.6rem; border-color: var(--c-line-strong); background: var(--c-paper); flex-wrap: nowrap; }
/* Spacing sits on the icons (page direction), not on the LTR code span, so RTL keeps its gap. */
.btn-lang > .icon-globe { margin-inline-end: 0.35em; }
.btn-lang > .icon + span, .btn-lang > span + span { margin-inline-start: 0; }
.lang-caret { margin-inline-start: 0.2em; transition: transform var(--dur); }
.lang-menu[open] .lang-caret { transform: rotate(180deg); }
.lang-current-long { display: none; }
.lang-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 35;
  min-width: 12rem;
  list-style: none;
  padding: 6px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 12px 30px rgba(42, 26, 23, 0.12);
}
[dir="rtl"] .lang-list { right: auto; left: 0; }
.js .lang-menu { display: none; }

@media (min-width: 900px) {
  .header-inner { min-height: 64px; }
  .brand, .header-actions { flex: 1 1 0; }
  .header-actions { justify-content: flex-end; }
  .main-nav { display: block; flex: none; }
  .main-nav ul { list-style: none; display: flex; }
  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    padding: 0 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--c-ink);
    font-weight: 500;
    text-decoration: none;
  }
  .main-nav a:hover { background: var(--c-sand); color: var(--c-pomegranate-dark); }
  .nav-toggle, .nav-panel, .nav-backdrop { display: none !important; }
  .js .lang-menu { display: block; }
  .brand-mark { width: 36px; height: 36px; }
}
@media (min-width: 1200px) {
  .lang-current-long { display: inline; }
  .lang-current-short { display: none; }
}
@media (max-width: 899px) {
  /* Without JavaScript the <details> language menu is the phone's language switcher. */
  .header-inner { position: relative; }
  .no-js .lang-menu { position: static; }
  .no-js .lang-list { left: var(--gutter); right: var(--gutter); min-width: 0; }
}

/* ---------- Banners, notices ------------------------------------------------------------------ */
.banner { border-bottom: 1px solid var(--c-line); font-size: 0.9375rem; }
.banner-inner { display: flex; align-items: flex-start; padding-top: 8px; padding-bottom: 8px; }
.banner-inner > .icon { margin-top: 0.15em; margin-inline-end: var(--sp-2); }
.banner p { margin: 0; }
.banner-text p + p { margin-top: 2px; }
.banner-paused { background: var(--c-pomegranate-tint); color: var(--c-pomegranate-dark); }
.banner-closed { background: var(--c-gold-tint); }
.banner-closed .icon { color: var(--c-gold-ink); }
.banner-announcement { background: var(--c-sage-tint); }
.banner-announcement .icon { color: var(--c-sage-ink); }
.banner + .banner { border-top: 0; }

.notice {
  display: flex;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  margin: 0 0 var(--sp-3);
}
.notice > .icon { margin-top: 0.15em; margin-inline-end: var(--sp-2); }
.notice-warn { background: var(--c-pomegranate-tint); border-color: #e7c3c0; color: var(--c-pomegranate-dark); }
.notice-info { background: var(--c-gold-tint); border-color: #eadbb5; }
div.notice { display: block; }

/* ---------- Sections -------------------------------------------------------------------------- */
main > section { padding: 24px 0; }
.section-alt { background: var(--c-sand); }
.section-title { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.section-title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.4rem;
  border-radius: 2px;
  background: var(--c-gold);
}
.hint { font-size: var(--fs-sm); color: var(--c-ink-muted); margin: 4px 0 0; }
@media (min-width: 900px) {
  main > section { padding: 48px 0; }
  .section-title { font-size: 1.75rem; }
}

/* Hero: on phones a modest food photo on top, then the text and one primary button */
main > .hero { padding: 12px 0 24px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; }
.hero-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.eyebrow { display: flex; align-items: center; color: var(--c-gold-ink); font-weight: 500; font-size: var(--fs-sm); margin-bottom: 6px; }
.eyebrow > .icon { margin-inline-end: 0.35em; }
.hero h1 { margin-bottom: 8px; }
.hero-lead { color: var(--c-ink-soft); max-width: 34rem; margin-bottom: 14px; }
.hero-certifier, .about-certifier { display: flex; align-items: flex-start; color: var(--c-sage-ink); font-weight: 500; }
.hero-certifier > .icon, .about-certifier > .icon { margin-top: 0.2em; margin-inline-end: 0.4em; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; }
.btn-wa-link { align-self: center; margin-top: 4px; color: var(--c-whatsapp-dark); font-size: var(--fs-base); }
.btn-wa-link:hover { color: var(--c-whatsapp-dark); background: var(--c-sage-tint); }
@media (min-width: 600px) and (max-width: 899px) {
  .hero-media img { height: 260px; }
}
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; margin: 0 -4px; }
  .hero-actions > .btn { margin: 4px; }
  .btn-wa-link { align-self: auto; padding-left: 0.4rem; padding-right: 0.4rem; }
}
@media (min-width: 900px) {
  main > .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero-media { order: 2; }
  .hero-media img { height: auto; max-height: 400px; }
  .hero-lead { font-size: var(--fs-md); }
}

/* How to order: a compact numbered list */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; }
.step { display: flex; align-items: flex-start; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: 1.75rem; height: 1.75rem;
  margin-inline-end: 10px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--c-pomegranate);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.step-body { min-width: 0; }
.step-title { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 500; margin: 0 0 1px; line-height: 1.35; }
.step p { margin: 0; color: var(--c-ink-soft); font-size: 0.9375rem; line-height: 1.45; }
.menu-notes li { display: flex; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-ink-muted); line-height: 1.45; }
.menu-notes .icon { margin-top: 0.1em; margin-inline-end: 0.4em; color: var(--c-gold-ink); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ---------- Menu ------------------------------------------------------------------------------ */
.menu-notes { list-style: none; margin: 0 0 4px; }
.menu-notes li { margin-bottom: 4px; }
.menu-notes { max-width: 46rem; }

.chips { position: relative; margin: 10px calc(-1 * var(--gutter)) 0; }
.chips ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px var(--gutter) 6px;
}
.chips ul::-webkit-scrollbar { display: none; }
.chips li { flex: none; margin-inline-end: 8px; }
.chip {
  display: inline-flex; align-items: center;
  min-height: var(--tap);
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: var(--c-paper);
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.chip:hover { border-color: var(--c-pomegranate); color: var(--c-pomegranate-dark); background: var(--c-pomegranate-tint); }
.chips::before, .chips::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 6px;
  width: 44px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur);
}
.chips::before { left: 0; background: linear-gradient(to right, var(--c-cream) 20%, rgba(255, 248, 240, 0)); }
.chips::after { right: 0; background: linear-gradient(to left, var(--c-cream) 20%, rgba(255, 248, 240, 0)); }
.chips.has-more-end:not(.is-rtl)::after, .chips.has-more-start:not(.is-rtl)::before,
.chips.is-rtl.has-more-end::before, .chips.is-rtl.has-more-start::after { opacity: 1; }
/* Desktop: a mouse cannot swipe the row and its scrollbar is hidden, so the chips wrap (2 rows at most). */
@media (min-width: 900px) {
  .chips ul { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
  .chips li { margin-bottom: 8px; }
  .chips::before, .chips::after { display: none; }
}

.category { padding-top: 18px; }
.category-title { display: flex; align-items: center; font-size: var(--fs-lg); margin-bottom: 10px; }
.category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-inline-start: var(--sp-3);
  background: linear-gradient(to right, var(--c-gold), rgba(200, 150, 46, 0));
}
[dir="rtl"] .category-title::after { background: linear-gradient(to left, var(--c-gold), rgba(200, 150, 46, 0)); }

.dish-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 700px) { .dish-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 1100px) { .dish-grid { grid-template-columns: repeat(3, 1fr); } }

.dish {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  background: var(--c-paper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.dish-head { display: flex; align-items: flex-start; }
.dish-media {
  position: relative;
  flex: none;
  width: 88px;
  height: 88px;
  margin-inline-end: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-sand);
}
.dish-media img { width: 100%; height: 100%; object-fit: cover; }
.is-unavailable .dish-media img { -webkit-filter: grayscale(1); filter: grayscale(1); opacity: 0.8; }
/* A real photo is a button that opens the photo viewer; a small magnifier marks it (CSS only). */
.dish-zoom { display: block; padding: 0; border: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.dish-zoom-mark {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(42, 26, 23, 0.35);
}
[dir="rtl"] .dish-zoom-mark { right: auto; left: 4px; }
.dish-zoom-mark::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--c-ink);
  border-radius: 50%;
  box-sizing: border-box;
}
.dish-zoom-mark::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 13px;
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: var(--c-ink);
  transform: rotate(-45deg);
}
.dish-zoom:hover .dish-zoom-mark { background: #fff; }
.no-js .dish-zoom { cursor: default; }
.no-js .dish-zoom-mark { display: none; }
@media (min-width: 700px) {
  .dish-media { width: 104px; height: 104px; }
  /* Same box as a photo so names and descriptions line up across a row; the icon itself stays 88px. */
  .has-placeholder .dish-media { padding: 8px; }
}
.dish-info { flex: 1 1 auto; min-width: 0; }
.dish-name { font-size: var(--fs-md); line-height: 1.3; margin: 0 0 1px; }
.dish-desc { font-size: 0.9375rem; line-height: 1.42; color: var(--c-ink-soft); margin: 0 0 3px; }
/* Two lines on phones, three in the narrower grid columns from 700px; a tap shows the rest (screen
   readers always get the full text). */
.js .dish-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.js .dish-desc.is-expanded { display: block; overflow: visible; }
@media (min-width: 700px) { .js .dish-desc { -webkit-line-clamp: 3; } }
.dish-meta { font-size: var(--fs-sm); line-height: 1.6; color: var(--c-ink-muted); margin: 0 0 2px; }
.tags, .dish-meta .dish-allergens { display: inline; list-style: none; margin: 0; }
.tag {
  display: inline-block;
  margin-inline-end: 2px;
  padding: 0 0.4rem;
  border-radius: 999px;
  line-height: 1.45;
  max-width: 100%;
  background: var(--c-sand);
  color: var(--c-ink-soft);
}
.tag > .icon { width: 1em; height: 1em; margin-inline-end: 0.25em; vertical-align: -0.12em; }
@media (max-width: 359px) {
  .tag { padding: 0 0.3rem; }
  .tag > .icon { display: none; }
}
.tag-vegan, .tag-vegetarian { background: var(--c-sage-tint); color: var(--c-sage-ink); }
.tag-halal { background: var(--c-gold-tint); color: var(--c-gold-ink); }
.tag-spicy { background: var(--c-pomegranate-tint); color: var(--c-pomegranate); }
.dish-note { font-size: var(--fs-sm); line-height: 1.4; color: var(--c-ink-muted); margin: 0 0 2px; }
.dish-note { display: flex; align-items: flex-start; }
.dish-note > .icon { width: 1.1em; height: 1.1em; color: var(--c-gold-ink); margin-top: 0.1em; margin-inline-end: 0.3em; }
.dish-out { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--c-ink); }
.dish-out-badge { display: inline-block; padding: 0 0.5rem; border-radius: 999px; background: var(--c-ink); color: #fff; font-weight: 500; }

.portions { list-style: none; margin-top: auto; padding-top: 6px; }
.portion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 2px 0;
  border-top: 1px solid var(--c-line);
}
.portion:last-child { padding-bottom: 0; }
.portion-info { flex: 1 1 8em; min-width: 0; margin: 0; margin-inline-end: 8px; font-size: 0.9375rem; line-height: 1.35; }
.portion-label { font-weight: 500; margin-inline-end: 0.5em; }
/* The "·" (aria-hidden) would dangle at a line end when the price wraps; a gap separates them instead,
   and the price and its "örnek" badge wrap together as one unit. */
.portion-sep { display: none; }
.portion-price { display: inline-block; max-width: 100%; color: var(--c-pomegranate-dark); font-weight: 500; }
.portion-price-ask { color: var(--c-ink-soft); font-weight: 400; }
.badge-sample {
  display: inline-block;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--c-gold-tint);
  color: var(--c-gold-ink);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.35;
}
.qty { display: flex; justify-content: flex-end; max-width: 100%; margin-inline-start: auto; }
.btn-add { border-color: var(--c-pomegranate); color: var(--c-pomegranate); padding: 0.3rem 0.85rem; font-size: 0.9375rem; flex-wrap: nowrap; }
.btn-add:hover { background: var(--c-pomegranate-tint); color: var(--c-pomegranate-dark); }
.btn-add > .icon + span { margin-inline-start: 0.3em; }
.qty.is-flash .stepper { box-shadow: 0 0 0 4px var(--c-gold-tint); }

/* Quantity stepper (cards and cart lines) */
.stepper {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  border: 2px solid var(--c-pomegranate);
  border-radius: var(--radius);
  background: var(--c-paper);
  transition: box-shadow var(--dur);
}
.stepper-btn, .stepper-remove {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  border: 0;
  background: transparent;
  color: var(--c-pomegranate);
  border-radius: calc(var(--radius) - 2px);
}
.stepper-btn:hover, .stepper-remove:hover { background: var(--c-pomegranate-tint); }
.stepper-btn[disabled], .stepper-btn[aria-disabled="true"] { color: var(--c-ink-muted); background: transparent; cursor: not-allowed; }
.stepper-btn .icon { width: 1.25rem; height: 1.25rem; }
.stepper-remove { padding: 0 0.6rem; font-weight: 500; font-size: var(--fs-sm); text-decoration: underline; }
.stepper-qty { min-width: 2rem; text-align: center; font-weight: 500; }

/* ---------- Special orders -------------------------------------------------------------------- */
.special-inner { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.special-text p { color: var(--c-ink-soft); }
.ticks { list-style: none; margin-bottom: 12px; }
.ticks li { display: flex; align-items: flex-start; margin-bottom: 4px; font-size: 0.9375rem; }
.ticks .icon { color: var(--c-sage-ink); margin-top: 0.15em; margin-inline-end: 0.45em; }
.special-caret { transition: transform var(--dur); }
.special-toggle[aria-expanded="true"] .special-caret { transform: rotate(180deg); }
@media (min-width: 900px) {
  .special-inner.is-open { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.card { background: var(--c-paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 16px; }
@media (min-width: 720px) { .card { padding: 24px; } }

/* ---------- Forms ----------------------------------------------------------------------------- */
.field { margin-bottom: 14px; }
.field label, .choices legend { display: block; font-weight: 500; margin-bottom: 6px; }
.req, .opt { font-weight: 400; font-size: var(--fs-sm); color: var(--c-ink-muted); }
input[type="text"], input[type="tel"], input[type="date"], textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.8rem;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-paper);
  font-size: 1rem; /* 16px: iOS does not zoom into the field */
  line-height: 1.4;
}
input[type="date"] { max-width: 16rem; -webkit-appearance: none; appearance: none; }
textarea { resize: vertical; min-height: 4.5rem; }
input:focus, textarea:focus { border-color: var(--c-focus); }
[aria-invalid="true"] { border-color: var(--c-danger) !important; }
.field-error { margin: 6px 0 0; color: var(--c-danger); font-weight: 500; font-size: 0.9375rem; }
.counter { font-variant-numeric: tabular-nums; }
.counter.is-low { color: var(--c-danger); font-weight: 500; }
.check { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 500; cursor: pointer; }
.check input { width: 1.4rem; height: 1.4rem; margin: 0; margin-inline-end: 0.55rem; accent-color: var(--c-pomegranate); flex: none; }
.special-form .btn-block { margin-top: 4px; }

/* ---------- About, reviews -------------------------------------------------------------------- */
.about-inner { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; }
.about-media img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.about-text p { color: var(--c-ink-soft); margin-bottom: 10px; }
@media (min-width: 600px) and (max-width: 899px) { .about-media img { height: 240px; } }
@media (min-width: 900px) {
  .about-inner { grid-template-columns: 5fr 7fr; gap: 48px; }
  .about-media img { height: auto; max-height: 380px; }
}
.reviews { margin-top: 22px; }
.reviews-title { font-size: var(--fs-lg); margin-bottom: 10px; }
.reviews-note { margin: -4px 0 10px; }
.review-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 820px) { .review-list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.review figure {
  height: 100%;
  margin: 0;
  padding: 12px 14px;
  background: var(--c-paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-inline-start: 3px solid var(--c-gold);
}
.review blockquote { margin: 0 0 6px; font-family: var(--font-display); font-size: var(--fs-base); line-height: 1.5; }
.review figure[lang="ar"] blockquote, .review figure[lang="ru"] blockquote { font-family: var(--font-body); }
.review figcaption { font-size: var(--fs-sm); color: var(--c-ink-muted); }
.review-name { font-weight: 500; color: var(--c-ink); }
.review-name + .review-note::before { content: " · "; }

/* ---------- FAQ ------------------------------------------------------------------------------- */
.faq .narrow { max-width: var(--container); }
.faq-list { max-width: 48rem; margin-top: 4px; }
.faq-item { background: var(--c-paper); border-radius: var(--radius); box-shadow: var(--shadow-card); margin-bottom: 8px; }
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary > span { flex: 1 1 auto; min-width: 0; }
.faq-caret { margin-inline-start: var(--sp-3); color: var(--c-pomegranate); transition: transform var(--dur); }
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-a { padding: 0 14px 12px; color: var(--c-ink-soft); font-size: 0.9375rem; }

/* ---------- Contact --------------------------------------------------------------------------- */
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.contact-text > p { color: var(--c-ink-soft); }
.contact-actions { display: flex; flex-wrap: wrap; margin: 8px -4px; }
.contact-actions > .btn { margin: 4px; }
.contact-line { display: flex; align-items: flex-start; margin: 6px 0; font-size: 0.9375rem; }
.contact-line > .icon { color: var(--c-pomegranate); margin-top: 0.15em; margin-inline-end: 0.5em; }
.contact-line bdi { white-space: normal; }
.contact-hours h3 { display: flex; align-items: center; font-size: var(--fs-md); margin-bottom: 6px; }
.contact-hours h3 > .icon { color: var(--c-gold-ink); margin-inline-end: 0.45em; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
/* Rows are flex lines, so with very large text the time moves under the day instead of overflowing. */
.hours tbody { display: block; }
.hours tr { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--c-line); }
.hours th, .hours td { display: block; padding: 7px 6px; }
.hours th { text-align: start; font-weight: 500; }
.hours td { text-align: end; margin-inline-start: auto; }
.hours bdi { white-space: normal; } /* may break after the dash when text is very large */
.hours tr.is-today { background: var(--c-pomegranate-tint); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--c-pomegranate-dark); }
.today-badge {
  display: inline-block;
  margin-inline-start: 0.5em;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--c-pomegranate);
  color: #fff;
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* ---------- Footer ---------------------------------------------------------------------------- */
.site-footer { background: var(--c-pomegranate-dark); color: #fff; padding: 22px 0 20px; font-size: 0.9375rem; }
html.has-cartbar .site-footer { padding-bottom: calc(20px + 64px + env(safe-area-inset-bottom)); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-gold-tint); }
.site-footer a:focus { outline-color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 12px; }
.footer-brand { display: flex; align-items: center; }
.footer-brand img { width: 36px; height: 36px; margin-inline-end: var(--sp-3); }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.3; }
.footer-tagline { font-family: var(--font-body); font-size: var(--fs-sm); color: #f6e4e3; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; margin: 0 -8px; }
.footer-links li { margin: 0 8px; }
.footer-links li { max-width: 100%; }
.footer-links a { display: inline-flex; align-items: center; max-width: 100%; min-height: var(--tap); }
.footer-links a > span { min-width: 0; overflow-wrap: anywhere; }
.footer-links a > .icon { margin-inline-end: 0.4em; }
.footer-links bdi { white-space: normal; }
.footer-meta { margin: 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: var(--fs-sm); color: #f6e4e3; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
  .footer-meta { grid-column: 1 / -1; }
}

/* ---------- Floating cart bar (about 56px) ---------------------------------------------------- */
.cartbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  background: var(--c-cream);
  box-shadow: var(--shadow-float);
}
.cartbar-inner { display: flex; justify-content: center; }
.cartbar-btn { width: 100%; max-width: 30rem; flex-wrap: nowrap; padding: 0.45rem 1rem; }
.cartbar-btn #cartbar-text { flex: 1 1 auto; min-width: 0; margin: 0 0.4em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartbar-btn .cartbar-chevron { margin: 0; }
html.is-modal-open .cartbar, html.is-nav-open .cartbar { display: none; }

/* ---------- Dialogs --------------------------------------------------------------------------- */
dialog:not([open]) { display: none; }
.dialog {
  padding: 0;
  border: 0;
  color: var(--c-ink);
  background: var(--c-cream);
  box-shadow: 0 20px 60px rgba(42, 26, 23, 0.35);
}
.dialog::backdrop { background: rgba(42, 26, 23, 0.6); }
.dialog-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; background: rgba(42, 26, 23, 0.6); }
.checkout {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Focused fields never hide under the sticky head or the sticky send footer. */
  scroll-padding-top: 64px;
  scroll-padding-bottom: 128px;
}
.dialog.is-fallback {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 95;
}
@media (min-width: 720px) and (min-height: 560px) {
  .checkout {
    max-width: 40rem;
    height: auto;
    max-height: calc(100% - 3rem);
    margin: 1.5rem auto;
    border-radius: var(--radius-lg);
  }
  .checkout.is-fallback { top: 1.5rem; bottom: 1.5rem; margin: 0 auto; }
}
.dialog-head {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 4px var(--gutter);
  padding-top: calc(4px + env(safe-area-inset-top));
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}
[dir="rtl"] .dialog-head { padding-left: 8px; padding-right: var(--gutter); }
.dialog-head h2 { margin: 0; font-size: var(--fs-lg); }
.dialog-close { padding: 0.35rem 0.7rem; }
.dialog-body { padding: 8px var(--gutter) 16px; }

.co-block { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.co-block:first-of-type { padding-top: 6px; }
.co-block:last-child { border-bottom: 0; }
.co-title { display: flex; align-items: center; flex-wrap: wrap; font-size: var(--fs-base); font-family: var(--font-body); margin-bottom: 10px; }
.co-title label { display: inline; margin: 0; font-weight: 500; }
.co-title .opt { margin-inline-start: 0.4em; }
.co-num {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: 1.6rem; height: 1.6rem;
  margin-inline-end: 0.5rem;
  border-radius: 50%;
  background: var(--c-pomegranate);
  color: #fff;
  font-size: var(--fs-sm);
}
.co-when-hint { margin: -4px 0 10px; }
.co-empty p { font-size: var(--fs-md); }
#co-paused .contact-actions { margin-bottom: 0; }
#co-notices { white-space: pre-line; }

.lines { list-style: none; }
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-line);
}
.line:first-child { padding-top: 0; }
.line p { margin: 0; }
.line-name { font-weight: 500; }
.line-portion, .line-unit { color: var(--c-ink-soft); font-size: var(--fs-sm); }
.line-price { font-weight: 500; color: var(--c-pomegranate-dark); text-align: end; }
.line-price.is-tbc { font-size: var(--fs-sm); font-weight: 400; color: var(--c-ink-soft); }
.line-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 4px; }
.line-stepper { margin-inline-end: var(--sp-3); }
@media (min-width: 560px) {
  .line { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
  .line-controls { grid-column: 2; grid-row: 1; margin-top: 0; }
  .line-price { grid-column: 3; grid-row: 1; min-width: 4.5rem; }
}
.co-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 2px solid var(--c-ink);
  font-size: var(--fs-md);
  font-weight: 500;
}
.co-total strong { color: var(--c-pomegranate-dark); }

.choices { border: 0; margin: 0 0 10px; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; }
.choices .field-error { margin: 0 0 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5em, 1fr)); gap: 8px; }
.choice-grid-slots { grid-template-columns: repeat(auto-fill, minmax(8em, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice-asap { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice-box {
  display: flex;
  align-items: center;
  min-height: 48px;
  height: 100%;
  padding: 0.4rem 0.65rem;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-paper);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.3;
  transition: border-color var(--dur), background-color var(--dur);
}
.choice-box .icon { display: none; color: var(--c-pomegranate); margin-inline-end: 0.4em; }
/* "En kısa sürede" with the earliest real pickup on a second, smaller line. */
.choice-text { display: block; min-width: 0; }
.choice-main, .choice-sub { display: block; }
.choice-sub { margin-top: 1px; font-size: var(--fs-sm); font-weight: 400; color: var(--c-ink-soft); }
.choice input:checked + .choice-box .choice-sub { color: var(--c-pomegranate-dark); }
.co-no-days .contact-actions { margin-bottom: 0; }
.choice:hover .choice-box { border-color: var(--c-pomegranate); }
.choice input:checked + .choice-box {
  border-color: var(--c-pomegranate);
  background: var(--c-pomegranate-tint);
  box-shadow: inset 0 0 0 1px var(--c-pomegranate);
  color: var(--c-pomegranate-dark);
}
.choice input:checked + .choice-box .icon { display: inline-block; }
.choice input:focus + .choice-box { box-shadow: var(--focus-ring); }
.choice-grid-slots .choice-box { justify-content: center; text-align: center; }
.choices[aria-invalid="true"] .choice-box { border-color: var(--c-danger); }
.co-choice-msg { margin: 0 0 12px; }

/* "Başka bir tarih seç" and its month calendar. Day cells are buttons of at least 44 × 44 px: below
   360px the calendar reaches into the dialog's side padding so seven of them fit a 320px screen. A bookable day
   has a frame; a day that cannot be chosen has none (not colour alone); today's number is underlined. */
.co-other-btn { margin-top: 10px; padding: 0.45rem 0.9rem; font-size: 0.9375rem; }
.co-other-btn .co-other-caret { margin-inline-start: 0.35em; transition: transform var(--dur); }
.co-other-btn[aria-expanded="true"] .co-other-caret { transform: rotate(180deg); }
.co-other-btn.has-choice {
  border-color: var(--c-pomegranate);
  background: var(--c-pomegranate-tint);
  box-shadow: inset 0 0 0 1px var(--c-pomegranate);
  color: var(--c-pomegranate-dark);
}
@media (forced-colors: active) { .co-other-btn.has-choice { outline: 2px solid Highlight; } }
.co-cal {
  max-width: 28rem;
  margin: 10px -12px 0;
  padding: 8px 0 10px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
@media (min-width: 360px) { .co-cal { margin-left: 0; margin-right: 0; padding-left: 6px; padding-right: 6px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 6px; }
.cal-title { flex: 1 1 auto; min-width: 0; margin: 0 6px; text-align: center; font-weight: 500; font-size: var(--fs-md); line-height: 1.3; }
.cal-nav {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-paper);
  color: var(--c-ink);
  touch-action: manipulation;
}
.cal-nav[aria-disabled="true"] { border-color: var(--c-line); background: var(--c-cream); color: var(--c-line-strong); cursor: not-allowed; }
.cal-nav .icon { width: 1.4em; height: 1.4em; }
.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-grid th {
  padding: 2px 0 4px;
  overflow: hidden;
  white-space: nowrap;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-muted);
  text-align: center;
}
.cal-grid td { padding: 0; text-align: center; }
.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  /* The transparent border is part of the button (it takes taps) and spaces the visible frames. */
  border: 3px solid transparent;
  border-radius: 12px;
  background: var(--c-paper);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--c-line-strong);
  color: var(--c-ink);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; /* quick taps never zoom the page (iOS double-tap) */
}
/* Hover only where there is a real hover (a tapped day on a phone must not keep the hover frame). */
@media (hover: hover) {
  .cal-nav:not([aria-disabled="true"]):hover { border-color: var(--c-pomegranate); color: var(--c-pomegranate-dark); }
  .cal-day:not([aria-disabled="true"]):not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 2px var(--c-pomegranate); }
}
.cal-day:focus { outline: 3px solid var(--c-focus); outline-offset: -1px; }
.cal-day:focus:not(:focus-visible) { outline: none; }
.cal-day[aria-disabled="true"] { background: transparent; box-shadow: none; color: var(--c-ink-muted); font-weight: 400; cursor: not-allowed; }
.cal-day[aria-pressed="true"] { background: var(--c-pomegranate); box-shadow: inset 0 0 0 1px var(--c-pomegranate); color: #fff; }
.cal-day.is-today .cal-num {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  -webkit-text-decoration-color: var(--c-gold-ink);
  text-decoration-color: var(--c-gold-ink);
}
.cal-day[aria-pressed="true"].is-today .cal-num { -webkit-text-decoration-color: #fff; text-decoration-color: #fff; }
.co-cal .field-error, .co-cal .hint { margin: 6px 8px 0; }
@media (forced-colors: active) {
  .cal-day { border-color: ButtonFace; box-shadow: none; outline: 1px solid ButtonText; outline-offset: -4px; }
  .cal-day[aria-disabled="true"] { outline: none; color: GrayText; }
  .cal-day[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}

/* The chosen date, shown big, with its time slots right below. */
.co-picked { margin-top: 14px; }
.co-picked-date {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid #eadbb5;
  border-inline-start: 4px solid var(--c-gold);
  background: var(--c-gold-tint);
  font-size: var(--fs-md);
  line-height: 1.35;
}
.co-picked-date > .icon { margin-inline-end: 0.5em; color: var(--c-gold-ink); }
.co-picked-date > span { min-width: 0; }
.co-picked-date strong { color: var(--c-pomegranate-dark); }

.remember { margin-top: 4px; }
.remember .check { display: flex; }
.remember .hint { margin-top: 0; }
.remember .link-btn { padding-left: 0; padding-right: 0; }

.preview > summary {
  display: inline-flex; align-items: center;
  min-height: var(--tap);
  color: var(--c-pomegranate);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.preview > summary::-webkit-details-marker { display: none; }
.preview > summary .faq-caret { margin-inline-start: 0.4em; }
.preview[open] > summary .faq-caret { transform: rotate(180deg); }
.preview pre {
  margin-top: 4px;
  padding: 12px;
  max-height: 16rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--c-paper);
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.5;
  text-align: start;
}

.fallbacks { border-radius: var(--radius); transition: background-color var(--dur), box-shadow var(--dur); }
.fallbacks.is-highlighted { background: var(--c-gold-tint); box-shadow: 0 0 0 3px var(--c-gold); padding-left: 12px; padding-right: 12px; }
.fallback-row { display: flex; flex-wrap: wrap; margin: 8px -4px 0; }
.fallback-row > .btn { margin: 4px; flex: 1 1 auto; }
@media (max-width: 559px) {
  .fallback-row > .btn { flex: 1 1 40%; }
  .fallback-row > #co-copy { flex-basis: 100%; }
}
.copy-fallback { margin-top: 12px; }
.copy-temp { position: fixed; top: 0; left: 0; width: 2em; height: 2em; padding: 0; border: 0; opacity: 0; }
.copy-fallback label { display: block; font-weight: 500; margin-bottom: 6px; }
.copy-fallback textarea { min-height: 10rem; font-size: var(--fs-sm); text-align: start; }
.qr { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; margin-top: 16px; }
@media (min-width: 560px) { .qr { grid-template-columns: 180px 1fr; } }
.qr-box { width: 180px; max-width: 100%; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 6px; }
.qr-box:empty { min-height: 180px; background: var(--c-sand); }
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-label { display: flex; align-items: center; font-weight: 500; margin: 0; }
.qr-label > .icon { margin-inline-end: 0.5em; color: var(--c-pomegranate); }

/* Sticky footer of the checkout: the total and the send button are always in view. */
.dialog-foot {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 6px var(--gutter) calc(6px + env(safe-area-inset-bottom));
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 14px rgba(42, 26, 23, 0.08);
}
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot-total { display: flex; flex-direction: column; margin: 0; margin-inline-end: 12px; font-size: var(--fs-sm); color: var(--c-ink-soft); line-height: 1.25; }
.foot-total strong { font-size: var(--fs-lg); color: var(--c-pomegranate-dark); }
.foot-send { flex: 1 1 11rem; flex-wrap: nowrap; max-width: 22rem; margin-inline-start: auto; }
.foot-send > span { min-width: 0; }
.foot-reminder, .send-reminder { display: flex; align-items: center; margin: 4px 0 0; font-size: var(--fs-sm); color: var(--c-ink-soft); line-height: 1.35; }
.send-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: 1.6rem; height: 1.6rem;
  margin-inline-end: 0.5rem;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: #fff;
}
.send-arrow .icon { width: 0.95rem; height: 0.95rem; }
.send-reminder { margin-top: 10px; }

.dialog-small {
  width: calc(100% - 2rem);
  max-width: 28rem;
  margin: auto;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.dialog-small.is-fallback { top: 50%; bottom: auto; left: 1rem; right: 1rem; width: auto; margin: 0 auto; transform: translateY(-50%); }
.dialog-small h2 { font-size: var(--fs-xl); }
.dialog-small p { color: var(--c-ink-soft); }
.dialog-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.rt-thanks-icon { margin: 0 0 8px; color: var(--c-pomegranate); }
.rt-thanks-icon .icon { width: 2.5rem; height: 2.5rem; }

/* ---------- Photo viewer: the photo at min(92vw, 720px) × 70vh at most, never enlarged ---------- */
.viewer {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  /* 6px around and inside: a 92vw photo still fits a 320px screen (0.92 x 320 + 24 <= 320). */
  max-width: calc(100% - 12px);
  max-height: calc(100% - 12px);
  margin: auto;
  padding: 6px;
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius-lg);
  background: var(--c-paper);
}
.viewer.is-fallback {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
/* viewer.js gives the figure the photo's width, so a long dish name wraps under the photo; the name
   and "Kapat" share a row, and the button moves under the name when the text is very large. */
.viewer-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 92vw;
  margin: 0;
}
/* viewer.js sets the exact size; these limits hold before the photo's size is known. */
.viewer-img {
  flex: none;
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 70vh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
  background: var(--c-sand);
}
@media (min-width: 783px) { .viewer-img { max-width: 720px; } }
.viewer-img.is-broken { width: 280px; height: 120px; max-width: 80vw; }
.viewer-caption {
  flex: 1 1 8em;
  min-width: 0;
  padding: 8px 4px 0;
  margin-inline-end: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.3;
}
.viewer-close { flex: none; margin-top: 8px; margin-inline-start: auto; padding: 0.4rem 0.9rem; flex-wrap: nowrap; white-space: nowrap; }
/* Fade in only when the visitor has not asked for less motion (::backdrop in its own rule: an engine
   that does not know it would drop the whole list). */
@media (prefers-reduced-motion: no-preference) {
  .viewer[open], .viewer.is-fallback, .dialog-backdrop-viewer { animation: sofra-fade 180ms ease-out; }
  .viewer::backdrop { animation: sofra-fade 180ms ease-out; }
}
@keyframes sofra-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Toast: small, under the header, never takes taps ---------------------------------- */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  left: 50%;
  z-index: 120;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 6px 18px rgba(42, 26, 23, 0.25);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur);
}
.toast.is-visible { opacity: 1; }
html.header-static .toast { top: 12px; }
html.is-modal-open .toast { top: calc(60px + env(safe-area-inset-top)); }

/* ---------- Simple pages (privacy, 404, 503) ------------------------------------------------- */
.simple-main { padding: 20px 0 48px; }
.back-link a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 500; }
.back-link a > .icon { margin-inline-end: 0.4em; }
.prose { font-size: var(--fs-base); }
.prose h2 { font-size: var(--fs-lg); margin-top: 24px; }
.prose h3 { font-size: var(--fs-md); margin-top: 18px; }
.prose ul { padding-inline-start: 1.4em; margin-bottom: var(--sp-3); }
.prose li { margin-bottom: 4px; }
.notfound { text-align: center; padding-top: 20px; }
.notfound-mark { width: 80px; height: 80px; margin: 0 auto 16px; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; margin: 16px -4px 0; }
.notfound-actions > .btn { margin: 4px; }

/* ---------- Print: just the menu and contact details ----------------------------------------- */
@media print {
  .site-header, .cartbar, .qty, .special-form, .special-toggle, .dialog, .toast, .hero-actions, .chips, .nav-panel { display: none !important; }
  body { background: #fff; }
  .dish, .review figure, .faq-item, .card { box-shadow: none; border: 1px solid #ccc; }
  .dish-desc { display: block !important; }
}
