/**
 * Sale price UI driven by includes/coupon/config.php (sale_color via inline CSS).
 */

.w2i-override-wc-price .logousa-sale-price,
.w2i-override-wc-price .logousa-fall-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
}

.w2i-override-wc-price .logousa-sale-regular,
.w2i-override-wc-price .logousa-fall-regular {
  color: inherit;
  opacity: 0.65;
  text-decoration: line-through;
}

.w2i-override-wc-price .logousa-sale-amount,
.w2i-override-wc-price .logousa-sale-amount .woocommerce-Price-amount,
.w2i-override-wc-price .logousa-sale-amount .woocommerce-Price-currencySymbol,
.w2i-override-wc-price .logousa-fall-sale,
.w2i-override-wc-price .logousa-fall-sale .woocommerce-Price-amount,
.w2i-override-wc-price .logousa-fall-sale .woocommerce-Price-currencySymbol {
  text-decoration: none;
  font-weight: 700;
}

.logousa-popdsgn-table tr.logousa-popdsgn-tier-sale td,
.logousa-popdsgn-table tr.logousa-popdsgn-tier-fall td {
  font-weight: 700;
}

/* Mix-styles footer — sale state */
html body #w2i-mixstyles .w2i-mix-order-warning[hidden],
html body #w2i-mixstyles .w2i-mix-order-warning[aria-hidden="true"],
html body #w2i-mixstyles div.w2i-alltotal.logousa-mix-has-sale .w2i-mix-order-warning {
  display: none !important;
  visibility: hidden !important;
}

html body #w2i-mixstyles .logousa-mix-sale-prices {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  line-height: 1.1;
}

html body #w2i-mixstyles .logousa-mix-regular,
html body #w2i-mixstyles .logousa-mix-regular .woocommerce-Price-amount,
html body #w2i-mixstyles .logousa-mix-regular .woocommerce-Price-amount bdi,
html body #w2i-mixstyles .logousa-mix-regular .woocommerce-Price-currencySymbol {
  color: rgb(107, 114, 128) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

html body #w2i-mixstyles .logousa-mix-sale,
html body #w2i-mixstyles .logousa-mix-sale .woocommerce-Price-amount,
html body #w2i-mixstyles .logousa-mix-sale .woocommerce-Price-amount bdi,
html body #w2i-mixstyles .logousa-mix-sale .woocommerce-Price-currencySymbol {
  color: rgb(200, 16, 46) !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html body #w2i-mixstyles .logousa-mix-sale-badge {
  display: inline-flex !important;
  align-items: center;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgb(253, 236, 238) !important;
  color: rgb(155, 16, 40) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  white-space: nowrap;
}

/* Cart / mini-cart — sale badges */
html body .logousa-cart-sale-badge,
html body .cart_totals .logousa-cart-totals-sale-badge,
html body .woocommerce-cart-form .logousa-cart-sale-badge {
  display: inline-block !important;
  margin-top: 4px !important;
  background: rgb(200, 16, 46) !important;
  color: rgb(255, 255, 255) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.variation-Size p:has(.logousa-cart-sale-badge),
.variation-Sale p:has(.logousa-cart-sale-badge) {
  margin-top: 0;
  margin-bottom: 0;
}

.variation-Sale dt {
  display: none !important;
}

/* Cart / checkout totals — left: Fall sale 15% · right: −$X.XX */
html body .cart_totals tr.cart-discount th,
html body .woocommerce-checkout-review-order-table tr.cart-discount th {
  text-align: left !important;
  vertical-align: middle !important;
}

html body .cart_totals tr.cart-discount td,
html body .woocommerce-checkout-review-order-table tr.cart-discount td {
  text-align: right !important;
  vertical-align: middle !important;
}

html body .cart_totals .logousa-cart-totals-sale-label,
html body .woocommerce-checkout-review-order-table .logousa-cart-totals-sale-label {
  margin-top: 0 !important;
}
