/* Sale presentation shared by WooCommerce-backed page widgets. */
:is(.l4d-home-page,.l4d-shop-page,.l4d-product-page,.l4d-wellness-article-page) { --he-sale-red:#b52d35; }
:is(.l4d-home-page .he-new-product-image,.l4d-shop-page .he-shop-card-image,.l4d-product-page .he-product-offer-image) { position:relative; }
:is(.l4d-home-page,.l4d-shop-page,.l4d-product-page) .he-sale-badge {
  position:absolute; z-index:4; top:.75rem; right:.75rem; left:auto;
  display:inline-flex; align-items:center; width:auto; height:auto;
  padding:.4rem .65rem; border-radius:999px; background:var(--he-sale-red);
  color:#fff; font-size:.6875rem; font-weight:700; line-height:1.2;
  letter-spacing:.03em; text-transform:uppercase;
}
.l4d-product-page .he-product-offer-image > .he-sale-badge { padding:.4rem .65rem; color:#fff; font-size:.6875rem; }
:is(.l4d-home-page,.l4d-shop-page,.l4d-product-page,.l4d-wellness-article-page) :is(.he-card-price,.he-product-price,.he-article-product-footer strong) {
  display:flex; flex-wrap:wrap; align-items:baseline; gap:.25rem .5rem;
  min-width:0; font-variant-numeric:tabular-nums;
}
:is(.l4d-home-page,.l4d-shop-page,.l4d-product-page,.l4d-wellness-article-page) :is(.he-card-price,.he-product-price,.he-article-product-footer strong) del {
  color:#68736e; opacity:1; font-size:.8125em; font-weight:400; text-decoration:line-through;
}
:is(.l4d-home-page,.l4d-shop-page,.l4d-product-page,.l4d-wellness-article-page) :is(.he-card-price,.he-product-price,.he-article-product-footer strong) ins {
  background:transparent; color:var(--green,var(--he-query-green)); font-weight:700; text-decoration:none;
}
:is(.l4d-home-page,.l4d-shop-page,.l4d-product-page,.l4d-wellness-article-page) :is(.he-card-price,.he-product-price,.he-article-product-footer strong) .woocommerce-Price-amount { white-space:nowrap; }
/* Elementor previews may not load WooCommerce's screen-reader utility. */
:is(.l4d-home-page,.l4d-shop-page,.l4d-product-page,.l4d-wellness-article-page) :is(.he-card-price,.he-product-price,.he-article-product-footer strong) .screen-reader-text {
  position:absolute !important; width:1px !important; height:1px !important;
  padding:0 !important; margin:-1px !important; overflow:hidden !important;
  clip:rect(0,0,0,0) !important; clip-path:inset(50%) !important;
  white-space:nowrap !important; border:0 !important;
}

/* Keep card actions branded when a theme styles button focus/active/disabled. */
.l4d-home-page .he-product-action { --card-green:var(--he-query-green); --card-dark:var(--he-query-green-dark); --card-focus:var(--he-query-lime); }
.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card { --card-green:var(--green); --card-dark:var(--green-dark); --card-focus:var(--lime); }
.l4d-product-page .he-product-cart,.l4d-wellness-article-page .he-article-product-footer { --card-green:var(--green); --card-dark:var(--green-dark); --card-focus:var(--lime); }

:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart,.l4d-wellness-article-page .he-article-product-footer) :is(.he-shop-button,.he-product-offer-controls button,.he-product-offer-link,.single_add_to_cart_button,.he-product-quantity-step,.he-article-product-footer button,.he-article-product-footer a) {
  appearance:none !important; -webkit-appearance:none !important;
  background:var(--card-green) !important; color:#fff !important;
  border-color:var(--card-green) !important; box-shadow:none !important;
  border-radius:999px !important;
  text-decoration:none !important; text-shadow:none !important;
}
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart,.l4d-wellness-article-page .he-article-product-footer) :is(.he-shop-button,.he-product-offer-controls button,.he-product-offer-link,.single_add_to_cart_button,.he-product-quantity-step,.he-article-product-footer button,.he-article-product-footer a):is(:hover,:focus,:active):not(:disabled) {
  background:var(--card-dark) !important; border-color:var(--card-dark) !important; color:#fff !important;
}
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart,.l4d-wellness-article-page .he-article-product-footer) :is(.he-shop-button.he-shop-quantity-button,.he-product-offer-step,.he-product-quantity-step,.he-shop-button.is-secondary) {
  background:#fff !important; border-color:var(--card-green) !important; color:var(--card-green) !important;
}
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart,.l4d-wellness-article-page .he-article-product-footer) :is(.he-shop-button.he-shop-quantity-button,.he-product-offer-step,.he-product-quantity-step,.he-shop-button.is-secondary):is(:hover,:focus,:active):not(:disabled) {
  background:var(--card-green) !important; border-color:var(--card-green) !important; color:#fff !important;
}
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card) .he-shop-button.he-shop-remove:is(:hover,:focus,:active):not(:disabled) {
  background:#b6403d !important; border-color:#b6403d !important; color:#fff !important;
}
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart,.l4d-wellness-article-page .he-article-product-footer) :is(.he-shop-button,.he-product-offer-controls button,.single_add_to_cart_button,.he-product-quantity-step,.he-article-product-footer button):disabled {
  opacity:.65 !important; cursor:not-allowed;
}
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart,.l4d-wellness-article-page .he-article-product-footer) :is(.he-shop-button,.he-product-offer-controls button,.he-product-offer-link,.single_add_to_cart_button,.he-product-quantity-step,.he-article-product-footer button,.he-article-product-footer a):focus-visible {
  outline:2px solid var(--card-focus) !important; outline-offset:3px !important;
}
.l4d-home-page .he-new-product-content h3 a:is(:hover,:focus,:active),
.l4d-shop-page .he-shop-card h3 a:is(:hover,:focus,:active),
.l4d-product-page .he-product-offer-body h3 a:is(:hover,:focus,:active) { color:var(--green,var(--he-query-green)) !important; }
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart) :is(.he-shop-button.he-shop-add,.he-product-offer-add,.single_add_to_cart_button):disabled { background:var(--card-green) !important; border-color:var(--card-green) !important; color:#fff !important; }
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card,.l4d-product-page .he-product-offer-card,.l4d-product-page .he-product-cart) :is(.he-shop-button.he-shop-quantity-button,.he-product-offer-step,.he-product-quantity-step):disabled { background:#fff !important; border-color:var(--card-green) !important; color:var(--card-green) !important; }
.l4d-wellness-article-page .he-article-product-footer button.is-added { background:var(--lime) !important; border-color:var(--lime) !important; color:#fff !important; }
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card) .he-shop-button.is-unavailable { background:#eef0ed !important; border-color:#dce4de !important; color:#66736e !important; }
:is(.l4d-home-page .he-product-action,.l4d-shop-page .he-shop-card) :is(button,a).he-shop-button.is-unavailable:is(:hover,:focus,:active,:disabled) { background:#eef0ed !important; border-color:#dce4de !important; color:#66736e !important; }
