/* ShopForge Coupon — bold now-price + grey strikethrough was-price */

html.sf-coupon-prices,
body.sf-coupon-prices {
  --sf-price-now: #111111;
  --sf-price-was: #878787;
}

/* Was / compare — grey strikethrough (visible) */
html.sf-coupon-prices .sf-theme-price-was,
body.sf-coupon-prices .sf-theme-price-was,
html.sf-coupon-prices [data-sf-price-was="1"],
body.sf-coupon-prices [data-sf-price-was="1"],
html.sf-coupon-prices .line-through,
body.sf-coupon-prices .line-through,
html.sf-coupon-prices [class*="line-through"],
body.sf-coupon-prices [class*="line-through"],
html.sf-coupon-prices .sf-price__was,
body.sf-coupon-prices .sf-price__was,
html.sf-coupon-prices .pd-old-price,
body.sf-coupon-prices .pd-old-price,
html.sf-coupon-prices .price-component__compare-at,
body.sf-coupon-prices .price-component__compare-at,
html.sf-coupon-prices [data-price-compare-at],
body.sf-coupon-prices [data-price-compare-at],
html.sf-coupon-prices .shopall-compare-at-price,
body.sf-coupon-prices .shopall-compare-at-price,
html.sf-coupon-prices .sf-bb-card__compare,
body.sf-coupon-prices .sf-bb-card__compare,
html.sf-coupon-prices .SearchResultCard__compare,
body.sf-coupon-prices .SearchResultCard__compare,
html.sf-coupon-prices del,
body.sf-coupon-prices del,
html.sf-coupon-prices s,
body.sf-coupon-prices s {
  display: inline !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  margin-left: 0.35em !important;
  padding: 0 !important;
  font-size: inherit !important;
  color: var(--sf-price-was, #878787) !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  opacity: 1 !important;
  background: transparent !important;
}

/* Legacy hide class — treat as was-price (grey strikethrough) */
html.sf-coupon-prices .sf-price-compare-hide,
body.sf-coupon-prices .sf-price-compare-hide {
  display: inline !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  margin-left: 0.35em !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  color: var(--sf-price-was, #878787) !important;
  opacity: 1 !important;
}

/* Savings chips stay hidden (not the was-price itself) */
html.sf-coupon-prices .price-component__savings,
body.sf-coupon-prices .price-component__savings,
html.sf-coupon-prices [data-price-savings],
body.sf-coupon-prices [data-price-savings] {
  display: none !important;
}

html.sf-coupon-prices .price-component__current,
body.sf-coupon-prices .price-component__current,
html.sf-coupon-prices [data-price-current],
body.sf-coupon-prices [data-price-current],
html.sf-coupon-prices .sf-bb-card__price,
body.sf-coupon-prices .sf-bb-card__price,
html.sf-coupon-prices .sf-bb-pdp__price,
body.sf-coupon-prices .sf-bb-pdp__price,
html.sf-coupon-prices .SearchResultCard__price,
body.sf-coupon-prices .SearchResultCard__price,
html.sf-coupon-prices .search-result-card__price,
body.sf-coupon-prices .search-result-card__price,
html.sf-coupon-prices .product-card__price,
body.sf-coupon-prices .product-card__price,
html.sf-coupon-prices .sf-plp-card__price,
body.sf-coupon-prices .sf-plp-card__price {
  color: var(--sf-price-now, #111111) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.sf-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .28em;
  row-gap: .2em;
  line-height: 1.3;
  white-space: normal;
}

.sf-price__sep {
  display: none !important;
}

/* Price text only — never buttons (.btn / ATC). */
.sf-price__now,
.sf-theme-price-now:not(button):not(.btn):not([data-testid*="atc"]):not([data-testid*="add-to-cart"]),
[data-sf-price-now="1"]:not(button):not(.btn):not([data-testid*="atc"]):not([data-testid*="add-to-cart"]),
html.sf-coupon-prices .pd-current-price,
body.sf-coupon-prices .pd-current-price,
html.sf-coupon-prices .woocommerce-Price-amount,
body.sf-coupon-prices .woocommerce-Price-amount,
html.sf-coupon-prices span.text-red[data-sf-price-now],
body.sf-coupon-prices span.text-red[data-sf-price-now] {
  color: var(--sf-price-now, #111111) !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  background: transparent !important;
  opacity: 1 !important;
}

/* Undo price-text rules if class leaked onto a button */
html.sf-coupon-prices button.sf-theme-price-now,
body.sf-coupon-prices button.sf-theme-price-now,
html.sf-coupon-prices .btn.sf-theme-price-now,
body.sf-coupon-prices .btn.sf-theme-price-now,
html.sf-coupon-prices button[data-sf-price-now="1"],
body.sf-coupon-prices button[data-sf-price-now="1"] {
  background: unset !important;
  color: unset !important;
  font-weight: unset !important;
  padding: unset !important;
  margin: unset !important;
  letter-spacing: unset !important;
}

.sf-price__now .amount,
.sf-price__now bdi,
.sf-price__now .woocommerce-Price-amount,
.sf-theme-price-now .amount,
.sf-theme-price-now bdi {
  color: #111111 !important;
  font-weight: 700 !important;
}

html.sf-coupon-prices .sf-theme-price-now.text-red,
body.sf-coupon-prices .sf-theme-price-now.text-red,
html.sf-coupon-prices [data-sf-price-now].text-red,
body.sf-coupon-prices [data-sf-price-now].text-red,
html.sf-coupon-prices .sf-theme-price-now,
body.sf-coupon-prices .sf-theme-price-now,
html.sf-coupon-prices span.text-red[data-sf-price-now="1"],
body.sf-coupon-prices span.text-red[data-sf-price-now="1"] {
  color: #111111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Badge — product image top-right */
.sf-price-host {
  position: relative !important;
}

.sf-price-badge-float {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 20 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 2.6em;
  padding: .28em .55em;
  border-radius: 999px;
  background: linear-gradient(180deg, #c9a86a, #a8863f);
  color: #121418 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  pointer-events: none;
  white-space: nowrap;
}

.woocommerce ul.products li.product,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .images,
.product .woocommerce-product-gallery,
.product-gallery,
[data-product-gallery],
.sf-pdp-gallery,
.product-media,
.product__media {
  position: relative;
}

button .sf-price-badge-float,
.button .sf-price-badge-float,
.sf-price .sf-price-badge-float {
  display: none !important;
}

.woocommerce .sf-price .amount {
  margin: 0 !important;
}
