/* Han Mobil 3.0.8 — button contrast polish for dark button backgrounds. */

/* Product card primary buttons: when the button background is dark, keep the text/icons light. */
body.hanspot-theme .hanspot-product-actions .hanspot-card-cart,
body.hanspot-theme .woocommerce ul.products li.product .hanspot-product-actions .hanspot-card-cart,
body.hanspot-theme .woocommerce .related.products .hanspot-product-actions .hanspot-card-cart,
body.hanspot-theme .woocommerce .up-sells.products .hanspot-product-actions .hanspot-card-cart,
body.hanspot-theme .woocommerce .cross-sells .hanspot-product-actions .hanspot-card-cart{
  color:#ffffff!important;
}
body.hanspot-theme .hanspot-product-actions .hanspot-card-cart :is(span,i,svg,path),
body.hanspot-theme .woocommerce ul.products li.product .hanspot-product-actions .hanspot-card-cart :is(span,i,svg,path),
body.hanspot-theme .woocommerce .related.products .hanspot-product-actions .hanspot-card-cart :is(span,i,svg,path),
body.hanspot-theme .woocommerce .up-sells.products .hanspot-product-actions .hanspot-card-cart :is(span,i,svg,path),
body.hanspot-theme .woocommerce .cross-sells .hanspot-product-actions .hanspot-card-cart :is(span,i,svg,path){
  color:#ffffff!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}

/* General primary WooCommerce buttons that use darker brand backgrounds should keep readable light copy. */
body.hanspot-theme .woocommerce :is(.single_add_to_cart_button,.checkout-button,.wc-forward,button[name="apply_coupon"],button[name="update_cart"],button[name="woocommerce_checkout_place_order"],.hanspot-review-submit,.hanmob-filter-submit):not(.alt):not(.hanspot-card-whatsapp){
  color:#ffffff!important;
}
body.hanspot-theme .woocommerce :is(.single_add_to_cart_button,.checkout-button,.wc-forward,button[name="apply_coupon"],button[name="update_cart"],button[name="woocommerce_checkout_place_order"],.hanspot-review-submit,.hanmob-filter-submit):not(.alt):not(.hanspot-card-whatsapp) :is(span,i,svg,path){
  color:#ffffff!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}

/* Keep intentionally light/outline secondary buttons dark for contrast. */
body.hanspot-theme .woocommerce :is(a.button.alt,input.button.alt,button.button.alt,.hanspot-card-whatsapp,.hanspot-account-welcome>a,.hanmob-auth-secondary,.reset_variations){
  color:var(--hm240-text,#172019)!important;
}
body.hanspot-theme .woocommerce :is(a.button.alt,input.button.alt,button.button.alt,.hanspot-card-whatsapp,.hanspot-account-welcome>a,.hanmob-auth-secondary,.reset_variations) :is(span,i,svg,path){
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}

/* Defensive fallback for theme buttons using the dark slate shade seen in carts/related products. */
body.hanspot-theme :is(a.button,button.button,input.button,.hanspot-product-actions a)[style*="background"]{
  text-shadow:none!important;
}
