/* Scoped media only: no changes to cards, copy, prices, checkout or shared modal CSS. */
.vah-public .paid-product-card .d2-product-stack{position:relative;aspect-ratio:auto;min-width:0;overflow:visible}
.vah-public .paid-product-card .d2-product-stack img{position:absolute;object-fit:contain!important;object-position:center;max-height:100%}
.vah-public .paid-product-card .d2-product-stack .d2-stack-cover{left:0;bottom:3%;width:80%;height:94%;z-index:2}
.vah-public .paid-product-card .d2-product-stack .d2-stack-preview{right:0;top:14%;width:40%;height:72%;transform:rotate(5deg);z-index:1}
.vah-public .paid-product-card .d2-product-stack .d2-stack-preview-second{right:7%;top:8%;transform:rotate(-4deg)}
.vah-public .card>.d2-product-gallery{aspect-ratio:auto;overflow:visible;min-width:0;display:block;padding:20px;background:transparent;border:0}
.d2-gallery-stage{display:block;border:0;background:transparent;padding:0;width:100%;height:360px;cursor:zoom-in;touch-action:manipulation}
.vah-public .card>.d2-product-gallery .d2-gallery-stage img{width:100%;height:100%;max-height:100%;object-fit:contain}
.d2-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:14px}
.d2-gallery-controls[hidden]{display:none}
.d2-gallery-controls button,.d2-gallery-dialog button{border:1px solid #56735d;border-radius:8px;padding:9px 14px;background:#fff;color:#173326;cursor:pointer}
.d2-gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:5px}
.d2-gallery-thumbnails a{display:flex;flex:0 0 68px;border:2px solid transparent;border-radius:6px;padding:2px}
.d2-gallery-thumbnails a[aria-current]{border-color:#397548}
.vah-public .card>.d2-product-gallery .d2-gallery-thumbnails img{width:60px;height:76px;object-fit:contain;max-height:none}
.d2-product-gallery :focus-visible{outline:3px solid #185c91;outline-offset:3px}
.d2-gallery-dialog{max-width:92vw;max-height:92dvh;border:0;border-radius:12px;padding:16px;background:#fff}
.d2-gallery-dialog::backdrop{background:#10281dcc}
.d2-gallery-dialog button{display:block;margin:0 0 12px auto}
.vah-public .card>.d2-product-gallery .d2-gallery-dialog img{display:block;width:auto;height:auto;max-width:82vw;max-height:75dvh;object-fit:contain}
@media(max-width:600px){
 .vah-public .paid-product-card .d2-product-stack .d2-stack-preview-second{display:none}
 .vah-public .paid-product-card .d2-product-stack .d2-stack-cover{width:85%}
 .d2-gallery-stage{height:300px}
 .vah-public .card>.d2-product-gallery{padding:16px}
}
