/* Gallery Direct & Tetrad: vertical secondary images, with Nigel's Thoughts directly underneath. */
@media(min-width:768px){
 body.single-product .hvm-premium-gallery .woocommerce-product-gallery{position:relative!important;width:100%!important;float:none!important;margin:0!important}
 body.single-product .hvm-premium-gallery .woocommerce-product-gallery:has(.flex-control-thumbs) .woocommerce-product-gallery__wrapper{margin-left:88px!important;width:calc(100% - 88px)!important}
 body.single-product .hvm-premium-gallery .flex-control-thumbs{position:absolute!important;left:0!important;top:0!important;display:flex!important;flex-direction:column!important;gap:9px!important;width:74px!important;max-height:470px!important;overflow-y:auto!important;overflow-x:hidden!important;margin:0!important;padding:0!important;list-style:none!important}
 body.single-product .hvm-premium-gallery .flex-control-thumbs li{float:none!important;display:block!important;width:100%!important;flex:0 0 auto!important;margin:0!important}
 body.single-product .hvm-premium-gallery .flex-control-thumbs li img{width:100%!important;height:72px!important;object-fit:contain!important;border:1px solid #dfe5dd!important;border-radius:3px!important;padding:3px!important;background:#fff!important}
 body.single-product .hvm-premium-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child img{width:100%!important;height:470px!important;max-height:470px!important;object-fit:contain!important;object-position:center!important}
 body.single-product .hvm-premium-gallery .hvm-nigel-take{margin-top:11px!important;padding:13px 15px!important}
 body.single-product .hvm-premium-gallery .hvm-nigel-take img{width:56px!important;height:56px!important}
 body.single-product .hvm-premium-gallery .hvm-nigel-take p{font-size:.88rem!important;line-height:1.4!important;margin-top:4px!important}
}
@media(max-width:767px){
 body.single-product .hvm-premium-gallery .flex-control-thumbs{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:8px 0!important;list-style:none!important}
 body.single-product .hvm-premium-gallery .flex-control-thumbs li{width:68px!important;flex:0 0 68px!important;margin:0!important}
 body.single-product .hvm-premium-gallery .hvm-nigel-take{margin-top:10px!important}
}
/* Single-image products: full width, clean white background, no reserved thumbnail rail. */
body.single-product .hvm-premium-gallery .woocommerce-product-gallery,
body.single-product .hvm-premium-gallery .woocommerce-product-gallery__wrapper,
body.single-product .hvm-premium-gallery .woocommerce-product-gallery__image,
body.single-product .hvm-premium-gallery .woocommerce-product-gallery__image a{background:#fff!important}
@media(min-width:768px){
body.single-product .hvm-premium-gallery .woocommerce-product-gallery:not(:has(.flex-control-thumbs li:nth-child(2))) .woocommerce-product-gallery__wrapper{margin-left:0!important;width:100%!important;overflow:hidden!important}
body.single-product .hvm-premium-gallery .woocommerce-product-gallery:not(:has(.flex-control-thumbs li:nth-child(2))) .woocommerce-product-gallery__image:first-child{background:#fff!important}
body.single-product .hvm-premium-gallery .woocommerce-product-gallery:not(:has(.flex-control-thumbs li:nth-child(2))) .woocommerce-product-gallery__image:first-child img{height:470px!important;max-height:470px!important;width:100%!important;object-fit:contain!important;transform:scale(1.14);transform-origin:center}
body.single-product .hvm-premium-gallery .woocommerce-product-gallery:has(.flex-control-thumbs li:nth-child(2)) .woocommerce-product-gallery__wrapper{margin-left:88px!important;width:calc(100% - 88px)!important}
body.single-product .hvm-premium-gallery .woocommerce-product-gallery:not(:has(.flex-control-thumbs li:nth-child(2))) .flex-control-thumbs{display:none!important}
}
