/* Noyan's Homecooking — site styles
   Plain CSS, no build step. Colors and fonts are defined once in :root. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-950: #141c17;
  --green-900: #1c3529;
  --green-800: #274b3a; /* brand primary (from the original site) */
  --green-700: #31604a;
  --green-100: #e3ebe5;
  --saffron: #e2a62b;
  --saffron-ink: #8a5a06;
  --cream: #f4f1ea;
  --paper: #fffdf8;
  --ink: #1d231f;
  --muted: #59645d;
  --line: #e2ddd2;
  --pom: #9e2a2b;      /* pomegranate accent: 'This week' badges, order count */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgb(20 28 23 / 6%), 0 8px 24px rgb(20 28 23 / 8%);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-800); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--green-900);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 2.85rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--green-900); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-ink);
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.4em;
  border-radius: var(--radius-pill);
  border: 2px solid var(--green-800);
  background: var(--green-800);
  color: #fff;
  font: 600 1rem/1.1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--outline { background: transparent; color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--green-900); }
.btn--sm { min-height: 40px; padding: 0.5em 1.05em; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(244 241 234 / 92%);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--green-900);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--green-800); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.9688rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:not(.btn):hover { background: var(--green-100); color: var(--green-900); }
.site-nav a[aria-current="page"] { color: var(--green-800); box-shadow: inset 0 -2px 0 var(--saffron); border-radius: 0; }
.site-nav .btn { margin-left: 8px; }

@media (max-width: 900px) {
  /* On phones/tablets the header scrolls away so it doesn't eat the screen;
     only the menu's category bar stays pinned. */
  :root { --header-h: 0px; }
  .site-header { position: relative; }
  .site-header .container { flex-direction: column; align-items: stretch; gap: 4px; padding-block: 10px; }
  .brand { font-size: 1.25rem; text-align: center; }
  .site-nav { justify-content: center; flex-wrap: wrap; gap: 0; }
  .site-nav a:not(.btn) { padding: 6px 10px; font-size: 0.9375rem; }
  .site-nav .btn { display: none; } /* the floating "WhatsApp us" button covers this on small screens */
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(82vh, 720px);
  display: grid; align-items: center;
  padding-block: 56px;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(20 28 23 / 72%) 0%, rgb(20 28 23 / 45%) 45%, rgb(20 28 23 / 5%) 80%);
}
.hero__card { max-width: 560px; }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero .eyebrow { color: #f6cf73; }
.hero__lead { font-size: 1.1875rem; max-width: 34ch; color: rgb(255 255 255 / 92%); }
.hero .btn-row { margin-top: 28px; }
@media (max-width: 700px) {
  .hero { min-height: 560px; align-items: end; padding-block: 40px; }
  .hero::before { background: linear-gradient(0deg, rgb(20 28 23 / 85%) 0%, rgb(20 28 23 / 55%) 55%, rgb(20 28 23 / 15%) 100%); }
  .hero .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- Highlights strip ---------- */
.highlights { background: var(--green-900); color: #fff; }
.highlights ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.highlights li {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 8px;
  font-weight: 600;
}
.highlights li + li { border-left: 1px solid rgb(255 255 255 / 14%); padding-left: 24px; }
.highlights svg { width: 26px; height: 26px; flex: none; color: var(--saffron); }
.highlights small { display: block; font-weight: 400; color: rgb(255 255 255 / 72%); font-size: 0.875rem; }
@media (max-width: 760px) {
  .highlights ul { grid-template-columns: 1fr; }
  .highlights li { padding: 14px 0; }
  .highlights li + li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 14%); padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--paper { background: var(--paper); }
.section--green { background: var(--green-800); color: #fff; }
.section--green h2, .section--green h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }

/* ---------- Dish cards ---------- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.dish {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  scroll-margin-top: 72px; /* clears the sticky category bar; header offset comes from html scroll-padding */
  position: relative;
}
.section--paper .dish { background: #fff; }
.dish:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(20 28 23 / 6%), 0 14px 32px rgb(20 28 23 / 12%); }
.dish:target { outline: 3px solid var(--saffron); outline-offset: 3px; }
.dish__img { position: relative; aspect-ratio: 4 / 3; background: var(--green-100); overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; }
.dish__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.dish__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish h3 { margin: 0; font-size: 1.1875rem; }
.dish__price {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem;
  color: var(--green-800); white-space: nowrap;
}
.dish__desc { margin: 0; color: var(--muted); font-size: 0.9688rem; }
.dish__order {
  margin: auto 0 0; padding-top: 12px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--muted);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--green-800);
  color: var(--green-800); background: transparent;
  font-weight: 600; font-size: 0.9063rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--green-100); color: var(--green-900); }
.chip--wa { background: var(--green-800); color: #fff; }
.chip--wa:hover { background: var(--green-900); color: #fff; }
.chip svg { width: 17px; height: 17px; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story__text p { font-size: 1.125rem; }
.story__img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__img { order: -1; } }

/* ---------- How to order ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  position: relative;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--saffron); color: var(--green-950);
  font: 700 1.125rem/1 var(--font-display);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 0.4em; }
.step p { margin: 0; color: rgb(255 255 255 / 85%); }
.step a { color: #fff; font-weight: 600; }
.order-extra {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  margin-top: 28px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 16%);
}
.order-extra p { margin: 0; color: rgb(255 255 255 / 88%); max-width: 62ch; }
.order-extra strong { color: #fff; }
@media (max-width: 860px) { .order-extra { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Visit / contact info ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; margin-bottom: 0.75em; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--green-800); }
.info-card p { margin: 0 0 0.5em; }
.info-card .muted { color: var(--muted); font-size: 0.9375rem; }
.info-card .pay { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.pay-badge {
  display: inline-block; padding: 3px 12px; border-radius: var(--radius-pill);
  background: var(--green-100); color: var(--green-900);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.01em;
}
.hours { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.hours th { text-align: left; font-weight: 600; padding: 4px 12px 4px 0; }
.hours td { text-align: right; padding: 4px 0; color: var(--muted); white-space: nowrap; }
.hours tr.closed td { color: #6b716c; }
.hours tr.today th, .hours tr.today td { color: var(--green-800); font-weight: 700; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field label .req { color: var(--saffron-ink); }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 3px rgb(39 75 58 / 18%); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.form-note { margin: 0; color: var(--muted); font-size: 0.875rem; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--green-100); color: var(--green-900); }
.form-status--err { background: #fbe9e7; color: #8c2a1b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- Menu page ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(20px, 3vw, 32px); }
.page-hero p { max-width: 62ch; color: var(--muted); font-size: 1.125rem; }
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--saffron);
  border-radius: var(--radius-sm); padding: 16px 18px; max-width: 760px;
}
.notice svg { width: 24px; height: 24px; flex: none; color: var(--saffron-ink); margin-top: 2px; }
.notice p { margin: 0; color: var(--ink); font-size: 1rem; }
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgb(244 241 234 / 94%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.menu-nav ul {
  list-style: none; margin: 0; padding: 12px 0;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  display: inline-block; white-space: nowrap;
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); background: var(--paper);
  font-weight: 600; font-size: 0.9375rem; color: var(--ink); text-decoration: none;
}
.menu-nav a:hover, .menu-nav a.is-active { border-color: var(--green-800); background: var(--green-800); color: #fff; }
.menu-section { padding-block: clamp(36px, 5vw, 56px) 0; scroll-margin-top: 48px; }
.menu-section:last-of-type { padding-bottom: clamp(56px, 8vw, 96px); }
.menu-section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 20px; }
.menu-section__head h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.25rem); }
.menu-section__head p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgb(255 255 255 / 82%); padding-block: 56px 32px; font-size: 0.9688rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0 0 8px; }
.site-footer h3 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 14%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.875rem; color: rgb(255 255 255 / 60%); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating "Text us" ---------- */
.text-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--radius-pill);
  background: var(--green-800); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.9688rem;
  box-shadow: 0 6px 20px rgb(20 28 23 / 28%);
}
.text-fab:hover { background: var(--green-900); color: #fff; }
.text-fab svg { width: 20px; height: 20px; }
@media (min-width: 901px) { .text-fab { display: none; } }
@media (max-width: 900px) { .site-footer { padding-bottom: 88px; } }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.not-found p { color: var(--muted); }
.not-found .btn-row { justify-content: center; }

@media print {
  .site-header, .menu-nav, .text-fab, .site-footer, .dish__order { display: none !important; }
  .dish { box-shadow: none; break-inside: avoid; }
}

a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; }

/* =====================================================================
   Additions: order basket, "This week", compact phone menu, pattern
   ===================================================================== */
[hidden] { display: none !important; }

/* Persian eight-point-star pattern (two overlapping squares), very faint */
:root {
  --pattern-light: 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='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M16 16h24v24H16z'/%3E%3Cpath d='M28 11 45 28 28 45 11 28z'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-dark: 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='%23274b3a' stroke-opacity='.05' stroke-width='1.2'%3E%3Cpath d='M16 16h24v24H16z'/%3E%3Cpath d='M28 11 45 28 28 45 11 28z'/%3E%3C/g%3E%3C/svg%3E");
}
.section--green, .site-footer, .highlights { background-image: var(--pattern-light); }
.page-hero, .tw-banner { background-image: var(--pattern-dark); }

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
}
.badge--week { background: var(--pom); color: #fff; }
.badge--off { background: rgb(255 255 255 / 94%); color: var(--muted); }
.dish__img .badge { position: absolute; top: 10px; left: 10px; z-index: 2; box-shadow: 0 1px 4px rgb(0 0 0 / 12%); }
.dish.is-off .dish__img img { filter: saturate(.55); opacity: .8; }

/* Home "favorites": whole card links to the dish on the menu */
.dish__link { color: inherit; text-decoration: none; }
.dish__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dish__link:hover { color: var(--green-800); text-decoration: underline; }
.dish__add, .dish__order { position: relative; z-index: 3; }

/* With JavaScript, the per-dish WhatsApp/Text links become Add buttons */
.js .dish__order { display: none; }
.dish__add { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 10px; }
.add-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--green-800);
  background: var(--green-800); color: #fff;
  font: 600 0.9375rem/1 var(--font-body); cursor: pointer;
}
.add-btn:hover { background: var(--green-900); border-color: var(--green-900); }
.stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--green-800); border-radius: var(--radius-pill); overflow: hidden;
  background: #fff;
}
.stepper button {
  width: 42px; height: 38px; border: 0; background: transparent; cursor: pointer;
  font: 600 1.25rem/1 var(--font-body); color: var(--green-800);
}
.stepper button:hover { background: var(--green-100); }
.stepper output { min-width: 2.2ch; text-align: center; font-weight: 700; color: var(--green-900); }
.stepper--sm button { width: 34px; height: 32px; font-size: 1.1rem; }
.dish.in-order { border-color: var(--green-800); box-shadow: 0 0 0 1px var(--green-800), var(--shadow); }

/* Order bar (bottom of screen) */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgb(28 53 41 / 97%); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -6px 24px rgb(0 0 0 / 18%);
  transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
}
.order-bar.is-open { transform: none; visibility: visible; }
.order-bar__inner { max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-bar__summary { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 2px; }
.order-bar__count {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; margin-right: 6px;
  border-radius: var(--radius-pill); background: var(--pom); color: #fff; font-weight: 700;
}
body.has-order { padding-bottom: 76px; }
body.has-order .text-fab { display: none; }

/* Order panel (dialog) */
.order-panel {
  width: min(560px, calc(100% - 24px)); max-height: min(92vh, 900px);
  padding: 0; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 20px 60px rgb(0 0 0 / 30%);
  overflow: auto;
}
.order-panel::backdrop { background: rgb(20 28 23 / 55%); }
.order-panel__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.order-panel__head h2 { margin: 0; font-size: 1.5rem; }
.order-panel__close {
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--green-100);
  font-size: 1.5rem; line-height: 1; color: var(--green-900); cursor: pointer;
}
.order-panel__body { padding: 16px 20px 20px; display: grid; gap: 14px; }
.order-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.order-line { display: grid; grid-template-columns: 1fr auto 64px; gap: 12px; align-items: center; }
.order-line__name { display: block; font-weight: 600; line-height: 1.3; }
.order-line__note { display: block; font-size: 0.8125rem; color: var(--pom); }
.order-line__total { text-align: right; font-weight: 600; }
.order-total {
  display: flex; justify-content: space-between; margin: 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--green-900);
}
.order-panel .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.order-panel .field textarea { min-height: 72px; }
.order-panel .muted { color: var(--muted); font-weight: 400; }
.order-panel__pay { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.order-actions { display: grid; gap: 10px; }
.order-actions .btn { width: 100%; }
.order-panel__after { margin: 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--green-100); font-size: 0.9375rem; }
.order-panel__foot { margin: 0; text-align: center; }
.linklike { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--green-800); text-decoration: underline; cursor: pointer; }

/* "This week" */
.tw-banner { background-color: var(--paper); border-bottom: 1px solid var(--line); }
.tw-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 16px; }
.tw-banner__inner p { margin: 0; flex: 1 1 280px; }
.this-week { background: var(--paper); border-block: 1px solid var(--line); padding-bottom: clamp(36px, 5vw, 56px); }
.this-week .menu-section__head h2 { color: var(--pom); }
.tw-note { margin: -8px 0 20px; font-weight: 600; color: var(--pom); }

/* Floating "WhatsApp us": hidden over the first screen, then slides in */
.js .text-fab { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.js .text-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* Compact dish rows on phones: photo left, details right (≈3× less scrolling) */
@media (max-width: 600px) {
  .dish-grid { gap: 12px; }
  .dish { flex-direction: row; border-radius: 14px; }
  .dish:hover { transform: none; }
  .dish__img { flex: 0 0 116px; aspect-ratio: auto; min-height: 116px; }
  .dish__img img { position: absolute; inset: 0; }
  .dish__img .badge { top: 6px; left: 6px; padding: 3px 7px; font-size: 0.625rem; }
  .dish__body { padding: 12px 14px; gap: 4px; min-width: 0; }
  .dish__title { flex-direction: column; align-items: flex-start; gap: 2px; }
  .dish h3 { font-size: 1.0625rem; }
  .dish__price { font-size: 1rem; }
  .dish__desc { font-size: 0.875rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dish__add { padding-top: 8px; }
  .add-btn { min-height: 36px; padding: 4px 14px; }
  .stepper button { width: 38px; height: 34px; }
  .order-panel { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 16px 16px 0 0; max-height: 92vh; }
  .order-line { grid-template-columns: 1fr auto; }
  .order-line__total { grid-column: 2; }
}
