/* Bulk order page (bulk.html) — loaded only there. Uses the site's own design tokens.
   Accessibility notes: every control is at least 44px tall; selected / out-of-stock / savings are shown with
   TEXT and shape as well as colour; focus outlines are thick and use the dark text colour so they show on
   both white and blue; nothing relies on hover; motion is skipped for visitors who prefer reduced motion. */

.bulk-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── hero ────────────────────────────────────────────────────────── */
.bulk-hero { padding: 64px 0 56px; background: linear-gradient(160deg, #fff6ef 0%, #fbe3d8 55%, #f2d3d6 100%); text-align: center; }
.bulk-hero h1 { font-size: clamp(34px, 5vw, 46px); font-weight: 700; margin: 0; text-wrap: balance; }
.bulk-hero p { color: var(--text-dim); font-size: 16px; max-width: 58ch; margin: 16px auto 0; line-height: 1.6; }

/* ── "how bulk pricing works" ────────────────────────────────────── */
.bulk-h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--text); }
.bulk-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0 0 20px; }
.bulk-how li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-card); border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 18px 20px; }
.bulk-how-n { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--accent-bright); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 15px; }
.bulk-how h3 { font-size: 16.5px; margin: 0 0 4px; color: var(--text); }
.bulk-how p { font-size: 14.5px; line-height: 1.55; color: var(--text-dim); margin: 0; }

.bulk-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0 0 16px; }
.bulk-tier { background: var(--bg-card); border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 18px 22px; text-align: left; }
.bulk-tier-units { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.bulk-tier-pct { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1.1; margin-top: 4px; color: var(--accent-bright); }
.bulk-tier-note { font-size: 13.5px; color: var(--text-dim); margin-top: 4px; }
.bulk-example { margin: 0 0 12px; padding: 16px 20px; background: color-mix(in srgb, var(--accent) 7%, var(--bg-card)); border: 1.5px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 12px; font-size: 15px; line-height: 1.6; color: var(--text); }
.bulk-rules { font-size: 14px; line-height: 1.65; color: var(--text-dim); max-width: 80ch; margin: 0 0 30px; }
.bulk-rules strong { color: var(--text); }
.bulk-rules a { color: var(--accent-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── search + category filter ────────────────────────────────────── */
.bulk-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 8px; }
.bulk-toolbar .search-bar-wrap { flex: 1 1 280px; margin: 0; max-width: 420px; }
.bulk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bulk-chip {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  min-height: 44px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: 999px; background: var(--bg-card); color: var(--text); cursor: pointer;
}
.bulk-chip[aria-pressed="true"] { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; }

/* ── product cards ───────────────────────────────────────────────── */
.bulk-cat-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin: 46px 0 20px; color: var(--text); }
.bulk-cat-bar { width: 6px; height: 1.05em; border-radius: 4px; background: var(--cat-accent); flex-shrink: 0; }
.bulk-cat-count { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
/* the whole build area is a centred column, so three cards come out about 320px wide (15% narrower than before) */
/* Build area = product cards (2 × 320px) + 32px gap + the 360px order panel. Same specificity as the site's `.dark .container` (1240px). */
.dark .bulk-wrap { max-width: 1116px; }
.bulk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.bulk-card { display: flex; flex-direction: column; background: var(--bg-card); border: 2px solid var(--line-strong); border-radius: 16px; padding: 11px 11px 16px; scroll-margin-top: 28px; }
.bulk-card.has-qty { border-color: var(--accent-bright); background: color-mix(in srgb, var(--accent) 3%, var(--bg-card)); }
.bulk-card.is-flash { animation: bulk-flash 1.8s ease; }
@keyframes bulk-flash { 0%, 60% { box-shadow: 0 0 0 4px var(--accent-bright); } 100% { box-shadow: 0 0 0 4px transparent; } }
@media (prefers-reduced-motion: reduce) { .bulk-card.is-flash { animation: none; box-shadow: 0 0 0 4px var(--accent-bright); } }
/* the same vial picture as the shop cards, just bigger (a square picture area instead of a ~100px thumbnail) */
.bulk-card .vial-stage { margin: 0 0 12px; border-radius: 10px; aspect-ratio: 1 / 1; }
.bulk-card-body { padding: 0 6px; display: flex; flex-direction: column; flex: 1; }
.bulk-card-name { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin: 0; color: var(--text); }
.bulk-card-meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin: 4px 0 0; }

/* vial size: native radio buttons dressed as pills (so arrow keys + screen readers just work) */
.bulk-sizes { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.bulk-sizes legend { padding: 0; margin: 0 0 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.bulk-size-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bulk-size { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; }
.bulk-size input { position: absolute; top: 0; left: 0; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.bulk-size-txt {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; border: 2px solid var(--line-strong); border-radius: 999px;
  background: var(--bg-card); color: var(--text); font-family: var(--mono); font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
}
.bulk-size input:checked + .bulk-size-txt { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; }
.bulk-size input:checked + .bulk-size-txt::before { content: "\2713"; content: "\2713" / ""; font-size: 14px; }
.bulk-size input:focus-visible + .bulk-size-txt { outline: 3px solid var(--text); outline-offset: 3px; }
.bulk-size input:disabled { cursor: not-allowed; }
.bulk-size input:disabled + .bulk-size-txt { background: var(--bg-elevated); border-style: dashed; color: var(--text-dim); text-decoration: line-through; }
.bulk-size-oos { margin-top: 4px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--text-dim); }
.bulk-size-badge { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent-bright); }
.bulk-size input:checked + .bulk-size-txt .bulk-size-badge { background: #fff; color: var(--accent-bright); }

/* price per vial: regular vs bulk, side by side in plain words */
.bulk-prices { margin: 14px 0 0; padding: 12px 14px; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 8px; }
.bulk-pr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bulk-pr dt { margin: 0; font-size: 13.5px; color: var(--text-dim); }
.bulk-pr dd { margin: 0; font-size: 14px; color: var(--text); text-align: right; }
.bulk-pr s { color: var(--text-dim); text-decoration-thickness: 2px; }
.bulk-pr-main dt { color: var(--text); font-weight: 700; }
.bulk-pr-main dd strong { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--accent-bright); }
.bulk-off { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--accent-bright); color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; vertical-align: 3px; }
.bulk-pr-save { padding-top: 8px; border-top: 1.5px dashed var(--line-strong); }
.bulk-pr-save dt, .bulk-pr-save dd { color: var(--text); font-weight: 700; }

.bulk-ladder-title { margin: 12px 0 6px; font-size: 12.5px; line-height: 1.4; color: var(--text-dim); }
.bulk-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bulk-ladder li { text-align: center; padding: 8px 4px; background: var(--bg-card); border: 2px solid var(--line-strong); border-radius: 10px; }
.bulk-ladder li[aria-current="true"] { border-color: var(--accent-bright); background: color-mix(in srgb, var(--accent) 10%, var(--bg-card)); }
.bulk-tier-q { display: block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); }
.bulk-tier-p { display: block; margin-top: 2px; font-family: var(--display); font-size: 15.5px; font-weight: 800; color: var(--text); }
.bulk-tier-o { display: block; margin-top: 1px; font-size: 12px; color: var(--text-dim); }
.bulk-ladder li[aria-current="true"] .bulk-tier-q, .bulk-ladder li[aria-current="true"] .bulk-tier-o { color: var(--accent-bright); font-weight: 700; }

/* ordering */
.bulk-act { margin-top: 14px; }
.bulk-act[hidden] { display: none; }
.bulk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 18px; border-radius: 10px;
  border: 2px solid var(--accent); background: var(--accent); color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.bulk-btn:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.bulk-btn-ghost { background: var(--bg-card); color: var(--accent-bright); border-color: var(--accent-bright); }
.bulk-btn-ghost:hover { background: color-mix(in srgb, var(--accent) 9%, #fff); }
.bulk-btn-sm { width: auto; min-height: 44px; padding: 0 14px; font-size: 12.5px; }
.bulk-btn:focus-visible, .bulk-qty button:focus-visible, .bulk-qty input:focus-visible, .bulk-remove:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.bulk-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }
.bulk-in-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bulk-in-row .bulk-btn { flex: 1 1 104px; padding: 0 8px; letter-spacing: .03em; white-space: nowrap; }   /* never wraps its label; if short of room the whole button drops to its own row */
.bulk-qty { display: flex; }
.bulk-qty button { width: 44px; height: 48px; border: 2px solid var(--line-strong); background: var(--bg-card); font-size: 20px; line-height: 1; color: var(--text); cursor: pointer; }
.bulk-qty button:first-child { border-radius: 10px 0 0 10px; }
.bulk-qty button:last-child { border-radius: 0 10px 10px 0; }
.bulk-qty button:disabled { color: var(--text-dim); background: var(--bg-elevated); cursor: not-allowed; }
.bulk-qty input { width: 64px; height: 48px; border: 2px solid var(--line-strong); border-left: 0; border-right: 0; text-align: center; font-family: var(--mono); font-size: 15px; font-weight: 700; background: #fff; color: var(--text); border-radius: 0; -moz-appearance: textfield; }
.bulk-qty input::-webkit-outer-spin-button, .bulk-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bulk-line-sum { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text); }
.bulk-line-sum s { color: var(--text-dim); text-decoration-thickness: 2px; margin-left: 4px; }
.bulk-save-line { display: inline-block; margin-top: 2px; font-weight: 700; color: var(--accent-bright); }
.bulk-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 0 0; padding: 10px 12px; border: 2px dashed var(--line-strong); border-radius: 10px; font-size: 13px; line-height: 1.5; color: var(--text); }
.bulk-remove { margin-top: 4px; background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bulk-card-msg { min-height: 18px; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--text); }
.bulk-oos-note { margin: 14px 0 0; padding: 12px 14px; border: 2px dashed var(--line-strong); border-radius: 10px; font-size: 13.5px; color: var(--text); }

.bulk-empty { padding: 36px; text-align: center; color: var(--text-dim); border: 2px dashed var(--line-strong); border-radius: 12px; margin-top: 30px; }

/* ═══════════════════════════════════════════════════════════════════
   ORDER PANEL ("Your order")
   Desktop (1000px+): a sticky sidebar beside the product cards.
   Phones + tablets: the same element becomes a bottom sheet, opened from a slim fixed bar.
   Only existing tokens; prices use tabular numerals so nothing jumps as digits change.
   ═══════════════════════════════════════════════════════════════════ */
.bulk-page-pad { padding-bottom: 80px; }
.bulk-layout { display: block; }
.bo-card {
  display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  font-variant-numeric: tabular-nums;
}
.bo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bo-title { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
.bo-title:focus { outline: none; }
.bo-count { margin-left: auto; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-bright); white-space: nowrap; }
.bo-close { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px -10px -8px 0; border: 0; background: none; border-radius: 10px; font-size: 30px; line-height: 1; color: var(--text); cursor: pointer; }

/* status strip: bulk status + free-shipping status, each with a thin progress bar where it applies */
.bo-status { display: grid; gap: 10px; margin-top: 14px; padding: 11px 14px; background: var(--bg-elevated); border-radius: 12px; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.bo-status-row strong { font-weight: 700; }
.bo-hint { display: block; margin-top: 2px; color: var(--text-dim); }
.bo-track { height: 5px; margin-top: 6px; border-radius: 999px; background: var(--line-strong); overflow: hidden; }
.bo-track span { display: block; height: 100%; border-radius: 999px; background: var(--accent-bright); }

/* line items: the only part that scrolls, so the totals and the button never leave the screen */
.bo-scroll { flex: 1 1 auto; min-height: 0; margin-top: 12px; padding-right: 4px; overflow-y: auto; overscroll-behavior: contain; }
.bo-scroll.has-lines { min-height: 150px; }
.bo-lines { list-style: none; margin: 0; padding: 0; }
.bo-lines[hidden], .bo-empty[hidden], .bo-clear[hidden], .bo-reason[hidden], .bo-backdrop[hidden] { display: none; }
.bo-line { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bo-line:first-child { padding-top: 2px; }
.bo-line-top { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.bo-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; }
.bo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bo-thumb svg { height: 72%; width: auto; }
.bo-line-name { font-size: 15.5px; font-weight: 700; line-height: 1.25; color: var(--text); }
.bo-line-meta { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--text-dim); }
.bo-line-total { font-size: 15.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.bo-line-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.bo-stepper { display: flex; }
.bo-step, .bo-qty { min-height: 36px; border: 1.5px solid var(--line-strong); background: var(--bg-card); color: var(--text); font-family: var(--mono); font-size: 13px; font-weight: 700; }
.bo-step { min-width: 38px; padding: 0 8px; cursor: pointer; border-left-width: 0; }
.bo-step:first-child { border-left-width: 1.5px; border-radius: 8px 0 0 8px; }
.bo-step:last-child { border-radius: 0 8px 8px 0; }
.bo-step:disabled { color: var(--text-dim); background: var(--bg-elevated); cursor: not-allowed; }
.bo-qty { width: 54px; border-left-width: 0; border-right-width: 0; border-radius: 0; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.bo-qty::-webkit-outer-spin-button, .bo-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bo-step:nth-child(3), .bo-step:nth-child(4) { border-left-width: 0; }
.bo-remove { min-height: 36px; padding: 0 4px; background: none; border: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bo-line-note { margin: 8px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--accent-bright); }
.bo-line-note:empty { display: none; }
.bo-empty { margin: 4px 0 0; padding: 16px 16px; border: 1.5px dashed var(--line-strong); border-radius: 12px; font-size: 14.5px; line-height: 1.5; color: var(--text-dim); text-align: center; }
.bo-clear { display: block; min-height: 36px; margin-top: 2px; padding: 0 2px; background: none; border: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* totals */
.bo-totals { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: block; }
.bo-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 3px 0; }
.bo-row dt { margin: 0; font-size: 15px; color: var(--text-dim); }
.bo-row dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); text-align: right; }
.bo-row dd s { font-weight: 400; color: var(--text-dim); text-decoration-thickness: 2px; }
.bo-row dt small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--text-dim); }
.bo-row-save dd, .bo-row-save dt { color: var(--accent-bright); font-weight: 700; }
.bo-row[hidden] { display: none; }
.bo-row-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); align-items: center; }
.bo-row-total dt { font-size: 16px; font-weight: 700; color: var(--text); }
.bo-row-total dd { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }

/* the main button and what sits around it */
.bo-reason { margin: 12px 0 0; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--text); }
.bo-primary {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 12px; padding: 0 18px;
  border: 2px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff;
  font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -0.005em; cursor: pointer;
}
.bo-primary:hover:not(:disabled) { background: var(--accent-bright); border-color: var(--accent-bright); }
.bo-primary:disabled { opacity: .55; cursor: not-allowed; }
.bo-foot { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-dim); }

/* focus + motion */
.bo-card :is(button, input):focus-visible, .bo-bar :is(button):focus-visible { outline: 3px solid var(--text); outline-offset: 3px; position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .bo-step, .bo-primary, .bo-remove, .bo-bar-toggle, .bo-close { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
  .bo-track span { transition: width .2s ease; }
}

/* ── desktop: two columns, the panel sticks beside the products ── */
@media (min-width: 1000px) {
  .bulk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
  .bulk-aside { position: sticky; top: var(--bulk-top, 16px); }
  .bo-card { max-height: calc(100vh - var(--bulk-top, 16px) - 24px); max-height: calc(100dvh - var(--bulk-top, 16px) - 24px); overflow-y: auto; }
  .bo-bar, .bo-backdrop, .bo-close { display: none !important; }
}
@media (min-width: 1480px) {                                  /* wide screens: three cards across beside the panel */
  .dark .bulk-wrap { max-width: 1456px; }
  .bulk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── phones + tablets: slim bar + bottom sheet ── */
.bo-backdrop { display: none; }
.bo-bar { display: none; }
@media (max-width: 999px) {
  .bulk-page-pad { padding-bottom: 170px; }
  .dark .bulk-wrap { max-width: 664px; }
  .bulk-aside { position: fixed; left: 0; right: 0; bottom: 0; z-index: 64; transform: translateY(105%); visibility: hidden; }
  .bulk-aside.is-open { transform: translateY(0); visibility: visible; }
  .bo-card { max-height: 85vh; max-height: 85dvh; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-width: 1px 0 0; border-radius: 18px 18px 0 0; box-shadow: 0 -16px 40px -14px rgba(22, 32, 47, .35); overflow-y: auto; }
  .bo-close { display: inline-flex; }
  .bo-count { margin-left: auto; }
  .bo-backdrop { display: block; position: fixed; inset: 0; z-index: 63; background: rgba(22, 32, 47, .5); }
  .bo-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bg-card); border-top: 2px solid var(--line-strong); box-shadow: 0 -10px 30px -12px rgba(22, 32, 47, .25); padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); font-variant-numeric: tabular-nums; }
  .bo-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
  .bo-bar-sum { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
  .bo-bar-count { font-size: 15px; color: var(--text-dim); }
  .bo-bar-total { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
  .bo-bar-toggle { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--accent-bright); border-radius: 10px; background: var(--bg-card); color: var(--accent-bright); font-family: var(--display); font-size: 15px; font-weight: 700; cursor: pointer; }
  .bo-bar .bo-primary { grid-column: 1 / -1; margin-top: 0; }
  .bo-step, .bo-qty, .bo-remove, .bo-clear { min-height: 44px; }
  .bo-step { min-width: 46px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 999px) {
  .bulk-aside { transition: transform .25s ease, visibility 0s linear .25s; }
  .bulk-aside.is-open { transition: transform .25s ease, visibility 0s; }
}

/* ── the rest of the page's responsive rules (cards, explainer) ── */
@media (max-width: 999px) { .bulk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .bulk-how, .bulk-tiers { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .dark .bulk-wrap { max-width: 1240px; }                  /* phones: full width again */
  .bulk-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bulk-card .vial-stage { aspect-ratio: 3 / 2; }
}
@media (max-width: 480px) { .bulk-pr-main dd strong { font-size: 20px; } }
