/**
 * Location: /assets/css/stm-single-product-domain-safe.css
 * Purpose:
 * - Final domain-safe single-product CSS layer for SuntechMall VPro.
 * - Removes tablet/mobile breadcrumb gap, fixes desktop breadcrumb spacing, prevents first-paint gallery image bloat, and keeps product media selection stable on all devices.
 * - v1.0.63 constrains the product shell to 1320px, keeps an exact 15px sidebar/content gap, and preserves single-line desktop CTA labels.
 * - Loaded after other single-product styles from /inc/features/woocommerce/single-product.php.
 * Related JS: /assets/js/stm-single-product-domain-safe.js
 *
 * @package SuntechMallVPro
 */

body.single-product.woocommerce{
  overflow-x:hidden!important;
}

body.single-product.woocommerce #stm-content.stm-woo-wrap.stm-container{
  box-sizing:border-box!important;
  width:calc(100% - 32px)!important;
  max-width:1320px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.single-product.woocommerce #stm-single-product,
body.single-product.woocommerce .stm-single-product-v1,
body.single-product.woocommerce .stm-sp__wrap,
body.single-product.woocommerce .stm-sp__grid,
body.single-product.woocommerce .stm-sp__below,
body.single-product.woocommerce .stm-layout__content{
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
}


/* ======================================================
   Desktop browser-zoom balance (final cascade safety)
====================================================== */
@media (min-width:1300px){
  body.single-product.woocommerce .stm-layout--left{
    grid-template-columns:var(--stm-sidebar-width, 280px) minmax(0, 1fr)!important;
    gap:15px!important;
  }

  body.single-product.woocommerce .stm-layout--left > aside.stm-sidebar--product{
    display:block!important;
    width:var(--stm-sidebar-width, 280px)!important;
    max-width:var(--stm-sidebar-width, 280px)!important;
  }
}

@media (min-width:992px) and (max-width:1299px){
  body.single-product.woocommerce .stm-layout--left{
    grid-template-columns:minmax(0, 1fr)!important;
    gap:0!important;
  }

  body.single-product.woocommerce .stm-layout--left > aside.stm-sidebar--product{
    display:none!important;
  }
}

@media (min-width:981px){
  body.single-product.woocommerce .stm-sp__grid{
    display:grid!important;
    grid-template-columns:minmax(0, 2fr) minmax(0, 3fr)!important;
    gap:15px!important;
    width:100%!important;
    align-items:start!important;
  }

  body.single-product.woocommerce .stm-sp__media,
  body.single-product.woocommerce .stm-sp__summary,
  body.single-product.woocommerce .stm-sp__summary-inner,
  body.single-product.woocommerce .stm-sp-summary__bar,
  body.single-product.woocommerce .stm-sp-summary__cart,
  body.single-product.woocommerce .stm-sp-summary__cta,
  body.single-product.woocommerce .stm-sp-summary__cta-row,
  body.single-product.woocommerce .stm-sp-summary__cta-actions{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  body.single-product.woocommerce .stm-sp__media,
  body.single-product.woocommerce .stm-sp__summary,
  body.single-product.woocommerce .stm-sp__summary-inner{
    width:100%!important;
  }

  body.single-product.woocommerce .stm-sp__wrap{
    padding-left:0!important;
    padding-right:0!important;
  }

  body.single-product.woocommerce .stm-sp-summary__cta-row{
    display:grid!important;
    grid-template-columns:100px minmax(0, 1fr)!important;
    gap:10px!important;
    width:100%!important;
    align-items:stretch!important;
  }

  body.single-product.woocommerce .stm-sp-summary__cta-qtyrow,
  body.single-product.woocommerce .stm-sp-summary__cta-row .quantity{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }

  body.single-product.woocommerce .stm-sp-summary__cta-actions{
    display:grid!important;
    grid-template-columns:repeat(auto-fit, minmax(130px, 1fr))!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  body.single-product.woocommerce .stm-sp-summary__cta-extra{
    display:contents!important;
  }

  body.single-product.woocommerce .stm-sp-summary__cta-actions button.single_add_to_cart_button,
  body.single-product.woocommerce .stm-sp-summary__cta-actions a.stm-sp-summary__btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    padding-left:10px!important;
    padding-right:10px!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    box-sizing:border-box!important;
  }
}

@media (min-width:1025px){
  body.single-product.woocommerce .stm-layout__top.stm-single-product-top{
    display:block!important;
    height:auto!important;
    margin:0 0 14px!important;
    padding:0!important;
    overflow:visible!important;
  }
  body.single-product.woocommerce .stm-sp-breadcrumbs.woocommerce-breadcrumb{
    display:flex!important;
  }
}

@media (max-width:1024px){
  body.single-product.woocommerce .stm-layout__top.stm-single-product-top,
  body.single-product.woocommerce .stm-single-product-top,
  body.single-product.woocommerce .stm-sp-breadcrumbs.woocommerce-breadcrumb,
  body.single-product.woocommerce nav.woocommerce-breadcrumb,
  body.single-product.woocommerce .woocommerce-breadcrumb,
  body.single-product.woocommerce .stm-sp-breadcrumbs,
  body.single-product.woocommerce .stm-single-product-breadcrumbs{
    display:none!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }
}

body.single-product.woocommerce .stm-sp__media{
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:18px!important;
  border:1px solid #eeeeee!important;
  border-radius:18px!important;
  background:#ffffff!important;
  overflow:hidden!important;
  isolation:isolate!important;
}

body.single-product.woocommerce .stm-sp__media div.images.woocommerce-product-gallery,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery{
  float:none!important;
  clear:none!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  visibility:visible!important;
  box-sizing:border-box!important;
  position:relative!important;
}

body.single-product.woocommerce .stm-sp__media .flex-viewport,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__wrapper{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #eeeeee!important;
  border-radius:14px!important;
  background:#fafafa!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
  transition:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__wrapper{
  height:auto!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready .woocommerce-product-gallery__image{
  display:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:none!important;
  filter:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery:not(.stm-gallery-stable-ready) .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready .woocommerce-product-gallery__image.stm-gallery-slide-active,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready .woocommerce-product-gallery__image.flex-active-slide{
  display:block!important;
  position:relative!important;
  left:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__image.clone,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__image.flex-clone{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__image > a,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__image a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  aspect-ratio:1 / 1!important;
  background:#fafafa!important;
  cursor:zoom-in!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__image img,
body.single-product.woocommerce .stm-sp__media img.wp-post-image{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  background:#fafafa!important;
  border:0!important;
  border-radius:0!important;
  opacity:1!important;
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  transform:none!important;
  image-rendering:auto!important;
  box-shadow:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__trigger{
  left:auto!important;
  right:12px!important;
  top:12px!important;
  z-index:80!important;
  pointer-events:auto!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > .stm-gallery-hidden-top-thumbs,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > ol.flex-control-nav:first-of-type:not(:last-of-type),
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > ul.flex-control-nav:first-of-type:not(:last-of-type),
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > .flex-control-nav:has(+ .flex-viewport),
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > .flex-control-nav:has(+ .woocommerce-product-gallery__wrapper),
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > .woocommerce-product-gallery__trigger + .flex-control-nav{
  display:none!important;
  width:0!important;
  height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > .stm-gallery-visible-thumbs{
  display:flex!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

body.single-product.woocommerce .stm-sp__media .flex-control-nav,
body.single-product.woocommerce .stm-sp__media ol.flex-control-nav,
body.single-product.woocommerce .stm-sp__media ul.flex-control-nav,
body.single-product.woocommerce .stm-sp__media .flex-control-thumbs{
  position:relative!important;
  z-index:60!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:12px 0 0!important;
  padding:0!important;
  list-style:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y pinch-zoom!important;
  scrollbar-width:none!important;
  pointer-events:auto!important;
  box-sizing:border-box!important;
}

body.single-product.woocommerce .stm-sp__media .flex-control-nav::-webkit-scrollbar,
body.single-product.woocommerce .stm-sp__media .flex-control-thumbs::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}

body.single-product.woocommerce .stm-sp__media .flex-control-nav li,
body.single-product.woocommerce .stm-sp__media .flex-control-thumbs li{
  float:none!important;
  clear:none!important;
  display:block!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  pointer-events:auto!important;
}

body.single-product.woocommerce .stm-sp__media .flex-control-nav img,
body.single-product.woocommerce .stm-sp__media .flex-control-thumbs img{
  display:block!important;
  width:64px!important;
  height:64px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:6px!important;
  border:1px solid #e5e7eb!important;
  border-radius:12px!important;
  background:#ffffff!important;
  opacity:.86!important;
  filter:none!important;
  -webkit-filter:none!important;
  transform:none!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  box-sizing:border-box!important;
}

body.single-product.woocommerce .stm-sp__media .flex-control-nav img.flex-active,
body.single-product.woocommerce .stm-sp__media .flex-control-nav img.stm-gallery-thumb-active,
body.single-product.woocommerce .stm-sp__media .flex-control-nav img:hover,
body.single-product.woocommerce .stm-sp__media .flex-control-thumbs img.flex-active,
body.single-product.woocommerce .stm-sp__media .flex-control-thumbs img.stm-gallery-thumb-active,
body.single-product.woocommerce .stm-sp__media .flex-control-thumbs img:hover{
  opacity:1!important;
  border-color:#111827!important;
}

body.single-product.woocommerce .stm-sp__media-click,
body.single-product.woocommerce .stm-sp__media .stm-gallery-selected-render{
  display:none!important;
  pointer-events:none!important;
  visibility:hidden!important;
}

body.single-product.woocommerce .stm-sp__media > .onsale:not(.stm-sp-sale-badge),
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > .onsale,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery .onsale:not(.stm-sp-sale-badge){
  display:none!important;
}

body.single-product.woocommerce .stm-sp__media > .stm-sp-sale-badge,
body.single-product.woocommerce .stm-sp__media span.onsale.stm-sp-sale-badge{
  position:absolute!important;
  top:12px!important;
  left:12px!important;
  right:auto!important;
  bottom:auto!important;
  z-index:90!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:calc(100% - 24px)!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:7px 11px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#dc2626 0%,#f97316 100%)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(220,38,38,.24)!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
  transform:none!important;
  opacity:1!important;
  pointer-events:none!important;
}

body.single-product.woocommerce .stm-sp__media > .stm-sp-sale-badge span{
  display:block!important;
  color:inherit!important;
  line-height:1!important;
}

body.single-product.woocommerce .stm-sp-summary__price .price del,
body.single-product.woocommerce .stm-sp-summary__price .price del .amount,
body.single-product.woocommerce .stm-sp-summary .woocommerce-variation-price .price del,
body.single-product.woocommerce .stm-sp-summary .woocommerce-variation-price .price del .amount{
  color:#dc2626!important;
  opacity:.92!important;
  font-size:clamp(20px, 5.2vw, 29px)!important;
  line-height:1.05!important;
  font-weight:800!important;
}

body.single-product.woocommerce .stm-sp-summary__price .price ins,
body.single-product.woocommerce .stm-sp-summary .woocommerce-variation-price .price ins{
  color:inherit!important;
  text-decoration:none!important;
}

@media (min-width:981px){
  body.single-product.woocommerce .stm-sp-summary__price .price del,
  body.single-product.woocommerce .stm-sp-summary__price .price del .amount{
    font-size:31px!important;
  }
}

@media (max-width:1024px){
  body.single-product.woocommerce .stm-sp__media{
    padding:10px!important;
    border-radius:16px!important;
  }
  body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery__wrapper,
  body.single-product.woocommerce .stm-sp__media .flex-viewport{
    border-radius:14px!important;
  }
  body.single-product.woocommerce .stm-sp__below,
  body.single-product.woocommerce .stm-sp-upsells,
  body.single-product.woocommerce .up-sells.upsells,
  body.single-product.woocommerce .related.products{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  body.single-product.woocommerce .stm-sp-upsells ul.products,
  body.single-product.woocommerce .up-sells.upsells ul.products,
  body.single-product.woocommerce .related.products ul.products,
  body.single-product.woocommerce .stm-sp-upsells .products,
  body.single-product.woocommerce .up-sells.upsells .products,
  body.single-product.woocommerce .related.products .products{
    float:none!important;
    clear:both!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    grid-template-columns:none!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:4px 2px 16px!important;
    list-style:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x proximity!important;
    touch-action:pan-x pan-y pinch-zoom!important;
    scrollbar-width:none!important;
    box-sizing:border-box!important;
  }
  body.single-product.woocommerce .stm-sp-upsells ul.products > li.product,
  body.single-product.woocommerce .up-sells.upsells ul.products > li.product,
  body.single-product.woocommerce .related.products ul.products > li.product,
  body.single-product.woocommerce .stm-sp-upsells .products > li.product,
  body.single-product.woocommerce .up-sells.upsells .products > li.product,
  body.single-product.woocommerce .related.products .products > li.product{
    float:none!important;
    clear:none!important;
    display:block!important;
    flex:0 0 calc((100% - 28px) / 2.5)!important;
    width:calc((100% - 28px) / 2.5)!important;
    min-width:calc((100% - 28px) / 2.5)!important;
    max-width:calc((100% - 28px) / 2.5)!important;
    margin:0!important;
    padding:0!important;
    scroll-snap-align:start!important;
    box-sizing:border-box!important;
  }
}

@media (max-width:640px){
  body.single-product.woocommerce .stm-sp__media .flex-control-nav img,
  body.single-product.woocommerce .stm-sp__media .flex-control-thumbs img{
    width:58px!important;
    height:58px!important;
  }
  body.single-product.woocommerce .stm-sp__media > .stm-sp-sale-badge{
    top:10px!important;
    left:10px!important;
    padding:6px 10px!important;
    font-size:10px!important;
  }
  body.single-product.woocommerce .stm-sp-upsells ul.products,
  body.single-product.woocommerce .up-sells.upsells ul.products,
  body.single-product.woocommerce .related.products ul.products,
  body.single-product.woocommerce .stm-sp-upsells .products,
  body.single-product.woocommerce .up-sells.upsells .products,
  body.single-product.woocommerce .related.products .products{
    gap:12px!important;
  }
  body.single-product.woocommerce .stm-sp-upsells ul.products > li.product,
  body.single-product.woocommerce .up-sells.upsells ul.products > li.product,
  body.single-product.woocommerce .related.products ul.products > li.product,
  body.single-product.woocommerce .stm-sp-upsells .products > li.product,
  body.single-product.woocommerce .up-sells.upsells .products > li.product,
  body.single-product.woocommerce .related.products .products > li.product{
    flex:0 0 calc((100% - 12px) / 1.5)!important;
    width:calc((100% - 12px) / 1.5)!important;
    min-width:calc((100% - 12px) / 1.5)!important;
    max-width:calc((100% - 12px) / 1.5)!important;
  }
}

@media (max-width:1024px){
  body.single-product.woocommerce .woocommerce-tabs .panel,
  body.single-product.woocommerce .woocommerce-tabs .woocommerce-Tabs-panel{
    padding:15px 15px 17px!important;
  }
  body.single-product.woocommerce .woocommerce-tabs .panel,
  body.single-product.woocommerce .woocommerce-tabs .panel p,
  body.single-product.woocommerce .woocommerce-tabs .panel li,
  body.single-product.woocommerce .woocommerce-tabs .panel td,
  body.single-product.woocommerce .woocommerce-tabs .panel th,
  body.single-product.woocommerce .woocommerce-tabs .woocommerce-Tabs-panel,
  body.single-product.woocommerce .woocommerce-tabs .woocommerce-Tabs-panel p,
  body.single-product.woocommerce .woocommerce-tabs .woocommerce-Tabs-panel li,
  body.single-product.woocommerce .woocommerce-tabs .woocommerce-Tabs-panel td,
  body.single-product.woocommerce .woocommerce-tabs .woocommerce-Tabs-panel th{
    font-size:14px!important;
    line-height:1.58!important;
    letter-spacing:.003em!important;
    color:#111827!important;
  }
}

/* =====================================================
   v1.0.58 — Stable single media display
   Purpose: Woo native gallery slides remain as data only after JS is ready.
   This prevents mobile/tablet thumbnail selection from collapsing the media area.
===================================================== */
@media (min-width:1025px){
  body.single-product.woocommerce .stm-layout__top.stm-single-product-top{
    margin:14px 0 16px!important;
    padding-top:4px!important;
  }
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery > .stm-gallery-main-display{
  position:relative!important;
  z-index:20!important;
  display:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #eeeeee!important;
  border-radius:14px!important;
  background:#fafafa!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  cursor:zoom-in!important;
  -webkit-tap-highlight-color:transparent!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready > .stm-gallery-main-display{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}

body.single-product.woocommerce .stm-sp__media .stm-gallery-main-display__link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  aspect-ratio:1 / 1!important;
  margin:0!important;
  padding:0!important;
  background:#fafafa!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  text-decoration:none!important;
  cursor:zoom-in!important;
}

body.single-product.woocommerce .stm-sp__media .stm-gallery-main-display__img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fafafa!important;
  border:0!important;
  border-radius:0!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  -webkit-filter:none!important;
  transform:none!important;
  image-rendering:auto!important;
  box-shadow:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready > .flex-viewport,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready > .woocommerce-product-gallery__wrapper{
  display:none!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:0!important;
  overflow:hidden!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready > .stm-gallery-visible-thumbs,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready > .flex-control-nav,
body.single-product.woocommerce .stm-sp__media .woocommerce-product-gallery.stm-gallery-stable-ready > .flex-control-thumbs{
  position:relative!important;
  z-index:30!important;
  display:flex!important;
  margin-top:12px!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
