/* P3 pilot: preserve page columns; reserve a stable image frame without cropping. */
body.a2-p6f-product .qodef-woo-single-image {min-width:0;max-width:100%;}
body.a2-p6f-product .rtwpvg-images {width:100%;max-width:100%;}
body.a2-p6f-product .rtwpvg-container,
body.a2-p6f-product .rtwpvg-slider-wrapper {min-width:0;max-width:100%;width:100%;}
body.a2-p6f-product .rtwpvg-slider {aspect-ratio:4/5;height:auto!important;background:#fff;overflow:hidden;touch-action:pan-y;}
body.a2-p6f-product .rtwpvg-slider>.swiper-wrapper {height:100%!important;}
/* Qi Blocks registers Swiper 5 under the shared handle; RadiusTheme expects v8's class. */
body.a2-p6f-product .a2-gallery .rtwpvg-slider.swiper-container-initialized .rtwpvg-gallery-image {display:block!important;}
body.a2-p6f-product .rtwpvg-slider .rtwpvg-gallery-image,
body.a2-p6f-product .rtwpvg-slider .rtwpvg-single-image-container {height:100%;}
body.a2-p6f-product .rtwpvg-slider .rtwpvg-single-image-container img {width:100%;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;}
.a2-gallery .rtwpvg-slider-wrapper {position:relative;}
.a2-gallery button.a2-gallery-arrow {position:absolute;top:50%;transform:translateY(-50%);z-index:4;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #e3e0da;border-radius:50%;background:rgba(255,255,255,.92);color:#252520;cursor:pointer;box-shadow:none;transition:background .15s,opacity .15s;}
.a2-gallery button.a2-gallery-arrow:hover {background:#fff;}
.a2-gallery .a2-gallery-prev {left:12px;}
.a2-gallery .a2-gallery-next {right:12px;}
.a2-gallery button.a2-gallery-arrow:disabled {opacity:.25;cursor:default;}
.a2-gallery button.a2-gallery-arrow[hidden] {display:none;}
.a2-gallery .a2-gallery-count {position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:3;font-size:11px;letter-spacing:.05em;line-height:1.4;background:rgba(255,255,255,.9);padding:5px 9px;white-space:nowrap;pointer-events:none;}
body.a2-p6f-product .a2-gallery .rtwpvg-thumbnail-wrapper {margin-top:14px;}
body.a2-p6f-product .a2-gallery .rtwpvg-thumbnail-slider {overflow-x:auto!important;overflow-y:hidden!important;width:100%;padding:3px 0 8px;scrollbar-width:thin;scrollbar-color:#c9c5bd transparent;}
body.a2-p6f-product .a2-gallery .rtwpvg-thumbnail-slider>.swiper-wrapper {display:flex!important;flex-wrap:nowrap!important;gap:8px;width:max-content!important;transform:none!important;}
body.a2-p6f-product .a2-gallery .rtwpvg-thumbnail-image {flex:0 0 66px!important;width:66px!important;height:76px;max-width:none!important;padding:3px!important;margin:0!important;box-sizing:border-box;border:1px solid transparent;opacity:.65;cursor:pointer;}
body.a2-p6f-product .a2-gallery .rtwpvg-thumbnail-image img {display:block;width:100%;height:100%;object-fit:contain;}
body.a2-p6f-product .a2-gallery .rtwpvg-thumbnail-image[aria-current="true"] {border-color:#292923;opacity:1;}
.a2-gallery .rtwpvg-thumbnail-prev-arrow,.a2-gallery .rtwpvg-thumbnail-next-arrow {display:none!important;}
.a2-gallery .rtwpvg-trigger {width:44px!important;height:44px!important;display:grid!important;place-items:center;top:10px!important;right:10px!important;}
.a2-gallery :focus-visible {outline:2px solid #272722!important;outline-offset:3px;}
body.a2-p6f-product .pswp__button:focus-visible {outline:2px solid #fff;outline-offset:-4px;}
@media(max-width:680px){.a2-gallery .a2-gallery-prev{left:8px}.a2-gallery .a2-gallery-next{right:8px}.a2-gallery .a2-gallery-count{bottom:8px}}
@media(prefers-reduced-motion:reduce){.a2-gallery *{transition-duration:0s!important;scroll-behavior:auto!important;}}
