
.single-product .woocommerce-product-gallery{opacity:1!important;position:relative;padding:0;background:transparent!important;box-shadow:none!important}
.single-product .woocommerce-product-gallery .flex-viewport{border-radius:20px;overflow:hidden;background:transparent!important;border:0!important}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image{background:transparent!important}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;background:transparent!important;min-height:520px}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{width:100%!important;height:100%!important;max-height:520px!important;object-fit:contain!important;object-position:center center;background:transparent!important}
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs{display:flex!important;flex-wrap:nowrap!important;gap:10px;overflow-x:auto;overflow-y:hidden;margin:8px 0 0!important;padding:2px 2px 4px!important;list-style:none;scrollbar-width:thin}
.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li{float:none!important;width:82px!important;min-width:82px!important;height:82px!important;margin:0!important;border:1px solid rgba(15,23,42,.08);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 18px rgba(15,23,42,.04);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li:hover{transform:translateY(-2px);border-color:rgba(17,24,39,.2);box-shadow:0 12px 24px rgba(15,23,42,.08)}
.single-product .woocommerce-product-gallery .flex-control-thumbs img,
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center;background:transparent!important;padding:4px!important;opacity:1!important}
.single-product .woocommerce-product-gallery .flex-control-thumbs .flex-active,
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs .flex-active{outline:none!important}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:has(.flex-active),
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li:has(.flex-active){border-color:#111827;box-shadow:0 0 0 2px #111827 inset,0 10px 22px rgba(17,24,39,.10)}
.single-product .woocommerce-product-gallery__trigger,
.single-product .qodef-woo-thumbnails-wrapper,
.single-product .zoomImg{display:none!important}

.single-product .spexsy-premium-zoom-btn{position:absolute;top:18px;right:18px;z-index:30;width:48px;height:48px;border:0;border-radius:16px;background:rgba(17,24,39,.92);box-shadow:0 12px 30px rgba(17,24,39,.18);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}
.single-product .spexsy-premium-zoom-btn:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(17,24,39,.24)}
.single-product .spexsy-premium-zoom-btn span,.single-product .spexsy-premium-zoom-btn span:before{position:absolute;left:50%;top:50%;content:""}
.single-product .spexsy-premium-zoom-btn span{width:16px;height:16px;border:2px solid #fff;border-radius:50%;transform:translate(-58%,-58%)}
.single-product .spexsy-premium-zoom-btn span:before{width:10px;height:2px;background:#fff;transform:translate(10px,12px) rotate(45deg);border-radius:2px}

.single-product .spexsy-hover-zoom-lens{position:absolute;z-index:12;width:110px;height:110px;border-radius:24px;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.14);backdrop-filter:blur(8px);box-shadow:0 14px 36px rgba(15,23,42,.14);pointer-events:none;opacity:0;transition:opacity .18s ease}
.single-product .spexsy-hover-zoom-lens.is-active{opacity:1}
.single-product .spexsy-hover-zoom-pane{position:absolute;right:18px;bottom:18px;z-index:14;width:220px;height:220px;border-radius:24px;background-color:#fff;background-repeat:no-repeat;background-size:240%;background-position:center center;border:1px solid rgba(15,23,42,.08);box-shadow:0 20px 48px rgba(15,23,42,.16);pointer-events:none;opacity:0;transition:opacity .18s ease}
.single-product .spexsy-hover-zoom-pane.is-active{opacity:1}

.mfp-bg.spexsy-premium-zoom.mfp-ready{background:#fff!important;opacity:1!important}
.spexsy-premium-zoom.mfp-wrap .mfp-container{padding:28px;background:#fff!important}
.spexsy-premium-zoom .mfp-content,.spexsy-premium-zoom .mfp-figure{background:#fff!important}
.spexsy-premium-zoom .mfp-content{max-width:min(92vw,1200px)}
.spexsy-premium-zoom .mfp-figure:after{display:none!important}
.spexsy-premium-zoom .mfp-img{background:#fff!important;padding:18px;border-radius:24px;box-shadow:0 24px 60px rgba(15,23,42,.10);max-height:84vh!important}
.spexsy-premium-zoom .mfp-bottom-bar,.spexsy-premium-zoom .mfp-counter{color:#111827}
.spexsy-premium-zoom .mfp-arrow,.spexsy-premium-zoom .mfp-arrow:before,.spexsy-premium-zoom .mfp-arrow:after{font-size:0!important;color:transparent!important}
.spexsy-premium-zoom .mfp-arrow{width:56px;height:56px;margin-top:-28px;border-radius:18px;background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.12);opacity:1!important;overflow:hidden;text-indent:-9999px;border:0!important}
.spexsy-premium-zoom .mfp-arrow-left{left:20px}
.spexsy-premium-zoom .mfp-arrow-right{right:20px}
.spexsy-premium-zoom .mfp-arrow::before{content:""!important;position:absolute;left:50%;top:50%;display:block!important;width:12px;height:12px;border-top:2px solid #111827;border-right:2px solid #111827;background:none}
.spexsy-premium-zoom .mfp-arrow-left::before{transform:translate(-35%,-50%) rotate(-135deg)}
.spexsy-premium-zoom .mfp-arrow-right::before{transform:translate(-65%,-50%) rotate(45deg)}
.spexsy-premium-zoom .spexsy-premium-close{top:18px!important;right:18px!important;width:52px;height:52px;line-height:52px!important;border-radius:18px;background:#111827!important;color:#fff!important;opacity:1!important;font-size:30px;text-align:center;box-shadow:0 16px 36px rgba(17,24,39,.22)}

@media (max-width:1024px){
  .single-product .spexsy-hover-zoom-pane{width:180px;height:180px;background-size:230%}
}
@media (max-width:767px){
  .single-product .woocommerce-product-gallery{padding:0;border-radius:0}
  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a{min-height:300px}
  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{max-height:300px!important}
  .single-product .woocommerce-product-gallery .flex-control-thumbs,.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs{gap:8px;margin-top:6px!important}
  .single-product .woocommerce-product-gallery .flex-control-thumbs li,.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li{width:68px!important;min-width:68px!important;height:68px!important;border-radius:14px}
  .single-product .spexsy-premium-zoom-btn{top:12px;right:12px;width:44px;height:44px;border-radius:14px}
  .single-product .spexsy-hover-zoom-lens,.single-product .spexsy-hover-zoom-pane{display:none!important}
  .spexsy-premium-zoom.mfp-wrap .mfp-container{padding:16px}
  .spexsy-premium-zoom .mfp-arrow{width:46px;height:46px;border-radius:14px;margin-top:-23px}
  .spexsy-premium-zoom .spexsy-premium-close{top:12px!important;right:12px!important;width:44px;height:44px;line-height:44px!important;border-radius:14px}
}

.single-product .product .images,
.single-product .woocommerce-product-gallery,
.single-product .elementor-widget-woocommerce-product-images,
.single-product .elementor-widget-woocommerce-product-images .elementor-widget-container{margin-top:0!important;padding-top:0!important}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{margin-top:0!important}
.single-product .woocommerce-product-gallery .flex-viewport{margin-top:0!important}
.single-product .spexsy-hover-zoom-lens{width:88px;height:88px;border-radius:20px;background:rgba(255,255,255,.10)}
.single-product .spexsy-hover-zoom-pane{top:16px;right:16px;bottom:auto;width:170px;height:170px;background-size:260%}
.spexsy-premium-zoom .mfp-arrow{display:block!important;visibility:visible!important}
@media (max-width:1024px){.single-product .spexsy-hover-zoom-pane{width:150px;height:150px;top:12px;right:12px}}

/* v1.0.7 tighter image stage + smaller zoom button + visible arrows */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a{min-height:420px!important;padding:0!important}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{max-height:420px!important}
.single-product .woocommerce-product-gallery .flex-viewport{margin-bottom:0!important}
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs{margin-top:4px!important}
.single-product div.product .woocommerce-product-gallery,
.single-product .elementor-widget-woocommerce-product-images,
.single-product .elementor-widget-woocommerce-product-images .elementor-widget-container{margin-bottom:0!important;padding-bottom:0!important}

.single-product .spexsy-premium-zoom-btn{top:12px;right:12px;width:36px;height:36px;border-radius:12px;box-shadow:0 10px 22px rgba(17,24,39,.14)}
.single-product .spexsy-premium-zoom-btn span{width:12px;height:12px;border-width:1.8px}
.single-product .spexsy-premium-zoom-btn span:before{width:8px;height:1.8px;transform:translate(8px,9px) rotate(45deg)}

.spexsy-premium-zoom .mfp-arrow,
.spexsy-premium-zoom .spexsy-mfp-arrow{display:block!important;visibility:visible!important;opacity:1!important}
.spexsy-premium-zoom .mfp-arrow-left{left:14px!important}
.spexsy-premium-zoom .mfp-arrow-right{right:14px!important}
.spexsy-premium-zoom .mfp-arrow::before,
.spexsy-premium-zoom .spexsy-mfp-arrow::before{content:""!important;position:absolute;left:50%;top:50%;display:block!important;width:12px;height:12px;border-top:2.2px solid #000;border-right:2.2px solid #000;background:none}
.spexsy-premium-zoom .mfp-arrow-left::before,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-left::before{transform:translate(-35%,-50%) rotate(-135deg)}
.spexsy-premium-zoom .mfp-arrow-right::before,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-right::before{transform:translate(-65%,-50%) rotate(45deg)}
.spexsy-premium-zoom .mfp-arrow:after,
.spexsy-premium-zoom .spexsy-mfp-arrow:after{display:none!important}

@media (max-width:767px){
  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a{min-height:260px!important}
  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{max-height:260px!important}
  .single-product .spexsy-premium-zoom-btn{top:10px;right:10px;width:32px;height:32px;border-radius:10px}
  .single-product .spexsy-premium-zoom-btn span{width:10px;height:10px}
  .single-product .spexsy-premium-zoom-btn span:before{width:7px;transform:translate(7px,8px) rotate(45deg)}
}

/* v1.0.8 tighter gallery spacing + better modal nav + mobile polish */
.single-product .woocommerce-product-gallery .flex-viewport{padding-bottom:0!important;margin-bottom:0!important}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{padding-bottom:0!important;margin-bottom:0!important}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image{margin-bottom:0!important}
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs,
.single-product .woocommerce-product-gallery .flex-control-thumbs{padding-top:0!important;margin-top:2px!important;gap:10px!important}
.single-product .woocommerce-product-gallery .flex-control-thumbs li{margin-top:0!important}

.spexsy-premium-zoom .mfp-container{padding-left:54px!important;padding-right:54px!important}
.spexsy-premium-zoom .mfp-content{position:relative}
.spexsy-premium-zoom .mfp-counter{right:34px!important;bottom:28px!important;color:#111827!important;font-weight:700;letter-spacing:.04em}
.spexsy-premium-zoom .mfp-arrow,
.spexsy-premium-zoom .spexsy-mfp-arrow{
  width:52px!important;height:52px!important;border-radius:999px!important;
  background:#fff!important;border:1px solid rgba(17,24,39,.10)!important;
  box-shadow:0 14px 30px rgba(17,24,39,.12)!important;top:50%!important;margin-top:-26px!important;
}
.spexsy-premium-zoom .mfp-arrow-left{left:26px!important}
.spexsy-premium-zoom .mfp-arrow-right{right:26px!important}
.spexsy-premium-zoom .mfp-arrow::before,
.spexsy-premium-zoom .spexsy-mfp-arrow::before{
  width:14px!important;height:14px!important;border-top:2.4px solid #111!important;border-right:2.4px solid #111!important;
}
.spexsy-premium-zoom .mfp-arrow:focus,
.spexsy-premium-zoom .spexsy-mfp-arrow:focus{outline:none!important}
.spexsy-premium-zoom .mfp-arrow:hover,
.spexsy-premium-zoom .spexsy-mfp-arrow:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(17,24,39,.16)!important}

@media (max-width:767px){
  .single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs,
  .single-product .woocommerce-product-gallery .flex-control-thumbs{margin-top:0!important;gap:8px!important}
  .single-product .woocommerce-product-gallery .flex-control-thumbs li{width:68px!important}
  .single-product .woocommerce-product-gallery .flex-control-thumbs img{border-radius:16px!important}
  .spexsy-premium-zoom .mfp-container{padding-left:18px!important;padding-right:18px!important}
  .spexsy-premium-zoom .mfp-arrow,
  .spexsy-premium-zoom .spexsy-mfp-arrow{width:42px!important;height:42px!important;margin-top:-21px!important}
  .spexsy-premium-zoom .mfp-arrow-left{left:10px!important}
  .spexsy-premium-zoom .mfp-arrow-right{right:10px!important}
  .spexsy-premium-zoom .mfp-arrow::before,
  .spexsy-premium-zoom .spexsy-mfp-arrow::before{width:12px!important;height:12px!important}
  .spexsy-premium-zoom .mfp-counter{right:16px!important;bottom:16px!important;font-size:13px!important}
  .single-product .spexsy-premium-zoom-btn{top:10px;right:10px}
}

/* v1.0.9 real gallery modal navigation + tighter stage */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a{
  min-height:0!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:center!important
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{
  max-height:340px!important;width:auto!important;margin:0 auto!important
}
.single-product .woocommerce-product-gallery .flex-viewport{min-height:0!important}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{min-height:0!important}
.single-product .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs,
.single-product .woocommerce-product-gallery .flex-control-thumbs{margin-top:0!important;padding-top:0!important}

.spexsy-premium-zoom .mfp-arrow,
.spexsy-premium-zoom .spexsy-mfp-arrow{color:#111!important;background:#fff!important}
.spexsy-premium-zoom .mfp-arrow::before,
.spexsy-premium-zoom .spexsy-mfp-arrow::before{border-top-color:#111!important;border-right-color:#111!important}
.spexsy-premium-zoom .mfp-arrow-left::before,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-left::before{transform:translate(-30%,-50%) rotate(-135deg)!important}
.spexsy-premium-zoom .mfp-arrow-right::before,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-right::before{transform:translate(-70%,-50%) rotate(45deg)!important}

@media (max-width:767px){
  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{max-height:240px!important}
  .spexsy-premium-zoom .mfp-arrow,
  .spexsy-premium-zoom .spexsy-mfp-arrow{background:#fff!important}
}

/* v1.1.0 centered main image + visible minimal arrows */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a{
  text-align:center!important;justify-content:center!important;align-items:center!important
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{
  display:block!important;margin-left:auto!important;margin-right:auto!important
}

.spexsy-premium-zoom .mfp-arrow::before,
.spexsy-premium-zoom .spexsy-mfp-arrow::before{
  content:""!important;display:block!important;position:absolute!important;left:50%!important;top:50%!important;
  width:12px!important;height:12px!important;border-top:2.2px solid #000!important;border-right:2.2px solid #000!important;
  background:none!important;opacity:1!important;z-index:3!important
}
.spexsy-premium-zoom .mfp-arrow-left::before,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-left::before{
  transform:translate(-30%,-50%) rotate(-135deg)!important
}
.spexsy-premium-zoom .mfp-arrow-right::before,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-right::before{
  transform:translate(-70%,-50%) rotate(45deg)!important
}
.spexsy-premium-zoom .mfp-arrow:after,
.spexsy-premium-zoom .spexsy-mfp-arrow:after{display:none!important}


/* v10d use the exact background-image arrow approach that worked in v14 */
.spexsy-premium-zoom .mfp-arrow,
.spexsy-premium-zoom .spexsy-mfp-arrow{
  width:56px!important;
  height:56px!important;
  margin-top:-28px!important;
  border-radius:18px!important;
  background-color:#fff!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:16px 16px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.12)!important;
  border:0!important;
  opacity:1!important;
  visibility:visible!important;
  display:block!important;
  overflow:hidden!important;
  text-indent:-9999px!important;
  color:transparent!important;
  font-size:0!important;
}
.spexsy-premium-zoom .mfp-arrow-left,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-left{
  left:20px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E")!important;
}
.spexsy-premium-zoom .mfp-arrow-right,
.spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-right{
  right:20px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E")!important;
}
.spexsy-premium-zoom .mfp-arrow::before,
.spexsy-premium-zoom .spexsy-mfp-arrow::before,
.spexsy-premium-zoom .mfp-arrow::after,
.spexsy-premium-zoom .spexsy-mfp-arrow::after{
  display:none!important;
  content:none!important;
}
@media (max-width:767px){
  .spexsy-premium-zoom .mfp-arrow,
  .spexsy-premium-zoom .spexsy-mfp-arrow{
    width:46px!important;
    height:46px!important;
    margin-top:-23px!important;
    border-radius:14px!important;
  }
  .spexsy-premium-zoom .mfp-arrow-left,
  .spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-left{left:10px!important}
  .spexsy-premium-zoom .mfp-arrow-right,
  .spexsy-premium-zoom .spexsy-mfp-arrow.mfp-arrow-right{right:10px!important}
}
