/* Price block. Prices stored ex-VAT; ALWAYS display inc-VAT with the unit (/m or per door). */
.wtd-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 7px;font-family:var(--wtd-font-display);color:var(--wtd-color-ink);line-height:1.1}
.wtd-price__from{font-size:var(--wtd-text-2xs);font-weight:var(--wtd-weight-semibold);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-muted)}
.wtd-price__now{font-size:var(--wtd-text-xl);font-weight:var(--wtd-weight-extrabold)}
.wtd-price__was{font-size:var(--wtd-text-sm);font-weight:var(--wtd-weight-medium);color:var(--wtd-color-muted);text-decoration:line-through}
.wtd-price__unit{font-size:var(--wtd-text-2xs);letter-spacing:.05em;text-transform:uppercase;color:var(--wtd-color-muted)}
.wtd-price__save{flex-basis:100%;font-size:var(--wtd-text-xs);font-weight:var(--wtd-weight-bold);color:var(--wtd-color-sale)}
.wtd-price__note{flex-basis:100%;font-size:var(--wtd-text-2xs);font-weight:var(--wtd-weight-semibold);letter-spacing:var(--wtd-tracking-ui);color:var(--wtd-color-olive-700)}
.wtd-price--sale .wtd-price__now{color:var(--wtd-color-sale)}
.wtd-price--center{justify-content:center;text-align:center}
.wtd-price--lg .wtd-price__now{font-size:32px}
.wtd-price--lg .wtd-price__was{font-size:var(--wtd-text-md)}
.wtd-price--unavailable .wtd-price__now{font-size:var(--wtd-text-md);color:var(--wtd-color-muted)}
.wtd-on-dark .wtd-price,.wtd-on-dark .wtd-price__now{color:#fff}
.wtd-on-dark .wtd-price__unit,.wtd-on-dark .wtd-price__from{color:var(--wtd-color-on-dark-muted)}
/* Delivered total (PDP summary, cart) — goods + flat £45 delivery, always visible before checkout */
.wtd-total{background:var(--wtd-color-sand-100);border:1px solid var(--wtd-color-line);padding:var(--wtd-space-4)}
.wtd-total__row{display:flex;justify-content:space-between;gap:12px;font-size:16px;padding:6px 0}
.wtd-total__row dd,.wtd-total__value{margin:0;font-family:var(--wtd-font-display);font-weight:var(--wtd-weight-semibold);color:var(--wtd-color-ink);white-space:nowrap}
.wtd-total__row dt{margin:0}
.wtd-total__row--grand{border-top:1px solid var(--wtd-color-line);margin-top:8px;padding-top:12px;align-items:baseline}
.wtd-total__row--grand dt{font-family:var(--wtd-font-display);font-size:var(--wtd-text-sm);font-weight:var(--wtd-weight-bold);letter-spacing:var(--wtd-tracking-label);text-transform:uppercase;color:var(--wtd-color-ink)}
.wtd-total__row--grand dd{font-size:27px;font-weight:var(--wtd-weight-extrabold)}
.wtd-total__vat{font-size:14px;color:var(--wtd-color-muted);text-align:right;margin:2px 0 0}
.wtd-total__list{margin:0}
.wtd-total--pending .wtd-total__row--grand dd{color:var(--wtd-color-muted);font-size:var(--wtd-text-md)}
/* No VAT line until there is a figure to put in it. A dash reads as a fault. */
.wtd-total--pending .wtd-total__vat{display:none}
/* WooCommerce's own amount span sits inside .wtd-price__now, so it must not carry
   a size of its own. */
.wtd-price__now .woocommerce-Price-amount,.wtd-price__was .woocommerce-Price-amount{font:inherit;color:inherit}
/* Each figure stays on one line; the "From" label may sit beside or above it.
   The old rule also pinned a two-figure range together, which is what pushed
   the price out of the card on a two-column mobile grid. */
.wtd-price__now,.wtd-price__was{white-space:nowrap}
/* A price must never push out of its card.
   Sized against the CARD rather than the viewport, because the card is what it
   has to fit inside and the same card appears at different widths on the same
   page: two across on a phone, three on a tablet, four on the archive, and
   narrower again in the cross-sell row. A viewport breakpoint gets one of those
   right and guesses at the rest.
   The vw clamp below is the fallback where container queries are unavailable. */
.wtd-card__price{container-type:inline-size}
.wtd-price__now{font-size:clamp(17px,4.6vw,var(--wtd-text-xl))}
@media (min-width:640px){.wtd-price__now{font-size:var(--wtd-text-xl)}}
@supports (container-type:inline-size){
  .wtd-card__price .wtd-price__now{font-size:var(--wtd-text-xl)}
  @container (max-width:200px){.wtd-card__price .wtd-price__now{font-size:18px}}
  @container (max-width:160px){.wtd-card__price .wtd-price__now{font-size:16px}}
}
/* The unit line sits under the price and should read as one quiet line, not
   wrap into two shouty ones. */
.wtd-price__unit{line-height:1.3}
