/* Mars 1.4.7 - single product badges + mobile fullscreen image */
.single-product .woocommerce-product-gallery{position:relative}
.single-product .woocommerce-product-gallery > .mars-sale-badge,
.single-product .woocommerce-product-gallery > .mars-product-badge{
  left:14px;
  top:14px;
  z-index:12;
  max-width:calc(100% - 88px);
  padding:6px 9px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:600!important;
  box-shadow:0 8px 18px rgba(15,31,60,.10)!important;
  backdrop-filter:blur(6px);
}
.single-product .woocommerce-product-gallery > .mars-sale-badge{
  background:var(--mars-sale-badge-bg,var(--mars-primary))!important;
  color:var(--mars-sale-badge-color,#fff)!important;
}
.single-product .woocommerce-product-gallery > .mars-product-badge--text{
  background:var(--mars-custom-badge-bg,var(--mars-primary))!important;
  color:var(--mars-custom-badge-color,#fff)!important;
}
.single-product .woocommerce-product-gallery > .mars-product-badge--media{
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  max-width:88px;
}
.single-product .woocommerce-product-gallery > .mars-product-badge--media img{
  display:block;
  width:auto;
  max-width:88px;
  max-height:36px;
  object-fit:contain;
}
@media (max-width:700px){
  .single-product .woocommerce-product-gallery > .mars-sale-badge,
  .single-product .woocommerce-product-gallery > .mars-product-badge{
    left:8px;
    top:8px;
    max-width:calc(100% - 70px);
    padding:5px 8px!important;
    font-size:10px!important;
  }
  .single-product .woocommerce-product-gallery > .mars-product-badge--media,
  .single-product .woocommerce-product-gallery > .mars-product-badge--media img{
    max-width:72px;
    max-height:30px;
  }
  .single-product .mars-mobile-gallery-v2__link,
  .single-product .mars-mobile-gallery-v2__image{cursor:zoom-in}
}
.mars-mobile-image-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(8,16,28,.94);
  padding:20px 14px 28px;
}
.mars-mobile-image-lightbox.is-open{display:flex}
.mars-mobile-image-lightbox__dialog{
  position:relative;
  width:100%;
  max-width:960px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mars-mobile-image-lightbox__img{
  display:block;
  width:100%;
  max-width:100%;
  max-height:88vh;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
}
.mars-mobile-image-lightbox__close{
  position:absolute;
  right:0;
  top:-52px;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.14);
  color:#fff;
  cursor:pointer;
  font-size:17px;
}
@media (min-width:701px){
  .mars-mobile-image-lightbox{display:none!important}
}
@media (max-width:700px){
  .mars-mobile-image-lightbox__img{max-height:82vh;border-radius:10px}
  .mars-mobile-image-lightbox__close{top:-46px;width:38px;height:38px}
}
