#wpgs-gallery.rv-gallery{width:100%;max-width:var(--rv-max,var(--rv-gallery-width,50%));align-self:flex-start;position:relative}
#wpgs-gallery.rv-gallery .wcgs-carousel{width:100%;overflow:hidden}
#wpgs-gallery.rv-gallery .swiper-wrapper{align-items:flex-start}
#wpgs-gallery.rv-gallery .swiper-slide{height:auto;flex-shrink:0;width:100%}
#wpgs-gallery.rv-gallery .rv-media{position:relative;aspect-ratio:2/3;width:100%;overflow:hidden;background:#f4f2ef}
#wpgs-gallery.rv-gallery .rv-open{display:block;position:absolute;inset:0;width:100%;height:100%;cursor:zoom-in}
#wpgs-gallery.rv-gallery .rv-media img,#wpgs-gallery.rv-gallery .rv-media video{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:contain}
#wpgs-gallery.rv-gallery .rv-media video{object-fit:cover;pointer-events:none;z-index:1}
#wpgs-gallery.rv-gallery .rv-media .rv-first-frame{object-fit:cover}
#wpgs-gallery.rv-gallery .rv-poster{z-index:2;opacity:1;pointer-events:none;background:#f4f2ef}
#wpgs-gallery.rv-gallery[data-rv-ready="1"] .rv-poster{opacity:0}
#wpgs-gallery.rv-gallery .rv-thumbs{display:flex;gap:6px;overflow-x:auto;padding:8px 0 2px;scrollbar-width:thin}
#wpgs-gallery.rv-gallery .rv-thumbs[hidden]{display:none}
#wpgs-gallery.rv-gallery .rv-thumb{box-sizing:border-box;position:relative;flex:0 0 60px;width:60px;height:64px;padding:0;background:transparent;border:2px solid transparent;cursor:pointer}
#wpgs-gallery.rv-gallery .rv-thumb[aria-current=true]{border-color:#332f29}
#wpgs-gallery.rv-gallery .rv-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#wpgs-gallery.rv-gallery .rv-video-thumb span{position:absolute;inset:0;display:grid;place-items:center;font-size:18px;color:white;text-shadow:0 1px 4px #000;background:#0003}
/* Use WCGS navigation appearance; reset only native button chrome. */
#wpgs-gallery.rv-gallery .rv-prev,#wpgs-gallery.rv-gallery .rv-next{padding:0;border:0;border-radius:0!important;box-shadow:none;appearance:none;line-height:24px;font-weight:400;font-style:normal;letter-spacing:normal;text-transform:none}
#wpgs-gallery.rv-gallery a:focus-visible,#wpgs-gallery.rv-gallery button:focus-visible{outline:3px solid #237c92;outline-offset:-3px}
.rv-gallery-lightbox video{object-fit:contain;max-height:90vh}
@media(max-width:767px){#wpgs-gallery.rv-gallery{max-width:var(--rv-mobile,720px)}}
@media(max-width:479px){#wpgs-gallery.rv-gallery{max-width:var(--rv-phone,480px)}}
/* Keep navigation visible on mobile, as requested; preserve Swiper lock state. */
@media(max-width:680px){#wpgs-gallery.rv-gallery .wcgs-carousel .wcgs-swiper-arrow:not(.swiper-button-lock){display:flex}}

/* Follow the finger directly; smoothly decelerate only after release. */
#wpgs-gallery.rv-gallery .swiper-wrapper{transition-timing-function:cubic-bezier(.25,.65,.35,1)}

/* Show the first server-rendered frame even before Swiper loads; override old UsedCSS. */
#wpgs-gallery.rv-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel:not(.swiper-initialized){display:block;visibility:visible}
/* Original accepted arrow glyphs, independent of WCGS files/settings. */
@font-face{font-family:rv-gallery-arrows;src:url(vendor-20261003/fontello.woff) format('woff');font-weight:400;font-style:normal;font-display:swap}
#wpgs-gallery.rv-gallery{display:flex;flex-direction:column}
#wpgs-gallery.rv-gallery .wcgs-carousel{position:relative;display:block;visibility:visible}
#wpgs-gallery.rv-gallery .wcgs-slider-image{display:block;min-width:100%}
#wpgs-gallery.rv-gallery .wcgs-swiper-arrow{position:absolute;top:50%;margin-top:-19px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;min-height:38px;z-index:9;background:rgba(0,0,0,.5);color:#fff;font-family:rv-gallery-arrows;font-size:16px;cursor:pointer;transition:background-color .5s}
#wpgs-gallery.rv-gallery .rv-prev{left:0;right:auto}
#wpgs-gallery.rv-gallery .rv-next{right:0;left:auto}
#wpgs-gallery.rv-gallery .rv-prev:before{content:"\f104";display:contents}
#wpgs-gallery.rv-gallery .rv-next:before{content:"\f105";display:contents}
#wpgs-gallery.rv-gallery .wcgs-swiper-arrow:hover{background:rgba(0,0,0,.85)}
#wpgs-gallery.rv-gallery .wcgs-swiper-arrow.swiper-button-lock{display:none}
@media(min-width:768px){#wpgs-gallery.rv-gallery{margin-right:30px}}


/* Byanca layout previously supplied by WCGS custom CSS; scoped to this renderer. */
body.rv-gallery-active .qodef-single-product-content > .qodef-grid{display:flex!important;justify-content:flex-end!important}
body.rv-gallery-active .qodef-single-product-content #wpgs-gallery.rv-gallery + .summary{overflow:hidden;min-width:120px}
#wpgs-gallery.rv-gallery{margin-bottom:4px}
.rv-gallery-lightbox{z-index:999999992!important}
@media(max-width:680px){body.rv-gallery-active .qodef-single-product-content{display:flex;flex-direction:column}body.rv-gallery-active .qodef-single-product-content > .qodef-grid{flex-direction:column;width:100%!important}.rv-gallery-lightbox .fancybox-image,.rv-gallery-lightbox .fancybox-spaceball{top:17px!important}}

/* Prevent the theme capsule radius from deforming lightbox arrow backgrounds. */
.rv-gallery-lightbox .fancybox-navigation .fancybox-button{border-radius:0!important;-webkit-appearance:none;appearance:none}
