
/* Visor independiente: la galería antigua sigue en el DOM para que WooCommerce gestione variaciones. */
body.single-product .scv2-root {width:100%;max-width:100%;min-width:0;position:relative;box-sizing:border-box;clear:both;}
body.single-product .scv2-stage {width:100%;aspect-ratio:1 / 1;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #f0eded;border-radius:10px;overflow:hidden;box-sizing:border-box;cursor:zoom-in;position:relative;}
body.single-product .scv2-stage img {display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important;position:static!important;margin:auto!important;padding:clamp(8px,2%,20px)!important;box-sizing:border-box!important;}
body.single-product .scv2-expand {position:absolute;top:15px;right:15px;z-index:2;border:1px solid #eadfe1;background:#fff;color:#222;border-radius:30px;padding:9px 13px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 3px 15px #0001;}
body.single-product .scv2-thumbs {display:flex;gap:10px;overflow-x:auto;padding:12px 1px 4px;scrollbar-width:thin;}
body.single-product .scv2-thumb {width:78px;height:78px;flex:0 0 78px;padding:4px;border:1px solid #e5dede;border-radius:8px;background:#fff;cursor:pointer;}
body.single-product .scv2-thumb[aria-current="true"] {border:2px solid #b8737d;}
body.single-product .scv2-thumb img {width:100%!important;height:100%!important;display:block!important;object-fit:contain!important;}
body.single-product .woocommerce-product-gallery.scv2-ready {overflow:visible!important;height:auto!important;min-height:0!important;}
body.single-product .woocommerce-product-gallery.scv2-ready > :not(.scv2-root) {display:none!important;}
body.single-product .scv2-description {margin:24px 0;padding-top:20px;border-top:1px solid #e9e1e1;font-size:14px;line-height:1.7;color:#464248;}
body.single-product .scv2-description h2 {font-size:19px;margin:0 0 10px;color:#27212a;}
body.scv2-locked {overflow:hidden!important;}
.scv2-modal[hidden] {display:none!important;}
.scv2-modal {position:fixed!important;inset:0!important;background:rgba(13,13,15,.97)!important;z-index:2147483600!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;padding:60px 62px 75px;box-sizing:border-box;}
.scv2-modal .scv2-view {min-width:0;min-height:0;flex:1;width:100%;display:flex;align-items:center;justify-content:center;overflow:auto;touch-action:pan-x pan-y;}
.scv2-modal .scv2-view img {width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;display:block!important;transition:transform .13s ease;transform-origin:center;}
.scv2-modal .scv2-tools {position:absolute;right:14px;top:12px;display:flex;gap:9px;}
.scv2-modal button {background:#ffffff1d;color:#fff;border:1px solid #fff6;border-radius:25px;min-width:43px;min-height:43px;padding:8px;cursor:pointer;font-size:20px;}
.scv2-modal .scv2-left,.scv2-modal .scv2-right {position:absolute;top:50%;transform:translateY(-50%);}
.scv2-modal .scv2-left{left:10px}.scv2-modal .scv2-right{right:10px}
.scv2-modal .scv2-count {position:absolute;bottom:23px;color:white;font:14px Arial,sans-serif;}
@media(max-width:767px){.scv2-modal{padding:60px 10px 74px!important}.scv2-modal .scv2-left,.scv2-modal .scv2-right{top:auto;bottom:14px;transform:none}.scv2-root .scv2-thumb{height:66px;width:66px;flex-basis:66px}}
