/* Camarón El Poderoso: tienda
   Un acento (oro de la marca) para acciones. Azul marino para texto y fondos oscuros.
   El naranja del camarón solo vive en la mascota.
   Radios: 4 en fotos y tarjetas, 6 en controles. Una familia de letra: Archivo. */

:root {
  --bg: #f3f5f8;
  --surface: #fbfcfd;
  --alt: #e6ebf1;
  --ink: #0b1a3c;
  --ink-2: #39445d;
  --line: #d3dae4;
  --dark: #0b1a3c;
  --dark-2: #13264f;
  --on-dark: #e8edf5;
  --on-dark-2: #b9c3d6;
  --line-dark: #2a3c66;
  --gold: #e5a823;
  --gold-hover: #f0b93c;
  --shrimp: #ef6b3a;
  --wa: #0c6b3c;
  --danger: #b4261b;
  --ok-bg: #fff6df;

  --on-wa: #f4fbf7;
  --wa-hover: #0a5a33;
  --line-strong: #b8c2d1;
  --sh-body: #ef6b3a;
  --sh-hi: #ff9466;
  --sh-edge: #5a1a08;
  --sh-leg: #a8341a;
  --sh-antenna: #ffb38f;
  --shadow: #000;
  --sh-band-edge: #7a530c;
  --sh-face: #3d1105;
  --sh-cheek: #d9284f;
  --sh-sweat: #a7dcff;
  --sh-sweat-edge: #4c8fc0;
  --focus-ring: rgba(229, 168, 35, .35);
  --danger-bg: #fbecea;
  --danger-line: #e3a49d;
  --line-alt: #c6cfdb;
  --underline: #9aa6b8;
  --fab-shadow: rgba(11, 26, 60, .6);
  --scrim: rgba(11, 26, 60, .5);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-photo: 4px;
  --r-ctl: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --nav-h: 68px;
  --pad: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 75%; line-height: 1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: var(--r-ctl); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.section-dark :focus-visible, .power-sec :focus-visible, .footer :focus-visible, .fab:focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r-ctl); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover:not(:disabled) { background: var(--gold-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--on-wa); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-block { width: 100%; }
.link-wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--line);
  transition: text-decoration-color .2s var(--ease);
}
.link-wa:hover { text-decoration-color: currentColor; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--r-ctl); background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--alt); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 80%; font-size: 1.25rem; }
.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--gold); }
.cart-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); cursor: pointer; font-weight: 700;
  transition: border-color .15s;
}
.cart-btn:hover { border-color: var(--ink); }
.cart-btn-label { display: none; }
.cart-count { min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 4px; background: var(--ink); color: var(--on-dark); font-size: .85rem; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.2); } }

/* ---------- Portada ---------- */
.hero { padding-block: 32px 48px; }
.hero-grid { display: grid; gap: 32px; }
.hero-copy { display: grid; align-content: center; gap: 24px; }
.hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.9rem); line-height: .94; letter-spacing: -.01em; max-width: 13ch; }
.hero-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.hero-prices { list-style: none; margin: 0; padding: 0; max-width: 460px; border-top: 2px solid var(--ink); }
.hero-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.hero-prices b { font-stretch: 75%; font-weight: 800; font-size: 1.9rem; line-height: 1; }
.hero-prices li.is-out { color: var(--ink-2); text-decoration: line-through; }
.hero-unit { font-size: .92rem; color: var(--ink-2); margin-top: -14px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-photo { position: relative; min-height: 340px; overflow: hidden; border-radius: var(--r-photo); background: var(--alt); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* entrada de la portada */
.js .hero[data-enter] .hero-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .hero[data-enter] .hero-photo img { opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.js .hero.is-in .hero-copy > * { opacity: 1; transform: none; }
.js .hero.is-in .hero-photo img { opacity: 1; transform: none; }
.js .hero.is-in .hero-copy > :nth-child(2) { transition-delay: .08s; }
.js .hero.is-in .hero-copy > :nth-child(3) { transition-delay: .16s; }
.js .hero.is-in .hero-copy > :nth-child(4) { transition-delay: .2s; }
.js .hero.is-in .hero-copy > :nth-child(5) { transition-delay: .26s; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--pad); }
.section-alt { background: var(--alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.head h2, .faq-side h2, .contact-info h2, .close h2, .power-copy h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); letter-spacing: -.005em; }
.head p { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.head-dark p { color: var(--on-dark-2); }
.head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }

/* ---------- Catálogo ---------- */
.products { display: grid; gap: 24px; }
.p-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-photo); overflow: hidden; transition: border-color .2s; }
.p-card:hover { border-color: var(--line-strong); }
.p-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alt); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.03); }
.p-tag { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: var(--r-ctl); background: var(--ink); color: var(--on-dark); font-weight: 700; font-size: .85rem; }
.p-body { display: grid; gap: 14px; align-content: start; padding: 22px 22px 24px; }
.p-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-top h3 { font-size: 1.6rem; }
.p-price { white-space: nowrap; text-align: right; }
.p-price b { font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: 1; }
.p-price span { display: block; font-size: .85rem; color: var(--ink-2); }
.p-body > p { color: var(--ink-2); }
.p-buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-top: 4px; }
.p-sub { grid-column: 1 / -1; font-size: .92rem; color: var(--ink-2); }
.p-sub b { color: var(--ink); }
.p-card.is-out .p-media img { filter: grayscale(.9); opacity: .75; }
.p-card.is-out .qty { opacity: .45; pointer-events: none; }
.p-card.skeleton { min-height: 520px; background: linear-gradient(100deg, var(--surface) 40%, var(--alt) 50%, var(--surface) 60%) 0 0 / 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.qty { display: inline-grid; grid-template-columns: 44px minmax(64px, auto) 44px; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--bg); }
.qty button { height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.3rem; font-weight: 600; line-height: 1; transition: background-color .15s; }
.qty button:hover:not(:disabled) { background: var(--alt); }
.qty button:active:not(:disabled) { transform: scale(.94); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty output { text-align: center; font-weight: 700; white-space: nowrap; }
.qty.sm { height: 40px; grid-template-columns: 36px minmax(58px, auto) 36px; }
.qty.sm output { font-size: .9rem; }

/* ---------- El camarón poderoso ---------- */
.power-sec { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.power-grid { display: grid; gap: 32px; align-items: center; }
.power-copy { display: grid; gap: 18px; max-width: 520px; }
.power-copy > p { font-size: 1.1rem; color: var(--on-dark-2); }
.power { margin-top: 12px; }
.power-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-weight: 600; color: var(--on-dark-2); }
.power-head output { font-stretch: 75%; font-weight: 800; font-size: 1.6rem; color: var(--on-dark); }
.power-bar { position: relative; height: 10px; border-radius: 2px; background: var(--line-dark); overflow: hidden; }
.power-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--gold); }
.power-hint { margin-top: 12px; font-size: .95rem; color: var(--on-dark-2); }
.kbd-hint { display: none; }
@media (hover: hover) and (pointer: fine) { .kbd-hint { display: inline; } }
.power-count { margin-top: 4px; font-size: .95rem; font-weight: 700; color: var(--gold); }

.stage { position: relative; display: grid; justify-items: center; }
.shrimp-hit {
  position: relative; z-index: 2; width: min(100%, 440px); aspect-ratio: 400 / 420; padding: 0; border: 0; background: none;
  cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.shrimp-hit:active { cursor: grabbing; }
.shrimp-hit:focus-visible { outline-offset: -10px; border-radius: 12px; }
.shrimp { --p: 0; --fill: var(--sh-body); --fill-hi: var(--sh-hi); width: 100%; height: 100%; overflow: visible; }
.shrimp .sh-root { transform-box: view-box; transform-origin: 200px 400px; animation: idle 4s ease-in-out infinite; }
.shrimp.is-charging .sh-root { animation: none; }
@keyframes idle { 50% { transform: translateY(-6px); } }
.shrimp .sh-fill { fill: var(--fill); stroke: var(--sh-edge); stroke-width: 3; stroke-linejoin: round; }
.shrimp .sh-line, .shrimp .sh-belly, .shrimp .sh-legs path { fill: none; stroke: var(--sh-edge); stroke-width: 3; stroke-linecap: round; }
.shrimp .sh-belly { opacity: .35; }
.shrimp .sh-legs path { stroke-width: 4.5; stroke: var(--sh-leg); }
.shrimp .sh-antenna { fill: none; stroke: var(--sh-antenna); stroke-width: 3.5; stroke-linecap: round; transform-box: view-box; }
.shrimp .sh-antenna-l { transform-origin: 184px 66px; animation: antL 3.2s ease-in-out infinite; }
.shrimp .sh-antenna-r { transform-origin: 216px 66px; animation: antR 3.6s ease-in-out infinite; }
@keyframes antL { 50% { rotate: -6deg; } }
@keyframes antR { 50% { rotate: 6deg; } }
.shrimp .sh-shadow { fill: var(--shadow); opacity: .35; }
.shrimp .sh-band { fill: var(--gold); stroke: var(--sh-band-edge); stroke-width: 2; stroke-linejoin: round; }
.shrimp .sh-stalk { stroke: var(--sh-leg); stroke-width: 6; stroke-linecap: round; }
.shrimp .sh-eye-w { fill: var(--surface); stroke: var(--sh-edge); stroke-width: 3; }
.shrimp .sh-pupil { fill: var(--ink); }
.shrimp .sh-glint { fill: var(--surface); }
.shrimp .sh-pupil, .shrimp .sh-glint { transition: transform .08s linear; }
.shrimp .sh-brow { fill: none; stroke: var(--sh-face); stroke-width: 6; stroke-linecap: round; transform-box: fill-box; transform-origin: center; opacity: calc(var(--p) * 1.6); }
.shrimp .sh-brow-l { rotate: calc(var(--p) * 14deg); translate: 0 calc(var(--p) * 10px); }
.shrimp .sh-brow-r { rotate: calc(var(--p) * -14deg); translate: 0 calc(var(--p) * 10px); }
.shrimp .sh-cheek { fill: var(--sh-cheek); opacity: calc(.25 + var(--p) * .45); }
.shrimp .sh-mouth { fill: none; stroke: var(--sh-face); stroke-width: 4; stroke-linecap: round; }
.shrimp .sh-grit rect { fill: var(--surface); stroke: var(--sh-face); stroke-width: 3.5; }
.shrimp .sh-grit path { stroke-width: 2.2; }
.shrimp .sh-grit { opacity: 0; }
.shrimp.is-charging .sh-grit { opacity: 1; }
.shrimp.is-charging .sh-smile { opacity: 0; }
.shrimp .sh-sweat path { fill: var(--sh-sweat); stroke: var(--sh-sweat-edge); stroke-width: 2; }
.shrimp .sh-sweat { opacity: clamp(0, calc((var(--p) - .35) * 2.5), 1); }
.shrimp .sh-limb-o, .shrimp .sh-limb-c { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.shrimp .sh-limb-o { stroke: var(--sh-edge); stroke-width: 30; }
.shrimp .sh-limb-c { stroke: var(--fill); stroke-width: 24; }
.shrimp .sh-arm { transform-box: view-box; transform-origin: 150px 198px; }
.shrimp .sh-bicep { transform-box: fill-box; transform-origin: 50% 85%; scale: calc(1 + var(--p) * 1.1); }
.shrimp .sh-fist { transform-box: fill-box; transform-origin: center; scale: calc(1 + var(--p) * .15); }
.shrimp:not(.is-charging) .sh-arm { animation: flex 2.6s ease-in-out infinite; }
.shrimp:not(.is-charging) .sh-arm-r { animation-delay: -1.3s; }
@keyframes flex { 0%, 100% { rotate: 0deg; } 50% { rotate: -9deg; } }
.shrimp:not(.is-charging) .sh-arm .sh-bicep { animation: pump 2.6s ease-in-out infinite; }
.shrimp:not(.is-charging) .sh-arm-r .sh-bicep { animation-delay: -1.3s; }
@keyframes pump { 50% { scale: 1.25; } }
.shrimp.is-charging .sh-arm { rotate: calc(var(--p) * -12deg); }
.shrimp.flex-once .sh-root { animation: hop .5s var(--ease); }
.shrimp.flex-once .sh-bicep { animation: pumpBig .5s ease; }
@keyframes hop { 35% { transform: translateY(-14px); } }
@keyframes pumpBig { 40% { scale: 1.8; } }
.stage.is-burst .shrimp .sh-root { animation: slam .6s var(--ease); }
@keyframes slam { 25% { transform: scale(1.08) rotate(-3deg); } 55% { transform: scale(.98) rotate(1deg); } }
.burst-word {
  position: absolute; z-index: 4; top: 2%; left: 50%; translate: -50% 0; rotate: -5deg; scale: 0; margin: 0;
  font-weight: 800; font-stretch: 62%; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: var(--gold);
  pointer-events: none; white-space: nowrap;
}
.stage.is-burst .burst-word { animation: word 1.3s var(--ease) forwards; }
@keyframes word { 0% { scale: 0; } 25% { scale: 1.08; } 40%, 80% { scale: 1; opacity: 1; } 100% { scale: 1; opacity: 0; translate: -50% -20px; } }
.particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.particle { position: absolute; width: var(--s, 12px); height: var(--s, 12px); border-radius: var(--br, 50%); background: var(--c, var(--shrimp)); animation: fly 1s var(--ease) forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.4); opacity: 0; } }

/* ---------- Pedir, pagar, recibir ---------- */
.steps { list-style: none; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0; display: grid; gap: 28px; }
.steps li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps b { font-stretch: 75%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.steps h3 { font-size: 1.6rem; }
.steps p { color: var(--ink-2); }
.info-grid { display: grid; gap: 28px; }
.info-block { display: grid; gap: 12px; align-content: start; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-photo); }
.info-block h3 { font-size: 1.6rem; }
.info-block p { color: var(--ink-2); }
.info-foot { list-style: none; margin: 0; padding: 0; font-size: .95rem; color: var(--ink-2); display: grid; gap: 4px; }
.info-foot a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pay-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.pay-list li:last-child { border-bottom: 0; }
.ship-table { width: 100%; border-collapse: collapse; }
.ship-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.ship-table td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; gap: 36px; }
.faq-side { display: grid; gap: 28px; align-content: start; }
.faq-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-photo); background: var(--alt); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-weight: 700; font-size: 1.15rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--ink); transition: transform .2s var(--ease); }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--ink-2); }
.faq-item p { padding: 0 48px 22px 0; color: var(--ink-2); }

/* ---------- Nosotros ---------- */
.about-photos { display: grid; gap: 16px; }
.about-photos figure { overflow: hidden; border-radius: var(--r-photo); background: var(--dark-2); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.about-photos figure:hover img { transform: scale(1.03); }
.ph-a, .ph-b, .ph-c { aspect-ratio: 4 / 3; }
.facts { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 28px; }
.facts li { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.facts h3 { font-size: 1.6rem; }
.facts p { color: var(--on-dark-2); }

/* ---------- Opiniones ---------- */
.rating-summary { display: flex; align-items: center; gap: 14px; }
.rating-summary b { font-stretch: 75%; font-weight: 800; font-size: 3.4rem; line-height: 1; }
.rating-summary small { display: block; color: var(--ink-2); }
.stars { --rate: 5; position: relative; display: inline-block; font-size: 1.05rem; letter-spacing: 2px; line-height: 1; }
.stars::before { content: "★★★★★"; color: var(--line); }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--rate) / 5 * 100%); overflow: hidden; color: var(--gold); white-space: nowrap; }
.reviews-layout { display: grid; gap: 32px; align-items: start; }
.reviews-wall { columns: 1; column-gap: 20px; }
.review { break-inside: avoid; margin-bottom: 20px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-photo); }
.review.is-new { border-color: var(--gold); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--alt); }
.review-who { display: grid; line-height: 1.25; min-width: 0; }
.review-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-who small { color: var(--ink-2); font-size: .85rem; }
.review .stars { margin-left: auto; font-size: .95rem; }
.review .q { display: none; }
.review p { overflow-wrap: anywhere; }
.review-local { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.reviews-empty { padding: 36px 28px; border: 1px dashed var(--line); border-radius: var(--r-photo); color: var(--ink-2); break-inside: avoid; }
.reviews-empty b { display: block; font-stretch: 75%; font-size: 1.7rem; color: var(--ink); margin-bottom: 8px; }
.reviews-more { margin-top: 4px; }
.review-form { display: grid; gap: 18px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-photo); }
.review-form h3 { font-size: 1.6rem; }
.review-form .help { margin-top: -10px; }
.star-input { border: 0; margin: 0; padding: 0; }
.star-input legend { font-weight: 700; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; transition: transform .15s var(--ease); }
.star-row label::before { content: "★"; font-size: 2rem; line-height: 1; color: var(--line); transition: color .15s; }
.star-row input:checked ~ label::before, .star-row label:hover::before, .star-row label:hover ~ label::before { color: var(--gold); }
.star-row label:hover { transform: scale(1.1); }
.star-row input:focus-visible + label { outline: 2px solid var(--gold); border-radius: var(--r-ctl); }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-ctl);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus-ring); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field textarea { resize: vertical; min-height: 70px; }
.field .count { justify-self: end; }
.help { font-size: .88rem; color: var(--ink-2); }
.form-error { background: var(--danger-bg); border: 1px solid var(--danger-line); color: var(--danger); padding: 12px 14px; border-radius: var(--r-ctl); font-weight: 600; font-size: .95rem; }
.seg { border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { grid-column: 1 / -1; padding: 0; margin-bottom: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 50px; padding: 8px; text-align: center; border-radius: var(--r-ctl); background: var(--bg); border: 1px solid var(--line); font-weight: 700; transition: background-color .15s, color .15s, border-color .15s; }
.seg input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay-opts [data-pay-opts] { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-ctl); border: 1px solid var(--line); cursor: pointer; font-weight: 700; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--alt); }
.pay-opt input, .check-line input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; cursor: pointer; }
.check-line input { margin-top: 3px; }
.check-line a { color: var(--ink); font-weight: 800; }
.consent input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.invoice { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-ctl); background: var(--bg); border: 1px solid var(--line); }
.invoice-fields { display: grid; gap: 12px; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 28px; align-content: start; }
.contact-info .btn { justify-self: start; }
.contact-list { margin: 0; display: grid; border-top: 2px solid var(--ink); }
.contact-list > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-alt); }
.contact-list dt { font-size: .9rem; color: var(--ink-2); }
.contact-list dd { margin: 0; font-weight: 700; font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-list a { text-underline-offset: 4px; text-decoration-color: var(--underline); }
.contact-list a:hover { text-decoration-color: currentColor; }
.hours h3 { font-size: 1.6rem; margin-bottom: 8px; }
.hours dl { margin: 0; display: grid; }
.hours dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-alt); }
.hours dd { margin: 0; font-weight: 700; }
.hours .is-today { font-weight: 800; }
.map-card { border-radius: var(--r-photo); overflow: hidden; background: var(--dark); }
.map-frame { position: relative; aspect-ratio: 4 / 3; }
.map-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-illus { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--on-dark); font-weight: 700; font-size: 1.2rem; text-underline-offset: 6px; }

/* ---------- Cierre ---------- */
.close { background: var(--surface); padding-block: var(--pad); }
.close-grid { display: grid; gap: 32px; }
.close-photo { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--r-photo); background: var(--alt); }
.close-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close-copy { display: grid; gap: 22px; align-content: center; }
.close-copy > p { font-size: 1.15rem; color: var(--ink-2); max-width: 48ch; }

/* ---------- Pie ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 56px 0 120px; }
.footer-in { display: grid; gap: 24px; }
.footer-brand { display: grid; gap: 4px; }
.footer-brand b { color: var(--on-dark); font-stretch: 80%; font-size: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { text-decoration: none; color: var(--on-dark); font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-small, .footer-credits { font-size: .85rem; }
.footer-credits a { color: inherit; }

/* ---------- Botón flotante del pedido ---------- */
.fab {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px 0 8px; border: 0; border-radius: var(--r-ctl); cursor: pointer;
  background: var(--ink); color: var(--on-dark); font-weight: 700; font-size: 1rem;
  box-shadow: 0 12px 28px -12px var(--fab-shadow);
  animation: fabIn .35s var(--ease);
}
.fab:active { transform: scale(.99); }
.fab-count { min-width: 44px; height: 44px; padding: 0 10px; display: grid; place-items: center; border-radius: 4px; background: var(--gold); color: var(--ink); }
.fab-label { margin-right: auto; }
.fab-total { font-stretch: 75%; font-weight: 800; font-size: 1.4rem; }
@keyframes fabIn { from { transform: translateY(120%); } }

/* ---------- Panel del pedido ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 150; background: var(--scrim); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; z-index: 151; left: 0; right: 0; bottom: 0; height: min(92dvh, 780px);
  display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border-radius: 10px 10px 0 0;
  transform: translateY(102%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2rem; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px; }
.drawer-foot { padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); display: grid; gap: 12px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; }
.total-row span { font-weight: 700; color: var(--ink-2); }
.total-row b { font-stretch: 75%; font-weight: 800; font-size: 2.2rem; line-height: 1; }
.sum-rows { display: grid; gap: 4px; font-size: .95rem; color: var(--ink-2); }
.sum-rows div { display: flex; justify-content: space-between; }

.cart-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { grid-row: span 2; width: 72px; height: 72px; border-radius: var(--r-photo); overflow: hidden; background: var(--alt); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-size: 1.3rem; }
.cart-item .unit { font-size: .85rem; color: var(--ink-2); }
.cart-item .line-total { font-stretch: 75%; font-size: 1.4rem; text-align: right; }
.cart-item .row2 { grid-column: 2 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.remove { border: 0; background: none; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--ink-2); padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.remove:hover { color: var(--danger); }
.cart-empty { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 48px 0; color: var(--ink-2); font-weight: 600; }

.checkout { display: grid; gap: 16px; align-content: start; }
.back-link { justify-self: start; border: 0; background: none; padding: 4px 0; font-weight: 700; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.back-link:hover { color: var(--ink); }

.done { display: grid; gap: 12px; align-content: start; }
.ticket { padding: 22px; border-radius: var(--r-photo); background: var(--bg); border: 1px solid var(--line); }
.ticket-k { font-weight: 700; color: var(--ink-2); }
.ticket-code { font-stretch: 75%; font-weight: 800; font-size: 2.6rem; line-height: 1.1; }
.ticket-body { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-family: var(--font); font-size: .92rem; white-space: pre-wrap; word-break: break-word; }
.bank-box { padding: 16px; border-radius: var(--r-ctl); background: var(--ok-bg); border: 1px solid var(--gold); display: grid; gap: 8px; font-size: .95rem; }
.bank-box dl { margin: 0; display: grid; gap: 4px; }
.bank-box dl div { display: flex; justify-content: space-between; gap: 12px; }
.bank-box dt { color: var(--ink-2); }
.bank-box dd { margin: 0; font-weight: 800; text-align: right; }
.bank-box small { color: var(--ink-2); }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; z-index: 200; left: 50%; top: calc(var(--nav-h) + 12px); translate: -50% -10px; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--on-dark); padding: 12px 18px; border-radius: var(--r-ctl); font-weight: 700;
  white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis;
  transition: opacity .2s, translate .25s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Aparición con scroll ---------- */

/* ---------- Tamaños ---------- */
@media (min-width: 640px) {
  .cart-btn-label { display: inline; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .about-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ph-a { grid-column: 1 / -1; }
  .reviews-wall { columns: 2; }
  .fab { left: auto; right: 24px; bottom: 24px; min-width: 320px; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .cart-btn { margin-left: 0; }
  .hero { height: calc(100vh - var(--nav-h)); min-height: 640px; }
  .hero-grid, .power-grid, .faq-grid, .reviews-layout, .contact, .close-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .hero-grid { height: 100%; align-items: stretch; }
  .hero-photo { min-height: 0; }
  .section, .close { min-height: calc(var(--h, 1) * 100vh); display: grid; align-content: center; padding-block: 56px; }
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { margin-bottom: 40px; }
  .head { margin-bottom: 36px; }
  .faq-side { position: sticky; top: calc(var(--nav-h) + 24px); }
  .faq-photo { aspect-ratio: 3 / 2; }
  .about-photos { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ph-a { grid-column: auto; }
  .ph-a, .ph-b, .ph-c { aspect-ratio: auto; height: 320px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
  .review-form { position: sticky; top: calc(var(--nav-h) + 24px); }
  .close-grid { align-items: stretch; height: calc(100vh - 112px); }
  .close-photo { min-height: 0; }
  .p-media { aspect-ratio: 3 / 2; }
  .footer { padding-bottom: 56px; }
  .drawer { left: auto; top: 0; width: 460px; height: 100dvh; border-radius: 0; transform: translateX(102%); }
}
@media (min-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero[data-enter] .hero-copy > *, .js .hero[data-enter] .hero-photo img { opacity: 1; transform: none; }
}

[data-scroll-zoom] img { transform-origin: 50% 50%; will-change: transform; }
.credits-page { display: grid; gap: 20px; max-width: 760px; }
.credits-page h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.credits-page ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* ===== Ajustes de composición: rejilla de 12 columnas, barra fija, pie con cierre ===== */
.nav { position: fixed; left: 0; right: 0; top: 0; }
.hero { padding-top: calc(var(--nav-h) + 24px); }
.skip { position: absolute; }
.qty button:focus-visible { outline-offset: -3px; }
.reviews-empty { padding: 0; border: 0; }

.pay-split { display: grid; gap: 24px; }
.pay-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-photo); background: var(--bg); }
.pay-photo img { width: 100%; height: 100%; object-fit: cover; }
.pay-split .info-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pay-split .info-block { padding: 18px 0; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; gap: 8px; }
.pay-split .info-block h3 { font-size: 1.4rem; }
.pay-list { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pay-list li { border: 0; padding: 0; }

.footer.closing { background: var(--surface); color: var(--ink-2); padding: calc(var(--nav-h) + 24px) 0 32px; }
.footer.closing > .wrap { display: grid; gap: 40px; }
.close-grid { display: grid; gap: 24px; }
.close-copy { align-content: start; }
.legal { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer .footer-brand b { color: var(--ink); }
.footer .footer-links a { color: var(--ink); }

@media (max-width: 899px) {
  .hero-photo { display: none; }
  .hero { padding-bottom: 32px; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-lede { font-size: 1.05rem; }
  .hero-prices li { padding: 8px 0; }
  .hero-prices b { font-size: 1.6rem; }
  .hero-unit { margin-top: -8px; }
}
@media (min-width: 900px) {
  .hero { height: 100vh; min-height: 680px; padding-bottom: 48px; }
  .hero-grid, .power-grid, .faq-grid, .reviews-layout, .contact, .close-grid, .pay-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; row-gap: 24px; }
  .hero-copy { align-content: start; padding-right: 40px; }
  .power-copy, .faq-side, .contact-info, .close-copy { padding-right: 40px; }
  .section { min-height: calc(var(--h, 1) * 100vh); padding-block: calc(var(--nav-h) + 24px) 48px; align-content: start; }
  .pay-split { align-items: stretch; }
  .pay-photo { aspect-ratio: auto; min-height: 420px; }
  .about-photos { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .ph-a { grid-column: span 6; }
  .ph-b, .ph-c { grid-column: span 3; }
  .footer.closing { min-height: 100vh; display: grid; align-content: stretch; }
  .footer.closing > .wrap { grid-template-rows: 1fr auto; }
  .close-grid { height: auto; align-items: stretch; }
  .close-photo { min-height: 440px; }
  .legal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .footer-small, .footer-credits { grid-column: 1 / -1; }
}
.pay-photo { position: relative; }
.pay-photo img { position: absolute; inset: 0; }
.close-copy h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
@media (max-width: 899px) { .pay-photo { aspect-ratio: 4 / 3; } }

/* Página exclusiva del catálogo (/catalogo) */
.catalog-page { padding-top: calc(var(--nav-h) + 40px); }
.catalog-page .head-row { align-items: end; }
.catalog-page .head-row .head { margin-bottom: 0; }
.catalog-page h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .95; }
.catalog-page .head-row > .head > p { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.catalog-page .head-row .btn { flex: none; }
.catalog-note { margin-top: 24px; font-size: .95rem; color: var(--ink-2); }
.catalog-foot { background: var(--surface); color: var(--ink-2); padding: 32px 0 120px; }
@media (min-width: 900px) { .catalog-page { min-height: 0; } .catalog-foot { padding-bottom: 40px; } }
.catalog-link { margin-top: 20px; color: var(--ink-2); }
.catalog-link a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
