/* La Tienda de Rosita — inicio modernizado (solo página de inicio) */
body[data-page="storefront"]{--rv-pink:#e8357a;--rv-pink-soft:#fdeef4;--rv-ink:#231c1e;background:#fff}
body[data-page="storefront"] .lang-btn{background:#f1eff0;color:#3a3235;border:0;font-weight:600}
body[data-page="storefront"] .lang-btn.active{background:#fde3ed!important;color:var(--rv-pink)!important;font-weight:700}
body[data-page="storefront"] .rv-cart-ic{width:24px;height:24px;vertical-align:middle;color:var(--rv-ink)}
body[data-page="storefront"] #menu{color:var(--rv-pink)}
body[data-page="storefront"] main.storefront{padding-top:0!important}
html:has(body[data-page="storefront"]),body[data-page="storefront"]{overflow-x:clip}
/* hero */
.rv-hero{position:relative;width:100vw;margin-left:calc(50% - 50vw);min-height:0;height:218px;overflow:hidden;background:#2a0d12;display:flex;align-items:center;isolation:isolate}
.rv-hero-bg{position:absolute;inset:0;z-index:-2;display:block}
.rv-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:right center;display:block}
.rv-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(46,8,20,.93) 0%,rgba(58,11,26,.84) 38%,rgba(66,13,30,.45) 62%,rgba(66,13,30,0) 82%),linear-gradient(0deg,rgba(30,6,12,.35),rgba(30,6,12,0) 40%)}
.rv-hero-copy{position:relative;z-index:2;padding:12px 14px;max-width:60%}
.rv-hero h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#fff7ee;text-shadow:0 2px 14px rgba(0,0,0,.35);font-size:21px;line-height:1.08;letter-spacing:-.01em}
.rv-hero h1>span{display:block}
.rv-hero .rv-domain{color:#ff8fc2;font-size:20px;white-space:nowrap}
.rv-hero-sub{margin:5px 0 8px;font:400 12px/1.3 Arial,Helvetica,sans-serif;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.4);max-width:17em}
.rv-cta{display:inline-flex;align-items:center;gap:10px;background:var(--rv-pink);border:1px solid rgba(255,255,255,.25);color:#fff;text-decoration:none;font:700 12px Arial,sans-serif;letter-spacing:.03em;padding:9px 16px;border-radius:999px;box-shadow:0 6px 16px rgba(232,53,122,.28)}
.rv-cta:hover{background:#d42a6b}.rv-cta-arrow{font-size:17px;line-height:0;margin-top:-2px}
/* beneficios */
.rv-benefits{display:grid;grid-template-columns:1fr 1fr 1.25fr;align-items:center;background:var(--rv-pink-soft);width:100vw;margin-left:calc(50% - 50vw);padding:7px 6px}
.rv-benefit{display:flex;align-items:center;gap:6px;padding:1px 5px;font:500 10.5px/1.2 Arial,sans-serif;color:#2c2427;text-decoration:none;border-left:1px solid #e9c7d4}
.rv-benefit:first-child{border-left:0}
.rv-ic{width:22px;height:22px;flex:none;color:var(--rv-pink)}.rv-wa{width:22px;height:22px;flex:none}
a.rv-benefit:hover span{text-decoration:underline}
/* categorías */
.rv-cats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:9px 0;scroll-margin-top:12px}
.rv-cat{position:relative;display:block;aspect-ratio:1.55;border-radius:14px;overflow:hidden;background:#eee;color:#fff;text-decoration:none;box-shadow:0 4px 14px rgba(40,20,30,.08)}
.rv-cat picture,.rv-cat-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.rv-cat:hover .rv-cat-img{transform:scale(1.04)}
.rv-cat::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 28%,rgba(0,0,0,.72) 100%)}
.rv-cat-text{position:absolute;z-index:2;left:11px;right:46px;bottom:12px;display:flex;flex-direction:column;gap:2px}
.rv-cat-text strong{font:700 15px/1.1 Arial,sans-serif;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.rv-cat-text span{font:400 11.5px/1.25 Arial,sans-serif;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.rv-go{position:absolute;z-index:2;right:8px;bottom:8px;width:32px;height:32px;border-radius:50%;background:#fff;color:#2a2124;display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.28)}
.rv-go svg{width:23px;height:23px}
/* franja inferior */
.rv-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:var(--rv-pink-soft);border-radius:12px;padding:10px 6px;margin:4px 0 16px}
.rv-strip div{display:flex;align-items:center;gap:6px;font:500 11px/1.2 Arial,sans-serif;color:#2c2427;padding:0 2px}
.rv-strip .rv-ic{width:22px;height:22px}
@media(max-width:370px){.rv-hero h1{font-size:26px}.rv-hero .rv-domain{font-size:24px}.rv-benefit,.rv-strip div{font-size:10.5px}}
@media(max-width:560px){.rv-strip{grid-template-columns:repeat(4,1fr)}.rv-strip div{flex-direction:column;text-align:center;gap:4px}}
@media(min-width:800px){
 .rv-hero{height:320px}
 .rv-hero::before{background:linear-gradient(90deg,rgba(46,8,20,.92) 0%,rgba(58,11,26,.8) 30%,rgba(66,13,30,.4) 48%,rgba(66,13,30,0) 62%),linear-gradient(0deg,rgba(30,6,12,.3),rgba(30,6,12,0) 35%)}
   .rv-hero-copy{max-width:none;padding:20px 0 20px max(32px,calc(50vw - 560px));width:min(560px,48%)}
 .rv-hero h1{font-size:40px}.rv-hero .rv-domain{font-size:38px}
 .rv-hero-sub{font-size:16px;margin:10px 0 16px}
 .rv-cta{font-size:14px;padding:11px 24px}
 .rv-benefits{padding:16px max(24px,calc(50vw - 560px))}
 .rv-benefits{grid-template-columns:repeat(3,1fr)}.rv-benefit{justify-content:center;font-size:15px;gap:12px}.rv-benefit .rv-ic,.rv-benefit .rv-wa{width:34px;height:34px}
 .rv-cats{grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0}
 .rv-cat{border-radius:18px;aspect-ratio:1.6}
 .rv-cat-text{left:18px;bottom:16px;right:56px}.rv-cat-text strong{font-size:23px}.rv-cat-text span{font-size:15px}
 .rv-go{width:44px;height:44px;right:14px;bottom:14px}.rv-go svg{width:30px;height:30px}
 .rv-strip{padding:18px 24px;margin-bottom:28px}.rv-strip div{justify-content:center;font-size:15px;gap:10px}.rv-strip .rv-ic{width:28px;height:28px}
}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.rv-cat-img{transition:none}}
body[data-page="storefront"] .top .icon[href="/carrito/"]{position:relative;display:inline-flex;align-items:center}
body[data-page="storefront"] .top .icon[href="/carrito/"] .count{position:absolute;top:-6px;right:-9px;margin:0}
.rv-badge{display:inline-flex;align-items:center;gap:4px;background:#fde3ed;color:#c8215f;border:1px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,.25);border-radius:999px;padding:3px 9px;font:700 10.5px/1.2 Arial,sans-serif;letter-spacing:.02em;margin:0 0 7px}
@media(min-width:800px){.rv-badge{font-size:12.5px;padding:4px 12px;margin-bottom:10px}}
.rv-tree{width:19px;height:19px;flex:none;margin:-3px -3px 0 -5px}
@media(min-width:800px){.rv-tree{width:22px;height:22px}}
@media(min-width:800px){body[data-page="storefront"] .rv-hero::before{background:linear-gradient(90deg,rgba(46,8,20,.92) 0%,rgba(58,11,26,.8) 30%,rgba(66,13,30,.38) 46%,rgba(66,13,30,0) 58%),linear-gradient(0deg,rgba(30,6,12,.3),rgba(30,6,12,0) 35%)}}
.rv-hero::before{background:linear-gradient(90deg,rgba(46,8,20,.93) 0%,rgba(58,11,26,.82) 34%,rgba(66,13,30,.4) 52%,rgba(66,13,30,0) 66%),linear-gradient(0deg,rgba(30,6,12,.35),rgba(30,6,12,0) 40%)}
/* Cuadro EPP: fotos de guantes MAYS rotando con fundido (como slideshow.js de MAYS) */
.rv-cat-slides{position:absolute;inset:0;background:#fff}
.rv-cat-slides .slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease}
.rv-cat-slides .slide.active{opacity:1}
.rv-cat-slides .slide.rv-fit{object-fit:contain;padding:1% 3% 15%;box-sizing:border-box;background:#fff}
@media(prefers-reduced-motion:reduce){.rv-cat-slides .slide{transition:none}}

/* Icono de los cuadros: círculo blanco esmerilado con flecha fina rosada */
.rv-go{width:30px;height:30px;right:9px;bottom:10px;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(8px) saturate(1.4);backdrop-filter:blur(8px) saturate(1.4);border:1px solid rgba(255,255,255,.9);color:#e8357a;box-shadow:0 3px 12px rgba(40,10,25,.22),inset 0 1px 0 rgba(255,255,255,.8);transition:transform .25s ease,background-color .25s ease,color .25s ease}
.rv-go svg{width:17px;height:17px}
.rv-cat:hover .rv-go,.rv-cat:focus-visible .rv-go{background:#e8357a;color:#fff;transform:translateX(2px)}
@media(min-width:800px){.rv-go{width:40px;height:40px;right:14px;bottom:15px}.rv-go svg{width:21px;height:21px}}

/* Carrusel "Nuevos ingresos" en el hero (misma altura) */
.rv-hero{display:block;touch-action:pan-y}
.rv-hero::before{content:none}
.rv-hs-track{display:flex;height:100%;will-change:transform;transition:transform .55s cubic-bezier(.4,0,.2,1)}
.rv-hs-track.drag{transition:none}
.rv-hs{position:relative;flex:0 0 100%;height:100%;display:flex;align-items:center;isolation:isolate;overflow:hidden}
.rv-hs::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(46,8,20,.93) 0%,rgba(58,11,26,.82) 34%,rgba(66,13,30,.4) 52%,rgba(66,13,30,0) 66%),linear-gradient(0deg,rgba(30,6,12,.35),rgba(30,6,12,0) 40%)}
.rv-hs.rv-hs-prod::before{background:linear-gradient(90deg,rgba(30,6,14,.55) 0%,rgba(30,6,14,.25) 40%,rgba(30,6,14,0) 55%)}
.rv-hs.rv-hs-prod .rv-hero-copy{max-width:55%}
.rv-hero .rv-ht{margin:0;font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#fff7ee;text-shadow:0 2px 14px rgba(0,0,0,.35);font-size:20px;line-height:1.1;letter-spacing:-.01em}
.rv-hero .rv-ht>span{display:block}
.rv-hero .rv-ht .rv-domain{font-size:20px;white-space:normal}
.rv-hero-img{-webkit-user-drag:none;user-select:none}
.rv-hs-dots{position:absolute;z-index:5;left:14px;bottom:8px;display:flex;gap:6px}
.rv-hs-dots button{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.5);box-shadow:0 1px 3px rgba(0,0,0,.3);transition:width .3s ease,background-color .3s ease;cursor:pointer}
.rv-hs-dots button.on{width:18px;background:#ff8fc2}
@media(min-width:800px){
 .rv-hs::before{background:linear-gradient(90deg,rgba(46,8,20,.92) 0%,rgba(58,11,26,.8) 30%,rgba(66,13,30,.38) 46%,rgba(66,13,30,0) 58%),linear-gradient(0deg,rgba(30,6,12,.3),rgba(30,6,12,0) 35%)}
 .rv-hs.rv-hs-prod::before{background:linear-gradient(90deg,rgba(30,6,14,.5) 0%,rgba(30,6,14,.2) 35%,rgba(30,6,14,0) 50%)}
 .rv-hs.rv-hs-prod .rv-hero-copy{max-width:none}
 .rv-hero .rv-ht{font-size:40px}.rv-hero .rv-ht .rv-domain{font-size:38px}
 .rv-hs-dots{left:max(32px,calc(50vw - 560px));bottom:16px;gap:8px}.rv-hs-dots button{width:9px;height:9px}.rv-hs-dots button.on{width:24px}
}
@media(prefers-reduced-motion:reduce){.rv-hs-track{transition:none}}
/* === Brief 2026-10-09 === */
/* diapositiva 1: bienvenida, clara y moderna (sin botón ni etiqueta) */
.rv-hs.rv-hs-welcome::before{background:linear-gradient(90deg,rgba(255,247,250,.94) 0%,rgba(255,247,250,.8) 38%,rgba(255,247,250,.3) 56%,rgba(255,247,250,0) 68%)}
@media(max-width:799px){.rv-hs-welcome .rv-hero-copy{max-width:60%;padding:12px 14px 18px}}
.rv-hero .rv-hs-welcome h1{color:#4a1028;text-shadow:none;font-size:24px;line-height:1.08}
.rv-hero .rv-hs-welcome .rv-domain{color:#d6266b;font-size:23px}
.rv-hs-welcome .rv-hero-sub{color:#4b2f39;text-shadow:none;font-size:13px;line-height:1.35;max-width:19em;margin:7px 0 0}
.rv-hs-dots button{box-shadow:0 0 0 1px rgba(60,10,30,.18),0 1px 3px rgba(0,0,0,.3)}
@media(max-width:370px){.rv-hero .rv-hs-welcome h1{font-size:22px}.rv-hero .rv-hs-welcome .rv-domain{font-size:21px}.rv-hs-welcome .rv-hero-sub{font-size:12px}}
@media(min-width:800px){
 .rv-hs.rv-hs-welcome::before{background:linear-gradient(90deg,rgba(255,247,250,.95) 0%,rgba(255,247,250,.82) 30%,rgba(255,247,250,.3) 46%,rgba(255,247,250,0) 58%)}
 .rv-hs-welcome .rv-hero-copy{max-width:none;width:min(600px,50%)}
 .rv-hero .rv-hs-welcome h1{font-size:46px}
 .rv-hero .rv-hs-welcome .rv-domain{font-size:44px}
 .rv-hs-welcome .rv-hero-sub{font-size:18px;max-width:28em;margin:14px 0 0}
}
/* cuadros: foto de producto completa sobre rosado suave, título oscuro debajo */
.rv-cat{background:#fbeef3}
.rv-cat::after{content:none}
.rv-cat-text{left:0;right:0;bottom:0;padding:0 8px 7px;align-items:center;text-align:center}
.rv-cat-text strong{color:#3a0f22;text-shadow:none;font-size:13.5px;letter-spacing:.01em}
.rv-cat:hover .rv-cat-img{transform:none}
.rv-cat-slides{background:#fbeef3}
.rv-cat-slides .slide{object-fit:cover}
.rv-cat{box-shadow:0 3px 12px rgba(60,20,35,.08);border:1px solid #f3dfe7}
.rv-cat:hover{box-shadow:0 6px 18px rgba(60,20,35,.14)}
@media(min-width:800px){.rv-cat-text{padding:0 12px 12px}.rv-cat-text strong{font-size:20px}}
/* beneficios: WhatsApp en dos líneas */
.rv-b2{display:flex;flex-direction:column;line-height:1.2}
.rv-b2>span{display:block}
@media(min-width:800px){.rv-cat-text strong{font-size:clamp(14px,1.6vw,20px)}.rv-cat-text{padding:0 10px 1.1vw}}
@media(min-width:1250px){.rv-cat-text{padding:0 12px 12px}}
/* Bienvenida con collage de productos (2026-10-10): texto centrado ópticamente y un poco más grande */
.rv-hs.rv-hs-welcome{align-items:center}
.rv-hs-welcome .rv-hero-copy{padding-top:0 !important;padding-bottom:16px !important}
.rv-hero .rv-hs-welcome h1{line-height:1.02 !important;margin:0}
@media(max-width:799px){
 .rv-hero .rv-hs-welcome h1{font-size:27px}.rv-hero .rv-hs-welcome .rv-domain{font-size:25.5px}
 .rv-hs-welcome .rv-hero-sub{font-size:13.5px;margin-top:9px;max-width:17.5em}
 .rv-hs-welcome .rv-hero-copy{max-width:58%}
 .rv-hs.rv-hs-welcome::before{background:linear-gradient(90deg,rgba(255,248,251,.96) 0%,rgba(255,248,251,.85) 44%,rgba(255,248,251,0) 60%)}
}
@media(max-width:370px){.rv-hero .rv-hs-welcome h1{font-size:23px}.rv-hero .rv-hs-welcome .rv-domain{font-size:22px}.rv-hs-welcome .rv-hero-sub{font-size:12px}}
@media(min-width:800px){
 .rv-hero .rv-hs-welcome h1{font-size:52px}.rv-hero .rv-hs-welcome .rv-domain{font-size:50px}
 .rv-hs-welcome .rv-hero-sub{font-size:19px;margin-top:16px}
 .rv-hs-welcome .rv-hero-copy{padding-bottom:22px !important}
 .rv-hs.rv-hs-welcome::before{background:linear-gradient(90deg,rgba(255,248,251,.9) 0%,rgba(255,248,251,.6) 40%,rgba(255,248,251,0) 54%)}
}
@media(min-width:800px){.rv-hs-welcome .rv-hero-sub{max-width:30em}}
/* ≥800px: collage a altura completa anclado a la derecha, sin recortes; fondo continuo a la izquierda */
@media(min-width:800px){
 .rv-hs-welcome .rv-hero-bg{background:#fff8fb}
 .rv-hs-welcome .rv-hero-bg img{position:absolute;top:0;right:0;width:auto;height:100%;max-width:none;object-fit:contain}
 .rv-hs-welcome .rv-hero-copy{box-sizing:content-box;width:min(620px,44vw)}
}
.rv-hs-welcome .rv-hero-sub{text-wrap:pretty}
/* v3 (2026-10-10): logo grande en la bienvenida; cuadros cuadrados con fotos grandes completas */
.rv-hero .rv-hs-welcome h1.rv-hlogo{position:relative;display:inline-block;line-height:0;margin:0 0 12px;font-size:0}
.rv-hlogo img{display:block;height:auto;width:min(222px,58vw)}
.rv-hlogo .rv-tag{position:absolute;left:45.4%;right:3.3%;top:79.5%;font:600 calc(min(222px,58vw)*.0274)/1 "RV Montserrat",Arial,sans-serif;color:#3a3d4a;letter-spacing:.06em;white-space:nowrap}
.rv-hlogo .rv-tag>span{display:flex;justify-content:space-between;align-items:center}
.rv-hlogo .rv-tag b{color:#e6045e;font-weight:800;letter-spacing:0}
.rv-hs-welcome .rv-hero-copy{max-width:62% !important}
@media(max-width:370px){.rv-hlogo img{width:200px}.rv-hlogo .rv-tag{font-size:5.5px}}
@media(min-width:800px){
 .rv-hs-welcome .rv-hero-copy{max-width:none !important;width:min(660px,56vw) !important}
 .rv-hlogo img{width:min(600px,52vw)}
 .rv-hlogo .rv-tag{font-size:calc(min(600px,52vw)*.0212);letter-spacing:.08em}
 .rv-hero .rv-hs-welcome h1.rv-hlogo{margin-bottom:22px}
}
.rv-cat{aspect-ratio:1 !important;background:#fbeef3}
.rv-cat picture,.rv-cat-img,.rv-cat-slides .slide{object-fit:contain !important;background:#fbeef3}
.rv-cat-slides .slide.rv-fit{padding:0 !important}
.rv-cat-text{padding-bottom:0 !important;height:15.5%;justify-content:center}
@media(min-width:800px){.rv-cat{aspect-ratio:1.08 !important}}
@media(max-width:370px){.rv-hs-welcome .rv-hero-sub{max-width:16.2em}}
/* v4: frase bajo el logo grande de la bienvenida (en lugar de HOGAR • MODA • BELLEZA • Y MÁS) */
.rv-hlogo .rv-slogan em{font-style:italic;color:#d6266b}
.rv-hero .rv-hs-welcome h1.rv-hlogo{margin-bottom:16px}
@media(min-width:800px){.rv-hero .rv-hs-welcome h1.rv-hlogo{margin-bottom:30px}}
/* v5: frase en su propia línea bajo todo el logo, alineada con el inicio de "Rosita"; nunca toca la ilustración */
/* frase: fuente propia (Liberation Serif Italic, SIL OFL) para que mida igual en iPhone, Android y PC */
@font-face{font-family:"RV Slogan";src:url(/assets/fonts/rv-slogan-italic.woff2) format("woff2");font-style:italic;font-weight:400;font-display:swap}
.rv-hlogo .rv-slogan,.rv-hlogo .rv-slogan em{font-family:"RV Slogan","Times New Roman",serif !important}
/* v6 — frase bajo "Villegas" (empieza en la V, línea base = punto más bajo de "Rosita"), descripción negra, cuadros rotativos */
.rv-hero .rv-hs-welcome h1.rv-hlogo{--lw:min(222px,58vw);position:relative;display:inline-block;line-height:0}
.rv-hlogo .rv-slogan{position:absolute;display:block;left:44.97%;top:auto;bottom:-.17em;margin:0;line-height:1;white-space:nowrap;font-size:calc(var(--lw)*.050);font-style:italic;font-weight:400;color:#4a1028;letter-spacing:.01em}
/* EN es más larga: en teléfono el tamaño crece con el espacio libre hasta la ilustración (anclada a la derecha) */
html[lang="en"] .rv-hlogo .rv-slogan{letter-spacing:0;font-size:min(calc(7.4px + (100vw - 360px)*.042),9.2px)}
@media(max-width:360px){html[lang="en"] .rv-hlogo .rv-slogan{font-size:7.4px}}
@media(min-width:800px){html[lang="en"] .rv-hlogo .rv-slogan{letter-spacing:.01em;font-size:calc(var(--lw)*.036)}}
@media(min-width:800px) and (max-width:1279px){.rv-hs-welcome .rv-hero-sub{max-width:min(30em,calc(100vw - 381px)) !important}}
@media(max-width:370px){.rv-hero .rv-hs-welcome h1.rv-hlogo{--lw:200px}}
@media(min-width:800px){.rv-hero .rv-hs-welcome h1.rv-hlogo{--lw:min(600px,52vw)}}
.rv-hs-welcome .rv-hero-sub{color:#000 !important}
.rv-cat-slides .slide:not(.active){pointer-events:none}

/* v7 carrusel: barra de progreso compacta en lugar de puntos (44 productos) */
.rv-hs-dots{display:none}
.rv-hs-prog{position:absolute;z-index:5;left:14px;bottom:9px;width:min(110px,28vw);height:4px;border-radius:99px;background:rgba(255,255,255,.55);box-shadow:0 0 0 1px rgba(60,10,30,.18),0 1px 3px rgba(0,0,0,.25);overflow:hidden;cursor:pointer}
.rv-hs-prog::after{content:"";position:absolute;inset:-10px 0}
.rv-hs-prog span{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:99px;background:#ff8fc2;transition:width .45s ease}
@media(min-width:800px){.rv-hs-prog{left:max(32px,calc(50vw - 560px));bottom:16px;width:180px;height:5px}}
.rv-hero img{-webkit-user-drag:none;user-select:none}
