:root {
  --canvas: oklch(97.8% 0.014 88);
  --surface: oklch(99.1% 0.009 88);
  --ink: oklch(24% 0.035 48);
  --ink-soft: oklch(44% 0.025 55);
  --ink-muted: oklch(61% 0.018 70);
  --line: oklch(84% 0.025 77 / 0.75);
  --line-soft: oklch(89% 0.018 82 / 0.68);
  --yolk: oklch(84% 0.17 87);
  --yolk-light: oklch(93% 0.09 90);
  --salsa: oklch(55% 0.175 35);
  --salsa-dark: oklch(41% 0.12 31);
  --leaf: oklch(48% 0.11 134);
  --coffee: oklch(29% 0.052 50);
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --header-height: 94px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--salsa) 50%, transparent);
  outline-offset: 4px;
}

button { cursor: pointer; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 64px);
  background: color-mix(in oklch, var(--canvas) 94%, transparent);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(15px);
}

.address-button {
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 48px;
  padding: 4px 0;
  border: 0;
  background: transparent;
}

.eyebrow, .kicker, .block-label {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.eyebrow { color: var(--ink-muted); }

.address-line { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; }
.address-line svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.address-line .chevron { width: 14px; }

.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Calistoga", serif;
  font-size: 1.34rem;
  line-height: 1;
}

.brand i { color: var(--salsa); font-size: .95rem; font-style: italic; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.profile-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--salsa-dark);
  background: var(--yolk-light);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform 170ms var(--ease-out), background 170ms ease;
}
.profile-button:hover { transform: translateY(-2px); background: var(--yolk); }

.cart-button {
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  transition: transform 160ms var(--ease-out), background 180ms var(--ease-out);
}
.cart-button:hover { background: var(--yolk-light); }
.cart-button:active { transform: scale(.92); }
.cart-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-button.bump { animation: cart-bump 430ms var(--ease-out); }

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--canvas);
  border-radius: 999px;
  color: var(--surface);
  background: var(--salsa);
  font-size: .66rem;
  font-weight: 800;
  transform: scale(0);
  transition: transform 260ms var(--ease-out);
}
.cart-count.is-visible { transform: scale(1); }

.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(26px, 5vw, 56px);
  padding: 24px 20px 0;
}

.catalog-tab {
  position: relative;
  min-height: 44px;
  padding: 0 2px 9px;
  border: 0;
  color: var(--ink-muted);
  background: transparent;
  font-weight: 700;
}
.catalog-tab::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 100%; height: 2px;
  background: var(--salsa);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 250ms var(--ease-out);
}
.catalog-tab.is-active { color: var(--ink); }
.catalog-tab.is-active::after { transform: translateX(-50%) scaleX(1); }
.weekend-dot { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--salsa); vertical-align: top; }

.hero {
  min-height: calc(100svh - var(--header-height) - 68px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(24px, 5vh, 56px) clamp(20px, 6vw, 88px) 120px;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.35fr);
  grid-template-rows: 1fr auto auto;
  align-items: center;
  column-gap: clamp(20px, 3vw, 56px);
}

.hero-copy { align-self: center; z-index: 2; }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--salsa-dark); }
.kicker > span { width: 22px; height: 2px; background: var(--salsa); }

h1, h2, h3, p { margin-top: 0; }
h1, .drinks-heading h2, .success-sun + .kicker + h2 {
  margin-bottom: 20px;
  font-family: "Calistoga", serif;
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(3.35rem, 6.4vw, 7.2rem); }
h1 em, .drinks-heading h2 em { color: var(--salsa); font-weight: 400; }
.hero-note { max-width: 31ch; color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }

.carousel-shell { position: relative; min-width: 0; align-self: center; }
.dish-stage { position: relative; min-height: clamp(390px, 48vw, 610px); display: grid; place-items: center; outline: none; overflow: visible; }
.sun-shape {
  position: absolute;
  width: min(84%, 510px);
  aspect-ratio: 1;
  border-radius: 46% 54% 58% 42% / 48% 43% 57% 52%;
  background: var(--yolk-light);
  transform: rotate(-6deg);
  transition: background 500ms var(--ease-out), border-radius 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.sun-shape::before, .sun-shape::after, .sun-shape span::before, .sun-shape span::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--salsa);
  opacity: .55;
}
.sun-shape::before { top: 12%; left: 7%; }
.sun-shape::after { right: 7%; bottom: 18%; width: 5px; height: 5px; }
.sun-shape span::before { right: 3%; top: 26%; width: 7px; height: 7px; }
.sun-shape span::after { left: 15%; bottom: 5%; width: 4px; height: 4px; }

.dish-stage[data-index="1"] .sun-shape { background: oklch(91% 0.06 35); border-radius: 57% 43% 44% 56% / 52% 59% 41% 48%; transform: rotate(7deg); }
.dish-stage[data-index="2"] .sun-shape { background: oklch(91% 0.065 130); border-radius: 43% 57% 54% 46% / 62% 47% 53% 38%; transform: rotate(-2deg); }

.dish-image-button { position: relative; z-index: 2; width: min(100%, 590px); padding: 0; border: 0; background: transparent; }
.dish-image-button img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 28px 22px oklch(35% 0.04 55 / .18)); transform: rotate(-2deg) translateY(0); transition: opacity 200ms ease, transform 500ms var(--ease-out); animation: dish-float 4.8s ease-in-out infinite; }
.dish-image-button:hover img { transform: scale(1.035) rotate(0deg); }
.dish-image-button img.is-changing { opacity: 0; transform: translateX(32px) rotate(3deg) scale(.95); }

.dish-number { position: absolute; top: 10%; left: 5%; z-index: 3; font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.ingredient { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .68rem; font-weight: 700; }
.ingredient::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--salsa); }
.ingredient-one { right: 1%; top: 18%; }
.ingredient-two { left: 0; bottom: 15%; }

.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in oklch, var(--surface) 90%, transparent);
  transform: translateY(-50%);
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out);
}
.carousel-arrow:hover { background: var(--surface); transform: translateY(-50%) scale(1.06); }
.carousel-arrow svg, .back-button svg, .checkout-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow-left { left: -8px; }
.arrow-right { right: -8px; }

.dish-info { grid-column: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; width: min(92%, 680px); margin: -20px auto 0; padding-top: 18px; border-top: 1px solid var(--line); }
.dish-info h2 { margin: 0 0 7px; font-family: "Calistoga", serif; font-size: clamp(1.65rem, 2.5vw, 2.45rem); font-weight: 400; }
.dish-info p { max-width: 52ch; margin: 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.6; }
.dish-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.price { font-family: "Calistoga", serif; font-size: 1.3rem; }
.add-round { width: 48px; height: 48px; border: 0; border-radius: 50%; color: var(--surface); background: var(--ink); font-size: 1.5rem; transition: transform 170ms var(--ease-out), background 170ms ease; }
.add-round:hover { background: var(--salsa); transform: rotate(8deg); }

.carousel-dots { grid-column: 2; display: flex; justify-content: center; gap: 8px; padding-top: 22px; }
.carousel-dot { width: 28px; height: 12px; padding: 0; border: 0; background: transparent; }
.carousel-dot::after { content: ""; display: block; width: 6px; height: 6px; margin: auto; border-radius: 50%; background: var(--line); transition: width 250ms var(--ease-out), border-radius 250ms var(--ease-out), background 250ms ease; }
.carousel-dot.is-active::after { width: 24px; border-radius: 8px; background: var(--salsa); }
.swipe-hint { grid-column: 2; margin: 12px 0 0; text-align: center; color: var(--ink-muted); font-size: .66rem; letter-spacing: .03em; }
.swipe-hint span { margin: 0 4px; }

.bread-view { min-height: calc(100svh - var(--header-height) - 68px); max-width: 1280px; margin: 0 auto; padding: clamp(50px, 7vw, 100px) clamp(24px, 7vw, 96px) 120px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(20px, 5vw, 80px); }
.bread-copy h1 { font-size: clamp(3.5rem, 6vw, 6.8rem); }
.bread-copy > p { max-width: 44ch; color: var(--ink-soft); line-height: 1.7; }
.bread-status { display: flex; align-items: center; gap: 10px; margin: 30px 0; font-weight: 700; }
.bread-status span { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 6px color-mix(in oklch, var(--leaf) 14%, transparent); }
.bread-visual { position: relative; }
.bread-visual::before { content: ""; position: absolute; inset: 8% 2% 2% 9%; border-radius: 44% 56% 62% 38% / 54% 40% 60% 46%; background: oklch(91% .045 67); transform: rotate(5deg); }
.bread-visual img { position: relative; display: block; width: 100%; filter: drop-shadow(0 28px 24px oklch(30% .04 55 / .19)); animation: dish-float 5.4s ease-in-out infinite; }
.bread-stamp { position: absolute; z-index: 3; top: 2%; right: 3%; display: grid; place-items: center; width: 90px; height: 90px; border: 1px solid var(--salsa); border-radius: 50%; color: var(--salsa-dark); font-family: "Calistoga", serif; font-size: 1.45rem; line-height: .85; text-align: center; transform: rotate(8deg); }
.bread-stamp small { font: 800 .48rem/1 "Manrope", sans-serif; letter-spacing: .1em; }

.primary-button { min-height: 52px; padding: 0 25px; border: 0; border-radius: 999px; color: var(--surface); background: var(--ink); font-weight: 800; transition: transform 170ms var(--ease-out), background 170ms ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--salsa-dark); }

.drinks-section { position: relative; min-height: 92svh; padding: clamp(64px, 9vw, 120px) clamp(24px, 7vw, 96px) 150px; color: var(--surface); background: var(--coffee); overflow: hidden; }
.drinks-section::after { content: ""; position: absolute; right: -150px; bottom: -260px; width: 600px; height: 600px; border: 1px solid oklch(88% .05 82 / .15); border-radius: 50%; box-shadow: 0 0 0 80px oklch(88% .05 82 / .035), 0 0 0 160px oklch(88% .05 82 / .025); }
.drinks-heading { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto 50px; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.kicker.light { color: var(--yolk); }
.kicker.light > span { background: var(--yolk); }
.drinks-heading h2 { margin: 0; font-size: clamp(3.3rem, 7vw, 7.4rem); }
.drinks-heading > p { max-width: 28ch; margin-bottom: 10px; color: oklch(83% .018 70); line-height: 1.65; }
.drinks-grid { position: relative; z-index: 1; max-width: 1160px; margin: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 20px; }
.drink-card { min-height: 380px; padding: 22px; display: grid; grid-template-rows: 1fr auto; border: 1px solid oklch(92% .02 80 / .13); overflow: hidden; }
.drink-card-dark { background: oklch(35% .065 50); }
.drink-card-light { background: var(--yolk); color: var(--ink); }
.drink-art { position: relative; display: grid; place-items: center; min-height: 250px; }
.drink-info { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.drink-info h3 { margin: 0 0 7px; font-family: "Calistoga", serif; font-size: 1.7rem; font-weight: 400; }
.drink-info p { margin: 0; opacity: .7; font-size: .8rem; }
.drink-add { min-width: 92px; min-height: 48px; border: 1px solid currentColor; border-radius: 999px; color: inherit; background: transparent; font-weight: 800; }
.drink-add span { margin-left: 8px; font-size: 1.2rem; }
.drink-add:hover { color: var(--coffee); background: var(--surface); border-color: var(--surface); }
.juice .drink-add:hover { color: var(--surface); background: var(--ink); border-color: var(--ink); }

.bottom-nav { position: fixed; z-index: 14; left: 50%; bottom: 18px; width: min(430px, calc(100% - 28px)); min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in oklch, var(--surface) 94%, transparent); box-shadow: 0 12px 32px oklch(30% .025 55 / .13); backdrop-filter: blur(18px); transform: translateX(-50%); transition: transform 400ms var(--ease-out), opacity 250ms ease; }
.bottom-nav.is-hidden { transform: translate(-50%, 120px); opacity: 0; }
.bottom-nav-item { min-height: 52px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; color: var(--ink-muted); background: transparent; font-size: .72rem; font-weight: 700; }
.bottom-nav-item.is-current { color: var(--ink); background: var(--yolk-light); }
.nav-icon { position: relative; width: 22px; height: 22px; }
.egg-icon { border-radius: 48% 52% 40% 60% / 53% 43% 57% 47%; background: var(--surface); box-shadow: 0 1px 5px oklch(30% .02 50 / .12); transform: rotate(-12deg); }
.egg-icon i { position: absolute; width: 9px; height: 9px; left: 7px; top: 7px; border-radius: 50%; background: var(--yolk); }
.scroll-cue { min-width: 120px; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; color: var(--surface); background: var(--ink); font-size: .76rem; font-weight: 800; }
.scroll-cue svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 220ms var(--ease-out); }
.scroll-cue:hover svg { transform: translateY(3px); }

.sheet-backdrop { position: fixed; z-index: 29; inset: 0; background: oklch(20% .03 45 / .36); opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
.sheet-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.customizer { position: fixed; z-index: 30; left: 50%; bottom: 0; width: min(680px, 100%); max-height: calc(100svh - 36px); padding: 28px clamp(22px, 5vw, 42px) 26px; border-radius: 36px 36px 0 0; background: var(--surface); box-shadow: 0 -18px 50px oklch(25% .03 45 / .16); overflow-y: auto; transform: translate(-50%, 110%); transition: transform 420ms var(--ease-out); }
.customizer.is-open { transform: translate(-50%, 0); }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.close-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.customizer > .close-button { position: absolute; right: 24px; top: 24px; }
.customizer-product { display: flex; align-items: center; gap: 16px; padding-right: 54px; }
.customizer-thumb { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--yolk-light); }
.customizer-thumb img { width: 98px; filter: drop-shadow(0 8px 8px oklch(30% .03 50 / .16)); }
.customizer-product p, .cart-header p { margin: 0 0 5px; color: var(--salsa); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.customizer-product h2, .cart-header h2 { margin: 0; font-family: "Calistoga", serif; font-size: 1.8rem; font-weight: 400; }
.option-group { padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.option-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.option-heading h3 { margin: 0; font-size: .92rem; }
.option-heading span { color: var(--ink-muted); font-size: .72rem; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .78rem; }
.choice.is-selected { color: var(--surface); background: var(--ink); border-color: var(--ink); }
.extra-row { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: .82rem; cursor: pointer; }
.extra-row input { width: 18px; height: 18px; margin: 0 9px 0 0; accent-color: var(--salsa); vertical-align: middle; }
.extra-row strong { font-size: .76rem; }
.customizer-footer { position: sticky; bottom: -26px; margin: 24px -4px -26px; padding: 18px 4px 24px; display: grid; grid-template-columns: auto 1fr; gap: 12px; background: linear-gradient(to bottom, transparent, var(--surface) 18%); }
.quantity-control { min-height: 54px; display: grid; grid-template-columns: 44px 34px 44px; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.quantity-control button { height: 100%; border: 0; background: transparent; font-size: 1.15rem; }
.quantity-control span { text-align: center; font-weight: 800; }
.add-to-cart { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border: 0; border-radius: 999px; color: var(--surface); background: var(--salsa); font-weight: 800; }
.add-to-cart:hover { background: var(--salsa-dark); }

.cart-cloud { position: fixed; z-index: 31; top: 76px; right: clamp(16px, 3vw, 44px); width: min(470px, calc(100% - 32px)); min-height: 380px; max-height: calc(100svh - 100px); opacity: 0; pointer-events: none; transform: translateY(-15px) scale(.94); transform-origin: top right; transition: opacity 200ms ease, transform 340ms var(--ease-out); }
.cart-cloud::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 42px 28px 48px 34px / 35px 44px 34px 50px; background: var(--surface); box-shadow: 0 22px 70px oklch(24% .03 48 / .22); }
.cart-cloud.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.cloud-lobe { position: absolute; z-index: -1; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.cloud-lobe.one { width: 130px; height: 100px; left: -23px; top: 43px; }
.cloud-lobe.two { width: 120px; height: 95px; right: -14px; top: 85px; }
.cloud-lobe.three { width: 100px; height: 80px; left: 60px; bottom: -12px; }
.cart-cloud-content { position: relative; z-index: 2; max-height: calc(100svh - 100px); padding: 30px; overflow-y: auto; }
.cart-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.cart-empty { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty > span { margin-bottom: 13px; font-size: 2rem; filter: grayscale(.2); }
.cart-empty h3 { margin: 0 0 6px; font-family: "Calistoga", serif; font-size: 1.2rem; font-weight: 400; }
.cart-empty p { margin: 0; color: var(--ink-muted); font-size: .76rem; }
.cart-items { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.cart-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 13px; align-items: center; padding: 9px 0 16px; border-bottom: 1px solid var(--line-soft); }
.cart-item-image { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--yolk-light); overflow: hidden; }
.cart-item-image img { width: 76px; }
.cart-item h3 { margin: 0 0 4px; font-size: .8rem; }
.cart-item p { margin: 0 0 7px; color: var(--ink-muted); font-size: .65rem; line-height: 1.45; }
.cart-item-controls { display: flex; align-items: center; gap: 9px; }
.cart-item-controls button { padding: 0; border: 0; color: var(--salsa-dark); background: transparent; font-size: .67rem; font-weight: 800; }
.mini-qty { display: flex; align-items: center; gap: 7px; }
.mini-qty button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.mini-qty span { min-width: 10px; text-align: center; font-size: .73rem; font-weight: 800; }
.cart-item-price { align-self: start; padding-top: 6px; font-size: .78rem; font-weight: 800; }
.subtotal, .summary-line, .summary-total { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.subtotal { padding: 10px 0 18px; }
.subtotal span { color: var(--ink-soft); font-size: .78rem; }
.subtotal strong { font-family: "Calistoga", serif; font-size: 1.2rem; }
.checkout-button { width: 100%; min-height: 54px; padding: 0 22px; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 999px; color: var(--surface); background: var(--ink); font-weight: 800; }

.toast { position: fixed; z-index: 50; top: 102px; left: 50%; min-height: 48px; padding: 7px 18px 7px 8px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 12px 26px oklch(25% .03 45 / .14); opacity: 0; pointer-events: none; transform: translate(-50%, -16px); transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--surface); background: var(--leaf); font-weight: 800; }
.toast p { margin: 0; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.flying-item { position: fixed; z-index: 60; width: 100px; height: 100px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 10px 8px oklch(25% .03 45 / .23)); transition: transform 650ms var(--ease-out), opacity 520ms ease; }

.checkout-view { min-height: calc(100svh - var(--header-height)); max-width: 1280px; margin: auto; padding: 36px clamp(24px, 6vw, 86px) 70px; }
.back-button { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font-size: .78rem; font-weight: 800; }
.checkout-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 8vw, 110px); padding-top: clamp(24px, 5vw, 62px); }
.checkout-main h1 { font-size: clamp(3.2rem, 5.8vw, 6.3rem); }
.checkout-block { display: grid; grid-template-columns: 45px 1fr auto; gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yolk-light); font: 400 1rem "Calistoga", serif; }
.block-label { margin: 0 0 6px; color: var(--ink-muted); }
.checkout-block h2 { margin: 0 0 5px; font-size: .92rem; }
.checkout-block p:not(.block-label) { margin: 0; color: var(--ink-soft); font-size: .73rem; }
.checkout-block button { min-height: 44px; border: 0; color: var(--salsa-dark); background: transparent; font-size: .72rem; font-weight: 800; }
.checkout-notes { padding: 30px 0 4px; }
.notes-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.notes-heading h2 { margin: 0; font: 400 1.45rem/1.1 "Calistoga", serif; }
.field-label { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 9px; font-size: .78rem; font-weight: 800; }
.field-label span { color: var(--ink-muted); font-size: .66rem; font-weight: 600; }
textarea, .form-field input {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  color: var(--ink);
  background: oklch(95.6% .013 85);
  outline: none;
  transition: border-color 170ms ease, background 170ms ease;
}
textarea { min-height: 92px; margin: 0 0 22px; padding: 14px 16px; resize: vertical; font-size: .82rem; line-height: 1.55; }
textarea::placeholder, .form-field input::placeholder { color: var(--ink-muted); }
textarea:focus, .form-field input:focus { border-color: var(--salsa); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in oklch, var(--salsa) 13%, transparent); }
.order-summary { align-self: start; position: sticky; top: 125px; padding: 30px; border: 1px solid var(--line); border-radius: 28px 44px 31px 39px / 35px 29px 44px 33px; background: var(--surface); }
.checkout-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.checkout-item h3 { margin: 0 0 5px; font-size: .8rem; }
.checkout-item p { margin: 0; color: var(--ink-muted); font-size: .68rem; }
.checkout-item strong { font-size: .78rem; }
.summary-line { padding: 18px 0; color: var(--ink-soft); font-size: .78rem; }
.summary-total { padding: 20px 0 24px; border-top: 1px solid var(--ink); font-family: "Calistoga", serif; font-size: 1.45rem; }
.summary-total strong { font-size: 1.7rem; }
.confirm-button { width: 100%; }
.secure-note { margin: 12px 0 0; color: var(--ink-muted); font-size: .62rem; line-height: 1.5; text-align: center; }

.account-view { min-height: calc(100svh - var(--header-height)); max-width: 1280px; margin: auto; padding: 30px clamp(24px, 6vw, 84px) 90px; }
.account-layout { min-width: 0; display: grid; grid-template-columns: 280px 1fr; gap: clamp(50px, 8vw, 110px); padding-top: 42px; }
.account-sidebar { align-self: start; position: sticky; top: 126px; min-width: 0; max-width: 100%; }
.account-person { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.account-avatar { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--salsa-dark); background: var(--yolk); font-family: "Calistoga", serif; font-size: 1.05rem; }
.account-person .block-label { margin-bottom: 5px; }
.account-person h2 { margin: 0; font: 400 1.15rem/1.1 "Calistoga", serif; }
.account-nav { width: 100%; min-width: 0; display: flex; flex-direction: column; padding-top: 18px; }
.account-nav-button { min-height: 54px; padding: 0 4px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); background: transparent; text-align: left; font-size: .78rem; font-weight: 700; }
.account-nav-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.account-nav-button > span { opacity: 0; transform: translateX(-5px); transition: opacity 180ms ease, transform 180ms var(--ease-out); }
.account-nav-button.is-active { color: var(--salsa-dark); }
.account-nav-button.is-active > span, .account-nav-button:hover > span { opacity: 1; transform: translateX(0); }
.account-content { min-width: 0; }
.account-panel { animation: panel-in 350ms var(--ease-out); }
.account-panel h1 { margin-bottom: 18px; font-size: clamp(3.4rem, 6vw, 6.7rem); }
.panel-intro { max-width: 52ch; margin-bottom: 34px; color: var(--ink-soft); font-size: .88rem; line-height: 1.7; }
.account-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; max-width: 700px; }
.form-field { display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); font-size: .7rem; font-weight: 800; }
.form-field input { height: 52px; padding: 0 15px; font-size: .82rem; font-weight: 500; }
.form-field.full, .form-submit, .form-section-title, .form-hint { grid-column: 1 / -1; }
.form-submit { justify-self: start; margin-top: 8px; min-width: 170px; }
.panel-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.outline-button { min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.outline-button:hover { border-color: var(--ink); background: var(--surface); }
.saved-list { display: flex; flex-direction: column; gap: 12px; max-width: 740px; }
.saved-item { position: relative; min-height: 118px; padding: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; border: 1px solid var(--line-soft); border-radius: 22px; background: color-mix(in oklch, var(--surface) 68%, transparent); transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease-out); }
.saved-item:hover { transform: translateY(-2px); background: var(--surface); }
.saved-item.is-default { border-color: color-mix(in oklch, var(--salsa) 45%, var(--line)); background: var(--surface); }
.saved-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--salsa-dark); background: var(--yolk-light); }
.saved-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.saved-item-copy h2 { margin: 0 0 5px; font-size: .9rem; }
.saved-item-copy p { margin: 0 0 4px; color: var(--ink-soft); font-size: .75rem; }
.saved-item-copy small { color: var(--ink-muted); font-size: .65rem; }
.default-badge { display: inline-flex; align-items: center; min-height: 24px; margin-left: 7px; padding: 0 8px; border-radius: 999px; color: var(--salsa-dark); background: var(--yolk-light); font-size: .55rem; font-weight: 800; letter-spacing: .06em; vertical-align: middle; }
.saved-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.saved-actions button { min-height: 34px; padding: 0; border: 0; color: var(--salsa-dark); background: transparent; font-size: .67rem; font-weight: 800; }
.saved-actions button[data-action="delete"] { color: var(--ink-muted); }
.add-form { margin-top: 26px; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.form-section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.form-section-title h2 { margin: 0; font: 400 1.45rem/1 "Calistoga", serif; }
.form-section-title button { min-height: 40px; border: 0; color: var(--salsa-dark); background: transparent; font-size: .7rem; font-weight: 800; }
.form-hint { margin: -5px 0 0; color: var(--ink-muted); font-size: .63rem; }
.empty-saved { padding: 34px 0; color: var(--ink-muted); font-size: .8rem; }

.auth-gate {
  position: fixed;
  z-index: 75;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr);
  background: var(--canvas);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}
.auth-gate.is-open { opacity: 1; pointer-events: auto; }
.auth-close { position: absolute; z-index: 3; top: 26px; right: 28px; background: color-mix(in oklch, var(--surface) 84%, transparent); }
.auth-visual { position: relative; display: grid; place-items: center; min-width: 0; background: var(--yolk-light); overflow: hidden; }
.auth-visual::before, .auth-visual::after { content: ""; position: absolute; border: 1px solid color-mix(in oklch, var(--salsa) 20%, transparent); border-radius: 50%; }
.auth-visual::before { width: 540px; height: 540px; }
.auth-visual::after { width: 680px; height: 680px; }
.auth-sun { position: absolute; width: min(68%, 430px); aspect-ratio: 1; border-radius: 44% 56% 58% 42% / 54% 41% 59% 46%; background: var(--yolk); transform: rotate(-8deg); }
.auth-visual img { position: relative; z-index: 1; width: min(90%, 620px); filter: drop-shadow(0 28px 28px oklch(32% .04 50 / .2)); transform: rotate(-4deg); }
.auth-mark { position: absolute; z-index: 2; top: 28px; left: 34px; display: flex; align-items: baseline; gap: 6px; font: 400 1.25rem/1 "Calistoga", serif; }
.auth-mark i { color: var(--salsa); font-size: .9rem; }
.auth-caption { position: absolute; z-index: 2; left: 34px; bottom: 28px; max-width: 28ch; margin: 0; color: var(--ink-soft); font-size: .74rem; line-height: 1.6; }
.auth-content { align-self: center; width: min(100%, 640px); padding: 70px clamp(38px, 7vw, 110px); }
.auth-content h2, .transfer-ticket h2 { margin: 0 0 20px; font: 400 clamp(3.2rem, 5.8vw, 6.3rem)/.96 "Calistoga", serif; letter-spacing: -.04em; }
.auth-intro { max-width: 48ch; margin-bottom: 30px; color: var(--ink-soft); font-size: .86rem; line-height: 1.7; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-field input { height: 56px; }
.auth-submit { width: 100%; min-height: 58px; margin-top: 5px; display: flex; justify-content: space-between; align-items: center; }
.auth-submit span { font-size: 1.2rem; }
.no-email-note { display: flex; align-items: center; gap: 8px; margin: 17px 0 0; color: var(--ink-muted); font-size: .68rem; }
.no-email-note span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--surface); background: var(--leaf); font-size: .65rem; }

.transfer-pending { position: fixed; z-index: 76; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--coffee); opacity: 0; pointer-events: none; overflow-y: auto; transition: opacity 280ms ease; }
.transfer-pending.is-open { opacity: 1; pointer-events: auto; }
.transfer-ticket { position: relative; width: min(100%, 620px); padding: clamp(30px, 5vw, 54px); border-radius: 42px 31px 47px 35px / 34px 46px 32px 44px; background: var(--canvas); box-shadow: 0 30px 80px oklch(12% .03 48 / .3); }
.transfer-ticket::before, .transfer-ticket::after { content: ""; position: absolute; top: 48%; width: 28px; height: 28px; border-radius: 50%; background: var(--coffee); }
.transfer-ticket::before { left: -14px; }
.transfer-ticket::after { right: -14px; }
.pending-symbol { float: right; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 44% 56% 52% 48% / 56% 42% 58% 44%; color: var(--coffee); background: var(--yolk); font-size: 1.7rem; transform: rotate(8deg); }
.transfer-ticket h2 { clear: both; font-size: clamp(3rem, 6vw, 5.2rem); }
.transfer-ticket > p:not(.kicker):not(.demo-note) { max-width: 48ch; color: var(--ink-soft); font-size: .82rem; line-height: 1.65; }
.bank-details { margin: 26px 0; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bank-details div { min-height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.bank-details dt { color: var(--ink-muted); font-size: .68rem; font-weight: 700; }
.bank-details dd { margin: 0; text-align: right; font-size: .76rem; font-weight: 800; }
.bank-details button { min-height: 32px; margin-left: 8px; padding: 0; border: 0; color: var(--salsa-dark); background: transparent; font-size: .63rem; font-weight: 800; }
.whatsapp-button { min-height: 56px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 999px; color: var(--surface); background: var(--leaf); text-decoration: none; font-size: .78rem; font-weight: 800; }
.whatsapp-button:hover { background: color-mix(in oklch, var(--leaf) 84%, var(--ink)); }
.text-button { width: 100%; min-height: 46px; margin-top: 10px; border: 0; background: transparent; color: var(--ink-soft); font-size: .7rem; font-weight: 800; }
.demo-note { margin: 2px 0 0; color: var(--ink-muted); font-size: .58rem; line-height: 1.5; text-align: center; }

@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Aviso de que todavía no se toman pedidos.
   Reusa el mismo ticket que la pantalla de transferencia —misma familia visual,
   mismos recortes—, pero en salsa en vez de yema: no es un pago pendiente, es
   una puerta cerrada. */
.checkout-unavailable { position: fixed; z-index: 76; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--coffee); opacity: 0; pointer-events: none; overflow-y: auto; transition: opacity 280ms ease; }
.checkout-unavailable.is-open { opacity: 1; pointer-events: auto; }
.unavailable-ticket { position: relative; width: min(100%, 620px); padding: clamp(30px, 5vw, 54px); border-radius: 42px 31px 47px 35px / 34px 46px 32px 44px; background: var(--canvas); box-shadow: 0 30px 80px oklch(12% .03 48 / .3); text-align: left; }
.unavailable-ticket::before, .unavailable-ticket::after { content: ""; position: absolute; top: 48%; width: 28px; height: 28px; border-radius: 50%; background: var(--coffee); }
.unavailable-ticket::before { left: -14px; }
.unavailable-ticket::after { right: -14px; }
.unavailable-ticket .pending-symbol { color: var(--surface); background: var(--salsa); }
.unavailable-ticket h2 { clear: both; margin: 10px 0 14px; font: 400 clamp(2.4rem, 5vw, 4rem)/.96 "Calistoga", serif; letter-spacing: -.04em; }
.unavailable-ticket > p:not(.kicker):not(.demo-note) { max-width: 46ch; margin: 0 0 22px; color: var(--ink-soft); font-size: .82rem; line-height: 1.65; }
.unavailable-ticket .primary-button { width: 100%; }

.order-success { position: fixed; z-index: 70; inset: 0; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--surface); background: var(--coffee); text-align: center; opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
.order-success.is-open { opacity: 1; pointer-events: auto; }
.success-sun { width: 110px; height: 110px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 45% 55% 51% 49% / 55% 44% 56% 45%; color: var(--coffee); background: var(--yolk); font-size: 2.4rem; transform: scale(.5) rotate(-15deg); transition: transform 600ms var(--ease-out); }
.order-success.is-open .success-sun { transform: scale(1) rotate(5deg); }
.order-success .kicker { color: var(--yolk); }
.order-success .kicker > span { background: var(--yolk); }
.order-success h2 { margin: 0 0 20px; font-size: clamp(3rem, 7vw, 6.5rem); }
.order-success > p:not(.kicker) { color: oklch(86% .015 80); }
.order-success .primary-button { margin-top: 18px; color: var(--ink); background: var(--yolk); }

@keyframes dish-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(0deg); } }

@media (max-width: 900px) {
  :root { --header-height: 82px; }
  .topbar { grid-template-columns: 1fr auto; padding: 0 20px; }
  .brand { position: absolute; left: 50%; transform: translateX(-50%); font-size: 1.12rem; }
  .brand span:last-child { display: none; }
  .address-detail { display: none; }
  .header-actions { gap: 6px; }
  .profile-button { width: 40px; height: 40px; }
  .hero { min-height: auto; padding: 22px 20px 126px; grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto; }
  .hero-copy { padding-top: 8px; }
  .hero-copy h1 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .hero-note { display: none; }
  .carousel-shell { width: min(100%, 620px); margin: -8px auto 0; }
  .dish-stage { min-height: clamp(350px, 104vw, 510px); }
  .dish-image-button { width: min(108%, 530px); }
  .dish-number { top: 7%; left: 1%; }
  .ingredient-one { right: 0; top: 12%; }
  .ingredient-two { left: 1%; bottom: 10%; }
  .carousel-arrow { top: 55%; width: 44px; height: 44px; }
  .arrow-left { left: -5px; }
  .arrow-right { right: -5px; }
  .dish-info { grid-column: 1; width: 100%; margin-top: 0; }
  .dish-info p { max-width: 34ch; }
  .carousel-dots, .swipe-hint { grid-column: 1; }
  .bread-view { grid-template-columns: 1fr; min-height: auto; padding: 38px 24px 130px; }
  .bread-copy h1 { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .bread-visual { grid-row: 1; max-width: 540px; margin: auto; }
  .drinks-heading { align-items: start; flex-direction: column; }
  .drinks-grid { grid-template-columns: 1fr; }
  .drink-card { min-height: 340px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 24px; }
  .account-sidebar { position: static; }
  .account-nav { flex-direction: row; gap: 8px; padding-top: 16px; overflow-x: auto; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav-button { flex: 0 0 auto; min-width: max-content; min-height: 44px; padding: 0 14px; display: flex; border: 1px solid var(--line); border-radius: 999px; }
  .account-nav-button svg, .account-nav-button > span { display: none; }
  .account-nav-button.is-active { color: var(--surface); background: var(--ink); border-color: var(--ink); }
  .auth-gate { grid-template-columns: 1fr; overflow-y: auto; }
  .auth-visual { min-height: 280px; }
  .auth-visual img { width: min(68%, 420px); }
  .auth-content { width: 100%; padding: 50px clamp(24px, 8vw, 56px) 70px; }
}

@media (max-width: 560px) {
  .address-button { max-width: 132px; }
  .eyebrow { font-size: .55rem; }
  .address-line { font-size: .69rem; }
  .cart-button { width: 44px; height: 44px; }
  .profile-button { width: 40px; height: 40px; font-size: .6rem; }
  .catalog-tabs { padding-top: 13px; }
  .hero { padding-top: 13px; }
  .kicker { margin-bottom: 11px; font-size: .58rem; }
  .hero-copy h1 { margin-bottom: 3px; font-size: clamp(2.75rem, 13.8vw, 4.2rem); }
  .dish-stage { min-height: clamp(300px, 94vw, 410px); }
  .sun-shape { width: 83%; }
  .dish-image-button { width: 106%; }
  .ingredient { display: none; }
  .carousel-arrow { top: 54%; width: 42px; height: 42px; }
  .dish-info { padding-top: 14px; }
  .dish-info h2 { font-size: 1.46rem; }
  .dish-info p { max-width: 27ch; font-size: .7rem; }
  .dish-actions { gap: 9px; }
  .price { font-size: 1.12rem; }
  .add-round { width: 44px; height: 44px; }
  .carousel-dots { padding-top: 16px; }
  .swipe-hint { display: none; }
  .bottom-nav { min-height: 64px; bottom: 10px; padding: 6px 8px; }
  .bottom-nav-item { min-height: 50px; padding: 0 9px; font-size: .63rem; }
  .scroll-cue { min-width: 104px; min-height: 50px; font-size: .7rem; }
  .nav-icon { display: none; }
  .drinks-section { padding-inline: 18px; }
  .drinks-heading h2 { font-size: 3.2rem; }
  .drink-card { min-height: 320px; }
  .drink-art { min-height: 215px; }
  .cart-cloud { top: 68px; right: 10px; width: calc(100% - 20px); max-height: calc(100svh - 82px); }
  .cart-cloud-content { max-height: calc(100svh - 82px); padding: 25px 22px; }
  .cloud-lobe { display: none; }
  .cart-item { grid-template-columns: 54px 1fr auto; gap: 10px; }
  .cart-item-image { width: 54px; height: 54px; }
  .customizer { border-radius: 28px 28px 0 0; padding-inline: 20px; }
  .customizer-product h2 { font-size: 1.45rem; }
  .customizer-thumb { width: 64px; height: 64px; }
  .customizer-thumb img { width: 83px; }
  .customizer-footer { grid-template-columns: 118px 1fr; }
  .quantity-control { grid-template-columns: 39px 28px 39px; }
  .add-to-cart { padding-inline: 17px; }
  .checkout-view { padding: 24px 20px 55px; }
  .checkout-main h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .checkout-block { grid-template-columns: 38px 1fr; }
  .checkout-block > button { grid-column: 2; justify-self: start; padding: 0; }
  .order-summary { padding: 24px 20px; }
  .account-view { padding: 22px 20px 60px; }
  .account-person { padding-bottom: 16px; }
  .account-person h2 { font-size: 1rem; }
  .account-panel h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .panel-heading-row { align-items: flex-start; }
  .panel-heading-row .outline-button { margin-top: 25px; }
  .account-form { grid-template-columns: 1fr; }
  .form-field.full, .form-submit, .form-section-title, .form-hint { grid-column: 1; }
  .saved-item { grid-template-columns: auto 1fr; padding: 18px 16px; }
  .saved-actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .add-form { padding: 22px 18px; }
  .auth-gate { display: block; }
  .auth-close { top: 18px; right: 18px; }
  .auth-visual { min-height: 238px; }
  .auth-mark { top: 22px; left: 22px; font-size: 1rem; }
  .auth-caption { display: none; }
  .auth-sun { width: 54%; }
  .auth-visual img { width: 76%; margin-top: 35px; }
  .auth-content { padding: 38px 20px 55px; }
  .auth-content h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .auth-intro { font-size: .78rem; }
  .transfer-pending { align-items: start; padding: 14px; }
  .transfer-ticket { margin: 16px 0; padding: 28px 22px; border-radius: 30px 24px 34px 27px; }
  .pending-symbol { width: 60px; height: 60px; }
  .transfer-ticket h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
}

@media (min-width: 1100px) {
  .customizer { left: auto; right: 0; top: 0; bottom: 0; width: 480px; max-height: none; border-radius: 36px 0 0 36px; transform: translateX(110%); }
  .customizer.is-open { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---- Estados del catálogo ---- */
/* La carta llega por red: mientras tanto hay que decir algo, y si falla hay que
   poder reintentar. Lo que no se hace nunca es caer al catálogo de demostración:
   enseñar platillos que no existen es peor que no enseñar ninguno. */
.catalog-state { min-height: 46vh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 40px 24px; text-align: center; }
.catalog-state p { max-width: 42ch; margin: 0; color: var(--ink-soft); font-size: .85rem; line-height: 1.6; }
.catalog-spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--salsa); border-radius: 50%; animation: catalog-spin 760ms linear infinite; }
@keyframes catalog-spin { to { transform: rotate(360deg); } }
.catalog-error h2 { margin: 0; font: 400 clamp(2.2rem, 5vw, 3.6rem)/.98 "Calistoga", serif; letter-spacing: -.035em; }
.catalog-error .primary-button { margin-top: 8px; }
/* Aviso dentro del personalizador cuando la selección todavía no cuadra. */
.customizer-warning { margin: 0 0 12px; padding: .6rem .75rem; border-radius: 12px; color: var(--salsa); background: oklch(94% .035 35); font-size: .74rem; font-weight: 700; line-height: 1.45; }
/* Revalidación del carrito: qué cambió desde que se agregó. */
.cart-notice { display: grid; gap: 6px; margin: 0 0 12px; padding: .7rem .8rem; border: 1px solid var(--salsa); border-radius: 14px; background: oklch(96% .02 35); }
.cart-notice strong { color: var(--salsa); font-size: .76rem; }
.cart-notice ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .72rem; line-height: 1.5; }
.cart-item.is-stale { opacity: .55; }

/* Aviso dentro del resumen: mínimo no alcanzado, pausa, fuera de horario. */
.summary-warning { margin: 4px 0 0; padding: .55rem .7rem; border-radius: 12px; color: var(--salsa); background: oklch(96% .02 35); font-size: .72rem; font-weight: 700; line-height: 1.45; }
/* Aviso del estado del negocio, encima de la carta. */
.service-banner { display: flex; align-items: flex-start; gap: .55rem; margin: 0 auto 8px; padding: .7rem .9rem; border: 1px solid var(--salsa); border-radius: 16px; color: var(--salsa); background: oklch(96% .02 35); font-size: .78rem; font-weight: 700; line-height: 1.45; }
/* Cuando el aviso es informativo y no un problema, baja el tono. */
.service-banner.is-open-today { border-color: var(--line); color: var(--ink-soft); background: var(--canvas); font-weight: 600; }

/* ---- Catálogo completo: N bebidas y N panes ---- */
/* Las fotos se encuadran igual en todas las tarjetas: `contain` para que ninguna
   se deforme y ninguna se recorte a medias. */
.drink-card { min-height: 340px; border-radius: var(--radius-lg, 24px); }
.drink-image { width: 100%; height: 100%; max-height: 230px; object-fit: contain; }
.bread-image { position: relative; display: block; width: 100%; filter: drop-shadow(0 28px 24px oklch(30% .04 55 / .19)); animation: dish-float 5.4s ease-in-out infinite; }

/* Respaldo cuando no hay foto, o cuando la que hay no carga. Una marca sobria
   con la inicial: no dice nada falso sobre lo que se vende. */
.product-fallback { display: grid; place-items: center; width: clamp(5rem, 9vw, 7.5rem); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 46% 54% 52% 48% / 54% 46% 56% 44%; font-family: "Calistoga", serif; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; opacity: .55; }
.bread-image-fallback { width: clamp(9rem, 22vw, 16rem); color: var(--ink-soft); opacity: .38; margin-inline: auto; }

.drinks-empty { position: relative; z-index: 1; max-width: 1160px; margin: auto; padding: 48px 0; opacity: .75; text-align: center; }

/* Controles del carrusel de pan.
   Con clases propias: `.carousel-arrow` y `.carousel-dots` del carrusel de
   desayunos van posicionadas en absoluto dentro de su escenario, y reusarlas
   aquí las sacaba de sitio en las dos pantallas. */
.bread-controls { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.bread-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 1.3rem; line-height: 1; }
.bread-arrow:hover { border-color: var(--ink); background: var(--surface); }
.bread-dots { display: flex; gap: 8px; }
.bread-dots .carousel-dot { position: relative; }
.bread-status.is-unavailable span { background: var(--salsa); box-shadow: 0 0 0 6px color-mix(in oklch, var(--salsa) 14%, transparent); }

@media (max-width: 60rem) {
  .bread-view { grid-template-columns: 1fr; }
}

/* Categorías que no son desayunos, masa madre ni bebidas.
   Misma rejilla compacta que las bebidas, sobre el fondo claro de la carta: una
   categoría nueva tiene dónde salir sin inventar una pantalla. */
.extra-catalog { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 7vw, 90px) clamp(24px, 7vw, 96px) 120px; }
.extra-catalog .drinks-heading { margin-bottom: 28px; }
.extra-catalog .drink-card { color: var(--ink); background: var(--canvas); border-color: var(--line); }
.extra-catalog .drink-add:hover { color: var(--surface); background: var(--ink); border-color: var(--ink); }
