/* =============================================================
   LOS FLAMENCOS · MULTIRUBRO
   Estética: neón nocturno de barrio. Hexágono como motivo.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #0B0B0B;
  --bg-2: #141110;          /* negro cálido para separar secciones */
  --bg-3: #1D1816;
  --card: #151313;
  --cream: #F4ECE3;
  --cream-2: #EADFD2;
  --ink: #0B0B0B;
  --ink-soft: #4A403B;
  --white: #FFFFFF;
  --pink: #F2A7C3;
  --pink-2: #E87BA8;
  --muted: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --glow: 0 0 0 1px rgba(242, 167, 195, .55), 0 0 24px rgba(232, 123, 168, .35), 0 0 60px rgba(232, 123, 168, .15);

  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --hex-h: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1; font-weight: 400; }
::selection { background: var(--pink-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .7rem 1rem; background: var(--pink); color: var(--ink); border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.noscript { padding: 2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); grid-column: 1 / -1; }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--pink);
}
.eyebrow-line { width: 34px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.eyebrow-sm { font-size: .68rem; letter-spacing: .28em; }
.section-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-top: .9rem;
}
.section-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--pink);
  text-shadow: 0 0 22px rgba(232, 123, 168, .35);
}
.section-lead { color: var(--muted); max-width: 46ch; font-size: 1.02rem; }
.section-note {
  display: flex; align-items: center; gap: .9rem; max-width: 640px; margin: 0 0 2.2rem;
  padding: .9rem 1.2rem; border-left: 3px solid var(--pink); border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(232, 123, 168, .14), rgba(232, 123, 168, 0));
  font-family: "Caveat", "Segoe Print", "Comic Sans MS", cursive; font-weight: 600;
  font-size: clamp(1.35rem, 4.6vw, 1.7rem); line-height: 1.15; color: var(--pink);
}
.section-note .ico { flex-shrink: 0; width: 30px; height: 30px; color: var(--pink); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Botones --- */
.btn {
  --btn-bg: transparent;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.6rem;
  font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  border-radius: 999px;
  transition: transform .35s var(--ease-out), filter .35s var(--ease-out), background-color .3s, color .3s, box-shadow .35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { transition: transform .35s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-hex { border-radius: 0; padding: 0 2rem; }
.btn-hex::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); clip-path: var(--hex-h);
  transition: background-color .3s;
}
.btn-primary { --btn-bg: var(--pink); color: var(--ink); }
.btn-primary:hover { --btn-bg: #F7BDD3; filter: drop-shadow(0 0 14px rgba(232, 123, 168, .6)); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); box-shadow: var(--glow); }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-btn { color: var(--pink-2); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; padding: .4rem 0; }
.link-btn-muted { color: var(--muted); font-weight: 500; font-size: .82rem; margin: .4rem auto 0; display: block; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .3s, color .3s, transform .3s var(--ease-out);
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink); transform: rotate(90deg); }

/* --- Ícono dentro de hexágono --- */
.hex-ico {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 52px; flex-shrink: 0; color: var(--pink);
}
.hex-ico::before {
  content: ""; position: absolute; inset: 0; clip-path: var(--hex);
  background: linear-gradient(160deg, var(--pink), var(--pink-2));
}
.hex-ico::after {
  content: ""; position: absolute; inset: 1.5px; clip-path: var(--hex);
  background: var(--bg-2);
}
.hex-ico .ico { position: relative; z-index: 1; width: 22px; height: 22px; }

/* --- Chips (categorías y filtros) --- */
.chips { display: flex; gap: .5rem; overflow-x: auto; overflow-y: visible; scrollbar-width: none; padding: .35rem .1rem .6rem; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0;
  min-height: 44px; padding: 0 1.05rem 0 .8rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .88rem; font-weight: 500; white-space: nowrap;
  scroll-snap-align: start;
  transition: border-color .3s, background-color .3s, color .3s, box-shadow .35s var(--ease-out), transform .3s var(--ease-out);
}
.chip .ico { width: 18px; height: 18px; color: var(--pink); transition: color .3s; }
.chip:hover { border-color: var(--pink); box-shadow: 0 0 18px rgba(232, 123, 168, .25); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] {
  background: var(--pink); border-color: var(--pink); color: var(--ink);
  box-shadow: 0 0 22px rgba(232, 123, 168, .45);
}
.chip[aria-pressed="true"] .ico, .chip[aria-selected="true"] .ico { color: var(--ink); }
.chip-count { font-size: .72rem; opacity: .6; font-variant-numeric: tabular-nums; }

.chips-light { flex-wrap: wrap; overflow: visible; }
.chips-light .chip { border-color: rgba(11, 11, 11, .2); color: var(--ink); }
.chips-light .chip .ico { color: var(--pink-2); }
.chips-light .chip:hover { border-color: var(--pink-2); background: rgba(232, 123, 168, .08); }
.chips-light .chip[aria-pressed="true"] { background: var(--ink); color: var(--pink); border-color: var(--ink); box-shadow: 0 6px 20px rgba(11, 11, 11, .2); }
.chips-light .chip[aria-pressed="true"] .ico { color: var(--pink); }

/* --- Placeholders de imagen --- */
.ph {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(232, 123, 168, .16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0 28 8v16L14 32 0 24V8zM14 32v16' fill='none' stroke='%23F2A7C3' stroke-opacity='.09'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #1A1615, #100E0E);
  color: var(--pink);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-mark { position: relative; width: 74px; height: 84px; display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.ph-mark svg.ph-hex { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .7; }
.ph-mark .ico { width: 32px; height: 32px; stroke-width: 1.4; filter: drop-shadow(0 0 8px rgba(232, 123, 168, .55)); }
.ph-label { position: absolute; bottom: .7rem; left: 0; right: 0; text-align: center; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .32); }

/* --- Selector de cantidad --- */
.qty {
  display: inline-grid; grid-template-columns: 40px minmax(28px, auto) 40px; align-items: center;
  height: 44px; border: 1px solid var(--line-strong); border-radius: 999px;
}
.qty button { height: 100%; display: grid; place-items: center; color: var(--white); border-radius: 999px; transition: color .2s, background-color .2s; }
.qty button:hover { color: var(--pink); background: rgba(242, 167, 195, .08); }
.qty button .ico { width: 16px; height: 16px; }
.qty output, .qty span { text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty-sm { height: 36px; grid-template-columns: 34px minmax(22px, auto) 34px; }

/* --- Precio --- */
.price { font-family: var(--display); font-size: 1.85rem; line-height: 1; letter-spacing: .02em; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .88rem; }

/* --- Formularios --- */
.field { display: grid; gap: .35rem; margin-top: .85rem; }
.field > span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: .7rem .95rem;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 12px;
  color: var(--white); font-size: 16px;
  transition: border-color .25s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(242, 167, 195, .18); }
.field input[aria-invalid="true"] { border-color: #FF6B6B; }
.field-block { border: 0; margin-bottom: 1.4rem; }
.field-block legend { font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em; margin-bottom: .6rem; }
.hint { font-size: .82rem; color: var(--pink); margin-top: .6rem; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center;
  min-height: 52px; padding: .6rem .5rem; border: 1px solid var(--line-strong); border-radius: 12px;
  font-size: .84rem; font-weight: 500; line-height: 1.2;
  transition: border-color .25s, background-color .25s, color .25s, box-shadow .3s;
}
.seg span .ico { color: var(--pink); }
.seg input:checked + span { border-color: var(--pink); background: rgba(242, 167, 195, .1); color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink), 0 0 18px rgba(232, 123, 168, .2); }
.seg input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 11, 11, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
@supports (backdrop-filter: blur(12px)) {
  .site-header { background: rgba(11, 11, 11, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-text small { font-size: .58rem; letter-spacing: .38em; text-transform: uppercase; color: var(--pink); margin-top: .2rem; }
.main-nav { display: none; gap: 2rem; }
.main-nav a { position: relative; font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: .5rem 0; transition: color .3s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--pink); box-shadow: 0 0 8px var(--pink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: 0 .9rem 0 .85rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  transition: border-color .3s, box-shadow .35s var(--ease-out), color .3s;
}
.cart-btn:hover { border-color: var(--pink); box-shadow: var(--glow); }
.cart-btn-label { display: none; }
.cart-count {
  display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  background: var(--pink); color: var(--ink); font-size: .74rem; font-weight: 700;
  clip-path: var(--hex); font-variant-numeric: tabular-nums;
}
.cart-count.is-bump { animation: bump .5s var(--ease-bounce); }

/* --- Hero --- */
.hero { position: relative; padding-top: clamp(2rem, 6vw, 4rem); overflow: clip; }
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .05) calc(50% - .5px), rgba(255, 255, 255, .05) calc(50% + .5px), transparent calc(50% + .5px)),
    radial-gradient(60% 50% at 75% 40%, rgba(232, 123, 168, .14), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(242, 167, 195, .07), transparent 70%);
}
.hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; padding-bottom: 3rem; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 12.5vw, 7.4rem);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin-top: 1.1rem;
}
.hero-line { display: block; }
.hero-line-neon {
  margin-top: .12em;
  font-size: .56em; line-height: .95;
  color: var(--pink);
  text-shadow: 0 0 10px rgba(242, 167, 195, .55), 0 0 32px rgba(232, 123, 168, .45);
  max-width: 17ch;
}
.js .hero-line { opacity: 0; transform: translateY(30px); animation: rise .9s var(--ease-out) forwards; }
.js .hero-line:nth-child(2) { animation-delay: .1s; }
.js .hero-line:nth-child(3) { animation: rise .9s var(--ease-out) .25s forwards, neon-on 1.6s steps(1) .5s; }
.hero-lead { color: var(--muted); font-size: clamp(1rem, 2.6vw, 1.15rem); max-width: 44ch; margin-top: 1.4rem; }
.hero-badges { display: grid; gap: .8rem; margin-top: 2rem; }
.hero-badges li { display: flex; align-items: center; gap: .85rem; }
.hero-badges strong { display: block; font-size: .95rem; }
.hero-badges small { color: var(--muted); font-size: .82rem; }

.hero-visual { display: grid; place-items: center; gap: 2rem; }
.hero-menu { display: grid; gap: .7rem; width: min(100%, 420px); }
.hero-menu .btn { width: 100%; justify-content: center; }
.hex-stage { position: relative; width: min(78vw, 460px); aspect-ratio: 1; display: grid; place-items: center; }
.hex-ring { position: absolute; fill: none; stroke-width: .5; }
.hex-ring-1 { inset: 0; stroke: var(--pink); filter: drop-shadow(0 0 6px rgba(232, 123, 168, .8)); animation: spin 60s linear infinite; }
.hex-ring-2 { inset: 7%; stroke: rgba(255, 255, 255, .3); animation: spin 90s linear infinite reverse; }
.hex-ring-3 { inset: -8%; stroke: rgba(242, 167, 195, .18); stroke-dasharray: 2 3; animation: spin 120s linear infinite; }
.hero-logo {
  width: 62%; border-radius: 6px;
  filter: drop-shadow(0 0 30px rgba(232, 123, 168, .35));
  clip-path: var(--hex);
}
.js .hero-logo { opacity: 0; transform: scale(.9); animation: pop-in 1.1s var(--ease-out) .2s forwards; }

/* Secciones que se abren desde el inicio */
.js .view-section:not(.is-current) { display: none; }
.js .is-sub .home-only { display: none; }
.view-section { padding-top: clamp(1.6rem, 5vw, 3rem); min-height: calc(100svh - var(--header-h)); }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.6rem; font-size: .9rem; font-weight: 600; color: inherit; opacity: .75; transition: color .3s, opacity .3s; }
.back-link .ico { transform: rotate(180deg); }
.back-link:hover { color: var(--pink); opacity: 1; }
.cat-group-title { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.3rem); letter-spacing: .04em; text-transform: uppercase; }
.cat-group-title:first-child { margin-top: 0; }
.cat-group-title .ico { color: var(--pink); }

/* Marquee */
.marquee { position: relative; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: .9rem 0; }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.marquee i { width: 12px; height: 14px; background: var(--pink); clip-path: var(--hex); box-shadow: 0 0 10px var(--pink); flex-shrink: 0; }

/* --- Steps --- */
.steps { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.steps-grid { display: grid; gap: 0; }
.step { position: relative; padding: 2rem 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step-num { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--pink); }
.step h2 { font-family: var(--display); font-size: 1.9rem; letter-spacing: .04em; text-transform: uppercase; margin-top: .4rem; }
.step p { color: var(--muted); margin-top: .4rem; max-width: 34ch; }

/* --- Secciones genéricas --- */
.section { position: relative; padding-block: clamp(4rem, 10vw, 7.5rem); }
.section-head { margin-bottom: 2.2rem; }
.section-head-split { display: grid; gap: 1.2rem; align-items: end; }

/* --- Catálogo --- */
.catalog-tools { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); padding: .8rem 0 .2rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.catalog-tools::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
.search {
  position: relative; display: flex; align-items: center; gap: .6rem;
  min-height: 54px; padding: 0 .5rem 0 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card);
  transition: border-color .3s, box-shadow .35s var(--ease-out);
}
.search:focus-within { border-color: var(--pink); box-shadow: var(--glow); }
.search > .ico { color: var(--pink); }
.search input { flex: 1; min-width: 0; height: 52px; background: transparent; border: 0; outline: none; font-size: 16px; color: var(--white); }
.search input::placeholder { color: rgba(255, 255, 255, .4); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.search-clear:hover { color: var(--pink); }
.catalog-tools .chips { margin-top: .7rem; }
.catalog-status { color: var(--muted); font-size: .88rem; margin: 1.2rem 0 1rem; min-height: 1.4em; }
.catalog-status strong { color: var(--pink); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.product {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .35s, box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.product::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(242, 167, 195, .14), transparent 60%);
  transition: opacity .4s;
}
.product:hover { border-color: rgba(242, 167, 195, .6); box-shadow: var(--glow); transform: translateY(-4px); }
.product:hover::before { opacity: 1; }
.product:hover .ph-mark { transform: scale(1.08) rotate(30deg); }
.product:hover .ph-mark .ico { transform: rotate(-30deg); }
.product .ph-mark .ico { transition: transform .6s var(--ease-out); }
.product-body { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; padding: .85rem .85rem .95rem; gap: .2rem; }
.product-cat { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--pink); }
.product-name { font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.product-pres { font-size: .8rem; color: var(--muted); }
.product-foot { margin-top: auto; padding-top: .7rem; display: grid; gap: .6rem; }
.product-actions { display: grid; grid-template-columns: 1fr; gap: .45rem; align-items: center; }
.product .qty { grid-template-columns: 1fr auto 1fr; height: 42px; width: 100%; }
.add-btn {
  position: relative; isolation: isolate;
  min-height: 42px; padding: 0 .6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  font-weight: 700; font-size: .82rem; color: var(--ink);
  transition: filter .3s, transform .2s;
}
.add-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pink); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); transition: background-color .3s; }
.add-btn:hover { filter: drop-shadow(0 0 10px rgba(232, 123, 168, .7)); }
.add-btn:hover::before { background: #F7BDD3; }
.add-btn:active { transform: scale(.95); }
.add-btn .ico { width: 16px; height: 16px; stroke-width: 2.2; }
.add-btn.is-done::before { background: var(--white); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty-state strong { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 400; color: var(--white); letter-spacing: .03em; }

/* --- Combos --- */
.combos { background: var(--bg-2); border-block: 1px solid var(--line); }
.combos::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 90% 0%, rgba(232, 123, 168, .1), transparent 70%);
}
.combo-grid { position: relative; display: grid; gap: 1rem; }
.combo {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: border-color .35s, box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.combo:hover { border-color: rgba(242, 167, 195, .6); box-shadow: var(--glow); transform: translateY(-4px); }
.combo .ph { aspect-ratio: 16 / 9; }
.combo-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: .35rem .8rem; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; background: rgba(11, 11, 11, .6);
}
.save-badge {
  position: absolute; top: .7rem; right: .9rem; z-index: 2;
  width: 92px; height: 104px; display: grid; place-items: center; text-align: center;
  filter: drop-shadow(0 0 14px rgba(232, 123, 168, .55));
  transition: transform .6s var(--ease-bounce);
}
.save-badge::before { content: ""; position: absolute; inset: 0; background: var(--pink); clip-path: var(--hex); }
.save-badge span { position: relative; display: block; color: var(--ink); line-height: 1; }
.save-badge small { display: block; font-size: .56rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.save-badge b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin-top: .15rem; }
.combo:hover .save-badge { transform: rotate(-8deg) scale(1.06); }
.combo-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.3rem 1.4rem; }
.combo-name { font-family: var(--display); font-size: 2.1rem; letter-spacing: .03em; text-transform: uppercase; }
.combo-desc { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.combo-includes { margin-top: 1rem; border-top: 1px solid var(--line); }
.combo-includes summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--pink);
}
.combo-includes summary::-webkit-details-marker { display: none; }
.combo-includes summary .ico { transition: transform .35s var(--ease-out); }
.combo-includes[open] summary .ico { transform: rotate(45deg); }
.combo-items { display: grid; gap: .45rem; padding-bottom: .6rem; font-size: .88rem; }
.combo-items li { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.combo-items li b { color: var(--white); font-weight: 600; }
.combo-items li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.combo-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.combo-foot .price { font-size: 2.4rem; color: var(--pink); text-shadow: 0 0 18px rgba(232, 123, 168, .35); }
.combo-foot .btn { flex-shrink: 0; }

/* --- Recetario (sección clara para cortar el negro) --- */
.recipes { background: var(--cream); color: var(--ink); }
.recipes .eyebrow { color: var(--pink-2); }
.recipes .section-title em { -webkit-text-stroke-color: var(--pink-2); text-shadow: none; }
.recipes .section-lead { color: var(--ink-soft); }
.recipes .section-note { color: #A8326A; background: linear-gradient(90deg, rgba(232, 123, 168, .18), rgba(232, 123, 168, 0)); border-left-color: var(--pink-2); }
.recipes .section-note .ico { color: var(--pink-2); }
.recipe-filters { display: grid; gap: .8rem; padding: 1.2rem; border: 1px solid rgba(11, 11, 11, .12); border-radius: 22px; background: rgba(255, 255, 255, .5); margin-bottom: 1.8rem; }
.filter-group { border: 0; min-width: 0; }
.filter-group legend { font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
.filter-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--ink-soft); min-height: 32px; }
.filter-foot strong { color: var(--ink); }

.recipe-grid { display: grid; gap: 1rem; }
.recipe {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(11, 11, 11, .06), 0 10px 30px -18px rgba(11, 11, 11, .35);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.recipe:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--pink-2), 0 22px 50px -20px rgba(232, 123, 168, .55); }
.recipe .ph { aspect-ratio: 3 / 2; }
.recipe-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.25rem 1.3rem; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { padding: .25rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; background: rgba(232, 123, 168, .14); color: #A93F70; }
.tag-dark { background: var(--ink); color: var(--pink); }
.recipe-name { font-family: var(--display); font-size: 1.85rem; letter-spacing: .02em; text-transform: uppercase; margin-top: .8rem; line-height: .98; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .7rem; font-size: .82rem; color: var(--ink-soft); }
.recipe-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.recipe-meta .ico { width: 16px; height: 16px; color: var(--pink-2); }
.recipe-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid rgba(11, 11, 11, .1); margin-top: 1.1rem; }
.recipe-cost small { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.recipe-cost .price { font-size: 1.9rem; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink); color: var(--pink); box-shadow: 0 0 0 1px var(--pink-2), 0 0 24px rgba(232, 123, 168, .4); }
.recipes .empty-state { border-color: rgba(11, 11, 11, .2); color: var(--ink-soft); }
.recipes .empty-state strong { color: var(--ink); }

/* --- Ficha de receta (modal) --- */
.recipe-modal {
  width: min(960px, 100%); max-width: 100%; max-height: 100%; height: 100%;
  margin: auto 0 0; padding: 0; border: 0;
  background: var(--bg-2); color: var(--white);
  border-radius: 24px 24px 0 0;
  overscroll-behavior: contain;
}
.recipe-modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.recipe-modal[open] { animation: sheet-up .5s var(--ease-out); }
.rm-inner { position: relative; }
.rm-close { position: sticky; top: .8rem; float: right; margin: .8rem .8rem 0 0; z-index: 5; background: rgba(11, 11, 11, .8); }
.rm-hero { position: relative; }
.rm-hero .ph { aspect-ratio: 16 / 7; }
.rm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg-2)); pointer-events: none; }
.rm-head { position: relative; padding: 0 var(--gutter); margin-top: -2.4rem; z-index: 2; }
.rm-head .recipe-tags .tag { background: rgba(242, 167, 195, .14); color: var(--pink); }
.rm-title { font-family: var(--display); font-size: clamp(2.4rem, 8vw, 4rem); text-transform: uppercase; letter-spacing: .02em; margin-top: .7rem; line-height: .95; }
.rm-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.2rem; }
.rm-meta div { padding: .75rem .6rem; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.rm-meta small { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rm-meta strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .03em; }
.rm-grid { display: grid; gap: 2rem; padding: 1.8rem var(--gutter) 2rem; }
.rm-h { font-family: var(--display); font-size: 1.7rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .8rem; display: flex; align-items: center; gap: .6rem; }
.rm-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--pink), transparent); }
.ing-list { display: grid; gap: 0; }
.ing-list li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ing-list li b { font-weight: 600; }
.ing-list li small { grid-column: 1; color: var(--muted); font-size: .8rem; }
.ing-list li span { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.pantry { margin-top: 1rem; font-size: .84rem; color: var(--muted); }
.pantry b { color: var(--pink); font-weight: 600; }
.pairing { margin-top: 1.6rem; padding: 1.1rem; border: 1px solid rgba(242, 167, 195, .4); border-radius: 18px; background: rgba(242, 167, 195, .05); }
.pairing-title { font-family: var(--display); font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; color: var(--pink); }
.pairing .field { margin-top: .6rem; }
.pairing select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23F2A7C3' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.pairing select option { background: var(--bg-2); color: var(--white); }
.rm-total { margin-top: 1.4rem; display: grid; gap: .3rem; }
.rm-total-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.rm-total-row.is-main { color: var(--white); align-items: flex-end; padding-top: .6rem; border-top: 1px solid var(--line); margin-top: .3rem; }
.rm-total-row.is-main .price { font-size: 2.4rem; color: var(--pink); text-shadow: 0 0 18px rgba(232, 123, 168, .4); }
.rm-total + .btn { margin-top: 1rem; }
.steps-list { counter-reset: paso; display: grid; gap: 1rem; }
.steps-list li { counter-increment: paso; display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; color: rgba(255, 255, 255, .86); }
.steps-list li::before {
  content: counter(paso); display: grid; place-items: center; width: 40px; height: 46px;
  font-family: var(--display); font-size: 1.3rem; color: var(--ink); background: var(--pink); clip-path: var(--hex);
}
.steps-list li p { padding-top: .55rem; }

/* --- Contacto --- */
.contact { background: var(--bg); }
.contact-grid { display: grid; gap: 2.4rem; align-items: stretch; }
.contact-list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list small { display: block; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--pink); margin-bottom: .15rem; }
.contact-list strong { font-weight: 600; }
.contact-list a:hover strong { color: var(--pink); }
.contact-list [data-bind="horarios"] { color: var(--muted); font-size: .94rem; }
.contact-list [data-bind="horarios"] strong { color: var(--white); }
.socials { display: flex; gap: .7rem; margin-top: 2rem; }
.socials a {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: border-color .3s, color .3s, box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.socials a:hover { border-color: var(--pink); color: var(--pink); box-shadow: var(--glow); transform: translateY(-3px); }
.map {
  position: relative; min-height: 320px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(60% 60% at 50% 50%, rgba(232, 123, 168, .12), transparent 70%), var(--bg-3);
  border: 1px solid var(--line); color: var(--white);
  display: grid; place-items: center;
  transition: border-color .35s, box-shadow .45s var(--ease-out);
}
.map:hover { border-color: rgba(242, 167, 195, .6); box-shadow: var(--glow); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: relative; width: 110px; height: 124px; display: grid; place-items: center; animation: float 5s var(--ease-soft) infinite alternate; }
.map-pin svg { position: absolute; inset: 0; fill: var(--bg); stroke: var(--pink); stroke-width: 2; filter: drop-shadow(0 0 12px rgba(232, 123, 168, .7)); }
.map-pin img { position: relative; width: 64px; height: 64px; clip-path: var(--hex); }
.map-label {
  position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  padding: .6rem 1.1rem; border-radius: 999px; background: var(--pink); color: var(--ink); font-weight: 600; font-size: .86rem;
}

/* --- Footer --- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 3rem 0 calc(6.5rem + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1.4rem; }
.footer-brand > a { flex-shrink: 0; }
.footer-brand img { width: 84px; height: 84px; clip-path: var(--hex); }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: .3rem 1.6rem; }
.footer-nav a { font-family: var(--display); font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; transition: color .3s, text-shadow .3s; }
.footer-nav a:hover { color: var(--pink); text-shadow: 0 0 14px rgba(232, 123, 168, .6); }
.footer-legal { display: grid; gap: .2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .78rem; color: rgba(255, 255, 255, .45); }

.footer-credits { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.footer-credits:hover { color: var(--white); }

/* --- Página de créditos --- */
.credits { padding-block: 3rem 5rem; }
.credits .section-title { margin: 1.4rem 0 1rem; }
.credits-list { display: grid; gap: .2rem; margin-top: 2rem; }
.credits-list li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.credits-list img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.credits-list strong { color: var(--white); font-weight: 600; }
.credits-list a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

/* --- Carrito flotante --- */
.cart-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  width: 70px; height: 78px; display: grid; place-items: center; color: var(--ink);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(232, 123, 168, .55));
  transition: transform .45s var(--ease-bounce), opacity .3s;
}
.cart-fab-hex { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--pink); }
.cart-fab > .ico { position: relative; width: 28px; height: 28px; stroke-width: 2; }
.cart-fab .cart-count { position: absolute; top: -4px; right: -6px; min-width: 28px; height: 30px; background: var(--white); font-size: .78rem; }
.cart-fab-total {
  position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  padding: .45rem .8rem; border-radius: 999px; background: var(--bg); color: var(--white); border: 1px solid rgba(242, 167, 195, .55);
  font-weight: 700; font-size: .85rem; white-space: nowrap;
}
.cart-fab-total:empty { display: none; }
.cart-fab:active { transform: scale(.92); }
.cart-fab.is-hidden { transform: scale(0); opacity: 0; pointer-events: none; }

/* --- Asistente Flami --- */
.chat-fab {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  width: 64px; height: 72px; display: grid; place-items: center; color: var(--pink);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .55)) drop-shadow(0 0 12px rgba(232, 123, 168, .45));
  transition: transform .45s var(--ease-bounce), opacity .3s;
}
.chat-fab-hex { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--bg); stroke: var(--pink); stroke-width: 3; }
.chat-fab > .ico { position: relative; width: 26px; height: 26px; stroke-width: 1.9; }
.chat-fab-label {
  position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  padding: .45rem .8rem; border-radius: 999px; background: var(--white); color: var(--ink);
  font-weight: 700; font-size: .8rem; white-space: nowrap;
  animation: chat-hint 7s var(--ease-out) 2.5s both;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab:active { transform: scale(.92); }
.chat-fab.is-hidden { transform: scale(0); opacity: 0; pointer-events: none; }
@keyframes chat-hint { 0% { opacity: 0; transform: translate(-6px, -50%); } 8%, 85% { opacity: 1; transform: translate(0, -50%); } 100% { opacity: 0; transform: translate(-6px, -50%); visibility: hidden; } }

.chat {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  height: min(84svh, 680px);
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid rgba(242, 167, 195, .35); border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 80px rgba(0, 0, 0, .6), 0 0 40px rgba(232, 123, 168, .12);
  transform: translateY(105%); visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s;
}
.chat.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 44px; height: 50px; display: grid; place-items: center; background: var(--pink); clip-path: var(--hex); flex-shrink: 0; }
.chat-avatar img { width: 40px; height: 40px; clip-path: var(--hex); }
.chat-id { flex: 1; min-width: 0; }
.chat-title { font-family: var(--display); font-size: 1.7rem; letter-spacing: .05em; line-height: 1; text-transform: uppercase; }
.chat-sub { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--muted); }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #5BE49B; box-shadow: 0 0 8px #5BE49B; }

.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; }
.msg { max-width: 88%; padding: .7rem .95rem; border-radius: 18px; font-size: .93rem; line-height: 1.5; animation: fade-in .35s var(--ease-out); overflow-wrap: anywhere; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: .45rem; }
.msg ul { padding-left: 1.1rem; list-style: disc; display: grid; gap: .2rem; }
.msg ul li::marker { color: var(--pink); }
.msg strong { color: var(--pink); font-weight: 700; }
.msg-bot { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--pink); color: var(--ink); border-bottom-right-radius: 6px; font-weight: 500; }
.msg-user strong { color: var(--ink); }
.msg-wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; padding: .45rem .85rem; border-radius: 999px; background: #25D366; color: #06210F; font-weight: 700; font-size: .82rem; }
.msg-typing { display: inline-flex; gap: 5px; padding: .85rem 1rem; }
.msg-typing i { width: 9px; height: 10px; background: var(--pink); clip-path: var(--hex); animation: typing 1.1s var(--ease-soft) infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.chat-suggest { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: 0 1rem .7rem; }
.chat-suggest::-webkit-scrollbar { display: none; }
.chat-chip {
  flex-shrink: 0; min-height: 38px; padding: 0 .9rem; border: 1px solid rgba(242, 167, 195, .5); border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: var(--pink); white-space: nowrap;
  transition: background-color .25s, color .25s, box-shadow .3s;
}
.chat-chip:hover { background: var(--pink); color: var(--ink); box-shadow: 0 0 16px rgba(232, 123, 168, .4); }
.chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem 1rem .4rem; border-top: 1px solid var(--line); }
.chat-form textarea {
  flex: 1; min-height: 48px; max-height: 120px; resize: none; padding: .75rem 1rem;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); border-radius: 16px;
  color: var(--white); font-size: 16px; line-height: 1.4;
  transition: border-color .25s, box-shadow .3s;
}
.chat-form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(242, 167, 195, .18); }
.chat-send { width: 50px; height: 48px; display: grid; place-items: center; flex-shrink: 0; color: var(--ink); background: var(--pink); clip-path: var(--hex-h); transition: background-color .25s, transform .2s; }
.chat-send:hover { background: #F7BDD3; }
.chat-send:active { transform: scale(.92); }
.chat-send[disabled] { opacity: .45; pointer-events: none; }
.chat-note { padding: 0 1rem calc(.75rem + env(safe-area-inset-bottom)); font-size: .68rem; color: rgba(255, 255, 255, .42); line-height: 1.4; }

/* --- Drawer del carrito --- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s; }
.drawer-backdrop.is-open { opacity: 1; }
@supports (backdrop-filter: blur(4px)) { .drawer-backdrop { backdrop-filter: blur(3px); } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(460px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid rgba(242, 167, 195, .3);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .5);
  transform: translateX(105%); visibility: hidden;
  transition: transform .55s var(--ease-out), visibility 0s linear .55s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-out), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--display); font-size: 2.2rem; letter-spacing: .04em; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .4rem 1.2rem 1.2rem; }
.drawer-foot { padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }

.cart-empty { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 3rem 1rem; color: var(--muted); }
.cart-empty strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--white); letter-spacing: .03em; }
.cart-empty-hex { width: 80px; height: 90px; fill: none; stroke: var(--pink); stroke-width: 2; filter: drop-shadow(0 0 10px rgba(232, 123, 168, .6)); }
.cart-list { display: grid; }
.cart-item { display: grid; grid-template-columns: 52px 1fr auto; gap: .8rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); animation: fade-in .35s var(--ease-out); }
.cart-item-ico { width: 52px; height: 58px; display: grid; place-items: center; color: var(--pink); position: relative; }
.cart-item-ico::before { content: ""; position: absolute; inset: 0; clip-path: var(--hex); background: var(--bg-3); }
.cart-item-ico .ico { position: relative; width: 22px; height: 22px; }
.cart-item-ico.is-combo::before { background: rgba(242, 167, 195, .16); }
.cart-item-name { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.cart-item-sub { font-size: .78rem; color: var(--muted); }
.cart-item-sub .is-pink { color: var(--pink); }
.cart-item .qty { margin-top: .45rem; }
.cart-item-right { display: grid; justify-items: end; gap: .3rem; }
.cart-item-total { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-item-remove { font-size: .74rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: .3rem 0; }
.cart-item-remove:hover { color: var(--pink); }
.checkout { margin-top: 1.6rem; }

.totals { display: grid; gap: .3rem; font-size: .9rem; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals dd { font-variant-numeric: tabular-nums; color: var(--white); font-weight: 600; }
.totals .is-pink { color: var(--pink); }
.totals-total { align-items: flex-end; padding-top: .45rem; margin-top: .2rem; border-top: 1px solid var(--line); }
.totals-total dt { color: var(--white); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.totals-total dd { font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--pink); text-shadow: 0 0 16px rgba(232, 123, 168, .4); }
.drawer-foot .btn { margin-top: .9rem; }
.form-error { margin-top: .7rem; padding: .6rem .8rem; border-radius: 10px; background: rgba(255, 107, 107, .12); color: #FFB3B3; font-size: .85rem; }

/* --- Toast --- */
.toast {
  position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom)); z-index: 120;
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1.1rem; border-radius: 999px;
  background: var(--white); color: var(--ink); font-weight: 600; font-size: .9rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 24px rgba(232, 123, 168, .4);
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease-out), opacity .3s;
  max-width: calc(100vw - 32px);
}
.toast .ico { color: var(--pink-2); stroke-width: 2.4; }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* =============================================================
   7. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.js .stagger.is-visible > * { opacity: 1; transform: none; }

.card-in { animation: fade-in .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop-in { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes neon-on {
  0%   { opacity: .25; }
  8%   { opacity: 1; }
  12%  { opacity: .4; }
  20%  { opacity: 1; }
  24%  { opacity: .55; }
  30%, 100% { opacity: 1; }
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .product-grid { gap: 1rem; }
  .product-body { padding: 1rem 1rem 1.1rem; }
  .add-btn { font-size: .88rem; }
  .hero-badges { grid-template-columns: 1fr 1fr; }
  .combo-grid, .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  :root { --header-h: 76px; }
  .cart-btn-label { display: inline; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step { border-top: 0; border-left: 1px solid var(--line); padding: 2.4rem 2rem; }
  .step:first-child { border-left: 0; padding-left: 0; }
  .section-head-split { grid-template-columns: 1.2fr 1fr; }
  .section-head-split .section-lead { justify-self: end; }
  .recipe-filters { grid-template-columns: 1fr 1.6fr; padding: 1.4rem 1.6rem; }
  .filter-foot { grid-column: 1 / -1; }
  .product-actions { grid-template-columns: auto 1fr; }
  .product .qty { grid-template-columns: 32px 22px 32px; width: auto; }
  .recipe-modal { margin: auto; height: auto; max-height: calc(100% - 48px); border-radius: 24px; border: 1px solid rgba(242, 167, 195, .3); }
  .rm-grid { grid-template-columns: 1fr 1fr; gap: 2.6rem; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .footer-legal { grid-template-columns: 1fr auto; }
  .footer-brand { gap: 2.4rem; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
  .cart-fab { display: none; }
  .chat-fab { left: auto; right: 24px; bottom: 24px; }
  .chat-fab-label { left: auto; right: calc(100% + 10px); }
  .chat { left: auto; right: 24px; bottom: 108px; width: 400px; height: min(620px, calc(100svh - 140px)); border-radius: 24px; border-bottom: 1px solid rgba(242, 167, 195, .35); transform: translateY(16px) scale(.97); opacity: 0; transform-origin: bottom right; transition: transform .4s var(--ease-out), opacity .3s, visibility 0s linear .4s; }
  .chat.is-open { opacity: 1; }
  .site-footer { padding-bottom: 3rem; }
  .toast { bottom: 32px; }
}

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; min-height: calc(100svh - var(--header-h) - 80px); padding-bottom: 4rem; }
  .hero-title { font-size: clamp(4.4rem, 7vw, 7.4rem); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .combo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .combo:first-child { grid-column: span 2; flex-direction: row; }
  .combo:first-child .ph { aspect-ratio: auto; width: 46%; flex-shrink: 0; }
  .combo:first-child .combo-name { font-size: 2.8rem; }
  .catalog-tools { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 1rem; align-items: center; }
  .catalog-tools .chips { margin-top: 0; }
}

@media (min-width: 1280px) {
  .catalog-tools .chips { flex-wrap: wrap; overflow: visible; }
}

/* =============================================================
   9. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 120s; }
  .js .hero-line:nth-child(3) { animation: rise .9s var(--ease-out) .25s forwards; }
}
