/* The v2 ordering portal (Lumina Research Labs, 2026-11-20): sign-in screens, catalog and cart, checkout, the order
   and pay screen, and the buyer account. Loaded after v2.css, whose tokens, buttons, cards, pills, inputs, top bar and
   footer it builds on. No style attributes anywhere (the page runs under a CSP without 'unsafe-inline'). */

/* ---------- page frame ---------- */
#main { outline: none; }
.pv-page { padding: 34px 0 56px; }
.pv-sub { margin-top: 6px !important; }
.pv-small { font-size: 14.5px; line-height: 1.5; color: var(--v2-muted); }
.pv-hint { font-size: 14.5px; color: var(--v2-muted); }
.pv-quiet { color: var(--v2-muted) !important; font-weight: 500 !important; }
.pv-stack { display: flex; flex-direction: column; gap: 14px; }
.pv-info { color: var(--v2-info); background: var(--v2-info-bg); border-color: #cddcf0; }
.pv-flash { padding-top: 16px; }
.pv-card-title { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; }
.pv-sub-title { font-size: 17px; font-weight: 800; color: var(--v2-navy); margin: 0; }
.pv-skel-short { width: 55%; }
.pv-skel-title { width: 40%; height: 20px; margin-bottom: 6px; }
.pv-r { text-align: right; }
.v2-alert > p + .v2-btn-secondary { margin-top: 10px; }
.v2 button.v2-link:disabled { opacity: .5; cursor: default; text-decoration: none; }

/* ---------- sign-in screens (Part 5) ---------- */
body.pv-auth > main {
  background: linear-gradient(180deg, rgba(244, 247, 251, .55), rgba(244, 247, 251, .82) 70%, #f4f7fb), url(/hero-mountains.jpg) 70% 40% / cover no-repeat;
  background-color: var(--v2-band);
}
.pv-auth-view { width: 100%; max-width: calc(440px + 2 * var(--v2-gutter)); margin: 0 auto; padding: 48px var(--v2-gutter) 72px; }
.pv-back {
  display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 10px; padding: 0; border: 0; background: none;
  color: var(--v2-navy); font: 700 16px/1.3 var(--v2-font); text-decoration: none; cursor: pointer; border-radius: 4px;
}
.pv-back:hover { color: var(--v2-blue); text-decoration: underline; text-underline-offset: 3px; }
.pv-back:active { color: var(--v2-blue-press); }
.pv-auth-card { background: #fff; border: 1px solid var(--v2-line); border-radius: 16px; box-shadow: var(--v2-card-shadow); overflow: hidden; }
.pv-auth-head { background: linear-gradient(135deg, #0d1b3e, #16306a); padding: 24px 28px 22px; }
.v2 .pv-auth-title { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.pv-auth-title:focus { outline: none; }
.pv-auth-sub { margin-top: 6px !important; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.5; }
.pv-auth-body { display: flex; flex-direction: column; gap: 16px; padding: 26px 28px 28px; }
.pv-auth-body .v2-skel { height: 14px; }
.pv-auth-links { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.v2 .pv-auth-links .v2-link { font-size: 15.5px; text-align: left; line-height: 1.4; min-height: 44px; }
.v2 .pv-auth-links .v2-link + .v2-link { text-align: right; }
.pv-auth-apply { text-align: center; color: var(--v2-secondary); font-size: 15.5px; }
.pv-gate-text { color: var(--v2-secondary); }
.pv-gate-prices { border-top: 1px solid var(--v2-divider); padding-top: 18px; }
.pv-gate-prices-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--v2-navy); }
.pv-gate-prices-list { list-style: none; margin: 10px 0 0; padding: 0; max-height: min(46vh, 440px); overflow: auto; }
.pv-gate-prices-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--v2-divider); font-size: 15.5px; color: var(--v2-text); }
.pv-gate-prices-list li:last-child { border-bottom: 0; }
.pv-gate-prices-list .sec { display: block; padding: 14px 0 4px; border: 0; color: var(--v2-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pv-gate-prices-list b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Email-first sign-in (Lumina 11/22): the checked email on step 2, the no-account box, the code step. */
.pv-si-who { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 8px 14px; border: 1.5px solid var(--v2-line); border-radius: 10px; background: var(--v2-band); }
.pv-si-who-email { min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--v2-text); }
.v2 .pv-si-who .v2-link { flex: none; min-height: 44px; font-size: 15.5px; }
.pv-noacct { display: flex; flex-direction: column; gap: 12px; }
.pv-noacct p { margin: 0; font-weight: 600; }
.v2 .pv-code { font: 700 24px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .32em; text-align: left; }
.pv-resend { display: flex; align-items: center; gap: 2px; margin: 0; }
.v2 .pv-resend .v2-link { min-height: 44px; font-size: 15.5px; }
.v2 .pv-resend .v2-link:disabled { color: var(--v2-muted); cursor: default; text-decoration: none; }
/* Every password field: full width, one per row, the whole password readable when shown (Safari's suggested one too). */
.pv-auth-body .v2-field { width: 100%; }
.pv-auth-body input[type='password'], .pv-auth-body input[autocomplete$='password'] { width: 100%; min-width: 0; font-size: 17px; text-overflow: clip; font-variant-ligatures: none; }
@media (max-width: 860px) {
  .pv-auth-view { padding-top: 28px; padding-bottom: 48px; }
  .pv-auth-head { padding: 20px 20px 18px; }
  .pv-auth-body { padding: 22px 20px 24px; }
}

/* ---------- catalog (Part 6) ---------- */
.pv-cat { display: block; }
.pv-cat-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pv-cat-main > .v2-h1 + .pv-sub { margin-top: -12px !important; }
.pv-toolbar { display: flex; gap: 12px; align-items: center; }
.pv-search { flex: 1 1 auto; min-width: 0; }
.pv-search .v2-input {
  padding-left: 44px; min-height: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 4a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM20 20l-4.8-4.8' fill='none' stroke='%235B6478' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 14px center;
}
.pv-search .v2-input::-webkit-search-cancel-button { cursor: pointer; }
.pv-select { flex: none; width: 196px; }
.pv-select .v2-input { min-height: 48px; }
.pv-toggle { flex: none; display: inline-flex; border: 1px solid #c9d3e3; border-radius: 10px; overflow: hidden; background: #fff; }
.pv-toggle button {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: #fff;
  color: var(--v2-muted); cursor: pointer;
}
.pv-toggle button + button { border-left: 1px solid #c9d3e3; }
.pv-toggle button:hover { background: var(--v2-band); color: var(--v2-navy); }
.pv-toggle button:active { background: #e1e9f4; }
.pv-toggle button[aria-pressed='true'] { background: var(--v2-info-bg); color: var(--v2-info); }
.pv-toggle button:focus-visible { outline-offset: -3px; }
.pv-toggle svg rect { fill: currentColor; }
.pv-toggle svg path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* list view */
.pv-list { min-width: 0; }
.pv-list.is-list { background: #fff; border: 1px solid var(--v2-line); border-radius: 15px; box-shadow: var(--v2-card-shadow); overflow: hidden; }
.pv-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 250px; gap: 20px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--v2-divider); }
.pv-row:first-child { border-top: 0; }
.pv-row:nth-child(even) { background: var(--v2-tint); }
.pv-r-name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pv-r-name b { color: var(--v2-navy); font-size: 16.5px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pv-r-size { color: var(--v2-muted); font-size: 14.5px; line-height: 1.4; }
.pv-r-low { color: var(--v2-warn); font-weight: 600; }
.pv-r-in { color: var(--v2-info); font-size: 13.5px; font-weight: 600; }
.pv-r-hint { color: var(--v2-muted); font-size: 13.5px; }
.pv-r-price { text-align: right; display: flex; flex-direction: column; gap: 1px; }
.pv-r-price b { color: var(--v2-navy); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.3; }
.pv-r-price small { color: var(--v2-muted); font-size: 13px; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-r-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-r-btns .v2-btn, .pv-r-btns .v2-btn-secondary { min-height: 42px; padding: 0 10px; font-size: 15px; }
.pv-r-btns .pv-add { grid-column: 2; }
/* Add to cart, once clicked, is the stepper (- kits +) in the same spot */
.pv-add-step { display: flex; justify-content: flex-end; }
.pv-add-step .pv-stepper { width: 100%; justify-content: space-between; }
.pv-tile .pv-add-step .pv-stepper { width: 100%; }
.pv-row.is-out { background: #f7f8fa; }
.pv-row.is-out .pv-r-name b, .pv-row.is-out .pv-r-price b { color: var(--v2-neutral); }
.pv-out-btn { background: #e9ecf1 !important; border-color: #e9ecf1 !important; color: var(--v2-neutral) !important; opacity: 1 !important; box-shadow: none !important; }

/* tile view (desktop only) */
.pv-list.is-tile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv-tile { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #fff; border: 1px solid var(--v2-line); border-radius: 15px; box-shadow: var(--v2-card-shadow); }
.pv-tile .pv-r-price { text-align: left; margin-top: auto; }
.pv-tile .pv-r-btns { grid-template-columns: 1fr; }
.pv-tile .pv-r-btns .pv-add { grid-column: 1; }
.pv-tile.is-out { background: #f7f8fa; }
.pv-tile.is-out .pv-r-name b, .pv-tile.is-out .pv-r-price b { color: var(--v2-neutral); }

/* loading rows */
.pv-skel-list { background: #fff; border: 1px solid var(--v2-line); border-radius: 15px; padding: 4px 20px; }
.pv-skel-list .v2-skel-row:last-child { border-bottom: 0; }
.pv-skel-list .v2-skel:first-child { flex: 1; }
.pv-skel-list .v2-skel + .v2-skel { width: 120px; flex: none; }

/* ---------- cart (6E) ---------- */
/* the cart: a drawer from the right on every screen (Lumina 11/21), over a scrim, the same contents as before */
.pv-cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-left: 1px solid var(--v2-line); box-shadow: -24px 0 48px -24px rgba(13, 27, 62, .35);
  padding: 20px 22px calc(22px + env(safe-area-inset-bottom));
  transform: translateX(105%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
.pv-cart.is-open { transform: none; }
.pv-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pv-cart-head h2:focus { outline: none; }
.pv-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--v2-line); border-radius: 10px; background: #fff; color: var(--v2-navy); font: 400 26px/1 var(--v2-font); cursor: pointer; }
.pv-x:hover { background: var(--v2-band); }
.pv-x:active { background: #e9eef6; }
.pv-cart-note { margin-top: 12px; font-size: 14.5px; }
.pv-cart-empty { margin-top: 12px !important; color: var(--v2-muted); }
.pv-cart-lines { list-style: none; margin: 8px 0 0; padding: 0; }
.pv-line { padding: 14px 0; border-bottom: 1px solid var(--v2-divider); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
.pv-line-name { font-weight: 700; color: var(--v2-navy); line-height: 1.35; overflow-wrap: anywhere; }
.pv-line-name span { font-weight: 500; color: var(--v2-muted); }
.pv-line-total { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.pv-line-meta { grid-column: 1 / -1; color: var(--v2-muted); font-size: 14.5px; }
.pv-line-note { grid-column: 1 / -1; color: var(--v2-warn); font-size: 14px; font-weight: 600; }
.pv-line-ctl { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.v2 .pv-line-ctl .v2-link { font-size: 15px; min-height: 40px; }
.pv-stepper { display: inline-flex; align-items: center; border: 1px solid #c9d3e3; border-radius: 10px; overflow: hidden; background: #fff; }
.pv-stepper button { width: 40px; height: 40px; border: 0; background: #fff; color: var(--v2-navy); font: 600 20px/1 var(--v2-font); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pv-stepper button:hover { background: var(--v2-band); }
.pv-stepper button:active { background: #e1e9f4; }
.pv-stepper button:disabled { opacity: .4; cursor: default; background: #fff; }
.pv-stepper button:focus-visible { outline-offset: -3px; }
.pv-stepper output { min-width: 36px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-qty { width: 48px; height: 40px; border: 0; border-left: 1px solid var(--v2-divider); border-right: 1px solid var(--v2-divider); text-align: center; font: 700 16px/1 var(--v2-font); color: var(--v2-text); font-variant-numeric: tabular-nums; background: #fff; appearance: none; -webkit-appearance: none; }
.pv-qty:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: -2px; border-radius: 0; }
.pv-cart-foot { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.v2 button.v2-link.pv-clear { align-self: center; font-size: 14.5px; min-height: 36px; }
.pv-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.pv-sum-strong { font-weight: 700; color: var(--v2-navy); font-size: 17.5px; }

/* the phone cart bar and sheet */
.pv-cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 0 var(--v2-gutter) env(safe-area-inset-bottom); border: 0; background: var(--v2-navy); color: #fff;
  font: 700 16.5px/1.2 var(--v2-font); cursor: pointer; box-shadow: 0 -8px 24px rgba(13, 27, 62, .18);
}
.pv-cartbar:active { background: #13254f; }
.pv-cartbar:focus-visible { outline: 2px solid var(--v2-sky); outline-offset: -4px; }
body.pv-sheet-open { overflow: hidden; }
.pv-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(13, 27, 62, .45); opacity: 0; transition: opacity .2s ease; }
.pv-scrim.is-on { opacity: 1; }

/* ---------- checkout (Part 7) ---------- */
.pv-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; align-items: center; }
.pv-step { display: flex; align-items: center; gap: 10px; color: var(--v2-muted); }
.pv-step + .pv-step::before { content: ''; flex: none; width: 70px; height: 2px; margin: 0 14px; border-radius: 2px; background: #c9d3e3; }
.pv-step.is-done + .pv-step::before { background: var(--v2-focus); }
.pv-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #c2cbda; font-size: 14px; font-weight: 800; color: var(--v2-muted); background: #fff; }
.pv-step.is-current .pv-dot { border-color: var(--v2-focus); color: var(--v2-focus); }
.pv-step.is-done .pv-dot { border-color: var(--v2-focus); background: var(--v2-focus); color: #fff; }
.pv-dot svg { width: 15px; height: 15px; }
.pv-dot svg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pv-step-label { font-size: 12.5px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.pv-step.is-current .pv-step-label, .pv-step.is-done .pv-step-label { color: var(--v2-focus); }

.pv-two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.pv-two-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pv-two-side { position: sticky; top: 84px; min-width: 0; }
.pv-box { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pv-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pv-box-head .v2-muted { font-size: 14.5px; }

.pv-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--v2-ok-bg); border: 1px solid #bfe3cd; color: #14532d; font-size: 15.5px; line-height: 1.5; }
.pv-banner svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.pv-banner svg circle, .pv-banner svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pv-banner b { display: block; font-weight: 700; }

/* Ship to */
.pv-addr { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 18px; border-radius: 12px; border: 1.5px solid var(--v2-focus); background: #f7faff; }
.pv-addr-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.5; overflow-wrap: anywhere; }
.pv-addr-text b { color: var(--v2-navy); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pv-addr-acts { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.v2 .pv-addr-acts .v2-link { font-size: 15px; min-height: 36px; }
.pv-pick { display: flex; flex-direction: column; gap: 10px; }
.pv-pick-label { font-size: 15px; font-weight: 700; color: var(--v2-secondary); }
.pv-opt {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--v2-line); border-radius: 12px; background: #fff;
  cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%;
}
.pv-opt:hover { border-color: #b7c4da; background: #fbfcfe; }
.pv-opt.is-on { border: 1.5px solid var(--v2-focus); background: #f7faff; padding: 13.5px 15.5px; }
.pv-opt input { flex: none; width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--v2-blue); }
.pv-opt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.pv-opt-title { font-weight: 700; color: var(--v2-navy); }
.pv-opt-sub { color: var(--v2-muted); font-size: 14.5px; }
.pv-opt-price { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--v2-navy); }
.pv-opt-add { color: var(--v2-blue); font-weight: 600; }
.pv-rates { display: flex; flex-direction: column; gap: 10px; }
.pv-rate-skel { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--v2-line); border-radius: 12px; }
.pv-rate-skel .v2-skel:first-child { width: 19px; height: 19px; border-radius: 50%; flex: none; }
.pv-rate-skel .v2-skel:nth-child(2) { flex: 1; }
.pv-rate-skel .v2-skel:last-child { width: 64px; flex: none; }

/* the address form */
.pv-form { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px 14px; }
.pv-form .pv-wide { grid-column: 1 / -1; }
.pv-form-acts { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pv-form-error { grid-column: 1 / -1; }

.pv-co-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pv-co-nav .v2-link { min-height: 44px; display: inline-flex; align-items: center; }

/* review */
.pv-review { display: flex; flex-direction: column; gap: 18px; }
.pv-rv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.v2 .pv-rv-head .v2-link { font-size: 15.5px; }
.pv-rv-text { color: var(--v2-secondary); overflow-wrap: anywhere; }
.pv-rv-items { list-style: none; margin: 0; padding: 0; }
.pv-rv-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--v2-divider); }
.pv-rv-items li:first-child { border-top: 0; padding-top: 0; }
.pv-next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: next; }
.pv-next li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; color: var(--v2-secondary); }
.pv-next-n { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #c2cbda; color: var(--v2-muted); font-weight: 800; font-size: 14px; background: #fff; }
.pv-next li.is-on { color: var(--v2-navy); font-weight: 700; }
.pv-next li.is-on .pv-next-n { background: var(--v2-focus); border-color: var(--v2-focus); color: #fff; }

/* the order summary card */
.pv-summary { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.pv-sum-lines { list-style: none; margin: 0; padding: 0; }
.pv-sum-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--v2-divider); }
.pv-sum-lines li:first-child { padding-top: 2px; }
.pv-sum-name { font-weight: 700; color: var(--v2-navy); line-height: 1.35; overflow-wrap: anywhere; }
.pv-sum-name span { font-weight: 500; color: var(--v2-muted); }
.pv-sum-meta { grid-column: 1; color: var(--v2-muted); font-size: 14.5px; }
.pv-sum-amt { grid-column: 2; grid-row: 1; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-sum-rows { display: flex; flex-direction: column; gap: 8px; }
.pv-sum-rows .pv-sum-row span:first-child { color: var(--v2-secondary); }
.pv-sum-total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--v2-line); font-weight: 800; font-size: 19px; color: var(--v2-navy); }
.pv-sum-total span:first-child { color: var(--v2-navy) !important; }
.pv-sum-pending { color: var(--v2-muted); font-weight: 500; }
.pv-sum-row .v2-skel { width: 72px; height: 14px; display: inline-block; }
.pv-sum-note { font-size: 13.5px; line-height: 1.55; color: var(--v2-muted); }

/* ---------- order and pay screen (Part 8) ---------- */
.pv-pay-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pv-pay-head h1:focus { outline: none; }
#view-pay .pv-pay-head + .pv-sub { margin-top: 6px !important; }
#view-pay .pv-two, #view-pay > .v2-wrap > .v2-alert { margin-top: 22px; }
.pv-copyrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--v2-line); border-radius: 12px; }
.pv-copyrow-plain { border: 0; padding: 0; }
.pv-copy-k { font-size: 12.5px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; color: var(--v2-muted); }
.pv-copy-v { font-weight: 800; color: var(--v2-navy); font-size: 18px; overflow-wrap: anywhere; }
.v2 .pv-copy { min-height: 36px; padding: 0 14px; font-size: 14.5px; }
.pv-copy.is-done { color: var(--v2-ok); border-color: #bfe3cd; background: var(--v2-ok-bg); }
.pv-ways { border: 0; margin: 4px 0 0; padding: 0; min-width: 0; }
.pv-ways legend { padding: 0; margin-bottom: 10px; }
.pv-ways-list { display: flex; flex-direction: column; gap: 10px; }
.pv-way-detail { padding: 14px 16px; border-radius: 12px; background: var(--v2-band); display: flex; flex-direction: column; gap: 12px; }
.pv-way-detail .v2-btn { align-self: flex-start; }
.pv-paylines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pv-pl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 6px 0; overflow-wrap: anywhere; }
.pv-pl-k { min-width: 120px; color: var(--v2-muted); font-size: 14.5px; }
.pv-pl-v { font-weight: 700; color: var(--v2-navy); font-variant-numeric: tabular-nums; }
.pv-pl .pv-copy { margin-left: auto; }
.pv-pl-head { font-weight: 800; color: var(--v2-navy); padding-top: 10px; }
.pv-pl-rule { color: var(--v2-secondary); font-size: 15px; }
.pv-pay-hint { font-size: 15px; color: var(--v2-secondary); }
.pv-proof { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--v2-divider); }
.pv-proof .v2-btn { align-self: flex-start; }
.pv-file { font: inherit; font-size: 15.5px; max-width: 100%; }
.pv-file[aria-invalid='true'] { outline: 2px solid var(--v2-bad); outline-offset: 2px; border-radius: 6px; }
.pv-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pv-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--v2-muted); }
.pv-progress li + li::before { content: ''; position: absolute; top: 14px; right: calc(50% + 21px); left: calc(-50% + 21px); height: 2px; border-radius: 2px; background: #c9d3e3; }
.pv-progress li.is-done + li.is-done::before { background: var(--v2-focus); }
.pv-progress li.is-done { color: var(--v2-navy); }
.pv-progress li.is-done .pv-dot { border-color: var(--v2-focus); background: var(--v2-focus); color: #fff; }
.pv-progress .pv-step-at { display: block; margin-top: -4px; font-size: 13px; font-weight: 500; color: var(--v2-muted); }
.pv-tracking { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; color: var(--v2-secondary); overflow-wrap: anywhere; }
.pv-tracking[hidden] { display: none; }
.pv-track-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pv-track-said { margin: 0; }
.pv-ended { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pv-pay-cancel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pv-confirm { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--v2-line); background: #fff; }
.pv-confirm-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.v2 .pv-danger { background: var(--v2-bad); border-color: var(--v2-bad); box-shadow: none; }
.v2 .pv-danger:hover { background: #c4321f; border-color: #c4321f; }
.v2 .pv-danger:active { background: #9a1d14; border-color: #9a1d14; }

/* ---------- buyer account (Part 9) ---------- */
.pv-acct { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.pv-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 84px; }
.pv-side a { display: flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid transparent; border-radius: 12px; color: var(--v2-secondary); font-weight: 600; text-decoration: none; }
.pv-side a:hover { color: var(--v2-navy); background: rgba(255, 255, 255, .6); }
.pv-side a:active { background: #fff; }
.pv-side a[aria-current='page'] { background: #fff; border-color: var(--v2-line); color: var(--v2-navy); font-weight: 700; box-shadow: 0 6px 18px -14px rgba(13, 27, 62, .35); }
.pv-acct-main { min-width: 0; }
.pv-acct-main > section { display: flex; flex-direction: column; gap: 18px; }
.pv-acct-main > section > .v2-h1 + .pv-sub { margin-top: -12px !important; }
.pv-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pv-panel-head h1:focus, .pv-acct-main h1:focus, .pv-two-main h1:focus, .pv-cat-main h1:focus { outline: none; }

/* Orders table */
.pv-orders { overflow: hidden; }
.pv-otable { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pv-c-order { width: 165px; } .pv-c-total { width: 115px; } .pv-c-status { width: 222px; } .pv-c-act { width: 132px; }
.pv-otable th { text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; color: var(--v2-muted); padding: 14px 16px 12px; border-bottom: 1px solid var(--v2-line); }
.pv-otable th.pv-r { text-align: right; }
.pv-otable td { padding: 14px 16px; vertical-align: top; border-top: 1px solid var(--v2-divider); overflow-wrap: anywhere; }
.pv-otable tbody tr:first-child td { border-top: 0; }
.pv-otable tbody tr.pv-orow:nth-child(4n+3) td { background: var(--v2-tint); }
.pv-otable td.pv-r { text-align: right; }
.pv-o-num { font-weight: 800; color: var(--v2-navy); text-decoration: none; border-radius: 4px; }
.pv-o-num:hover { color: var(--v2-blue); text-decoration: underline; text-underline-offset: 3px; }
.pv-o-sub { display: block; color: var(--v2-muted); font-size: 14.5px; }
.pv-o-total { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-otable .pv-o-num { white-space: nowrap; }
.pv-o-acts { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 14px; }
.v2 .pv-o-acts .v2-link { font-size: 15px; white-space: nowrap; }
.pv-otable tr.pv-omsg td { border-top: 0; padding-top: 0; }
/* Status: the pill, when it got there, and the tracking number (the carrier's page) once it ships */
.pv-o-status { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.pv-o-pillrow { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.pv-o-status .pv-o-when { font-size: 14px; color: var(--v2-muted); }
.pv-o-track { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--v2-secondary); overflow-wrap: anywhere; line-height: 1.35; }
a.pv-o-track { color: var(--v2-blue); text-decoration: underline; text-underline-offset: 3px; border-radius: 4px; }
a.pv-o-track:hover { color: var(--v2-blue-hover); }
.pv-otable .v2-skel { display: block; height: 14px; }
.pv-more { display: flex; justify-content: center; }

/* Addresses */
.pv-addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pv-acard { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pv-acard.is-form { grid-column: 1 / -1; }
.pv-acard-acts { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.v2 .pv-acard-acts .v2-link { font-size: 15px; min-height: 36px; }
.pv-biz-name { font-weight: 700; color: var(--v2-navy); font-size: 18px; }
.pv-narrow { max-width: 560px; }

/* ---------- phones and tablets (860px and below) ---------- */
@media (max-width: 860px) {
  .pv-page { padding: 22px 0 40px; }
  .pv-cat, .pv-two, .pv-acct { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pv-two-side { position: static; }
  .pv-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pv-search { grid-column: 1 / -1; }
  .pv-select { width: auto; min-width: 0; }
  .pv-select .v2-input { font-size: 15.5px; padding-right: 34px; background-position: right 12px center; }
  .pv-toggle { display: none; }
  .pv-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'name price' 'btns btns'; gap: 10px 14px; padding: 14px 16px; }
  .pv-r-name { grid-area: name; }
  .pv-r-price { grid-area: price; }
  .pv-r-btns { grid-area: btns; }
  .pv-r-btns .v2-btn, .pv-r-btns .v2-btn-secondary { min-height: 44px; }
  .pv-list.is-tile { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* the navy cart bar opens the cart drawer */
  .pv-cartbar:not([hidden]) { display: flex; }
  body.pv-has-bar { padding-bottom: 60px; }
  .pv-cart { width: 100vw; max-width: 440px; padding: 16px var(--v2-gutter) calc(20px + env(safe-area-inset-bottom)); }
  .pv-stepper button { width: 44px; height: 44px; }
  .pv-qty { height: 44px; }

  .pv-steps { margin-bottom: 16px; }
  .pv-step { gap: 7px; }
  .pv-step + .pv-step::before { width: 18px; margin: 0 8px; }
  .pv-step-label { font-size: 12px; letter-spacing: .04em; }
  .pv-box, .pv-summary { padding: 18px 16px; }
  .pv-addr { flex-direction: column; }
  .pv-addr-acts { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 10px 16px; }
  .pv-form { grid-template-columns: 1fr 1fr; }
  .pv-form .pv-city { grid-column: 1 / -1; }
  .pv-co-nav { flex-direction: column-reverse; align-items: stretch; }
  .pv-co-nav .v2-btn { width: 100%; }
  .pv-co-nav .v2-link { justify-content: center; }
  .pv-next { gap: 8px; }
  .pv-next li { font-size: 13.5px; align-items: center; text-align: center; }
  .pv-copyrow { grid-template-columns: minmax(0, 1fr) auto; }
  .pv-copyrow .pv-copy-k { grid-column: 1 / -1; }
  .pv-copyrow-plain { grid-template-columns: minmax(0, 1fr) auto; }
  .pv-copyrow-plain .pv-copy-k { grid-column: 1; }
  .pv-progress li { font-size: 13px; }

  .pv-side { position: static; flex-direction: row; gap: 6px; padding: 4px; border-radius: 999px; background: #e7ecf4; }
  .pv-side a { flex: 1; justify-content: center; min-height: 44px; padding: 0 8px; border-radius: 999px; font-size: 15px; }
  .pv-side a[aria-current='page'] { box-shadow: 0 2px 8px -4px rgba(13, 27, 62, .3); }
  .pv-panel-head { flex-direction: column; align-items: stretch; }
  .pv-addr-grid { grid-template-columns: minmax(0, 1fr); }

  /* Orders: one stacked block per order */
  .pv-otable, .pv-otable tbody { display: block; }
  .pv-otable colgroup, .pv-otable thead { display: none; }
  .pv-otable tr.pv-orow { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'id total' 'items status' 'acts acts'; gap: 8px 14px; padding: 14px 16px; border-top: 1px solid var(--v2-divider); }
  .pv-otable tbody tr.pv-orow:first-child { border-top: 0; }
  .pv-otable tr.pv-orow td { display: block; padding: 0; border: 0; background: none !important; }
  .pv-otable tbody tr.pv-orow:nth-child(4n+3) { background: var(--v2-tint); }
  .pv-o-cell-id { grid-area: id; }
  .pv-o-cell-items { grid-area: items; }
  .pv-o-cell-total { grid-area: total; text-align: right !important; align-self: start; }
  .pv-o-cell-status { grid-area: status; justify-self: end; align-self: start; }
  .pv-o-status { align-items: flex-end; text-align: right; }
  .pv-track-go .v2-btn { width: 100%; }
  .pv-o-cell-acts { grid-area: acts; }
  .pv-o-acts { justify-content: flex-start; gap: 4px 20px; }
  .pv-o-acts .v2-link { min-height: 40px; display: inline-flex; align-items: center; }
  .pv-otable tr.pv-omsg { display: block; padding: 0 16px 14px; }
  .pv-otable tr.pv-omsg td { display: block; padding: 0; }
}
@media (max-width: 380px) {
  .pv-step-label { font-size: 11.5px; letter-spacing: .03em; }
  .pv-step + .pv-step::before { width: 12px; margin: 0 6px; }
}
@media (prefers-reduced-motion: reduce) { .pv-cart, .pv-scrim { transition: none !important; } }

/* ---------- narrow phones (560px and below) ---------- */
@media (max-width: 560px) {
  .pv-auth-links { flex-direction: column; gap: 0; }
  .v2 .pv-auth-links .v2-link + .v2-link { text-align: left; }
  .pv-pl-k { min-width: 52px; }
  .pv-pl-v { flex: 1 1 0; min-width: 0; }
}

/* Orders, Addresses, Account settings: the way back to the catalog, above the account menu */
.pv-back-cat { margin-bottom: 14px; }
@media (max-width: 860px) { .pv-back-cat { margin-bottom: 8px; } }

/* ---------- catalog and adding to the order (Lumina 11/22) ----------
   Toolbar (search with a "/" hint, sort, In stock), category chips with counts, a product count, cards in a grid,
   a full-width stepper once in the order, Quick view, the order panel on wide screens and the bottom bar below 1024px.
   Motion is opacity and movement only, and all of it is off with reduced motion (v2.css). */
.pv-cat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1024px) { .pv-cat { grid-template-columns: minmax(0, 1fr) 320px; } }
.pv-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pv-search { position: relative; flex: 1 1 100%; min-width: 0; }
.pv-search .v2-input { padding-right: 46px; }
.pv-kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); min-width: 24px; height: 24px; padding: 0 7px;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--v2-line); border-bottom-width: 2px;
  border-radius: 6px; background: var(--v2-band); color: var(--v2-muted); font: 600 13px/1 var(--v2-font); pointer-events: none;
}
.pv-search .v2-input:focus ~ .pv-kbd, .pv-search .v2-input:not(:placeholder-shown) ~ .pv-kbd { opacity: 0; }
@media (hover: none) { .pv-kbd { display: none; } .pv-search .v2-input { padding-right: 14px; } }
.pv-tools { display: flex; align-items: center; gap: 12px; flex: 1 1 100%; justify-content: space-between; }
.pv-tools .pv-select { width: 230px; max-width: 60%; }
.pv-switch {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none;
  color: var(--v2-navy); font: 600 15.5px/1 var(--v2-font); cursor: pointer; border-radius: 8px;
}
.pv-switch-track { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #c9d3e3; transition: background-color .2s ease; flex: none; }
.pv-switch-dot { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(13, 27, 62, .3); transition: transform .2s ease; }
.pv-switch[aria-checked='true'] .pv-switch-track { background: var(--v2-blue); }
.pv-switch[aria-checked='true'] .pv-switch-dot { transform: translateX(18px); }
.pv-switch:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: 2px; }

.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 14px; border: 1.5px solid #c9d3e3;
  border-radius: 999px; background: #fff; color: var(--v2-navy); font: 600 15px/1 var(--v2-font); cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.pv-chip:hover { border-color: var(--v2-blue); }
.pv-chip:active { transform: scale(.95); }
.pv-chip.is-on { background: var(--v2-navy); border-color: var(--v2-navy); color: #fff; }
.pv-chip-n { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--v2-band); color: var(--v2-muted); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pv-chip.is-on .pv-chip-n { background: rgba(255, 255, 255, .18); color: #fff; }
.pv-chip:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: 2px; }
@media (max-width: 860px) {
  .pv-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--v2-gutter)); padding: 2px var(--v2-gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding-inline: var(--v2-gutter); }
  .pv-chips::-webkit-scrollbar { display: none; }
  .pv-chip { flex: none; scroll-snap-align: start; }
}
.pv-count { margin-top: -6px !important; color: var(--v2-muted); font-size: 14.5px; font-weight: 600; }

.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .pv-grid { grid-template-columns: minmax(0, 1fr); } }
.pv-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--v2-line);
  border-radius: 15px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .pv-card:not(.is-out):hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(13, 27, 62, .35); }
  .pv-card:hover .pv-quick, .pv-card:focus-within .pv-quick { opacity: 1; transform: translate(-50%, 0); }
}
.pv-card.is-in { border-color: var(--v2-blue); box-shadow: 0 0 0 3px rgba(17, 87, 181, .16); }
.pv-card.is-in:hover { box-shadow: 0 0 0 3px rgba(17, 87, 181, .16), 0 18px 36px -20px rgba(13, 27, 62, .35); }
.pv-card.is-out { background: #f9fafc; }
.pv-card.is-out .pv-card-name, .pv-card.is-out .pv-card-price b { color: var(--v2-neutral); }
.pv-card-photo { position: relative; }
.pv-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; width: 100%; }
.pv-photo-art { background: linear-gradient(160deg, #eef3fb 0%, #dfe8f6 100%); color: var(--v2-navy); }
.pv-photo-art[data-group='bestsellers'] { background: linear-gradient(160deg, #e7eefb 0%, #d3e0f5 100%); }
.pv-photo-art[data-group='blends'] { background: linear-gradient(160deg, #edf1f9 0%, #dce3f0 100%); }
.pv-photo-art[data-group='supplies'] { background: linear-gradient(160deg, #f1f4f8 0%, #e3e8ef 100%); }
.pv-vial { width: 30%; max-width: 74px; height: auto; fill: rgba(255, 255, 255, .7); stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 8px rgba(13, 27, 62, .14)); }
.pv-quick {
  position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 6px); opacity: 0; min-height: 36px; padding: 0 16px;
  border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--v2-navy); font: 700 14px/1 var(--v2-font);
  box-shadow: 0 6px 16px rgba(13, 27, 62, .2); cursor: pointer; transition: opacity .18s ease, transform .18s ease;
}
.pv-quick:focus-visible { opacity: 1; transform: translate(-50%, 0); outline: 2px solid var(--v2-focus); outline-offset: 2px; }
@media (hover: none) { .pv-quick { opacity: 1; transform: translate(-50%, 0); bottom: 10px; } }
.pv-badge {
  position: absolute; top: 10px; right: 10px; min-width: 34px; height: 28px; padding: 0 9px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; background: var(--v2-blue); color: #fff;
  font: 800 14px/1 var(--v2-font); font-variant-numeric: tabular-nums; box-shadow: 0 4px 10px rgba(17, 87, 181, .3);
}
.pv-card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.pv-cat-line { color: var(--v2-muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.v2 .pv-card-name { color: var(--v2-navy); font-size: 16.5px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pv-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-card-price { margin-top: auto !important; padding-top: 4px; color: var(--v2-muted); font-size: 14px; }
.pv-card-price b { color: var(--v2-navy); font-size: 19px; font-weight: 800; }
.pv-card-hint { color: var(--v2-warn); font-size: 13.5px; font-weight: 600; }
.pv-add-btn { width: 100%; min-height: 46px; }
.pv-card .pv-add-btn:not(:disabled) { border-color: var(--v2-blue); color: var(--v2-blue); }
.pv-add-btn.is-out { opacity: .7; cursor: default; }
.pv-add-step { width: 100%; }
.pv-stepper-full { display: flex; width: 100%; }
.pv-stepper-full button { flex: none; width: 52px; height: 46px; }
.pv-stepper-full .pv-qty { flex: 1; width: auto; min-width: 0; height: 46px; }
.pv-card.is-in .pv-stepper-full { border-color: var(--v2-blue); }

/* Quick view */
.pv-qv { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pv-qv-scrim { z-index: 79; }
.pv-qv-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); width: min(760px, 100%); max-height: calc(100vh - 40px);
  overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(13, 27, 62, .45);
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .22s ease, transform .22s ease;
}
.pv-qv.is-open .pv-qv-card { opacity: 1; transform: none; }
.pv-qv-x { position: absolute; top: 10px; right: 10px; z-index: 1; }
.pv-photo-lg { aspect-ratio: auto; height: 100%; min-height: 260px; }
.pv-photo-lg .pv-vial { width: 32%; max-width: 110px; }
.pv-qv-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; }
.v2 .pv-qv-title { color: var(--v2-navy); font-size: 22px; font-weight: 800; line-height: 1.25; padding-right: 30px; }
.pv-qv-title:focus { outline: none; }
.pv-qv-price { color: var(--v2-muted); font-size: 14.5px; }
.pv-qv-price b { color: var(--v2-navy); font-size: 22px; font-weight: 800; }
.pv-qv-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.pv-qv-facts dt { color: var(--v2-muted); font-weight: 600; }
.pv-qv-facts dd { margin: 0; color: var(--v2-text); font-variant-numeric: tabular-nums; }
.pv-qv-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
@media (max-width: 640px) {
  .pv-qv { align-items: flex-end; padding: 0; }
  .pv-qv-card { grid-template-columns: minmax(0, 1fr); border-radius: 18px 18px 0 0; max-height: 92vh; padding-bottom: env(safe-area-inset-bottom); }
  .pv-photo-lg { min-height: 160px; aspect-ratio: 16 / 7; }
}

/* the order beside the catalog (1024px and up) */
.pv-order { display: none; }
@media (min-width: 1024px) {
  .pv-order { display: block; position: sticky; top: 88px; }
  .pv-order-in { background: #fff; border: 1px solid var(--v2-line); border-radius: 15px; box-shadow: var(--v2-card-shadow); padding: 18px 18px 20px; max-height: calc(100vh - 110px); display: flex; flex-direction: column; }
}
.pv-order-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pv-order-kits { color: var(--v2-muted); font-size: 14.5px; font-weight: 600; }
.pv-order-empty { margin-top: 12px !important; color: var(--v2-muted); font-size: 15px; }
.pv-order-lines { list-style: none; margin: 12px 0 0; padding: 0; overflow-y: auto; min-height: 0; }
.pv-oline { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--v2-divider); }
.pv-oline:first-child { border-top: 0; }
.pv-photo-sm { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 9px; }
.pv-photo-sm .pv-vial { width: 52%; filter: none; }
.pv-oline-name { min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 14px; line-height: 1.35; }
.pv-oline-name b { color: var(--v2-navy); font-weight: 700; overflow-wrap: anywhere; }
.pv-oline-name span { color: var(--v2-muted); font-variant-numeric: tabular-nums; }
.pv-oline-price { font-weight: 700; color: var(--v2-navy); font-size: 14.5px; }
.pv-order-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--v2-line); }

/* the bottom bar (under 1024px) */
.pv-obar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px var(--v2-gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid rgba(13, 27, 62, .1); box-shadow: 0 -10px 30px -12px rgba(13, 27, 62, .22);
  transform: translateY(110%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.pv-obar.is-up { transform: none; }
.pv-obar-sum { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv-obar-sum b { color: var(--v2-navy); font-size: 22px; font-weight: 800; line-height: 1.1; }
.pv-obar-sum span { color: var(--v2-muted); font-size: 14px; font-weight: 600; }
.pv-obar .v2-btn { flex: none; min-height: 48px; padding: 0 18px; }
@media (min-width: 1024px) { .pv-obar { display: none !important; } }
body.pv-has-bar { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.pv-has-bar { padding-bottom: 0; } }

/* motion */
@keyframes pv-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pv-pop { 0% { transform: scale(.92); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes pv-bump { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
.pv-card.is-enter { animation: pv-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.pv-card.is-enter[data-enter='1'] { animation-delay: .03s; } .pv-card.is-enter[data-enter='2'] { animation-delay: .06s; }
.pv-card.is-enter[data-enter='3'] { animation-delay: .09s; } .pv-card.is-enter[data-enter='4'] { animation-delay: .12s; }
.pv-card.is-enter[data-enter='5'] { animation-delay: .15s; } .pv-card.is-enter[data-enter='6'] { animation-delay: .18s; }
.pv-card.is-enter[data-enter='7'] { animation-delay: .21s; } .pv-card.is-enter[data-enter='8'] { animation-delay: .24s; }
.pv-card.is-enter[data-enter='9'] { animation-delay: .27s; } .pv-card.is-enter[data-enter='10'] { animation-delay: .30s; }
.pv-card.is-enter[data-enter='11'] { animation-delay: .33s; } .pv-card.is-enter[data-enter='12'] { animation-delay: .36s; }
.pv-add-btn.is-pop, .pv-add-step.is-pop { animation: pv-pop .3s ease-out both; }
.pv-badge.is-bump, .pv-chip-n.is-bump, .v2-cart-badge.is-bump { animation: pv-bump .35s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .pv-card, .pv-quick, .pv-obar, .pv-qv-card, .pv-chip, .pv-switch-track, .pv-switch-dot { transition: none !important; animation: none !important; }
  .pv-card:hover { transform: none !important; }
}
.pv-skel-photo { display: block; aspect-ratio: 4 / 3; width: 100%; height: auto !important; border-radius: 0; }
.pv-card-skel { gap: 10px; padding-bottom: 16px; }
.pv-card-skel > .v2-skel:not(.pv-skel-photo) { margin: 0 16px; height: 14px; }

/* ---------- the simple list (Lumina 11/22, second round): no photos, no Quick view ---------- */
.pv-cat-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pv-sheet-btn { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.pv-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--v2-line); border-radius: 15px; overflow: hidden; }
.pv-li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 300px; gap: 8px 20px; align-items: center;
  padding: 14px 18px; border-top: 1px solid var(--v2-divider); background: #fff; transition: background-color .2s ease, box-shadow .2s ease;
}
.pv-li:first-child { border-top: 0; }
.pv-li.is-in { background: #f1f6fd; box-shadow: inset 4px 0 0 var(--v2-blue); }
.pv-li.is-out { background: #f9fafc; }
.pv-li.is-out .pv-li-name, .pv-li.is-out .pv-li-price b { color: var(--v2-neutral); }
.pv-li-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.v2 .pv-li-name { margin: 0; color: var(--v2-navy); font-size: 16.5px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pv-li-size { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--v2-muted); font-size: 14.5px; }
.pv-li-low { color: var(--v2-warn); font-weight: 600; }
.pv-li-out { color: var(--v2-neutral); font-weight: 600; }
.pv-li-in { color: var(--v2-blue); font-weight: 700; }
.pv-li-hint { color: var(--v2-warn); font-size: 13.5px; font-weight: 600; }
.pv-li-price { text-align: right; white-space: nowrap; color: var(--v2-muted); font-size: 14px; }
.pv-li-price b { color: var(--v2-navy); font-size: 18px; font-weight: 800; }
.pv-li-price small { display: block; font-size: 13px; }
.pv-li-acts { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: center; }
.pv-li-coa { min-height: 46px; padding: 0 10px; justify-content: center; font-size: 15px; }
.pv-li-coa:disabled { opacity: .45; cursor: default; }
.pv-li .pv-add-btn { width: 100%; min-height: 46px; }
.pv-li .pv-add-btn:not(:disabled) { border-color: var(--v2-blue); color: var(--v2-blue); }
.pv-li .pv-add-step, .pv-li .pv-stepper-full { width: 100%; }
.pv-li.is-in .pv-stepper-full { border-color: var(--v2-blue); }
.pv-li.is-enter { animation: pv-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.pv-li.is-enter[data-enter='1'] { animation-delay: .03s; } .pv-li.is-enter[data-enter='2'] { animation-delay: .06s; }
.pv-li.is-enter[data-enter='3'] { animation-delay: .09s; } .pv-li.is-enter[data-enter='4'] { animation-delay: .12s; }
.pv-li.is-enter[data-enter='5'] { animation-delay: .15s; } .pv-li.is-enter[data-enter='6'] { animation-delay: .18s; }
.pv-li.is-enter[data-enter='7'] { animation-delay: .21s; } .pv-li.is-enter[data-enter='8'] { animation-delay: .24s; }
.pv-li.is-enter[data-enter='9'] { animation-delay: .27s; } .pv-li.is-enter[data-enter='10'] { animation-delay: .30s; }
.pv-li.is-enter[data-enter='11'] { animation-delay: .33s; } .pv-li.is-enter[data-enter='12'] { animation-delay: .36s; }
.pv-li-skel { grid-template-columns: minmax(0, 1fr) 120px; }
.pv-li-skel .v2-skel { height: 14px; }
@media (max-width: 1180px) and (min-width: 1024px) { .pv-li { grid-template-columns: minmax(0, 1fr) auto; } .pv-li-acts { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  /* phones: name, size and price on top; COA and add-to-order under it, full width */
  .pv-li { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; }
  .pv-li-acts { grid-column: 1 / -1; }
  /* chips wrap onto a second line instead of scrolling sideways */
  .pv-chips { flex-wrap: wrap !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
  .pv-tools .pv-select { width: auto; flex: 1 1 auto; max-width: none; min-width: 0; }
  .pv-sheet-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pv-li { transition: none !important; animation: none !important; } }
/* the order panel without photos */
.pv-oline { grid-template-columns: minmax(0, 1fr) auto; }
