/* V2.9.3: scoped full product gallery. Collection cards and buying controls are unchanged. */
.cp-gallery{min-width:0;align-self:start}
.cp-gallery .cp-product__stage{touch-action:pan-y pinch-zoom;isolation:isolate}
.cp-gallery .cp-product__slide.is-active{pointer-events:auto}
.cp-gallery .cp-product__slide:not(.is-active){pointer-events:none}
.cp-gallery .cp-product__main-image{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%;max-height:100%;min-height:0;-webkit-user-drag:none;user-select:none;object-fit:contain!important}
.cp-gallery .cp-product__gallery-count{min-width:48px;text-align:center;line-height:1.4}
.cp-gallery .cp-product__thumbs{display:flex!important;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:10px;padding:14px 3px 6px;scrollbar-width:thin;scrollbar-color:#426c66 #eff3ef;scroll-padding-inline:4px;overscroll-behavior-x:contain}
.cp-gallery .cp-product__thumbs button{position:relative;flex:0 0 72px;min-width:72px;min-height:72px;background:#fff!important;color:#063f40;border:1px solid #adbfba!important;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.cp-gallery .cp-product__thumbs button.is-active{border-color:#99721c!important;box-shadow:0 0 0 2px #c9a84c!important}
.cp-gallery .cp-product__thumbs button:focus-visible,.cp-gallery .cp-product__stage:focus-visible,.cp-gallery button:focus-visible{outline:3px solid #008b91!important;outline-offset:3px}
.cp-gallery .cp-product__gallery-arrow{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;line-height:1!important}
.cp-gallery .cp-product__gallery-arrow span{font-family:Arial,sans-serif;font-size:32px;line-height:1;transform:translateY(-1px)}
.cp-gallery .cp-gallery__zoom{position:absolute;left:12px;bottom:12px;z-index:5;min-height:44px;padding:8px 12px;border:1px solid #b8cbc5;border-radius:100px;background:#fff!important;color:#063f40!important;box-shadow:0 3px 10px #063f4014;font:700 13px/1.3 Arial,sans-serif;cursor:pointer}
.cp-gallery [hidden]{display:none!important}
.cp-gallery .cp-gallery__caption{margin:6px 3px 0;color:#234943!important;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.cp-gallery .cp-gallery__caption:empty{display:none}
.cp-gallery .cp-gallery__hint{margin:6px 3px 0;color:#476560!important;font-size:12px;line-height:1.45}
.cp-gallery .cp-gallery__video,.cp-gallery .cp-gallery__player{width:100%;height:100%;object-fit:contain;background:#071817;max-width:100%;max-height:100%}
.cp-gallery .cp-gallery__player iframe,.cp-gallery .cp-gallery__player model-viewer{display:block;width:100%;height:100%;border:0;background:#f2f4ef}
.cp-gallery .cp-gallery__play{position:relative;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;background:#f2f4ef;color:#063f40;cursor:pointer;isolation:isolate}
.cp-gallery .cp-gallery__play img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-1}
.cp-gallery .cp-gallery__play>span{padding:14px 20px;border-radius:999px;background:#063f40;color:#fff;box-shadow:0 4px 20px #0003;font-size:16px;font-weight:700}
.cp-gallery .cp-gallery__thumb-type{position:absolute;right:4px;bottom:4px;padding:2px 4px;min-width:22px;border-radius:4px;background:#063f40;color:#fff;font:700 11px/1.4 Arial,sans-serif}
.cp-gallery__dialog{position:fixed;inset:0;margin:auto;width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:16px;border:1px solid #a8bfb7;border-radius:18px;background:#f8f9f5!important;color:#063f40!important;box-shadow:0 18px 90px #0006;overflow:auto;overscroll-behavior:contain}
.cp-gallery__dialog::backdrop{background:rgba(0,18,17,.84)}
.cp-gallery__dialog:not([open]){display:none!important}
.cp-gallery__dialog[open]{display:block!important}
.cp-gallery__dialog-head,.cp-gallery__dialog-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cp-gallery__dialog button{min-width:44px;min-height:44px;padding:10px 16px;border-radius:100px;border:1px solid #a8bfb7!important;background:#fff!important;color:#063f40!important;font:700 14px/1.4 Arial,sans-serif;cursor:pointer;white-space:normal}
.cp-gallery__dialog-head{font-size:14px;font-weight:700}
.cp-gallery__zoom-stage{display:grid;place-items:center;width:100%;min-height:160px;height:min(68vh,800px);height:min(68dvh,800px);overflow:auto;background:#fff;border-radius:12px;margin:12px 0}
.cp-gallery__zoom-stage img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;touch-action:pan-x pan-y pinch-zoom}
.cp-gallery__dialog p{margin:10px 0;color:#234943!important;font-size:14px;line-height:1.5}
.cp-gallery__dialog-nav{padding-top:4px;justify-content:center}
@media(max-width:749px){
 .cp-gallery .cp-product__thumbs button{flex-basis:64px;min-width:64px;min-height:64px;width:64px;height:64px}
 .cp-gallery .cp-gallery__zoom{left:8px;bottom:8px;font-size:12px}
 .cp-gallery .cp-product__gallery-count{bottom:12px;right:10px}
 .cp-gallery__dialog{padding:12px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
 .cp-gallery__zoom-stage{height:60vh;height:60dvh}
 .cp-gallery__dialog-nav button{flex:1;padding-inline:8px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.cp-gallery .cp-product__slide,.cp-gallery button{transition:none!important;scroll-behavior:auto!important}}
@media print{.cp-gallery__dialog,.cp-gallery .cp-product__gallery-arrow,.cp-gallery .cp-gallery__zoom,.cp-gallery .cp-product__gallery-count,.cp-gallery .cp-gallery__hint{display:none!important}}
