/* ==========================================================================
   Dòk Mái Cha · Estilos
   Concepto: casa de té tailandesa en el trópico. Arcos de templo como marcos,
   la flor de seis pétalos como ornamento, fondo papel de arroz rosado,
   el rojo de la marca solo para acciones y una franja oscura laqueada
   para la Golden 5. Los pasteles vienen de las etiquetas del menú impreso.
   ========================================================================== */
:root {
  /* Color */
  --red: #E00E0B;
  --red-deep: #B50B08;
  --ink: #2B1418;          /* laca ciruela-café */
  --ink-2: #4E3238;
  --muted: #7C6266;
  --paper: #FFF6F3;        /* papel de arroz rosado */
  --white: #FFFFFF;
  --blush: #FBE3DC;
  --line: #EFD8D1;
  --gold: #E3B448;
  --gold-soft: #FBEDCB;
  --matcha: #7FA58C;
  --matcha-soft: #E2EDE3;
  --sky: #8FAEDC;
  --sky-soft: #E2EAF6;
  --taro: #B39DD6;
  --taro-soft: #ECE4F6;
  --mango: #F2B54A;
  --mango-soft: #FDEFD3;
  --latte: #C49E80;
  --latte-soft: #F3E7DC;

  /* Tipografía */
  --f-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-accent: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-thai: "Mitr", "Noto Sans Thai", "Leelawadee UI", sans-serif;

  --step--1: .84rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  --step-4: clamp(3.2rem, 2rem + 6vw, 6.6rem);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(43, 20, 24, .35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg%3E%3Cellipse rx='3.4' ry='6.6' cy='-5'/%3E%3Cellipse rx='3.4' ry='6.6' cy='-5' transform='rotate(60)'/%3E%3Cellipse rx='3.4' ry='6.6' cy='-5' transform='rotate(120)'/%3E%3Cellipse rx='3.4' ry='6.6' cy='-5' transform='rotate(180)'/%3E%3Cellipse rx='3.4' ry='6.6' cy='-5' transform='rotate(240)'/%3E%3Cellipse rx='3.4' ry='6.6' cy='-5' transform='rotate(300)'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.05; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
em { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1 em, h2 em { color: var(--red); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }

/* Flor de seis pétalos (ornamento de marca) */
.flower {
  display: inline-block; width: 1em; height: 1em; flex: none;
  background: currentColor;
  -webkit-mask: var(--flower) center / contain no-repeat;
          mask: var(--flower) center / contain no-repeat;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: var(--blush); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -12px rgba(224, 14, 11, .8); }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-link {
  background: none; border: 0; padding: 8px 4px; width: 100%;
  font-weight: 600; font-size: .92rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px;
}
.btn-link--muted { color: var(--muted); font-weight: 500; font-size: .85rem; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--red); }
.link-arrow::after { content: " →"; }

.chip {
  display: inline-flex; align-items: center; padding: .3em .9em; border-radius: 999px;
  font-size: .85rem; font-weight: 600; background: var(--white); border: 1px solid var(--line);
}
.chip--matcha { background: var(--matcha-soft); border-color: transparent; color: #33533F; }

/* ---------- Barra de avisos ---------- */
.topbar { background: var(--red); color: var(--white); font-size: .82rem; font-weight: 600; overflow: hidden; white-space: nowrap; }
.topbar__track { display: inline-flex; align-items: center; gap: 22px; padding: 8px 0; animation: marquee 38s linear infinite; padding-left: 100%; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(255, 246, 243, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(43, 20, 24, .5); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { height: 46px; width: auto; }
.brand__word { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--red); }
.brand__word--light { color: var(--white); font-size: 1.6rem; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav a:hover, .nav a.is-active { background: var(--blush); color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .header__actions { margin-left: 0; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  color: var(--ink); background: var(--white); border: 1px solid var(--line); text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--matcha-soft); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 16px;
  border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font-weight: 700;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: var(--red); font-size: .85rem; font-variant-numeric: tabular-nums;
}
.cart-btn.is-bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Arco (marco de templo) ---------- */
.arch {
  position: relative; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--tone-soft, var(--blush));
  isolation: isolate;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
[data-tone="gold"]   { --tone: var(--gold);   --tone-soft: var(--gold-soft); }
[data-tone="matcha"] { --tone: var(--matcha); --tone-soft: var(--matcha-soft); }
[data-tone="blush"]  { --tone: #E9A190;       --tone-soft: var(--blush); }
[data-tone="sky"]    { --tone: var(--sky);    --tone-soft: var(--sky-soft); }
[data-tone="taro"]   { --tone: var(--taro);   --tone-soft: var(--taro-soft); }
[data-tone="mango"]  { --tone: var(--mango);  --tone-soft: var(--mango-soft); }
[data-tone="latte"]  { --tone: var(--latte);  --tone-soft: var(--latte-soft); }

/* Fotos de bebidas (fondo blanco): se funden con el color del arco */
.arch img.is-product { object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; padding: 12% 6% 2%; }

/* ---------- Inicio: slider a pantalla completa (estilo Revolution Slider) ---------- */
.slider { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); height: clamp(540px, 88vh, 860px); }
.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; isolation: isolate; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.slide__bg { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; background: var(--tone-soft); }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 7.5s linear; }
.slide.is-active .slide__bg img { transform: scale(1.02); }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 20, 24, .7) 0%, rgba(43, 20, 24, .25) 60%, rgba(43, 20, 24, .1) 100%); }
.slide__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 80px); height: 100%; }
.slide__media {
  width: clamp(240px, 27vw, 380px); aspect-ratio: 9 / 15; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); background: var(--tone-soft);
  border: 6px solid rgba(255, 255, 255, .9); opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .9s ease .25s, transform 1.1s cubic-bezier(.2, .8, .2, 1) .25s;
}
.slide__media video, .slide__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide.is-active .slide__media { opacity: 1; transform: none; }
.slide__content { display: grid; gap: 18px; justify-items: start; padding-block: 40px 90px; min-width: 0; }
.slide__title { font-size: clamp(2.6rem, 1.6rem + 5vw, 6rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; max-width: 11ch; color: var(--white); }
.slide__title em { color: var(--gold); }
.slide__text { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); max-width: 34em; color: rgba(255, 255, 255, .9); }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* capas que entran como en Rev Slider */
.slide__content > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(1) { transition-delay: .35s; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .5s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .7s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .9s; }
.slider__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(43, 20, 24, .25); color: var(--white); font-size: 2rem; line-height: 1;
  display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s;
}
.slider__arrow:hover { background: var(--red); border-color: var(--red); }
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.slider__dots { display: flex; gap: 10px; }
.slider__dots button { width: 12px; height: 12px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); transition: width .35s, background-color .35s; }
.slider__dots button[aria-selected="true"] { width: 36px; background: var(--white); }
.slider__count { font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; font-size: .95rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); }
.slider__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); z-index: 3; }
.slider__progress span { display: block; height: 100%; width: 0; background: var(--red); }
.slider__progress span.is-running { width: 100%; transition: width var(--slide-ms, 6500ms) linear; }

/* ---------- Cuatro columnas animadas (full-width) ---------- */
.columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); }
.col { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4.4; color: var(--white); text-decoration: none; isolation: isolate; }
.col__media { position: absolute; inset: 0; z-index: -2; background: var(--tone-soft, var(--blush)); }
.col__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.col:hover .col__media video { transform: scale(1.1); }
.col::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(43, 20, 24, .75), rgba(43, 20, 24, 0) 55%); transition: background-color .4s; }
.col:hover::after { background-color: rgba(224, 14, 11, .18); }
.col__label { position: absolute; left: 22px; right: 22px; bottom: 24px; display: grid; gap: 4px; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.col__label small { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.col__label strong { font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .9vw, 1.9rem); line-height: 1.05; }
.col__label strong::after { content: " →"; opacity: 0; transition: opacity .3s; }
.col:hover .col__label { transform: translateY(-8px); }
.col:hover .col__label strong::after { opacity: 1; }
.col:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 0; }
/* entrada escalonada al hacer scroll */
.js .columns .col { opacity: 0; transform: translateY(60px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.js .columns.is-in .col { opacity: 1; transform: none; }
.js .columns.is-in .col:nth-child(2) { transition-delay: .12s; }
.js .columns.is-in .col:nth-child(3) { transition-delay: .24s; }
.js .columns.is-in .col:nth-child(4) { transition-delay: .36s; }

/* ---------- Descanso visual (después de las 4 columnas) ---------- */
.pause { background: var(--paper); padding-block: clamp(72px, 10vw, 128px); text-align: center; }
.pause__head { display: grid; gap: 14px; justify-items: center; max-width: 720px; margin-inline: auto; }
.pause__thai { font-family: var(--f-thai); font-weight: 300; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: var(--red); }
.pause__head h2 { font-size: var(--step-3); }
.pause__head p { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.pause__facts {
  margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.pause__facts div { padding: 28px 16px; display: grid; gap: 6px; justify-items: center; align-content: start; }
.pause__facts div + div { border-left: 1px solid var(--line); }
.pause__facts dt { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.pause__facts dd { margin: 0; font-size: .92rem; color: var(--ink-2); max-width: 18ch; }
.pause__list { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); text-align: left; }
.pause__list li { display: grid; gap: 8px; align-content: start; }
.pause__list svg { width: 40px; height: 40px; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pause__list h3 { font-size: 1.1rem; }
.pause__list p { font-size: .92rem; color: var(--muted); }

/* ---------- Ordena aquí (página principal → tienda.html) ---------- */
.order-cta { background: var(--ink); color: var(--white); padding-block: clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.order-cta::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; top: -200px; background: var(--red); opacity: .12; -webkit-mask: var(--flower) center / contain no-repeat; mask: var(--flower) center / contain no-repeat; }
.order-cta__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.order-cta__copy { display: grid; gap: 18px; justify-items: start; }
.order-cta__copy h2 { color: var(--white); font-size: var(--step-4); line-height: .9; letter-spacing: -.045em; }
.order-cta__copy h2 em { color: var(--gold); }
.order-cta__copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 30em; }
.order-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn--lg { min-height: 58px; padding: 0 1.9em; font-size: 1.08rem; }
.order-cta__drinks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; text-decoration: none; }
.order-cta__drinks .arch { aspect-ratio: 3 / 4.4; border: 3px solid rgba(255, 255, 255, .12); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.order-cta__drinks .arch:nth-child(even) { transform: translateY(-28px); }
.order-cta__drinks:hover .arch { transform: translateY(-10px); }
.order-cta__drinks:hover .arch:nth-child(even) { transform: translateY(-38px); }
.cart-btn--order { text-decoration: none; padding: 0 18px 0 14px; }

/* ---------- Tienda: encabezado ---------- */
.shop-hero { background: var(--red); color: var(--white); padding-block: clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.shop-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -150px; background: var(--white); opacity: .1; -webkit-mask: var(--flower) center / contain no-repeat; mask: var(--flower) center / contain no-repeat; }
.shop-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.shop-hero__copy { display: grid; gap: 16px; justify-items: start; }
.shop-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; color: var(--white); }
.shop-hero h1 em { color: var(--gold-soft); }
.shop-hero__copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .9); font-size: 1.08rem; max-width: 32em; }
.shop-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.shop-steps li { counter-increment: st; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 14px 16px; }
.shop-steps li::before { content: counter(st); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--red); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; }
.shop-steps strong { font-family: var(--f-display); font-size: 1.08rem; }
.shop-steps span { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.shop .menu { border-radius: 0; }

/* ---------- Encabezados de sección ---------- */
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section-head--light h2 { color: var(--white); }
.section-head--light h2 em { color: var(--gold); }
.section-head--light p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.section-head--row { max-width: none; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 12px 40px; }

/* ---------- Golden 5 ---------- */
.golden {
  background: var(--ink); color: var(--white); padding-block: clamp(56px, 8vw, 96px);
  position: relative; overflow: hidden;
}
.golden::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -160px; opacity: .06;
  background: var(--gold);
  -webkit-mask: var(--flower) center / contain no-repeat; mask: var(--flower) center / contain no-repeat;
}
.golden__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.gcard {
  position: relative; display: flex; flex-direction: column; gap: 12px; text-align: left;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  padding: 12px 12px 16px; color: inherit; transition: transform .25s, background-color .25s;
}
.gcard:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.gcard__media { aspect-ratio: 3 / 4; }
.gcard__rank {
  position: absolute; top: 4px; left: 14px; z-index: 2; font-family: var(--f-display); font-weight: 800;
  font-size: 3.6rem; line-height: 1; color: var(--gold); text-shadow: 0 2px 18px rgba(43, 20, 24, .4);
}
.gcard__series { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.gcard h3 { font-size: 1.25rem; }
.gcard p { font-size: .88rem; color: rgba(255, 255, 255, .7); line-height: 1.45; }
.gcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.gcard__price { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }

.add-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
  background: var(--red); color: var(--white); font-weight: 700; font-size: .9rem; transition: background-color .2s, transform .2s;
}
.add-btn:hover { background: var(--red-deep); transform: scale(1.04); }
.add-btn svg { width: 16px; height: 16px; }

.golden__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.golden__badge { width: clamp(120px, 16vw, 210px); height: auto; flex: none; margin-bottom: clamp(24px, 4vw, 40px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); animation: spin-in 1.2s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes spin-in { from { transform: rotate(-25deg) scale(.9); } }

/* ---------- Galería 4 bloques (full-width) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); }
.gallery__item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--tone-soft, var(--blush)); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__label {
  position: absolute; left: 16px; right: auto; bottom: 16px; max-width: calc(100% - 32px); display: grid; gap: 2px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 18px; padding: 14px 16px; transition: transform .35s ease;
}
.gallery__label small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.gallery__label strong { font-family: var(--f-display); font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); line-height: 1.1; }
.gallery__label em { font-family: var(--f-body); font-style: normal; font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.gallery__label em::after { content: " →"; transition: margin .2s; }
.gallery__item:hover .gallery__label { transform: translateY(-6px); }
.gallery__item:hover .gallery__label em::after { margin-left: 4px; }
.gallery__item:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; border-radius: 0; }

/* ---------- Parallax (full-width) ---------- */
.parallax { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--red); min-height: clamp(440px, 72vh, 680px); display: grid; align-items: center; padding-block: 72px; }
.parallax__bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.parallax__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.parallax::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 20, 24, .5) 0%, rgba(43, 20, 24, .18) 55%, rgba(43, 20, 24, 0) 80%); }
.parallax__content { display: grid; gap: 18px; justify-items: start; }
.parallax__content h2 { color: var(--white); font-size: var(--step-4); line-height: .92; letter-spacing: -.04em; max-width: 9ch; }
.parallax__content h2 em { color: var(--white); }
.parallax__content > p:not(.eyebrow) { max-width: 30em; font-size: 1.12rem; color: rgba(255, 255, 255, .9); }
.parallax__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--red); }
.parallax--tall { min-height: clamp(560px, 100vh, 980px); align-items: start; padding-top: clamp(80px, 14vh, 160px); }
.parallax--tall .parallax__bg img { object-position: center 62%; }
.parallax--tall::after { background: linear-gradient(180deg, rgba(43, 20, 24, .72) 0%, rgba(43, 20, 24, .35) 45%, rgba(43, 20, 24, .05) 75%) !important; }
.parallax--right .parallax__content { justify-items: end; text-align: right; }
.parallax--right .parallax__content h2 { margin-left: auto; }
.parallax--right .parallax__bg img { object-position: 30% 35%; }
.parallax--right::after { background: linear-gradient(270deg, rgba(20, 8, 10, .82) 0%, rgba(20, 8, 10, .45) 40%, rgba(20, 8, 10, 0) 70%); }
/* Talleres: videos reales */
.workshops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.workshop { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); aspect-ratio: 4 / 4.2; isolation: isolate; }
.workshop__media { position: absolute; inset: 0; z-index: -1; }
.workshop__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.workshop::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(43, 20, 24, .8), rgba(43, 20, 24, 0) 55%); }
.workshop figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 4px; }
.workshop strong { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); }
.workshop span { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.parallax--tall::after { background: radial-gradient(ellipse at center, rgba(43, 20, 24, .55), rgba(43, 20, 24, .25) 70%); }
.parallax__content--center { justify-items: center; text-align: center; }
.parallax__content--center > p { max-width: 32em; }
.parallax__thai { font-family: var(--f-thai); font-weight: 300; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); color: var(--gold); }
.parallax__quote { font-family: var(--f-accent); font-style: italic; font-weight: 400; font-size: clamp(2rem, 1.2rem + 3vw, 4rem); line-height: 1.08; letter-spacing: -.01em; max-width: 24ch; color: var(--white); text-wrap: balance; }
.parallax__quote em { color: var(--gold); }
.parallax__content .parallax__quote { max-width: 24ch; }

/* ---------- Menú ---------- */
.menu { padding-block: clamp(56px, 8vw, 96px); background: var(--white); border-radius: 48px 48px 0 0; }
.menu__bar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 20;
  background: var(--white); padding-block: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-weight: 600; font-size: .92rem; color: var(--ink-2); white-space: nowrap; transition: all .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); display: inline-block; }
.legend__froz, .dot-froz {
  width: 16px !important; height: 16px !important; border-radius: 50%; background: var(--sky) !important; color: var(--white);
  font-style: normal; font-size: .62rem; font-weight: 800; display: inline-grid !important; place-items: center; font-family: var(--f-body);
}

.mgroup { margin-top: clamp(36px, 5vw, 56px); }
.mgroup__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mgroup__head h3 { font-size: var(--step-2); font-weight: 800; }
.mgroup__head p { color: var(--muted); font-size: .95rem; flex: 1 1 280px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

.pcard {
  display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  overflow: hidden; text-align: left; padding: 0; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__media { margin: 10px 10px 0; aspect-ratio: 1; border-radius: 999px 999px 16px 16px; }
.pcard__media img { transition: transform .5s ease; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__badge {
  position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--gold); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__series { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-size: 1.18rem; font-weight: 700; }
.pcard__desc { font-size: .88rem; color: var(--muted); line-height: 1.45; min-height: calc(1.45em * 3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard__price { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.dots { display: flex; align-items: center; gap: 5px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1.5px var(--white); }
.noscript { padding: 24px; background: var(--blush); border-radius: var(--radius); }

/* ---------- Reinventa ---------- */
.reinventa { padding-block: clamp(56px, 8vw, 96px); background: var(--blush); }
.reinventa__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.reinventa__intro { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--header-h) + 40px); }
.reinventa__intro h2 { font-size: var(--step-4); line-height: .92; letter-spacing: -.04em; }
.reinventa__intro p:not(.eyebrow) { color: var(--ink-2); font-size: 1.05rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; background: var(--white); padding: 22px; border-radius: var(--radius); align-items: start; }
.steps__n {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white);
  font-family: var(--f-display); font-weight: 800; font-size: 1.3rem;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: .95rem; }
.steps strong { color: var(--ink); }
.scale { display: flex; gap: 6px; margin-top: 12px; }
.scale span { height: 8px; flex: 1; max-width: 48px; border-radius: 99px; background: var(--red); }
.scale span:nth-child(1) { opacity: .25; } .scale span:nth-child(2) { opacity: .5; } .scale span:nth-child(3) { opacity: .75; }

/* ---------- Nosotros ---------- */
.about { padding-block: clamp(56px, 8vw, 96px); }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about__media { margin: 0; display: grid; gap: 14px; justify-items: center; }
.about__arch { aspect-ratio: 4 / 5; width: min(100%, 440px); box-shadow: var(--shadow); }
.about__media figcaption { font-weight: 600; color: var(--muted); font-size: .92rem; display: flex; gap: 10px; align-items: center; }
.about__media figcaption span { font-family: var(--f-thai); color: var(--red); font-size: 1.1rem; }
.about__copy { display: grid; gap: 18px; min-width: 0; }
.about__copy > p:not(.eyebrow) { color: var(--ink-2); max-width: 36em; }
blockquote {
  margin: 8px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red);
  font-family: var(--f-accent); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.3; color: var(--ink);
}
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.mv article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; }
.mv h3 { font-size: var(--step-2); color: var(--red); }
.mv p { color: var(--ink-2); }
.values { margin-top: clamp(40px, 6vw, 64px); }
.values__title { font-size: var(--step-2); margin-bottom: 18px; }
.values__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; }
.values__list li { display: grid; gap: 4px; align-content: start; padding: 16px 0; border-top: 1px solid var(--line); }
.values__list strong { font-family: var(--f-display); font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.values__list strong::before { content: ""; width: .8em; height: .8em; background: var(--red); flex: none; -webkit-mask: var(--flower) center / contain no-repeat; mask: var(--flower) center / contain no-repeat; }
.values__list span { color: var(--muted); font-size: .92rem; }

/* ---------- Talleres y Blog ---------- */
.talleres { padding-block: clamp(56px, 8vw, 96px); background: var(--matcha-soft); }
.blog { padding-block: clamp(56px, 8vw, 96px); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.soon {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); border: 1px dashed var(--line);
}
.soon__mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone); font-size: 2.2rem; }
.soon h3 { font-size: var(--step-2); margin-bottom: 6px; }
.soon p { color: var(--muted); max-width: 46em; }
.ecard { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.ecard__media { aspect-ratio: 16 / 10; background: var(--tone-soft, var(--blush)); position: relative; }
.ecard__media img { width: 100%; height: 100%; object-fit: cover; }
.ecard__date {
  position: absolute; left: 14px; top: 14px; background: var(--white); border-radius: 14px; padding: 6px 10px; text-align: center; line-height: 1;
  font-family: var(--f-display); font-weight: 800; box-shadow: var(--shadow);
}
.ecard__date b { display: block; font-size: 1.5rem; color: var(--red); }
.ecard__date small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.ecard__body { padding: 18px 20px 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.ecard__meta { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ecard__body p { color: var(--muted); font-size: .94rem; }
.ecard__foot { padding: 0 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Contacto ---------- */
.contact { background: var(--red); color: var(--white); padding-block: clamp(56px, 8vw, 96px); }
.contact__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact__how { display: grid; gap: 20px; justify-items: start; }
.contact__how h2 { color: var(--white); }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: how; width: 100%; }
.how li { counter-increment: how; display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.how li::before {
  content: counter(how); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--red);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 800;
}
.how strong { font-family: var(--f-display); font-size: 1.15rem; }
.how span { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.contact__card { font-style: normal; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: grid; gap: 8px; box-shadow: 0 30px 60px -30px rgba(43, 20, 24, .6); }
.contact__card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-family: var(--f-body); }
.contact__addr { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.contact__card hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; width: 100%; }
.contact__phone { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.socials a { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.socials a:hover { background: var(--blush); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: 56px 28px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer__brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.footer__logo { height: 64px; width: auto; }
.footer h4 { font-family: var(--f-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pay-badges span { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 3px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; font-size: .84rem;
  background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .14)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* ---------- Barra flotante móvil ---------- */
.cart-bar {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: none; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 10px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 700; box-shadow: 0 16px 40px -14px rgba(43, 20, 24, .7);
}
.cart-bar__count { min-width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cart-bar strong { margin-left: auto; font-family: var(--f-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

/* ---------- Overlays: personalizador y carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(43, 20, 24, .5); display: grid; place-items: center; padding: 20px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: relative; width: min(100%, 560px); max-height: min(92vh, 900px); background: var(--paper); border-radius: 28px;
  display: flex; flex-direction: column; overflow: hidden; animation: rise .3s cubic-bezier(.2, .9, .3, 1.1);
}
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.sheet__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--white); font-size: 1.6rem; line-height: 1; box-shadow: 0 4px 14px rgba(43, 20, 24, .18);
}
.sheet__close--static { position: static; box-shadow: none; background: var(--paper); }
.sheet__media { height: 200px; flex: none; margin: 12px 12px 0; border-radius: 999px 999px 20px 20px; }
.sheet__body { padding: 18px 22px 8px; overflow-y: auto; min-height: 0; flex: 1 1 auto; display: grid; gap: 18px; overscroll-behavior: contain; }
.sheet__series { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.sheet__name { font-size: var(--step-2); font-weight: 800; margin-top: -12px; }
.sheet__desc { color: var(--muted); margin-top: -8px; font-size: .95rem; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.opt legend { font-weight: 700; padding: 0; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.opt__hint { font-weight: 500; font-size: .8rem; color: var(--muted); }
.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input, .seg input, .tops input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--white);
  border: 1.5px solid var(--line); font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.pill small { color: var(--muted); font-weight: 600; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill input:checked + span small { color: var(--gold); }
.pill input:focus-visible + span, .seg input:focus-visible + span, .tops input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.seg label { position: relative; }
.seg span { display: grid; place-items: center; height: 36px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: all .15s; font-variant-numeric: tabular-nums; }
.seg input:checked + span { background: var(--red); color: var(--white); }
.tops__group { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 8px; }
.tops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tops label { position: relative; }
.tops span {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 14px;
  background: var(--white); border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.tops small { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.tops input:checked + span { border-color: var(--red); background: var(--blush); }
.tops input:checked + span small { color: var(--red); }
.tops input:disabled + span { opacity: .45; cursor: not-allowed; }
.sheet__foot { display: flex; gap: 12px; padding: 14px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper); }
.qty { display: inline-flex; align-items: center; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.3rem; font-weight: 700; border-radius: 999px; }
.qty output { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty--sm { height: 36px; }
.qty--sm button { width: 34px; font-size: 1.1rem; }

.overlay--side { display: flex; justify-content: flex-end; align-items: stretch; padding: 0; }
.drawer {
  width: min(100vw, 440px); height: 100%; max-height: 100%; background: var(--paper); display: flex; flex-direction: column;
  animation: slide .3s cubic-bezier(.2, .9, .3, 1);
  padding-top: env(safe-area-inset-top, 0px);
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.5rem; font-weight: 800; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 6px; }
.empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 48px 12px; color: var(--muted); }
.empty__cup { width: 104px; height: 104px; border-radius: 50%; background: var(--blush); overflow: hidden; display: grid; place-items: end center; }
.empty__cup img { width: 78%; height: 90%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
/* Bebida sin foto propia: se usa la foto de su serie */
.arch.is-sample::after {
  content: "Imagen ilustrativa"; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 2;
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; color: var(--ink-2);
  background: rgba(255, 255, 255, .88); padding: 3px 9px; border-radius: 999px;
}
.line__img.is-sample::after { display: none; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 64px; height: 76px; border-radius: 999px 999px 12px 12px; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.line__price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line__opts { margin: 4px 0 8px; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.line__actions { display: flex; align-items: center; gap: 12px; }
.line__actions .btn-link { width: auto; padding: 4px; font-size: .82rem; }
.checkout { display: grid; gap: 14px; margin-top: 18px; }
.checkout h4 { font-size: 1.1rem; }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.field em { font-family: var(--f-body); font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-weight: 500; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .is-invalid { border-color: var(--red); background: #FFF0EE; }
.field__error { color: var(--red); font-weight: 600; }
.field__note { color: var(--muted); font-weight: 500; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-cards label { position: relative; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards span { display: grid; gap: 2px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; height: 100%; }
.radio-cards small { color: var(--muted); font-weight: 500; font-size: .78rem; }
.radio-cards input:checked + span { border-color: var(--red); background: var(--blush); }
.radio-cards input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.delivery-box { display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--line); }
.field select { font: inherit; font-weight: 500; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); }
.field select:focus { outline: none; border-color: var(--ink); }
.ship-status { margin: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: .88rem; font-weight: 600; line-height: 1.35; }
.ship-status strong { font-family: var(--f-display); font-size: 1.05rem; margin-left: auto; white-space: nowrap; }
.ship-status--ok { background: var(--matcha-soft); color: #2F5138; }
.ship-status--error { background: #FFF0EE; color: var(--red-deep); }
.ship-status--wait { background: var(--paper); color: var(--muted); }
.breakdown { margin: 0 0 4px; display: grid; gap: 2px; font-size: .9rem; color: var(--muted); }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; }
.breakdown dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; color: var(--muted); }
.totals strong { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-note { font-size: .78rem; color: var(--muted); text-align: center; line-height: 1.4; }

.toast {
  position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 80;
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 16px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow); max-width: calc(100vw - 32px); text-align: center; animation: rise .25s ease;
}
.toast strong { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .golden__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 30%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .gcard { scroll-snap-align: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pause__facts, .pause__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-cta__inner, .shop-hero__inner { grid-template-columns: 1fr; }
  .order-cta__drinks { gap: 8px; }
  .cart-btn--order .cart-btn__label { display: inline; }
  .pause__facts div:nth-child(3) { border-left: 0; }
  .pause__facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .slider__arrow { display: none; }
  .slide::after { background: linear-gradient(0deg, rgba(43, 20, 24, .85) 0%, rgba(43, 20, 24, .45) 55%, rgba(43, 20, 24, .2) 100%); }
  .slide__inner { grid-template-columns: 1fr; align-items: end; }
  .slide__media { position: absolute; inset: 0; z-index: -1; width: auto; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
  .slide__bg { display: none; }
  .slide::after { z-index: -1; }
  .slide__content { padding-block: 40px 96px; }
  .workshops { grid-template-columns: 1fr; }
  .parallax--right .parallax__content { justify-items: start; text-align: left; }
  .parallax--right::after { background: linear-gradient(0deg, rgba(20, 8, 10, .85), rgba(20, 8, 10, .3)); }
  .parallax__bg img { object-position: 100% center; }
  .parallax::after { background: linear-gradient(180deg, rgba(43, 20, 24, .5), rgba(43, 20, 24, .72)); }
  .nav {
    position: fixed; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 34px); left: 12px; right: 12px; flex-direction: column; gap: 2px; margin: 0;
    background: var(--white); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); border: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .header.is-scrolled .nav { top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 8px); }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 16px; font-size: 1.05rem; }
  .menu-toggle { display: block; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 6px 0 12px; }
  .reinventa__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .reinventa__intro { position: static; }
  .section-head--row { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
  .menu { border-radius: 32px 32px 0 0; }
  .cart-bar:not([hidden]) { display: flex; }
}
@media (max-width: 560px) {
  .brand__logo { height: 38px; }
  .icon-btn { display: none; }
  .golden__row { grid-auto-columns: 78%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard__media { margin: 6px 6px 0; }
  .pcard__body { padding: 10px 10px 12px; }
  .pcard__name { font-size: 1rem; }
  .pcard__desc { -webkit-line-clamp: 2; font-size: .8rem; min-height: calc(1.45em * 2); }
  .pcard__price { font-size: 1.05rem; }
  .pcard .add-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .pcard .add-btn span { display: none; }
  .pcard__badge { top: 12px; right: 12px; }
  .soon { grid-template-columns: 1fr; justify-items: start; }
  .golden__badge { width: 96px; }
  .gallery__label { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 8px 12px; border-radius: 14px; }
  .gallery__label em { display: none; }
  .col { aspect-ratio: 3 / 4; }
  .col__label { left: 12px; right: 12px; bottom: 14px; }
  .col__label small { font-size: .62rem; letter-spacing: .08em; }
  .slider__nav { bottom: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .overlay:not(.overlay--side) { padding: 0; place-items: end stretch; }
  .sheet { width: 100%; max-height: 94vh; border-radius: 28px 28px 0 0; }
  .sheet__media { height: 150px; }
  .opt-row { grid-template-columns: 1fr; }
  .tops { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .topbar__track { animation: none; padding-left: 16px; }
  .slide__content > * { opacity: 1; transform: none; }
  .js .columns .col { opacity: 1; transform: none; }
}
