/* Rowie's Indian Eatarii & Spices. Painted shop sign, kitchen docket, jar labels. */

:root {
  --cream: #F5E9D0;
  --paper: #FBF4E4;
  --cumin: #3A2416;
  --cumin-soft: #6E5341;
  --board: #2E1C12;
  --chilli: #B8231B;
  --chilli-deep: #8E1A14;
  --turmeric: #EBA51C;
  --turmeric-soft: #F4CD72;
  --paprika: #C2491A;
  --cardamom: #4A6629;
  --line: rgba(58, 36, 22, .18);

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --bar-h: 0px;

  color-scheme: light;
}

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

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

/* faint spice-dust texture on the counter paper */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .3 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--turmeric); color: var(--cumin); }

img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h3 { font-size: 1.5rem; letter-spacing: -.01em; }

a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }

:focus-visible {
  outline: 3px solid var(--cumin);
  outline-offset: 3px;
  border-radius: 6px;
}
.sign :focus-visible, .foot :focus-visible { outline-color: var(--turmeric); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--turmeric); color: var(--cumin); padding: 10px 16px; border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- placeholders: masking-tape notes, so the gaps look meant ---------- */
.ph {
  display: inline-block;
  font-family: var(--hand);
  font-weight: 700;
  font-size: .95em;
  line-height: 1.35;
  color: var(--cumin-soft);
  background: rgba(235, 165, 28, .16);
  border: 1.5px dashed rgba(110, 83, 65, .55);
  border-radius: 4px;
  padding: .1em .5em;
}
.ph::before { content: "["; }
.ph::after { content: "]"; }
.on-dark .ph, .board .ph, .foot .ph {
  color: var(--turmeric-soft);
  background: rgba(245, 233, 208, .08);
  border-color: rgba(244, 205, 114, .55);
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--chilli); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: .75em 1.35em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1.0625rem/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.18), 0 8px 18px -10px rgba(58,36,22,.6);
  transition: transform 140ms var(--ease-out), background-color 160ms, box-shadow 160ms;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: scale(.97); box-shadow: 0 1px 0 rgba(0,0,0,.18), 0 4px 10px -8px rgba(58,36,22,.6); }
.btn--order { --bg: var(--turmeric); --fg: var(--cumin); font-size: 1.2rem; min-height: 58px; padding-inline: 1.6em; }
.btn--ghost { --bg: transparent; --fg: var(--cumin); box-shadow: inset 0 0 0 2px var(--cumin); }
.btn--ghost:active { box-shadow: inset 0 0 0 2px var(--cumin); }
.on-dark .btn--ghost, .board .btn--ghost { --fg: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--chilli-deep); }
  .btn--order:hover { --bg: #F3B53A; }
  .btn--ghost:hover { --bg: rgba(58,36,22,.08); }
  .on-dark .btn--ghost:hover, .board .btn--ghost:hover { --bg: rgba(245,233,208,.1); }
  a:hover { text-decoration-thickness: 2.5px; }
}

/* ---------- the sign (header + hero) ---------- */
.sign {
  position: relative;
  background: var(--chilli);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
/* brushed paint grain on the board */
.sign::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(255,210,150,.16), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(60,0,0,.28), transparent 60%);
}

.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: max(14px, env(safe-area-inset-top, 0px)) 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; min-height: 44px;
}
.brand img { height: 52px; width: auto; }
.brand__name {
  font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1;
}
.brand__sub {
  display: block; font-family: var(--body); font-weight: 700; font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; margin-top: 4px; opacity: .92;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 700; text-decoration: none; border-radius: 999px;
  transition: background-color 160ms;
}
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--turmeric); text-decoration-thickness: 3px; text-underline-offset: .35em; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: rgba(0,0,0,.14); } }
.nav .btn { margin-left: 8px; min-height: 44px; font-size: 1rem; padding: .6em 1.1em; }

.hero {
  display: grid;
  gap: 28px;
  padding-block: clamp(36px, 8vw, 96px) clamp(48px, 9vw, 112px);
  position: relative;
}
.hero h1 {
  font-size: clamp(3rem, 10.5vw, 6rem);
  line-height: .92;
  letter-spacing: -.035em;
  max-width: 11ch;
  font-variation-settings: "opsz" 96;
}
.hero h1 .hl { color: var(--turmeric-soft); }
.hero__lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 34ch; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero__num { font-weight: 700; font-size: 1.15rem; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.hero__num span { text-decoration: underline; text-decoration-color: rgba(245,233,208,.5); text-underline-offset: .25em; }
.trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-weight: 700; font-size: 1.05rem;
}
.trust__item { display: inline-flex; align-items: center; gap: 6px; }
.trust__item svg { width: 18px; height: 18px; }
.trust__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,.2); font-weight: 700; font-size: .95rem;
  min-height: 32px;
}
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); opacity: .6; }
.status[data-open="true"] { background: var(--cream); color: var(--cardamom); }
.status[data-open="true"]::before { background: var(--cardamom); opacity: 1; box-shadow: 0 0 0 3px rgba(74,102,41,.2); }
.status:empty { display: none; }


/* torn bottom edge of the board */
.sign__edge { display: block; width: 100%; height: 18px; color: var(--cream); margin-top: -1px; }

/* small sign on inner pages */
.sign--inner .hero { padding-block: clamp(28px, 6vw, 64px) clamp(36px, 7vw, 80px); }
.sign--inner .hero h1 { font-size: clamp(2.8rem, 9vw, 5.2rem); max-width: 14ch; }

/* ---------- page load reveal (content visible without it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal > * { animation: rise 700ms var(--ease-out) both; }
  .reveal > *:nth-child(2) { animation-delay: 70ms; }
  .reveal > .hero__act { animation: none; }
  .reveal > *:nth-child(4) { animation-delay: 140ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(56px, 9vw, 112px); }
.sec__head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 40ch; }
.sec__head p { color: var(--cumin-soft); font-size: 1.1rem; }

/* ---------- today's special: the kitchen docket ---------- */
.special {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.special__grid {
  display: grid; gap: 28px 56px; align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) { .special__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.special__aside h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.special__aside p { margin-top: 14px; color: var(--cumin-soft); max-width: 36ch; font-size: 1.1rem; }

.docket {
  --perf: radial-gradient(circle at 10px 0, transparent 7px, #000 7.5px);
  position: relative;
  background: var(--paper);
  padding: 40px clamp(22px, 4vw, 40px) 30px;
  rotate: -1.2deg;
  box-shadow: 0 2px 2px rgba(58,36,22,.08), 0 18px 34px -18px rgba(58,36,22,.45);
  -webkit-mask: var(--perf) 0 0 / 20px 100% repeat-x, linear-gradient(#000, #000) 0 10px / 100% calc(100% - 10px) no-repeat;
          mask: var(--perf) 0 0 / 20px 100% repeat-x, linear-gradient(#000, #000) 0 10px / 100% calc(100% - 10px) no-repeat;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}
.docket::after {
  /* faint ruled lines like a waiter's pad */
  content: ""; position: absolute; inset: 86px 0 0; pointer-events: none;
  background: repeating-linear-gradient(transparent 0 33px, rgba(58,36,22,.07) 33px 34px);
}
.docket > * { position: relative; z-index: 1; }
.docket__top {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cumin-soft);
  border-bottom: 2px dashed var(--line); padding-bottom: 12px;
}
.docket__dish {
  font-family: var(--hand); font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.05;
  color: var(--chilli); margin-top: 20px;
  overflow-wrap: anywhere;
}
.docket__with { margin-top: 10px; font-size: 1.12rem; max-width: 40ch; }
.docket__price {
  margin-top: 16px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em;
}
.docket__price small { font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--cumin-soft); }
.docket__act { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.docket__note { margin-top: 18px; font-size: .95rem; color: var(--cumin-soft); }
.docket__stamp {
  position: absolute; right: 18px; bottom: 92px; z-index: 2;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em;
  color: var(--chilli); border: 3px solid currentColor; border-radius: 8px; padding: 2px 12px;
  rotate: 9deg; opacity: .9; text-transform: uppercase;
}
.docket[data-soldout="true"] .docket__dish { text-decoration: line-through; text-decoration-thickness: 3px; color: var(--cumin-soft); }
@media (prefers-reduced-motion: no-preference) {
  .docket.is-in { animation: docket-in 650ms var(--ease-out) both; }
}
@keyframes docket-in { from { opacity: 0; transform: translateY(24px) rotate(2.5deg); } }

/* ---------- how ordering works: three big steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
  border-top: 3px solid var(--cumin);
}
.step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: baseline;
  padding: 26px 0; border-bottom: 2px dashed var(--line);
}
.step__n {
  grid-row: span 2;
  font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 11vw, 7.5rem); line-height: .8;
  color: var(--chilli); letter-spacing: -.05em; min-width: 1ch;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.step p { color: var(--cumin-soft); font-size: 1.08rem; max-width: 46ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
  .step { grid-template-columns: minmax(0, 1fr); border-bottom: 0; padding: 28px 28px 8px 0; }
  .step + .step { border-left: 2px dashed var(--line); padding-left: 28px; }
  .step__n { grid-row: auto; margin-bottom: 14px; }
}

/* ---------- menu board ---------- */
.board {
  background: var(--board); color: var(--cream);
  position: relative; isolation: isolate;
}
.board::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background:
    radial-gradient(70% 60% at 15% 10%, rgba(255,255,255,.05), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27160%27 height=%27160%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.75%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0%27/%3E%3C/filter%3E%3Crect width=%27160%27 height=%27160%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
}
.board .sec__head p { color: rgba(245,233,208,.78); }
.board h2 .hl { color: var(--turmeric); }
.menu-group + .menu-group { margin-top: 40px; }
.menu-group h3 {
  font-family: var(--hand); font-weight: 700; font-size: 1.7rem; color: var(--turmeric);
  margin-bottom: 8px; letter-spacing: 0;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.dish {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(245,233,208,.16);
}
.dish__name {
  display: flex; align-items: baseline; gap: 12px; min-width: 0;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em;
}
.dish__name > span:first-child { overflow-wrap: anywhere; }
.dish__name::after {
  content: ""; flex: 1 1 24px; min-width: 24px; align-self: center; translate: 0 .35em;
  border-bottom: 3px dotted rgba(245,233,208,.35);
}
.dish__price { font-family: var(--display); font-weight: 800; font-size: 1.35rem; white-space: nowrap; align-self: baseline; }
.dish__price--ask { font-family: var(--body); font-weight: 700; font-size: .98rem; color: var(--turmeric-soft); }
.dish__desc { grid-column: 1 / -1; color: rgba(245,233,208,.82); max-width: 60ch; }
.dish[data-soldout="true"] .dish__name > span:first-child { text-decoration: line-through; opacity: .6; }
.tag {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; background: var(--chilli); color: var(--cream); white-space: nowrap;
}
.board__foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.board__halaal { color: rgba(245,233,208,.82); font-size: 1rem; }

/* ---------- spice shelf ---------- */
.shelf { background: var(--turmeric); color: var(--cumin); }
.shelf .sec__head p { color: var(--cumin); }
.shelf__grid { display: grid; gap: 28px 56px; align-items: end; }
@media (min-width: 860px) { .shelf__grid { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.shelf__jars { display: flex; gap: clamp(10px, 2.5vw, 22px); align-items: flex-end; justify-content: center; }
.shelf__jars svg { width: clamp(70px, 17vw, 132px); height: auto; }
.shelf__plank { height: 14px; border-radius: 3px; background: var(--cumin); margin-top: -2px; box-shadow: 0 10px 16px -10px rgba(58,36,22,.7); }

/* ---------- jar labels (spices page) ---------- */
.jars {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.jar {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--cumin);
  border-radius: 18px 18px 14px 14px;
  padding: 26px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 0 rgba(58,36,22,.2), 0 14px 26px -18px rgba(58,36,22,.55);
}
.jar::before {
  /* lid */
  content: ""; position: absolute; left: 18%; right: 18%; top: -12px; height: 12px;
  background: var(--chilli); border: 2px solid var(--cumin); border-bottom: 0; border-radius: 8px 8px 0 0;
}
.jar__name { font-family: var(--hand); font-weight: 700; font-size: 1.9rem; line-height: 1.05; color: var(--chilli); overflow-wrap: anywhere; }
.jar__desc { font-size: 1.02rem; }
.jar__meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: .98rem; margin: 4px 0 0; }
.jar__meta dt { font-weight: 700; color: var(--cumin-soft); }
.jar__meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.jar .btn { margin-top: auto; align-self: flex-start; }
.jar__foot { margin-top: auto; padding-top: 8px; }
.jar[data-soldout="true"] .jar__name { text-decoration: line-through; color: var(--cumin-soft); }
.jar--empty { border-style: dashed; background: rgba(251,244,228,.6); box-shadow: none; }
.jar--empty::before { background: rgba(184,35,27,.35); border-style: dashed; }


/* ---------- find us ---------- */
.find__grid { display: grid; gap: 36px 64px; }
@media (min-width: 860px) { .find__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.address {
  font-style: normal; font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.02em;
}
.address span { display: block; }
.find__phone { margin-top: 18px; font-size: 1.3rem; font-weight: 700; }
.find__phone a { text-decoration-color: var(--chilli); }
.find__acts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.find__note { margin-top: 18px; color: var(--cumin-soft); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin-bottom: 10px; letter-spacing: -.01em; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.hours th { font-weight: 700; width: 45%; }
.hours tr[data-today="true"] th, .hours tr[data-today="true"] td { color: var(--chilli); }
.hours tr[data-today="true"] th::after { content: " · today"; font-weight: 400; color: var(--cumin-soft); }
.hours__note { margin-top: 14px; font-size: .98rem; color: var(--cumin-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 2px dashed var(--line); }
.faq details:first-of-type { border-top: 3px solid var(--cumin); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; min-height: 44px;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.5rem); letter-spacing: -.01em; line-height: 1.2;
  user-select: none; -webkit-user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  border-right: 3px solid var(--chilli); border-bottom: 3px solid var(--chilli);
  rotate: 45deg; translate: 0 -4px; transition: rotate 220ms var(--ease-out), translate 220ms var(--ease-out);
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 4px; }
.faq .a { padding: 0 0 22px; max-width: 62ch; font-size: 1.08rem; }
.faq .a p + p { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- footer ---------- */
.foot { background: var(--chilli-deep); color: var(--cream); padding-block: 0 calc(36px + var(--bar-h)); }
.foot__edge { display: block; width: 100%; height: 18px; color: var(--cream); rotate: 180deg; margin-bottom: 40px; }
.foot__grid { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.foot h2 { font-size: 1.15rem; letter-spacing: 0; margin-bottom: 8px; font-weight: 800; }
.foot p, .foot li { font-size: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-flex; min-height: 40px; align-items: center; }
.foot__name { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.foot__base { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(245,233,208,.2); font-size: .92rem; opacity: .85; }

/* ---------- sticky order bar (phones) ---------- */
.orderbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(142, 26, 20, .97);
  box-shadow: 0 -8px 24px -12px rgba(58,36,22,.6);
  transform: translateY(110%);
  transition: transform 260ms var(--ease-out);
}
.orderbar .btn { width: 100%; }
.orderbar[data-show="true"] { transform: translateY(0); }
@media (min-width: 760px) { .orderbar { display: none; } }
@media (prefers-reduced-motion: reduce) { .orderbar { transition: none; } }

/* ---------- messages ---------- */
.notice {
  border: 2px dashed var(--line); border-radius: 12px; padding: 18px 20px; font-size: 1.05rem;
}
.board .notice { border-color: rgba(245,233,208,.3); }

/* ---------- small screens ---------- */
@media (max-width: 759px) {
  :root { --bar-h: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .nav .btn { display: none; }
  .nav a { padding: 0 9px; font-size: .98rem; }
  .brand__name { font-size: 1.45rem; }
  .brand__sub { font-size: .55rem; letter-spacing: .12em; }
  .hero__act .btn--order { width: 100%; }
}
@media (max-width: 380px) {
  .nav a { padding: 0 7px; font-size: .92rem; }
  .brand__sub { display: none; }
}

/* ---------- fixes after first look ---------- */
.nav a { white-space: nowrap; }
.brand__sub { white-space: nowrap; }
.hero > * { position: relative; z-index: 1; }
.hours td, .find__phone a, .hero__num span, .foot a[href^="tel"], .docket__top span:last-child {
  font-family: var(--display); font-weight: 700; letter-spacing: 0;
}
@media (max-width: 759px) {
  .bar { gap: 8px; }
  .nav { gap: 0; }
  .nav a { padding: 0 8px; font-size: .95rem; }
  .brand__sub { font-size: .5rem; letter-spacing: .1em; }
}

[data-special] { min-height: 380px; }
[data-hours] { min-height: 470px; }
[data-menu-short] { min-height: 300px; }
@media (max-width: 759px) { [data-special] { min-height: 470px; } }
.status { border-radius: 16px; font-family: var(--display); letter-spacing: 0; }
.hero h1 .hl { display: block; }

/* ---------- hanging chillies: sway, pull, swap ---------- */
.hanger {
  position: absolute; z-index: 0; top: 84px;
  right: max(8px, calc((100vw - var(--max)) / 2 - 10px));
  width: 300px; height: 100%;
  pointer-events: none;
}
.hc { position: absolute; top: 0; left: 40px; --len: 92px; --w: 120px; }
.hc[data-i="1"] { left: 175px; --len: 70px; --w: 100px; }
/* idle sway runs on the compositor; the physics loop only wakes for a pull.
   A pendulum is simple harmonic motion, so a sine-shaped ease-in-out is the honest curve. */
.hc { transform-origin: 0 0; animation: hc-sway 5.6s cubic-bezier(.45, 0, .55, 1) -1.3s infinite alternate; }
.hc[data-i="1"] { animation-duration: 4.4s; animation-delay: -3.1s; }
@keyframes hc-sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@media (prefers-reduced-motion: reduce) { .hc { animation: none; } }
.hc__rot { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.hc__string {
  position: absolute; left: -1px; top: 0; width: 2px; height: var(--len);
  background: rgba(245,233,208,.55); transform-origin: 0 0;
}
.hc__body {
  position: absolute; top: var(--top, var(--len)); left: calc(var(--w) * -.5);
  width: var(--w); color: var(--chilli-deep);
  pointer-events: auto; cursor: grab;
  touch-action: none;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transform-origin: 50% 0;
  border-radius: 40px;
}
.hc__body:active { cursor: grabbing; }
.hc__body:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 4px; }
.hc__body svg { width: 100%; height: auto; overflow: visible; }
.hc__body .c-body { fill: currentColor; }
.hc__body .c-shine { fill: none; stroke: rgba(255,230,200,.28); stroke-width: 3; stroke-linecap: round; }
.hc__body .c-stem { fill: none; stroke: var(--stem, var(--cardamom)); stroke-width: 7; stroke-linecap: round; }
.hc__body .c-cap { fill: var(--stem, var(--cardamom)); }
@media (max-width: 1100px) { .hanger { right: -40px; } }
@media (max-width: 759px) {
  .hanger { top: 62px; right: 0; width: 96px; }
  .hc { left: 30px; --len: 16px; --w: 46px; }
  .hc[data-i="1"] { left: 72px; --len: 34px; --w: 38px; }
  .hc__string { opacity: .7; }
}

/* ---------- tighter rhythm around the special ---------- */
.special { padding-bottom: 0; }
.special + .sec { padding-top: clamp(48px, 6vw, 80px); }
.special__nudge { display: none; }
@media (min-width: 860px) {
  .special__nudge {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    margin-top: 28px; color: var(--chilli);
  }
  .special__nudge span { font-family: var(--hand); font-weight: 700; font-size: 1.35rem; line-height: 1.1; rotate: -3deg; margin-left: 8px; }
  .special__nudge svg { width: 220px; height: 90px; margin-left: 120px; margin-top: -18px; }
  .sec__head--row {
    max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  }
  .sec__head--row h2 { max-width: none; white-space: nowrap; }
  .sec__head--row p { max-width: 30ch; text-align: right; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .special__nudge svg path { stroke-dasharray: 320; stroke-dashoffset: 0; animation: draw 900ms var(--ease-out) 400ms both; }
}
@keyframes draw { from { stroke-dashoffset: 320; } }

/* ---------- preview bar (remove before launch) ---------- */
.preview-bar {
  margin: 0; background: var(--cumin); color: var(--cream);
  font-size: .85rem; font-weight: 700; letter-spacing: .02em; text-align: center;
  padding: calc(6px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px));
}
.preview-bar + .sign .bar { padding-top: 14px; }

/* ---------- spice packets on a rail: same sway / pull / swap as the chillies ---------- */
.shelf { position: relative; overflow: hidden; }   /* a dropped packet falls out of sight at the section's edge */
.packets { position: relative; height: 330px; }
.packets__rail {
  position: absolute; left: 2%; right: 2%; top: 14px; height: 12px; border-radius: 6px;
  background: linear-gradient(#7A5634, #4A3020); box-shadow: 0 6px 10px -6px rgba(58,36,22,.6);
}
.packets .hc { top: 20px; --len: 20px; --w: 104px; }
.packets .hc[data-i="0"] { left: 13%; }
.packets .hc[data-i="1"] { left: 37.5%; --len: 30px; animation-duration: 5s; animation-delay: -1.1s; }
.packets .hc[data-i="2"] { left: 62%; --len: 16px; animation-duration: 6.2s; animation-delay: -2.4s; }
.packets .hc[data-i="3"] { left: 86.5%; --len: 26px; animation-duration: 4.7s; animation-delay: -3.3s; }
.packets .hc__string { background: rgba(58,36,22,.6); }
.packets .hc__body { border-radius: 8px; }
.packets .hc__body:focus-visible { outline-color: var(--cumin); }
.pk-fill { fill: var(--pk, #C1201A); }
.sp-fill { fill: var(--sp, #E8A317); }
/* side by side: rail's top edge lines up with the top of the heading's letters */
@media (min-width: 860px) {
  .packets__rail { top: 6px; }
  .packets .hc { top: 12px; }
}
@media (max-width: 759px) {
  .packets { height: 240px; margin-top: 8px; }
  .packets .hc { --w: 72px; --len: 14px; }
  .packets .hc[data-i="1"] { --len: 22px; }
  .packets .hc[data-i="2"] { --len: 10px; }
  .packets .hc[data-i="3"] { --len: 18px; }
}
/* phones: let a swipe over the packets still scroll the page; a tap still pulls one */
@media (pointer: coarse) { .packets .hc__body { touch-action: pan-y; } }

/* ---------- spice cards are packets, not jars: crimped seal and a peg instead of a lid ---------- */
.jars { row-gap: 40px; padding-top: 18px; }
.jar { border-radius: 6px 6px 16px 16px; padding-top: 30px; }
.jar::before {
  left: -2px; right: -2px; top: -2px; height: 18px; border-radius: 4px 4px 0 0;
  border: 2px solid var(--cumin);
  background-color: var(--chilli);
  background-image: repeating-linear-gradient(90deg, transparent 0 7px, rgba(0,0,0,.22) 7px 8.5px);
}
.jar::after {
  content: ""; position: absolute; left: 50%; top: -16px; width: 12px; height: 24px; translate: -50% 0;
  background: #6B4A2B; border: 2px solid var(--cumin); border-radius: 3px;
}
.jar--empty::before { background-color: rgba(184,35,27,.35); border-style: dashed; }
.jar--empty::after { background: rgba(107,74,43,.45); border-style: dashed; }

/* ---------- packets hang on store hooks, not strings ----------
   One shop-red pouch for every spice; each hangs by the punched hole in its seal on a metal hook.
   The hook point is the swing pivot, so the packet sways on the hook. */
.packets__rail {
  top: 12px; height: 12px; border-radius: 6px;
  background: linear-gradient(#D5D9DC, #8E9398 55%, #5E6368);
  box-shadow: 0 5px 9px -5px rgba(58,36,22,.55);
}
.packets .hc { top: 52px; --len: 70px; --top: -19px; }
.packets .hc__string { display: none; }
.pk-fill { fill: #D8341C; }
.pk-hook {
  position: absolute; top: 20px; width: 5px; height: 32px; translate: -50% 0; z-index: 2; pointer-events: none;
  border-radius: 3px; background: linear-gradient(90deg, #6D7277, #E1E4E6 45%, #7B8085);
}
.pk-hook::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 11px; height: 11px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F3F5F6, #9AA0A5 55%, #5F6469);
  box-shadow: 0 2px 3px rgba(0,0,0,.35);
}
.pk-hook[data-i="0"] { left: 13%; }
.pk-hook[data-i="1"] { left: 37.5%; }
.pk-hook[data-i="2"] { left: 62%; }
.pk-hook[data-i="3"] { left: 86.5%; }
@media (max-width: 759px) {
  .packets .hc { top: 48px; --top: -13px; }
  .pk-hook { top: 18px; height: 30px; }
}

/* ---------- bigger packets, so the shelf fills its half ----------
   --top keeps each packet's punched hole on its hook: the hole sits 18.5/150 of the way down the pouch. */
.packets { height: 360px; }
.packets .hc { --w: 128px; --top: calc(var(--w) * -0.185); }
@media (max-width: 759px) {
  .packets { height: 250px; }
  .packets .hc { --w: 80px; }
}
/* size the packets to the space they hang in: 128px max, never wider than ~22% of the rail (hooks sit 24.5% apart) */
.packets { container-type: inline-size; }
.packets .hc, .packets .hc[data-i] { --w: min(128px, 21.5cqw); }
@media (max-width: 759px) { .packets { height: 190px; } }

/* ---------- logo lockup: "Rowie" + chilli apostrophe + "s", sub-line centred under (brand kit, Shop Sign) ---------- */
.brand__lock { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.brand__name {
  display: flex; align-items: flex-start; white-space: nowrap; font-size: 2.9rem; letter-spacing: -.04em; line-height: .9;
}
.brand__chilli {
  flex: none; width: .2em; height: .57em; margin: -.05em .03em 0 .05em; transform: rotate(14deg);
}
.brand__sub { margin-top: 0; padding-left: .3em; font-size: .55rem; letter-spacing: .26em; opacity: 1; }
/* phones: the sub-line would be unreadably small, so it drops (logo rule: below ~100px drop the sub-line) */
@media (max-width: 759px) {
  .brand__name { font-size: 2.1rem; }
  .brand__sub { display: none; }
}

/* ---------- footer opening hours ---------- */
.foot__hours { border-collapse: collapse; width: 100%; max-width: 260px; }
.foot__hours th, .foot__hours td { padding: 3px 0; text-align: left; font-size: 1rem; font-weight: 400; }
.foot__hours td { text-align: right; font-variant-numeric: tabular-nums; }
.foot__hours tr[data-today="true"] th, .foot__hours tr[data-today="true"] td { font-weight: 700; color: var(--turmeric-soft); }
.foot__hoursnote { margin-top: 8px; font-size: .92rem; }

/* ---------- menu group notes ---------- */
.menu-group__note { color: rgba(245,233,208,.82); margin: -2px 0 6px; max-width: 60ch; }

/* ---------- spice price list: one packet per group, rows like the shop's price sheet ---------- */
.pl { padding-top: 18px; }
/* short groups: balanced newspaper columns so a tall card and two short ones sit side by side */
.pl__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 28px; align-items: start; margin-bottom: 40px; }
.pl__stack { display: flex; flex-direction: column; gap: 40px; }
.pl__group { gap: 4px; }
.pl__group .jar__desc { color: var(--cumin-soft); font-size: .95rem; }
.pl__list { list-style: none; margin: 6px 0 0; padding: 0; }
.pl__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed rgba(58,36,22,.22);
}
.pl__row:last-child { border-bottom: 0; }
.pl__name { font-weight: 700; color: var(--cumin); overflow-wrap: anywhere; text-decoration: none; }
a.pl__name:hover { color: var(--chilli); text-decoration: underline; text-underline-offset: 3px; }
a.pl__name:focus-visible { outline: 2px solid var(--chilli); outline-offset: 2px; border-radius: 2px; }
.pl__prices { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.pl__size small { font-family: var(--body); font-weight: 600; color: var(--cumin-soft); font-size: .85rem; margin-right: 6px; }
.pl__ask { font-weight: 600; font-size: .88rem; color: var(--cumin-soft); }
/* table groups: one price column per pack size, under a header row */
.pl--table .pl__prices { display: grid; grid-template-columns: repeat(var(--cols), 6.25rem); justify-items: center; align-items: center; column-gap: 4px; }
.pl__head { padding: 0 0 6px; border-bottom: 2px solid var(--cumin); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cumin-soft); }
.pl__head .pl__prices { font-weight: 700; }
.pl__cell--none { color: rgba(58,36,22,.3); font-weight: 400; }
.pl__row .tag { grid-column: 1 / -1; justify-self: start; }
.pl__row[data-soldout="true"] .pl__name, .pl__row[data-soldout="true"] .pl__prices { text-decoration: line-through; opacity: .6; }
/* long groups take a full-width card and flow their list into columns */
.pl__group--wide .pl__list { columns: 300px 3; column-gap: 40px; }
.pl__group--wide .pl__row { break-inside: avoid; }
.pl__group--wide .pl__row:last-child { border-bottom: 1px dashed rgba(58,36,22,.22); }
/* size labels inside table cells: hidden on wide screens (the header row says it), shown on phones */
.pl__z { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 560px) {
  .pl--table .pl__head { display: none; }
  .pl--table .pl__row { grid-template-columns: minmax(0, 1fr); }
  .pl--table .pl__prices { display: flex; flex-flow: row wrap; gap: 2px 18px; justify-content: flex-start; }
  .pl--table .pl__cell--none { display: none; }
  .pl--table .pl__z { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-family: var(--body); font-weight: 600; color: var(--cumin-soft); font-size: .85rem; margin-right: 2px; }
}
.pl--table .pl__ask { grid-column: 1 / -1; }

/* ================= order basket: pick, then send one WhatsApp message ================= */
/* add buttons on the dark menu board */
.dish__desc { grid-column: 1; grid-row: 2; }
.add {
  grid-column: 2; grid-row: 2; justify-self: end; align-self: start;
  display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: .35em .95em .35em .75em;
  border: 2px solid var(--turmeric-soft); border-radius: 999px; background: transparent; color: var(--turmeric-soft);
  font: 700 .95rem/1 var(--body); cursor: pointer; touch-action: manipulation;
  transition: background-color 160ms, color 160ms, transform 140ms var(--ease-out);
}
.add svg { width: 14px; height: 14px; }
.add:active { transform: scale(.95); }
.add[data-qty]:not([data-qty="0"]) { background: var(--turmeric); border-color: var(--turmeric); color: var(--cumin); }
.add__qty:empty { display: none; }
@media (hover: hover) and (pointer: fine) { .add:hover { background: rgba(244,205,114,.14); } .add[data-qty]:not([data-qty="0"]):hover { background: #F3B53A; } }
.add:focus-visible, .pl__buy:focus-visible, .basket__open:focus-visible, .ol__step button:focus-visible, .sheet__close:focus-visible, .sheet__clear:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; }

/* spice prices are tappable chips on the paper packets */
.pl__buy {
  display: inline-flex; align-items: baseline; justify-content: flex-end; gap: .3em; min-height: 34px; padding: .3em .7em;
  border: 1.5px solid rgba(58,36,22,.28); border-radius: 999px; background: var(--paper); color: var(--cumin);
  font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; white-space: nowrap;
  transition: background-color 160ms, border-color 160ms, color 160ms, transform 140ms var(--ease-out);
}
.pl__buy:active { transform: scale(.95); }
.pl__buy[data-qty]:not([data-qty="0"]) { background: var(--chilli); border-color: var(--chilli); color: var(--cream); }
.pl__buy[data-qty]:not([data-qty="0"]) small { color: var(--turmeric-soft); }
.pl__buy .add__qty { font-size: .8rem; }
@media (hover: hover) and (pointer: fine) { .pl__buy:hover { border-color: var(--chilli); color: var(--chilli); } .pl__buy[data-qty]:not([data-qty="0"]):hover { background: var(--chilli-deep); color: var(--cream); } }
.pl__prices { gap: 6px; }

/* the order bar: full width on phones (replaces the plain order bar), a pill bottom-right on wider screens */
.basket {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(142, 26, 20, .97); box-shadow: 0 -8px 24px -12px rgba(58,36,22,.6);
  transform: translateY(120%); transition: transform 280ms var(--ease-out);
}
.basket[data-show="true"] { transform: translateY(0); }
.basket__open {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 18px 8px 10px;
  border: 0; border-radius: 999px; background: var(--turmeric); color: var(--cumin); cursor: pointer;
  font: 700 1.05rem/1.1 var(--body); text-align: left; touch-action: manipulation;
  box-shadow: 0 2px 0 rgba(0,0,0,.18), 0 8px 18px -10px rgba(58,36,22,.6);
}
.basket__count {
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: var(--cumin); color: var(--cream); font-family: var(--display); font-weight: 800; font-size: 1.1rem;
}
.basket__label { flex: 1; }
.basket__total { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }
.basket__go { font-size: .9rem; padding-left: 12px; border-left: 2px solid rgba(58,36,22,.25); }
.basket.is-bump .basket__count { animation: basket-bump 360ms var(--ease-out); }
@keyframes basket-bump { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
body[data-basket="full"] .orderbar { display: none; }
body[data-basket="full"] { padding-bottom: 96px; }
@media (max-width: 420px) { .basket__go { display: none; } }
@media (min-width: 760px) {
  .basket { left: auto; right: var(--gutter); bottom: 20px; padding: 0; background: none; box-shadow: none; }
  .basket__open { width: auto; min-width: 380px; }
  body[data-basket="full"] { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .basket { transition: none; } .basket.is-bump .basket__count { animation: none; } }

/* the order sheet is a kitchen docket, like today's special */
.sheet {
  padding: 18px 12px; border: 0; background: transparent; color: var(--cumin);
  width: min(600px, 100%); max-width: 100%; max-height: 100dvh; overflow: auto; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(46, 28, 18, .6); }
.sheet__docket { rotate: -.5deg; max-width: none; padding-bottom: 26px; }
.sheet[open] .sheet__docket { animation: sheet-in 340ms var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) { .sheet[open] .sheet__docket { animation: none; } }
@media (max-width: 600px) {
  .sheet { margin: auto 0 0; width: 100%; padding: 12px 0 0; max-height: 94dvh; }
  .sheet__docket { rotate: 0deg; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}
.sheet .docket__top { align-items: center; }
.sheet__close { border: 0; background: none; color: var(--chilli); font: 700 .85rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 10px 4px; cursor: pointer; }
.sheet__h { font-family: var(--hand); font-weight: 700; font-size: clamp(2.2rem, 7vw, 2.9rem); line-height: 1.05; color: var(--chilli); margin: 14px 0 4px; letter-spacing: 0; }
.ol__h { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cumin-soft); margin: 18px 0 2px; font-family: var(--body); }
.ol { list-style: none; margin: 0; padding: 0; }
.ol__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 5.4em; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ol__name { font-weight: 700; overflow-wrap: anywhere; }
.ol__name small { font-weight: 600; color: var(--cumin-soft); }
.ol__side select { margin-top: 4px; font: 600 .95rem var(--body); color: var(--cumin); background: var(--cream); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; min-height: 36px; }
.ol__step { display: inline-flex; align-items: center; gap: 4px; }
.ol__step button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cumin); background: var(--paper); color: var(--cumin); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; }
.ol__step button svg { width: 14px; height: 14px; }
.ol__step button:active { transform: scale(.92); }
.ol__step output { min-width: 1.8em; text-align: center; font-family: var(--display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ol__price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ol__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--cumin); font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.ol__total span:last-child { font-variant-numeric: tabular-nums; }
.sheet__how { border: 0; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.sheet__how legend, .sheet__field > span { font-weight: 700; margin-bottom: 6px; padding: 0; }
.sheet__how label { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.sheet__how input { accent-color: var(--chilli); width: 20px; height: 20px; margin: 0; }
.sheet__field { display: grid; gap: 4px; margin-top: 14px; }
.sheet__field[hidden] { display: none; }
.sheet__field i { font-style: normal; font-weight: 400; color: var(--cumin-soft); font-size: .9rem; }
.sheet__field input, .sheet__field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--cumin); background: rgba(255,255,255,.55);
  border: 1.5px solid rgba(58,36,22,.3); border-radius: 10px; padding: 10px 12px; min-height: 46px; resize: vertical;
}
.sheet__field input:focus-visible, .sheet__field textarea:focus-visible, .ol__side select:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 1px; border-color: var(--cumin); }
.sheet__pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.sheet__send { width: 100%; margin-top: 22px; }
.sheet__fine { margin-top: 10px; font-size: .92rem; color: var(--cumin-soft); }
.sheet__clear { margin-top: 10px; border: 0; background: none; padding: 8px 0; color: var(--chilli); font: 700 .95rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sheet__empty { margin-top: 12px; font-size: 1.05rem; }
.sheet__empty a { color: var(--chilli); font-weight: 700; }
@media (max-width: 480px) { .ol__row { grid-template-columns: auto minmax(0, 1fr); } .ol__what { grid-column: 1 / -1; } }
@media (max-width: 360px) { .sheet__pair { grid-template-columns: 1fr; } }
.sheet__docket::after { display: none; }
.sheet__send { position: sticky; bottom: 12px; z-index: 3; box-shadow: 0 2px 0 rgba(0,0,0,.18), 0 10px 22px -8px rgba(58,36,22,.55); }

/* ---------- spice search ---------- */
.spice-search {
  position: sticky; top: 10px; z-index: 5;
  display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 0 30px;
  padding: 0 16px; min-height: 56px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--cumin);
  box-shadow: 0 2px 0 rgba(58,36,22,.12), 0 12px 24px -16px rgba(58,36,22,.55);
}
.spice-search svg { width: 22px; height: 22px; flex: none; color: var(--cumin-soft); }
.spice-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
  font: 400 16px/1.2 var(--body); color: var(--cumin); padding: 14px 0;
}
.spice-search input::placeholder { color: var(--cumin-soft); opacity: 1; }
.spice-search:focus-within { outline: 3px solid var(--turmeric); outline-offset: 2px; }
.spice-search__none { margin: -10px 0 26px; font-size: 1.05rem; }
.spice-search__none a { color: var(--chilli); font-weight: 700; }
.pl [hidden] { display: none !important; }
/* required name */
.sheet__send[aria-disabled="true"] { opacity: .55; box-shadow: none; }
.sheet__err { color: var(--chilli); font-weight: 700; font-size: .92rem; }
.sheet__err[hidden] { display: none; }
.sheet__field input[aria-invalid="true"] { border-color: var(--chilli); box-shadow: 0 0 0 1px var(--chilli); }
.spice-search input::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5 5 15' stroke='%236E5341' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.sheet__pair { align-items: start; }

/* ---------- "are you sure" panel inside the order docket ---------- */
.sheet__actions { margin-top: 22px; scroll-margin-bottom: 24px; }
.sheet__actions .sheet__send { margin-top: 0; }
.confirm {
  position: sticky; bottom: max(14px, env(safe-area-inset-bottom, 0px)); z-index: 3;
  padding: 18px 18px 16px; border: 2px dashed var(--chilli); border-radius: 14px; background: var(--paper);
  box-shadow: 0 2px 0 rgba(58,36,22,.1), 0 16px 30px -14px rgba(58,36,22,.55);
  animation: confirm-in 220ms var(--ease-out);
}
.confirm--warn { border-color: var(--cumin); }
.confirm__q { font-family: var(--hand); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--chilli); }
.confirm--warn .confirm__q { color: var(--cumin); }
.confirm__sum { margin-top: 6px; color: var(--cumin-soft); overflow-wrap: anywhere; }
.confirm__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.confirm__acts .btn { flex: 1 1 160px; }
.confirm__acts .btn--order { font-size: 1.1rem; min-height: 54px; }
.confirm .btn:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; }
@keyframes confirm-in { from { transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .confirm { animation: none; } }

/* ---------- set meals on the special docket ---------- */
.setmeals { list-style: none; margin: 18px 0 0; padding: 0; }
.docket__dish + .setmeals { margin-top: 14px; }
.setmeals__row {
  display: grid; grid-template-columns: 6.5em minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px dashed var(--line); min-height: 34px;
}
.setmeals__row:last-child { border-bottom: 0; }
.setmeals__day { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cumin-soft); }
.setmeals__dish { font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--cumin); overflow-wrap: anywhere; }
.setmeals__row[aria-current="date"] .setmeals__day { color: var(--chilli); }
.setmeals__row[aria-current="date"] .setmeals__dish { color: var(--chilli); }
.setmeals__today { align-self: center; }
@media (max-width: 420px) {
  .setmeals__row { grid-template-columns: minmax(0, 1fr) auto; }
  .setmeals__day { grid-column: 1; }
  .setmeals__dish { grid-column: 1 / -1; grid-row: 2; }
  .setmeals__today { grid-column: 2; grid-row: 1; }
}
