@font-face { font-family: "Outfit"; src: url(../fonts/outfit.woff2) format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
	--ink: #050f1e;
	--night: #050f1e;
	--night-2: #0b1b2e;
	--cream: #f9f7f1;
	--sand: #f1eee8;
	--paper: #fff;
	--muted: #5b6472;
	--muted-dark: #9aa3b0;
	--line: rgba(5, 15, 30, .12);
	--line-dark: rgba(250, 248, 244, .14);
	--light: #faf8f4;
	--accent: #0fa3b1;
	--accent-2: #1cbccb;
	--accent-ink: #0b7f8a;
	--cta: var(--night);  /* botones y selección: azul noche en fondo claro, crema en fondo oscuro */
	--cta-ink: #fff;
	--cta-hover: #13263d;
	--blue: #3d8bff;
	--radius: 16px;
	--sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
	--mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace;
	--gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
em { font-style: italic; font-weight: 300; color: var(--muted); }
.dark em { color: var(--muted-dark); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s ease-out, background .2s ease-out, box-shadow .2s ease-out; }
.btn:hover { transform: translateY(-1px); }
.dark, .total, .sticky-buy { --cta: var(--light); --cta-ink: var(--ink); --cta-hover: #fff; }
.dark .total { --cta: var(--night); --cta-ink: #fff; --cta-hover: #13263d; }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Barra superior y header */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--light); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--night); transition: opacity .3s ease-out; }
/* Home: sobre la foto, sin fondo (solo una sombra suave para que se lea); al pasar la foto, el azul de siempre. */
.site-header.is-over { margin-bottom: -64px; background: linear-gradient(180deg, rgba(5, 15, 30, .55), rgba(5, 15, 30, 0)); }
.site-header.is-over:not(.is-solid)::before { opacity: 0; }
.menu-open .site-header::before, .menu-open .site-header.is-over::before { opacity: 1; }
/* Logueado: la barra negra de WordPress (fija arriba) tapaba el header y la sección fija. */
.admin-bar .site-header { top: 32px; }
.admin-bar .day.is-pinned .day-sticky { top: 96px; height: calc(100vh - 96px); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .day.is-pinned .day-sticky { top: 110px; height: calc(100vh - 110px); }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }  /* en celular la barra de WordPress no queda fija */
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 500; letter-spacing: .3em; text-decoration: none; font-size: 18px; }
.nav { display: none; margin: 0 auto; gap: 32px; font-size: 15px; }
.nav a, .footer-inner a { position: relative; text-decoration: none; }
.nav a { opacity: .85; transition: opacity .2s ease-out; }
.nav a:hover { opacity: 1; }
.nav a::after, .footer-inner a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--accent); transition: right .28s cubic-bezier(.22, .61, .36, 1); }
.nav a:hover::after, .nav a:focus-visible::after, .footer-inner a:hover::after { right: 0; }
.header-inner .btn { margin-left: auto; }
.header-inner .cart-btn { margin-left: -8px; }
.burger { display: grid; gap: 6px; width: 40px; height: 40px; place-content: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s ease-out; }
.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu-open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 24px; background: var(--night); border-top: 1px solid var(--line-dark); font-size: 20px; }
.menu-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.menu-open .nav a::after { display: none; }

/* Secciones */
.section { padding: 80px 0; }
.cream { background: var(--cream); }
.dark { background: var(--night); color: var(--light); }
.eyebrow { font: 400 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.h2 { font-size: clamp(34px, 6vw, 68px); max-width: 16ch; }
.center .h2 { margin: 0 auto; }

/* Hero */
/* Mobile: la foto va arriba a su tamaño natural y el texto arranca debajo del producto. */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media > *, .hero-media img { display: block; width: 100%; height: auto; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60vw, rgba(5, 15, 30, .55) 95vw, var(--night) 140vw); }
.hero-inner { position: relative; padding-top: 80vw; padding-bottom: 32px; }
.display { font-size: clamp(44px, 8.5vw, 112px); max-width: 11ch; }
.display em { display: block; }
.lead { margin-top: 20px; max-width: 34ch; font-size: clamp(16px, 1.6vw, 19px); color: rgba(250, 248, 244, .85); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.stats dt { font: 400 22px/1.2 var(--mono); }
.stats dd { margin: 4px 0 0; font-size: 15px; color: var(--muted-dark); }

/* Split + listas numeradas */
.split { display: grid; gap: 40px; align-items: center; }
.numbered { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 48px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.numbered span { font: 400 13px/1.7 var(--mono); color: var(--accent); }
.numbered strong { font-weight: 500; font-size: 18px; }
.numbered p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* Fotos con dato */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 5px 30px rgba(0, 0, 0, .15); }
.photo > img, .photo > .ph, .photo > video { display: block; aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; background: var(--night); }
.photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(5, 15, 30, .85); color: var(--light); font-size: 15px; }
.photo figcaption b { font: 400 18px/1 var(--mono); }

/* Placeholder de imagen */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; background: radial-gradient(circle at 70% 30%, rgba(15, 163, 177, .35), transparent 60%), linear-gradient(160deg, var(--night-2), var(--night)); color: rgba(250, 248, 244, .5); font: 400 12px var(--mono); }

/* Línea de tiempo */
.day-sticky { padding: 80px 0; }
.day-progress { height: 1px; margin-top: 32px; background: var(--line-dark); }
.day-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.day:not(.is-pinned) .day-progress { display: none; }
.day.is-pinned .day-sticky { position: sticky; top: 64px; display: flex; flex-direction: column; justify-content: center; height: calc(100vh - 64px); padding: 24px 0; overflow: hidden; }
.day.is-pinned .eyebrow { margin-bottom: 12px; }
.day.is-pinned .h2 { max-width: 22ch; font-size: clamp(36px, 7vh, 56px); }
.day.is-pinned .timeline { margin-top: 28px; overflow: visible; scroll-snap-type: none; will-change: transform; }
.day.is-pinned .card-day { flex: 0 0 auto; width: min-content; }  /* el ancho lo da la foto; el texto baja de línea */
.day.is-pinned .card-media { height: clamp(240px, calc(100vh - 64px - 340px), 460px); aspect-ratio: 4 / 5; }
.day.is-pinned .card-day h3 { margin-top: 12px; }
.day.is-pinned .day-progress { margin-top: 20px; }
.timeline { display: flex; gap: 16px; margin: 40px 0 0; padding: 0 var(--gutter) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; }
.timeline::-webkit-scrollbar { display: none; }
.card-day { flex: 0 0 78%; scroll-snap-align: start; }
.card-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.card-media > img, .card-media > .ph { width: 100%; height: 100%; object-fit: cover; }
.chip-time, .chip { position: absolute; left: 12px; padding: 6px 10px; border-radius: 999px; font-size: 13px; }
.chip-time { top: 12px; background: rgba(5, 15, 30, .75); font-family: var(--mono); }
.chip { bottom: 12px; background: var(--light); color: var(--ink); font-weight: 500; }
.card-day h3 { margin-top: 16px; font-size: 19px; line-height: 1.25; }

/* Modos */
.led { flex: none; display: block; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; }
.led-blanca { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 0 12px 3px rgba(255, 255, 255, .9), 0 0 2px 1px rgba(0, 0, 0, .15); }
.led-azul { background: var(--blue); box-shadow: 0 0 12px 3px rgba(61, 139, 255, .55); }

/* Pasos */
.ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
.way { overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.cream .way { background: var(--paper); }
.way > img, .way > .ph { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; min-height: 0; }
.way > img { display: block; }
.way-body { padding: 20px 22px 24px; }
.way-tag { display: inline-flex; align-items: center; gap: 10px; font: 400 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.way-tag .led { margin-top: 0; }
.way h3 { margin-top: 10px; font-size: 24px; line-height: 1.2; }
.way-body p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.plugs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
.plug { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.plug > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: #fff; font: 500 14px var(--sans); }
.plug strong { font-weight: 500; font-size: 17px; }
.plug p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.plug-tip { margin-top: 12px; font-size: 14px; color: var(--muted); }
.how-title { margin-top: 48px; font-size: 20px; }
.how-steps { margin-top: 16px; }

/* Tabla comparativa */
.table-wrap { margin-top: 40px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: left; font-weight: 400; }
.compare thead th { font-weight: 500; font-size: 15px; color: var(--muted); }
.compare .hl { background: var(--paper); color: var(--ink); font-weight: 500; }
.compare thead .hl { border-radius: 12px 12px 0 0; color: var(--accent-ink); }
.compare td { width: 26%; }
/* Tabla comparativa: verde suave = tiene, rojo suave = no tiene; donde gana Plux, verde lleno. */
.yes, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; font-weight: 600; }
.yes { background: #d9f2e1; color: #178a46; }
.no { background: #fbe9e7; color: #c0392b; }
.compare .win th { font-weight: 500; }
.compare .win .hl .yes { background: #22b05a; color: #fff; box-shadow: 0 4px 12px -4px rgba(34, 176, 90, .7); }
.compare .win td:not(.hl) .no { background: #ec4a3e; color: #fff; box-shadow: 0 4px 12px -4px rgba(236, 74, 62, .65); }  /* lo que el común no hace, igual de visible */
.compare tbody tr { transition: background .2s ease-out; }
.compare tbody tr:hover { background: rgba(255, 255, 255, .55); }
.cta-band { padding: 80px 0; }
.cta-band .h2 { margin-bottom: 28px; }

/* Caja de compra (home) */
.buy { display: grid; gap: 40px; align-items: center; }
.buy-media .ph { aspect-ratio: 1; border-radius: var(--radius); width: 100%; }
.buy-media img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }  /* foto con su proporción (tarjeta clara recortada) */
.checks { margin: 28px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line-dark); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); }

/* Formulario de compra: sirve en fondo claro y oscuro */
.buy-form, .trust-grid { --card: var(--paper); --card-line: var(--line); --soft: var(--muted); }
.dark .buy-form, .dark .trust-grid { --card: rgba(250, 248, 244, .04); --card-line: var(--line-dark); --soft: var(--muted-dark); }
.buy-form { margin-top: 28px; }
.packs { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.packs legend { padding: 0; margin-bottom: 12px; font: 400 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pack { position: relative; display: block; }
.pack input { position: absolute; opacity: 0; }
.pack-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--card-line); background: var(--card); cursor: pointer; transition: border-color .2s ease-out, box-shadow .2s ease-out; }
.pack input:checked + .pack-card { border-color: var(--cta); box-shadow: 0 0 0 1px var(--cta); }
.pack input:focus-visible + .pack-card { outline: 2px solid var(--accent); outline-offset: 2px; }
.pack-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--card-line); }
.pack input:checked + .pack-card .pack-radio { border: 6px solid var(--cta); }
.pack-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; flex: 1; }
.pack-name b { font-weight: 500; font-size: 17px; }
.pack-name small { width: 100%; font-size: 14px; color: var(--soft); }
.badge { padding: 3px 8px; border-radius: 999px; background: var(--cta); color: var(--cta-ink); font: 500 12px var(--sans); font-style: normal; }
.pack-price { text-align: right; }
.pack-price b { display: block; font-weight: 500; font-size: 18px; }
.pack-price s { font-size: 14px; color: var(--soft); }
.total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 18px 20px; border-radius: 16px; background: var(--night); color: var(--light); }
.dark .total { background: var(--light); color: var(--ink); }
.total small { font: 400 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price strong { font-weight: 500; font-size: 34px; letter-spacing: -.02em; }
.price s { opacity: .55; font-size: 16px; }
.transfer { margin-top: 2px; font-size: 15px; color: var(--accent-2); }
.dark .transfer { color: var(--accent-ink); }
.total .btn { flex: 1 1 160px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.trust-grid li { padding: 14px; border-radius: 14px; border: 1px solid var(--card-line); background: var(--card); font-size: 14px; }
.trust-grid b { display: block; font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.trust-grid span { color: var(--soft); }
.pay-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.pay-logos li { padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dark .pay-logos li { border-color: var(--line-dark); color: var(--muted-dark); }

/* Página de producto */
.marquee { overflow: hidden; background: var(--night); color: var(--light); border-bottom: 1px solid var(--line-dark); font: 500 14px/1 var(--sans); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { padding: 12px 0 12px 28px; white-space: nowrap; }
.marquee span::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 28px; vertical-align: middle; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.product { padding: 24px 0 80px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.gallery-main { transform: perspective(1000px); transition: transform .5s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.gallery-main.is-tilting { transition-duration: .18s; transition-timing-function: ease-out; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--night); box-shadow: 0 5px 30px rgba(0, 0, 0, .12); }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .4s ease-out; }
.gallery-slide.is-active { opacity: 1; }
.gallery-slide > * { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 15, 30, .75); color: var(--light); font: 400 13px var(--mono); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; }
.gallery-thumbs button { opacity: .45; transition: opacity .2s ease-out, border-color .2s ease-out; }
.gallery-thumbs button:hover { opacity: .8; }
.gallery-thumbs button.is-active { border-color: var(--cta); opacity: 1; }
.gallery-thumbs .ph, .gallery-thumbs img { min-height: 0; width: 100%; height: 100%; object-fit: cover; font-size: 0; }
.product-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.product-sub { margin-top: 10px; font-size: 18px; color: var(--muted); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 0; padding: 18px; border-radius: 16px; background: var(--paper); box-shadow: 0 2px 5px rgba(0, 0, 0, .05); }
.spec-grid dt { font: 400 20px/1.2 var(--mono); }
.spec-grid dd { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.in-box { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--paper); }
.in-box h2 { font-size: 20px; }
.in-box .numbered { margin-top: 12px; }
.in-box .numbered li { padding: 12px 0; }
.in-box .numbered li:last-child { border-bottom: 0; }
.specs { margin: 12px 0 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; transition: transform .2s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* Footer */
.site-footer { background: var(--night); color: var(--muted-dark); padding: 40px 0 120px; font: 400 13px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--light); }

/* Carrito lateral */
.cart-btn svg { pointer-events: none; }  /* el clic lo recibe el botón (el script de Mercado Pago falla con clics en SVG) */
.cart-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 11px/18px var(--sans); text-align: center; }
.cart { position: fixed; inset: 0; z-index: 100; }
.cart-overlay { position: absolute; inset: 0; background: rgba(5, 15, 30, .55); opacity: 0; transition: opacity .25s ease-out; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: var(--paper); color: var(--ink); box-shadow: -30px 0 60px -20px rgba(5, 15, 30, .35); transform: translateX(100%); transition: transform .25s ease-out; }
.cart.is-open .cart-overlay { opacity: 1; }
.cart.is-open .cart-panel { transform: none; }
.cart.is-busy .cart-body { opacity: .5; pointer-events: none; }
.cart-lock { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 22px; }
.cart-x { width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); }
.cart-body { display: flex; flex: 1; flex-direction: column; overflow-y: auto; padding: 20px; transition: opacity .15s; }
.cart-empty { margin: auto; text-align: center; color: var(--muted); }
.cart-error { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8a1c12; font-size: 15px; }
.cart-empty .btn { margin-top: 16px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; }
.cart-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--night); }
.cart-thumb > * { width: 100%; height: 100%; min-height: 0; object-fit: cover; font-size: 0; }
.cart-info b { display: block; font-weight: 500; font-size: 17px; }
.cart-info > span { font-size: 14px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 24px; text-align: center; font-weight: 500; }
.cart-price { text-align: right; }
.cart-price s { display: block; font-size: 14px; color: var(--muted); }
.cart-price b { display: block; font-weight: 500; font-size: 18px; }
.cart-remove { margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.cart-nudge { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--cream); font-size: 15px; }
.cart-nudge .btn { margin-top: 10px; color: var(--ink); }
.cart-nudge.is-ok { background: rgba(15, 163, 177, .1); }
.cart-foot { margin-top: auto; padding-top: 20px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.cart-total b { font-weight: 500; font-size: 24px; }
.cart-save { margin-top: 4px; font-size: 14px; color: var(--accent-ink); }
.cart-note { margin-top: 4px; font-size: 14px; color: var(--muted); }
.cart-foot .btn { margin-top: 16px; }
.cart-secure { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* WhatsApp y barra fija */
.wa-float { position: fixed; right: 16px; bottom: 88px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .2); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--night); color: var(--light); border-top: 1px solid var(--line-dark); transform: translateY(100%); transition: transform .3s ease-out; }
.sticky-buy.is-visible { transform: none; }
.sticky-buy span { font-size: 20px; font-weight: 500; }

/* Páginas */
/* (WordPress pone la clase "page" en el body: por eso estas se llaman doc-*) */
.doc-hero { padding: 96px 0 64px; background: radial-gradient(circle at 80% 0%, rgba(15, 163, 177, .22), transparent 55%), var(--night); }
.doc-hero.is-compact { padding: 40px 0 32px; }
.doc-btn { margin-top: 32px; }
.doc { padding: 64px 0 96px; }
.doc-content { counter-reset: doc; font-size: 17px; }
.doc-content h2 { counter-increment: doc; display: flex; align-items: baseline; gap: 16px; margin: 0; padding: 28px 0 10px; border-top: 1px solid var(--line); font-size: clamp(22px, 3vw, 28px); }
.doc-content h2:first-child { border-top: 0; padding-top: 0; }
.doc-content h2::before { content: counter(doc, decimal-leading-zero); font: 400 13px var(--mono); color: var(--accent); }
.doc-content p, .doc-content ul { margin: 0 0 16px; padding-left: 30px; color: var(--muted); max-width: 64ch; }
.doc-content a { color: var(--accent-ink); }
.doc-content ul { padding-left: 50px; }
.doc-content li { margin-bottom: 8px; }
.doc-content strong { color: var(--ink); font-weight: 500; }
.doc-content .doc-date { padding-left: 0; font-size: 14px; }
.doc-content .doc-date + p, .doc-content .doc-date + p + p { padding-left: 0; }

/* Envíos y devoluciones */
.ship-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 40px; }
.ship-card { padding: 24px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 2px 5px rgba(0, 0, 0, .06); }
.section:not(.cream) .ship-card { background: var(--cream); box-shadow: none; }
.ship-card.is-free { background: var(--night); color: var(--light); }
.ship-zone { font: 400 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ship-card b { display: block; margin-top: 12px; font-weight: 500; font-size: 36px; letter-spacing: -.02em; }
.ship-card p { margin-top: 4px; color: var(--muted); }
.ship-card.is-free p { color: var(--muted-dark); }
.ship-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
.ship-info h3 { font-size: 22px; }
.ship-info .numbered { margin-top: 16px; }
.ship-info .numbered p { margin-top: 0; }
.ship-help { margin-top: 20px; color: var(--muted); }
.ship-help a { color: var(--accent-ink); }

/* WooCommerce checkout: mínimo para que combine */
.woocommerce #payment #place_order, .woocommerce button.button.alt { background: var(--cta); color: var(--cta-ink); border-radius: 999px; padding: 16px 28px; font: 500 16px var(--sans); }
.woocommerce #payment #place_order:hover, .woocommerce button.button.alt:hover { background: var(--cta-hover); color: var(--cta-ink); }
.woocommerce-checkout #payment { background: var(--cream); border-radius: var(--radius); }
/* Mientras procesa el pedido: en vez del cuadrado blanco de WooCommerce, el formulario se atenúa y el botón avisa. */
.woocommerce-checkout .blockUI.blockOverlay { z-index: 40 !important; background: var(--cream) !important; opacity: .45 !important; }  /* por debajo del header (50) */
.woocommerce-checkout .blockUI.blockOverlay::before { display: none !important; }
.woocommerce-checkout form.checkout.processing #place_order { position: relative; z-index: 41; color: transparent !important; pointer-events: none; }
.woocommerce-checkout form.checkout.processing #place_order::after { content: "Procesando…"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--cta-ink); }
.woocommerce-checkout form.checkout.processing #place_order::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; color: var(--cta-ink); animation: plux-spin .7s linear infinite; }
@keyframes plux-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ Checkout (una sola pantalla) */
.co-header { background: var(--paper); border-bottom: 1px solid var(--line); color: var(--ink); }
.co-header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; height: 72px; margin: 0 auto; padding: 0 var(--gutter); }
.co-header .logo { font-size: 20px; }
.co-footer { display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 1100px; margin: 0 auto; padding: 24px var(--gutter) 40px; font-size: 14px; }
.co-footer a { color: var(--muted); }
.co-page { background: var(--paper); }
.co-page > .woocommerce { max-width: none; margin: 0; }
.co-page .woocommerce-NoticeGroup, .co-page .woocommerce-notices-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.co-page .co { display: flex; flex-direction: column; }
.co-main { order: 2; width: 100%; max-width: 580px; margin: 0 auto; padding: 8px var(--gutter) 40px; }
.co-side { order: 1; background: var(--cream); border-bottom: 1px solid var(--line); }
.co-h { margin: 32px 0 14px; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.co-sub { margin: -8px 0 14px; font-size: 14px; color: var(--muted); }

/* Campos con etiqueta flotante */
.co-page .co .form-row { position: relative; margin: 0 0 12px; padding: 0; }
.co-page .co .co-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 12px; }
.co-page .co .co-fields .form-row { grid-column: span 6; float: none; width: auto; }
@media (min-width: 750px) {
	.co-page .co .co-fields .form-row-first, .co-page .co .co-fields .form-row-last { grid-column: span 3; }
	.co-page .co .co-fields .co-third { grid-column: span 2; }
}
.co-err { display: block; margin-top: 6px; font-size: 13px; color: #b3261e; }
.co-err[hidden] { display: none; }
.co-page .co .form-row .co-tip { position: absolute; z-index: 2; top: 50%; right: 12px; display: grid; place-items: center; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid var(--muted); border-radius: 50%; color: var(--muted); font: 600 12px/1 var(--sans); cursor: help; }
.co-page .co .form-row .co-tip:hover::after, .co-page .co .form-row .co-tip:focus::after { content: attr(data-tip); position: absolute; right: -8px; bottom: calc(100% + 10px); width: max-content; max-width: 240px; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; font: 400 13px/1.4 var(--sans); }
.co-page .co .form-row:has(.co-tip) .input-text { padding-right: 44px; }
.co-page .co .woocommerce-input-wrapper { position: relative; display: block; }
.co-page .co .form-row label { position: absolute; z-index: 1; top: 15px; left: 13px; right: 13px; overflow: hidden; margin: 0; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; line-height: 1.2; color: var(--muted); pointer-events: none; transition: top .15s ease-out, font-size .15s ease-out; }
.co-page .co .form-row label .required { display: none; }
.co-page .co .form-row label .optional { font-size: inherit; }
.co-page .co .form-row .input-text, .co-page .co .form-row select { display: block; width: 100%; height: 52px; padding: 22px 12px 6px; border: 1px solid #d4d6da; border-radius: 8px; background: var(--paper); font: 400 16px var(--sans); color: var(--ink); appearance: none; -webkit-appearance: none; }
.co-page .co .form-row select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6472' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.co-page .co .form-row .input-text::placeholder { color: transparent; }
.co-page .co .form-row .input-text:focus, .co-page .co .form-row select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.co-page .co .form-row:focus-within label,
.co-page .co .form-row:has(.input-text:not(:placeholder-shown)) label,
.co-page .co .form-row:has(select) label,
.co-page .co #billing_country_field label { top: 7px; font-size: 12px; }
.co-page .co .form-row.woocommerce-invalid .input-text, .co-page .co .form-row.woocommerce-invalid select { border-color: #c0392b; }
/* País fijo (Uruguay): se ve como un campo más. */
.co-page .co #billing_country_field .woocommerce-input-wrapper:has(strong) { display: block; height: 52px; padding: 24px 12px 6px; border: 1px solid #d4d6da; border-radius: 8px; background: var(--cream); font-size: 16px; }
.co-page .co #billing_country_field strong { font-weight: 400; }

/* Envío y pago como tarjetas */
.co-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid #d4d6da; border-radius: 10px; cursor: pointer; }
.co-option + .co-option { margin-top: -1px; }
.co-option:has(input:checked), .co-option.is-single { position: relative; border-color: var(--ink); background: #f6f7f9; cursor: default; }
.co-option input[type=radio] { margin-top: 2px; }
.co-option input, .co-page .co .wc_payment_method > input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.co-option-text { flex: 1; }
.co-option-text b { display: block; font-weight: 500; }
.co-option-text small { display: block; margin-top: 2px; font-size: 14px; color: var(--ink); }
.co-option-price { font-weight: 500; }
.co-empty { padding: 16px; border-radius: 10px; background: var(--cream); font-size: 15px; color: var(--muted); }
.co-page .co #payment { background: none; border-radius: 0; }
.co-page .co #payment ul.payment_methods { margin: 0; padding: 0; border: 1px solid #d4d6da; border-radius: 10px; overflow: hidden; }
.co-page .co #payment ul.payment_methods li.wc_payment_method { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 0; padding: 0 16px; border-top: 1px solid #d4d6da; line-height: 1.4; }
.co-page .co #payment ul.payment_methods li.wc_payment_method:first-child { border-top: 0; }
.co-page .co #payment ul.payment_methods li.wc_payment_method > label { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 16px 0; font-weight: 500; cursor: pointer; }
.co-page .co #payment ul.payment_methods li.wc_payment_method > label img { max-height: 24px; margin: 0; }
.co-page .co #payment ul.payment_methods li.wc_payment_method:has(> input:checked) { background: #f6f7f9; box-shadow: inset 0 0 0 1px var(--ink); }
.co-page .co #payment div.payment_box { flex: 0 0 calc(100% + 32px); margin: 0 -16px; padding: 16px; background: var(--cream); border-top: 1px solid #d4d6da; color: var(--muted); font-size: 15px; }
.co-page .co #payment div.payment_box::before { display: none; }
.co-page .co #payment div.form-row.place-order { margin: 24px 0 0; padding: 0; }
.co-page .co #payment #place_order { float: none; width: 100%; height: 56px; margin: 0; border-radius: 10px; font-size: 17px; }
.co-page .co .woocommerce-privacy-policy-text p { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.co-page .co .woocommerce-privacy-policy-text a { color: var(--ink); }
.co-paybar { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 0 12px; font-size: 18px; }
.co-paybar b { font-weight: 500; font-size: 22px; }
.co-paybar small, .co-table .order-total small { margin-right: 4px; font-size: 12px; font-weight: 400; color: var(--muted); }

/* Resumen (derecha en desktop, plegado arriba en mobile) */
.co-summary > summary { display: flex; align-items: center; justify-content: space-between; max-width: 580px; margin: 0 auto; padding: 16px var(--gutter); list-style: none; cursor: pointer; color: var(--accent-ink); font-size: 15px; }
.co-summary > summary::-webkit-details-marker { display: none; }
.co-summary > summary i { display: inline-block; font-style: normal; transition: transform .2s; }
.co-summary[open] > summary i { transform: rotate(180deg); }
.co-summary > summary b { color: var(--ink); font-size: 18px; font-weight: 500; }
.co-table { width: 100%; max-width: 580px; margin: 0 auto; padding: 0 var(--gutter) 20px; border-collapse: collapse; border: 0; font-size: 15px; }
.co-table, .co-table tbody, .co-table tfoot, .co-table tr { display: block; }
.woocommerce table.shop_table.co-table, .woocommerce table.shop_table.co-table td, .woocommerce table.shop_table.co-table th { border: 0; border-radius: 0; background: none; }
.woocommerce table.shop_table.co-table td, .woocommerce table.shop_table.co-table th { padding: 0; }
.co-table tr { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-table td, .co-table th { padding: 0; border: 0; background: none; font-weight: 400; text-align: left; }
.co-table tbody tr { padding: 8px 0 16px; }
.co-item { display: flex; align-items: center; gap: 14px; }
.co-thumb { position: relative; flex: none; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 10px; background: var(--night); }
.co-thumb > img, .co-thumb > .ph { width: 100%; height: 100%; min-height: 0; border-radius: 10px; object-fit: cover; font-size: 0; }
.co-thumb i { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px var(--sans); font-style: normal; }
.co-name { font-weight: 500; }
.co-name small { display: block; font-weight: 400; font-size: 13px; color: var(--accent-ink); }
.co-price { text-align: right; white-space: nowrap; }
.co-price s { display: block; font-size: 13px; color: var(--muted); }
.co-table tfoot tr { padding: 5px 0; color: var(--ink); }
.co-table tfoot th { color: var(--ink); }
.co-table .fee td { color: var(--accent-ink); }
.co-table .order-total { margin-top: 10px; font-size: 19px; font-weight: 500; }
.co-table .order-total th { font-weight: 500; }
.co-table .order-total .amount { font-size: 24px; font-weight: 600; }

@media (min-width: 990px) {
	.co-page .co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 72px); }
	.co-main { order: 0; max-width: 560px; margin: 0 0 0 auto; padding: 24px 48px 64px var(--gutter); }
	.co-side { order: 0; border: 0; border-left: 1px solid var(--line); }
	.co-summary { position: sticky; top: 0; max-width: 480px; padding: 40px 48px; }
	.co-summary > summary { display: none; }
	.co-table { max-width: none; padding: 0; }
	.co-paybar { display: none; }
	.co-page .woocommerce-NoticeGroup { padding-top: 24px; }
}

/* Pedido confirmado */
.ty-page > .woocommerce { margin: 0; }
.ty-hero { padding: 64px 0 56px; background: radial-gradient(circle at 80% 0%, rgba(15, 163, 177, .22), transparent 55%), var(--night); }
.ty-hero .h2 { max-width: 20ch; }
.ty-hero .lead { max-width: 52ch; }
.ty-hero .lead b { color: #fff; }
.ty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 26px; font-weight: 600; }
.ty-icon.is-error { background: #c0392b; }
.ty-body { padding: 40px 0 80px; }
.ty-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.ty-card { padding: 24px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 2px 5px rgba(0, 0, 0, .05); }
.ty-card h2 { font-size: 22px; margin-bottom: 16px; }
.ty-card > p { color: var(--muted); margin-bottom: 16px; }
.ty-bank { margin: 0; border-top: 1px solid var(--line); }
.ty-bank div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ty-bank dt { color: var(--muted); font-size: 15px; }
.ty-bank dd { display: flex; align-items: center; gap: 12px; margin: 0; text-align: right; }
.ty-bank b { font-weight: 500; white-space: nowrap; }
.ty-bank .is-amount b { font-size: 24px; }
.copy { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: none; font: 500 13px var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; }
.copy.is-done { border-color: var(--accent); color: var(--accent-ink); }
.ty-steps { margin: 20px 0; }
.ty-steps p { margin-top: 2px; }
.ty-summary .ty-items { margin: 0; padding: 0; list-style: none; }
.ty-items li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ty-totals { margin: 0; }
.ty-totals div { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; color: var(--muted); }
.ty-totals dd { margin: 0; color: var(--ink); }
.ty-totals .is-discount dd { color: var(--accent-ink); }
.ty-totals .is-total { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink); }
.ty-totals .is-total dd { font-weight: 500; font-size: 24px; }
.ty-meta { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.ty-meta b { color: var(--ink); font-weight: 500; }
.ty-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.ty-foot .btn { color: var(--ink); }
.ty-help { color: var(--muted); font-size: 15px; }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); color: var(--muted); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--paper); }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 750px) {
	:root { --gutter: 32px; }
	.section { padding: 128px 0; }
	.stats dt { font-size: 26px; }
	.split, .buy { grid-template-columns: 1fr 1fr; gap: 64px; }
	.ship-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.ship-info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
	.doc-hero { padding: 128px 0 80px; }
	.doc-hero.is-compact { padding: 56px 0 40px; }
	.product { padding: 48px 0 128px; }
	.product-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
	.gallery { position: sticky; top: 96px; }
	.spec-grid { grid-template-columns: repeat(4, auto); justify-content: space-between; }
	.spec-grid dt { white-space: nowrap; }
	.card-day { flex-basis: 340px; }
	.ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.plugs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.ty-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
	.ty-summary { position: sticky; top: 96px; }
	.ty-hero { padding: 88px 0 72px; }
	.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
	.footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
	.site-footer { padding-bottom: 40px; }
	.wa-float { bottom: 24px; }
	.sticky-buy { display: none; }
	.timeline { --edge: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); padding-left: var(--edge); scroll-padding-left: var(--edge); }
}

/* 40px = cinta de arriba (el header va encima de la foto). Hero en pantallas horizontales: foto a la derecha y texto en el lugar libre a su izquierda.
   El producto arranca en el 53% del ancho de la foto (1.79 = ancho/alto); --free es el ancho que queda para el texto.
   Si la pantalla es más angosta que la foto, la foto se recorta por la izquierda y el producto se corre: de ahí el min(). */
@media (min-width: 750px) and (min-aspect-ratio: 5/4) {
	.hero { --free: calc(min(53vw, 100vw - (100svh - 40px) * 1.79 * .47) - max(var(--gutter), (100vw - 1200px) / 2 + var(--gutter)) - 40px); display: flex; align-items: center; min-height: calc(100svh - 40px); background: #070a15; }  /* color del borde izquierdo de la foto */
	.hero-inner { padding-top: 80px; }
	.hero-inner > * { max-width: var(--free); }
	.hero-media > *, .hero-media img { height: 100%; object-fit: cover; object-position: right center; }
	.hero-media::after { background: linear-gradient(90deg, rgba(5, 15, 30, .92) 0%, rgba(5, 15, 30, .55) 40%, transparent 62%), linear-gradient(180deg, transparent 72%, var(--night) 100%); }
	.display { font-size: clamp(40px, calc(var(--free) / 7.6), 88px); }
	.stats { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 56px; }
}
/* Más ancha que la foto: se muestra entera a la derecha, así el producto no se agranda. */
@media (min-width: 750px) and (min-aspect-ratio: 179/100) {
	.hero { --free: calc(100vw - (100svh - 40px) * 1.79 * .47 - max(var(--gutter), (100vw - 1200px) / 2 + var(--gutter)) - 40px); }
	.hero-media > *, .hero-media img { object-fit: contain; }
}
@media (min-width: 1600px) and (min-aspect-ratio: 5/4) {
	.stats { grid-template-columns: repeat(4, auto); column-gap: 48px; }
}

@media (min-width: 990px) {
	.nav { display: flex; }
	.header-inner .btn { margin-left: 0; }
	.burger { display: none; }
}

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