:root {
  color-scheme: light;
  --ink: #100f0f;
  --alabaster: #f0edea;
  --gold: #a76b13;
  --gold-light: #e8c77e;
  --blue: #0b5fc4;
  --ritual-glow: rgba(19, 118, 233, .2);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; background: var(--alabaster); }
body { margin: 0; min-height: 100%; background: transparent; color: var(--ink); font-family: Judson, Georgia, serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
::selection { background: var(--blue); color: white; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #e8ded2; }
::-webkit-scrollbar-thumb { background: #9b6b2b; border: 2px solid #e8ded2; border-radius: 999px; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
/* The painted stage keeps the comp's 1586/992 proportion and covers the frame; overlays that sit on painted features use its coordinates. */
.comp-frame { --stage-w: max(100vw, calc(100vh * 1.5988)); --stage-h: calc(var(--stage-w) / 1.5988); --stage-x: calc((100vw - var(--stage-w)) / 2); --stage-y: 0px; position: relative; width: 100vw; height: var(--stage-h); margin: 0; overflow: hidden; isolation: isolate; background: var(--alabaster); }
.escenario { position: absolute; left: var(--stage-x); top: var(--stage-y); width: var(--stage-w); height: var(--stage-h); }
.scene { position: absolute; inset: 0; z-index: -2; margin: 0; }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 36%, var(--ritual-glow), transparent 23%); mix-blend-mode: screen; opacity: .68; transition: background .75s var(--ease-out); }
/* The rendered rotunda sits ~3% higher than the comp; the marble header band covers the gap this shift opens at the top. */
.scene img { width: 100%; height: 100%; display: block; object-fit: cover; transform: translateY(3%); filter: saturate(.96) brightness(1.015); }

.site-header { position: absolute; inset: 0 0 auto; height: 10%; z-index: 20; }
.site-header::before { content: ""; position: absolute; left: 2.8%; right: 2.8%; top: 0; height: 75%; z-index: -1; background: #efebe7 url("assets/plates/marble-band.webp") center / auto 100% repeat-x; border-bottom: 2px solid #c29a57; border-radius: 0 0 50% 50% / 0 0 52px 52px; box-shadow: 0 1px 0 rgba(255, 244, 214, .7), 0 4px 8px rgba(70, 48, 20, .12); }
/* Open sky under the sagging lintel, as in the comp: the architrave below starts further down. */
.site-header::after { content: ""; position: absolute; left: 28%; right: 28%; top: 62%; height: 44%; z-index: -2; background: linear-gradient(180deg, #e9eef5 0%, rgba(233, 238, 245, .92) 55%, rgba(233, 238, 245, 0)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); pointer-events: none; }
.desktop-nav { position: absolute; left: 9.52%; top: 21%; display: flex; gap: 2.85vw; }
.desktop-nav a { text-decoration: none; text-transform: uppercase; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(10px, .9vw, 14px); font-weight: 500; letter-spacing: .2em; white-space: nowrap; text-underline-offset: 6px; }
.desktop-nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.brand { position: absolute; left: 40%; top: -3.5%; width: 20%; height: 72.5%; display: block; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; transform: none; }
.header-actions { position: absolute; right: 9.52%; top: 0; height: 66.7%; display: flex; align-items: center; gap: clamp(8px, .95vw, 15px); }
.header-actions::before, .header-actions::after { content: ""; width: 1px; height: 32%; background: rgba(98, 67, 38, .3); }
.header-actions .search-trigger { order: 0; }
.header-actions::before { order: 1; }
.header-actions > a { order: 2; }
.header-actions::after { order: 3; }
.header-actions .bag-trigger { order: 4; }

.icon-button { position: relative; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.icon-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover { color: var(--gold); }
/* Redes hasta arriba (cliente, 2026-10-02): burbujas en la banda de mármol, a la derecha del
   logotipo, y una píldora que recuerda que el mayoreo va por WhatsApp. */
.redes-cima { position: absolute; left: 57%; top: 0; height: 66.7%; display: flex; align-items: center; gap: clamp(6px, .55vw, 9px); }
.burbuja { display: block; width: clamp(28px, 2.1vw, 34px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 2px 6px rgba(70, 48, 20, .28); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.burbuja img, .burbuja-mayoreo img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.burbuja-mayoreo { display: flex; align-items: center; gap: 8px; height: clamp(32px, 2.35vw, 38px); padding: 2px 12px 2px 2px; border: 1px solid rgba(167, 107, 19, .55); border-radius: 999px; background: rgba(255, 252, 246, .88); box-shadow: 0 2px 6px rgba(70, 48, 20, .18); color: var(--ink); text-decoration: none; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(9px, .62vw, 10.5px); font-weight: 600; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; transition: transform .35s var(--ease-out), border-color .35s ease; }
.burbuja-mayoreo img { width: auto; aspect-ratio: 1; }
.burbuja-mayoreo b { display: block; color: #1d6b37; font-weight: 600; }
.burbuja:hover, .burbuja-mayoreo:hover { transform: translateY(-2px); }
.burbuja:hover { box-shadow: 0 6px 12px rgba(70, 48, 20, .3); }
.burbuja-mayoreo:hover { border-color: var(--gold); }
.burbuja:focus-visible, .burbuja-mayoreo:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Por debajo de 1560 px las burbujas no caben junto a las tres acciones: sale el icono de
   persona, que sólo lleva a «Historia», ya presente en el menú de la izquierda. */
@media (min-width: 701px) and (max-width: 1560px) {
  .header-actions > a, .header-actions::after { display: none; }
}
@media (min-width: 701px) and (max-width: 1180px) and (orientation: landscape) {
  .redes-cima { left: 56.5%; gap: 6px; }
  .burbuja-mayoreo { padding-right: 10px; }
  .burbuja-mayoreo span { font-size: 0; }
  .burbuja-mayoreo span::before { content: "Mayoreo"; font-size: 9.5px; }
  .burbuja-mayoreo b { display: none; }
}
.bag-count { position: absolute; right: 0; top: 1px; min-width: 17px; height: 17px; padding: 0 4px; display: none; place-items: center; border-radius: 50%; background: var(--blue); color: white; font: 600 10px/1 Montserrat, "Trebuchet MS", sans-serif; }
.bag-count.visible { display: grid; }

.hero-copy { position: absolute; left: 14.94%; top: 19.96%; width: 27.62%; height: 23.1%; z-index: 5; }
.hero-copy h1 { margin: 0; color: #0a0a0a; font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(44px, 5.08vw, 88px); font-weight: 600; line-height: .85; letter-spacing: -.04em; white-space: nowrap; }
.title-rule { position: absolute; left: 1.4%; top: 76%; display: block; width: 18.5%; height: 2px; background: linear-gradient(90deg, #7d4d0b, var(--gold) 45%, rgba(232, 199, 126, .15)); }
.hero-copy p { position: absolute; top: 80.3%; left: .9%; margin: 0; color: #0d0d0d; font-size: clamp(22px, 2.29vw, 40px); font-weight: 400; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.hero-product { position: absolute; left: 39%; top: 9%; width: 22%; height: 53%; margin: 0; z-index: 4; perspective: 1400px; filter: drop-shadow(0 18px 18px rgba(28, 19, 10, .18)); }
.ofrenda { position: absolute; inset: 0; }
.ofrenda .cara { position: absolute; display: none; }
.cara { left: 50%; bottom: 12.2%; height: 49.5%; width: auto; translate: -50% 0; object-fit: contain; }
.cara[data-cara$="-aftershave"] { height: 88%; }
.comp-frame[data-hero="zeus-pomada"] .cara[data-cara="zeus-pomada"],
.comp-frame[data-hero="afrodita-pomada"] .cara[data-cara="afrodita-pomada"],
.comp-frame[data-hero="hades-pomada"] .cara[data-cara="hades-pomada"],
.comp-frame[data-hero="zeus-aftershave"] .cara[data-cara="zeus-aftershave"],
.comp-frame[data-hero="hades-aftershave"] .cara[data-cara="hades-aftershave"] { display: block; }
.banner-copy { position: absolute; z-index: 3; margin: 0; color: #86643e; font-family: Judson, Georgia, serif; font-size: clamp(9px, .95vw, 16px); font-weight: 400; line-height: 1.87; letter-spacing: .07em; text-align: center; text-transform: uppercase; }
.banner-copy::after { content: ""; display: block; width: 28%; height: 1px; margin: .9em auto 0; background: linear-gradient(90deg, transparent, #a7823f 20%, #a7823f 80%, transparent); }
.banner-left { left: 2.6%; top: 23.8%; width: 10%; rotate: 2deg; }
.banner-right { right: 2.15%; top: 24.6%; width: 10%; }

.benefits { position: absolute; left: 70%; top: 19.5%; width: 17%; height: 21%; display: grid; grid-template-rows: repeat(3, 1fr); z-index: 5; }
.benefit { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: clamp(14px, 1.6vw, 25px); }
.benefit-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid var(--gold); border-radius: 50%; color: var(--gold); }
.benefit-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit p { margin: 0; color: #424040; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(10px, .78vw, 13px); line-height: 1.45; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; }

.primary-cta { position: absolute; left: 66.45%; top: 42.54%; width: 18.66%; height: 5.95%; z-index: 6; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.26vw, 20px); padding: 0 1.45% 0 1.77%; border: 2px solid #b98a3a; background: linear-gradient(180deg, #1c1a17, #0c0b0b 70%); color: #efe4cc; text-decoration: none; font-size: clamp(16px, 1.45vw, 25px); white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), 0 14px 28px rgba(25, 16, 8, .18); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out); }
.primary-cta svg { width: clamp(18px, 1.5vw, 26px); flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.primary-cta:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), 0 18px 34px rgba(25, 16, 8, .26); background: #181612; }
.primary-cta:hover svg { transform: translateX(5px); }

/* ---- El menu: tres sellos montados en los paneles de la basa, uno por dios ---- */
.sellos { position: absolute; left: 28.37%; top: 64.2%; width: 43%; height: 7.4%; z-index: 8; display: grid; grid-template-columns: 205fr 258fr 204fr; column-gap: 1%; }
.sellos button { position: relative; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: transform .45s var(--ease-out); }
/* En reposo el sello es una moneda de bronce hundida en la piedra: el color se reserva al elegido. */
.sellos img, .sellos button::before { position: absolute; left: 50%; top: 50%; translate: -50% -50%; aspect-ratio: 1; border-radius: 50%; }
.sellos img { z-index: 1; display: block; height: 152%; width: auto; filter: saturate(.3) sepia(.24) brightness(.95) contrast(.92); transition: filter .45s var(--ease-out); }
.sellos button::before { content: ""; z-index: 0; height: 152%; box-shadow: 0 3px 7px rgba(58, 42, 20, .45), 0 0 0 1px rgba(120, 92, 46, .55); transition: box-shadow .45s var(--ease-out); }
.sellos button:hover img { filter: saturate(.62) sepia(.12) brightness(.96); }
.sellos button[aria-checked="true"] { transform: translateY(-6%) scale(1.16); }
.sellos button[aria-checked="true"] img { filter: none; }
.sellos button[aria-checked="true"]::before { box-shadow: 0 9px 18px rgba(44, 32, 18, .4), 0 0 0 2px rgba(232, 199, 126, .95), 0 0 0 4px rgba(167, 107, 19, .35); }

/* ---- Y bajo la ofrenda, el tipo: la pomada siempre, el after shave solo donde existe ---- */
.tipos { position: absolute; left: 50%; translate: -50% 0; top: 56.6%; z-index: 9; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.1vw, 18px); padding: 0 clamp(16px, 1.8vw, 30px); background: linear-gradient(180deg, #f7f3ec, #ece5d9); border: 1px solid rgba(194, 154, 87, .85); box-shadow: inset 0 0 0 1px rgba(255, 252, 245, .85), inset 0 1px 0 rgba(255, 252, 245, .95), inset 0 -1px 0 rgba(186, 160, 116, .35), 0 5px 12px rgba(60, 44, 22, .16); }
.tipos button { white-space: nowrap; min-height: 40px; padding: 0 2px; border: 0; background: transparent; cursor: pointer; font-family: Judson, Georgia, serif; font-size: clamp(11px, 1.06vw, 17px); letter-spacing: .15em; text-transform: uppercase; color: #7a6a58; transition: color .3s ease; }
.tipos button:hover:not(:disabled) { color: #7b4b0c; }
.tipos button[aria-checked="true"] { position: relative; color: #17130f; }
.tipos button[aria-checked="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.tipos button:disabled { opacity: .36; cursor: not-allowed; }
.tipos-punto { width: 3px; height: 3px; border-radius: 50%; background: rgba(134, 100, 62, .7); }
.tipos-nota { position: absolute; top: 100%; left: -1px; right: -1px; margin: 0; padding: 4px 8px 5px; text-align: center; white-space: nowrap; background: linear-gradient(180deg, #ebe4d7, #e1d8c8); border: 1px solid rgba(194, 154, 87, .85); border-top: 0; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(9px, .68vw, 11px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6a5632; }
.tipos-nota:empty { display: none; }

/* ---- El rito: dos segundos al elegir dios. Rayo para Zeus, pétalos para Afrodita,
   brasas para Hades. Vive por delante del altar y por detrás de las medallas, y no
   existe bajo prefers-reduced-motion. ---- */
.rito { position: absolute; inset: 0; z-index: 10; overflow: hidden; pointer-events: none; }
.rito .destello { position: absolute; inset: 0; background: rgba(226, 241, 255, .92); opacity: 0; animation: rito-destello .5s var(--ease-out) forwards; }
.rito .rayo { position: absolute; left: 50%; translate: -50% 0; top: 0; width: 18%; height: 58%; overflow: visible; }
.rito .rayo path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: rito-rayo 1.9s var(--ease-out) forwards; }
.rito .rayo .halo { stroke: rgba(120, 190, 255, .75); stroke-width: 9; filter: blur(5px); }
.rito .rayo .nucleo { stroke: #f4fbff; stroke-width: 2.6; }
.rito .cae { position: absolute; top: -8%; left: var(--x); width: var(--w); height: var(--w); animation: rito-cae var(--t) cubic-bezier(.3, .1, .5, 1) var(--d) forwards; }
.rito .petalo { color: #f6a8c4; filter: drop-shadow(0 1px 2px rgba(150, 60, 95, .25)); }
.rito .petalo svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.rito .brasa { height: calc(var(--w) * 3); mix-blend-mode: screen; }
.rito .brasa svg { width: 100%; height: 100%; display: block; }
.rito .tinte { position: absolute; inset: 0; background: var(--tinte); opacity: 0; animation: rito-tinte .9s ease-out forwards; }
@keyframes rito-destello { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rito-tinte { 0% { opacity: 0; } 22% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rito-rayo {
  0% { stroke-dashoffset: 420; opacity: 1; }
  9% { stroke-dashoffset: 0; opacity: 1; }
  16% { opacity: .35; }
  22% { opacity: 1; }
  55% { opacity: .5; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes rito-cae {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--giro)); opacity: 0; }
}

/* La basa del dios elegido: su decoracion y su nombre grabado, nada mas. El producto vive
   arriba, en la ofrenda, y no se repite aqui. Al cambiar de medalla solo cruza un fundido:
   nada se desplaza, asi que la arquitectura nunca se descuadra. */
.basa { position: absolute; left: 50%; translate: -50% 0; top: 52.1%; width: 68%; height: 46.7%; z-index: 6; pointer-events: none; }
.basa-cara { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: opacity .22s linear; }
.basa-cara.cambiando { opacity: 0; }

.hero-product { transition: filter .75s var(--ease-out); }
.comp-frame[data-tipo="aftershave"] .hero-product { filter: drop-shadow(0 18px 18px rgba(28, 19, 10, .18)) drop-shadow(0 0 26px var(--ritual-glow, rgba(19, 118, 233, .32))); }

/* La firma del selector: la ofrenda gira como una tapa al enroscarse y vuelve con otra cara. */
.ofrenda.gira { animation: sello-gira .66s var(--ease-out); }
.ofrenda.fundiendo { opacity: 0; transition: opacity .18s linear; }
@keyframes sello-gira {
  0% { transform: rotateY(0deg) scale(1); }
  48% { transform: rotateY(84deg) scale(.94); }
  52% { transform: rotateY(-84deg) scale(.94); }
  100% { transform: rotateY(0deg) scale(1); }
}

/* One entrance, orchestrated: the declaration, the offering rising from the basin, then the ritual notes. Content stays visible if animation never runs. */
@keyframes rise-in { from { opacity: 0; translate: 0 14px; } }
@keyframes offering-rise { from { opacity: 0; translate: 0 5%; } }
@keyframes bag-pulse { 40% { scale: 1.35; } }
.hero-copy h1 { animation: rise-in .9s var(--ease-out) .1s both; }
.title-rule { animation: rise-in .9s var(--ease-out) .25s both; }
.hero-copy p { animation: rise-in .9s var(--ease-out) .35s both; }
.hero-product { animation: offering-rise 1.1s var(--ease-out) .2s both; }
.benefit { animation: rise-in .8s var(--ease-out) both; }
.benefit:nth-child(1) { animation-delay: .45s; }
.benefit:nth-child(2) { animation-delay: .55s; }
.benefit:nth-child(3) { animation-delay: .65s; }
.primary-cta { animation: rise-in .8s var(--ease-out) .75s both; }
.tipos { animation: rise-in .8s var(--ease-out) .6s both; }
.sellos button { animation: rise-in .8s var(--ease-out) .68s both; }
.bag-count.pulse { animation: bag-pulse .45s var(--ease-out); }

.search-panel { position: absolute; right: 7.8%; top: 78%; width: min(440px, 38vw); padding: 18px; background: rgba(255, 250, 243, .96); border: 1px solid rgba(167, 107, 19, .45); box-shadow: 0 14px 26px rgba(44, 31, 20, .22); }
.search-panel label { display: block; margin-bottom: 8px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.search-panel div { display: flex; }
.search-panel input { min-width: 0; flex: 1; height: 44px; padding: 0 12px; border: 1px solid #9b7b54; background: white; }
.search-panel button { height: 44px; padding: 0 16px; border: 0; background: var(--ink); color: white; cursor: pointer; }
.search-status { margin: 9px 0 0; min-height: 1em; font-size: 14px; color: #60431f; }

.cart-drawer { position: fixed; top: 0; right: 0; z-index: 40; width: min(390px, 92%); height: 100%; padding: 28px; background: rgba(250, 246, 239, .98); box-shadow: -24px 0 55px rgba(31, 22, 14, .22); transform: translateX(104%); visibility: hidden; transition: transform .55s var(--ease-out), visibility 0s linear .55s; }
.cart-drawer.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(167, 107, 19, .4); }
.drawer-head h2 { margin: 0; font-size: 36px; }
.cart-items { display: grid; gap: 12px; padding: 24px 0; }
.empty-cart { color: #604d3d; }
.drawer-action { width: 100%; height: 50px; border: 1px solid #b8852f; background: var(--ink); color: white; cursor: pointer; }
.drawer-action:disabled { cursor: not-allowed; opacity: .42; }
.toast { position: absolute; left: 50%; bottom: 3%; z-index: 60; transform: translate(-50%, 18px); padding: 11px 18px; background: var(--ink); color: white; opacity: 0; pointer-events: none; box-shadow: 0 12px 24px rgba(0,0,0,.2); transition: opacity .25s ease, transform .45s var(--ease-out); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
/* Opening film (3 s): Zeus hurls his bolt at the viewer, the frame burns to white, and the store emerges from the light.
   app.js shows it only when it can play; the store never waits on it. */
.intro { position: fixed; inset: 0; z-index: 200; background: #0b0d14; transition: background-color .25s linear, opacity .9s var(--ease-out) .15s, visibility 0s linear 1.05s; }
.intro[hidden] { display: none; }
.intro.is-white { background: #fff; }
.intro.is-white .intro-video, .intro.is-white .intro-skip { opacity: 0; }
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro-video { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 30%; transition: opacity .25s linear; }
.intro-skip { position: absolute; right: clamp(16px, 2.2vw, 36px); bottom: clamp(16px, 3vh, 36px); min-height: 44px; padding: 0 18px; border: 1px solid rgba(232, 199, 126, .75); background: rgba(16, 15, 15, .5); color: #efe4cc; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s ease, border-color .3s ease, opacity .25s linear; }
.intro-skip:hover { background: rgba(16, 15, 15, .75); border-color: var(--gold-light); }
html.intro-playing, html.intro-revealing { overflow: hidden; }
html.intro-playing .comp-frame * { animation-play-state: paused !important; }
/* The store surfaces from the flash: a slight settle in scale and focus. */
html.intro-playing .comp-frame { transform: scale(1.035); filter: blur(10px) brightness(1.25); }
html.intro-revealing .comp-frame { transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); }
/* ---- La tienda ocurre en el cielo que la rotonda enmarca. Todo flota sobre una capa fija de nubes. ---- */
.cielo { position: fixed; inset: -6% 0 0; z-index: -1; background: #e9eef5 url("assets/cielo/cielo-medio.webp") center 30% / cover no-repeat; will-change: transform; }
.cielo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 247, 241, .62), rgba(250, 247, 241, .3) 35%, rgba(247, 242, 234, .72)); }
.tienda { position: relative; z-index: 1; }

/* La bajada: el suelo de la rotonda se disuelve y aparece el cielo abierto. */
.descenso { --cornisa: clamp(44px, 4.4vw, 64px); position: relative; height: clamp(200px, 27vw, 400px); margin-top: -1px; overflow: hidden; }
/* El último escalón de la terraza. Es la misma banda de mármol que reaparece como barra fija al bajar. */
.descenso::before { content: ""; box-sizing: border-box; position: absolute; left: 0; right: 0; top: 0; height: var(--cornisa); background: #efebe7 url("assets/plates/marmol-barra.webp") center / auto 100% repeat-x; border-bottom: 2px solid #c29a57; box-shadow: inset 0 2px 0 rgba(255, 246, 222, .75), inset 0 -13px 0 -12px rgba(194, 154, 87, .5), 0 16px 30px rgba(28, 26, 23, .22); }
/* Debajo del escalón ya no hay suelo: solo la luz que sube del cielo abierto. */
.descenso::after { content: ""; position: absolute; left: 0; right: 0; top: var(--cornisa); bottom: 0; background: linear-gradient(180deg, rgba(246, 239, 227, .92), rgba(249, 244, 234, .46) 42%, rgba(250, 245, 236, 0)); }

/* ---- El gesto: el producto en uso, antes de nombrarlo. Una banda ancha que flota en el
   cielo, con los cantos difuminados para que no sea un rectángulo pegado. ---- */
.gesto { position: relative; margin: clamp(10px, 2vw, 26px) auto clamp(34px, 5vw, 64px); width: min(1180px, 92vw); aspect-ratio: 16 / 9; }
.gesto-media { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; background: #e9e3d8; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }

.seccion, .nicho, .gesto { scroll-margin-top: 64px; }
.seccion { position: relative; padding: clamp(52px, 9vw, 116px) clamp(18px, 5vw, 64px); }
.seccion-abre { padding-top: clamp(16px, 3vw, 32px); }
.seccion-cabecera { max-width: 760px; margin: 0 auto clamp(30px, 4.5vw, 56px); text-align: center; }
.seccion-cabecera h2 { margin: 0; font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(31px, 6vw, 54px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; color: #0a0a0a; text-wrap: balance; }
.seccion-cabecera h2::after { content: ""; display: block; width: 64px; height: 2px; margin: clamp(16px, 2vw, 24px) auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.seccion-entrada { margin: clamp(14px, 2vw, 20px) auto 0; max-width: 60ch; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; color: #35302a; text-wrap: pretty; }

.boton { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid #b98a3a; background: linear-gradient(180deg, #1c1a17, #0c0b0b 70%); color: #efe4cc; font-family: Judson, Georgia, serif; font-size: 18px; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), 0 14px 28px rgba(25, 16, 8, .18); transition: transform .35s var(--ease-out), background .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.boton:hover { transform: translateY(-2px); background: #181612; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), 0 18px 34px rgba(25, 16, 8, .26); }
.boton-claro { background: rgba(252, 250, 246, .82); color: var(--ink); border-color: rgba(167, 107, 19, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.boton-claro:hover { background: #fffdf9; }

/* ---- Un nicho por dios: el producto flota en su propia energía ---- */
.nicho { position: relative; min-height: clamp(560px, 82vh, 820px); display: grid; align-items: center; justify-items: center; gap: clamp(18px, 3vw, 48px); padding: clamp(40px, 7vw, 90px) clamp(18px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.nicho::before { content: ""; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.nicho-zeus::before { background-image: linear-gradient(rgba(246, 242, 235, .3), rgba(246, 242, 235, .3)), url("assets/cielo/nicho-zeus.webp"); }
.nicho-hades::before { background-image: linear-gradient(rgba(246, 242, 235, .3), rgba(246, 242, 235, .3)), url("assets/cielo/nicho-hades.webp"); }
.nicho-afrodita::before { background-image: linear-gradient(rgba(246, 242, 235, .3), rgba(246, 242, 235, .3)), url("assets/cielo/nicho-afrodita.webp"); }
/* El tarro real es chaparro y ancho: 1,6 de ancho por alto. La caja creció con él, porque
   con la anterior de 400 px el tarro sólo ocupaba 322 px y el cliente lo veía pequeño. */
.nicho-objeto { position: relative; width: min(86vw, 560px); margin: 0; }
.nicho-objeto img { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 30px rgba(28, 19, 10, .28)); }
.nicho-objeto::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -3%; height: 26px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(40, 26, 12, .28), transparent 70%); }
.nicho-texto { position: relative; width: 100%; max-width: min(56ch, 100%); text-align: center; padding: clamp(26px, 3vw, 40px) clamp(24px, 2.6vw, 36px); background: #f3efe8 url("assets/plates/marmol-losa.webp") center / cover; box-shadow: 0 26px 54px rgba(44, 31, 20, .28), inset 0 1px 0 rgba(255, 253, 248, .95), inset 0 -3px 8px rgba(92, 70, 44, .1); }
.nicho-texto::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
/* El filete grabado que recorre toda la pagina. */
.nicho-texto::after { content: ""; position: absolute; inset: clamp(10px, 1.1vw, 15px); border: 1px solid rgba(167, 107, 19, .3); pointer-events: none; }
.nicho-texto h3 { margin: 0; font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(32px, 5.4vw, 54px); text-wrap: balance; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.nicho-linea { display: block; width: 74px; height: 2px; margin: clamp(14px, 2vw, 20px) auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.nicho-texto p { margin: 0 0 6px; font-size: clamp(17px, 2.1vw, 20px); line-height: 1.5; color: #35302a; }
.nicho-pie { width: 100%; margin-top: clamp(18px, 2.5vw, 26px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 22px); }
.precio { margin: 0; font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.precio small { display: block; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #6b6156; }
/* «MXN» delante de cada cifra: versalitas de oro oscuro, a media altura de los números. */
.moneda { margin-right: .28em; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: max(.5em, 12px); font-weight: 600; letter-spacing: .12em; vertical-align: .5em; color: #5a3a10; }
/* Los sueltos no incluyen envío: dicho en una placa, no en letra chica. */
.precio small.nota-envio { display: flex; width: fit-content; align-items: center; gap: 7px; margin-top: 8px; padding: 6px 11px 6px 9px; border: 1px solid rgba(107, 63, 6, .5); background: rgba(255, 250, 240, .7); color: #5a3a10; font-weight: 600; letter-spacing: .14em; }
/* Con el envío incluido la placa toma el oro templado del sello de envío de los paquetes. */
.precio small.nota-envio.incluido { border-color: rgba(167, 107, 19, .6); background: linear-gradient(180deg, rgba(232, 199, 126, .34), rgba(232, 199, 126, .14)); color: #6b3f06; }
.nicho-pie .precio small.nota-envio { margin-inline: auto; }
.nicho-texto .precio { margin: 0; font-size: clamp(30px, 3vw, 38px); line-height: 1.1; color: var(--ink); }
.nota-envio .icono { flex: 0 0 auto; width: 19px; height: 19px; }
.nicho-aroma { margin: 10px 0 12px !important; }
.nicho-aroma strong { display: block; margin-bottom: 2px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #7b4b0c; }
.entrada-envio { font-weight: 700; color: #6b3f06; }
@media (min-width: 880px) {
  .nicho { grid-template-columns: 1fr 1fr; justify-items: stretch; }
  .nicho-objeto { justify-self: end; margin-right: clamp(20px, 4vw, 70px); }
  .nicho-texto { text-align: left; }
  .nicho-linea { margin-inline: 0; }
  .nicho-pie { justify-content: flex-start; }
  .nicho-par .nicho-objeto { justify-self: center; margin: 0; }
}

/* El par de after shave comparte un nicho */
.nicho-par { grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .nicho-par { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nicho-par .nicho-botellas { justify-self: end; margin-right: clamp(20px, 4vw, 70px); }
}
/* Botellas más grandes (cliente, 2026-10-05: «se ven muy pequeñas»): de 210 a 290 px de ancho
   en escritorio y de 38 a 43vw en teléfono, con menos aire entre las dos. */
.nicho-par .nicho-botellas { display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 3.5vw, 48px); }
.nicho-par .nicho-botellas figure { margin: 0; width: min(43vw, 290px); text-align: center; }
/* En dos columnas las botellas crecen con la pantalla sin pasar de su mitad: a 1024 px un
   ancho fijo de 290 empujaba la tablilla del texto y sacaba la botella de Zeus de la vista. */
@media (min-width: 880px) {
  .nicho-par .nicho-botellas figure { width: min(21vw, 290px); }
}
.nicho-par .nicho-botellas img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 26px rgba(28, 19, 10, .3)); }
.nicho-par figcaption { margin-top: 14px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #5f564b; }

/* ---- Plintos de paquete: losas de mármol, no tarjetas ---- */
.plintos { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; display: grid; gap: clamp(18px, 2.6vw, 30px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.plinto { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(30px, 3.4vw, 44px) clamp(26px, 3vw, 38px) clamp(30px, 3.4vw, 40px); background: #f3efe8 url("assets/plates/marmol-losa.webp") center / cover; box-shadow: 0 26px 54px rgba(44, 31, 20, .26), inset 0 1px 0 rgba(255, 253, 248, .95), inset 0 -3px 8px rgba(92, 70, 44, .12); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.plinto::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
/* El filete grabado de los paneles de la rotonda. */
.plinto::after { content: ""; position: absolute; inset: clamp(11px, 1.2vw, 16px); border: 1px solid rgba(167, 107, 19, .3); pointer-events: none; }
.plinto:hover { transform: translateY(-4px); box-shadow: 0 34px 66px rgba(44, 31, 20, .3), inset 0 1px 0 rgba(255, 253, 248, .95), inset 0 -3px 8px rgba(92, 70, 44, .12); }
/* La caja del paquete se apoya en una repisa cortada en el mármol: la lámina trae
   su propia sombra de contacto, así que la regla de oro la recibe como un estante
   y no como una foto pegada encima de la placa. */
/* Las tres fotos de paquete dejaron de ser recortes flotando y son fotografías con su
   propio mármol, su reflejo y su sombra larga. Por eso ya no se apoyan en una repisa:
   se montan como una lámina enmarcada sobre la placa, todas al mismo 3:2 y recortadas
   con cover, que es lo que mantiene los tres titulares en la misma línea aunque cada
   toma tenga su encuadre. */
.plinto-caja { position: relative; margin: 0 0 clamp(4px, .6vw, 8px); aspect-ratio: 3 / 2; overflow: hidden; box-shadow: 0 10px 22px rgba(44, 31, 20, .18); }
.plinto-caja img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Filete de oro que la sujeta a la placa, el mismo del marco interior del plinto. */
.plinto-caja::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(167, 107, 19, .5); pointer-events: none; }
/* La cifra de tarros: un medallón de obsidiana con doble aro de oro, pariente de los sellos
   de las tapas y de la pareja negro y oro del botón «Armarlo», en el rincón alto de la foto
   que no tiene producto. Repite el titular a propósito: el ojo la lee en la foto antes de
   llegar a la letra. */
.plinto-cifra { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); border: 1px solid rgba(232, 199, 126, .75); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(232, 199, 126, .4), 0 6px 14px rgba(20, 14, 8, .35); color: var(--gold-light); font-family: "Playfair Display", Didot, Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.plinto-cifra[data-esquina="derecha"] { left: auto; right: 8px; }
/* Envío gratis sobre la foto de cada paquete, en la esquina libre: lo primero que se ve. */
.plinto-liston { position: absolute; top: 12px; z-index: 1; display: flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; background: var(--ink); border: 1px solid rgba(232, 199, 126, .75); box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 3px rgba(232, 199, 126, .35), 0 6px 14px rgba(20, 14, 8, .35); color: var(--gold-light); font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(11px, .9vw, 13px); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.plinto-liston[data-esquina="derecha"] { right: 12px; }
.plinto-liston[data-esquina="izquierda"] { left: 12px; }
.plinto-liston .icono { flex: 0 0 auto; width: 20px; height: 20px; }
/* El póster del paquete, en miniatura sobre la foto: una hoja enmarcada en pergamino y oro,
   apenas ladeada como si estuviera pegada a la escena. Se endereza al pasar el cursor y abre
   la vista grande. */
.plinto-poster { position: absolute; bottom: 12px; z-index: 1; width: clamp(66px, 24%, 128px); padding: 3px 3px 0; border: 1px solid rgba(167, 107, 19, .8); background: #f7f0e2; box-shadow: 0 10px 20px rgba(20, 14, 8, .42), 0 2px 4px rgba(20, 14, 8, .25); cursor: zoom-in; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.plinto-poster[data-esquina="izquierda"] { left: 12px; transform: rotate(-4deg); }
.plinto-poster[data-esquina="derecha"] { right: 12px; transform: rotate(4deg); }
.plinto-poster:hover, .plinto-poster:focus-visible { transform: rotate(0) scale(1.06); box-shadow: 0 14px 26px rgba(20, 14, 8, .5), 0 2px 4px rgba(20, 14, 8, .25); }
.plinto-poster:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.plinto-poster img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.plinto-poster span { display: block; padding: 3px 0 4px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 8.5px; font-weight: 600; letter-spacing: .2em; line-height: 1; text-transform: uppercase; text-align: center; color: #6b3f06; }

/* Vista grande del póster: el modal nativo, con su velo y Escape. */
.poster-vista { width: min(92vw, 540px); max-height: 94vh; padding: 0; border: 1px solid rgba(167, 107, 19, .8); background: #f7f0e2; color: var(--ink); box-shadow: 0 30px 70px rgba(10, 7, 4, .55); overflow: auto; }
.poster-vista::backdrop { background: rgba(16, 15, 15, .74); backdrop-filter: blur(3px); }
.poster-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid rgba(167, 107, 19, .35); }
.poster-cabeza h2 { margin: 0; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6b3f06; }
.poster-vista img { display: block; width: 100%; height: auto; max-height: calc(94vh - 120px); object-fit: contain; background: #100f0f; }
.poster-vista p { margin: 0; padding: 12px 18px 16px; font-size: 16px; line-height: 1.45; text-align: center; color: #35302a; }
@media (prefers-reduced-motion: reduce) { .plinto-poster:hover, .plinto-poster:focus-visible { transform: none; } }
.plinto-cifra i { font-style: normal; font-size: .62em; margin-right: 1px; vertical-align: .16em; }
.plinto h3 { margin: 0; font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(25px, 3vw, 31px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.plinto-lista { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 17px; line-height: 1.4; color: #35302a; }
.plinto-lista li { padding-left: 18px; text-indent: -18px; }
.plinto-lista li::before { content: "·"; margin-right: 8px; color: var(--gold); }
/* La línea de regalo lleva su icono dibujado en vez del rombo: el cliente pidió ver un
   regalo, y un icono dice "regalo" antes de que se lea la palabra. */
.plinto-lista .regalo { display: flex; align-items: flex-start; gap: 9px; padding-left: 0; text-indent: 0; color: #7b4b0c; font-weight: 700; }
.plinto-lista .regalo .icono { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px; }
/* Precio de ancla (cliente, 2026-10-02: «el precio original con una tacha y luego el
   Ahorras»). Arriba, lo que costaría el contenido suelto, tachado con un trazo rojo Hades; en
   medio, el precio del paquete a tamaño de cifra; abajo, «Ahorras» en azul Zeus, el único azul
   del plinto. Se lee de arriba abajo: cuánto vale, cuánto pagas, cuánto te queda. */
.plinto-precios { display: grid; gap: 4px; }
.precio-antes { margin: 0; font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: #75695d; }
/* Un solo trazo, levemente inclinado, sobre moneda y cifra: el line-through del navegador
   corta la «MXN» elevada a otra altura que los números. */
.precio-antes s { position: relative; display: inline-block; text-decoration: none; }
.precio-antes s::after { content: ""; position: absolute; left: -3px; right: -3px; top: 54%; height: 2px; background: rgba(157, 33, 24, .88); transform: rotate(-5deg); border-radius: 1px; }
.precio-antes .moneda { font-size: 10px; vertical-align: .38em; color: #75695d; }
.ahorro { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding-top: 11px; border-top: 1px solid rgba(167, 107, 19, .22); white-space: nowrap; }
.ahorro .icono { flex: 0 0 auto; width: 18px; height: 18px; color: var(--blue); stroke-width: 1.7; }
.ahorro-rotulo { font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.ahorro-cifra { font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(21px, 1.9vw, 25px); font-weight: 600; line-height: 1; letter-spacing: -.01em; color: var(--blue); }
.ahorro-cifra .moneda { margin-right: .3em; font-size: 10.5px; vertical-align: .4em; color: var(--blue); }
.plinto-pie { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; border-top: 1px solid rgba(167, 107, 19, .3); }
/* «Ahorras» va en su propia fila: dentro de la columna del precio la ensanchaba y, en un
   teléfono, empujaba «Armarlo» fuera de la tarjeta. */
.plinto-pie .ahorro { grid-column: 1 / -1; }
.plinto-lista .regalo::before { content: none; }
/* Trazo común de los iconos dibujados, el mismo de la cabecera y los beneficios. */
.icono { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* EL SELLO DE ENVÍO. Antes era una línea más dentro de la lista y se perdía entre las
   otras. Ahora cruza el plinto entero con su propio filete de oro arriba y abajo, y es
   lo último que se lee antes del precio: el paquete pagó $70 de más por esto. */
.plinto-sello { margin-top: auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 0; padding: 11px 14px; border-top: 1px solid rgba(167, 107, 19, .55); border-bottom: 1px solid rgba(167, 107, 19, .55); background: linear-gradient(180deg, rgba(232, 199, 126, .3), rgba(232, 199, 126, .12)); color: #6b3f06; text-align: center; }
.plinto-sello .icono { flex: 0 0 auto; width: 26px; height: 26px; }
.plinto-sello strong { font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.plinto-sello span { font-size: 15px; color: #6b3f06; }
.armador-envio { color: #7b4b0c; font-weight: 700; }

/* ---- Armador ---- */
.armador { position: relative; max-width: 880px; margin: 0 auto; padding: clamp(28px, 3.6vw, 48px); background: #f5f1ea url("assets/plates/marmol-losa.webp") center / cover; box-shadow: 0 30px 62px rgba(44, 31, 20, .26), inset 0 1px 0 rgba(255, 253, 248, .95); }
.armador::before { content: ""; position: absolute; inset: 0; border-top: 2px solid transparent; border-image: linear-gradient(90deg, transparent, var(--gold), transparent) 1; pointer-events: none; }
.armador::after { content: ""; position: absolute; inset: clamp(12px, 1.3vw, 18px); border: 1px solid rgba(167, 107, 19, .28); pointer-events: none; }
.armador > * { position: relative; z-index: 1; }
/* Las mezclas de la casa bajan al final y se apagan: son un atajo, no la propuesta.
   Antes abrían el panel en tres filas de etiquetas y eran lo más ruidoso de la sección. */
.armador-casa { padding-top: clamp(18px, 2.4vw, 26px); margin-top: clamp(14px, 2vw, 22px); border-top: 1px solid rgba(167, 107, 19, .22); }
.armador-casa h3 { margin: 0 0 12px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(10px, .9vw, 13px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #7a5a30; }
.armador-atajos { display: flex; flex-wrap: wrap; gap: 6px; }
.armador-atajos button { min-height: 44px; padding: 0 14px; border: 1px solid rgba(167, 107, 19, .3); background: transparent; color: #5c5145; font-family: Judson, Georgia, serif; font-size: 15px; letter-spacing: .01em; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.armador-atajos button:hover { border-color: rgba(167, 107, 19, .6); background: rgba(167, 107, 19, .1); color: var(--ink); }
.armador-tamanos { display: flex; gap: 10px; margin-bottom: clamp(18px, 3vw, 26px); }
.armador-tamanos button { flex: 1; min-height: 54px; padding: 0 12px; border: 1px solid rgba(167, 107, 19, .5); background: transparent; color: var(--ink); font-family: Judson, Georgia, serif; font-size: clamp(16px, 2vw, 19px); letter-spacing: .01em; cursor: pointer; transition: background .3s ease, border-color .3s ease; }
.armador-tamanos button[aria-pressed="true"] { background: linear-gradient(180deg, #1c1a17, #0c0b0b 70%); border-color: #b98a3a; color: #efe4cc; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), 0 10px 20px rgba(25, 16, 8, .18); }
/* EL REPARTO — un canal abierto en el mármol con el producto dentro y dos asas de oro.
   Toda la geometría cuelga de tres variables (--total, --c1, --c2) puestas por app.js
   sobre .reparto-banda, así que las zonas, las muescas y los números no pueden
   desalinearse entre sí: son la misma cuenta leída tres veces. */
.reparto { --canal: clamp(34px, 4.4vw, 46px); margin: clamp(10px, 1.6vw, 18px) 0 clamp(22px, 3vw, 30px); }
.reparto-cabecera { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 clamp(18px, 2.4vw, 26px); font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(10px, .9vw, 13px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #7a5a30; }
.reparto-total { color: #4a3c28; }

.reparto-banda { --asa: 44px; position: relative; height: calc(var(--canal) + 46px); display: grid; align-items: center; }
/* La luz que el gel derrama sobre el mármol. Va desplazada hacia abajo y desenfocada:
   es un reflejo, no un halo pegado detrás de la barra. */
.reparto-banda::before { content: ""; position: absolute; left: 2%; right: 2%; top: 50%; height: var(--canal); translate: 0 -38%; border-radius: 999px; filter: blur(15px); opacity: .38; background: linear-gradient(90deg, #1f7ae6 0 calc(var(--c1) / var(--total) * 100%), #ef4a9c 0 calc(var(--c2) / var(--total) * 100%), #e8352f 0); }
.reparto-canal { position: relative; z-index: 1; display: block; height: var(--canal); border-radius: 999px; overflow: hidden; background: #cfc6b8; box-shadow: inset 0 2px 5px rgba(58, 40, 18, .38), inset 0 -1px 0 rgba(255, 252, 244, .6), 0 1px 0 rgba(255, 253, 247, .85); }
/* Las zonas ocupan el canal entero y se recortan con translate + scaleX, no con left y
   width: mover un borde no debe rehacer el diseño de la página sesenta veces por segundo
   mientras se arrastra. Los degradados son verticales, así que la escala horizontal no
   los deforma. */
.reparto-zona { position: absolute; inset: 0; width: 100%; transform-origin: 0 50%; transition: transform .18s var(--ease-out); }
/* El gel visto a través del vidrio: claro arriba, saturado abajo, con el brillo del borde. */
.reparto-zona::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 34%, rgba(0, 0, 0, .16)); }
.reparto-zeus { background: linear-gradient(180deg, #1f7ae6, #0a4fae); transform: scaleX(calc(var(--c1) / var(--total))); }
.reparto-afrodita { background: linear-gradient(180deg, #ef4a9c, #c31570); transform: translateX(calc(var(--c1) / var(--total) * 100%)) scaleX(calc((var(--c2) - var(--c1)) / var(--total))); }
.reparto-hades { background: linear-gradient(180deg, #e8352f, #ab1010); transform: translateX(calc(var(--c2) / var(--total) * 100%)) scaleX(calc((var(--total) - var(--c2)) / var(--total))); }
/* Las muescas: una raya de oro por tarro, grabada a través del gel. */
.reparto-muescas { position: absolute; inset: 0; background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(255, 233, 183, .5) calc(100% - 1px)); background-size: calc(100% / var(--total)) 100%; }

/* Las dos asas viven encima del canal. El control no recibe el puntero, sólo el asa:
   así un toque en la barra no da un salto de reparto que nadie pidió. */
/* El recorrido del pulgar de un <input type=range> va de media asa a media asa, no de
   borde a borde. Si el control midiera lo mismo que el canal, las asas quedarían hasta
   22 px fuera de su propio corte de color. Por eso el control sobresale media asa por
   cada lado: así el centro del asa recorre exactamente el canal. */
.reparto-asa { position: absolute; left: calc(var(--asa) / -2); top: 0; bottom: 0; width: calc(100% + var(--asa)); margin: 0; padding: 0; appearance: none; background: transparent; pointer-events: none; z-index: 2; }
.reparto-asa::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.reparto-asa::-moz-range-track { height: 100%; background: transparent; }
.reparto-asa::-webkit-slider-thumb { appearance: none; width: var(--asa); height: calc(var(--canal) + 44px); background: url("assets/plates/asa-reparto.svg") center / auto 100% no-repeat; border: 0; cursor: grab; pointer-events: auto; filter: drop-shadow(0 4px 6px rgba(52, 35, 14, .42)); }
.reparto-asa::-moz-range-thumb { width: var(--asa); height: calc(var(--canal) + 44px); background: url("assets/plates/asa-reparto.svg") center / auto 100% no-repeat; border: 0; cursor: grab; pointer-events: auto; filter: drop-shadow(0 4px 6px rgba(52, 35, 14, .42)); }
.reparto-asa:active::-webkit-slider-thumb { cursor: grabbing; }
.reparto-asa:active::-moz-range-thumb { cursor: grabbing; }
.reparto-asa:focus { outline: none; }
.reparto-asa:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.reparto-asa:focus-visible::-moz-range-thumb { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* Cada cuenta crece con su zona, con un mínimo para que el nombre quepa aunque el dios
   se quede en cero: desaparecer el rótulo escondería que ese dios sigue disponible. */
.reparto-cuentas { list-style: none; margin: clamp(6px, 1vw, 12px) 0 0; padding: 0; display: flex; }
.reparto-cuentas li { flex: var(--n, 1) 1 0; min-width: max-content; padding: 0 5px; text-align: center; }
.reparto-cuentas b { display: block; font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; line-height: 1; color: var(--ink); }
.reparto-cuentas span { display: block; margin-top: 6px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: clamp(10px, .9vw, 13px); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #7a5a30; }
/* Un dios en cero se apaga, pero sigue siendo texto: se baja el tono, nunca la opacidad,
   para que el cero se lea igual de bien que un cuatro. */
.reparto-cuentas .vacia b { color: #5a534a; }
.reparto-cuentas .vacia span { color: #6a5e4d; }
.armador-extra { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(167, 107, 19, .22); }
.armador-extra label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; cursor: pointer; }
.armador-extra label[hidden] { display: none; }
.armador-extra input[type="checkbox"] { width: 26px; height: 26px; flex: 0 0 auto; accent-color: var(--blue); }
.armador-extra select { min-height: 44px; padding: 0 10px; border: 1px solid #9b7b54; background: white; font-size: 16px; }
.armador-incluido { margin: 0; padding: 14px 0; font-size: 17px; color: #7b4b0c; border-bottom: 1px solid rgba(167, 107, 19, .22); }
.armador-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; }
.armador-estado { margin: 0; font-size: 17px; color: #35302a; }
.armador-estado strong { font-family: "Playfair Display", Didot, Georgia, serif; font-size: 21px; }

/* ---- Ficha de marca: texto grabado, sin recuadros ---- */
.ficha-marca { max-width: 1000px; margin: 0 auto; display: grid; gap: clamp(22px, 4vw, 44px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ficha-marca article { position: relative; }
/* La foto encabeza la columna y la regla de oro pasa a separarla del titular: el mismo
   ritmo del plinto, lámina arriba y filete debajo. */
.ficha-foto { position: relative; margin: 0 0 18px; aspect-ratio: 3 / 2; overflow: hidden; box-shadow: 0 10px 22px rgba(44, 31, 20, .18); }
.ficha-foto img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ficha-foto::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(167, 107, 19, .5); pointer-events: none; }
.ficha-marca h3 { padding-top: 18px; border-top: 1px solid rgba(167, 107, 19, .4); margin: 0 0 10px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #6d5024; }
.ficha-marca p { margin: 0 0 8px; font-size: 16px; line-height: 1.55; color: #35302a; }

/* ---- Cierre ---- */
.cierre { position: relative; padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 64px) clamp(36px, 5vw, 60px); background: linear-gradient(180deg, rgba(243, 238, 229, 0), rgba(241, 235, 225, .58) 34%, rgba(238, 231, 220, .93)); text-align: center; }
.cierre-gracias { max-width: 46ch; margin: 0 auto clamp(26px, 4vw, 40px); font-family: "Playfair Display", Didot, Georgia, serif; font-size: clamp(21px, 3vw, 29px); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; color: #100f0f; text-wrap: balance; }
.cierre-gracias span { display: block; margin-top: 12px; font-family: Judson, Georgia, serif; font-size: clamp(16px, 2vw, 19px); font-weight: 400; letter-spacing: 0; color: #4a4239; }
.cierre-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: clamp(26px, 4vw, 40px); }
.cierre-redes { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 28px); margin-bottom: clamp(24px, 4vw, 36px); }
/* Cada red es un icono oficial de 44 px sobre su nombre, escrito tal cual (sin versalitas:
   un usuario de Instagram distingue mayúsculas y sin espacios no se parte). Los iconos llevan sus colores de
   marca y no se tiñen de oro: son marcas ajenas y se reconocen por su color. La columna
   fija alinea los cuatro aunque los nombres midan distinto. */
.cierre-redes .red { margin: 0; width: 158px; display: grid; justify-items: center; align-content: start; gap: 10px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .03em; overflow-wrap: anywhere; color: #5b5147; text-decoration: none; }
.cierre-redes .red img { width: 44px; height: 44px; display: block; transition: transform .35s var(--ease-out); }
.cierre-redes a.red:hover { color: var(--gold); }
.cierre-redes a.red:hover img { transform: translateY(-3px); }
.cierre-redes a.red:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.cierre-datos { display: grid; gap: clamp(16px, 3vw, 34px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); max-width: 940px; margin: 0 auto; padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid rgba(167, 107, 19, .3); text-align: left; }
.cierre-datos h3 { margin: 0 0 8px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #6d5024; }
.cierre-datos p { margin: 0 0 6px; font-size: 16px; line-height: 1.5; color: #3d372f; }

/* ---- Barra fija: la tienda conserva su arquitectura al bajar ---- */
.barra { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 64px; display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); padding: 0 clamp(12px, 3vw, 28px); background: #efebe7 url("assets/plates/marmol-barra.webp") center / auto 100% repeat-x; border-bottom: 2px solid #c29a57; box-shadow: 0 6px 18px rgba(22, 18, 13, .18); transform: translateY(-100%); transition: transform .5s var(--ease-out); }
.barra[hidden] { display: flex; }
.barra.visible { transform: translateY(0); }
.barra-marca { flex: 0 0 auto; display: block; height: 34px; }
.barra-marca img { height: 100%; width: auto; display: block; }
.barra-nav { flex: 1; display: flex; gap: clamp(12px, 2.2vw, 30px); justify-content: center; }
.barra-nav a { padding: 6px 2px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: #2e2820; }
.barra-nav a:hover { color: var(--gold); }
.barra-bolsa { flex: 0 0 auto; }
@media (max-width: 700px) { .barra-nav { display: none; } .barra { justify-content: space-between; } }

/* Carrito: líneas con precio */
/* ---- Líneas de la bolsa ----
   Cada línea muestra lo que se lleva: la foto (el tarro sin fondo, o la caja del paquete)
   en un nicho de papel con filo de oro, el nombre y su importe en Judson, el detalle en
   Montserrat, y debajo los dos gestos que la bolsa necesita: cambiar la cantidad y quitar.
   Esquinas rectas como todo el cajón; los botones miden 44 px para el dedo. */
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(167, 107, 19, .22); }
.cart-foto { margin: 0; width: 76px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, #fffdf8, #f3ebdd); box-shadow: inset 0 0 0 1px rgba(167, 107, 19, .32); }
.cart-foto img { width: 100%; height: 100%; display: block; object-fit: contain; padding: 8px; }
.cart-line[data-tipo="paquete"] .cart-foto img { object-fit: cover; padding: 0; }
.cart-cuerpo { display: grid; gap: 4px; min-width: 0; }
.cart-cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cart-nombre { font-size: 19px; line-height: 1.15; }
.cart-importe { flex: none; font-size: 17px; font-variant-numeric: tabular-nums; }
.cart-cuerpo small { font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; line-height: 1.45; letter-spacing: .06em; color: #6d6459; }
.cart-cuerpo .cart-unitario { color: #694718; }
.cart-acciones { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 6px; }
.cart-cantidad { display: inline-grid; grid-template-columns: 44px 34px 44px; align-items: center; height: 44px; border: 1px solid rgba(167, 107, 19, .5); background: #fffdf8; }
.cart-cantidad button { width: 44px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease-out); }
.cart-cantidad button:hover:not(:disabled) { background: rgba(232, 199, 126, .32); }
.cart-cantidad button:disabled { color: rgba(16, 15, 15, .28); cursor: not-allowed; }
.cart-cantidad button:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.cart-cantidad svg, .cart-quitar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-cantidad output { text-align: center; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); border-inline: 1px solid rgba(167, 107, 19, .3); line-height: 42px; }
.cart-quitar { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: #8a3d12; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.cart-quitar span { text-decoration: underline; text-decoration-color: rgba(138, 61, 18, .35); text-underline-offset: 4px; transition: text-decoration-color .2s var(--ease-out); }
.cart-quitar:hover span { text-decoration-color: currentColor; }
/* En teléfono la foto baja a 64 px para que el selector y «Quitar» quepan en una sola fila;
   los botones no bajan de 44 px. */
@media (max-width: 440px) {
  .cart-line { grid-template-columns: 64px 1fr; gap: 12px; }
  .cart-foto { width: 64px; }
  .cart-acciones { gap: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-cantidad button, .cart-quitar span { transition: none; }
}
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(167, 107, 19, .4); }
.cart-total span { font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.cart-envio { margin: 0; font-size: 15px; color: #4a443c; }

.mobile-only { display: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }


/* Composición vertical: teléfonos y también tabletas en vertical. La escena de escritorio
   es apaisada y, en una pantalla más alta que ancha, se escala hasta cubrirla y se recorta
   por los lados: la bolsa, el menú y «Explorar la colección» quedaban fuera de la pantalla. */
@media (max-width: 700px), (orientation: portrait) and (max-width: 1180px) {
  html, body { overflow-x: hidden; }
  .desktop-only, .desktop-nav, .benefits { display: none !important; }
  .mobile-only { display: grid; }
  .comp-frame { width: 100vw; height: auto; min-height: 100svh; aspect-ratio: 853 / 1867; margin: 0; }
  .escenario { left: 0; top: 0; width: 100%; height: 100%; }
  .scene img { object-position: center top; transform: none; }
  .site-header::before, .site-header::after { display: none; }
  .site-header { height: 6.6%; background: #efebe7 url("assets/plates/marble-band.webp") center / auto 100% repeat-x; border-bottom: 2px solid #c29a57; border-radius: 0 0 50% 50% / 0 0 12px 12px; box-shadow: 0 1px 0 rgba(255, 244, 214, .7), 0 4px 8px rgba(70, 48, 20, .12); }
  .brand { left: 27%; top: 3%; width: 46%; height: 91%; }
  .brand img { width: 100%; height: 90%; transform: none; }
  .menu-trigger { position: absolute; left: 3%; top: 18%; }
  .header-actions { right: 3%; top: 18%; height: auto; }
  .header-actions::before, .header-actions::after { display: none; }
  .icon-button svg { width: 27px; height: 27px; stroke-width: 1.8; }
  .mobile-menu { position: absolute; top: 100%; left: 0; width: 100vw; padding: 18px 22px 24px; display: grid; background: rgba(250, 247, 242, .98); border-bottom: 1px solid #b8852f; box-shadow: 0 18px 35px rgba(54, 38, 24, .18); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { min-height: 48px; display: flex; align-items: center; text-decoration: none; text-transform: uppercase; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 12px; letter-spacing: .2em; border-bottom: 1px solid rgba(167, 107, 19, .18); }
  .redes-cima { left: 0; right: 0; top: calc(100% + 7px); height: auto; justify-content: center; gap: 8px; }
  .burbuja { width: 32px; }
  .burbuja-mayoreo { height: 34px; font-size: 9.5px; letter-spacing: .06em; }
  .hero-copy { left: 8%; top: 13.1%; width: 84%; height: auto; text-align: center; }
  .hero-copy h1 { font-size: clamp(36px, 10.6vw, 46px); line-height: .9; letter-spacing: -.035em; }
  .title-rule { position: static; width: 22%; height: 1px; margin: 5% auto 2.6%; }
  .hero-copy p { position: static; font-size: clamp(18px, 5.2vw, 26px); letter-spacing: 0; white-space: normal; }
  .hero-product { left: 31.5%; top: 27%; width: 37%; height: 31.5%; }
  .cara[data-cara="afrodita"], .cara[data-cara="zeus"] { height: 104%; bottom: -6%; }
  .sellos { left: 8%; top: 57.6%; width: 84%; height: 7%; grid-template-columns: repeat(3, 1fr); column-gap: 3%; }
  .sellos img, .sellos button::before { height: 112%; }
  .tipos { top: 50.4%; gap: 10px; padding: 0 12px; }
  .tipos button { font-size: clamp(11px, 3.3vw, 14px); letter-spacing: .13em; }
  .tipos-nota { font-size: 9px; letter-spacing: .1em; }
  .cara { height: 70%; bottom: 28%; }
  .cara[data-cara$="-aftershave"] { height: 84%; bottom: 25%; }
  .primary-cta { left: 6%; top: 66.6%; width: 88%; height: 5.6%; padding: 0 7%; font-size: clamp(17px, 5vw, 24px); }
  .basa { top: 78.4%; width: 100%; height: 19.6%; }
  .intro-video { object-position: 46% 30%; }
  .search-panel { display: none !important; }
  .cart-drawer { position: fixed; width: min(360px, 92vw); }
  .toast { position: fixed; bottom: 22px; white-space: nowrap; }
  .banner-copy { display: none; }
  .nicho { padding-bottom: clamp(56px, 12vw, 92px); }
  .nicho-pie { flex-direction: column; align-items: stretch; gap: 16px; }
  .nicho-pie .precio { text-align: center; }
  .nicho-pie .boton { width: 100%; }
}

@media (max-width: 360px) {
  .hero-copy { top: 12.8%; }
  .hero-copy h1 { font-size: 33px; }
  .hero-product { top: 26%; height: 32%; }
  .primary-cta { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  /* Reducir movimiento no es quedarse sin respuesta: estos tres son sólo opacidad, nada se
     desplaza, así que sobreviven para que elegir dios siga acusando recibo. */
  .rito .tinte { animation-duration: .9s !important; }
  .ofrenda.fundiendo { transition-duration: .18s !important; }
  .basa-cara { transition-duration: .22s !important; }
}

/* ---- Página sola (el 404 del servidor): la losa de mármol, un titular y el camino de vuelta ---- */
.pagina-sola { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px 16px; background: var(--alabaster) url("assets/plates/marmol-losa.webp") center / cover; }
.pagina-sola-caja { max-width: 34ch; text-align: center; }
.pagina-sola h1 { margin: 0 0 12px; font-family: Judson, Georgia, serif; font-size: 36px; font-weight: 700; color: var(--ink); }
.pagina-sola p { margin: 0 0 28px; font-size: 16px; line-height: 1.5; color: #4a4239; }

/* ---- Checkout dentro de la bolsa: datos, envío y confirmación ----
   Mismo cajón, mismo papel: campos blancos de 44 px con el trazo bronce del buscador,
   rótulos en Montserrat, cifras en Judson. El cajón se desplaza cuando el formulario es
   más alto que la pantalla. */
.cart-drawer { overflow-y: auto; overscroll-behavior: contain; }
.checkout { padding: 20px 0 8px; }
.checkout-form, .checkout-resumen { display: grid; gap: 16px; }
.checkout fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; }
.checkout legend { padding: 0 0 4px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #694718; }
.checkout-campo { display: grid; gap: 4px; }
.checkout-campo > span { font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; letter-spacing: .08em; color: #6d6459; }
.checkout-campo input, .checkout-campo select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #9b7b54; border-radius: 0; background: white; color: var(--ink); font: 16px Judson, Georgia, serif; }
.checkout-campo input:user-invalid, .checkout-campo select:user-invalid { border-color: #8a3d12; }
.checkout-par { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; }
.checkout-error { margin: 0; padding: 10px 12px; border: 1px solid rgba(138, 61, 18, .45); background: rgba(138, 61, 18, .05); color: #8a3d12; font-size: 15px; }
.checkout-aviso { margin: 0; padding: 10px 12px; border: 1px solid rgba(167, 107, 19, .45); background: rgba(232, 199, 126, .16); color: #4a443c; font-size: 15px; }
.checkout-volver { justify-self: center; padding: 8px 0; border: 0; background: none; color: #694718; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.checkout-volver:hover { text-decoration: underline; }
.checkout-destino { margin: 0; font-size: 15px; color: #4a443c; }
.checkout-destino .checkout-volver { padding: 0 0 0 4px; }
.checkout-lineas { margin: 0; padding: 0; list-style: none; }
.checkout-lineas li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(167, 107, 19, .22); }
.checkout-lineas small { display: block; margin-top: 4px; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; letter-spacing: .04em; line-height: 1.6; color: #6d6459; }
.checkout-metodo { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(167, 107, 19, .4); background: white; cursor: pointer; }
.checkout-metodo:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.checkout-metodo input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.checkout-metodo small { display: block; font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; color: #6d6459; }
.cart-items[hidden], .drawer-action[hidden], .checkout[hidden] { display: none; }

/* ---- Retorno de Mercado Pago: la misma página sola del 404, con la marca y el número ---- */
.pago { display: grid; justify-items: center; gap: 12px; }
.pago-marca { width: 160px; height: auto; margin-bottom: 12px; }
.pago h1 { margin-bottom: 0; }
.pago p { margin: 0; }
.pago-numero { font-family: Montserrat, "Trebuchet MS", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #694718; }
.pago-total { font-weight: 700; }
.pago .boton { margin-top: 16px; }
