/* Han Mobil 3.0.7 — hidden gallery scrollbars + single mobile WhatsApp action. */

/* Gallery thumbnail rows remain swipe/trackpad scrollable, but no scrollbar is drawn. */
body.hanspot-theme .hanmob-native-gallery__thumbs,
body.hanspot-theme .hanspot-product-gallery .flex-control-thumbs,
body.hanspot-theme .woocommerce-product-gallery .flex-control-thumbs{
  -ms-overflow-style:none!important;
  scrollbar-width:none!important;
}
body.hanspot-theme .hanmob-native-gallery__thumbs::-webkit-scrollbar,
body.hanspot-theme .hanspot-product-gallery .flex-control-thumbs::-webkit-scrollbar,
body.hanspot-theme .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
  background:transparent!important;
}

/* Avoid accidental inner scrollbars in the gallery frame itself. */
body.hanspot-theme .hanmob-native-gallery,
body.hanspot-theme .hanmob-native-gallery__stage,
body.hanspot-theme .hanmob-native-gallery__main,
body.hanspot-theme .hanspot-product-gallery,
body.hanspot-theme .woocommerce-product-gallery{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
body.hanspot-theme .hanmob-native-gallery::-webkit-scrollbar,
body.hanspot-theme .hanmob-native-gallery__stage::-webkit-scrollbar,
body.hanspot-theme .hanmob-native-gallery__main::-webkit-scrollbar,
body.hanspot-theme .hanspot-product-gallery::-webkit-scrollbar,
body.hanspot-theme .woocommerce-product-gallery::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

/* There is now one real text label per product WhatsApp button. */
body.hanspot-theme .hanspot-single-actions .hanmob-wa-label,
body.hanspot-theme .hanspot-variation-cart-row .hanmob-wa-label{
  display:inline!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Defensive rule: if stale/cached old markup contains a second WhatsApp button,
   JS removes it; keep any transient duplicate invisible on mobile meanwhile. */
@media(max-width:767px){
  body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp.hanmob-wa-duplicate{
    display:none!important;
  }
}
