/* Vitrine v0.1: editorial comercial, componentes táctiles y Video Shopping */
body.shoppy-storefront-native-vitrine {background:#fff;color:#151515}
body.shoppy-storefront-native-vitrine .shoppy-storefront-content{padding-top:0}
.shoppy-vitrine-home{--vt-ink:#202020;--vt-line:#e7e5e3;--vt-bg:#fff;--vt-accent:#a65e4b;background:#fff;color:var(--vt-ink);font-family:inherit;overflow:hidden}
.shoppy-vitrine-home *{box-sizing:border-box}.shoppy-vitrine-home a{text-decoration:none}
.shoppy-vt-hero{min-height:530px;height:min(65vw,720px);position:relative;background:#b9a49b}
.shoppy-vt-hero picture,.shoppy-vt-hero picture img{display:block;height:100%;width:100%}.shoppy-vt-hero picture img{object-fit:cover;object-position:center 38%}
.shoppy-vt-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(29,17,14,.57),rgba(29,17,14,0) 78%);pointer-events:none}
.shoppy-vt-hero-copy{position:absolute;top:50%;left:max(7%,calc((100% - 1200px)/2));transform:translateY(-50%);z-index:2;width:min(520px,78%);color:white}
.shoppy-vt-hero-copy small,.shoppy-vt-story small,.shoppy-vt-heading small,.shoppy-vt-closing small{display:block;font-size:12px;letter-spacing:.17em;font-weight:650;text-transform:uppercase;margin-bottom:16px}
.shoppy-vt-hero h1{font:400 clamp(52px,6vw,96px)/.98 Georgia,serif;letter-spacing:-.04em;margin:0 0 24px}.shoppy-vt-hero p{font-size:17px;line-height:1.55;max-width:380px;margin:0 0 25px}
.shoppy-vt-hero-copy a,.shoppy-vt-story a,.shoppy-vt-closing a{display:inline-flex!important;align-items:center;justify-content:center;padding:14px 25px!important;min-height:46px;background:#fff!important;color:#141414!important;-webkit-text-fill-color:#141414!important;font-size:12px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border:1px solid #fff;text-decoration:none!important}
.shoppy-vt-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:24px max(5%,calc((100% - 1240px)/2));border-bottom:1px solid var(--vt-line)}
.shoppy-vt-trust>div{display:flex;align-items:center;gap:13px}.shoppy-vt-trust>div>span{font-size:24px;color:var(--vt-accent)}.shoppy-vt-trust strong,.shoppy-vt-trust small{display:block}.shoppy-vt-trust strong{font-size:12px}.shoppy-vt-trust small{font-size:11px;color:#6b6b6b;margin-top:3px}
.shoppy-vt-section{max-width:1350px;margin:0 auto;padding:65px 25px 20px}.shoppy-vt-heading{text-align:center;margin-bottom:30px}.shoppy-vt-heading small{color:#936553;margin-bottom:8px}.shoppy-vt-heading h2{font:500 clamp(27px,3.4vw,39px)/1.1 Georgia,serif;letter-spacing:-.018em;margin:0}
.shoppy-vt-categories{display:flex;justify-content:center;overflow-x:auto;gap:14px;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:14px}.shoppy-vt-categories::-webkit-scrollbar{display:none}.shoppy-vt-category{flex:1 0 0;min-width:155px;max-width:300px;display:block;position:relative;scroll-snap-align:start;color:#1b1b1b}.shoppy-vt-category img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#ebe4df;display:block}.shoppy-vt-category span{font-size:13px;display:block;padding:10px 0;text-align:center;font-weight:650}
.shoppy-vt-rail-wrap{display:flex;align-items:center;gap:9px}.shoppy-vt-rail{display:flex;flex:1;overflow-x:auto;gap:13px;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:12px}.shoppy-vt-rail::-webkit-scrollbar{display:none}.shoppy-vt-nav{width:32px;height:40px;border:1px solid #ddd;background:#fff;color:#333;font-size:24px;cursor:pointer;flex-shrink:0}.shoppy-vt-product{flex:0 0 calc((100% - 52px)/5);min-width:0;scroll-snap-align:start;background:white}.shoppy-vt-product-photo{display:block;aspect-ratio:3/4;background:#f4f1ef;position:relative;overflow:hidden}.shoppy-vt-product-photo img{width:100%;height:100%;object-fit:cover}.shoppy-vt-sale{position:absolute;top:10px;left:10px;background:#aa332b;color:#fff;padding:5px 8px;font-size:10px;font-weight:700}.shoppy-vt-no-photo{display:grid;place-items:center;width:100%;height:100%;color:#888;font-size:12px}.shoppy-vt-product-details{text-align:center;font-size:12px;padding:12px 4px}.shoppy-vt-product-details>a:first-child{display:block;min-height:34px;color:#202020}.shoppy-vt-price{font-weight:700;margin:5px 0 10px}.shoppy-vt-buy{display:block;color:#fff!important;background:#1c1c1c!important;padding:9px 6px;font-weight:700;font-size:11px;text-transform:uppercase}.shoppy-vt-empty{padding:40px;text-align:center;color:#777;flex:1;background:#f8f7f6}
.shoppy-vt-campaign{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:75px auto 0;max-width:1350px;padding:0 25px}.shoppy-vt-campaign-panel{height:410px;position:relative;display:block;overflow:hidden;background:#ddd}.shoppy-vt-campaign-panel img{width:100%;height:100%;object-fit:cover}.shoppy-vt-campaign-panel:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.5),transparent 65%)}.shoppy-vt-campaign-panel span{position:absolute;bottom:28px;left:30px;z-index:1;color:white;display:grid;gap:10px;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.shoppy-vt-campaign-panel strong{display:block;font:400 clamp(25px,3vw,42px) Georgia,serif;letter-spacing:0;text-transform:none}.shoppy-vt-campaign-panel i{font-size:11px;font-style:normal;text-decoration:underline;text-underline-offset:5px}
.shoppy-vt-story{margin:80px auto 0;max-width:1350px;min-height:360px;position:relative;background:#d6c4b3;overflow:hidden}.shoppy-vt-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.shoppy-vt-story:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,18,16,.63),transparent 90%)}.shoppy-vt-story>div{position:relative;z-index:1;color:#fff;max-width:560px;padding:60px}.shoppy-vt-story h2{font:400 clamp(34px,4vw,54px)/1.03 Georgia,serif;margin:0 0 18px}.shoppy-vt-story p{font-size:14px;line-height:1.6}
.shoppy-vt-videos .shoppy-vt-video-intro{text-align:center;color:#5b5552;margin:-12px 0 28px;font-size:14px}.shoppy-vt-video-rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 16px}.shoppy-vt-video-rail::-webkit-scrollbar{display:none}.shoppy-vt-video-card{flex:0 0 calc((100% - 70px)/6);scroll-snap-align:start;min-width:0}.shoppy-vt-video-launch{padding:0;border:0;background:#ddd;aspect-ratio:9/16;position:relative;width:100%;display:block;cursor:pointer;border-radius:12px;overflow:hidden}.shoppy-vt-video-launch img{width:100%;height:100%;object-fit:cover}.shoppy-vt-video-placeholder{display:grid;place-items:center;width:100%;height:100%;background:#b6a79f;color:#fff;letter-spacing:.16em}.shoppy-vt-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:47px;height:47px;border-radius:50%;background:rgba(255,255,255,.94);color:#222;font-size:15px;padding-left:3px}.shoppy-vt-video-info{font-size:12px;padding-top:9px}.shoppy-vt-video-info strong{display:block}.shoppy-vt-video-info a{display:block;margin-top:5px;text-decoration:underline;color:#111}.shoppy-vt-video-info del{color:#777}
.shoppy-vt-video-modal[hidden]{display:none!important}.shoppy-vt-video-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}.shoppy-vt-video-backdrop{position:absolute;inset:0;background:rgba(10,10,10,.84)}.shoppy-vt-modal-box{position:relative;width:min(100%,450px);min-width:0;background:#fff;padding:10px;border-radius:12px;z-index:1;box-shadow:0 18px 55px #0004}.shoppy-vt-modal-box video{display:block;width:100%;max-height:75vh;aspect-ratio:9/16;background:#111;border-radius:6px}.shoppy-vt-video-close{position:absolute;right:15px;top:15px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;font-size:24px;cursor:pointer;background:#fff;color:#111}.shoppy-vt-video-caption{text-align:center;margin:9px 0 2px;font-size:13px}
.shoppy-vt-closing{text-align:center;background:#eee9e5;margin-top:75px;padding:70px 20px 84px}.shoppy-vt-closing small{color:#8a614f}.shoppy-vt-closing h2{font:400 clamp(33px,4.4vw,56px) Georgia,serif;margin:0 0 14px}.shoppy-vt-closing p{font-size:14px;margin:0 auto 26px;max-width:440px}.shoppy-vt-closing a{background:#1c1c1c!important;border-color:#1c1c1c!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
@media(max-width:1000px){.shoppy-vt-product{flex-basis:calc((100% - 39px)/4)}.shoppy-vt-video-card{flex-basis:calc((100% - 42px)/4)}}
@media(max-width:700px){.shoppy-vt-categories{justify-content:flex-start}.shoppy-vt-hero{height:76svh;min-height:510px}.shoppy-vt-hero:before{background:linear-gradient(0deg,rgba(20,14,14,.7),transparent 68%)}.shoppy-vt-hero-copy{top:auto;bottom:30px;transform:none;left:6%;width:87%}.shoppy-vt-hero h1{font-size:clamp(43px,11vw,66px)}.shoppy-vt-hero p{font-size:14px}.shoppy-vt-section{padding:46px 15px 0}.shoppy-vt-heading h2{font-size:31px}.shoppy-vt-trust{display:flex;overflow-x:auto;padding:20px 18px;gap:25px}.shoppy-vt-trust>div{flex:0 0 75vw}.shoppy-vt-category{flex:0 0 43vw;min-width:0}.shoppy-vt-rail{gap:10px}.shoppy-vt-nav{display:none}.shoppy-vt-product{flex:0 0 52vw}.shoppy-vt-campaign{display:flex;overflow-x:auto;gap:10px;margin-top:55px;padding:0 15px;scroll-snap-type:x mandatory}.shoppy-vt-campaign-panel{flex:0 0 86vw;height:420px;scroll-snap-align:start}.shoppy-vt-story{margin-top:55px;min-height:390px}.shoppy-vt-story>div{padding:55px 25px}.shoppy-vt-video-card{flex:0 0 52vw}.shoppy-vt-video-rail{gap:12px}.shoppy-vt-closing{margin-top:60px;padding:65px 20px}}

.shoppy-vt-video-product-link{display:block;background:#181818;color:#fff!important;text-align:center;padding:12px;font-size:12px;font-weight:700;text-decoration:none}.shoppy-vt-video-product-link[hidden]{display:none!important}

/* Ajuste móvil: el diálogo siempre respeta el ancho real disponible. */
@media(max-width:420px){.shoppy-vt-video-modal{padding:12px}.shoppy-vt-modal-box{max-width:100%}.shoppy-vt-modal-box video{max-height:68dvh}}


/* Vitrine Video Shopping 0.2: carrusel de clips dentro de la portada.
   Scoped a Vitrine; sin cambios sobre otros diseños o las fichas WooCommerce. */
.shoppy-vitrine-home .shoppy-vt-videos{max-width:none;padding:65px 0 42px;overflow:hidden}
.shoppy-vitrine-home .shoppy-vt-videos .shoppy-vt-heading{padding:0 20px;margin:0 auto 21px}
.shoppy-vitrine-home .shoppy-vt-videos .shoppy-vt-video-intro{margin:0 auto 8px;padding:0 20px;max-width:720px}
.shoppy-vitrine-home .shoppy-vt-video-rail{
  --vt-video-width:clamp(148px,17.5vw,218px);
  display:flex;gap:15px;align-items:flex-start;
  padding:30px max(18px,calc((100% - var(--vt-video-width))/2)) 38px;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  scroll-padding-inline:calc((100% - var(--vt-video-width))/2);
  -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
  scrollbar-width:none;
}
.shoppy-vitrine-home .shoppy-vt-video-card{
  flex:0 0 var(--vt-video-width);min-width:0;max-width:none;
  scroll-snap-align:center;position:relative;z-index:1;
}
.shoppy-vitrine-home .shoppy-vt-video-launch{
  width:100%;aspect-ratio:9/16;border-radius:12px;
  display:block;position:relative;overflow:hidden;
  transform:scale(.93);transform-origin:center top;
  transition:transform .4s ease,box-shadow .4s ease,filter .4s ease;
  filter:saturate(.91);background:#ded9d4;
}
.shoppy-vitrine-home .shoppy-vt-video-launch img{width:100%;height:100%;object-fit:cover}
.shoppy-vitrine-home .shoppy-vt-video-card.is-active{z-index:3}
.shoppy-vitrine-home .shoppy-vt-video-card.is-active .shoppy-vt-video-launch{
  transform:translateY(-11px) scale(1.045);filter:none;
  box-shadow:0 13px 24px rgba(20,20,20,.18);
}
.shoppy-vitrine-home .shoppy-vt-video-card.is-active .shoppy-vt-video-info{color:#171717}
.shoppy-vitrine-home .shoppy-vt-video-info{padding:9px 5px 0;max-width:100%;text-align:center;color:#666}
.shoppy-vitrine-home .shoppy-vt-video-info strong{font-size:12px;line-height:1.35}
.shoppy-vitrine-home .shoppy-vt-inline-player{
  display:block;position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;background:transparent;pointer-events:none;z-index:1;
}
.shoppy-vitrine-home .shoppy-vt-play{
  z-index:2;transition:opacity .2s ease;
}
.shoppy-vitrine-home .shoppy-vt-video-card.is-playing .shoppy-vt-play{opacity:0}
.shoppy-vitrine-home .shoppy-vt-video-card.is-playing .shoppy-vt-video-launch:focus-visible .shoppy-vt-play,
.shoppy-vitrine-home .shoppy-vt-video-card.is-playing .shoppy-vt-video-launch:hover .shoppy-vt-play{opacity:.8}
.shoppy-vitrine-home .shoppy-vt-video-audio{
  position:absolute;z-index:4;right:8px;top:7px;display:none;
  width:30px;height:30px;border:0;border-radius:50%;
  background:rgba(20,20,20,.6);color:#fff;cursor:pointer;
  align-items:center;justify-content:center;font-size:15px;
}
.shoppy-vitrine-home .shoppy-vt-video-card.is-active .shoppy-vt-video-audio{display:inline-flex}
.shoppy-vitrine-home .shoppy-vt-video-nav{
 display:flex;justify-content:center;align-items:center;gap:16px;
 padding:0 18px 4px;font-size:12px;color:#777;
}
.shoppy-vitrine-home .shoppy-vt-video-nav button{
 display:inline-grid;place-items:center;border:1px solid #d6d2d0;
 background:#fff;color:#292929;border-radius:50%;width:35px;height:35px;
 cursor:pointer;font-size:22px;
}
.shoppy-vitrine-home .shoppy-vt-video-nav button:focus-visible,
.shoppy-vitrine-home .shoppy-vt-video-launch:focus-visible,
.shoppy-vitrine-home .shoppy-vt-video-audio:focus-visible{outline:3px solid #957662;outline-offset:3px}
@media(max-width:700px){
 .shoppy-vitrine-home .shoppy-vt-videos{padding-top:47px;padding-bottom:38px}
 .shoppy-vitrine-home .shoppy-vt-video-rail{--vt-video-width:58vw;gap:12px;padding-top:27px;padding-bottom:28px}
 .shoppy-vitrine-home .shoppy-vt-video-card.is-active .shoppy-vt-video-launch{transform:translateY(-7px) scale(1.02)}
 .shoppy-vitrine-home .shoppy-vt-video-info{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .shoppy-vitrine-home .shoppy-vt-video-launch{transition:none}
 .shoppy-vitrine-home .shoppy-vt-video-rail{scroll-behavior:auto}
}
