/*!
 * AI Technical Sales Advisor — Checkout v2
 * v8.3.6 · Designed and built by Delta 3 B.V.
 * Everything is scoped to #ida-checkout-root.idv2, so the classic checkout
 * is untouched when v2 is switched off.
 */

#ida-checkout-root.idv2 {
  --idv2-top: 0px;
  --idv2-orange: #E9530D;
  --idv2-orange-text: #B83F06;
  --idv2-ink: #0D0D0D;
  --idv2-muted: #5C5C5C;
  --idv2-line: #E2E2E2;
  --idv2-field: #C9C9C9;
  --idv2-soft: #F4F4F4;
  --idv2-head: 'Orbitron', 'Barlow Condensed', sans-serif;
  --idv2-body: 'Kanit', system-ui, sans-serif;
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  padding: 0 !important;
  background: #FFFFFF;
  color: var(--idv2-ink);
  font-family: var(--idv2-body);
  box-sizing: border-box;
}
#ida-checkout-root.idv2 *, #ida-checkout-root.idv2 *::before, #ida-checkout-root.idv2 *::after { box-sizing: border-box; }
body.idv2-body { overflow-x: hidden; }
/* Floating advisor button: reachable through the "Need help?" link in the footer instead. */
body.idv2-body #ida-fab { visibility: hidden !important; pointer-events: none !important; }

/* Classic structure: the review step is emptied into the sidebar; the confirm step always shows. */
#ida-checkout-root.idv2 > #ida-state-review { display: none !important; }
#ida-checkout-root.idv2 #ida-state-confirm { display: block !important; }
#ida-checkout-root.idv2 .ida-co-confirm-layout { display: block !important; gap: 0 !important; grid-template-columns: none !important; }
#ida-checkout-root.idv2 .ida-co-confirm-fields > .ida-co-section-title,
#ida-checkout-root.idv2 .ida-co-confirm-summary > .ida-co-section-title,
#ida-checkout-root.idv2 .ida-co-items--compact,
#ida-checkout-root.idv2 .ida-co-confirm-actions,
#ida-checkout-root.idv2 .ida-co-trust,
#ida-checkout-root.idv2 .ida-co-company-toggle-row,
#ida-checkout-root.idv2 .ida-co-fields-grid[hidden],
#ida-checkout-root.idv2 [hidden] { display: none !important; }

/* ── Shell ─────────────────────────────────────────────────────────── */
#ida-checkout-root.idv2 .idv2-shell { display: flex; align-items: flex-start; min-height: calc(100vh - var(--idv2-top)); }

/* ── Stage (left) ──────────────────────────────────────────────────── */
#ida-checkout-root.idv2 .idv2-stage {
  flex: 1 1 auto; min-width: 0;
  position: sticky; top: var(--idv2-top);
  height: calc(100vh - var(--idv2-top));
  background: var(--idv2-ink); color: #FFFFFF;
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 56px 28px; overflow: hidden;
}
#ida-checkout-root.idv2 .idv2-stage::before {
  content: ''; position: absolute; right: 0; top: 0; width: 0; height: 0;
  border-top: 160px solid var(--idv2-orange); border-left: 160px solid transparent; pointer-events: none;
}
#ida-checkout-root.idv2 .idv2-stage > * { position: relative; }
#ida-checkout-root.idv2 .idv2-stage-top { display: flex; justify-content: space-between; align-items: center; padding-right: 120px; }
#ida-checkout-root.idv2 .idv2-back { color: #D4D4D4; text-decoration: none; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
#ida-checkout-root.idv2 .idv2-back:hover { color: #FFFFFF; }
#ida-checkout-root.idv2 .idv2-stage-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
#ida-checkout-root.idv2 .idv2-stage-product { display: flex; flex-direction: column; gap: 22px; height: 100%; justify-content: center; }
#ida-checkout-root.idv2 .idv2-stage-img { flex: 1 1 auto; min-height: 0; max-height: 440px; aspect-ratio: 1 / 1; align-self: center; background: #FFFFFF; padding: 28px; display: flex; align-items: center; justify-content: center; }
#ida-checkout-root.idv2 .idv2-stage-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
#ida-checkout-root.idv2 .idv2-eb { font-size: 12px; color: #A3A3A3; text-transform: uppercase; letter-spacing: .12em; }
#ida-checkout-root.idv2 .idv2-stage-name { font-family: var(--idv2-head); font-weight: 900; font-size: 30px; line-height: 1.15; text-transform: uppercase; margin-top: 6px; }
#ida-checkout-root.idv2 .idv2-stage-big { font-family: var(--idv2-head); font-weight: 900; font-size: 40px; line-height: 1.1; text-transform: uppercase; margin-top: 10px; }
#ida-checkout-root.idv2 .idv2-stage-sub { color: #BDBDBD; font-size: 16px; margin-top: 10px; line-height: 1.45; }
#ida-checkout-root.idv2 .idv2-stage-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid #2A2A2A; max-width: 560px; }
#ida-checkout-root.idv2 .idv2-stage-list li { padding: 10px 0; border-bottom: 1px solid #2A2A2A; font-size: 16px; }
#ida-checkout-root.idv2 .idv2-stage-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1px solid #2A2A2A; padding-top: 18px; }
#ida-checkout-root.idv2 .idv2-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
#ida-checkout-root.idv2 .idv2-thumb { width: 56px; height: 56px; padding: 5px; border: none; border-radius: 0; background: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
#ida-checkout-root.idv2 .idv2-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
#ida-checkout-root.idv2 .idv2-thumb.is-on { outline: 2px solid var(--idv2-orange); outline-offset: 2px; }
#ida-checkout-root.idv2 .idv2-stage-dest { text-align: right; }
#ida-checkout-root.idv2 .idv2-stage-dest-val { font-family: var(--idv2-head); font-weight: 900; font-size: 18px; text-transform: uppercase; margin-top: 4px; }
#ida-checkout-root.idv2 .idv2-trust { font-size: 13px; color: #A3A3A3; }
#ida-checkout-root.idv2 .idv2-stage-compact { display: none; }

/* ── Sidebar (right): light theme via the classic checkout's own tokens ── */
#ida-checkout-root.idv2 .idv2-side {
  width: 480px; flex: none; background: #FFFFFF; border-left: 1px solid var(--idv2-line);
  --ida-co-bg: #FFFFFF; --ida-co-surface: #FFFFFF; --ida-co-surface-2: #F4F4F4; --ida-co-border: #E2E2E2;
  --ida-co-text: #0D0D0D; --ida-co-text-muted: #5C5C5C; --ida-co-input-bg: #FFFFFF; --ida-co-input-border: #C9C9C9;
  --ida-co-primary: #E9530D; --ida-co-radius: 0px; --ida-co-font: 'Kanit', system-ui, sans-serif; --ida-co-btn-text: #FFFFFF;
  color: var(--idv2-ink);
}
#ida-checkout-root.idv2 .idv2-side form { margin: 0; padding: 0; background: transparent; border: 0; }
#ida-checkout-root.idv2 .idv2-flow { padding: 28px 36px 8px; }
#ida-checkout-root.idv2 .ida-co-confirm-fields { padding: 0 36px 24px; }
#ida-checkout-root.idv2 .idv2-preview { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--idv2-orange-text); box-shadow: inset 0 0 0 1px var(--idv2-orange); padding: 5px 8px; margin-bottom: 12px; }
#ida-checkout-root.idv2 .idv2-h1 { font-family: var(--idv2-head); font-weight: 900; font-size: 26px; text-transform: uppercase; margin: 0; padding: 0; line-height: 1.1; color: var(--idv2-ink); letter-spacing: .02em; }
#ida-checkout-root.idv2 .idv2-sec { margin-top: 30px; padding: 0; scroll-margin-top: calc(var(--idv2-top) + 16px); }
#ida-checkout-root.idv2 .idv2-sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
#ida-checkout-root.idv2 .idv2-num { font-family: var(--idv2-head); font-weight: 700; font-size: 13px; color: var(--idv2-orange-text); min-width: 22px; }
#ida-checkout-root.idv2 .idv2-h2 { font-family: var(--idv2-head); font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; margin: 0; padding: 0; color: var(--idv2-ink); line-height: 1.2; }
#ida-checkout-root.idv2 .idv2-subtitle, #ida-checkout-root.idv2 .ida-co-section-title.idv2-subtitle { font-family: var(--idv2-body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--idv2-muted); margin: 18px 0 8px; padding: 0; border: 0; }
#ida-checkout-root.idv2 .idv2-group { margin-top: 6px; }
#ida-checkout-root.idv2 .idv2-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
#ida-checkout-root.idv2 .idv2-hint { font-size: 13px; color: var(--idv2-muted); margin: 6px 0 0; }
#ida-checkout-root.idv2 .idv2-link { background: none; border: 0; padding: 0; color: var(--idv2-ink); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; min-height: 36px; display: inline-flex; align-items: center; letter-spacing: normal; text-transform: none; width: auto; height: auto; box-shadow: none; }
#ida-checkout-root.idv2 .idv2-btn-dark { height: 48px; padding: 0 18px; border: 0; border-radius: 0; background: var(--idv2-ink); color: #FFFFFF; font-family: var(--idv2-head); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; white-space: nowrap; flex: none; }
#ida-checkout-root.idv2 .idv2-btn-dark[disabled] { opacity: .6; cursor: progress; }

/* Fields */
#ida-checkout-root.idv2 .ida-co-field { margin: 0 0 12px; }
#ida-checkout-root.idv2 .ida-co-field label { display: block; font-family: var(--idv2-body); font-size: 13px; font-weight: 600; color: #3D3D3D; text-transform: none; letter-spacing: normal; margin: 0 0 6px; }
#ida-checkout-root.idv2 .ida-co-input, #ida-checkout-root.idv2 .idv2-side select, #ida-checkout-root.idv2 .idv2-side input[type="text"], #ida-checkout-root.idv2 .idv2-side input[type="email"], #ida-checkout-root.idv2 .idv2-side input[type="tel"], #ida-checkout-root.idv2 .idv2-side textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 0 !important; border-radius: 0 !important;
  box-shadow: inset 0 0 0 1px var(--idv2-field); background: #FFFFFF; color: var(--idv2-ink);
  font-family: var(--idv2-body); font-size: 16px; text-transform: none; letter-spacing: normal;
}
#ida-checkout-root.idv2 .idv2-side textarea { padding: 12px 14px; min-height: 88px; }
#ida-checkout-root.idv2 .ida-co-input:focus, #ida-checkout-root.idv2 .idv2-side input:focus, #ida-checkout-root.idv2 .idv2-side select:focus, #ida-checkout-root.idv2 .idv2-side textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--idv2-ink); }
#ida-checkout-root.idv2 .idv2-vat-row { display: flex; gap: 8px; }
#ida-checkout-root.idv2 .idv2-vat-row input { flex: 1 1 auto; min-width: 0; }
#ida-checkout-root.idv2 .idv2-vat-msg { margin-top: 8px; padding: 10px 12px; font-size: 14px; line-height: 1.45; background: var(--idv2-soft); }
#ida-checkout-root.idv2 .idv2-vat-msg.is-ok strong { color: var(--idv2-orange-text); }
#ida-checkout-root.idv2 .idv2-vat-msg.is-warn { box-shadow: inset 3px 0 0 var(--idv2-orange); }
#ida-checkout-root.idv2 .idv2-addr-sum { display: none; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--idv2-soft); font-size: 15px; }
#ida-checkout-root.idv2 .idv2-addr.is-complete:not(.is-editing) .idv2-addr-sum { display: flex; }
#ida-checkout-root.idv2 .idv2-addr.is-complete:not(.is-editing) .idv2-addr-fields { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Order lines */
#ida-checkout-root.idv2 .ida-co-items { display: block; margin: 0; padding: 0; border: 0; background: transparent; }
/* Desktop: the stage on the left already shows the product large, so the
   line carries no thumbnail. Name + specs left, price right; stepper under
   the specs, remove on the right. Clicking a line shows it on the stage. */
#ida-checkout-root.idv2 .ida-co-item { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; column-gap: 16px; row-gap: 10px; align-items: start; padding: 14px 0 14px 12px; margin: 0; border: 0; border-bottom: 1px solid #EDEDED; background: transparent; cursor: pointer; box-shadow: inset 3px 0 0 transparent; }
#ida-checkout-root.idv2 .ida-co-item.is-viewing { box-shadow: inset 3px 0 0 var(--idv2-orange); }
#ida-checkout-root.idv2 .ida-co-item-img-wrap { display: none !important; }
#ida-checkout-root.idv2 .ida-co-item-info { grid-column: 1; grid-row: 1; min-width: 0; }
#ida-checkout-root.idv2 .ida-co-item-controls { display: contents !important; }
#ida-checkout-root.idv2 .ida-co-item-price { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
#ida-checkout-root.idv2 .ida-co-item-qty-wrap { grid-column: 1; grid-row: 2; justify-self: start; display: inline-flex !important; align-items: center; width: auto !important; }
#ida-checkout-root.idv2 .ida-co-item-remove { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }
#ida-checkout-root.idv2 .ida-co-item.idc-co-bundled { cursor: default; padding-top: 8px; padding-bottom: 8px; }
#ida-checkout-root.idv2 .ida-co-qty-val { min-width: 28px; text-align: center; font-weight: 600; color: var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-item-name { font-family: var(--idv2-body); font-weight: 600; font-size: 16px; line-height: 1.3; text-transform: none; letter-spacing: normal; color: var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-item-attrs { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
#ida-checkout-root.idv2 .ida-co-attr-row { display: inline-flex; gap: 4px; font-size: 13px; }
#ida-checkout-root.idv2 .ida-co-attr-label { color: var(--idv2-muted); text-transform: none; letter-spacing: normal; font-size: 13px; background: none; padding: 0; }
#ida-checkout-root.idv2 .ida-co-attr-val { color: var(--idv2-ink); font-size: 13px; }
#ida-checkout-root.idv2 .ida-co-item-qty-wrap { box-shadow: inset 0 0 0 1px var(--idv2-field); border: 0; border-radius: 0; background: #FFFFFF; }
#ida-checkout-root.idv2 .ida-co-qty-btn { width: 40px; height: 40px; color: var(--idv2-ink); background: transparent; border: 0; font-size: 18px; }
#ida-checkout-root.idv2 .ida-co-item-price { font-weight: 600; color: var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-item-remove { color: var(--idv2-muted); background: none; border: 0; }

/* Delivery: fulfilment tiles and dealers */
#ida-checkout-root.idv2 .ida-co-pickup-head { display: none; }
#ida-checkout-root.idv2 .ida-co-pickup-picker { margin: 0; padding: 0; border: 0; background: transparent; }
#ida-checkout-root.idv2 .ida-co-fulfill-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 8px; border: 0; border-radius: 0; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--idv2-field); cursor: pointer; }
#ida-checkout-root.idv2 .ida-co-fulfill-option.is-active, #ida-checkout-root.idv2 .ida-co-fulfill-option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-fulfill-title { font-weight: 600; font-size: 15px; text-transform: none; letter-spacing: normal; color: var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-fulfill-sub, #ida-checkout-root.idv2 .ida-co-fulfill-free { color: var(--idv2-muted); font-size: 13px; font-style: normal; }
#ida-checkout-root.idv2 .ida-co-pickup-dealers { margin: 0 0 10px; padding: 0; border: 0; }
#ida-checkout-root.idv2 .ida-co-pickup-dealers-head { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--idv2-muted); margin: 6px 0 8px; }
#ida-checkout-root.idv2 .ida-co-dealer-card { display: flex; gap: 12px; padding: 12px 14px; margin: 0 0 8px; border: 0; border-radius: 0; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--idv2-line); cursor: pointer; }
#ida-checkout-root.idv2 .ida-co-dealer-card.is-selected, #ida-checkout-root.idv2 .ida-co-dealer-card:has(input:checked) { box-shadow: inset 0 0 0 2px var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-dealer-name { font-weight: 600; text-transform: none; letter-spacing: normal; color: var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-dealer-distance { color: var(--idv2-muted); font-size: 14px; }
#ida-checkout-root.idv2 .ida-co-pickup-hint { font-size: 13px; color: var(--idv2-muted); margin-top: 4px; }
#ida-checkout-root.idv2 .ida-co-ship-same { margin: 0 0 10px; }

/* Payment */
#ida-checkout-root.idv2 #payment, #ida-checkout-root.idv2 .ida-co-payment-methods { background: transparent; border: 0; padding: 0; margin: 0; }
#ida-checkout-root.idv2 ul.wc_payment_methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; border: 0; }
#ida-checkout-root.idv2 li.wc_payment_method { margin: 0; padding: 12px 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--idv2-field); border: 0; border-radius: 0; list-style: none; }
#ida-checkout-root.idv2 li.wc_payment_method:has(input:checked) { box-shadow: inset 0 0 0 2px var(--idv2-ink); grid-column: 1 / -1; }
#ida-checkout-root.idv2 li.wc_payment_method > label { font-weight: 600; font-size: 15px; color: var(--idv2-ink); text-transform: none; letter-spacing: normal; display: inline; cursor: pointer; }
#ida-checkout-root.idv2 li.wc_payment_method > label img { max-height: 22px; width: auto; vertical-align: middle; margin-left: 6px; display: inline-block; }
#ida-checkout-root.idv2 li.wc_payment_method .payment_box { background: transparent; color: var(--idv2-muted); padding: 8px 0 0; margin: 0; font-size: 14px; }
#ida-checkout-root.idv2 li.wc_payment_method .payment_box::before { display: none; }
#ida-checkout-root.idv2:not(.idv2-show-all-pay) li.wc_payment_method.idv2-pay-more { display: none; }
#ida-checkout-root.idv2 .ida-co-terms { margin-top: 14px; font-size: 14px; color: var(--idv2-ink); }
#ida-checkout-root.idv2 .ida-co-terms a { color: var(--idv2-ink); }

/* ── Sticky footer ────────────────────────────────────────────────── */
#ida-checkout-root.idv2 .idv2-foot { position: sticky; bottom: 0; z-index: 20; background: #FFFFFF; border-top: 1px solid var(--idv2-line); padding: 14px 36px 12px; }
#ida-checkout-root.idv2 .idv2-foot-line { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
#ida-checkout-root.idv2 .idv2-foot-label { font-size: 13px; color: var(--idv2-muted); }
#ida-checkout-root.idv2 .idv2-foot-total { font-family: var(--idv2-head); font-weight: 900; font-size: 26px; line-height: 1.1; }
#ida-checkout-root.idv2 .idv2-foot-right { text-align: right; }
#ida-checkout-root.idv2 .idv2-foot-dest { font-size: 13px; color: var(--idv2-muted); }
#ida-checkout-root.idv2 .idv2-foot-details { margin-top: 8px; padding-top: 8px; border-top: 1px solid #EDEDED; max-height: 40vh; overflow: auto; }
#ida-checkout-root.idv2 .idv2-foot-details .ida-co-confirm-summary { padding: 0; margin: 0; border: 0; background: transparent; position: static; }
#ida-checkout-root.idv2 .idv2-foot-details .ida-co-totals { border: 0; padding: 0; margin: 0; background: transparent; }
#ida-checkout-root.idv2 .idv2-foot-details .ida-co-totals-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; color: var(--idv2-ink); border: 0; text-transform: none; letter-spacing: normal; }
#ida-checkout-root.idv2 #place_order.idv2-cta, #ida-checkout-root.idv2 .idv2-cta {
  display: block; width: 100%; height: 56px; margin: 12px 0 0; padding: 0 16px;
  border: 0 !important; border-radius: 0 !important; background: var(--idv2-orange) !important; color: #FFFFFF !important;
  font-family: var(--idv2-head) !important; font-weight: 900 !important; font-size: 16px !important; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
}
#ida-checkout-root.idv2 .idv2-cta:hover { filter: brightness(.95); }
#ida-checkout-root.idv2 .idv2-foot-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 2px; }
#ida-checkout-root.idv2 .ida-co-procurement-panel { margin-top: 8px; padding: 12px; background: var(--idv2-soft); border: 0; }

/* ── Phones ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #ida-checkout-root.idv2 .idv2-shell { display: block; min-height: 0; }
  #ida-checkout-root.idv2 .idv2-stage { position: sticky; top: var(--idv2-top); z-index: 30; height: 176px; padding: 14px 16px; gap: 0; transition: height .22s ease; box-shadow: inset 0 -2px 0 var(--idv2-orange); }
  #ida-checkout-root.idv2 .idv2-stage::before { border-top-width: 56px; border-left-width: 56px; }
  #ida-checkout-root.idv2 .idv2-stage-top, #ida-checkout-root.idv2 .idv2-stage-bottom, #ida-checkout-root.idv2 .idv2-trust { display: none; }
  #ida-checkout-root.idv2 .idv2-stage-product { flex-direction: row; align-items: center; gap: 14px; }
  #ida-checkout-root.idv2 .idv2-stage-img { flex: none; width: 120px; height: 140px; max-height: none; aspect-ratio: auto; padding: 10px; }
  #ida-checkout-root.idv2 .idv2-stage-name { font-size: 16px; padding-right: 34px; }
  #ida-checkout-root.idv2 .idv2-stage-big { font-size: 22px; }
  #ida-checkout-root.idv2 .idv2-stage-sub { font-size: 13px; margin-top: 6px; }
  #ida-checkout-root.idv2 .idv2-stage-list { display: none; }
  #ida-checkout-root.idv2.idv2-typing .idv2-stage { height: 52px; padding: 0 16px; }
  #ida-checkout-root.idv2.idv2-typing .idv2-stage-main { display: none; }
  #ida-checkout-root.idv2.idv2-typing .idv2-stage::before { display: none; }
  #ida-checkout-root.idv2.idv2-typing .idv2-stage-compact { display: flex; height: 52px; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
  #ida-checkout-root.idv2.idv2-typing .idv2-stage-compact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #ida-checkout-root.idv2.idv2-typing .idv2-stage-compact strong { font-family: var(--idv2-head); font-weight: 900; white-space: nowrap; }
  #ida-checkout-root.idv2 .idv2-side { width: auto; border-left: 0; }
  #ida-checkout-root.idv2 .ida-co-item { grid-template-columns: 52px minmax(0, 1fr) auto !important; padding-left: 0; box-shadow: none; }
  #ida-checkout-root.idv2 .ida-co-item.is-viewing { box-shadow: none; }
  #ida-checkout-root.idv2 .ida-co-item-img-wrap { display: flex !important; grid-column: 1; grid-row: 1 / span 2; width: 52px !important; height: 52px !important; padding: 4px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--idv2-line); align-items: center; justify-content: center; }
  #ida-checkout-root.idv2 .ida-co-item-img-wrap img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; object-fit: contain; }
  #ida-checkout-root.idv2 .ida-co-item-info { grid-column: 2; }
  #ida-checkout-root.idv2 .ida-co-item-price { grid-column: 3; }
  #ida-checkout-root.idv2 .ida-co-item-qty-wrap { grid-column: 2; }
  #ida-checkout-root.idv2 .ida-co-item-remove { grid-column: 3; }
  #ida-checkout-root.idv2 .idv2-flow { padding: 20px 16px 4px; }
  #ida-checkout-root.idv2 .ida-co-confirm-fields { padding: 0 16px 16px; }
  #ida-checkout-root.idv2 .idv2-sec { scroll-margin-top: calc(var(--idv2-top) + 190px); }
  #ida-checkout-root.idv2 .idv2-foot { padding: 10px 16px 12px; }
  #ida-checkout-root.idv2.idv2-typing .idv2-foot-line, #ida-checkout-root.idv2.idv2-typing .idv2-foot-links, #ida-checkout-root.idv2.idv2-typing .idv2-foot-details { display: none; }
  #ida-checkout-root.idv2.idv2-typing #place_order.idv2-cta { margin-top: 0; height: 48px; }
  #ida-checkout-root.idv2 ul.wc_payment_methods { grid-template-columns: 1fr; }
  #ida-checkout-root.idv2 .idv2-grid2 { grid-template-columns: 1fr; }
  /* The site's mobile advisor bar (WPCode 13417) would sit on top of the order button. */
  body.idv2-body .ida-mobile-nav, body.idv2-body #ida-mobile-nav { display: none !important; }
}

/* v8.2.4 — no white gap under the full-height checkout */
.et_pb_section.idv2-host { padding-bottom: 0 !important; }
.et_pb_section.idv2-empty { display: none !important; }

/* ── v8.3.6 — Same palette as product page v2 ("white podium") ─────────
   White, graphite #111111, ink, brand orange (triangle, selection),
   action orange #C9440A for the order button. No grey surfaces. */
#ida-checkout-root.idv2 { --idv2-soft: #FFFFFF; --idv2-graphite: #111111; --idv2-action: #C9440A; }
#ida-checkout-root.idv2 .idv2-stage { background: #FFFFFF; color: var(--idv2-ink); border-right: 1px solid var(--idv2-line); }
#ida-checkout-root.idv2 .idv2-stage::before { border-top-width: 150px; border-left-width: 150px; z-index: 3; }
#ida-checkout-root.idv2 .idv2-stage::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 0; z-index: 3;
  border-bottom: 150px solid var(--idv2-graphite); border-right: 150px solid transparent; pointer-events: none;
}
#ida-checkout-root.idv2 .idv2-back { color: var(--idv2-muted); }
#ida-checkout-root.idv2 .idv2-back:hover { color: var(--idv2-orange-text); }
#ida-checkout-root.idv2 .idv2-eb { color: var(--idv2-muted); }
#ida-checkout-root.idv2 .idv2-stage-sub { color: var(--idv2-muted); }
#ida-checkout-root.idv2 .idv2-stage-img { background: transparent; padding: 0; }
#ida-checkout-root.idv2 .idv2-stage-list, #ida-checkout-root.idv2 .idv2-stage-list li { border-color: var(--idv2-line); }
#ida-checkout-root.idv2 .idv2-stage-bottom { border-top-color: var(--idv2-line); padding-left: 150px; }
#ida-checkout-root.idv2 .idv2-thumb { box-shadow: inset 0 0 0 1px var(--idv2-line); }
#ida-checkout-root.idv2 .idv2-thumb.is-on { outline: 0; box-shadow: inset 0 0 0 2px var(--idv2-orange); }
#ida-checkout-root.idv2 .idv2-side { border-left: 0; --ida-co-surface-2: #FFFFFF; --ida-co-input-border: #E2E2E2; --ida-co-primary: #C9440A; }
#ida-checkout-root.idv2 .idv2-vat-msg, #ida-checkout-root.idv2 .idv2-addr-sum, #ida-checkout-root.idv2 .ida-co-procurement-panel { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--idv2-line); }
#ida-checkout-root.idv2 .idv2-vat-msg.is-warn { box-shadow: inset 3px 0 0 var(--idv2-orange), inset 0 0 0 1px var(--idv2-line); }
#ida-checkout-root.idv2 #place_order.idv2-cta, #ida-checkout-root.idv2 .idv2-cta { background: var(--idv2-action) !important; }
#ida-checkout-root.idv2 .idv2-cta:hover { filter: none; background: #B03B08 !important; }

@media (max-width: 900px) {
  #ida-checkout-root.idv2 .idv2-stage { border-right: 0; box-shadow: inset 0 -1px 0 var(--idv2-line); }
  #ida-checkout-root.idv2 .idv2-stage::before { border-top-width: 56px; border-left-width: 56px; }
  #ida-checkout-root.idv2 .idv2-stage::after { border-bottom-width: 40px; border-right-width: 40px; }
  #ida-checkout-root.idv2.idv2-typing .idv2-stage::after { display: none; }
  #ida-checkout-root.idv2 .idv2-stage-img { padding: 0; }
}
/* Graphite header backdrop (the Divi header itself is transparent), as on product page v2. */
body.idv2-body .et-l--header .et_pb_section { background-color: #111111 !important; }
#ida-checkout-root.idv2 .ida-co-attr-label { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }

/* v8.5.1 — no flash of the classic checkout while v2 builds (fails open after 2 s) */
@keyframes idv2-reveal { to { visibility: visible; } }
body.idv2-pending #ida-checkout-root:not(.idv2) { visibility: hidden; animation: idv2-reveal 0s 2s forwards; }

/* v8.5.1 — payment methods as a steady one-column list: the selected method
   no longer jumps to its own full-width row; its details open in place. */
#ida-checkout-root.idv2 ul.wc_payment_methods { grid-template-columns: 1fr; gap: 6px; }
#ida-checkout-root.idv2 li.wc_payment_method:has(input:checked) { grid-column: auto; }

/* v8.5.3 — product names in the cart use the shop grid's face
   ("Kanit-SemiBold", ink, sentence case) instead of the Orbitron heading. */
#ida-checkout-root.idv2 .idv2-stage-name,
#ida-checkout-root.idv2 .ida-co-item-name {
  font-family: "Kanit-SemiBold", "Kanit", Helvetica, Arial, sans-serif !important;
  font-weight: normal !important; text-transform: none !important; letter-spacing: 0 !important;
  color: var(--idv2-ink);
}
#ida-checkout-root.idv2 .idv2-stage-name { font-size: 28px; line-height: 1.2; }
@media (max-width: 980px) { #ida-checkout-root.idv2 .idv2-stage-name { font-size: 18px; } }
