/* Fill catalogue image frames with proportional cropping, never distortion. */
html body #page #content ul.products li.product .product-transition .product-image img{width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;display:block!important;margin:0!important}
html body #page #content ul.products li.product .product-transition .product-image{padding:0!important}
/* Controls sit above the existing product link, without changing card dimensions. */
html body #page .vip-card-gallery-data{display:none!important}
html body #page .vip-has-card-gallery{position:relative!important;touch-action:pan-y}
html body #page .vip-has-card-gallery .image-hover{display:none!important}
html body #page .vip-has-card-gallery .image-main{opacity:1!important;visibility:visible!important;transform:none!important}
html body #page .vip-has-card-gallery .image-main img{opacity:1!important;transform:none!important}
html body #page .vip-gallery-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:8!important;display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;margin:0!important;border:1px solid #deded9!important;border-radius:50%!important;background:rgba(255,255,255,.95)!important;color:#263b2c!important;box-shadow:0 2px 8px #0001!important;cursor:pointer!important;opacity:1!important}
html body #page .vip-gallery-arrow::before,html body #page .vip-gallery-arrow::after{content:none!important}
html body #page .vip-gallery-prev{left:10px!important}
html body #page .vip-gallery-next{right:10px!important}
html body #page .vip-gallery-arrow svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
html body #page .vip-gallery-arrow:focus-visible{outline:2px solid #71a73c!important;outline-offset:3px}
html body #page .vip-gallery-count{position:absolute!important;z-index:8!important;bottom:10px!important;left:50%!important;transform:translateX(-50%)!important;font:500 11px/22px Arial,sans-serif!important;padding:0 9px!important;border-radius:12px!important;background:rgba(255,255,255,.94)!important;color:#263b2c!important;pointer-events:none!important}
html body .vip-cart-image-dialog{box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;width:min(900px,94vw)!important;max-width:94vw!important;max-height:90dvh!important;padding:44px 20px 16px!important;border:0!important;border-radius:12px!important;background:#fff!important;color:#17251b!important;box-shadow:0 16px 60px #0004!important}
html body .vip-cart-image-dialog:not([open]){display:none!important}
html body .vip-cart-image-dialog::backdrop{background:rgba(12,20,15,.75)}
html body .vip-cart-image-dialog img{display:block!important;width:100%!important;height:auto!important;max-height:calc(90dvh - 105px)!important;object-fit:contain!important;margin:0 auto!important}
html body .vip-cart-image-dialog figcaption{text-align:center!important;font-size:14px!important;line-height:1.4!important;margin:12px 0 0!important}
html body .vip-cart-image-dialog figure{margin:0!important}
html body .vip-cart-image-close{position:absolute!important;top:8px!important;right:10px!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f2f4f2!important;color:#17251b!important;font:26px/34px Arial,sans-serif!important;text-align:center!important;cursor:pointer!important}
html body .woocommerce-cart-form a.vip-cart-image-trigger{cursor:zoom-in!important}
