/* Tiramisú Lab — "Cucharada"
   White like their Instagram, cocoa type, the bowls are the stars.
   The ordering / checkout / booking markup and its JS are unchanged:
   this file only restyles the class names that code already uses. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --mascarpone: #f7efe3;
  --mascarpone-2: #efe1cd;
  --cocoa: #3b2418;
  --espresso: #1e120c;
  --cacao: #74462c;
  --bizcocho: #e7c48e;
  --line: rgba(59, 36, 24, 0.14);
  --ok: #2f6b3a;
  --warn: #8a3b12;

  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --r-lg: 32px;
  --r-md: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* month calendar (booking) picks these up */
  --cal-accent: var(--cocoa);
  --cal-ink: var(--cocoa);
  --cal-muted: var(--cacao);
  --cal-line: var(--line);
  --cal-hover: var(--mascarpone);
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--white);
  color: var(--cocoa);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .footer :focus-visible { outline-color: var(--bizcocho); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--cocoa); color: var(--white); padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.hooks { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* placeholders for the founder to fill in */
mark.ph { background: #fff3c4; color: #5a3d00; padding: 0 .2em; border-radius: 4px; font: inherit; font-size: .92em; font-weight: 600; }

/* ── Type ─────────────────────────────────────────────── */
.display, h1, h2, .card-name {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .92;
  text-transform: lowercase;
}
h2 { font-size: clamp(2.6rem, 9vw, 5.2rem); }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--cacao); max-width: 34em; }
.muted { color: var(--cacao); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  border-radius: 999px; border: 2px solid var(--cocoa);
  background: var(--cocoa); color: var(--white);
  font-family: var(--text); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(30, 18, 12, .55); }
.btn:active { transform: translateY(0); }
.btn-line { background: transparent; color: var(--cocoa); }
.btn-line:hover { background: var(--cocoa); color: var(--white); }
.btn-big { min-height: 60px; padding: 16px 40px; font-size: 1.1875rem; }

/* ── Header ───────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; text-transform: lowercase; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a.nl { display: none; }
.site-nav a.nl, .site-nav .nav-cta {
  text-decoration: none; font-weight: 600; font-size: 1rem;
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px;
  transition: background-color .2s;
}
.site-nav a.nl:hover { background: var(--mascarpone); }
.site-nav .nav-cta { border: 2px solid var(--cocoa); }
.site-nav .nav-cta:hover { background: var(--mascarpone); }
.site-nav .btn { min-height: 44px; padding: 10px 20px; font-size: 1rem; }
@media (max-width: 899px) { .site-nav a.nl { display: none; } }
@media (min-width: 900px) {
  .site-nav { gap: 10px; }
  .site-nav a.nl { display: inline-flex; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding: 20px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 8px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9375rem; font-weight: 600; color: var(--cocoa);
  background: var(--mascarpone); border-radius: 999px; padding: 8px 16px 8px 12px;
  margin-bottom: 18px; min-height: 40px;
}
.status:empty { visibility: hidden; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cacao); flex: none; }
.status.is-open .dot { background: #2f8a45; box-shadow: 0 0 0 4px rgba(47, 138, 69, .18); }
.status.is-soon .dot { background: #c27a1a; }
.hero h1 { font-size: clamp(4.4rem, 22vw, 10rem); margin-bottom: 4px; }
.hero h1 .l2 { display: block; padding-left: .55em; }
.hero .lede { margin: 18px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 14px; font-size: .9375rem; color: var(--cacao); min-height: 3em; }

/* existing order buttons (ids/onclicks unchanged) */
#hero-order-btns { flex-wrap: wrap; gap: 12px; align-items: center; }
#hero-order-btns .btn-outline { background: transparent; color: var(--cocoa); }
#hero-order-btns .btn-outline:hover { background: var(--cocoa); color: var(--white); }
.hero-fallback { display: inline-flex; }
.hero-fallback[hidden] { display: none; }

/* promo pills (codeless promos, from the DB) */
.promo-banner { display: none; flex-direction: column; gap: 8px; margin: 0 0 18px; max-width: 420px; }
.promo-banner.show { display: flex; }
.promo-pill { background: var(--mascarpone); border: 1.5px dashed var(--cacao); border-radius: 14px; padding: 10px 16px; font-size: .9375rem; }
.promo-pill strong { color: var(--cocoa); }

/* the wheel: top-down bowls turning around the logo */
.wheel-stage { position: relative; width: min(100%, 360px); margin: 6px auto 0; aspect-ratio: 1; }
.wheel { position: absolute; inset: 0; }
/* the shop's video, in a disc behind the cups (does not turn with them) */
.wheel-film { position: absolute; inset: 16%; border-radius: 50%; overflow: hidden; background: var(--mascarpone); }
.wheel-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wheel::before {
  content: ""; position: absolute; inset: 16%; border-radius: 50%;
  border: 2px dashed var(--bizcocho);
}
.wheel .bowl {
  position: absolute; width: 36%; aspect-ratio: 1; border-radius: 50%;
  filter: drop-shadow(0 14px 18px rgba(59, 36, 24, .18));
}
.wheel .bowl img { width: 100%; height: 100%; }
.wheel .b1 { left: 32%; top: -2%; }
.wheel .b2 { left: 66%; top: 32%; }
.wheel .b3 { left: 32%; top: 66%; }
.wheel .b4 { left: -2%; top: 32%; }
/* Phones: bowls straight after the status line, button before the long text */
@media (max-width: 899px) {
  .hero { padding-top: 12px; }
  .hero-copy { display: contents; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 0; }
  .status { order: 1; margin-bottom: 4px; }
  .wheel-stage { order: 2; width: min(78vw, 330px); justify-self: center; margin: 4px auto 6px; }
  .hero h1 { order: 3; font-size: clamp(3.6rem, 17vw, 6rem); }
  .hero h1 .l2 { display: inline; padding-left: 0; }
  .promo-banner { order: 4; }
  #hero-order-btns, .hero-fallback { order: 5; margin-top: 14px; }
  .hero-note { order: 6; margin-top: 10px; }
  .hero .lede { order: 7; margin: 18px 0 0; }
}
@media (min-width: 900px) {
  .hero { padding: 36px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
  .wheel-stage { width: min(100%, 600px); margin: 0 -60px 0 auto; }
  .hero h1 { font-size: clamp(6rem, 11vw, 10.5rem); }
}

/* ── Sections ─────────────────────────────────────────── */
.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; }
.sec-head .lede { margin: 0; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 40px; margin-bottom: 56px; }
}
.on-cream { background: var(--mascarpone); }
.on-dark { background: var(--espresso); color: var(--mascarpone); }
.on-dark .lede, .on-dark .muted { color: #e5d3bb; }

/* ── Flavours (inside the existing #pedir section) ────── */
.pedir-section { background: var(--mascarpone); padding: 72px 0 96px; scroll-margin-top: 72px; }
@media (min-width: 900px) { .pedir-section { padding: 112px 0 128px; } }
.pedir-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.pedir-head { text-align: center; margin-bottom: 36px; }
.pedir-head .eyebrow { display: block; font-weight: 700; color: var(--cacao); margin-bottom: 10px; }
.pedir-head h2 { font-size: clamp(2.4rem, 7vw, 4rem); }
.pedir-head p { color: var(--cacao); margin-top: 12px; }

/* cards are on: hide the plain list the order code renders (kept in the DOM) */
.cards-on .pedir-head, .cards-on #menu-filter-bar, .cards-on #pedir-menu { display: none !important; }
/* checkout / payment / confirmation open: cards out, the order heading back */
.cards-on.is-checkout .pedir-head { display: block !important; }
.cards-on.is-checkout .flavours, .cards-on.is-checkout .flavours-head, .cards-on.is-checkout .flavours-note { display: none; }

.flavours-head { margin-bottom: 36px; }
.flavours { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .flavours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .flavours { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 1240px) { .flavours { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } .card-name { font-size: 2.3rem; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-lg);
  padding: 22px 22px 22px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(59, 36, 24, .45); }
.card-photo {
  position: relative; margin: 0 auto; width: 88%;
  border-bottom: 2px solid var(--mascarpone-2);
}
.card-photo img { width: 100%; transition: transform .6s var(--ease); transform-origin: 50% 100%; }
.card:hover .card-photo img { transform: scale(1.035); }
.card-photo.ph-photo {
  aspect-ratio: 1.34; border-radius: 999px 999px 0 0;
  background: repeating-linear-gradient(-45deg, var(--mascarpone), var(--mascarpone) 10px, var(--white) 10px, var(--white) 20px);
  display: grid; place-items: center; text-align: center; padding: 0 20px;
}
.card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: .9375rem; color: var(--cacao); font-weight: 600; }
.card-name { font-size: 2.6rem; margin: 2px 0 10px; }
.card-desc { color: var(--cocoa); font-size: 1rem; line-height: 1.5; }
.tag { align-self: flex-start; margin-top: 12px; font-size: .875rem; font-weight: 700; border: 1.5px solid var(--cocoa); border-radius: 999px; padding: 4px 12px; }
.allergens { margin-top: 12px; font-size: .9375rem; color: var(--cacao); }
.allergens summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; }
.allergens summary::-webkit-details-marker { display: none; }
.allergens summary::after { content: "+"; margin-left: 8px; font-weight: 700; }
.allergens[open] summary::after { content: "−"; }
.allergens p { padding-bottom: 6px; }

.sizes { margin-top: auto; padding-top: 16px; display: grid; gap: 10px; }
.size {
  display: flex; align-items: center; gap: 12px;
  background: var(--mascarpone); border-radius: 18px; padding: 8px 8px 8px 16px; min-height: 60px;
}
.size-name { font-weight: 600; }
.size-price { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.size.is-out { opacity: .6; }
.size.is-out .size-price { font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cocoa); color: var(--white); font-size: 1.375rem; font-weight: 700; line-height: 1;
  display: grid; place-items: center; transition: transform .15s, background-color .15s;
}
.stepper button:hover:not(:disabled) { transform: scale(1.06); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .minus { background: var(--white); color: var(--cocoa); box-shadow: inset 0 0 0 2px var(--cocoa); }
.stepper .n { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.size:not(.has-qty) .minus, .size:not(.has-qty) .n { display: none; }
.size.has-qty { background: var(--mascarpone-2); }
.size .max { font-size: .8125rem; color: var(--cacao); width: 100%; }
.price-wait { color: var(--cacao); font-size: .9375rem; min-height: 130px; }
.flavours-note { margin-top: 28px; text-align: center; color: var(--cacao); font-size: .9375rem; }

/* the order code's own list, only seen if the cards can't take over (paused / browse-only) */
.min-order-note { text-align: center; color: var(--cacao); margin-bottom: 20px; }
#pedir-mode-tabs { margin-bottom: 28px; }
.mode-tab {
  background: var(--white); border: 2px solid var(--line); border-radius: 999px;
  padding: 10px 22px; min-height: 44px; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.mode-tab:hover { border-color: var(--cocoa); }
.mode-tab-active { background: var(--cocoa); border-color: var(--cocoa); color: var(--white); }
.menu-filter-bar { margin-bottom: 20px; }
.menu-search { width: 100%; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); margin-bottom: 10px; }
.menu-cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-cat-chip { white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font-weight: 600; cursor: pointer; }
.menu-cat-chip.active { background: var(--cocoa); color: var(--white); border-color: var(--cocoa); }
#pedir-menu { max-width: 720px; margin: 0 auto; }
.menu-category { margin-bottom: 28px; }
.menu-category-banner-wrap { position: relative; margin-bottom: 12px; border-radius: var(--r-md); overflow: hidden; }
.menu-category-banner { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.menu-category-banner-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(to top, rgba(30, 18, 12, .75), rgba(30, 18, 12, 0)); display: flex; justify-content: space-between; cursor: pointer; color: var(--white); font-weight: 700; }
.menu-category-title { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; padding: 0 0 12px; font-weight: 700; cursor: pointer; text-align: left; }
.menu-cat-chevron { transition: transform .2s; }
.menu-category.collapsed .menu-cat-chevron { transform: rotate(-90deg); }
.menu-category.collapsed .menu-grid { display: none; }
.menu-grid { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-md); padding: 0 16px; }
.menu-product { padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu-product:last-child { border-bottom: 0; }
.menu-product.unavailable { opacity: .45; pointer-events: none; }
.menu-product-row { display: flex; gap: 14px; align-items: center; }
.menu-product-info { flex: 1; min-width: 0; }
.menu-product-img-wrap { position: relative; flex-shrink: 0; }
.menu-product-img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.menu-product-name { font-weight: 700; }
.menu-product-desc { font-size: .9375rem; color: var(--cacao); }
.menu-product-price { font-weight: 700; }
.qty-stepper { position: absolute; right: -6px; bottom: -6px; display: flex; align-items: center; gap: 4px; background: var(--white); border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); padding: 3px; }
.qty-stepper .qty-minus, .qty-stepper .qty-num { display: none; }
.qty-stepper.has-qty .qty-minus, .qty-stepper.has-qty .qty-num { display: flex; }
.qty-stepper-static { position: static; box-shadow: none; padding: 0; }
.qty-stepper-static .qty-minus, .qty-stepper-static .qty-num { display: flex; }
.qty-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cocoa); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qty-btn.qty-minus { background: var(--white); color: var(--cocoa); border: 2px solid var(--line); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-num { min-width: 18px; justify-content: center; font-weight: 700; }
.stock-lbl { font-size: .8125rem; color: var(--cacao); display: none; }
.stock-lbl.visible { display: block; }
.has-options-badge, .bogo-badge { display: inline-block; font-size: .75rem; font-weight: 700; border: 1.5px solid var(--cocoa); border-radius: 8px; padding: 2px 8px; margin: 4px 4px 0 0; }

/* ── Options sheet (unchanged behaviour) ── */
.options-overlay { display: none; position: fixed; inset: 0; background: rgba(30, 18, 12, .55); z-index: 300; align-items: flex-end; justify-content: center; }
.options-overlay.open { display: flex; }
.options-sheet { background: var(--white); border-radius: 28px 28px 0 0; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; }
.options-handle { width: 44px; height: 5px; background: var(--mascarpone-2); border-radius: 3px; margin: 14px auto 20px; }
.options-item-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; padding: 0 20px 4px; }
.options-base-price { font-size: .9375rem; color: var(--cacao); padding: 0 20px; }
.options-group { padding: 16px 20px 0; }
.options-group-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.options-group-name { font-weight: 700; }
.options-badge { font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 8px; border: 1.5px solid var(--line); }
.options-badge-req { border-color: var(--cocoa); }
.options-choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--mascarpone); border-radius: 14px; margin-bottom: 6px; border: 2px solid transparent; cursor: pointer; }
.options-choice.selected { border-color: var(--cocoa); }
.options-choice-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cacao); display: flex; align-items: center; justify-content: center; flex: none; }
.options-choice-dot.multi { border-radius: 6px; }
.options-choice-fill { width: 10px; height: 10px; border-radius: 50%; background: var(--cocoa); display: none; }
.options-choice-fill.multi { border-radius: 3px; }
.options-choice.selected .options-choice-fill { display: block; }
.options-choice-name { flex: 1; font-weight: 600; }
.options-choice-mod { font-weight: 700; white-space: nowrap; }
.options-choice-mod.free { font-weight: 400; color: var(--cacao); }
.options-footer { padding: 16px 20px 28px; position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--line); margin-top: 16px; }
.options-add-btn { width: 100%; background: var(--cocoa); color: var(--white); border: 0; border-radius: 999px; padding: 16px; font-weight: 700; cursor: pointer; }
.options-add-btn:disabled { background: var(--mascarpone-2); color: var(--cacao); cursor: not-allowed; }

/* ── Cart bar ── */
.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100;
  display: none; align-items: center; gap: 14px;
  background: var(--cocoa); color: var(--white);
  border-radius: 999px; padding: 10px 10px 10px 22px;
  box-shadow: 0 18px 40px -16px rgba(30, 18, 12, .7);
  max-width: 560px; margin: 0 auto;
}
.cart-bar.visible { display: flex; animation: rise .35s var(--ease); }
.cart-bar-info { font-size: .9375rem; }
.cart-bar-total { margin-left: auto; font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.cart-bar-btn { background: var(--bizcocho); color: var(--espresso); border: 0; border-radius: 999px; padding: 12px 22px; min-height: 48px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cart-bar-btn:hover { background: #f0d3a5; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Checkout, payment, confirmation ── */
.checkout-panel { display: none; max-width: 600px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); padding: 28px 22px; }
.checkout-panel.visible { display: block; }
@media (min-width: 720px) { .checkout-panel { padding: 40px; } }
.checkout-title { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.035em; text-transform: lowercase; margin-bottom: 18px; }
.checkout-summary { margin-bottom: 18px; }
.checkout-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.checkout-summary-row:last-child { border-bottom: 0; font-weight: 700; font-size: 1.125rem; }
.checkout-fields { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.checkout-field { display: flex; flex-direction: column; gap: 6px; }
.checkout-field label { font-size: .9375rem; font-weight: 700; }
.checkout-field input, .checkout-field textarea, .checkout-field select, #p-schedule-time {
  font-size: 1rem; padding: 13px 14px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--white); outline: none; resize: none; transition: border-color .15s; width: 100%;
}
.checkout-field input:focus, .checkout-field textarea:focus, #p-schedule-time:focus { border-color: var(--cocoa); }
.checkout-field input::placeholder, .checkout-field textarea::placeholder { color: #8b6a58; }
.checkout-submit { width: 100%; min-height: 56px; background: var(--cocoa); color: var(--white); border: 0; border-radius: 999px; font-weight: 700; font-size: 1.0625rem; cursor: pointer; margin-top: 8px; transition: transform .2s; }
.checkout-submit:hover:not(:disabled) { transform: translateY(-1px); }
.checkout-submit:disabled { opacity: .55; cursor: default; }
.checkout-back { display: block; text-align: center; margin-top: 12px; padding: 10px; font-weight: 600; color: var(--cacao); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.checkout-msg { text-align: center; margin-top: 10px; font-size: .9375rem; }
.checkout-msg.error { color: var(--warn); font-weight: 700; }
.terms-disclaimer a { color: inherit; }
.closed-today { background: var(--mascarpone); border-radius: 18px; padding: 16px 18px; }
.closed-today p { font-weight: 600; margin-bottom: 8px; }
.closed-today .hours-list { font-size: .9375rem; }

.order-card-field, .card-field { padding: 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); margin-bottom: 10px; }
.order-payment-intro, .payment-intro { color: var(--cacao); margin-bottom: 14px; }
.order-payment-back, .payment-back { display: block; width: 100%; background: none; border: 0; color: var(--cacao); font-weight: 600; padding: 14px 0 0; cursor: pointer; text-decoration: underline; }

.order-confirmation { display: none; text-align: center; max-width: 560px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); padding: 36px 22px; }
.order-confirmation.visible { display: block; }
.conf-icon { font-size: 52px; margin-bottom: 8px; }
.conf-title { font-family: var(--display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; text-transform: lowercase; margin-bottom: 10px; }
.conf-code { display: inline-block; background: var(--cocoa); color: var(--white); font-size: 1.8rem; font-weight: 800; letter-spacing: .12em; padding: 10px 24px; border-radius: 16px; margin: 12px 0; }
.conf-eta { color: var(--cacao); margin-bottom: 18px; }
.conf-items { background: var(--mascarpone); border-radius: 18px; padding: 16px 20px; text-align: left; margin-bottom: 18px; }
.conf-items.just-updated { animation: flash 1.1s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 3px rgba(47, 107, 58, .5); } 100% { box-shadow: 0 0 0 3px rgba(47, 107, 58, 0); } }
.conf-items-title { font-weight: 700; margin-bottom: 8px; }
.conf-item-row { display: flex; justify-content: space-between; padding: 4px 0; }
.conf-total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.conf-note { font-size: .9375rem; color: var(--cacao); }
.conf-new-order-btn, .conf-add-items-btn { background: var(--white); border: 2px solid var(--cocoa); border-radius: 999px; padding: 12px 26px; min-height: 48px; font-weight: 700; cursor: pointer; margin-top: 18px; }
.conf-add-items-btn { display: block; width: 100%; margin: 0 0 14px; background: var(--mascarpone); }
.add-items-panel { background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px 90px; text-align: left; margin-bottom: 14px; }
.add-items-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.add-items-row:last-child { border-bottom: 0; }
.add-items-name { font-weight: 600; }
.add-items-price { font-size: .875rem; color: var(--cacao); }
.add-items-stepper { display: flex; align-items: center; gap: 10px; }
.add-items-stepbtn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); font-weight: 700; cursor: pointer; }
.add-items-qty { min-width: 18px; text-align: center; font-weight: 700; }
.add-items-submit { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--cocoa); color: var(--white); border: 0; padding: 18px 24px; font-weight: 700; cursor: pointer; }
.add-items-note { font-size: .875rem; color: var(--cacao); margin-top: 10px; }
.addr-autocomplete { position: relative; }
.addr-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 100; background: var(--white); border: 2px solid var(--line); border-radius: 14px; margin-top: 4px; list-style: none; padding: 0; overflow: hidden; }
.addr-suggestions li { padding: 12px 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.addr-suggestions li:hover { background: var(--mascarpone); }

/* ── "Is it open?" pop-up (unchanged behaviour) ── */
.hours-modal-overlay { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(30, 18, 12, .5); backdrop-filter: blur(3px); align-items: center; justify-content: center; padding: 24px; }
.hours-modal-overlay.show { display: flex; }
.hours-modal { background: var(--white); border-radius: 28px; padding: 30px 26px 24px; max-width: 380px; width: 100%; text-align: center; animation: rise .25s var(--ease); }
.hours-modal-icon { font-size: 36px; margin-bottom: 8px; }
.hours-modal-title { font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.035em; text-transform: lowercase; margin-bottom: 8px; }
.hours-modal-body { color: var(--cacao); margin-bottom: 14px; }
.hours-modal .hours-list { font-size: .875rem !important; text-align: left; background: var(--mascarpone); border-radius: 16px; padding: 12px 16px; margin-bottom: 20px; font-size: .9375rem; }
.hours-modal-actions { display: flex; gap: 10px; }
.hours-modal-cancel, .hours-modal-continue { flex: 1; min-height: 48px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.hours-modal-cancel { background: transparent; border: 2px solid var(--line); }
.hours-modal-continue { background: var(--cocoa); border: 0; color: var(--white); }

/* ── Booking pop-up (only appears if bookings are switched on) ── */
.cta-section { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.cta-section.open { display: flex; }
.cta-section-backdrop { position: absolute; inset: 0; background: rgba(30, 18, 12, .55); }
.cta-inner { position: relative; max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: var(--r-lg); padding: 44px 22px 28px; }
.cta-section-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mascarpone); font-size: 22px; cursor: pointer; }
.cta-section .eyebrow { display: block; font-weight: 700; color: var(--cacao); margin-bottom: 10px; }
.cta-section h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 14px; }
.cta-section h2 em { font-style: normal; }
.cta-section .cta-inner > p { color: var(--cacao); margin-bottom: 24px; }
.reserva-form { text-align: left; }
.reserva-row { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 560px) { .reserva-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.reserva-field { display: flex; flex-direction: column; gap: 6px; }
.reserva-field label { font-size: .9375rem; font-weight: 700; }
.reserva-field input, .reserva-field select { padding: 13px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); width: 100%; }
.reserva-submit { width: 100%; min-height: 56px; background: var(--cocoa); color: var(--white); border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; margin-top: 8px; }
.reserva-submit:disabled { opacity: .55; cursor: default; }
.reserva-msg { text-align: center; margin-top: 10px; }
.reserva-msg.error { color: var(--warn); font-weight: 700; }
.reserva-msg.success { color: var(--ok); font-weight: 700; }
.venue-status { display: none; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; font-weight: 600; background: var(--mascarpone); }
.venue-status.show { display: block; }
.deposit-notice { display: none; background: var(--mascarpone); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; }
.deposit-notice.show { display: block; }
.deposit-notice-title { font-weight: 700; }
.deposit-notice-sub { font-size: .875rem; color: var(--cacao); }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.btn-whatsapp, .btn-instagram { background: var(--white); color: var(--cocoa); }
.reservation-note { display: flex; gap: 14px; text-align: left; background: var(--mascarpone); border-radius: 18px; padding: 20px; }
.reservation-note h4 { font-weight: 700; }
.free-tag { display: inline-block; margin-top: 6px; font-size: .8125rem; color: var(--cacao); }

/* ── Seasonal ─────────────────────────────────────────── */
.season { display: grid; gap: 32px; align-items: center; }
.season-art { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.season-art img { border-radius: var(--r-lg); width: 100%; box-shadow: 0 30px 60px -36px rgba(30, 18, 12, .6); }
.season-label { display: inline-block; font-weight: 700; background: var(--cocoa); color: var(--white); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.season h2 { margin-bottom: 18px; }
.season .btns { margin-top: 26px; }
@media (min-width: 900px) {
  .season { grid-template-columns: 1fr 1fr; gap: 72px; }
  .season-art { margin: 0; transform: rotate(-2.5deg); }
}

/* ── Hecho a mano ─────────────────────────────────────── */
.process { list-style: none; padding: 0; display: grid; gap: 28px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 32px; } }
.process li { text-align: center; }
.process img { width: 100%; max-width: 200px; margin: 0 auto 14px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--espresso), 0 0 0 8px rgba(231, 196, 142, .55); }
.process span { display: block; font-weight: 600; color: var(--mascarpone); }

/* ── Historia ─────────────────────────────────────────── */
.story { display: grid; gap: 28px; }
.story .text { max-width: 36em; font-size: 1.125rem; }
.story .text p + p { margin-top: 14px; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; } }

/* ── Dónde estamos ────────────────────────────────────── */
.where { display: grid; gap: 36px; }
@media (min-width: 900px) { .where { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.addr { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; text-transform: none; }
.addr-sub { margin-top: 6px; color: var(--cacao); }
.links { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.links li { border-bottom: 1px solid var(--line); }
.links a, .links .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; text-decoration: none; font-weight: 600; }
.links a:hover { color: var(--cacao); }
.links .k { font-weight: 500; color: var(--cacao); text-align: right; }
.hours { margin-top: 32px; }
.hours h3 { font-size: 1.5rem; margin-bottom: 12px; }
.hours-list { list-style: none; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .d { font-weight: 600; }
.hours-list .t { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.hours-list li.today { font-weight: 700; }
.hours-list li.today .d::after { content: " (hoy)"; font-weight: 500; color: var(--cacao); }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--mascarpone-2); aspect-ratio: 4 / 3.4; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 28px; }
.map .gate img { width: 64px; }
.map .gate p { max-width: 30em; font-size: .9375rem; }

/* ── Footer ───────────────────────────────────────────── */
.footer { background: var(--espresso); color: var(--mascarpone); padding: 64px 0 120px; }
.footer .wrap { display: grid; gap: 28px; }
.footer .big { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; text-transform: lowercase; font-size: clamp(3.4rem, 15vw, 8rem); line-height: .85; color: var(--bizcocho); }
.footer-info { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-info span:empty { display: none; }
.footer-info a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; }
.footer-info a:hover { color: var(--bizcocho); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .9375rem; border-top: 1px solid rgba(247, 239, 227, .18); padding-top: 22px; }
.footer-legal a, .footer-legal button { color: #e5d3bb; min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--white); }
.footer .made { font-size: .875rem; color: #d9c4a7; }

/* ── Cookie banner ────────────────────────────────────── */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 400; max-width: 520px; background: var(--white); color: var(--cocoa); border-radius: 24px; padding: 20px; box-shadow: 0 24px 60px -20px rgba(30, 18, 12, .55); border: 1px solid var(--line); }
.cookie[hidden] { display: none; }
.cookie p { font-size: .9375rem; margin-bottom: 14px; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { min-height: 48px; padding: 10px 22px; font-size: 1rem; flex: 1; }
@media (min-width: 720px) { .cookie { left: 24px; bottom: 24px; right: auto; } }

/* ── Legal pages ──────────────────────────────────────── */
.legal { padding: 48px 0 96px; }
.legal h1 { font-size: clamp(2.8rem, 10vw, 5rem); margin-bottom: 28px; }
.legal .body { max-width: 44em; }
.legal h2 { font-size: 1.6rem; letter-spacing: -0.02em; text-transform: none; line-height: 1.15; margin: 36px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 1.2em; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .9375rem; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 640px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .legal td { border: 0; padding: 4px 0; }
  .legal td::before { content: attr(data-label) ": "; font-weight: 700; }
}

/* ── Motion (only when the visitor allows it) ─────────── */
@media (prefers-reduced-motion: no-preference) {
  .wheel { animation: turn 90s linear infinite; }
  .wheel .bowl { animation: settle .9s var(--ease) both; }
  .wheel .b2 { animation-delay: .12s; } .wheel .b3 { animation-delay: .24s; } .wheel .b4 { animation-delay: .36s; }
  @keyframes turn { to { transform: rotate(360deg); } }
  @keyframes settle { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
  .js-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js-ready [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
