/* One contained image and one horizontal thumbnail strip, in every language. */
body.single-product .woocommerce-product-gallery {
 --zhg-gallery-height: clamp(280px, 40vw, 520px);
 position: relative; min-width: 0;
}
body.single-product .woocommerce-product-gallery .flex-viewport {
 height: var(--zhg-gallery-height) !important;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
 height: var(--zhg-gallery-height); background: #14110d;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a {
 display: flex; align-items: center; justify-content: center; height: 100%;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
 display: block; width: 100% !important; height: 100% !important;
 max-height: var(--zhg-gallery-height) !important; object-fit: contain !important;
 background: #14110d; aspect-ratio: auto;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
 display: flex !important; flex-wrap: nowrap !important; gap: 10px;
 overflow-x: auto !important; overflow-y: hidden !important;
 width: 100% !important; margin: 12px 0 0 !important; padding: 2px 0 8px !important;
 list-style: none; scroll-snap-type: x proximity; scrollbar-width: thin;
 scrollbar-color: #8c7653 #211b13; overscroll-behavior-x: contain;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
 flex: 0 0 68px; width: 68px !important; height: 68px;
 float: none !important; clear: none !important; margin: 0 !important;
 scroll-snap-align: center;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
 box-sizing: border-box; width: 68px !important; height: 68px !important;
 object-fit: contain; border: 1px solid transparent; opacity: .65;
 cursor: pointer;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover {
 opacity: 1; border-color: #d3b880;
}
body.single-product .woocommerce-product-gallery :focus-visible {
 outline: 2px solid #f5d69b; outline-offset: 2px;
}
body.single-product .woocommerce-product-gallery button.woocommerce-product-gallery__trigger {
 position:absolute;top:12px;right:12px;left:auto;z-index:6;
 width:40px;height:40px;padding:0;border:1px solid #8c7653;border-radius:50%;
 background:#15120de6;color:#f4ead5;font:32px/38px Georgia,serif;cursor:pointer;
}
body.single-product .woocommerce-product-gallery button.woocommerce-product-gallery__trigger::before,
body.single-product .woocommerce-product-gallery button.woocommerce-product-gallery__trigger::after {display:none;}
body.single-product .woocommerce-product-gallery .flex-direction-nav {
 list-style: none !important; margin: 0 !important; padding: 0 !important;
}
body.single-product .woocommerce-product-gallery .flex-direction-nav a {
 position: absolute !important; top: calc(var(--zhg-gallery-height) / 2 - 22px);
 display: flex !important; align-items: center; justify-content: center;
 width: 40px; height: 44px; z-index: 5; overflow: hidden;
 border: 1px solid #8c7653; background: #15120de6; color: #f4ead5;
 opacity: 1 !important; text-decoration: none; font-size: 0 !important;
}
body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev {left: 10px !important;right:auto !important;}
body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next {right: 10px !important;left:auto !important;}
body.single-product .woocommerce-product-gallery .flex-direction-nav a::before {font: 32px/1 Georgia,serif; content: '‹';}
body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next::before {content: '›';}
html[dir=rtl] body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev {left:auto !important;right:10px !important;}
html[dir=rtl] body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next {right:auto !important;left:10px !important;}
html[dir=rtl] body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev::before {content:'›';}
html[dir=rtl] body.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next::before {content:'‹';}
body.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-disabled {opacity: .35 !important;pointer-events:none;}
@media(max-width:767px){
 body.single-product .woocommerce-product-gallery {--zhg-gallery-height: min(440px, calc(100vw - 40px));}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs li {flex-basis:60px;width:60px !important;height:60px;}
 body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {width:60px !important;height:60px !important;}
}
@media(prefers-reduced-motion:reduce){
 body.single-product .woocommerce-product-gallery * {transition-duration:0s !important;scroll-behavior:auto !important;}
}
