/* Hermes-Pult reusable product gallery v2.7.7 */
.product-gallery-carousel{min-width:0;width:100%}
.product-gallery-carousel .product-image-panel{position:relative;width:100%;overflow:hidden}
.product-gallery-carousel .product-gallery-main-image{width:100%;height:470px;display:block;object-fit:contain}
.product-gallery-carousel .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:46px;height:46px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(21,34,58,.16);border-radius:999px;background:rgba(255,255,255,.96);color:#101d33;box-shadow:0 8px 24px rgba(21,34,58,.14);font:700 28px/1 Arial,sans-serif;cursor:pointer}
.product-gallery-carousel .gallery-arrow.is-prev{left:18px}
.product-gallery-carousel .gallery-arrow.is-next{right:18px}
.product-gallery-carousel .gallery-arrow:hover{background:#fff}
.product-gallery-carousel .gallery-arrow:focus-visible,.gallery-thumb:focus-visible{outline:3px solid #e1b968;outline-offset:3px}
.product-gallery-carousel .gallery-counter{position:absolute;right:18px;bottom:18px;z-index:3;padding:5px 10px;border-radius:999px;color:#fff;background:rgba(16,29,51,.82);font-size:12px;font-weight:800}
.gallery-thumbnails{display:flex;gap:12px;margin-top:14px;flex-wrap:wrap}
.gallery-thumb{width:112px;height:88px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:7px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.gallery-thumb:hover{border-color:rgba(199,154,66,.7);transform:translateY(-1px)}
.gallery-thumb.is-active{border-color:var(--gold-dark);box-shadow:0 0 0 2px rgba(199,154,66,.14)}
.gallery-thumb img{width:100%;height:100%;display:block;object-fit:contain}
@media(max-width:700px){.product-gallery-carousel .product-gallery-main-image{height:300px}.product-gallery-carousel .gallery-arrow{width:40px;height:40px;font-size:24px}.product-gallery-carousel .gallery-arrow.is-prev{left:10px}.product-gallery-carousel .gallery-arrow.is-next{right:10px}.product-gallery-carousel .gallery-counter{right:10px;bottom:10px}.gallery-thumbnails{gap:8px;margin-top:10px}.gallery-thumb{width:84px;height:68px;padding:5px}}

/* v2.7.7 - optional video slide and share actions inside the product gallery */
.product-gallery-carousel .product-gallery-main-video{width:100%;height:470px;display:block;object-fit:contain;background:#f4f6f8}
.product-gallery-carousel .product-gallery-main-video[hidden]{display:none}
.gallery-thumb.is-video{position:relative;background:#f4f6f8}
.gallery-thumb.is-video img{object-fit:contain}
.gallery-thumb-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;padding-left:2px;border-radius:999px;background:rgba(16,29,51,.88);color:#fff;box-shadow:0 5px 16px rgba(16,29,51,.25);font:700 15px/1 Arial,sans-serif;pointer-events:none}
@media(max-width:700px){.product-gallery-carousel .product-gallery-main-video{height:300px}.gallery-thumb-play{width:30px;height:30px;font-size:13px}}


/* v2.7.7 - compact actions shown only when a video slide is active */
.gallery-video-actions{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.gallery-video-actions[hidden]{display:none}
.gallery-video-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid rgba(21,34,58,.16);border-radius:10px;background:#fff;color:#17243b;text-decoration:none;font:700 13px/1.2 inherit;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.gallery-video-action:hover{border-color:rgba(199,154,66,.7);background:#fbfaf7;transform:translateY(-1px)}
.gallery-video-action:focus-visible{outline:3px solid #e1b968;outline-offset:2px}
.gallery-video-action.is-youtube::before{content:'▶';margin-right:7px;font-size:11px;color:#d81920}
@media(max-width:700px){.gallery-video-actions{gap:7px}.gallery-video-action{min-height:36px;padding:8px 11px;font-size:12px}}

/* v2.7.8 - ensure the photo is fully removed when the video slide is active */
.product-gallery-carousel .product-gallery-main-image[hidden]{display:none!important}
