/* Saved NUXE gallery geometry; native WooCommerce slides and lightbox stay authoritative. */
.nuxe-product-media .nuxe-media-stage{position:relative;aspect-ratio:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);overflow:hidden;outline-offset:-3px}
.nuxe-product-media[data-carousel="true"] .nuxe-media-stage>video{height:100%;aspect-ratio:auto;margin:0;clip-path:none;object-fit:cover;object-position:center bottom}
.nuxe-product-media[data-carousel="true"] #nuxe-product-images,
.nuxe-product-media[data-carousel="true"] .woocommerce-product-gallery,
.nuxe-product-media[data-carousel="true"] .woocommerce-product-gallery__wrapper,
.nuxe-product-media[data-carousel="true"] .woocommerce-product-gallery__image{height:100%;min-height:0}
.nuxe-product-media[data-carousel="true"] .flex-viewport{height:100%!important}
.single-product .nuxe-commerce div.product .nuxe-product-media[data-carousel="true"] div.images{width:100%;float:none}
.nuxe-product-media[data-carousel="true"] .woocommerce-product-gallery__image img{height:100%;width:100%;object-fit:contain}
.nuxe-product-media[data-carousel="true"] .flex-control-thumbs,
.nuxe-product-media[data-carousel="true"] .nuxe-media-controls{display:none!important}
.nuxe-media-navigation{position:absolute;inset:0;z-index:3;pointer-events:none}
.nuxe-media-navigation button{pointer-events:auto;border:0;padding:0;color:#111;background:#fff;cursor:pointer}
.nuxe-media-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center}
.nuxe-media-previous{left:5.2%}.nuxe-media-next{right:5.2%}
.nuxe-media-arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
.nuxe-media-pagination{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:10px;max-width:calc(100% - 32px);overflow-x:auto;scrollbar-width:none;pointer-events:auto}
.nuxe-media-pagination .nuxe-media-dot{position:relative;flex:0 0 24px;width:24px;height:44px;background:transparent;display:grid;place-items:center;border-radius:4px}
.nuxe-media-dot:after{content:'';width:15px;height:15px;box-sizing:border-box;border:1px solid #fff;border-radius:50%;box-shadow:0 0 2px #4446;background:#0001}
.nuxe-media-dot[aria-current="true"]:after{background:#fff}
.nuxe-media-dot:disabled{opacity:.35;cursor:default}
.nuxe-media-navigation button:focus-visible{outline:2px solid var(--green);outline-offset:-2px;background:#fff;color:var(--green)}
.nuxe-media-playback{position:absolute;left:16px;bottom:12px;width:44px;height:44px;border-radius:50%;font:16px/1 var(--body);box-shadow:0 1px 5px #0002}
.nuxe-media-navigation [hidden]{display:none!important}
.nuxe-media-progress{display:none}
.nuxe-product-media[data-carousel="true"] .woocommerce-breadcrumb{margin:20px 48px 0}
@media(max-width:768px){
 .nuxe-product-media[data-carousel="true"] .nuxe-media-stage{aspect-ratio:1;touch-action:pan-y}
 .nuxe-media-navigation .nuxe-media-arrow{display:none}
 .nuxe-media-pagination{bottom:0;gap:0}
 .nuxe-media-dot:after{width:6px;height:6px}
 .nuxe-media-playback{left:12px;bottom:4px;width:36px;height:36px;font-size:13px}
 .nuxe-media-progress{display:block;margin:12px 16px 0;height:4px;background:#f7f2ee;overflow:hidden}
 .nuxe-media-progress>span{display:block;height:100%;width:calc(100% / var(--media-count,1));background:#e8dfd9;transform:translateX(calc(var(--media-index,0) * 100%))}
 .nuxe-product-media[data-carousel="true"] .woocommerce-breadcrumb{margin:18px 16px 0}
}
