/* =========================================================
   The Vibe @ Uncle Ernie's — v2
   Design direction: "the painted board"
   Everything reads like the hand-painted menu board nailed to
   the side of the shack: bleached plywood, marine enamel green,
   sign-painter yellow, leader dots, marker strike-outs.
   ========================================================= */

:root {
  /* Palette — pulled from the shack, not from a beach stock photo */
  --board:      #f4ebd2;  /* sun-bleached plywood */
  --board-2:    #efe2c2;  /* shaded plank */
  --ink:        #14201c;  /* near-black with a green cast */
  --ink-soft:   #4a5a53;
  --paint:      #1d5a48;  /* marine enamel green */
  --paint-deep: #123a2f;
  --sun:        #f4bf40;  /* sign-painter yellow */
  --punch:      #c93a22;  /* rum punch red — marks, rules, borders */
  --punch-ink:  #bd3520;  /* same red, darkened to pass on the board */
  --salt:       #d8c9a4;  /* rule + edge */
  --wa:         #1f9d55;  /* whatsapp, muted to fit the palette */

  --display: "Bevan", Georgia, serif;
  --body:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;
  --hand:    "Caveat Brush", "Comic Sans MS", cursive;

  --gut: clamp(20px, 5vw, 40px);
  --measure: 68ch;
  --shell: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--board);
  /* plank seams — no image assets needed */
  background-image:
    repeating-linear-gradient(
      180deg,
      transparent 0 118px,
      rgba(20,32,28,.05) 118px 119px,
      transparent 119px 120px
    );
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--punch);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--board);
  padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

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

/* ---------- Painted rule (brush stroke, not a hairline) ---------- */
.rule {
  height: 7px; border: 0; margin: 0;
  background: var(--paint);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='7' preserveAspectRatio='none'%3E%3Cpath d='M0 4.2 C 40 1.6, 78 5.4, 120 3.2 S 210 6.2, 258 2.6 S 340 5.8, 400 3.4 L400 7 L0 7 Z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='7' preserveAspectRatio='none'%3E%3Cpath d='M0 4.2 C 40 1.6, 78 5.4, 120 3.2 S 210 6.2, 258 2.6 S 340 5.8, 400 3.4 L400 7 L0 7 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  opacity: .55;
}

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 42, 53, .96);
  color: var(--board);
  border-bottom: 1px solid rgba(244,235,210,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top-in {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px;
}
.brand {
  font-family: var(--display);
  font-size: 19px; letter-spacing: .2px;
  text-decoration: none; line-height: 1;
  margin-right: auto;
  display: flex; align-items: baseline; gap: 8px;
}
.brand small {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .7;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 9px 12px; color: var(--board);
  border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--sun); }

/* Language picker */
.lang { display: flex; border: 2px solid rgba(244,235,210,.35); }
.lang button {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 9px; border: 0; cursor: pointer;
  background: transparent; color: var(--board);
}
.lang button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }

/* Burger — one breakpoint, no dead zone */
.burger {
  display: none;
  width: 42px; height: 38px; padding: 0;
  background: transparent; border: 2px solid rgba(244,235,210,.35);
  color: var(--board); cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: currentColor; }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 62px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paint-deep);
    padding: 8px 0 16px;
    border-bottom: 4px solid var(--sun);
    transform: translateY(-120%);
    transition: transform .22s ease;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 14px var(--gut); border-bottom: 1px solid rgba(244,235,210,.12); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: rgba(244,235,210,.12); color: var(--sun); }
}

/* ---------- Hero: Shoal Bay background + floating food ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(650px, 78vh, 820px);
  color: #fff;
  overflow: hidden;
  border-bottom: 5px solid var(--sun);
  background: #0c4254;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(4,28,42,.50) 0%, rgba(5,36,47,.26) 38%, rgba(5,34,43,.50) 100%),
    linear-gradient(90deg, rgba(3,31,42,.30), rgba(3,31,42,.08) 48%, rgba(3,31,42,.28)),
    image-set(url('/assets/img/sand-750.webp') type('image/webp'), url('/assets/img/sand-750.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(50% 48% at 50% 42%, rgba(9,45,57,.12), rgba(4,27,38,.42) 78%),
    linear-gradient(180deg, rgba(4,28,42,.12), rgba(4,28,42,.28));
}
.hero-in {
  position: relative;
  min-height: inherit;
  display: grid;
  place-items: center;
  padding: clamp(70px, 9vw, 110px) 0 clamp(58px, 7vw, 86px);
}
.hero-copy {
  position: relative;
  z-index: 10;
  width: min(100%, 690px);
  margin-inline: auto;
  text-align: center;
  padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 20px);
  text-shadow: 0 3px 18px rgba(0,0,0,.48);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sun);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(56px, 8.8vw, 118px);
  line-height: .76;
  letter-spacing: -.025em;
  margin: 0 0 26px;
  text-wrap: balance;
  color: #fff;
}
.hero h1 .small {
  display: block;
  margin-top: .14em;
  font-size: .74em;
  letter-spacing: -.02em;
  color: #fff;
}
.hero h1::after {
  content: "";
  display: block;
  width: min(320px, 58vw);
  height: 8px;
  margin: 20px auto 0;
  background: var(--sun);
  border-radius: 999px;
  transform: rotate(-1.3deg);
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.hero-sub {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  max-width: 44ch;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.96);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero .btn {
  min-width: 155px;
  border-width: 2px;
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(0,0,0,.24);
  border-radius: 12px;
}
.hero .btn-menu { background: #159b9b; color: #fff; }
.hero .btn-order { background: var(--sun); color: var(--ink); }
.hero .btn-share { background: rgba(255,255,255,.94); color: #0c6c73; }
.hero .status {
  margin: 0 auto 12px;
  background: rgba(4,31,40,.62);
  border: 1px solid rgba(255,255,255,.22);
  border-left: 4px solid var(--sun);
  color: #fff;
  text-shadow: none;
  backdrop-filter: blur(8px);
}
.hero .manager-special {
  max-width: 560px;
  margin: 8px auto 0;
  background: rgba(4,31,40,.68);
  color: #fff;
  border-color: var(--sun);
  text-shadow: none;
}
.hero-credit {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.90);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.hero-credit:hover { color: var(--sun); }

/* Floating photo cards sit above the Shoal Bay background but behind the copy. */
.floaters {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.float {
  position: absolute;
  margin: 0;
  padding: 7px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.34);
  will-change: transform;
}
.float .shot {
  position: absolute;
  inset: 7px;
  opacity: 0;
  overflow: hidden;
  border-radius: 12px;
  transition: opacity 1s ease-in-out;
}
.float .shot.is-on { opacity: 1; }
.float .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float::before { content: ""; display: block; }
.f-a { top: 12%; left: max(2.5%, calc(50% - 660px)); width: clamp(190px, 18vw, 300px); z-index: 3; }
.f-b { top: 17%; right: max(2.5%, calc(50% - 660px)); width: clamp(175px, 17vw, 280px); z-index: 4; }
.f-c { bottom: 10%; left: max(4.5%, calc(50% - 620px)); width: clamp(165px, 15vw, 250px); z-index: 5; }
.f-d { bottom: 8%; right: max(3.8%, calc(50% - 630px)); width: clamp(185px, 17vw, 285px); z-index: 6; }
.f-a::before, .f-b::before, .f-d::before { padding-top: 78%; }
.f-c::before { padding-top: 92%; }
@keyframes drift-a { 0%,100% { transform: rotate(-5deg) translate3d(0,0,0) } 50% { transform: rotate(-2.5deg) translate3d(8px,-14px,0) } }
@keyframes drift-b { 0%,100% { transform: rotate(4deg) translate3d(0,0,0) } 50% { transform: rotate(2deg) translate3d(-10px,12px,0) } }
@keyframes drift-c { 0%,100% { transform: rotate(5deg) translate3d(0,0,0) } 50% { transform: rotate(2.5deg) translate3d(9px,-10px,0) } }
@keyframes drift-d { 0%,100% { transform: rotate(-4deg) translate3d(0,0,0) } 50% { transform: rotate(-1.5deg) translate3d(-8px,12px,0) } }
.f-a { animation: drift-a 13s ease-in-out infinite; }
.f-b { animation: drift-b 17s ease-in-out infinite -3s; }
.f-c { animation: drift-c 15s ease-in-out infinite -7s; }
.f-d { animation: drift-d 19s ease-in-out infinite -11s; }

@media (max-width: 1080px) {
  .hero { min-height: 760px; }
  .hero-copy { width: min(100%, 620px); }
  .f-a { top: 7%; left: 2%; width: 23vw; }
  .f-b { top: 9%; right: 2%; width: 22vw; }
  .f-c { bottom: 8%; left: 3%; width: 20vw; }
  .f-d { bottom: 8%; right: 3%; width: 22vw; }
}
@media (max-width: 760px) {
  .hero { min-height: 780px; }
  .hero-bg { background-position: center center; }
  .hero-in { display: block; padding: 62px 0 245px; }
  .hero-copy { width: min(100%, 560px); }
  .hero h1 { font-size: clamp(54px, 16vw, 82px); }
  .hero-sub { font-size: 18px; }
  .hero-cta { gap: 9px; }
  .hero .btn { min-width: 0; padding: 12px 16px; font-size: 14px; flex: 1 1 130px; }
  .floaters { top: auto; height: 245px; bottom: 32px; }
  .f-a { top: 16px; left: 3%; width: 36%; }
  .f-b { top: 10px; right: 3%; width: 34%; }
  .f-c { bottom: 5px; left: 19%; width: 29%; }
  .f-d { bottom: 2px; right: 14%; width: 31%; }
  .hero-credit { bottom: 8px; font-size: 12px; }
}
@media (max-width: 430px) {
  .hero { min-height: 820px; }
  .hero-in { padding-top: 46px; padding-bottom: 248px; }
  .hero-copy { padding-inline: 0; }
  .hero h1 { font-size: clamp(50px, 15.7vw, 70px); }
  .eyebrow { font-size: 9px; letter-spacing: .16em; }
  .hero-cta .btn-share { flex-basis: 100%; }
  .floaters { height: 235px; }
  .f-a { width: 38%; }
  .f-b { width: 36%; }
  .f-c { width: 31%; left: 17%; }
  .f-d { width: 33%; right: 12%; }
}
@media (prefers-reduced-motion: reduce) {
  .float { animation: none; }
  .f-a { transform: rotate(-5deg); }
  .f-b { transform: rotate(4deg); }
  .f-c { transform: rotate(5deg); }
  .f-d { transform: rotate(-4deg); }
  .float .shot { transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-size: 16px; font-weight: 700;
  padding: 14px 22px;
  border: 3px solid var(--ink);
  background: var(--sun); color: var(--ink);
  text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-line { background: transparent; color: var(--board); border-color: var(--board); box-shadow: 4px 4px 0 rgba(20,32,28,.4); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--ink); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: 4px 4px 0 var(--ink); transform: none; }

/* ---------- Sections ---------- */
.sec { padding: clamp(48px, 8vw, 84px) 0; }
.sec-head { margin-bottom: 28px; }
.kicker {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--paint); margin: 0 0 10px;
}
h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 5.2vw, 46px);
  line-height: 1.02; margin: 0 0 12px;
  text-wrap: balance;
}
h3 { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.5; }
.muted { color: var(--ink-soft); }

/* Press quotes — set like a painted testimonial, not a card */
.press { display: grid; gap: 22px; margin: 30px 0 0; padding: 0; }
.press blockquote { margin: 0; padding-left: 18px; border-left: 5px solid var(--sun); }
.press q {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(19px, 3vw, 26px); line-height: 1.25;
  quotes: "“" "”";
}
.press cite {
  display: block; margin-top: 8px;
  font-family: var(--mono); font-size: 11px; font-style: normal;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
@media (min-width: 760px) { .press { grid-template-columns: 1fr 1fr; } }

/* ---------- THE BOARD (signature) ---------- */
.board { margin-top: 8px; }
.board-cat + .board-cat { margin-top: 40px; }
.board-cat h3 {
  font-size: clamp(22px, 3.6vw, 30px);
  color: var(--paint);
  display: flex; align-items: baseline; gap: 12px;
}
.board-cat h3 .count {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--ink-soft);
}
.cat-note {
  font-family: var(--hand); font-size: 19px; color: var(--punch-ink);
  margin: -2px 0 14px; transform: rotate(-.6deg); transform-origin: left;
}

.lines { list-style: none; margin: 0; padding: 0; }
.line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 0 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--salt);
  position: relative;
}
.line-main { min-width: 0; }
.line-name {
  font-weight: 700; font-size: 17px; line-height: 1.25;
  display: inline;
}
/* leader dots between name and price, like the real board */
.line-name::after {
  content: "";
  display: inline-block;
  width: 100%;
  margin: 0 0 0 8px;
  border-bottom: 2px dotted var(--salt);
  transform: translateY(-4px);
}
.line-desc { font-size: 14px; color: var(--ink-soft); margin: 3px 0 0; line-height: 1.45; }
.line-price {
  font-family: var(--mono); font-weight: 700; font-size: 17px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tag {
  display: inline-block; vertical-align: middle;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 6px; margin-left: 8px;
  background: var(--sun); color: var(--ink);
}
.tag-ask { background: transparent; color: var(--paint); border: 1px solid var(--paint); }

/* the add control */
.add {
  width: 40px; height: 40px; padding: 0;
  border: 3px solid var(--ink); background: var(--board);
  color: var(--ink); cursor: pointer;
  font-family: var(--mono); font-size: 20px; font-weight: 700; line-height: 1;
  align-self: center;
  transition: background .12s ease, color .12s ease;
}
.add:hover { background: var(--sun); }

/* SOLD OUT — the marker strike. This is the live-data moment. */
.line[data-out="true"] .line-main { opacity: .5; }
.line[data-out="true"] .add { display: none; }
.line[data-out="true"]::before {
  content: "";
  position: absolute; left: -4px; right: -4px; top: 46%;
  height: 10px;
  background: var(--punch);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='10' preserveAspectRatio='none'%3E%3Cpath d='M2 7.4 C 60 2.2, 118 8.4, 176 3.4 S 262 7.8, 298 2.8 L298 6 C 262 11, 176 6.6, 118 11.4 S 60 5.4, 2 10.4 Z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='10' preserveAspectRatio='none'%3E%3Cpath d='M2 7.4 C 60 2.2, 118 8.4, 176 3.4 S 262 7.8, 298 2.8 L298 6 C 262 11, 176 6.6, 118 11.4 S 60 5.4, 2 10.4 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  pointer-events: none;
}
.line[data-out="true"] .line-out {
  font-family: var(--hand); font-size: 17px; color: var(--punch-ink);
  transform: rotate(-2deg); white-space: nowrap; align-self: center;
}

/* deep-link arrival flash (from 264Eats) */
@keyframes landed {
  0%   { background: var(--sun); }
  100% { background: transparent; }
}
.line[data-landed="true"] { animation: landed 2.2s ease-out; }

/* ---------- The cooler (cart) ---------- */
.cooler-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--paint-deep); color: var(--board);
  border-top: 4px solid var(--sun);
  transform: translateY(110%);
  transition: transform .2s ease;
}
.cooler-bar[data-show="true"] { transform: translateY(0); }
.cooler-bar-in {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
}
.cooler-bar .count {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: .06em;
}
.cooler-bar .total {
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  margin-left: auto;
}
.cooler-bar .btn { padding: 11px 18px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }

.sheet {
  position: fixed; inset: 0; z-index: 90;
  display: none;
}
.sheet[data-open="true"] { display: block; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(18,29,25,.6); }
.sheet-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--board);
  border-left: 5px solid var(--paint);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 0 rgba(20,32,28,.12);
}
.sheet-head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px var(--gut) 14px;
  border-bottom: 3px solid var(--ink);
}
.sheet-head h2 { font-size: 26px; margin: 0; margin-right: auto; }
.x {
  width: 38px; height: 38px; border: 3px solid var(--ink);
  background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 17px; line-height: 1;
}
.sheet-body { flex: 1; overflow-y: auto; padding: 8px var(--gut) 18px; }
.sheet-foot { padding: 16px var(--gut) 22px; border-top: 3px solid var(--ink); background: var(--board-2); }

.cart-empty {
  font-family: var(--hand); font-size: 22px; color: var(--ink-soft);
  padding: 34px 0; text-align: center;
}
.cart-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px;
  padding: 14px 0; border-bottom: 1px solid var(--salt);
}
.cart-row .nm { font-weight: 700; font-size: 15px; }
.cart-row .amt { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: 0; margin-top: 8px; }
.qty button {
  width: 34px; height: 34px; border: 2px solid var(--ink); background: var(--board);
  font-family: var(--mono); font-size: 16px; font-weight: 700; cursor: pointer;
}
.qty output {
  min-width: 44px; text-align: center;
  font-family: var(--mono); font-weight: 700;
  border-block: 2px solid var(--ink); line-height: 30px; height: 34px;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 20px; font-weight: 700;
  padding-bottom: 14px;
}
.field { margin-bottom: 12px; }
.field label {
  display: block; font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 5px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 12px;
  font-family: var(--body); font-size: 16px;
  border: 2px solid var(--ink); background: var(--board);
  color: var(--ink);
}
.field textarea { min-height: 68px; resize: vertical; }
.link-btn {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: var(--body); font-size: 14px; font-weight: 700;
  color: var(--paint); text-decoration: underline;
}

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; margin-top: 22px;
  background: var(--board-2); border-left: 5px solid var(--punch);
  font-size: 14.5px; line-height: 1.5;
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--punch); margin-top: 2px; }
.notice-quiet { border-left-color: var(--paint); }
.notice-quiet svg { color: var(--paint); }

.cash-scrawl {
  font-family: var(--hand); font-size: clamp(22px, 4vw, 32px);
  color: var(--punch-ink); transform: rotate(-1.4deg);
  display: inline-block; margin: 6px 0 0;
}

/* ---------- Info grid ---------- */
.facts { display: grid; gap: 2px; background: var(--salt); border: 2px solid var(--salt); }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { background: var(--board); padding: 20px; }
.fact dt {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--paint);
  margin-bottom: 6px;
}
.fact dd { margin: 0; font-size: 16px; line-height: 1.5; }
.fact a { color: var(--paint); }

.hours-list { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 13.5px; }
.hours-list li { display: flex; justify-content: space-between; padding: 4px 0; gap: 16px; }
.hours-list li[data-today="true"] { font-weight: 700; color: var(--punch-ink); }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .gal { grid-template-columns: repeat(4, 1fr); } }
.gal figure { margin: 0; border: 2px solid var(--salt); background: var(--board-2); }
.gal picture { display: block; aspect-ratio: 1; }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal figcaption {
  font-family: var(--mono); font-size: 10.5px; line-height: 1.4;
  letter-spacing: .02em; color: var(--ink-soft);
  padding: 8px 10px 9px;
  border-top: 1px solid var(--salt);
}

/* ---------- Footer ---------- */
.foot {
  background: var(--paint-deep); color: rgba(244,235,210,.8);
  padding: 44px 0 34px; margin-top: 20px;
}
.foot a { color: var(--sun); }
.foot-grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sun);
  margin: 0 0 10px;
}
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.foot li { padding: 3px 0; }
.foot-mark { font-family: var(--display); font-size: 26px; color: var(--board); margin: 0 0 8px; }
.foot-fine { font-size: 12.5px; opacity: .6; margin-top: 26px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 120;
  transform: translate(-50%, 20px);
  background: var(--ink); color: var(--board);
  padding: 12px 18px; font-size: 14.5px; font-weight: 600;
  border-left: 5px solid var(--sun);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  max-width: calc(100% - 32px);
}
.toast[data-show="true"] { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Draft-price banner ---------- */
.draft {
  background: var(--sun); color: var(--ink);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-align: center; padding: 8px 16px;
}

/* ---------- 404 ---------- */
.oops { text-align: center; padding: clamp(60px, 14vw, 130px) 0; }
.oops h1 { font-family: var(--display); font-size: clamp(46px, 13vw, 110px); line-height: .9; margin: 0 0 14px; }

/* ---------- v3 integration / PWA / mobile polish ---------- */
.app-tools { display:flex; align-items:center; gap:6px; }
.app-action {
  border: 2px solid rgba(244,235,210,.45);
  background: transparent;
  color: var(--board);
  font: 700 11px/1 var(--mono);
  letter-spacing: .04em;
  padding: 8px 10px;
  min-height: 36px;
  cursor: pointer;
  white-space: nowrap;
}
.app-action:hover, .app-action:focus-visible { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.app-action[hidden] { display:none !important; }
.manager-special {
  max-width: 48ch;
  margin: -12px 0 26px;
  padding: 10px 13px;
  border-left: 4px solid var(--sun);
  background: rgba(18,58,47,.78);
  color: var(--board);
  font-size: 14px;
  font-weight: 700;
}
.tag-time { background: var(--paint); color: var(--board); }
.line[data-unavailable="true"] .line-main,
.line[data-unavailable="true"] .line-price { opacity: .52; }
.menu-source {
  max-width: 70ch;
  margin: 0 0 24px;
  padding: 10px 12px;
  background: rgba(29,90,72,.08);
  border-left: 4px solid var(--paint);
  color: var(--ink-soft);
  font-size: 13.5px;
}
.current-links { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 18px; }
.btn-ink { color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--board); }
.photo-viewer {
  width:min(980px, calc(100vw - 28px));
  max-height:calc(100dvh - 28px);
  border:0;
  padding:0;
  background:#0e1714;
  box-shadow:0 24px 70px rgba(0,0,0,.48);
}
.photo-viewer::backdrop { background:rgba(7,13,11,.82); }
.photo-viewer img { width:100%; max-height:calc(100dvh - 56px); object-fit:contain; margin:auto; }
.photo-close { position:absolute; right:10px; top:10px; z-index:2; background:var(--board); }
.gal img[role="button"] { cursor:zoom-in; }
.sheet-panel { max-width:100vw; min-width:0; }
.sheet-foot { overflow-y:auto; max-height:58dvh; padding-bottom:calc(22px + env(safe-area-inset-bottom)); }
.btn-wide + .btn-wide { margin-top:9px; }
.foot-fine a { color:inherit; }

@media (max-width: 1040px) {
  .top-in { gap:9px; }
  .brand small { display:none; }
  .nav a { padding-inline:9px; }
  .app-action { padding-inline:8px; }
}
@media (max-width: 860px) {
  .top-in { min-height:66px; }
  .nav { inset:66px 0 auto 0; max-height:calc(100dvh - 66px); overflow-y:auto; }
  .brand { font-size:17px; }
  .lang button { padding:6px 7px; }
  .app-tools { gap:5px; }
  .app-action { font-size:0; width:38px; height:38px; padding:0; position:relative; flex:0 0 38px; }
  .app-action::before { font:700 18px/1 var(--mono); }
  .install-app::before { content:"↓"; }
  .share-app::before { content:"↗"; }
  .hero { padding-top:36px; }
}
@media (max-width: 520px) {
  .wrap { width:min(100% - 32px, var(--shell)); }
  .top-in { gap:7px; }
  .brand { font-size:15px; max-width:125px; }
  .burger { width:38px; }
  .lang { margin-left:auto; }
  .lang button { font-size:10px; padding:6px 6px; }
  .app-action { flex:0 0 34px; width:34px; height:36px; }
  .floaters { height:350px; }
  .f-a { width:58%; }
  .f-b { width:45%; }
  .f-c { width:46%; }
  .f-d { width:43%; }
  .line { grid-template-columns:minmax(0,1fr) auto auto; gap:0 8px; }
  .line-name { font-size:15.5px; }
  .line-price { font-size:15px; }
  .add { width:38px; height:38px; }
  .cooler-bar-in { gap:8px; }
  .cooler-bar .btn { padding:10px 12px; }
}


/* ---------- PWA install help ---------- */
.install-dialog {
  width:min(92vw, 460px);
  padding:0;
  border:0;
  border-radius:18px;
  background:var(--board);
  color:var(--ink);
  box-shadow:0 24px 80px rgba(0,0,0,.32);
}
.install-dialog::backdrop { background:rgba(9,24,20,.68); backdrop-filter:blur(3px); }
.install-card { position:relative; padding:28px; }
.install-card h2 { margin:4px 42px 12px 0; font-family:var(--display); font-size:clamp(28px,7vw,42px); line-height:.95; }
.install-help { margin:0 0 22px; color:var(--ink-soft); line-height:1.6; }
.install-close { position:absolute; top:14px; right:14px; }
@media (max-width: 520px) {
  .install-card { padding:24px 20px 20px; }
  .top-in { flex-wrap:nowrap; }
  .app-tools { flex:0 0 auto; }
}
