/* Native-price presentation only. Load after the existing theme and UX CSS. */
body .lusa-price-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem .5rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

body .product-miniature__price.lusa-price-row--current {
  color: var(--lusa-blue, #064e71);
  font-size: 1.625rem;
  font-weight: 650;
  letter-spacing: -.025em;
}

body .product__price.lusa-price-row--current,
body .product__prices-block:has(.product__discount-price) .product__price.lusa-price-row--current {
  color: var(--lusa-blue, #064e71);
  font-size: 2.125rem;
  font-weight: 650;
  letter-spacing: -.03em;
}

body .lusa-price-native {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  vertical-align: baseline;
}

body .lusa-price-amount {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body .lusa-price-amount:empty { display: none; }

body .lusa-price-currency {
  color: var(--lusa-muted, #526271);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.2;
  text-decoration: none;
}

body:not(#checkout) .lusa-price-row .lusa-product-tax-suffix,
body .lusa-cart-tax-suffix {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: .2rem .35rem;
  border: 1px solid var(--lusa-line, #d6e0e8);
  border-radius: .375rem;
  color: var(--lusa-blue, #064e71) !important;
  background: var(--lusa-ice, #eef4f7);
  font-size: .6875rem !important;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.15;
  text-decoration: none;
  white-space: normal;
}

body .lusa-cart-tax-suffix { margin-inline-start: .4em; vertical-align: .12em; }

body .lusa-price-row--regular,
body .product__discount-price .product__regular-price.lusa-price-row--regular {
  color: var(--lusa-muted, #526271);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none !important;
}

body .lusa-price-native--regular .lusa-price-amount {
  text-decoration-line: line-through;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

body .product-miniature__discount-price:has(.lusa-price-row--regular) {
  flex-basis: 100%;
  width: 100%;
  margin-top: .3rem;
}

/* Retain native hook execution order; only place the previous price visually
   below the current price. Unit/pack/ecotax and discount labels remain native. */
body .lusa-prices-premium > .product__prices-inline:has(.product__price) { order: 1; }
body .lusa-prices-premium > .product__discount-price { order: 2; }
body .lusa-prices-premium > .product__pack-price,
body .lusa-prices-premium > .product__tax-infos,
body .lusa-prices-premium > .product__taxless-price { order: 3; }
body .lusa-prices-premium .product__regular-price.lusa-price-row--regular { font-size: 1rem; }

/* Previous-price tax context stays legible without repeating the active badge. */
body:not(#checkout) .lusa-price-row--regular .lusa-product-tax-suffix {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--lusa-muted, #526271) !important;
  background: transparent;
  font-weight: 500;
}
