:root {
  --green: #27C24C;
  --green-deep: #1A9A3A;
  --cream: #F7EBD0;
  --paper: #FFFBF1;
  --ink: #141210;
  --ink-soft: #3A332B;
  --yellow: #FFD43B;
  --orange: #FF5B1F;
  --purple: #5B3DF0;
  --lime: #DDF247;

  --f-display: "Dela Gothic One", "Arial Black", sans-serif;
  --f-text: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", monospace;

  --line: 3px;
  --r: 20px;
  --r-sm: 14px;
  --lift: 6px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--cream); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, input, select, textarea, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html:has(dialog[open]) { overflow: hidden; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--lime); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--lime); border: var(--line) solid var(--ink); border-radius: 999px; font-weight: 700; transform: translateY(-160%); transition: transform .2s var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- sticker primitives ---------- */
.btn {
  --bg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.3em;
  background: var(--bg); color: var(--ink);
  border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font: 700 1.0625rem/1 var(--f-text); text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
  touch-action: manipulation;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); transition-duration: .06s; }
.btn-ink { --bg: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--cream); }
.btn-ink:active { box-shadow: 1px 1px 0 var(--cream); }
.btn-cream { --bg: var(--cream); }
.btn-orange { --bg: var(--orange); }
.btn-lime { --bg: var(--lime); }
.btn-wa { --bg: var(--green); width: 100%; }

.price { font: 600 1rem/1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- floating controls ---------- */
.lang {
  position: fixed; z-index: 40;
  top: calc(12px + var(--safe-t)); right: 12px;
  display: flex; padding: 3px; gap: 2px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
}
.lang button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; min-width: 44px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent;
  font: 700 .8125rem/1 var(--f-text); letter-spacing: .02em;
  transition: background-color .2s, color .2s;
}
.lang { transition: transform .35s var(--ease-out); }
.lang-away .lang { transform: translateY(calc(-100% - 20px - var(--safe-t))); }
.lang button svg { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1.5px var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.lang button[aria-pressed="false"]:hover { background: var(--cream); }

.fab {
  position: fixed; z-index: 40;
  bottom: calc(16px + var(--safe-b));
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink); text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  touch-action: manipulation;
}
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: translate(-2px, -2px) rotate(-4deg); box-shadow: 6px 6px 0 var(--ink); }
.fab:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.fab-wa { left: 16px; background: var(--green); width: 54px; height: 54px; transition: transform .3s var(--ease-out), box-shadow .2s var(--ease-out); }
.contact-in-view .fab-wa { transform: scale(0); pointer-events: none; }
.fab-wa svg { width: 26px; height: 26px; }
.fab-ig { left: 19px; bottom: calc(82px + var(--safe-b)); width: 48px; height: 48px; background: var(--cream); }
.fab-ig svg { width: 24px; height: 24px; }
.fab-ig { transition: transform .3s var(--ease-out), box-shadow .2s var(--ease-out); }
.contact-in-view .fab-ig { transform: scale(0); pointer-events: none; }
.fab-cart { right: 16px; background: var(--orange); width: 66px; height: 66px; }
.fab-cart svg { width: 30px; height: 30px; }
.badge {
  position: absolute; top: -8px; right: -8px;
  min-width: 28px; height: 28px; padding: 0 7px;
  display: grid; place-items: center;
  background: var(--lime); border: var(--line) solid var(--ink); border-radius: 999px;
  font: 600 .8125rem/1 var(--f-mono); font-variant-numeric: tabular-nums;
  transform: scale(0); transition: transform .3s var(--ease-out);
}
.badge:not([data-count="0"]) { transform: scale(1); }
.fab-cart.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1); } }

.flyer {
  position: fixed; z-index: 60; left: 0; top: 0;
  width: 64px; height: 64px; border-radius: 50%;
  border: var(--line) solid var(--ink); object-fit: cover;
  pointer-events: none; will-change: transform;
}

.toast {
  position: fixed; z-index: 50; left: 50%; bottom: calc(96px + var(--safe-b));
  max-width: calc(100% - 32px); padding: 10px 18px;
  background: var(--ink); color: var(--cream); border-radius: 999px;
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; grid-template-rows: auto minmax(34svh, 1fr) auto;
  background: var(--green);
  overflow: hidden;
}
#kokoro3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; touch-action: pan-y; }
.hero-fallback {
  position: absolute; z-index: -2;
  left: 50%; top: 30%; width: min(62vw, 360px); height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-6deg);
  filter: drop-shadow(8px 8px 0 var(--ink));
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.webgl-ready .hero-fallback { opacity: 0; transform: translate(-50%, -50%) scale(.8); }

.topbar {
  display: flex; align-items: center; gap: 24px;
  padding: calc(14px + var(--safe-t)) var(--gutter) 0;
  padding-right: 150px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.25rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.brand svg { width: 42px; height: 42px; }
.topbar ul { display: none; gap: 6px; margin-left: auto; }
.topbar-ig { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; text-decoration: none; transition: background-color .2s; }
.topbar-ig svg { width: 26px; height: 26px; }
.topbar-ig span { display: none; }
.topbar-ig:hover { background: rgb(20 18 16 / .1); }
.wide-only { display: none; }
.topbar ul a { display: inline-block; padding: 10px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background-color .2s; }
.topbar ul a:hover { background: rgb(20 18 16 / .1); }

.hero-copy {
  grid-row: 3;
  padding: 0 var(--gutter) 28px;
  display: grid; gap: 14px;
}
.hero h1 { font-size: clamp(2.35rem, 4.2vw + 1.2rem, 5.25rem); max-width: 13ch; }
.hero .lede { font-size: 1.125rem; font-weight: 500; max-width: 40ch; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .875rem; background: rgb(255 251 241 / .55); }

/* hero load sequence (content visible by default; only animates when JS marks ready) */
.js .hero-copy > * { animation: rise .9s var(--ease-out) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .22s; }
.js .hero-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; border-block: var(--line) solid var(--ink); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 22px 16px 0; font: 400 clamp(1rem, 1.2vw + .7rem, 1.4rem)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--cream); }
.marquee-track span:nth-child(3n+2)::after { background: var(--yellow); }
.marquee-track span:nth-child(3n)::after { background: var(--orange); }

/* ---------- sections ---------- */
main > section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2, main h2 { font-size: clamp(2.25rem, 3.6vw + 1.1rem, 4.5rem); }
.section-head p { max-width: 52ch; font-weight: 500; }
.lede { font-size: 1.125rem; max-width: 46ch; }

/* ---------- menu ---------- */
.menu { background: var(--yellow); }
.group-title {
  display: inline-block; margin: 8px 0 18px;
  font-size: 1.25rem; padding: 8px 16px;
  background: var(--ink); color: var(--yellow); border-radius: 999px;
  transform: rotate(-1.5deg);
}
.dishes + .group-title { margin-top: 48px; }
.dishes { display: grid; gap: 16px; perspective: 1200px; }

.dish {
  display: grid; grid-template-columns: 112px 1fr; gap: 0;
  background: var(--paper);
  border: var(--line) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--lift) var(--lift) 0 var(--ink);
  overflow: hidden;
  transform-origin: 50% 100%;
}
.dish-photo { position: relative; border-right: var(--line) solid var(--ink); background: #2a2a2a; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.dish-body { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; padding: 12px 12px 12px 14px; min-width: 0; }
.dish h4 { margin: 0; font: 400 1.25rem/1.05 var(--f-display); letter-spacing: -.01em; }
.dish p { font-size: .9375rem; line-height: 1.4; color: var(--ink-soft); }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.dish .btn { min-height: 44px; padding: .55em .95em; font-size: .9375rem; box-shadow: 3px 3px 0 var(--ink); }
.dish .btn:hover { box-shadow: 5px 5px 0 var(--ink); }
.dish .btn:active { box-shadow: 0 0 0 var(--ink); }
.dish.in-cart .dish-photo::after {
  content: attr(data-qty);
  position: absolute; top: 8px; left: 8px;
  min-width: 30px; height: 30px; padding: 0 8px; display: grid; place-items: center;
  background: var(--lime); border: var(--line) solid var(--ink); border-radius: 999px;
  font: 600 .8125rem/1 var(--f-mono);
}

/* 3D peel-in for revealed elements; visible by default without JS */
.js [data-reveal], .js .dish { transition: transform .9s var(--ease-out), opacity .6s var(--ease-out); }
.js .reveal-wait { opacity: 0; transform: rotateX(38deg) translateY(40px) scale(.96); }
.js [data-reveal].reveal-wait { transform: translateY(40px) rotate(-2deg); }
.js .reveal-wait { will-change: transform, opacity; }
@media (max-width: 899px) {
  /* Móvil: mismo efecto 3D, más corto y suave; nunca baja de 0.2 de opacidad */
  .js [data-reveal], .js .dish { transition-duration: .55s, .4s; }
  .js .reveal-wait { opacity: .2; transform: rotateX(20deg) translateY(26px); }
  .js [data-reveal].reveal-wait { transform: translateY(26px) rotate(-1.5deg); }
}

/* ---------- dubai ---------- */
.dubai { background: var(--purple); color: var(--cream); }
.dubai-grid { display: grid; gap: 40px; align-items: center; }
.dubai h2 { color: var(--lime); font-size: clamp(3rem, 6vw + 1rem, 6rem); }
.dubai .lede { margin-top: 18px; color: var(--cream); }
.buy { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.buy .price { font-size: 1.5rem; color: var(--lime); }
.dubai-photos { position: relative; height: clamp(340px, 90vw, 560px); }
.dubai-photos img, .story-photos img {
  position: absolute; border: var(--line) solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--ink); object-fit: cover;
}
.dubai-photos .ph-a { width: 72%; aspect-ratio: 1; left: 0; top: 0; transform: rotate(-4deg); }
.dubai-photos .ph-b { width: 50%; aspect-ratio: 4 / 5; right: 0; bottom: 0; transform: rotate(5deg); }

/* ---------- how ---------- */
.how { background: var(--ink); color: var(--cream); }
.how h2 { margin-bottom: 36px; }
.steps { display: grid; counter-reset: step; border: var(--line) solid var(--cream); border-radius: var(--r); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; row-gap: 4px;
  padding: 22px 20px;
}
.steps li + li { border-top: 2px dashed rgb(247 235 208 / .45); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--orange); color: var(--ink); border: var(--line) solid var(--cream);
  font: 400 1.75rem/1 var(--f-display);
}
.steps li:nth-child(2)::before { background: var(--yellow); }
.steps li:nth-child(3)::before { background: var(--green); }
.steps strong { font: 400 1.5rem/1.1 var(--f-display); color: var(--cream); }
.steps span { color: #D9CFBA; }

/* ---------- story ---------- */
.story { background: var(--cream); }
.story-grid { display: grid; gap: 48px; }
.story .lede { margin-top: 18px; }
.timeline { margin-top: 32px; display: grid; gap: 0; border-left: var(--line) solid var(--ink); margin-left: 10px; }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -12px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); border: var(--line) solid var(--ink);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--orange); width: 24px; height: 24px; left: -15px; }
.timeline strong { display: block; font: 400 1.25rem/1.15 var(--f-display); }
.timeline time { font: 600 1rem/1.2 var(--f-text); white-space: nowrap; }
.timeline span { display: block; margin-top: 4px; color: var(--ink-soft); }
.owner-quote { margin: 36px 0 0; padding: 22px 24px; background: var(--ink); color: var(--cream); border-radius: var(--r); transform: rotate(-1deg); max-width: 30rem; }
.owner-quote p { font: 400 clamp(1.5rem, 1.5vw + 1rem, 2rem)/1.15 var(--f-display); color: var(--lime); }
.owner-quote footer { margin-top: 8px; font-weight: 600; color: #D9CFBA; }
.story-photos { position: relative; height: clamp(420px, 120vw, 640px); }
.story-photos .ph-a { width: 64%; aspect-ratio: 4 / 5; left: 0; top: 0; transform: rotate(-3deg); }
.story-photos .ph-b { width: 56%; aspect-ratio: 4 / 5; right: 0; bottom: 0; transform: rotate(4deg); }

/* ---------- reviews ---------- */
.reviews { background: var(--orange); }
.reviews h2 { margin-bottom: 36px; max-width: 14ch; }
.quotes { display: grid; gap: 22px; }
.quote {
  position: relative; margin: 0; padding: 22px 22px 18px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--lift) var(--lift) 0 var(--ink);
}
.quote::after {
  content: ""; position: absolute; left: 28px; bottom: -17px;
  width: 26px; height: 26px; background: var(--paper);
  border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink);
  transform: skewY(40deg) rotate(30deg);
}
.quote blockquote { margin: 0; font: 600 1.3125rem/1.3 var(--f-text); }
.quote figcaption { margin-top: 12px; font: 600 .9375rem/1.3 var(--f-text); color: var(--ink-soft); }
.quotes-note { margin-top: 44px; font-weight: 600; max-width: 60ch; }

/* ---------- events ---------- */
.events { background: var(--green); }
.events-grid { display: grid; gap: 36px; align-items: start; }
.events .lede { margin-top: 18px; }
.events-form {
  display: grid; gap: 16px; padding: 24px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--ink);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field legend { font-weight: 700; font-size: .9375rem; }
input:not([type="radio"]), select, textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--r-sm);
  font-size: 1rem; caret-color: var(--orange);
  transition: box-shadow .15s;
}
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--lime), 0 0 0 6px var(--ink); border-radius: var(--r-sm); }
input::placeholder, textarea::placeholder { color: #6E655A; }
input[aria-invalid="true"] { border-color: #C2185B; box-shadow: 0 0 0 3px rgb(194 24 91 / .25); }
.err { color: #A3124A; font-weight: 600; font-size: .9375rem; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { margin-bottom: 6px; width: 100%; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; transition: background-color .15s; }
.choice input:checked + span { background: var(--ink); color: var(--cream); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--lime), 0 0 0 6px var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(64px, 9vw, 110px) 0 calc(170px + var(--safe-b)); }
.footer-grid { display: grid; gap: 36px; }
.footer-big { display: flex; align-items: center; gap: 18px; }
.footer-mark { width: clamp(84px, 14vw, 140px); height: auto; aspect-ratio: 1; flex: none; transform: rotate(-8deg); }
.footer-title { font: 400 clamp(2.4rem, 5vw + 1rem, 5rem)/1 var(--f-display); color: var(--cream); }
.contact { display: grid; gap: 12px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border: var(--line) solid var(--cream); border-radius: var(--r);
  text-decoration: none; font: 600 1.125rem/1.2 var(--f-text);
  transition: background-color .2s, color .2s, transform .2s var(--ease-out);
}
.contact-link svg { width: 30px; height: 30px; flex: none; }
.contact-link:hover { background: var(--cream); color: var(--ink); transform: translate(-2px, -2px); }
.footer-facts { display: grid; gap: 14px; margin: 0; }
.footer-facts dt { font: 700 .9375rem/1.4 var(--f-text); color: var(--lime); }
.footer-facts dd { margin: 2px 0 0; font-weight: 600; }
.footer-small { color: #B8AE9C; font-size: .875rem; }

/* ---------- cart ---------- */
.cart {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; inset: 0;
}
.cart::backdrop { background: rgb(20 18 16 / .55); }
.cart[open] { display: flex; align-items: flex-end; }
.cart-inner {
  width: 100%; max-height: 92svh; overflow: auto; overscroll-behavior: contain;
  background: var(--paper); border: var(--line) solid var(--ink); border-bottom: 0;
  border-radius: 26px 26px 0 0;
  padding: 18px var(--gutter) calc(24px + var(--safe-b));
  animation: sheet-in .35s var(--ease-out);
}
@keyframes sheet-in { from { transform: translateY(100%); } }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-head h2 { font-size: 2rem; }
.icon-btn {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: var(--line) solid var(--ink); border-radius: 50%; background: var(--cream);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--yellow); }
.cart-empty { display: grid; gap: 18px; justify-items: start; padding: 8px 0 12px; }
.cart-empty p { font-size: 1.125rem; font-weight: 500; }
.cart.is-empty .cart-form, .cart:not(.is-empty) .cart-empty { display: none; }
.cart-form { display: grid; gap: 14px; }
.cart-items { display: grid; gap: 10px; }
.cart-item {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px;
  padding: 8px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: #fff;
}
.cart-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 2px solid var(--ink); }
.cart-item h3 { font: 400 1rem/1.1 var(--f-display); }
.cart-item .price { font-size: .8125rem; color: var(--ink-soft); }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; background: var(--cream); }
.qty button svg { width: 18px; height: 18px; }
.qty button:hover { background: var(--yellow); }
.qty output { min-width: 26px; text-align: center; font: 600 1rem/1 var(--f-mono); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0 2px; border-top: 2px dashed var(--ink); font-weight: 700; }
.cart-total .price { font-size: 1.5rem; }
.cart-note { font-size: .875rem; color: var(--ink-soft); text-align: center; }

/* ---------- breakpoints ---------- */
@media (min-width: 420px) {
  .wide-only { display: inline; }
}
@media (max-width: 899px) {
  .fab-ig { display: none; }

  /* Historia: las dos fotos lado a lado en vez de un collage alto */
  .story-photos { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .story-photos .ph-a, .story-photos .ph-b { position: static; width: 100%; aspect-ratio: 4 / 5; box-shadow: 5px 5px 0 var(--ink); }

  /* Los dos botones flotantes a la derecha: el texto alineado a la izquierda queda libre */
  .fab-wa { left: auto; right: 22px; bottom: calc(94px + var(--safe-b)); }
  .story-photos .ph-a { transform: rotate(-2deg); }
  .story-photos .ph-b { transform: rotate(2deg); margin-top: 28px; }
}
@media (max-width: 379px) {
  /* Android pequeños (360px): los dos botones del hero caben en una fila */
  .hero .actions { gap: 10px; }
  .hero .actions .btn { padding-inline: .95em; }
}
@media (max-width: 639px) {
  /* Opiniones: carrusel horizontal con la siguiente asomando, en vez de seis tarjetas apiladas */
  .quotes {
    grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 30px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quotes li { scroll-snap-align: start; display: grid; }
  .quote { height: 100%; }
  .quotes-note { margin-top: 18px; }
}
@media (min-width: 640px) {
  .dishes { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .dish { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .dish-photo { border-right: 0; border-bottom: var(--line) solid var(--ink); aspect-ratio: 1; }
  .dish-body { padding: 16px 18px 18px; gap: 8px; }
  .dish h4 { font-size: 1.5rem; }
  .dish p { font-size: 1rem; }
  .dish:hover .dish-photo img { transform: scale(1.06); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 10px; padding: 28px; }
  .steps li + li { border-top: 0; border-left: 2px dashed rgb(247 235 208 / .45); }
  .steps li::before { grid-row: auto; }
  .contact { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .cart[open] { justify-content: flex-end; align-items: stretch; }
  .cart-inner { width: min(460px, 100%); max-height: none; height: 100%; border-radius: 0; border-bottom: var(--line) solid var(--ink); border-right: 0; padding-top: 24px; animation-name: panel-in; }
  @keyframes panel-in { from { transform: translateX(100%); } }
}
@media (min-width: 900px) {
  .topbar ul { display: flex; }
  .topbar-ig { width: auto; height: 44px; margin-left: 0; padding: 0 14px 0 10px; gap: 8px; grid-auto-flow: column; border-radius: 999px; font-weight: 700; }
  .topbar-ig svg { width: 22px; height: 22px; }
  .topbar-ig span { display: inline; }
  .lang-away .lang { transform: none; }
  .hero { grid-template-columns: minmax(0, 46%) 1fr; grid-template-rows: auto 1fr; }
  .topbar { grid-column: 1 / -1; }
  .hero-copy { grid-row: 2; grid-column: 1; align-self: center; padding: 0 0 72px var(--gutter); }
  .hero .lede { font-size: 1.25rem; }
  .hero-fallback { left: 70%; top: 52%; width: min(34vw, 460px); }
  .dishes { grid-template-columns: repeat(3, 1fr); }
  .dubai-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .story-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
  .events-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .quotes li:nth-child(3n+2) .quote { transform: translateY(28px) rotate(1deg); }
  .quotes li:nth-child(3n+1) .quote { transform: rotate(-1deg); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: center; column-gap: 64px; }
  .footer-big { grid-column: 1 / -1; }
  .footer-small { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .dubai-photos { height: 600px; }
}

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