/* ==========================================================================
   Buy box — Prestige Autotrim
   One stylesheet for every region. Brand blue #0070EB.
   ========================================================================== */

:root {
  --pa-blue:   #0070EB;
  --pa-ink:    #1a1a1a;
  --pa-muted:  #4c4c4c;
  --pa-line:   #dcdcdc;
  --pa-stock:  #0b7a4b;
  --pa-made:   #a4640a;
  --pa-save:   #0070EB;   /* savings use the brand blue, not status green */
}

.pa-buybox {
  font-family: arial, helvetica, sans-serif;
  color: var(--pa-ink);
  text-align: left;
  max-width: 380px;

  /* Clear of the shipping statement above, so the first option heading reads
     as the start of the buy box rather than a continuation of that line. */
  margin-top: 20px;

  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pa-buybox fieldset { border: 0; margin: 0; padding: 0; }

.pa-buybox legend,
.pa-legend {
  display: block;
  font-size: 0.75em;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pa-muted);
  margin: 0 0 12px;
  padding: 0;
}

/* ── Colour swatches ─────────────────────────────────────────────────────── */

/* align-items keeps every chip on the same line when one label wraps to two. */
.pa-swatches { display: flex; flex-wrap: wrap; align-items: flex-start;
               gap: 16px; margin: 0; padding: 0; }

.pa-swatch {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  width: 74px;
  font: inherit;
}

.pa-swatch-chip {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 5px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--pa-line);
  transition: box-shadow 0.12s ease;
}

.pa-swatch[aria-pressed="true"] .pa-swatch-chip {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pa-blue);
}

.pa-swatch:hover .pa-swatch-chip { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pa-line); }
.pa-swatch[aria-pressed="true"]:hover .pa-swatch-chip { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pa-blue); }
.pa-swatch:focus-visible { outline: 2px solid var(--pa-blue); outline-offset: 4px; border-radius: 4px; }

.pa-swatch-name { display: block; font-size: 0.72em; color: var(--pa-muted); line-height: 1.25; }
.pa-swatch[aria-pressed="true"] .pa-swatch-name { color: var(--pa-blue); font-weight: bold; }

.pa-selected-label { font-size: 0.85em; font-style: italic; color: var(--pa-blue); margin: 12px 0 0; }

/* ── Button-style options (frame type etc.) ──────────────────────────────── */

.pa-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

.pa-option-btn {
  font: inherit;
  font-size: 0.85em;
  padding: 9px 14px;
  border: 1px solid var(--pa-line);
  background: #fff;
  color: var(--pa-ink);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.12s ease;
}

.pa-option-btn:hover { border-color: var(--pa-muted); }
.pa-option-btn:focus-visible { outline: 2px solid var(--pa-blue); outline-offset: 2px; }

.pa-option-btn[aria-pressed="true"] {
  border-color: var(--pa-blue);
  box-shadow: inset 0 0 0 1px var(--pa-blue);
  font-weight: bold;
}

.pa-delta { color: var(--pa-blue); font-weight: bold; }

/* ── Fixed spec line (single-option products) ────────────────────────────── */

.pa-spec { font-size: 0.9em; color: var(--pa-muted); margin: 0; }
.pa-spec strong { color: var(--pa-ink); }

/* ── Price ───────────────────────────────────────────────────────────────── */

.pa-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
}

.pa-rrp {
  display: block;
  font-size: 0.95em;
  color: #999;
  text-decoration: line-through;
}

.pa-now { font-size: 1.3em; font-weight: bold; color: var(--pa-ink); letter-spacing: -0.01em; }

.pa-save {
  display: inline-block;
  background: var(--pa-blue);
  color: #fff;
  font-size: 0.72em;
  font-weight: bold;
  padding: 4px 11px;
  border-radius: 20px;
  white-space: nowrap;
}

.pa-promo { display: block; font-size: 0.8em; color: #555; font-weight: bold; margin-top: 6px; }

/* ── Availability ────────────────────────────────────────────────────────── */

.pa-avail {
  display: inline-block;
  font-size: 0.75em;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.pa-avail[data-avail="stock"] { background: #e4f3eb; color: var(--pa-stock); }
.pa-avail[data-avail="made"]  { background: #f9efdd; color: var(--pa-made); }

.pa-despatch { font-size: 0.82em; margin: 0; }
.pa-despatch a { color: var(--pa-blue); }

/* The availability block holds the pill and, for made-to-order items, the
   despatch-times link — spaced tightly so they read as one unit. */
#pa-avail { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.pa-buybox .pa-avail { margin-bottom: 0; }

/* ── Readback ────────────────────────────────────────────────────────────── */

.pa-readback {
  font-size: 0.85em;
  line-height: 1.5;
  color: var(--pa-muted);
  background: #f4f7fa;
  border-left: 3px solid var(--pa-blue);
  padding: 12px 14px;
  margin: 0;
}

.pa-readback strong { color: var(--pa-ink); }
.pa-readback .pa-sku { display: block; font-size: 0.85em; color: #8a8a8a; margin-top: 4px; }

@keyframes pa-flash { from { background: #e3edfa; } to { background: #f4f7fa; } }
.pa-readback.pa-changed { animation: pa-flash 0.7s ease; }
@media (prefers-reduced-motion: reduce) { .pa-readback.pa-changed { animation: none; } }

/* ── Add to basket ───────────────────────────────────────────────────────── */

.pa-add {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pa-blue);
  border: 0;
  border-radius: 3px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.pa-add:hover  { background: #005ec4; }
.pa-add:active { background: #00519f; }
.pa-add:focus-visible { outline: 2px solid var(--pa-ink); outline-offset: 3px; }
.pa-add[disabled] { background: #b9b9b9; cursor: not-allowed; }

/* ── Toast ───────────────────────────────────────────────────────────────── */

.pa-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(560px, calc(100vw - 32px));
  background: #14202c;
  color: #fff;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.92em;
  line-height: 1.4;
  padding: 16px 20px;
  border-radius: 5px;
  border-left: 4px solid var(--pa-stock);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  animation: pa-toast-in 0.24s ease-out;
}

@keyframes pa-toast-in {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) { .pa-toast { animation: none; } }

.pa-toast-tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pa-stock);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95em;
  font-weight: bold;
}

.pa-toast-text { flex: 1; min-width: 0; }
.pa-toast-text strong { display: block; margin-bottom: 2px; }
.pa-toast-text span { display: block; font-size: 0.85em; color: #b9c6d3;
                      overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pa-toast a,
.pa-toast a:link,
.pa-toast a:visited {
  flex: none;
  color: #fff;
  background: var(--pa-blue);
  padding: 9px 15px;
  border-radius: 3px;
  font-size: 0.88em;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.pa-toast a:hover { background: #005ec4; }

/* ==========================================================================
   Basket, success and cancel pages
   ========================================================================== */

.pa-cart-wrap {
  font-family: arial, helvetica, sans-serif;
  color: #1a1a1a;
  max-width: 1000px;
  margin: 0 auto;
  padding: 26px 16px 40px;
}

.pa-cart-heading { font-size: 1.5em; font-weight: bold; margin: 0 0 6px; }
.pa-cart-intro   { font-size: 0.9em; color: #4c4c4c; margin: 0 0 24px; }

.pa-cart-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.pa-cart-main    { flex: 1 1 460px; min-width: 0; }
.pa-cart-side    { flex: 0 1 320px; }

/* ── Line items ──────────────────────────────────────────────────────────── */

.pa-lines { list-style: none; margin: 0; padding: 0; }

.pa-line {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e4e4e4;
}

.pa-line:first-child { border-top: 1px solid #e4e4e4; }

.pa-line-main { flex: 1 1 auto; min-width: 0; }

.pa-line-name {
  display: block;
  font-weight: bold;
  font-size: 0.95em;
  line-height: 1.4;
  color: var(--pa-ink);
}

.pa-line-meta { display: block; font-size: 0.82em; color: #8a8a8a; margin-top: 4px; }

.pa-line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 10px;
}

.pa-line-controls .pa-avail { margin-bottom: 0; }

.pa-qty-wrap { display: inline-flex; align-items: center; gap: 7px; }
.pa-qty-label { font-size: 0.78em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pa-muted); }

.pa-qty {
  width: 56px;
  padding: 5px 7px;
  font: inherit;
  font-size: 0.9em;
  text-align: center;
  border: 1px solid var(--pa-line);
  border-radius: 3px;
}

/* Money column — RRP, the saving, then what it actually costs. */
.pa-line-money {
  flex: none;
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.pa-line-rrp    { display: block; font-size: 0.82em; color: #8a8a8a; }
.pa-line-saving { display: block; font-size: 0.82em; font-weight: bold; color: var(--pa-save); }
.pa-line-now    { display: block; font-size: 1.15em; font-weight: bold; color: var(--pa-ink); margin-top: 2px; }

.pa-remove {
  flex: none;
  font: inherit;
  font-size: 1.35em;
  line-height: 1;
  background: none;
  border: 0;
  color: #b0b0b0;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
}

.pa-remove:hover { color: #b3261e; }
.pa-remove:focus-visible,
.pa-qty:focus-visible { outline: 2px solid var(--pa-blue); outline-offset: 2px; }

@media (max-width: 520px) {
  .pa-line { flex-wrap: wrap; }
  .pa-line-money { text-align: left; flex-basis: 100%; }
}

/* ── Summary ─────────────────────────────────────────────────────────────── */

#basket-summary { border: 1px solid #dcdcdc; border-radius: 4px; padding: 20px; background: #fafbfc; }

.pa-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.92em; padding: 7px 0; }
.pa-row-value { font-variant-numeric: tabular-nums; }
.pa-saved .pa-row-value { color: var(--pa-save); font-weight: bold; }
.pa-included .pa-row-value { color: var(--pa-stock); }

.pa-total {
  border-top: 2px solid #1a1a1a;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.15em;
  font-weight: bold;
}

.pa-currency-note { font-size: 0.78em; color: #8a8a8a; text-align: right; margin: 6px 0 0; }

.pa-gst-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #f9efdd;
  border-radius: 3px;
  font-size: 0.82em;
  line-height: 1.5;
  color: #6b4a12;
}

.pa-gst-note strong { display: block; font-size: 1.15em; color: #a4640a; margin-bottom: 5px; }
.pa-gst-note p { margin: 0; }

.pa-checkout {
  display: block;
  width: 100%;
  margin-top: 18px;
  font: inherit;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #0070EB;
  border: 0;
  border-radius: 3px;
  padding: 16px 20px;
  cursor: pointer;
  text-decoration: none;
}

.pa-checkout:link, .pa-checkout:visited { color: #fff; }
.pa-checkout:hover { background: #005ec4; }
.pa-checkout[disabled] { background: #b9b9b9; cursor: not-allowed; }
.pa-checkout:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 3px; }

.pa-continue,
.pa-continue:link,
.pa-continue:visited { display: block; text-align: center; margin-top: 14px; font-size: 0.88em; color: #0070EB; }

.pa-empty { font-size: 1.05em; color: #4c4c4c; padding: 32px 0 12px; }

.pa-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #fdeaea;
  border-radius: 3px;
  color: #96231c;
  font-size: 0.85em;
}

/* ── Success / cancel ────────────────────────────────────────────────────── */

.pa-result { max-width: 640px; margin: 0 auto; padding: 48px 16px 56px; text-align: center;
             font-family: arial, helvetica, sans-serif; }
.pa-result h1 { font-size: 1.6em; margin: 0 0 14px; }
.pa-result p  { font-size: 0.95em; line-height: 1.65; color: #4c4c4c; margin: 0 0 14px; }
.pa-result .pa-checkout { max-width: 280px; margin: 24px auto 0; }

.pa-next {
  text-align: left;
  background: #fafbfc;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  padding: 18px 22px;
  margin: 26px 0 0;
}

.pa-next h2 { font-size: 1em; margin: 0 0 10px; }
.pa-next ol { margin: 0; padding-left: 20px; font-size: 0.9em; line-height: 1.7; color: #4c4c4c; }


/* ==========================================================================
   Checkout chrome — basket, success, cancel
   A quieter frame than the product pages: the brand stays, the browsing
   distractions (region switcher, breadcrumbs, promo banner, share bar) go.
   ========================================================================== */

.pa-checkout-head {
  border-bottom: 1px solid #dcdcdc;
  background: #fff;
}

.pa-checkout-head-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: arial, helvetica, sans-serif;
}

.pa-checkout-head h1 { font-size: 1.45em; margin: 0; color: #1a1a1a; }
.pa-checkout-head .pa-back { font-size: 0.88em; color: #0070EB; }

.pa-steps {
  display: flex;
  gap: 8px;
  font-size: 0.7em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa3ab;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pa-steps li::after { content: " ›"; margin-left: 8px; color: #c8ced4; }
.pa-steps li:last-child::after { content: ""; }
.pa-steps [aria-current] { color: #0070EB; font-weight: bold; }

/* ── Terms ───────────────────────────────────────────────────────────────── */

.pa-terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 0;
  font-size: 0.85em;
  line-height: 1.5;
  color: #4c4c4c;
}

.pa-terms input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: none;
  accent-color: #0070EB;
  cursor: pointer;
}

.pa-terms label { cursor: pointer; }
.pa-terms a { color: #0070EB; }
.pa-terms input:focus-visible { outline: 2px solid #0070EB; outline-offset: 2px; }

.pa-terms-hint { font-size: 0.8em; color: #a4640a; margin: 8px 0 0; }

/* ── Trust row ───────────────────────────────────────────────────────────── */

.pa-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #e4e4e4;
  font-size: 0.78em;
  line-height: 1.9;
  color: #4c4c4c;
}

.pa-trust li::before { content: "✓ "; color: #0b7a4b; font-weight: bold; }

/* ── Quiet footer ────────────────────────────────────────────────────────── */

.pa-checkout-foot {
  border-top: 1px solid #dcdcdc;
  background: #fafbfc;
  font-family: arial, helvetica, sans-serif;
}

.pa-checkout-foot-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 16px 28px;
  font-size: 0.8em;
  color: #6d7a88;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}

.pa-checkout-foot a { color: #0070EB; }
.pa-checkout-foot-inner .pa-copy { flex-basis: 100%; color: #9aa3ab; }

/* ==========================================================================
   Tracking page
   Status only — no addresses, no carrier, no locations, no origin.
   ========================================================================== */

.pa-track { max-width: 620px; margin: 0 auto; padding: 34px 16px 56px;
            font-family: arial, helvetica, sans-serif; }

.pa-track-status {
  background: #f4f7fa;
  border-left: 3px solid #0070EB;
  padding: 20px 22px;
  margin: 0 0 30px;
}

.pa-track-status .pa-track-now { display: block; font-size: 1.3em; font-weight: bold; color: #1a1a1a; }
.pa-track-status .pa-track-sub { display: block; font-size: 0.87em; color: #4c4c4c; margin-top: 6px; line-height: 1.55; }

.pa-timeline { list-style: none; margin: 0; padding: 0; }

.pa-timeline li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding-bottom: 20px;
  position: relative;
}

.pa-timeline li::before {
  content: "";
  position: absolute;
  left: 12px; top: 22px; bottom: 0;
  width: 2px;
  background: #e4e4e4;
}

.pa-timeline li:last-child { padding-bottom: 0; }
.pa-timeline li:last-child::before { display: none; }

.pa-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid #e4e4e4;
  background: #fff;
  position: relative;
  z-index: 1;
}

.pa-timeline .done .pa-dot    { border-color: #0b7a4b; background: #0b7a4b; }
.pa-timeline .current .pa-dot { border-color: #0070EB; background: #0070EB;
                                box-shadow: 0 0 0 4px rgba(0,112,235,.16); }

.pa-step-label { font-weight: bold; font-size: 0.95em; color: #9aa3ab; line-height: 26px; }
.pa-timeline .done .pa-step-label,
.pa-timeline .current .pa-step-label { color: #1a1a1a; }
.pa-step-date { display: block; font-weight: normal; font-size: 0.8em; color: #8a8a8a; line-height: 1.4; }

.pa-track-help { font-size: 0.85em; color: #4c4c4c; line-height: 1.6;
                 border-top: 1px solid #e4e4e4; margin-top: 30px; padding-top: 18px; }
.pa-track-help a { color: #0070EB; }

/* ==========================================================================
   Basket link in the top bar
   The badge is the point: it is hidden when empty, so a number appearing is
   itself the signal. It pulses on change, which is what carries the eye from
   the fading toast to where the basket actually lives.
   ========================================================================== */

.pa-basket-link,
.pa-basket-link:link,
.pa-basket-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4c4c4c;
  text-decoration: none;
  vertical-align: middle;
}

.pa-basket-link:hover { color: var(--pa-blue); }
.pa-basket-link:focus-visible { outline: 2px solid var(--pa-blue); outline-offset: 3px; border-radius: 3px; }

.pa-basket-icon { width: 18px; height: 18px; flex: none; }

.pa-basket-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--pa-blue);
  color: #fff;
  font-size: 0.72em;
  font-weight: bold;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pa-basket-badge[hidden] { display: none; }

@keyframes pa-badge-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.pa-basket-badge.pa-pop { animation: pa-badge-pop 0.45s ease-out; }

@media (prefers-reduced-motion: reduce) { .pa-basket-badge.pa-pop { animation: none; } }

/* ── Route to the basket from further down the page ───────────────────────── */

/* Appears only once the header has scrolled away and the basket has contents. */
.pa-float-basket,
.pa-float-basket:link,
.pa-float-basket:visited {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 19px;
  border-radius: 30px;
  background: var(--pa-blue);
  color: #fff;
  text-decoration: none;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.9em;
  font-weight: bold;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  animation: pa-float-in 0.22s ease-out;
}

.pa-float-basket[hidden] { display: none; }
.pa-float-basket:hover { background: #005ec4; }
.pa-float-basket:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 3px; }
.pa-float-basket svg { width: 20px; height: 20px; flex: none; }
.pa-float-count { font-variant-numeric: tabular-nums; }

@keyframes pa-float-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) { .pa-float-basket { animation: none; } }

/* Keep clear of the toast, which occupies the same corner briefly. */
@media (max-width: 560px) {
  .pa-float-basket { right: 14px; bottom: 14px; padding: 11px 16px; }
}

/* A colour with no alternative: same appearance as a selected swatch, but not
   a button — there is nothing to press, so it should not invite a press. */
.pa-swatch-fixed { cursor: default; }
.pa-swatch-fixed .pa-swatch-chip { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pa-blue); }
.pa-swatch-fixed .pa-swatch-name { color: var(--pa-blue); font-weight: bold; }

/* Prices arrive from the server, so the buy box has a brief loading state. */
.pa-loading { font-size: 0.9em; color: var(--pa-muted); margin: 0; }
.pa-price-error { font-size: 0.9em; color: #96231c; background: #fdeaea;
                  border-radius: 3px; padding: 12px 14px; margin: 0; }
.pa-price-error a { color: #96231c; }

.pa-price-stale { font-size: 0.8em; color: #a4640a; background: #f9efdd;
                  border-radius: 3px; padding: 9px 11px; margin: 0; }

/* ── Cross-sell offer, shown once the parent item is in the basket ───────── */

.pa-xsell-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}

.pa-xsell {
  font-family: arial, helvetica, sans-serif; color: var(--pa-ink);
  background: #fff; border-radius: 4px; padding: 24px;
  width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.pa-xsell-added { margin: 0 0 14px; font-size: 0.85em; color: var(--pa-stock, #0b7a4b); }
.pa-xsell-title { margin: 0 0 16px; font-size: 1.05em; }

.pa-xsell-row {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--pa-line); border-radius: 3px; padding: 14px; margin-bottom: 12px;
}
.pa-xsell-row:hover { border-color: var(--pa-blue); }
.pa-xsell-tick { margin-top: 3px; width: 18px; height: 18px; flex: none; cursor: pointer; }

/* Only some extras carry a picture, so the row has to read well either way. */
.pa-xsell-thumb {
  width: 78px; height: 58px; flex: none; object-fit: contain;
  background: #fff; border: 1px solid var(--pa-line); border-radius: 3px;
}

.pa-xsell-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pa-xsell-name  { font-weight: bold; font-size: 0.95em; }
.pa-xsell-price { font-size: 1.05em; }
.pa-xsell-rrp   { text-decoration: line-through; color: var(--pa-muted); margin-right: 8px;
                  font-size: 0.85em; font-weight: normal; }
.pa-xsell-save  { font-size: 0.8em; color: var(--pa-blue); font-weight: bold; }
.pa-xsell-note  { font-size: 0.75em; color: var(--pa-muted); }

.pa-xsell-actions { display: flex; gap: 10px; margin-top: 18px; }
.pa-xsell-add, .pa-xsell-skip {
  font: inherit; font-size: 0.9em; padding: 12px 18px; border-radius: 3px; cursor: pointer;
}
.pa-xsell-add  { background: var(--pa-blue); color: #fff; border: 0; font-weight: bold; flex: 1; }
.pa-xsell-skip { background: none; color: var(--pa-muted); border: 1px solid var(--pa-line); }

.pa-needs-parent {
  font-size: 0.85em; color: #a4640a; background: #f9efdd;
  border-radius: 3px; padding: 11px 13px; margin: 0 0 14px;
}

.pa-price-moved {
  font-size: 0.85em; color: #a4640a; background: #f9efdd;
  border-radius: 3px; padding: 12px 14px; margin: 0 0 16px;
}
.pa-price-moved p { margin: 4px 0 0; }

/* A choice that cannot be made with the other options currently selected. */
.pa-swatch.pa-unavailable,
.pa-option-btn.pa-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.pa-swatch.pa-unavailable .pa-swatch-chip { box-shadow: 0 0 0 1px var(--pa-line); }

/* "Share this page" — plain links that replace the ShareThis widget.
   Nothing is sent to any of these services until a link is clicked.
   :link/:visited are matched because master-css sets a:link { color:#fff }
   and a pseudo-class outranks a plain class. */
.pa-share {
  clear: both; width: 100%;
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px;
  padding: 0 0 4px;
}
.pa-share a {
  display: inline-block; padding: 2px 9px; border-radius: 3px;
  font-family: Arial, sans-serif; font-size: 0.75em; line-height: 1.4;
  text-decoration: none;
}
.pa-share a:link, .pa-share a:visited { color: #fff; }
.pa-share a:hover { opacity: 0.85; }
.pa-share .pa-share-fb { background: #1877f2; }
.pa-share .pa-share-x  { background: #000; }
.pa-share .pa-share-wa { background: #1da851; }
.pa-share .pa-share-em { background: #4c4c4c; }

/* Basket: "Continue shopping" just above the totals box, where the eye already is. */
.pa-continue-top,
.pa-continue-top:link,
.pa-continue-top:visited { display: inline-block; margin: 0 0 10px; font-size: 0.88em; color: #0070EB; }
