/* Criolatto · estilos del sitio
   Paleta de marca: crema #f4edd9 · marrón #42352f · ocre #c96e4e · olivo #686e43 · verde #405338
   Todo el contenido se ve sin JavaScript: el script solo agrega el pedido, el armado del helado y detalles. */

/* Abiah for letters; its numerals read poorly, so digits fall back to Lato */
@font-face { font-family: 'Abiah'; src: url('../fonts/Abiah-Regular.woff2') format('woff2'); font-display: swap; unicode-range: U+0000-002F, U+003A-FFFF; }
@font-face { font-family: 'Lato'; src: url('../fonts/Lato-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../fonts/Lato-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --crema: #f4edd9;
  --crema-2: #ebe1c8;
  --marron: #42352f;
  --ocre: #c96e4e;
  --olivo: #686e43;
  --verde: #405338;

  --ink: var(--marron);
  --ink-2: rgb(66 53 47 / 0.82);
  --line: rgb(66 53 47 / 0.18);
  --on-dark: var(--crema);
  --on-dark-2: rgb(244 237 217 / 0.82);
  --line-dark: rgb(244 237 217 / 0.2);

  --display: 'Abiah', 'Lato', Georgia, serif;
  --body: 'Lato', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gut: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --g: clamp(20px, 3vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --r: 6px;
  --top: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--crema);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }
::selection { background: var(--ocre); color: var(--crema); }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--r); background: var(--marron); color: var(--crema); }
.skip:focus { top: 12px; }

.ic { width: 20px; height: 20px; flex: none; stroke-width: 1.8; }
.ic.flip { transform: scaleX(-1); }

/* ---------- Layout & type ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.bg-crema { background: var(--crema); }
.bg-crema-2 { background: var(--crema-2); }
.bg-marron, .bg-verde, .bg-olivo { color: var(--on-dark); }
.bg-marron { background: var(--marron); }
.bg-verde { background: var(--verde); }
.bg-olivo { background: var(--olivo); }

.display {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  max-width: 18ch;
}
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 46ch; }
.bg-marron .lead, .bg-verde .lead, .bg-olivo .lead, .hero .lead, .phero .lead { color: var(--on-dark-2); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--olivo);
}
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--ocre); }
.bg-marron .kicker, .bg-verde .kicker, .bg-olivo .kicker, .hero .kicker, .phero .kicker { color: var(--on-dark); }
.kicker + .title, .kicker + .display { margin-top: 16px; }
.title + .lead, .display + .lead { margin-top: 20px; }

.sec-head { display: grid; gap: 20px var(--g); margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.sec-head-side { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.sec-head-side p { max-width: 44ch; color: var(--ink-2); }
.bg-marron .sec-head-side p, .bg-verde .sec-head-side p, .bg-olivo .sec-head-side p { color: var(--on-dark-2); }

.split { display: grid; gap: 40px var(--g); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 1.5px solid var(--marron); border-radius: var(--r);
  background: var(--marron); color: var(--crema);
  font-weight: 700; letter-spacing: 0.01em; line-height: 1.1; text-align: center;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
}
.btn:hover { background: var(--verde); border-color: var(--verde); }
.btn:active { transform: scale(0.98); }
.btn .ic { transition: transform 0.3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn-line { background: transparent; color: var(--marron); }
.btn-line:hover { background: var(--marron); color: var(--crema); border-color: var(--marron); }
.hero .btn:not(.btn-line), .bg-marron .btn:not(.btn-line), .phero .btn:not(.btn-line) { background: var(--crema); color: var(--marron); border-color: var(--crema); }
.hero .btn:not(.btn-line):hover, .bg-marron .btn:not(.btn-line):hover { background: var(--ocre); border-color: var(--ocre); color: var(--marron); }
.hero .btn-line, .bg-marron .btn-line, .bg-verde .btn-line, .bg-olivo .btn-line { color: var(--crema); border-color: rgb(244 237 217 / 0.5); }
.hero .btn-line:hover, .bg-marron .btn-line:hover { background: var(--crema); color: var(--marron); }
.btn-cream { background: var(--crema); color: var(--marron); border-color: var(--crema); }
.btn-cream:hover { background: var(--ocre); border-color: var(--ocre); color: var(--marron); }
.btn-wide { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r);
  border: 1.5px solid var(--line); transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: var(--marron); color: var(--crema); border-color: var(--marron); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; }
.link .ic { color: var(--ocre); transition: transform 0.3s var(--ease); }
.link:hover .ic { transform: translateX(4px); }

/* ---------- Announcement ---------- */
.announce {
  position: relative; z-index: 51;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px var(--gut); background: var(--verde); color: var(--crema);
  font-size: 0.95rem; text-align: center;
}
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Floating islands navigation ---------- */
:root { --isle-h: 56px; --isle-top: 14px; }
.isles {
  position: fixed; z-index: 50; left: 0; right: 0; top: var(--isle-top);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-inline: max(14px, calc((100vw - var(--max)) / 2 - 8px));
  pointer-events: none;
}
.isle {
  pointer-events: auto; display: flex; align-items: center; height: var(--isle-h);
  border-radius: 999px; background: rgb(244 237 217 / 0.92); color: var(--marron);
  box-shadow: 0 0 0 1px rgb(66 53 47 / 0.12), 0 14px 30px -18px rgb(66 53 47 / 0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.isle-brand { padding: 0 22px; }
.isle-brand img { height: 28px; width: auto; }
.isle-status { display: none; gap: 10px; padding: 0 20px; font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.isle-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ocre); }
.isle-status.is-open i { background: var(--verde); animation: beat 2s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 6px rgb(64 83 56 / 0.15); } }
.isle-status b { opacity: 0.4; }
.isle-status em { font-style: normal; font-weight: 400; color: var(--ink-2); }
@media (min-width: 1100px) { .isle-status { display: inline-flex; } }
.isle-act { gap: 4px; padding: 0 5px; }
.isle-link, .isle-cart, .isle-menu {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px;
  border-radius: 999px; font-weight: 700; transition: background-color 0.25s, color 0.25s;
}
.isle-link:hover, .isle-cart:hover, .isle-link.is-on { background: var(--crema-2); }
.isle-cart b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ocre); color: var(--marron); font-size: 0.8rem; }
.isle-menu { background: var(--marron); color: var(--crema); padding: 0 18px 0 16px; }
.isle-menu:hover { background: var(--verde); }
.burger { position: relative; width: 18px; height: 10px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 8px; }
.menu-open .burger i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 4px; transform: rotate(-45deg); }
@media (max-width: 640px) {
  :root { --isle-h: 50px; --isle-top: 10px; }
  .isle-brand { padding: 0 16px; }
  .isle-brand img { height: 24px; }
  .isle-link span, .isle-menu-t { display: none; }
  .isle-link, .isle-cart, .isle-menu { height: 42px; padding: 0 13px; }
}

/* Full-screen menu: opens as a circle growing from the menu button */
.ov {
  position: fixed; inset: 0; z-index: 49; overflow-y: auto; background: var(--marron); color: var(--crema);
  clip-path: circle(0 at calc(100% - 60px) 40px); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
.menu-open .ov { clip-path: circle(150% at calc(100% - 60px) 40px); visibility: visible; transition: clip-path 0.8s var(--ease); }
.ov-in {
  min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 24px;
  max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: calc(var(--isle-h) + 40px) var(--gut) 32px;
}
.ov-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.ov-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ocre); }
.ov-hours { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark-2); font-size: 0.88rem; }
.ov-hours .ic { width: 16px; height: 16px; color: var(--ocre); }
.ov-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .ov-cards { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.ov-cards li {
  opacity: 0; transform: translateY(40px); clip-path: inset(100% 0 0 0 round 16px);
  transition: opacity 0.4s, transform 0.8s var(--ease), clip-path 0.8s var(--ease);
}
.menu-open .ov-cards li { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 16px); transition-delay: calc(0.18s + var(--k) * 0.07s); }
.ov-card {
  position: relative; display: block; overflow: hidden; height: clamp(190px, 30vh, 260px); border-radius: 16px;
  background: var(--verde); color: var(--crema); isolation: isolate;
}
@media (min-width: 900px) { .ov-card { height: clamp(300px, 52vh, 480px); } }
.ov-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.5s; }
.ov-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(42 33 29 / 0.92) 0%, rgb(42 33 29 / 0.45) 45%, rgb(42 33 29 / 0.05) 75%); transition: background-color 0.4s; }
.ov-n { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: var(--crema); color: var(--marron); font-size: 0.8rem; font-weight: 700; }
.ov-here { position: absolute; top: 12px; right: 12px; padding: 6px 10px; border-radius: 999px; background: var(--ocre); color: var(--crema); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.ov-body { position: absolute; left: 14px; right: 52px; bottom: 14px; display: grid; gap: 4px; }
.ov-t { font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.15; }
.ov-s { color: rgb(244 237 217 / 0.78); font-size: 0.85rem; line-height: 1.35; }
.ov-go { position: absolute; right: 12px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(244 237 217 / 0.5); transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease); }
.ov-go .ic { width: 16px; height: 16px; }
@media (max-width: 899px) { .ov-s { display: none; } .ov-body { right: 12px; bottom: 56px; } .ov-go { left: 12px; right: auto; bottom: 12px; width: 32px; height: 32px; } }
@media (hover: hover) {
  .ov-cards:hover .ov-card:not(:hover) img { filter: grayscale(0.6) brightness(0.7); }
  .ov-card:hover img { transform: scale(1.07); }
  .ov-card:hover .ov-go { background: var(--crema); color: var(--marron); transform: rotate(45deg); }
}
.ov-card:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; }
.ov-card[aria-current] { outline: 2px solid var(--ocre); outline-offset: -2px; }
.ov-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); }
.ov-foot p, .ov-foot a:not(.btn) { display: inline-flex; align-items: center; gap: 8px; }
.ov-foot .ic { color: var(--ocre); }
.ov-foot .btn { margin-left: auto; }
@media (max-width: 599px) { .ov-foot { gap: 10px 20px; font-size: 0.92rem; } .ov-foot p:first-child { display: none; } .ov-foot .btn { width: 100%; margin-left: 0; justify-content: center; } }
.menu-open { overflow: hidden; }

/* ---------- Hero: photo melting into the background ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--marron); color: var(--crema);
  min-height: min(92vh, 860px); display: flex; align-items: center;
  padding-block: calc(var(--isle-h) + var(--isle-top) + 56px) 72px;
}
.hero-photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--marron) 0%, rgb(66 53 47 / 0.92) 18%, rgb(66 53 47 / 0.55) 42%, rgb(66 53 47 / 0.12) 70%, rgb(66 53 47 / 0.25) 100%),
    linear-gradient(0deg, rgb(66 53 47 / 0.75) 0%, transparent 30%);
}
.hero-in { position: relative; width: 100%; }
.hero-text { max-width: 620px; }
.hero .display { margin-top: 18px; max-width: 12ch; text-shadow: 0 2px 30px rgb(66 53 47 / 0.4); }
.hero .lead { margin-top: 22px; max-width: 44ch; }
.hero .actions { margin-top: 34px; }
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; padding-top: 0; }
  .hero-photo { position: relative; z-index: 0; width: auto; height: 56vh; min-height: 320px; max-height: 520px; }
  .hero-photo::after { background: linear-gradient(0deg, var(--marron) 0%, rgb(66 53 47 / 0.75) 28%, rgb(66 53 47 / 0.1) 60%, rgb(66 53 47 / 0.35) 100%); }
  .hero-in { margin-top: -120px; z-index: 1; }
}

/* Rotating word */
.hl { color: var(--ocre); }
.rotor { position: relative; display: inline-grid; vertical-align: top; color: var(--ocre); }
.rotor > span { grid-area: 1 / 1; white-space: nowrap; }
.js .rotor > span { opacity: 0; transform: translateY(0.45em) rotateX(-60deg); filter: blur(6px); transition: opacity 0.6s, transform 0.7s var(--ease), filter 0.6s; }
.js .rotor > span.is-on { opacity: 1; transform: none; filter: none; }
.js .rotor > span.is-out { opacity: 0; transform: translateY(-0.45em) rotateX(60deg); filter: blur(6px); }

/* Spinning stamp */
.stamp { position: absolute; right: var(--gut); bottom: -24px; width: 168px; height: 168px; }
.stamp svg { width: 100%; height: 100%; animation: spin 22s linear infinite; overflow: visible; }
.stamp text { fill: var(--crema); font: 700 13px var(--body); letter-spacing: 0.18em; text-transform: uppercase; }
.stamp img { position: absolute; left: 50%; top: 50%; width: 56px; height: auto; transform: translate(-50%, -50%); }
.stamp::before { content: ''; position: absolute; inset: 28px; border-radius: 50%; background: rgb(66 53 47 / 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) { .stamp { display: none; } }

/* Crossing tapes */
.tapes { position: relative; z-index: 2; margin-top: -34px; padding-block: 10px 6px; overflow: hidden; }
.tape { width: 104%; margin-left: -2%; overflow: hidden; }
.tape.t1 { position: relative; z-index: 2; background: var(--ocre); color: var(--marron); transform: rotate(-1.6deg); }
.tape.t2 { margin-top: 6px; background: var(--verde); color: var(--crema); transform: rotate(1.2deg); }
.tape-in { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.tape.t2 .tape-in { animation-duration: 60s; animation-direction: reverse; }
.tape-in > div { display: flex; align-items: center; }
.tape span { padding: 12px 22px; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.6rem); white-space: nowrap; }
.tape i { width: 8px; height: 8px; flex: none; transform: rotate(45deg); background: currentColor; opacity: 0.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.sec-side { max-width: 44ch; color: var(--ink-2); }
.bg-marron .sec-side, .bg-verde .sec-side, .bg-olivo .sec-side { color: var(--on-dark-2); }

/* ---------- Category fan (horizontal accordion) ---------- */
.fan { display: flex; flex-direction: column; gap: 8px; }
.fan-p {
  position: relative; display: block; overflow: hidden; isolation: isolate; min-height: 84px; border-radius: var(--r);
  background: var(--marron); color: var(--crema); transition: flex-grow 0.7s var(--ease), min-height 0.6s var(--ease);
}
.fan-bg { position: absolute; inset: 0; z-index: -1; }
.fan-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease); }
.fan-p::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(66 53 47 / 0.92) 0%, rgb(66 53 47 / 0.55) 55%, rgb(66 53 47 / 0.35) 100%); transition: background 0.6s; }
.fan-p.is-on::after { background: linear-gradient(0deg, rgb(66 53 47 / 0.92) 0%, rgb(66 53 47 / 0.3) 55%, transparent 100%); }
.fan-p.is-on .fan-bg img { transform: none; }
.fan-n { position: absolute; left: 20px; top: 18px; font-weight: 700; font-size: 0.85rem; color: var(--crema); text-shadow: 0 1px 6px rgb(0 0 0 / 0.6); }
.fan-v { position: absolute; left: 56px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.7rem; line-height: 1; white-space: nowrap; transition: opacity 0.3s; }
.fan-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 24px; opacity: 0; transform: translateY(14px); transition: opacity 0.35s, transform 0.6s var(--ease); }
.fan-t { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.fan-d { color: var(--on-dark-2); }
.fan-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; }
.fan-go .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--crema); color: var(--marron); transition: transform 0.3s var(--ease); }
.fan-p:hover .fan-go .ic { transform: translateX(4px); }
.fan-p.is-on { min-height: 300px; }
.fan-p.is-on .fan-v { opacity: 0; }
.fan-p.is-on .fan-body { opacity: 1; transform: none; transition-delay: 0.2s; }
@media (min-width: 900px) {
  .fan { flex-direction: row; height: 480px; gap: 10px; }
  .fan-p { flex: 1 1 0; min-width: 0; min-height: 0; }
  .fan-p.is-on { flex-grow: 5; min-height: 0; }
  .fan-v { left: 50%; top: auto; bottom: 26px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 1.6rem; }
  .fan-n { left: 50%; transform: translateX(-50%); }
  .fan-p.is-on .fan-n { left: 24px; transform: none; }
  .fan-body { padding: 32px; }
}

/* ---------- Ice-cream ring ---------- */
.ice-grid { display: grid; gap: 56px var(--g); align-items: center; }
@media (min-width: 900px) { .ice-grid { grid-template-columns: 1fr 1fr; } }
.ice .title .num { font-family: var(--body); font-weight: 700; color: var(--ocre); }
.ice-lists { display: grid; gap: 4px 32px; margin-top: 32px; }
@media (min-width: 640px) { .ice-lists { grid-template-columns: 1fr 1fr; } }
.sizes { border-top: 1px solid var(--line-dark); }
.sizes li { display: flex; align-items: center; gap: 10px; min-height: 56px; border-bottom: 1px solid var(--line-dark); font-size: 0.97rem; }
.sizes li > span:first-child { font-weight: 700; }
.dots { flex: 1; min-width: 12px; border-bottom: 1.5px dotted currentColor; opacity: 0.35; transform: translateY(4px); }
.ring { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; }
.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 50s linear infinite; overflow: visible; }
.ring-text text { fill: var(--crema); font: 400 19px var(--display); letter-spacing: 0.02em; }
.ring-photo { position: absolute; inset: 13%; overflow: hidden; border-radius: 50%; background: var(--olivo); box-shadow: 0 0 0 10px rgb(244 237 217 / 0.08); }
.ring-photo img { width: 100%; height: 100%; object-fit: cover; }
.ring-badge { position: absolute; right: 4%; bottom: 8%; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--ocre); color: var(--marron); text-align: center; line-height: 1; transform: rotate(-10deg); }
.ring-badge b { font-size: 2.4rem; }
.ring-badge span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Favourites board ---------- */
.favs { display: grid; gap: 48px var(--g); align-items: start; }
@media (min-width: 900px) { .favs { grid-template-columns: 1fr 1fr; } .collage { position: sticky; top: calc(var(--isle-h) + var(--isle-top) + 32px); } }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage figure { position: absolute; overflow: hidden; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgb(66 53 47 / 0.6); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.col-a { left: 0; top: 0; width: 72%; aspect-ratio: 4 / 5; transform: rotate(-3deg); }
.col-b { right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; transform: rotate(4deg); border: 8px solid var(--crema); }
.col-note { position: absolute; right: 6%; top: 8%; padding: 14px 16px; border-radius: var(--r); background: var(--verde); color: var(--crema); font-family: var(--display); font-size: 1.3rem; line-height: 1.1; transform: rotate(5deg); }
.board { margin-top: 28px; border-top: 1px solid var(--line); counter-reset: b; }
.board-i { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.board-n { font-family: var(--body); font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--ocre); }
.board h3, .lines h3 { font-family: var(--display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.15; }
.board-c { margin-top: 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olivo); }
.board-c b { color: var(--verde); }

/* ---------- Morning (breakfast) ---------- */
.morning { position: relative; overflow: hidden; isolation: isolate; color: var(--crema); padding-block: var(--sec); }
.morning-photo { position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 55%; overflow: hidden; }
.morning-photo img { width: 100%; height: 100%; object-fit: cover; }
.morning-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, var(--olivo) 0%, rgb(104 110 67 / 0.88) 30%, rgb(104 110 67 / 0.45) 70%, rgb(104 110 67 / 0.6) 100%); }
.morning-grid { display: grid; gap: 40px var(--g); align-items: center; }
@media (min-width: 900px) { .morning-grid { grid-template-columns: 1fr 1fr; } }
.clock-big { display: flex; align-items: flex-end; gap: 10px; margin-top: 16px; line-height: 0.85; }
.clock-big .num { font-weight: 700; font-size: clamp(5rem, 12vw, 9rem); letter-spacing: -0.04em; }
.clock-big small { font-size: 1.4rem; font-weight: 700; padding-bottom: 10px; }
.clock-big .ic { width: 44px; height: 44px; color: var(--ocre); align-self: flex-start; animation: spin 30s linear infinite; }
.morning-clock .title { margin-top: 20px; }
.morning-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--crema); color: var(--marron); box-shadow: 0 30px 60px -30px rgb(66 53 47 / 0.6); }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--crema-2); }
.tabs button { min-height: 44px; border-radius: 999px; font-weight: 700; color: var(--ink-2); transition: background-color 0.3s, color 0.3s; }
.tabs button[aria-selected='true'] { background: var(--marron); color: var(--crema); }
.js .tab-p[data-hidden] { display: none; }
.tab-p { animation: rise-tab 0.5s var(--ease); }
@keyframes rise-tab { from { opacity: 0; transform: translateY(10px); } }
.lines li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.lines p { margin-top: 4px; font-size: 0.93rem; color: var(--ink-2); padding-right: 48px; }

/* ---------- Visit ---------- */
.day { padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: rgb(244 237 217 / 0.06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--ocre); }
.status.is-open i { background: #8fae7a; animation: beat 2s ease-in-out infinite; }
.day-sum { color: var(--on-dark-2); }
.day-bar { position: relative; height: 12px; margin-top: 36px; border-radius: 6px; background: rgb(244 237 217 / 0.12); }
.day-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); border-radius: 6px; background: linear-gradient(90deg, var(--ocre), #e2a184); transition: width 1.4s var(--ease); }
.day-now { position: absolute; top: 50%; left: var(--p, 0%); width: 22px; height: 22px; border-radius: 50%; background: var(--crema); box-shadow: 0 0 0 6px rgb(201 110 78 / 0.35); transform: translate(-50%, -50%); transition: left 1.4s var(--ease); }
.day-now b { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 4px; background: var(--crema); color: var(--marron); font-size: 0.8rem; white-space: nowrap; }
.day-now b:empty { display: none; }
.day-scale { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.85rem; color: var(--on-dark-2); }
.hours { width: 100%; margin-top: 20px; border-collapse: collapse; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line-dark); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { font-weight: 700; }
.visit-grid { display: grid; gap: var(--g); margin-top: var(--g); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } }
.visit-acts { display: grid; gap: 8px; }
.visit-acts a {
  display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 14px; min-height: 84px; padding: 0 20px;
  border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background-color 0.3s, color 0.3s;
}
.visit-acts a > .ic:first-child { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: rgb(244 237 217 / 0.08); color: var(--ocre); transition: background-color 0.3s, color 0.3s; }
.visit-acts b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.visit-acts small { color: var(--on-dark-2); }
.visit-acts a:hover { background: var(--crema); color: var(--marron); }
.visit-acts a:hover small { color: var(--ink-2); }
.visit-acts a:hover > .ic:first-child { background: var(--ocre); color: var(--marron); }
.map { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--r); background: var(--verde); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; background-image: radial-gradient(rgb(244 237 217 / 0.12) 1px, transparent 1.4px); background-size: 22px 22px; }
.map-ph > .ic { width: 40px; height: 40px; color: var(--ocre); }
.map-note { font-size: 0.85rem; color: var(--on-dark-2); }

/* ---------- Nosotros ---------- */
.about { display: grid; gap: 24px var(--g); align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; } }
.prose p { color: var(--ink-2); font-size: 1.08rem; }
.prose p + p { margin-top: 16px; }
.prose .prose-lead { color: var(--marron); font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--g); margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { padding-top: 20px; border-top: 2px solid var(--marron); }
.stats dt { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olivo); }
.stats dd { margin: 6px 0 0; font-weight: 700; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }

.stack { display: grid; gap: 24px; }
.stack-card {
  position: sticky; top: calc(var(--isle-h) + var(--isle-top) + 24px + var(--i) * 22px);
  display: grid; overflow: hidden; border-radius: var(--r); background: var(--crema); color: var(--marron);
  box-shadow: 0 -20px 50px -30px rgb(66 53 47 / 0.6);
}
@media (min-width: 900px) { .stack-card { grid-template-columns: 1.1fr 1fr; height: 420px; } }
.stack-card figure { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 900px) { .stack-card figure { aspect-ratio: auto; height: 100%; } .stack-card figure img { position: absolute; inset: 0; } }
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.stack-body { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 56px); }
.stack-n { position: absolute; top: 24px; right: 28px; font-weight: 700; color: var(--olivo); }
.stack-body > .ic { width: 40px; height: 40px; color: var(--ocre); }
.stack-body h3 { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.stack-body p { max-width: 40ch; color: var(--ink-2); font-size: 1.1rem; }

.versus { padding-block: var(--sec); background: var(--crema-2); overflow: hidden; }
.vs-head { text-align: center; display: grid; justify-items: center; }
.vs-head .title { max-width: 20ch; }
.vs-head .lead { margin-top: 16px; max-width: 52ch; }
.vs-board { display: grid; gap: 56px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .vs-board { grid-template-columns: 1fr 88px 1fr; gap: 0; align-items: stretch; } }
.vs-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: 28px; color: var(--crema); isolation: isolate; }
.vs-ar { background: var(--olivo); }
.vs-pe { background: var(--marron); }
.vs-card-h { display: flex; align-items: center; gap: 16px; }
.vs-code { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border: 1.5px solid rgb(244 237 217 / 0.4); border-radius: 50%; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; }
.vs-k { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ocre); }
.vs-ar .vs-k { color: #f0c9a0; }
.vs-card h3 { margin-top: 2px; font-family: var(--display); font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1; }
.vs-card::after { content: ''; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 220px; height: 220px; background: url('../brand/isotipo-crema.webp') center / contain no-repeat; opacity: 0.06; }
.vs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.vs-list li { display: grid; align-content: start; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgb(244 237 217 / 0.08); border: 1px solid rgb(244 237 217 / 0.1); transition: background-color 0.3s, transform 0.4s var(--ease); }
.vs-list li:hover { background: rgb(244 237 217 / 0.14); transform: translateY(-3px); }
.vs-list b { font-size: 1.05rem; line-height: 1.2; }
.vs-list span { font-size: 0.85rem; color: var(--on-dark-2); }
@media (max-width: 340px) { .vs-list { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .vs-list li { padding: 12px 14px; } .vs-list b { font-size: 0.98rem; } }
.vs-mid { position: relative; z-index: 2; display: grid; place-items: center; height: 0; }
@media (min-width: 900px) { .vs-mid { height: auto; } .vs-mid::before { content: ''; position: absolute; top: 12%; bottom: 12%; left: 50%; border-left: 1.5px dashed rgb(201 110 78 / 0.5); } }
.vs-amp {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--ocre); color: var(--crema); font-family: var(--display); font-size: 2.4rem; line-height: 1;
  box-shadow: 0 0 0 8px var(--crema-2), 0 16px 30px -12px rgb(66 53 47 / 0.5);
}
.cta-photo { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--sec); color: var(--crema); }
.cta-img { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 62%; overflow: hidden; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--marron) 0%, rgb(66 53 47 / 0.88) 22%, rgb(66 53 47 / 0.45) 55%, rgb(66 53 47 / 0.15) 100%); }
.cta-in > * { max-width: 560px; }
@media (max-width: 899px) { .cta-img { width: 100%; } .cta-img::after { background: rgb(66 53 47 / 0.8); } }

/* ---------- Consulta ---------- */
.quick { display: grid; gap: 10px; margin-top: 40px; max-width: 900px; }
@media (min-width: 640px) { .quick { grid-template-columns: repeat(3, 1fr); } }
.quick a {
  display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 0 18px; border-radius: var(--r);
  background: rgb(244 237 217 / 0.1); box-shadow: inset 0 0 0 1px var(--line-dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.quick a > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--ocre); color: var(--marron); flex: none; }
.quick b { display: block; font-size: 1.05rem; }
.quick small { color: var(--on-dark-2); }
.quick a:hover { background: var(--crema); color: var(--marron); transform: translateY(-3px); }
.quick a:hover small { color: var(--ink-2); }
.hero-consulta .display { max-width: 8ch; }

.compose { display: grid; gap: var(--g); align-items: start; }
@media (min-width: 900px) { .compose { grid-template-columns: 1fr 1fr; } .phone { position: sticky; top: calc(var(--isle-h) + var(--isle-top) + 24px); } }
.compose-form { display: grid; gap: 32px; }
.compose legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
.step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--marron); color: var(--crema); font-family: var(--body); font-size: 0.95rem; font-weight: 700; }
.motives { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.motives legend { grid-column: 1 / -1; }
.motive { position: relative; }
.motive input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.motive-in {
  display: grid; gap: 4px; height: 100%; padding: 18px; border-radius: var(--r); background: var(--crema-2);
  box-shadow: inset 0 0 0 1.5px transparent; cursor: pointer; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.motive-in .ic { width: 28px; height: 28px; color: var(--ocre); margin-bottom: 6px; }
.motive-in b { font-size: 1.02rem; }
.motive-in small { font-size: 0.88rem; color: var(--ink-2); }
.motive-in:hover { box-shadow: inset 0 0 0 1.5px var(--marron); }
.motive input:checked + .motive-in { background: var(--marron); color: var(--crema); }
.motive input:checked + .motive-in small { color: var(--on-dark-2); }
.motive input:focus-visible + .motive-in { outline: 2px solid var(--ocre); outline-offset: 2px; }
.details { display: grid; gap: 14px; }
.two-f { display: grid; gap: 14px; }
@media (min-width: 640px) { .two-f { grid-template-columns: 1fr 1fr; } }
.phone { overflow: hidden; border-radius: 22px; background: var(--crema-2); box-shadow: 0 0 0 8px var(--marron), 0 40px 70px -30px rgb(66 53 47 / 0.7); }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--marron); color: var(--crema); }
.phone-top img { width: 40px; height: 40px; padding: 7px; border-radius: 50%; background: var(--verde); object-fit: contain; }
.phone-top span { display: grid; line-height: 1.25; }
.phone-top small { color: var(--on-dark-2); font-size: 0.8rem; }
.phone-chat { display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 20px 16px; background-image: radial-gradient(rgb(66 53 47 / 0.08) 1px, transparent 1.4px); background-size: 18px 18px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.95rem; line-height: 1.45; white-space: pre-line; word-break: break-word; box-shadow: 0 2px 0 rgb(66 53 47 / 0.08); }
.bubble.in { align-self: flex-start; border-top-left-radius: 4px; background: var(--crema); }
.bubble.out { align-self: flex-end; border-top-right-radius: 4px; background: #dfe3c6; animation: pop 0.35s var(--ease); }
@keyframes pop { from { transform: scale(0.96); opacity: 0.6; } }
.phone-foot { padding: 14px 16px 18px; background: var(--crema-2); border-top: 1px solid var(--line); }
.err { color: var(--marron); font-weight: 700; padding: 10px 12px; border-radius: var(--r); background: rgb(201 110 78 / 0.22); }

.faq-grid { display: grid; gap: 32px var(--g); align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 12px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-n { color: var(--ocre); font-size: 0.9rem; }
.pm { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); }
.pm::before, .pm::after { content: ''; position: absolute; width: 14px; height: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--marron); color: var(--crema); border-color: var(--marron); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 48px 20px 52px; color: var(--ink-2); }

/* Fields (forms) */
.field { display: grid; gap: 6px; }
.field > span, .field legend { font-weight: 700; font-size: 0.95rem; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.field input:not([type='radio']):not([type='checkbox']), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--crema);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--marron); box-shadow: 0 0 0 3px rgb(201 110 78 / 0.3); }
.field [aria-invalid='true'] { border-color: var(--ocre); }

/* Price & add (shared) */
.price { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price b { font-weight: 700; font-size: 1.05rem; }
.price del { font-size: 0.88rem; opacity: 0.7; }
.price.is-note { font-size: 0.9rem; font-style: italic; color: var(--ink-2); }
.add { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: var(--r); background: var(--marron); color: var(--crema); transition: background-color 0.2s, transform 0.15s; }
.add:hover { background: var(--verde); }
.add:active { transform: scale(0.92); }
.add-sm { width: 34px; height: 34px; margin-left: 4px; border-radius: 50%; background: transparent; color: var(--marron); border: 1.5px solid var(--marron); }
.add-sm .ic { width: 16px; height: 16px; }
.add-sm:hover { background: var(--marron); color: var(--crema); }
.add-sm.is-added { background: var(--verde); border-color: var(--verde); color: var(--crema); }
.add-light { color: var(--crema); border-color: rgb(244 237 217 / 0.6); }
.add-light:hover { background: var(--crema); color: var(--marron); }
.soldout { padding: 4px 10px; border-radius: 4px; border: 1px solid currentColor; font-size: 0.8rem; font-weight: 700; opacity: 0.8; }
.mi-top { display: flex; align-items: center; gap: 10px; }
.leader { flex: 1; min-width: 20px; align-self: flex-end; margin-bottom: 0.55em; border-bottom: 1.5px dotted rgb(66 53 47 / 0.35); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; }
.link .ic { color: var(--ocre); transition: transform 0.3s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--line); transition: background-color 0.2s, border-color 0.2s; }
.icon-btn:hover { background: var(--marron); color: var(--crema); border-color: var(--marron); }

/* Floating cart button (appears when the order has items) */
.fab-cart {
  position: fixed; z-index: 45; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px; border-radius: 999px;
  background: var(--marron); color: var(--crema); font-weight: 700; box-shadow: 0 16px 34px -12px rgb(66 53 47 / 0.7);
  animation: pop 0.4s var(--ease);
}
.fab-cart b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--ocre); color: var(--marron); font-size: 0.85rem; }

.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  padding: 12px 18px; border-radius: var(--r); background: var(--verde); color: var(--crema); font-weight: 700;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion: reveals and scroll effects ---------- */
/* Without JS everything is visible; with JS, elements marked [data-rv] rise in when they enter the screen. */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.js [data-rv].in { opacity: 1; transform: none; }
.js [data-rv='l'] { transform: translateX(-48px); }
.js [data-rv='r'] { transform: translateX(48px); }
.js [data-rv='s'] { transform: scale(0.9); }
.js [data-rv='l'].in, .js [data-rv='r'].in, .js [data-rv='s'].in { transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .morning-photo img, .cta-img img, .stack-card img {
      animation: drift linear both; animation-timeline: view();
    }
    @keyframes drift { from { transform: scale(1.15) translateY(-4%); } to { transform: scale(1.15) translateY(4%); } }
    .collage .col-a { animation: tilt-a linear both; animation-timeline: view(); }
    .collage .col-b { animation: tilt-b linear both; animation-timeline: view(); }
    @keyframes tilt-a { from { transform: rotate(-8deg) translateY(30px); } to { transform: rotate(0deg) translateY(-30px); } }
    @keyframes tilt-b { from { transform: rotate(10deg) translateY(80px); } to { transform: rotate(2deg) translateY(-40px); } }
    .vs-amp { animation: amp linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    @keyframes amp { from { transform: scale(0.3) rotate(-90deg); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-rv] { opacity: 1; transform: none; }
}
/* ---------- Footer ---------- */
.foot { background: var(--verde); color: var(--crema); padding-block: clamp(56px, 7vw, 88px) 32px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.foot-top img { width: 200px; height: auto; }
.foot-slogan { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); max-width: 20ch; }
.foot-cols { display: grid; gap: 32px var(--g); padding-block: 36px; }
@media (min-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-cols { grid-template-columns: repeat(4, 1fr); } }
.foot h2 { margin-bottom: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.foot p { margin-top: 6px; }
.foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; transition: color 0.2s; }
.foot a:hover { color: var(--ocre); }
.foot a .ic { width: 18px; height: 18px; }
.foot-note { font-size: 0.9rem; color: var(--on-dark-2); }
.foot-legal { padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.88rem; color: var(--on-dark-2); }

/* ---------- Order drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgb(66 53 47 / 0.55); animation: fade 0.25s both; }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--crema); color: var(--marron);
  animation: slide 0.35s var(--ease) both;
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@media (max-width: 599px) {
  .drawer-panel { top: auto; width: 100%; max-height: 92vh; border-radius: var(--r) var(--r) 0 0; animation-name: rise; }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-size: 1.9rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.cart-empty { display: grid; justify-items: center; gap: 14px; padding: 48px 8px; text-align: center; color: var(--ink-2); }
.cart-empty > .ic { width: 40px; height: 40px; color: var(--ocre); }
.cart-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-list .ci-n { font-weight: 700; }
.cart-list .ci-x { grid-column: 1 / -1; font-size: 0.88rem; color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r); border: 1.5px solid var(--line); }
.qty button:hover { background: var(--marron); color: var(--crema); border-color: var(--marron); }
.qty .ic { width: 16px; height: 16px; }
.qty b { min-width: 24px; text-align: center; }
.ci-p { justify-self: end; font-weight: 700; }
.cart-form { display: grid; gap: 14px; margin-top: 20px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: var(--r); background: var(--crema-2); }
.seg legend { grid-column: 1 / -1; margin-bottom: 8px; font-weight: 700; float: left; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.seg input:checked + span { background: var(--marron); color: var(--crema); }
.seg input:focus-visible + span { outline: 2px solid var(--ocre); }
.field { display: grid; gap: 6px; }
.field > span, .field legend { font-weight: 700; font-size: 0.95rem; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.field input:not([type='radio']):not([type='checkbox']), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r);
  border: 1.5px solid var(--line); background: var(--crema); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--marron); box-shadow: 0 0 0 3px rgb(201 110 78 / 0.3); }
.field [aria-invalid='true'] { border-color: var(--ocre); }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--crema-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 700; }
.total b { font-size: 1.4rem; }
.hint { margin-top: 10px; font-size: 0.85rem; color: var(--ink-2); text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  padding: 12px 18px; border-radius: var(--r); background: var(--verde); color: var(--crema); font-weight: 700;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* ---------- Menu page ---------- */
/* Category bar: a floating pill that docks under the islands */
.catnav {
  --cn-top: calc(var(--isle-top) + var(--isle-h) + 10px);
  position: sticky; top: var(--cn-top); z-index: 30; margin-top: 22px; pointer-events: none;
}
.catnav::before {
  content: ''; position: fixed; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  height: calc(var(--cn-top) + 76px);
  background: linear-gradient(180deg, var(--crema) 0%, var(--crema) 72%, rgb(244 237 217 / 0) 100%);
  opacity: 0; transition: opacity 0.35s;
}
.catnav.is-stuck::before { opacity: 1; }
.catnav .wrap { display: flex; justify-content: center; }
.catnav ul {
  pointer-events: auto; display: flex; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 5px; border-radius: 999px; background: var(--marron); box-shadow: 0 14px 30px -14px rgb(42 33 29 / 0.55), 0 0 0 1px rgb(244 237 217 / 0.08) inset;
}
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; white-space: nowrap; color: rgb(244 237 217 / 0.72);
  transition: color 0.25s, background-color 0.35s var(--ease);
}
.catnav a:hover { color: var(--crema); }
.catnav a.is-on { background: var(--crema); color: var(--marron); }
.catnav a:focus-visible { outline: 2px solid var(--ocre); outline-offset: -2px; }
@media (max-width: 599px) { .catnav a { min-height: 38px; padding: 0 13px; font-size: 0.85rem; } }
.menu-empty { padding-block: 64px; font-size: 1.1rem; text-align: center; }

/* Hero of the menu: like the cover of a printed carta */
.ch { position: relative; overflow: hidden; background: var(--marron); color: var(--crema); padding-block: clamp(56px, 8vw, 104px); text-align: center; }
.ch::before { content: ''; position: absolute; inset: 16px; border: 1px solid rgb(244 237 217 / 0.18); border-radius: var(--r); pointer-events: none; }
.ch-in { position: relative; display: grid; justify-items: center; }
.ch-iso { width: 56px; height: auto; }
.ch-k { margin-top: 20px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-2); }
.ch-t { margin-top: 10px; font-family: var(--display); font-size: clamp(3.4rem, 10vw, 7rem); line-height: 0.95; }
.ch-orn { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.ch-orn span { width: 64px; height: 1px; background: rgb(244 237 217 / 0.4); }
.ch-orn i { width: 8px; height: 8px; background: var(--ocre); transform: rotate(45deg); }
.ch-lead { margin-top: 16px; max-width: 40ch; color: var(--on-dark-2); font-size: 1.1rem; }
.ch-search { position: relative; display: block; width: min(460px, 100%); margin-top: 28px; }
.ch-search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--marron); }
.ch-search input { width: 100%; min-height: 54px; padding: 0 18px 0 48px; border: 0; border-radius: var(--r); background: var(--crema); color: var(--marron); }
.ch-search input:focus { outline: none; box-shadow: 0 0 0 3px var(--ocre); }

/* Category */
.mc { padding-block: clamp(48px, 6vw, 80px) 0; }
.mc:last-of-type { padding-bottom: 0; }
.mc-band {
  position: relative; display: grid; gap: 28px 56px; align-items: center;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 64px); border-radius: 24px;
  background: var(--crema-2); color: var(--marron); isolation: isolate;
}
.mc-band.has-photo { margin-top: 72px; }
@media (min-width: 760px) {
  .mc-band.has-photo { grid-template-columns: minmax(0, 1fr) 260px; margin-top: 96px; }
  .mc-band.has-photo.is-flip { grid-template-columns: 260px minmax(0, 1fr); }
  .mc-band.has-photo .mc-photo { order: 2; }
  .mc-band.has-photo.is-flip .mc-photo { order: -1; }
}
.mc-photo { position: relative; width: 260px; height: 325px; min-height: 0; margin-top: calc(clamp(28px, 4vw, 52px) * -1 - 64px); }
.mc-photo::before {
  content: ''; position: absolute; inset: 0; border: 1.5px solid var(--ocre); border-radius: 999px 999px 22px 22px;
  transform: translate(14px, 14px); transition: transform 0.8s var(--ease);
}
.mc-band.is-flip .mc-photo::before { transform: translate(-14px, 14px); }
.mc-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 22px 22px;
  box-shadow: 0 28px 50px -28px rgb(42 33 29 / 0.55);
}
@media (max-width: 759px) {
  .mc-photo { width: 200px; height: 250px; justify-self: center; margin-top: -88px; }
  .mc-band.has-photo .mc-title { text-align: center; }
  .mc-band.has-photo .mc-title h2::after { margin-inline: auto; }
  .mc-band.has-photo .mc-desc { margin-inline: auto; }
}
.mc-title { max-width: 560px; }
.mc-n { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; color: var(--ocre); }
.mc-title h2 { margin-top: 8px; font-family: var(--display); font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 0.98; }
.mc-title h2::after { content: ''; display: block; width: 56px; height: 2px; margin-top: 18px; background: var(--ocre); }
.mc-desc { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; max-width: 44ch; }
.mc-off { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: var(--ocre); color: var(--crema); font-weight: 700; font-size: 0.9rem; }
.mc-off .ic { width: 16px; height: 16px; color: var(--crema); }

.mc-body { max-width: 1040px; margin: 0 auto; padding-top: clamp(32px, 4vw, 48px); }
.mc-group { display: flex; align-items: center; gap: 16px; margin: 8px 0 18px; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; text-align: center; }
.mc-group::before, .mc-group::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.mc-group span { padding: 0 4px; }
.mgroup + .mgroup { margin-top: 40px; }
.mi-list { display: grid; gap: 0 clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .mi-list { grid-template-columns: 1fr 1fr; } }
.mi { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.mi-desc { padding-right: 48px; }
.mi-top { display: flex; align-items: center; gap: 10px; }
.mi-top .add-sm { margin-left: 4px; }
.mi h4 { font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.45rem); font-weight: 400; line-height: 1.15; }
.leader { flex: 1; min-width: 20px; align-self: flex-end; margin-bottom: 0.55em; border-bottom: 1.5px dotted rgb(66 53 47 / 0.35); }
.mi .price b { font-size: 1.05rem; }
.mi-desc { margin-top: 4px; font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.mi-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-top: 6px; }
.mi-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.mi-tags span { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olivo); }
.mi-tags span.is-off { color: var(--verde); }
.mi-tags .ic { width: 14px; height: 14px; color: var(--ocre); }
.mi.is-out { opacity: 0.55; }
.mi.is-out h4 { text-decoration: line-through; text-decoration-color: rgb(66 53 47 / 0.4); }
.add-sm { width: 34px; height: 34px; margin-left: auto; border-radius: 50%; background: transparent; color: var(--marron); border: 1.5px solid var(--marron); }
.add-sm .ic { width: 16px; height: 16px; }
.add-sm:hover { background: var(--marron); color: var(--crema); }
.add-sm.is-added { background: var(--verde); border-color: var(--verde); color: var(--crema); }
.mi .soldout { margin-left: auto; }
.flv { margin-bottom: 36px; }
.flv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; padding: 20px 24px; border-radius: var(--r); background: var(--crema-2); text-align: center; font-family: var(--display); font-size: 1.15rem; }
@media (min-width: 640px) { .flv-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .flv-list { grid-template-columns: repeat(4, 1fr); } }
.menu-end { display: grid; justify-items: center; gap: 14px; padding-block: clamp(56px, 7vw, 96px); color: var(--ink-2); font-size: 0.95rem; text-align: center; }
.menu-end img { width: 40px; height: auto; }

/* Flavour picker dialog */
.pick {
  width: min(600px, 94vw); max-height: min(720px, 92vh); padding: 0; border: 0; border-radius: 22px;
  background: var(--crema); color: var(--marron); box-shadow: 0 40px 80px -30px rgb(42 33 29 / 0.6);
}
.pick[open] { animation: pick-in 0.45s var(--ease); }
@keyframes pick-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.pick::backdrop { background: rgb(42 33 29 / 0.6); backdrop-filter: blur(3px); }
.pick form { display: flex; flex-direction: column; max-height: inherit; }
.pick-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 64px 18px 24px; background: var(--marron); color: var(--crema); }
.pick-head img { width: 40px; height: auto; flex: none; }
.pick-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ocre); }
.pick h2 { margin-top: 2px; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.05; }
.pick-x { position: absolute; top: 50%; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; margin-top: -19px; border: 1px solid rgb(244 237 217 / 0.3); border-radius: 50%; background: none; color: var(--crema); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pick-x:hover { background: var(--crema); color: var(--marron); }
.pick-meter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px 4px; }
.pick-sub { font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.pick-dots { display: flex; gap: 6px; }
.pick-dots li { width: 26px; height: 6px; border-radius: 999px; background: var(--line); transition: background-color 0.3s; }
.pick-dots li.is-on { background: var(--ocre); }
.flavors { display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 8px; flex: 1 1 auto; min-height: 0; min-inline-size: 0; margin: 0; padding: 14px 24px 20px; border: 0; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 520px) { .flavors { grid-template-columns: 1fr 1fr; } }
.flavor { position: relative; display: flex; align-items: center; min-height: 48px; padding: 8px 40px 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--crema-2); cursor: pointer; transition: background-color 0.25s, border-color 0.25s, color 0.25s, opacity 0.25s, transform 0.2s; }
.flavor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.flavor-t { font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.flavor-n { position: absolute; right: 10px; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -12px; border: 1.5px solid var(--line); border-radius: 50%; font-size: 0.75rem; transition: all 0.25s var(--ease); }
.flavor:hover { border-color: var(--marron); }
.flavor:active { transform: scale(0.97); }
.flavor.is-on { background: var(--marron); border-color: var(--marron); color: var(--crema); }
.flavor.is-on .flavor-n { border-color: var(--ocre); background: var(--ocre); color: var(--crema); }
.flavor:has(input:disabled) { opacity: 0.4; cursor: not-allowed; }
.flavor:has(input:focus-visible) { outline: 2px solid var(--ocre); outline-offset: 2px; }
.pick-foot { position: relative; z-index: 1; flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 24px 20px; border-top: 1px solid var(--line); background: var(--crema-2); }
.pick-sum { flex: 1 1 200px; color: var(--ink-2); font-size: 0.9rem; }
.pick-btns { display: flex; gap: 10px; }
@media (max-width: 520px) { .pick-head { padding: 18px 60px 16px 18px; } .pick-meter, .flavors, .pick-foot { padding-inline: 18px; } .pick-btns { width: 100%; } .pick-btns .btn { flex: 1; padding-inline: 10px; white-space: nowrap; } }
