/* ══════════════════════════════════════════════════════════════════════════
   checkout.css — the WooCommerce Checkout *block* in the Daylight idiom.

   The checkout page is built from `woocommerce/checkout` inner blocks, not
   the `[woocommerce_checkout]` shortcode, so there is no PHP template to
   override — the layout is achieved by restyling Woo's own block markup.

   TWO THINGS THIS FILE HAS TO GET RIGHT, both verified against the live DOM:

   1. THE REAL STRUCTURE. There are two elements carrying `.wc-block-checkout`:

        div.wp-block-woocommerce-checkout.wc-block-checkout          ← wrapper
        └ div.wc-block-components-sidebar-layout.wc-block-checkout   ← the grid
          ├ div.wc-block-components-main.wc-block-checkout__main
          │ └ form.wc-block-checkout__form        ← the form is INSIDE main
          └ div.wc-block-components-sidebar.wc-block-checkout__sidebar

      So `__sidebar` and `.wc-block-components-sidebar` are the SAME element,
      not nested, and the form is a child of main rather than its parent.

   2. SPECIFICITY. Woo scopes nearly every block rule with two or three
      classes (e.g. `.wc-block-components-form .wc-block-components-text-input
      input[type="email"]`), topping out at (0,3,0), with no !important
      anywhere. A single-class rule here silently loses. Every descendant rule
      below therefore carries the doubled-class prefix
      `.wc-block-checkout.wc-block-checkout`, which adds (0,2,0) and puts this
      file safely ahead — it is a specificity bump, not a typo.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── LAYOUT ────────────────────────────────────────────────────────────── */
/* The grid goes on the sidebar-layout element, which is the shared parent of
   main and sidebar. Putting it on the form (as an earlier build did) turns
   the form itself into a two-column grid and collapses the page. */
.wc-block-checkout.wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: var(--tv-s-12);
  align-items: start;
  /* .tv-wrap above already centres the page and owns the gutters, so this
     block must not redo either — doing both inset the content 80px a side
     (1040px wide) and stacked 48px of its own on .tv-section's 64px. */
  max-width: none;
  margin-inline: 0;
  padding: 0 0 var(--tv-s-8);
}

/* Woo sizes these two as a percentage float layout
   (`.wc-block-components-main { width: 65% }`, sidebar 35%, plus percentage
   gutters). Inside a grid those percentages resolve against the track and
   shrink each column, so both are reset to fill their track. */
.wc-block-checkout.wc-block-checkout .wc-block-checkout__main {
  width: 100%;
  min-width: 0;
  padding: 0;
}
/* The form fills main; it is not a layout element itself. */
.wc-block-checkout.wc-block-checkout .wc-block-checkout__form {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}

@media (max-width: 1000px) {
  .wc-block-checkout.wc-block-components-sidebar-layout {
    grid-template-columns: 1fr;
    gap: var(--tv-s-8);
  }
  /* Summary first on a phone — people want the total before the forms. */
  .wc-block-checkout.wc-block-checkout .wc-block-checkout__sidebar { order: -1; }
}

/* ── STEP CARDS ────────────────────────────────────────────────────────── */
/* Steps are numbered by a CSS counter, so enabling or removing a block in the
   editor renumbers the rest automatically. */
.wc-block-checkout.wc-block-checkout .wc-block-checkout__main { counter-reset: tv-step; }

.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step {
  /* The inner frames are back, and they do not touch their content: 26px of
     inset inside the line, 24px of air between one frame and the next. */
  border: 1px solid var(--tv-hair);
  border-radius: var(--tv-r-lg);
  background: none;
  padding: 26px;
  margin: 0 0 24px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step__content {
  padding-left: 0;
  margin-top: 4px;
}

.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--tv-font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--tv-ink);
  margin: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step__title::before {
  counter-increment: tv-step;
  content: counter(tv-step);
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tv-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step__heading-content {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--tv-ink-3);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step__description {
  font-size: 13.5px;
  color: var(--tv-ink-3);
  margin: -12px 0 18px;
}

/* ── FIELD LABELS & INPUTS ─────────────────────────────────────────────── */
/* Woo renders the input BEFORE the label. The design wants a mono caption
   above the field, so the wrapper becomes a grid and the label is ordered
   first — `order` leaves every other child (validation errors) in place,
   which `column-reverse` would not. */
.wc-block-checkout.wc-block-checkout .wc-block-components-text-input {
  display: grid;
}
/* Fields inside an address form are spaced by that grid's row-gap (below);
   a stray field outside one still needs its own top margin. */
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-step__content > .wc-block-components-text-input {
  margin-top: 16px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-text-input > label {
  order: -1;
  position: static;
  transform: none;
  font-family: var(--tv-font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tv-ink-3);
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.4;
  max-width: none;
  overflow: visible;
}
/* Woo animates the label when the field fills; with a static caption that
   would make it jump on focus. */
.wc-block-checkout.wc-block-checkout .wc-block-components-text-input.is-active > label {
  transform: none;
  font-size: 10px;
}

.wc-block-checkout.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout.wc-block-checkout .wc-blocks-components-select__select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--tv-hair-2);
  border-radius: var(--tv-r-sm);
  background: var(--tv-paper);
  font: 500 15px/1.4 var(--tv-font-body);
  color: var(--tv-ink);
  box-shadow: none;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-text-input input::placeholder {
  color: var(--tv-ink-4);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout.wc-block-checkout .wc-blocks-components-select__select:focus {
  outline: 2px solid var(--brand);
  outline-offset: -1px;
  border-color: transparent;
  box-shadow: none;
}

.wc-block-checkout.wc-block-checkout .wc-blocks-components-select { margin-top: 16px; }
.wc-block-checkout.wc-block-checkout .wc-blocks-components-select__label {
  font-family: var(--tv-font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tv-ink-3);
  margin-bottom: 6px;
}
.wc-block-checkout.wc-block-checkout .wc-blocks-components-select__container {
  height: auto;
  border: 0;
  background: none;
  padding: 0;
}

/* Field rows: first/last name side by side, and city | state | ZIP.
   Woo names each wrapper `…address-form__<field key>`, so this keys off the
   field rather than its position. */
.wc-block-checkout.wc-block-checkout .wc-block-components-address-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 16px;
  align-items: start;
}
/* Spacing comes from row-gap, not per-field margins: Woo zeroes the first
   field's margin-top, which in a two-up row drops one field 16px below its
   neighbour. */
.wc-block-checkout.wc-block-checkout .wc-block-components-address-form > * {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-address-form__first_name { grid-column: span 2; }
.wc-block-checkout.wc-block-checkout .wc-block-components-address-form__last_name  { grid-column: span 2; }
.wc-block-checkout.wc-block-checkout .wc-block-components-address-form__city       { grid-column: span 2; }
.wc-block-checkout.wc-block-checkout .wc-block-components-address-form__state      { grid-column: span 1; }
.wc-block-checkout.wc-block-checkout .wc-block-components-address-form__postcode   { grid-column: span 1; }

@media (max-width: 560px) {
  .wc-block-checkout.wc-block-checkout .wc-block-components-address-form { grid-template-columns: 1fr 1fr; }
  .wc-block-checkout.wc-block-checkout .wc-block-components-address-form__first_name,
  .wc-block-checkout.wc-block-checkout .wc-block-components-address-form__last_name,
  .wc-block-checkout.wc-block-checkout .wc-block-components-address-form__city { grid-column: 1 / -1; }
}

.wc-block-checkout.wc-block-checkout .wc-block-components-validation-error {
  font-size: 12px;
  color: var(--tv-signal-err);
  margin-top: 6px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-text-input.has-error input {
  border-color: var(--tv-signal-err);
}

.wc-block-checkout.wc-block-checkout .wc-block-components-checkbox__label {
  font-size: 14px;
  color: var(--tv-ink-2);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkbox input[type="checkbox"] {
  accent-color: var(--brand);
}

/* ── THEME-ADDED BITS ON THE STEPS (injected by assets/js/checkout.js) ──── */
.tv-co-pill {
  margin-left: auto;
  font-family: var(--tv-font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tv-ink-3);
  border: 1px solid var(--tv-hair);
  border-radius: var(--tv-r-pill);
  padding: 5px 10px;
  white-space: nowrap;
}
.tv-co-disclaim {
  font-family: var(--tv-font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--tv-ink-4);
  margin: 16px 0 0;
}

/* ── ORDER SUMMARY CARD ────────────────────────────────────────────────── */
/* `__sidebar` IS the card — it carries .wc-block-components-sidebar too. */
.wc-block-checkout.wc-block-checkout .wc-block-checkout__sidebar {
  position: sticky;
  top: 92px;
  width: 100%;
  min-width: 0;
  /* Outer frame back; still no tint. 26px keeps the line off the content. */
  border: 1px solid var(--tv-hair);
  border-radius: var(--tv-r-lg);
  background: none;
  padding: 26px;
}
@media (max-width: 1000px) {
  .wc-block-checkout.wc-block-checkout .wc-block-checkout__sidebar { position: static; }
}

/* Woo draws its own frame on this block; the sidebar above already provides
   the card, so the border here is dropped to avoid a frame inside a frame. */
.wc-block-checkout.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border: 0;
  border-radius: var(--tv-r-lg);
  background: none;
  padding: 0;
  margin: 0 0 24px;
}
/* This child's bottom pad comes from Woo, not the theme; dropped so the totals
   sit flush. */
.wc-block-checkout.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
  padding-bottom: 0;
}

/* The heading is `…checkout-order-summary__title` wrapping a `__title-text`
   paragraph — not the generic `.wc-block-components-title` used elsewhere. */
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-order-summary__title {
  padding: 0;
  margin: 0 0 20px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-order-summary__title-text,
.wc-block-checkout.wc-block-checkout .wc-block-components-title {
  font-family: var(--tv-font-display);
  font-weight: 800;
  font-size: var(--tv-fs-h3);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--tv-ink);
  margin: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-order-summary__content {
  padding: 0;
}
/* Empty notice slots reserve vertical space at the top of the card. */
.wc-block-checkout.wc-block-checkout .wc-block-components-notices:empty { display: none; }

.wc-block-checkout.wc-block-checkout .wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--tv-ink-2);
  padding: 0;
  /* The wrapper's padding owns the rhythm now, so the row adds none. */
  margin: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-item__value,
.wc-block-checkout.wc-block-checkout .wc-block-components-formatted-money-amount {
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tv-ink);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-item__description {
  font-size: 12px;
  color: var(--tv-ink-3);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-wrapper {
  border: 0;
  margin: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-wrapper::after { display: none; }

/* The shipping row carries its own wrapper and an optional calculator link. */
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-shipping { margin: 0; }
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-item__description {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--tv-ink-3);
  margin-top: 5px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-item__value strong {
  font-weight: 700;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-footer-item-tax-value {
  font-family: var(--tv-font-display);
  font-variant-numeric: tabular-nums;
}

/* ── Cart lines inside the summary ──────────────────────────────────────
   Real shape: __image (with a __quantity bubble) · __description (name,
   prices, metadata) · __total-price. */
/* The list is a flex column so the gap between cart lines is exact — margins
   would collapse differently depending on how Woo wraps the rows. */
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* The 16px of air above the line that follows the cart lines — the wrapper
     below owns the line itself. */
  padding: 0 0 16px;
  margin: 0;
}

.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  margin: 0;
  border: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__image {
  flex: 0 0 auto;
  width: 52px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__image img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--tv-r-sm);
  background: none;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__quantity {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--tv-r-pill);
  background: var(--tv-ink);
  border: 0;
  color: var(--tv-paper);
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 20px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__description {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-product-name {
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: var(--tv-ink);
  margin: 0;
  /* The description column is ~185px; a long SKU-style name like
     "…Vape(3%, 12000 puffs)" otherwise runs to four lines and unbalances
     the card. Two lines, and break the unspaced runs rather than overflow. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
/* "Flavor: Coconut Water" and friends. */
.wc-block-checkout.wc-block-checkout .wc-block-components-product-metadata,
.wc-block-checkout.wc-block-checkout .wc-block-components-product-details {
  margin: 0;
  font-size: 12px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-product-details__name {
  font-family: var(--tv-font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tv-ink-4);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-product-details__value {
  font-size: 12px;
  color: var(--tv-ink-2);
}
/* Per-unit price under the name — muted, so the line total leads. */
.wc-block-checkout.wc-block-checkout .wc-block-cart-item__prices,
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__individual-prices {
  font-size: 12px;
  color: var(--tv-ink-3);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__individual-prices .wc-block-components-formatted-money-amount {
  font-weight: 500;
  color: var(--tv-ink-3);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__total-price {
  flex: 0 0 auto;
  text-align: right;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-formatted-money-amount,
.wc-block-checkout.wc-block-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
  font-family: var(--tv-font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-ink);
}

/* Coupon form → "HAVE A CODE?" + Apply. */
.wc-block-checkout.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
  margin-bottom: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
  font-family: var(--tv-font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tv-ink-3);
  font-weight: 400;
  padding: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-coupon__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-coupon__input input {
  height: 48px;
  border-radius: var(--tv-r-sm);
  border: 1px solid var(--tv-hair-2);
  background: var(--tv-paper);
  padding: 0 14px;
  font: 500 14px var(--tv-font-body);
  text-transform: uppercase;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-coupon__button {
  height: 48px;
  padding: 0 18px;
  border-radius: var(--tv-r-pill);
  border: 1px solid var(--tv-hair-2);
  background: var(--tv-glass);
  color: var(--tv-ink);
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: 13px;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-coupon__button:hover {
  border-color: var(--tv-ink);
  background: var(--tv-glass);
  color: var(--tv-ink);
}

/* Grand total — its own hairline, same 16px of air on both sides. */
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-footer-item {
  border: 0;
  border-top: 1px solid var(--tv-hair);
  margin: 0;
  padding: 16px 0 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--tv-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tv-ink-3);
  font-weight: 400;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
  font-family: var(--tv-font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-totals-footer-item-tax {
  display: block;
  font-size: 11px;
  color: var(--tv-ink-4);
}

/* ── PLACE ORDER ───────────────────────────────────────────────────────── */
/* Note: WooCommerce renders the actions block at the bottom of the MAIN
   column, inside the <form> — the sidebar sits outside that form, so the
   button cannot be moved there without breaking submission. It is styled
   full-width where Woo puts it. */
.wc-block-checkout.wc-block-checkout .wp-block-woocommerce-checkout-actions-block { margin-top: 8px; }
.wc-block-checkout.wc-block-checkout .wc-block-checkout__actions,
.wc-block-checkout.wc-block-checkout .wc-block-checkout__actions_row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 0;
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-place-order-button {
  width: 100%;
  height: 56px;
  border-radius: var(--tv-r-pill);
  background: var(--brand);
  color: #fff;
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--brand) 70%, transparent);
  transition: transform var(--tv-dur-fast) var(--tv-ease), box-shadow var(--tv-dur-base);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}
.wc-block-checkout.wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
  align-self: center;
  font-size: 12.5px;
  color: var(--tv-ink-3);
}

/* ── SUMMARY EXTRAS (injected by assets/js/checkout.js) ────────────────── */
/* Sits between the subtotal and the shipping row — 16px below it is the air
   above the next hairline. */
.tv-co-extras { margin: 0 0 16px; }

.tv-co-incentive {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--tv-ink-3);
  padding: 4px 0;
}
.tv-co-incentive strong {
  color: var(--tv-ink);
  font-family: var(--tv-font-display);
  font-variant-numeric: tabular-nums;
}
.tv-co-incentive--met, .tv-co-incentive--met strong { color: var(--tv-signal-ok); }

.tv-co-progress {
  height: 5px;
  border-radius: var(--tv-r-pill);
  background: var(--tv-paper-warm);
  overflow: hidden;
  margin: 10px 0 4px;
}
.tv-co-progress-fill {
  height: 100%;
  border-radius: var(--tv-r-pill);
  background: var(--brand);
  transition: width var(--tv-dur-slow) var(--tv-ease);
}

.tv-co-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tv-ink-3);
  margin-top: 14px;
}
.tv-co-secure svg { flex: 0 0 auto; }

.tv-co-promo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--tv-r-md);
  background: none;
  border: 0;
}
.tv-co-promo-seal {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--tv-r-sm);
  background: color-mix(in srgb, var(--brand) 16%, var(--tv-paper));
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tv-font-mono);
  font-size: 10px;
  font-weight: 700;
}
.tv-co-promo-h {
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--tv-ink);
  line-height: 1.35;
}
.tv-co-promo-sub {
  font-size: 12.5px;
  color: var(--tv-ink-2);
  margin-top: 4px;
  line-height: 1.5;
}

.tv-co-editbag {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--tv-ink-3);
}
.tv-co-editbag:hover { color: var(--tv-ink); }

/* ── SHIPPING / PAYMENT OPTIONS ────────────────────────────────────────── */
/* Woo marks the chosen row with an inset 1.5px shadow in `currentColor` — a
   hard near-black outline on a 4px corner — and rules the rows apart with a
   20% currentColor hairline.
   The chosen row now says so with a faint dashed rule alone: no fill, no solid
   stroke. It is an `outline` rather than a border so the row cannot shift by a
   pixel when it is selected, and it follows the row's radius.
   Shipping rows carry the class on their `<label>`; payment rows are the
   accordion variant (a `<div>`, so it can hold the method's own fields), so
   both shapes are listed. */
.wc-block-checkout.wc-block-checkout
  .wc-block-components-radio-control--highlight-checked
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-checkout.wc-block-checkout
  .wc-block-components-radio-control--highlight-checked
  label.wc-block-components-radio-control__option--checked-option-highlighted {
  border-radius: var(--tv-r-sm);
  box-shadow: none;
  background: none;
  outline: 1px dashed var(--tv-hair-2);
  /* Drawn just inside the row's own box: the rows carry 16px of padding, and a
     positive offset would collide with the separator above. */
  outline-offset: -1px;
}

.wc-block-checkout.wc-block-checkout
  .wc-block-components-radio-control--highlight-checked
  .wc-block-components-radio-control__option::after,
.wc-block-checkout.wc-block-checkout
  .wc-block-components-radio-control--highlight-checked
  div.wc-block-components-radio-control-accordion-option::after {
  background: var(--tv-hair);
}

/* ── CART BLOCK — same vocabulary ──────────────────────────────────────── */
.wp-block-woocommerce-cart.wp-block-woocommerce-cart .wc-block-cart__sidebar {
  border: 1px solid var(--tv-hair);
  border-radius: var(--tv-r-lg);
  background: var(--tv-glass);
  padding: 26px;
}
.wp-block-woocommerce-cart.wp-block-woocommerce-cart .wc-block-cart-items__row {
  border-bottom: 1px solid var(--tv-hair);
}
.wp-block-woocommerce-cart.wp-block-woocommerce-cart .wc-block-components-product-name {
  font-family: var(--tv-font-display);
  font-weight: 700;
  color: var(--tv-ink);
}
.wp-block-woocommerce-cart.wp-block-woocommerce-cart .wc-block-cart__submit-button {
  width: 100%;
  height: 56px;
  border-radius: var(--tv-r-pill);
  background: var(--brand);
  color: #fff;
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: 16px;
}
.wp-block-woocommerce-cart.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
  background: var(--brand);
  color: #fff;
}
