/* ==========================================================================
   Blue Mango — life in full flavor
   Single stylesheet for the landing + menu pages.

   Contents
   01  Tokens
   02  Reset & base
   03  Utilities
   04  Buttons & pills
   05  Navigation (fixed bar, mobile drawer)
   06  Marquee ticker
   07  Landing — hero
   08  Landing — story
   09  Landing — signature carousel
   10  Landing — visit
   11  Menu — hero & category sections
   12  Product cards
   13  Footer
   14  Cart (floating button, panel, toast)
   15  Motion & print preferences
   ========================================================================== */

/* 01  Tokens ============================================================== */

:root {
  /* Brand palette */
  --cream: #f4ece0;
  --ink: #28190f;
  --orange: #ea682e;
  --sage: #dae1ac;
  --sky: #93c3df;
  --peach: #f5d8b8;
  --card-white: #ffffff;
  --photo-bg: #ede6d8;
  --card-border: rgba(40, 25, 15, 0.08);

  /* Text on dark */
  --cream-90: rgba(244, 236, 224, 0.9);
  --cream-70: rgba(244, 236, 224, 0.7);
  --cream-16: rgba(244, 236, 224, 0.16);

  /* Type */
  --font-display: "Lilita One", "Arial Black", "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Rhythm */
  --pad-x: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 120px);
  --section-y-tight: clamp(64px, 9vw, 104px);

  /* Signature hard-offset shadow */
  --shadow-hard: 6px 7px 0 var(--ink);
  --shadow-hard-sm: 3px 4px 0 var(--ink);
  --shadow-press: 2px 2px 0 var(--ink);
  --shadow-press-sm: 1px 1px 0 var(--ink);

  /* Soft card shadows */
  --shadow-card: 0 10px 22px rgba(40, 25, 15, 0.08);
  --shadow-card-hover: 0 16px 30px rgba(40, 25, 15, 0.13);

  /* Motion — tweak the marquee speeds here, nowhere else. */
  --marquee-dur: 45s;
  --marquee-dur-footer: 30s;
  --ease: 140ms ease;

  /* Fixed nav height, used for anchor scroll offsets */
  --nav-h: 88px;
}

/* 02  Reset & base ======================================================== */

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

html {
  /* `clip` (not `hidden`) keeps position: sticky/fixed working */
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Never let a long word push the layout sideways */
  overflow-wrap: break-word;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

/* Anchored sections must clear the fixed nav */
[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

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

/* On dark or orange grounds a cream ring reads better than an ink one */
.site-footer :focus-visible,
.theme-orange :focus-visible,
.sig-card :focus-visible,
.cart-panel :focus-visible {
  outline-color: var(--cream);
}

@media (hover: hover) {
  a:not(.btn):not(.nav__brand):not(.sig-card):not(.catnav__link):hover {
    color: var(--orange);
  }
}

/* 03  Utilities =========================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-200%);
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.section {
  position: relative;
  /* contains the grain blend so it can't reach into neighbouring sections */
  isolation: isolate;
  overflow: hidden;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}

.theme-cream { background: var(--cream); }
.theme-sage  { background: var(--sage); }
.theme-sky   { background: var(--sky); }
.theme-orange { background: var(--orange); }

/* Decorative paper grain. Purely cosmetic — delete `.grain` from a section's
   class list to switch it off. */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Rotated Playfair "sticker" eyebrow with a layered outline.
   Set --outline and --rot per instance. */
.eyebrow {
  --outline: var(--sky);
  --rot: -3deg;
  display: inline-block;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(19px, 2.8vw, 26px);
  line-height: 1.2;
  color: var(--ink);
  transform: rotate(var(--rot));
  text-shadow:
    -2px -2px 0 var(--outline), 2px -2px 0 var(--outline),
    -2px 2px 0 var(--outline), 2px 2px 0 var(--outline),
    -3px 0 0 var(--outline), 3px 0 0 var(--outline),
    0 -3px 0 var(--outline), 0 3px 0 var(--outline),
    5px 7px 0 rgba(40, 25, 15, 0.3);
}

/* Smaller sibling used beside section headings */
.kicker {
  --outline: var(--sky);
  --rot: -2deg;
  display: inline-block;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.2;
  color: var(--ink);
  transform: rotate(var(--rot));
  text-shadow:
    -2px -2px 0 var(--outline), 2px -2px 0 var(--outline),
    -2px 2px 0 var(--outline), 2px 2px 0 var(--outline),
    3px 5px 0 rgba(40, 25, 15, 0.25);
}

.lead {
  max-width: 44ch;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  font-weight: 600;
}

/* 04  Buttons & pills ===================================================== */

/* The house "hard offset shadow" button. On hover it presses into its own
   shadow. --rot keeps each instance's base rotation through every state. */
.btn {
  --rot: 0deg;
  --btn-bg: var(--sage);
  --btn-fg: var(--ink);
  --sh: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  max-width: 100%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 6px 7px 0 var(--sh);
  transform: rotate(var(--rot));
  transition: transform var(--ease), box-shadow var(--ease),
    background-color var(--ease), color var(--ease);
}

.btn:focus-visible {
  transform: rotate(var(--rot)) translate(3px, 4px);
  box-shadow: 2px 2px 0 var(--sh);
  color: var(--btn-fg);
}

@media (hover: hover) {
  .btn:hover {
    transform: rotate(var(--rot)) translate(3px, 4px);
    box-shadow: 2px 2px 0 var(--sh);
    color: var(--btn-fg);
  }
}

.btn:active {
  transform: rotate(var(--rot)) translate(5px, 6px);
  box-shadow: 0 0 0 var(--sh);
}

.btn--cream { --btn-bg: var(--cream); }
.btn--sage { --btn-bg: var(--sage); }
.btn--sky { --btn-bg: var(--sky); }
.btn--orange { --btn-bg: var(--orange); --btn-fg: var(--cream); }

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Sits on the dark footer, so it outlines itself in sky instead of ink */
.btn--onink {
  --sh: rgba(147, 195, 223, 0.8);
  border-color: var(--sky);
  padding: 14px 28px;
  font-size: 17px;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 14px;
  box-shadow: 3px 4px 0 var(--sh);
}

.btn--sm:focus-visible {
  transform: rotate(var(--rot)) translate(2px, 3px);
  box-shadow: 1px 1px 0 var(--sh);
}

@media (hover: hover) {
  .btn--sm:hover {
    transform: rotate(var(--rot)) translate(2px, 3px);
    box-shadow: 1px 1px 0 var(--sh);
  }
}

.btn--sm:active {
  transform: rotate(var(--rot)) translate(3px, 4px);
  box-shadow: 0 0 0 var(--sh);
}

/* Outline pill used for the footer socials */
.pill-outline {
  display: inline-block;
  border: 2px solid var(--cream);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 14px;
  color: var(--cream);
  transition: background-color var(--ease), color var(--ease);
}

@media (hover: hover) {
  .pill-outline:hover {
    background: var(--cream);
    color: var(--ink);
  }
}

.pill-outline:active {
  background: var(--cream);
  color: var(--ink);
}

/* 05  Navigation ========================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 44px);
  background: transparent;
  /* transparent at rest so toggling `is-stuck` never shifts the bar */
  border-bottom: 3px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease,
    box-shadow 200ms ease;
}

/* Once you scroll off the hero the bar solidifies. Orange is the logo's native
   ground, so the cream wordmark keeps full contrast. */
.nav.is-stuck {
  background: var(--orange);
  border-bottom-color: var(--ink);
  box-shadow: 0 8px 24px rgba(40, 25, 15, 0.18);
}

.nav__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  /* the wordmark is shorter than a comfortable thumb target */
  min-height: 44px;
}

.nav__logo {
  height: clamp(38px, 5vw, 52px);
  width: auto;
  transition: height 200ms ease;
}

.nav.is-stuck .nav__logo {
  height: clamp(34px, 4.4vw, 44px);
}

.nav__links {
  display: flex;
  align-items: center;
  /* tightened to offset the padding the links now carry, so the gap between
     two words on screen stays where it was */
  gap: clamp(8px, 1.6vw, 16px);
}

.nav__link {
  /* padding, not height — the text stays put, the target grows to ~46x45 */
  padding: 11px 8px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-hard-sm);
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}

.nav__toggle:active {
  transform: translate(2px, 3px);
  box-shadow: var(--shadow-press-sm);
}

.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}

.nav__toggle-bars {
  position: relative;
}

.nav__toggle-bars::before { position: absolute; top: -7px; left: 0; }
.nav__toggle-bars::after { position: absolute; top: 7px; left: 0; }

/* Mobile drawer -------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: 1fr;
}

.drawer[hidden] { display: none; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(40, 25, 15, 0.55);
  cursor: pointer;
  animation: bm-fade 180ms ease both;
}

.drawer__panel {
  position: relative;
  justify-self: end;
  width: min(360px, 88vw);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--cream);
  border-left: 3px solid var(--ink);
  padding: 22px var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: bm-slide-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  text-transform: uppercase;
  line-height: 1;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: transform var(--ease), box-shadow var(--ease),
    background-color var(--ease);
}

.drawer__close:active {
  transform: translate(2px, 3px);
  box-shadow: var(--shadow-press-sm);
}

@media (hover: hover) {
  .drawer__close:hover { background: var(--sage); }
}

.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer__link {
  display: block;
  padding: 14px 4px;
  border-bottom: 2px solid rgba(40, 25, 15, 0.12);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--ink);
}

@media (hover: hover) {
  .drawer__link:hover { color: var(--orange); }
}

.drawer__label {
  margin-top: 6px;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  color: rgba(40, 25, 15, 0.6);
}

.drawer__cta { align-self: flex-start; --rot: -1.5deg; }

@keyframes bm-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bm-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Swap the inline links for a hamburger before they get cramped */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* 06  Marquee ticker ====================================================== */

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--sage);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 13px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: bm-marquee var(--marquee-dur) linear infinite;
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex: 0 0 auto;
}

.marquee__item {
  padding: 0 26px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

@keyframes bm-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 07  Landing — hero ====================================================== */

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(116px, 16vw, 160px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 96px);
}

.hero__col {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 136px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--sage);
  text-shadow: 5px 6px 0 rgba(40, 25, 15, 0.28);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 8px;
}

.hero__media {
  flex: 1 1 280px;
  max-width: 420px;
  margin: 0 auto;
}

/* Chunky outlined photo frame */
.frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 4px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  background: var(--peach);
  box-shadow: 10px 12px 0 var(--ink);
  transform: rotate(2deg);
}

.frame__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Illustrated stand-ins sit inside the frame rather than bleeding to its edges */
.frame__media--art {
  object-fit: contain;
  padding: 6%;
}

/* 08  Landing — story ===================================================== */

.story__inner {
  max-width: 820px;
  margin: 0 auto;
  /* deliberately shorter than the other sections so the story reads fast */
  padding: clamp(48px, 6vw, 72px) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.story__title {
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1.1;
}

.story__body {
  max-width: 60ch;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.8;
  letter-spacing: 0.2px;
  font-weight: 600;
}

.story__sticker {
  width: clamp(150px, 22vw, 210px);
  margin-top: 4px;
  transform: rotate(-3deg);
  filter: drop-shadow(4px 6px 0 rgba(40, 25, 15, 0.22));
}

/* 09  Landing — signature carousel ======================================== */

.signature__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.signature__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow: 4px 5px 0 rgba(40, 25, 15, 0.2);
}

.section__sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 21px);
}

.carousel {
  position: relative;
  width: 100%;
}

.carousel__viewport {
  display: flex;
  gap: clamp(18px, 2.5vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 6px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__viewport.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
}

.carousel__viewport.is-dragging .sig-card { pointer-events: none; }

.carousel__nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 2px;
}

.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: transform var(--ease), box-shadow var(--ease),
    background-color var(--ease), opacity var(--ease);
}

@media (hover: hover) {
  .carousel__btn:not(:disabled):hover {
    background: var(--sage);
    transform: translate(2px, 3px);
    box-shadow: var(--shadow-press-sm);
  }
}

.carousel__btn:not(:disabled):active {
  transform: translate(3px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.sig-card {
  position: relative;
  flex: 0 0 290px;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4.3;
  border-radius: 32px;
  overflow: hidden;
  background: var(--sage);
  box-shadow: 0 12px 26px rgba(40, 25, 15, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sig-card--sage { background: var(--sage); }
.sig-card--sky { background: var(--sky); }
.sig-card--peach { background: var(--peach); }

@media (hover: hover) {
  .sig-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(40, 25, 15, 0.16);
  }
}

/* Real photography bleeds to the card edges… */
.sig-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* …while the illustrated stand-in floats above the glass panel instead. */
.sig-card__art {
  position: absolute;
  inset: 4% 0 34% 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  padding: 0 12%;
}

.sig-card__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(40, 25, 15, 0.1) 0%,
    rgba(40, 25, 15, 0) 32%,
    rgba(40, 25, 15, 0.5) 66%,
    rgba(40, 25, 15, 0.78) 100%
  );
}

.sig-card__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  background: rgba(40, 25, 15, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(244, 236, 224, 0.18);
}

.sig-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  color: #fff;
}

.sig-card__desc {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--cream-90);
}

.sig-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
  padding: 0;
  list-style: none;
}

.sig-card__tags li {
  background: var(--cream-16);
  border-radius: 9px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cream);
}

/* 10  Landing — visit ===================================================== */

.visit__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.visit__info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.visit__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}

.visit__address {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  font-style: normal;
}

.visit__hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.visit__hours-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--orange);
}

.visit__hours-detail {
  font-size: 17px;
  font-weight: 700;
}

.visit__map {
  flex: 1 1 320px;
  position: relative;
  /* room for the stickers that hang off the frame */
  margin: 18px 0;
}

.map__frame {
  height: clamp(260px, 40vw, 360px);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 7px 8px 0 var(--ink);
  transform: rotate(-1deg);
  background: #ebe1d0;
  overflow: hidden;
}

.map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map__tag {
  position: absolute;
  top: -14px;
  left: 18px;
  transform: rotate(-5deg);
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cream);
  box-shadow: var(--shadow-hard-sm);
}

.map__directions {
  position: absolute;
  right: 22px;
  bottom: -16px;
  transform: rotate(2deg);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cream);
  box-shadow: 3px 4px 0 rgba(40, 25, 15, 0.35);
  transition: background-color var(--ease), transform var(--ease);
}

@media (hover: hover) {
  .map__directions:hover {
    background: var(--orange);
    color: var(--cream);
    transform: rotate(2deg) translate(1px, 2px);
  }
}

.map__directions:active {
  background: var(--orange);
  color: var(--cream);
  transform: rotate(2deg) translate(2px, 3px);
}

/* 11  Menu — hero & category sections ===================================== */

.menu-hero__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(126px, 18vw, 180px) var(--pad-x) clamp(56px, 8vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.menu-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 15vw, 160px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--sage);
  text-shadow: 5px 6px 0 rgba(40, 25, 15, 0.28);
}

.menu-hero .lead {
  font-size: clamp(16px, 2vw, 19px);
}

.menu-section .section__inner {
  padding-block: var(--section-y-tight);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.menu-section__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.menu-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}

.menu-section__title--orange {
  color: var(--orange);
  text-shadow: 4px 5px 0 rgba(40, 25, 15, 0.2);
}

.menu-section__title--sage {
  color: var(--sage);
  text-shadow: 4px 5px 0 rgba(40, 25, 15, 0.28);
}

/* Auto-fitting track grid. `auto-fit` collapses the tracks a short section
   doesn't use, so three cards spread across the row instead of huddling on the
   left — while the fixed track ceiling stops them ballooning on a wide screen.
   The `min(100%, …)` floor is what keeps a single card from overflowing a
   narrow phone. Row counts stay correct whatever the menu ends up holding. */
/* The track max MUST stay `1fr`. Give it a definite length instead and the
   auto-fit repetition count is computed from that length, which collapses the
   phone layout to a single column. Card width is capped by bounding the grid
   itself — 1020px is three ~320px cards plus their gaps. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(16px, 2vw, 26px);
  max-width: 1020px;
}

.card-grid--tight {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

/* `auto-fit` spreads a short category across the full row, which turns a
   two-item section into two 500px slabs. Cap the container instead of the
   track — capping the track would break the column count (see above). */
.card-grid--cap1 { max-width: 240px; }
.card-grid--cap2 { max-width: 506px; }

/* One category: heading plus its grid. The wrapper is what the search hides,
   so a heading can never be left stranded above zero results. */
.menu-cat {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-cat[hidden] { display: none; }

/* `[hidden]` alone loses to the cards' own `display`, so search could never
   hide them. */
.product[hidden],
.size-card[hidden] { display: none; }

/* Anchors must clear both the fixed bar and the sticky category bar */
.menu-section,
.menu-cat {
  scroll-margin-top: calc(var(--nav-h) + var(--catnav-h, 0px) + 10px);
}

/* Flavour strip — these are choices, not separate purchases, so they carry no
   price and no add button. Round crops keep them clearly distinct from the
   product cards below. */
.flavors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  gap: clamp(14px, 2vw, 26px);
  max-width: 1020px;
}

.flavor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.flavor__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  background: var(--photo-bg);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
}

.flavor__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flavor__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.15;
}

.flavor__kcal {
  font-size: 12px;
  font-weight: 700;
  color: rgba(40, 25, 15, 0.62);
}

/* Pill callout for a rule that applies to a whole category */
.menu-note {
  align-self: flex-start;
  background: var(--sage);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-1deg);
}

/* Priced by size rather than by item — no photo, since every size is served
   in the same cup and a picture would say nothing. */
.size-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card-white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-hard-sm);
}

.size-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

/* 11b  Category bar & search ============================================== */

/* Sticky jump bar. It must sit OUTSIDE any `.section` — those set
   `overflow: hidden` for the grain layer, and an overflow-hidden ancestor
   silently kills `position: sticky`. `--nav-h` is measured at runtime because
   the fixed bar shrinks when it solidifies. */
.catnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 6px 18px rgba(40, 25, 15, 0.1);
}

.catnav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--pad-x);
}

.catnav__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.catnav__list::-webkit-scrollbar { display: none; }

.catnav__link {
  display: block;
  white-space: nowrap;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--card-white);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  transition: background-color var(--ease), color var(--ease);
}

@media (hover: hover) {
  .catnav__link:hover { background: var(--sage); color: var(--ink); }
}

.catnav__link.is-active {
  background: var(--orange);
  color: var(--cream);
  box-shadow: var(--shadow-press-sm);
}

/* Search ---------------------------------------------------------------- */

.menu-search {
  position: relative;
  flex: 0 1 260px;
  margin-left: auto;
}

.menu-search__input {
  width: 100%;
  padding: 11px 38px 11px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--card-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.menu-search__input::placeholder { color: rgba(40, 25, 15, 0.5); }

.menu-search__clear {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.menu-search.is-filled .menu-search__clear { display: inline-flex; }

.menu-empty {
  padding: 40px 0;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
}

.menu-empty[hidden] { display: none; }

/* A section with every category filtered out collapses entirely */
.menu-section[hidden] { display: none; }

@media (max-width: 720px) {
  .catnav__inner {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
    padding: 10px var(--pad-x) 8px;
  }
  .menu-search { flex: 1 1 auto; margin-left: 0; }
}

/* 12  Product cards ======================================================= */

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card-white);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) {
  .product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }
}

/* Square, so the media scales with the track instead of staying a fixed slab */
.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 13px;
  overflow: hidden;
  background: var(--photo-bg);
}

.product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__img--art {
  object-fit: contain;
  padding: 12px;
}

.product__badge {
  position: absolute;
  top: 9px;
  left: 10px;
  background: var(--card-white);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 3px 8px rgba(40, 25, 15, 0.14);
}

.product__fav {
  position: absolute;
  top: 9px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(40, 25, 15, 0.14);
  transition: color var(--ease), transform var(--ease);
}

@media (hover: hover) {
  .product__fav:hover { color: var(--orange); }
}

.product__fav[aria-pressed="true"] {
  color: var(--orange);
}

.product__fav[aria-pressed="true"] .product__fav-on { display: inline; }
.product__fav[aria-pressed="true"] .product__fav-off { display: none; }
.product__fav-on { display: none; }

.product__fav.is-bumping { transform: scale(1.25); }

.product__body {
  /* grows to fill the card so the price row's `margin-top: auto` has slack to
     work with — otherwise a two-line name drops the price out of alignment
     with the cards beside it */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 2px 4px 4px;
}

.product__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.15;
  /* two-word names must not push the price row around */
  text-wrap: pretty;
}

/* Calories, protein, or the ingredient list for the Fuel Bar blends */
.product__note {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(40, 25, 15, 0.6);
}

.product__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

/* Two-up cards on a 390px phone leave ~89px beside the add button, and
   "500,000 LBP" does not fit there at 17px — it used to drop the currency onto
   its own line. Scale with the viewport and never break the pair apart. */
.product__price {
  font-weight: 800;
  font-size: clamp(14px, 0.9vw + 11.5px, 17px);
  white-space: nowrap;
}

/* Currency rides along with every printed price, one size down so the number
   still reads first. Price parsing strips non-digits, so this is inert to it. */
.price-cur {
  margin-left: 3px;
  font-size: 0.72em;
  font-weight: 700;
  opacity: 0.6;
}

.product__add {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(40, 25, 15, 0.2);
  transition: background-color var(--ease), transform var(--ease);
}

@media (hover: hover) {
  .product__add:hover { background: var(--orange); }
}

.product__add:active { transform: scale(0.92); }

.product__add.is-bumping { background: var(--orange); }

/* Toppings run a size down */
.product--sm {
  gap: 9px;
  border-radius: 16px;
  padding: 9px;
  box-shadow: 0 9px 20px rgba(40, 25, 15, 0.08);
}

@media (hover: hover) {
  .product--sm:hover { box-shadow: 0 15px 28px rgba(40, 25, 15, 0.13); }
}

.product--sm .product__media { border-radius: 12px; }
.product--sm .product__fav { width: 30px; height: 30px; top: 8px; right: 9px; font-size: 15px; }
.product--sm .product__body { gap: 8px; }
.product--sm .product__title { font-size: 15px; }
.product--sm .product__row { gap: 8px; }
.product--sm .product__price { font-size: clamp(13px, 0.8vw + 11px, 15px); }
.product--sm .product__add { width: 38px; height: 38px; border-radius: 10px; font-size: 19px; }

/* The heart and the plus stay visually small so they don't fight the artwork,
   but an invisible 44px pad centred on each gives thumbs something to hit. */
.product__fav::after,
.product__add::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
}


/* 13  Footer ============================================================== */

.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.site-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 52px) var(--pad-x) clamp(28px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.site-footer__logo {
  width: min(280px, 70vw);
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer__note {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream-70);
}

/* Keep the floating order button from sitting on top of the footer CTA */
body.has-cart .site-footer__inner {
  padding-bottom: calc(clamp(28px, 3.5vw, 36px) + 72px);
}

.footer-marquee {
  overflow: hidden;
  background: var(--orange);
  border-top: 3px solid var(--sage);
  padding: 12px 0;
}

.footer-marquee .marquee__track {
  animation-duration: var(--marquee-dur-footer);
}

.footer-marquee .marquee__item {
  font-size: 18px;
  color: var(--sage);
}

/* 14  Cart ================================================================ */

.cart-fab {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: calc(clamp(14px, 3vw, 26px) + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--sage);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: transform var(--ease), box-shadow var(--ease), opacity 200ms ease;
}

.cart-fab[hidden] { display: none; }

@media (hover: hover) {
  .cart-fab:hover {
    transform: translate(3px, 4px);
    box-shadow: var(--shadow-press);
  }
}

.cart-fab:active {
  transform: translate(4px, 5px);
  box-shadow: var(--shadow-press-sm);
}

.cart-fab.is-bumping { animation: bm-pop 380ms ease; }

@keyframes bm-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12) rotate(-3deg); }
  100% { transform: scale(1); }
}

.cart-fab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 800;
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
}

.cart-panel[hidden] { display: none; }

.cart-panel__scrim {
  position: absolute;
  inset: 0;
  background: rgba(40, 25, 15, 0.55);
  cursor: pointer;
  animation: bm-fade 180ms ease both;
}

.cart-panel__inner {
  position: relative;
  justify-self: end;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--cream);
  border-left: 3px solid var(--ink);
  animation: bm-slide-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--pad-x);
  border-bottom: 3px solid var(--ink);
}

.cart-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 1;
}

.cart-panel__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px var(--pad-x);
}

.cart-panel__empty {
  padding: 32px 0;
  text-align: center;
  font-weight: 700;
  color: rgba(40, 25, 15, 0.65);
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-card);
}

.cart-item__text { flex: 1 1 auto; min-width: 0; }

.cart-item__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 700;
  color: rgba(40, 25, 15, 0.7);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--cream);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--ease);
}

@media (hover: hover) {
  .qty-btn:hover { background: var(--sage); }
}

.qty-btn:active { background: var(--sage); }

.cart-item__count {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
}

.cart-panel__foot {
  border-top: 3px solid var(--ink);
  padding: 18px var(--pad-x) calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--cream);
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.cart-total__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
}

.cart-panel__send { --rot: -1deg; width: 100%; }

.cart-panel__clear {
  align-self: center;
  background: none;
  border: 0;
  padding: 4px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(40, 25, 15, 0.65);
  text-decoration: underline;
  cursor: pointer;
}

@media (hover: hover) {
  .cart-panel__clear:hover { color: var(--orange); }
}

.cart-panel__hint {
  font-size: 13px;
  font-weight: 600;
  color: rgba(40, 25, 15, 0.62);
  text-align: center;
}

/* Flavour chooser ------------------------------------------------------- */

/* A bottom sheet on phones, a centred dialog from 640px up. Froyo is priced by
   size but chosen by flavour, so the size card opens this instead of adding
   straight to the cart. */
.chooser {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: end center;
}

.chooser[hidden] { display: none; }

.chooser__scrim {
  position: absolute;
  inset: 0;
  background: rgba(40, 25, 15, 0.55);
  cursor: pointer;
  animation: bm-fade 180ms ease both;
}

.chooser__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  max-height: min(88vh, 760px);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  animation: bm-sheet-up 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bm-sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (min-width: 640px) {
  .chooser { place-items: center; }
  .chooser__panel {
    border-bottom: 3px solid var(--ink);
    border-radius: 26px;
    box-shadow: 10px 12px 0 rgba(40, 25, 15, 0.35);
  }
}

.chooser__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px var(--pad-x) 14px;
  border-bottom: 3px solid var(--ink);
}

.chooser__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}

.chooser__sub {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(40, 25, 15, 0.65);
}

.chooser__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chooser__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  background: var(--card-white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  cursor: pointer;
  transition: background-color var(--ease);
}

.chooser__opt.is-on { background: var(--sage); }

.chooser__opt input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: var(--ink);
  cursor: pointer;
}

.chooser__opt-img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  object-fit: cover;
  background: var(--photo-bg);
}

.chooser__opt-text { display: flex; flex-direction: column; }
.chooser__opt-name { font-weight: 800; font-size: 15px; line-height: 1.2; }
.chooser__opt-kcal { font-size: 12px; font-weight: 700; color: rgba(40, 25, 15, 0.6); }

.chooser__mix {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-top: 4px;
  padding: 10px 14px;
  background: var(--peach);
  border: 3px dashed var(--ink);
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.chooser__mix input { width: 22px; height: 22px; accent-color: var(--ink); cursor: pointer; }
.chooser__mix-fee { margin-left: auto; font-size: 14px; font-weight: 800; white-space: nowrap; }

.chooser__foot {
  border-top: 3px solid var(--ink);
  padding: 16px var(--pad-x) calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cream);
}

.chooser__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 800;
  font-size: 17px;
}

.chooser__total-value { font-family: var(--font-display); font-weight: 400; font-size: 24px; }

.chooser__hint {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  min-height: 1.2em;
}

.chooser__add { width: 100%; --rot: -1deg; }

/* Order notes ----------------------------------------------------------- */

.cart-notes { display: flex; flex-direction: column; gap: 6px; }

.cart-notes__label { font-weight: 800; font-size: 14px; }

.cart-notes__field {
  width: 100%;
  min-height: 68px;
  resize: vertical;
  padding: 10px 12px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--card-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}

.cart-notes__field::placeholder { color: rgba(40, 25, 15, 0.45); }

/* Toast ---------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(clamp(14px, 3vw, 26px) + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  transform: translate(-50%, 140%);
  max-width: min(340px, calc(100vw - 32px));
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(40, 25, 15, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Keep the toast clear of the cart button on narrow screens */
@media (max-width: 520px) {
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* 15  Motion & print ====================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .marquee__track { animation: none; }

  .carousel__viewport { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Hover feedback stays, it just stops sliding */
  .btn:hover,
  .btn:focus-visible {
    transform: rotate(var(--rot));
    box-shadow: var(--shadow-press);
  }
}

@media print {
  .nav,
  .drawer,
  .cart-fab,
  .cart-panel,
  .toast,
  .marquee,
  .footer-marquee,
  .carousel__nav,
  .grain::after {
    display: none !important;
  }

  body { background: #fff; }
  .section { break-inside: avoid; }
}
