/* Scoped to the new shortcode. Override these variables on its Elementor widget/container. */
.moovi-prices {
  --moovi-price-color: #fff;
  --moovi-price-muted: #b5aec2;
  --moovi-price-size: clamp(32px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--moovi-price-color);
  font-family: inherit;
  text-align: center;
  line-height: 1.25;
}
.moovi-prices .woocommerce-Price-amount,
.moovi-prices .woocommerce-Price-currencySymbol { color: inherit; }
.moovi-prices__badge {
  padding: 0;
  margin-bottom: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.moovi-prices__original { color: var(--moovi-price-color); font-size: 16px; text-transform: none; }
.moovi-prices__original del { color: inherit; opacity: 1; text-decoration: line-through; }
.moovi-prices__installments { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 20px; }
.moovi-prices__installments strong { font-size: var(--moovi-price-size); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.moovi-prices__installments .woocommerce-Price-currencySymbol { font-size: .5em; letter-spacing: normal; }
.moovi-prices__total { font-size: 20px; }
.moovi-prices__total strong { font-weight: 700; }

/* Individual shortcodes inherit the existing Elementor widget typography. */
.moovi-price-part,
.moovi-price-part .woocommerce-Price-amount,
.moovi-price-part bdi,
.moovi-price-part .woocommerce-Price-currencySymbol {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.moovi-price-part--parcela .small-currency { font-size: .5em; }
.moovi-price-part--original { opacity: 1; text-transform: none; }
.moovi-price-part--original del { color: inherit; text-decoration: line-through; }
.moovi-price-badge {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.moovi-promo-inactive { display: none !important; }
/* Assign this class ONLY to each dedicated old-price/badge widget. */
.moovi-promo-widget:has(.moovi-promo-inactive) { display: none !important; }

/* Keep full opacity on the wrapper; reduce only the previous-price fragment. */
.moovi-price-before { opacity: .65; }
.moovi-price-after { opacity: 1; text-transform: none; }
