/* ─────────────────────────────────────────────────
   Six Labs Sales Sheet — customer-facing styles
   Brand sections themed via --b-color/--b-accent/--b-text
   set inline per section from the brand registry.
   ───────────────────────────────────────────────── */
@font-face{font-family:'Source Code Pro';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/SourceCodePro-300.woff2') format('woff2');}
@font-face{font-family:'Source Code Pro';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/SourceCodePro-500.woff2') format('woff2');}
@font-face{font-family:'Source Code Pro';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/SourceCodePro-600.woff2') format('woff2');}
@font-face{font-family:'Source Code Pro';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/SourceCodePro-700.woff2') format('woff2');}
@font-face{font-family:'Source Code Pro';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/SourceCodePro-800.woff2') format('woff2');}

*, *::before, *::after { box-sizing: border-box; }
:root {
  --mono: 'Source Code Pro', monospace;
  /* dark theme — product art was authored for the newsletter's dark panels */
  --ink: #f2f2f6;          /* primary text */
  --dim: #9a9aa8;          /* labels / secondary text */
  --paper: #08080b;        /* page */
  --card: #131319;         /* table + panel surface */
  --card2: #1c1c25;        /* raised: inputs, expanded rows, hover */
  --line: #2b2b36;         /* borders */
  --tile: transparent;     /* product art sits directly on the sheet — no plate */
  --green: #3ddc84;        /* your price */
  --indica: #0d9ec7;
  --hybrid: #56a96c;
  --sativa: #c47c8b;
  /* brand-section cascade: each nesting level is inset this much PER SIDE
     from the level above (centred), and every box's corner radius equals the
     inset of its sub-items — the category row under the banner (--cat-inset),
     the product row under its category (--prod-inset), the tongue under its
     product (--tongue-inset). One value per level, universal across brands;
     phones override below. Rules: "Cascading widths & corners". */
  --cat-inset: 10px;
  --prod-inset: 10px;
  --tongue-inset: 10px;
}
@media (max-width: 720px) { :root { --cat-inset: 6px; --prod-inset: 6px; --tongue-inset: 6px; } }
html, body { margin: 0; padding: 0; }
/* wide content scrolls inside its own container (.sh-tablewrap) — the page
   itself never pans sideways (browser zoom used to trigger it: clip, not
   hidden, so no new scroll container is created) */
html, body { overflow-x: clip; }
/* the page scrollbar's space is always reserved: a category unfolding past
   the bottom of the screen used to summon it (and the accordion folding
   another could dismiss it again), and every centred column shifted a few
   pixels each time — the "jitter" while a group reveals its rows */
html { scrollbar-gutter: stable; }
/* themed scrollbars — every scroll container on the sheet uses the same
   slim dark style (page, rails, quote drawer, modals) */
* { scrollbar-width: thin; scrollbar-color: #34344a transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: #34344a; border-radius: 999px;
  border: 2px solid transparent; background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background-color: #4a4a66; }
*::-webkit-scrollbar-corner { background: transparent; }
body {
  font-family: var(--mono);
  /* ONE background for the whole page, banner included: Six Labs black down
     the middle, mirrored out to pure black at both sides */
  background: #000 linear-gradient(to right, #000 0%, #1D1D1D 50%, #000 100%);
  color: var(--ink);
  font-size: 14px;
  padding-bottom: 84px; /* room for sticky total bar */
}

/* ── Header — newsletter banner style: Six Labs pink→purple gradient,
   title + date left, logo right ── */
.sh-header {
  background: transparent;    /* the page's own gradient shows through — same background div */
  color: #fff;
  padding: 36px 0;
}
/* content box = the same 1240px column the menu uses: the wordmark sits dead
   centre, the title block at the right edge */
.sh-header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
}
.sh-header img.sh-logo { grid-column: 2; justify-self: center; width: 380px; max-width: 60vw; height: auto; }
.sh-headright { grid-column: 3; text-align: right; min-width: 0; }
.sh-state { font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; opacity: .9; margin-bottom: 4px; }
.sh-title { font-weight: 800; font-size: 34px; letter-spacing: .06em; text-transform: uppercase; }
.sh-title span { display: block; line-height: 1.08; }
.sh-subtitle { font-weight: 500; font-size: 16px; opacity: .85; margin-top: 6px; }
/* gold tier band under the banner */
.sh-tierband {
  background: linear-gradient(to right, #d4a017, #f2c94c 50%, #d4a017);
  color: #14141a; text-align: center;
  font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 16px;
}
/* …and its way to the OTHER state's menu: a plain underlined link in the band's own type */
.sh-state-switch {
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0;
  margin-left: 16px; text-decoration: underline; text-underline-offset: 3px; opacity: .7; cursor: pointer; white-space: nowrap;
}
.sh-state-switch:hover, .sh-state-switch:focus-visible { opacity: 1; }
/* the promo band, in the gold band's place on a priced sheet: the menu's own
   column. The green the order total wears is only the default — sheet.js
   (paintPromo) sets the sheet's own colour inline, and white type on a dark one */
.sh-promo { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sh-promo-in {
  background: #9ef01a; color: #101018; text-align: center; border-radius: 12px;
  font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 16px;
}
/* a personal link's buyer, centred under the band (sheet.js linkAccount) */
.sh-forbuyer { max-width: 1240px; margin: 18px auto 0; padding: 0 20px; text-align: center; }
.sh-forbuyer-n { font-family: var(--mono); font-size: 28px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; line-height: 1.15; }
/* the store line: THE control for the store info — it opens and closes the panel below (no separate "Store info" strip) */
.sh-forbuyer-s { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 2px 6px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--dim); background: none; border: 0; cursor: pointer; }
.sh-forbuyer-s:hover, .sh-forbuyer-s[aria-expanded="true"] { color: var(--ink); }
.fb-caret { font-size: 11px; }
@media (max-width: 720px) {
  .sh-forbuyer { margin-top: 14px; padding: 0 10px; }
  .sh-forbuyer-n { font-size: 20px; }
  .sh-forbuyer-s { font-size: 12px; }
}
@media (max-width: 720px) {
  /* phones: the banner's logo + title + date stand taller than its 20vh box and hang ~(46px − 3.5vh) below it — the blurb starts clear of that; one line at 390px */
  .sh-promo { padding: 0 10px; margin-top: max(12px, calc(50px - 3.5vh)); }
  .sh-promo-in { font-size: 12px; letter-spacing: .02em; padding: 8px 12px; border-radius: 10px; }
}

/* ── Buyer info ── */
.sh-buyer {
  max-width: 1240px; margin: 22px auto 0; padding: 0 20px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
}
.sh-buyer[hidden] { display: none; }   /* the public menu has no order info (display:flex would beat the attribute) */
.sh-field { display: flex; flex-direction: column; gap: 4px; }
.sh-field label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.sh-field input {
  font-family: var(--mono); font-size: 14px; padding: 8px 10px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; background: var(--card2); min-width: 220px;
}
.sh-field input::placeholder, .sh-notes textarea::placeholder { color: #6a6a78; }
/* dispensary line + THE pencil; the input only while editing */
.sh-buyer-head { flex: 1 1 100%; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }   /* reading: just the pencil (the name is the header above) */
.sh-retailer-f { flex: 1; min-width: 0; }
.sh-edit-info {
  flex: 0 0 auto; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--card2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer;
}
.sh-edit-info:hover { border-color: var(--ink); }
.sh-buyer:not(.editing) .sh-retailer-f, .sh-buyer:not(.editing) .st-x, .sh-buyer:not(.editing) .sh-store-name, .sh-buyer:not(.editing) .sh-stores-ctl { display: none; }
.sh-buyer.editing .st-name, .sh-buyer.editing .st-pen { display: none; }
.sh-stores-ctl { flex: 1 1 100%; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--dim); }
.sh-stores-ctl button {
  font-family: var(--mono); font-weight: 700; font-size: 12px; padding: 7px 12px;
  color: var(--ink); border-radius: 8px; border: 1px dashed var(--line); background: none; cursor: pointer;
}
.sh-stores-ctl button:hover { background: var(--card2); border-style: solid; }
/* Clear all → Confirm ✓ ✕ in the same spot */
.sh-clear-wrap { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.sh-clear-mine {
  font-family: var(--mono); font-size: 12px; color: var(--dim); background: none;
  border: 1px dashed var(--line); border-radius: 8px; padding: 7px 10px; cursor: pointer;
}
.sh-clear-mine:hover { color: #ff6b5e; border-color: #ff6b5e; }
.sh-clear-undo {
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--green); background: none;
  border: 1px dashed var(--green); border-radius: 8px; padding: 7px 10px; cursor: pointer;
}
.sh-clear-undo:hover { background: rgba(158,240,26,.12); }
.clr-q { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.clr-yes, .clr-no { width: 30px; height: 30px; border-radius: 8px; border: 0; cursor: pointer; font-family: var(--mono); font-weight: 900; font-size: 15px; }
.clr-yes { background: var(--green); color: #101018; }
.clr-no { background: #ff6b5e; color: #101018; }

/* ── Store list: ONE compact row per store (both modes), up to three
   columns when the panel is wide, vertical scroll only, styled bar ── */
.sh-stores {
  flex: 1 1 100%; min-height: 0; max-height: 34vh;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  display: grid; grid-template-columns: 1fr; column-gap: 28px; align-content: start;
}
@media (min-width: 760px) { .sh-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sh-stores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sh-stores::-webkit-scrollbar { width: 8px; }
.sh-stores::-webkit-scrollbar-track { background: transparent; }
.sh-stores::-webkit-scrollbar-thumb { background: var(--card2); border-radius: 8px; border: 2px solid var(--card); }
.sh-stores::-webkit-scrollbar-thumb:hover { background: var(--line); }
.sh-store-row {
  min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 2px; min-height: 38px;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.st-name { flex: 0 1 auto; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-name.st-unnamed { color: var(--dim); font-style: italic; }
.st-addr-t { flex: 1; min-width: 0; font-size: 12px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the name as an inline input while editing — the same row, no label block */
.sh-store-row input.sh-store-name {
  flex: 1 1 auto; min-width: 0; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink);
  padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card2);
}
.sh-store-row input.sh-store-name::placeholder { color: #6a6a78; font-style: italic; font-weight: 500; }
/* ✕ left of the name: removes that store */
.st-x { flex: 0 0 auto; background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 13px; font-weight: 800; padding: 2px 5px; border-radius: 6px; align-self: center; }
.st-x:hover { color: #ff6b6b; background: var(--card2); }
/* ✎ right of the name: shows when the row is hovered (always on touch) → edit mode on that store */
.st-pen { flex: 0 0 auto; margin-left: auto; background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 13px; padding: 2px 6px; border-radius: 6px; opacity: 0; transition: opacity .15s ease; }
.sh-store-row:hover .st-pen, .st-pen:focus-visible { opacity: 1; }
.st-pen:hover { color: var(--ink); background: var(--card2); }
@media (hover: none) { .st-pen { opacity: .7; } }
/* "more below" chevron riding the bottom edge of the list */
.sh-stores-more {
  display: none; width: 100%; border: 0; cursor: pointer;
  margin-top: -18px; padding: 10px 0 2px; position: relative; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--card) 70%);
  color: var(--dim); font-size: 14px; line-height: 1; text-align: center;
  font-family: var(--mono);
}
.sh-stores-more.show { display: block; }
.sh-stores-more:hover { color: var(--ink); }

/* ── Search (top of the brands list) ──
   Type a strain, product, category, brand, size…; results drop down as you
   type; picking one opens its brand and category, expands the row and
   glides to it (sheet.js jumpToProduct). Same column as the brands. */
.sh-search { max-width: 1240px; margin: 18px auto 0; padding: 0 20px; position: relative; z-index: 5; }
.sh-search-box { position: relative; }
.sh-search input {
  width: 100%; box-sizing: border-box; font-family: var(--mono); font-size: 14px; color: var(--ink);
  padding: 11px 40px 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); outline: none;
  -webkit-appearance: none; appearance: none;
}
.sh-search input::placeholder { color: #6a6a78; }
.sh-search input:focus { border-color: #9ef01a88; box-shadow: 0 0 0 2px rgba(158,240,26,.14); }
.sh-search input::-webkit-search-cancel-button { display: none; }   /* our own ✕ */
.sh-search-x {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: none;
  font-family: var(--mono); font-size: 13px; color: var(--dim); background: none; border: 0; padding: 6px 8px; cursor: pointer;
}
.sh-search.has-q .sh-search-x { display: block; }
.sh-search-x:hover { color: var(--ink); }
.sh-search-list {
  position: absolute; left: 20px; right: 20px; top: 100%; margin-top: 4px; padding: 4px;
  background: #14141c; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.6);
  max-height: 50vh; overflow-y: auto;
}
.sh-search-list[hidden] { display: none; }
.sh-search-item { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.sh-search-item.active, .sh-search-item:hover { background: var(--card2); }
.sh-search-item b { font-size: 14px; font-weight: 700; }
.sh-search-item span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.sh-search-empty { padding: 10px; font-size: 12px; color: var(--dim); }
@media (max-width: 720px) {
  .sh-search { margin-top: 10px; padding: 0 10px; }
  .sh-search input { font-size: 16px; }   /* iOS zooms into anything smaller */
  .sh-search-list { left: 10px; right: 10px; }
}

/* ── Brand section ── */
.sh-brand { max-width: 1240px; margin: 26px auto 0; padding: 0 20px; }
/* every band is the 1920×400 banner shape (4.8:1) — logo bands and
   uploaded banner images end up the same height, at every width */
.sh-brand-band {
  background: var(--b-color); color: var(--b-text);
  border-radius: var(--cat-inset);   /* all four corners: the category row is inset by the same amount, so it tucks square under the curve */
  aspect-ratio: 1920 / 400; box-sizing: border-box;
  padding: 0 22px; display: flex; align-items: center; gap: 18px;
  position: relative; overflow: hidden;
}
.sh-brand-band::after { /* subtle grain like the newsletter cards */
  content: ''; position: absolute; inset: 0; background: url('assets/nnnoise.svg'); opacity: .35; pointer-events: none;
}
/* every brand band is the same height; logos share one height (Higgs at its
   old 170px width rendered ~97px — this is that, a touch taller), the owner's
   four bold marks a bigger one, and take whatever width their aspect gives;
   contain + max-width keeps a wide wordmark (Candela) from overflowing a
   narrow phone band */
.sh-brand-band img { position: relative; z-index: 1; display: block; height: clamp(40px, 8.7vw, 108px); width: auto; max-width: 100%; object-fit: contain; }
:is(.sh-brand[data-brand="kushy"], .sh-brand[data-brand="higgs"], .sh-brand[data-brand="fuzed"], .sh-brand[data-brand="homie"]) .sh-brand-band:not(.has-banner) > img { height: clamp(58px, 15vw, 190px); }
.sh-brand-wordmark { position: relative; z-index: 1; font-weight: 800; font-size: 26px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-accent); font-family: var(--b-font, inherit); }
.sh-brand-side { position: relative; z-index: 1; margin-left: auto; display: flex; align-items: center; gap: 18px; align-self: flex-end; padding-bottom: 10px; }   /* bottom right of the band */
.sh-brand-total { font-size: 20px; font-weight: 800; }
.sh-brand-count { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
/* desktop: logo dead-center in the band — equal flex spacers either side */
@media (min-width: 721px) {
  .sh-brand-band::before { content: ''; flex: 1 1 0; }
  .sh-brand-side { flex: 1 1 0; justify-content: flex-end; margin-left: 0; }
}
/* buyer can fold a brand to just its banner. The band sits above the drawer
   and throws a shadow onto it, so the products slide out from under a
   darkened edge instead of flickering in at full brightness */
.sh-brand-band { cursor: pointer; z-index: 2; box-shadow: 0 10px 22px rgba(0,0,0,.45); }   /* no box-shadow transition: a blurred shadow this size repainted every frame of the fade — the hover's light sweep (::after, opacity) carries the motion */
/* folded band on hover: a soft light sweep says "tap to open" */
.sh-brand.folded .sh-brand-band::after { transition: opacity .25s ease, background .25s ease; }
.sh-brand.folded .sh-brand-band:hover::after {
  opacity: 1;
  background: url('assets/nnnoise.svg'), linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.14) 50%, rgba(255,255,255,0) 70%);
}
.sh-brand.folded .sh-brand-band:hover { box-shadow: 0 12px 28px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.25) inset; }
/* fold/unfold = a drawer: the brand's products slide out from beneath the
   band over .3s, bottom-first */
/* the drawer starts 50px up BEHIND the band (band is z-index 2) so the
   products slide out from under it. The body is transparent — the page shows
   in the cascade's stepped margins — and nothing peeks through the band's
   rounded corners because the rows are inset by exactly that radius */
/* ── NO LAYOUT TRANSITIONS (2026-09-18) ── every state below is the FINAL
   layout, applied at once; the motion is played by sheet.js ("Motion") with
   translate / clip-path / scale animations on the compositor, all on one
   curve — ease-out cubic, cubic-bezier(.33,1,.68,1) — and one .3s. Animating
   height / grid rows / margins here re-laid the sheet out on every frame
   (~10 ms against a 5.9 ms frame at 170 Hz). Never add a transition on a
   property that moves other boxes. */
.sh-brand-drawer { display: grid; grid-template-rows: 1fr; margin-top: -50px; }
.sh-brand-drawer > .sh-drawer-in { min-height: 0; }
.sh-drawer-body { padding-top: 50px; }
.sh-brand.folded .sh-brand-drawer { grid-template-rows: 0fr; margin-top: 0; }
.sh-brand.folded .sh-drawer-in { overflow: hidden; content-visibility: hidden; }   /* a folded brand's products are SKIPPED — no layout, no paint — until it opens: five brands' rows were ~60% of the page's first layout (sheet.js warms them up in idle time, so a first tap finds them laid out). Where the property is unknown the rule below still hides them */
.sh-brand.folded.closing .sh-drawer-in { content-visibility: visible; }   /* …sliding shut, it is still seen */
/* a folded brand's products are out of reach (tab, find-in-page). The
   visibility sits on the BODY — the element sheet.js animates — never on an
   ancestor of it: Chrome kept a stale inherited `hidden` on an animated child
   when only its parent's visibility changed back (the brand opened blank) */
.sh-brand.folded .sh-drawer-body { visibility: hidden; }
/* in motion the drawer's top edge is the clip the body slides under */
.sh-brand.opening .sh-drawer-in, .sh-brand.closing .sh-drawer-in { overflow: hidden; }
.sh-brand.folded.closing .sh-drawer-body { visibility: visible; }
/* .closing (brand, category group, product entry — set by sheet.js while the
   thing slides shut): it keeps its open box, so its content can still be
   seen leaving, and sheet.js gives it a negative margin-bottom of that same
   height (inline — a custom property would re-style the whole subtree), which
   takes it out of the flow: everything else already stands where it ends */
.sh-brand.folded.closing .sh-brand-drawer { grid-template-rows: 1fr; margin-top: -50px; }
/* category drawer: the group's rows in a tbody; folded = no height. Open, it
   clips nothing: an entry sliding shut under the group's last row hangs over
   its edge for those .3s */
.sh-table tbody.sh-catbody { display: block; }
.sh-table tbody.sh-catbody.folded { max-height: 0; overflow: hidden; }
.sh-table tbody.sh-catbody.folded.closing { max-height: none; }
.sh-brand-caret { position: relative; z-index: 1; font-size: 15px; font-weight: 800; opacity: .8; margin-left: 4px; }
/* rep-uploaded banner image in place of the logo band: the image IS the band
   (never scaled past its own pixels, centred when narrower), the item count
   and total overlaid at the right in a dark pill */
.sh-brand-band.has-banner { display: block; padding: 0; }
.sh-brand-band.has-banner::before { display: none; }
.sh-brand-banner { display: block; position: relative; z-index: 1; }
.sh-brand-banner img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.sh-brand-band.has-banner .sh-brand-side {
  position: absolute; right: 14px; bottom: 10px; z-index: 2;
  margin: 0; flex: 0 0 auto; gap: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.64); color: #fff;   /* solid, a touch darker — the backdrop blur it replaces cost a GPU pass on every frame the banner moved */
}

.sh-tablewrap {
  background: var(--card); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 16px 16px; overflow-x: auto;
}
/* fixed layout: column widths come from the header, never from cell content,
   so a buyer typing a huge quantity can't shove the columns sideways */
table.sh-table { border-collapse: collapse; width: 100%; min-width: 900px; table-layout: fixed; }
.th-ctl { width: 56px; }
.th-thc { width: 86px; }
.th-case { width: 68px; }
.th-avail { width: 78px; }
.th-list { width: 92px; }
.th-your { width: 116px; }
.th-units { width: 96px; }
.th-cases { width: 96px; }
.th-total { width: 124px; }
/* oversized figures clip instead of re-flowing the table */
.sh-table td.num { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-table th {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim); text-align: left; padding: 10px 10px 8px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.sh-table th.num, .sh-table td.num { text-align: right; }
.sh-table th.qty, .sh-table td.qty { text-align: center; }
/* tight rows, bigger type — the old 9px padding left dead space beside the thumb */
.sh-table td { padding: 5px 10px; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: middle; font-size: 15px; }
/* product-line subgroup header ("1G LIVE RESIN DISPOSABLE VAPE") */
.sh-table tr.sh-sub td {
  padding: 18px 10px 18px; border-bottom: 0;   /* equal above/below the title; CASE SIZE tucks into the bottom band. No rule under it: each title is its tbody's only row, and `tr:last-child td` below always took the border away */
  font-size: 30px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;   /* big, bold: the category reads at a glance */
  font-family: var(--b-font, inherit);   /* the brand's own title font when "Render titles with brand font" is on (sheet.js sets --b-font) */
  line-height: 1.15; text-align: center;
  color: var(--b-accent, var(--dim)); isolation: isolate;
}
/* the band's SURFACE — background and hover ring — is ::before, not the
   cell: when a title shrinks to half / grows back, the cell
   takes its final height at once and sheet.js scales this layer (and clips
   the cell) so the band still glides between the two heights — the text is
   never stretched. It fills the cell's box, so nothing looks different */
.sh-table tr.sh-sub td::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: rgba(255,255,255,.02);
  transition: box-shadow .25s ease;
}
/* photo + title. Narrow (base): STACKED — photo above, title below, both
   centered, so a wrapped title can never touch the photo. Desktop (≥721):
   the photo is pinned left OUT of flow and the title is centered in the
   whole band (the photo never offsets it), capped to a width that stays
   clear of the photo on both sides even when it wraps. */
.sh-table tr.sh-sub .sub-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative; }
/* CASE SIZE nested in the row's bottom-right corner, in the padding band
   BELOW the title — a title that wraps to two or three lines can't reach it */
.sh-table tr.sh-sub .sub-case {
  position: absolute; right: 0; bottom: -15px;                     /* inside the 18px bottom padding */
  padding: 4px 24px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink);
  white-space: nowrap; line-height: 1;
}
.sh-table tr.sh-sub .sub-case .sub-pill { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,.22); font-style: normal; font-weight: 800; letter-spacing: .04em; }   /* a pack's unit wt. × size, and its total */
.sh-table tr.sh-sub .sub-case i {
  font-style: normal; font-size: 11px; color: var(--dim); text-transform: uppercase;
}
.sh-table tr.sh-sub .sub-photo { display: flex; justify-content: center; }
.sh-table tr.sh-sub .sub-photo img { max-height: 96px; max-width: 280px; object-fit: contain; display: block; }
/* the optional subtitle under the title: smaller, as typed */
.sh-table tr.sh-sub .sub-sub { display: block; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: none; opacity: .85; margin-top: 3px; }
@media (max-width: 720px) { .sh-table tr.sh-sub .sub-sub { font-size: 12px; } }
/* the title (CASE SIZE lives below it, not beside it) */
.sh-table tr.sh-sub .sub-wrap > span:not(.sub-case) { flex: 1 1 auto; min-width: 0; max-width: 100%; margin: 0 auto; padding: 4px 24px; box-sizing: border-box; }
/* custom category banner (author 2400×500) — full-bleed: no td padding, the
   image spans the container's full width and scales proportionally */
.sh-table tr.sh-sub.sh-sub-banner td { padding: 0; }
.sh-table tr.sh-sub .sub-banner img { display: block; width: 100%; height: auto; aspect-ratio: auto 2400 / 500; }   /* the banner's authoring shape holds its place until the file is in (then its own shape rules): the title's height is known before the picture loads */
/* phones: a compact category row — smaller title, smaller photo, tighter band */
@media (max-width: 720px) {
  .sh-table tr.sh-sub td { font-size: 17px; letter-spacing: 1px; padding: 10px 10px 12px; text-align: left; }
  /* photo on the left (a quarter of the band, up to 45% for a wide one), the title left-aligned in the rest, an 8% gap between */
  .sh-table tr.sh-sub .sub-wrap { flex-direction: row; align-items: center; gap: 8%; min-height: 80px; }   /* fixed band height: a subtitle centres with the title, never grows the band */
  .sh-table tr.sh-sub .sub-photo { flex: 0 0 auto; min-width: 25%; max-width: 45%; display: flex; justify-content: center; }
  .sh-table tr.sh-sub .sub-photo img { max-width: 100%; max-height: 80px; }
  .sh-table tr.sh-sub .sub-wrap > span:not(.sub-case) { flex: 1 1 auto; min-width: 0; margin: 0; padding: 2px 0; text-align: left; overflow-wrap: anywhere; }   /* "RECHARGABLE/DISPOSABLE" breaks instead of running off the edge */
  .sh-table tr.sh-sub .sub-case { font-size: 11px; bottom: -10px; padding: 3px 12px; }
  .sh-table tr.sh-sub .sub-sub { font-size: 11px; }
  /* pills: the Smalls (trait) pill sits right after the strain pill; THC follows */
  .sh-prod-meta .badge.thc { order: 1; }
}
.sh-table tr:last-child td { border-bottom: 0; }
.sh-table tr[data-pid] { cursor: pointer; }
.sh-table tr:hover td { background: var(--card2); }

.sh-prod { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sh-thumb {
  width: 64px; height: 64px; flex: 0 0 64px; border-radius: 10px;
  background: var(--tile); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
/* the whole image, never cropped; a transparent cut-out gets no tile behind
   it (.is-alpha, set once the image has loaded — see sheet.js) */
.sh-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sh-thumb.is-alpha, .sh-brand .sh-thumb.is-alpha { background: transparent; }
.sh-thumb span { font-size: 18px; opacity: .35; }
.sh-thumb.has-hero { cursor: zoom-in; }
.sh-thumb.has-hero:hover { outline: 2px solid var(--b-color, #333); }
/* no photo → brand logo, padded on the brand color */
.sh-thumb-logo { background: var(--b-color, #f1f0ec); }
.sh-thumb-logo img { object-fit: contain; padding: 10px; }
.sh-thumb-logo img.inv { filter: brightness(0) invert(1); }

/* ── Locked screen (no/invalid buyer token) ── */
.sh-locked {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 22px; padding: 30px; text-align: center;
  background: radial-gradient(130% 100% at 50% 0%, #222a44 0%, #0a0b11 72%);
}
.sh-locked img { width: 220px; max-width: 60vw; filter: brightness(0) invert(1); }
.sh-locked-msg { color: rgba(255,255,255,.8); font-size: 14px; max-width: 420px; line-height: 1.6; }
/* the public menu is a state's: the buttons the locked screen offers (which
   state? / the other state's menu), in the menu band's gold */
.sh-ask { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sh-ask button {
  font: inherit; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #14141a; background: #f2c94c; border: 0; border-radius: 999px; padding: 13px 24px; cursor: pointer;
}
.sh-ask button:hover, .sh-ask button:focus-visible { background: #fff; }

/* ── Toast (e.g. "menu updated, cart reset") ── */
.sh-toast {
  position: fixed; left: 50%; bottom: 108px; transform: translate(-50%, 16px); z-index: 120;
  display: flex; align-items: flex-start; gap: 14px; max-width: min(560px, 92vw);
  background: var(--card2); color: var(--ink); border: 1px solid var(--line);
  border-left: 4px solid var(--green); border-radius: 12px;
  padding: 14px 16px; font-size: 13px; line-height: 1.5;
  box-shadow: 0 14px 40px rgba(0,0,0,.6); opacity: 0; transition: opacity .25s, transform .25s;
}
.sh-toast.in { opacity: 1; transform: translate(-50%, 0); }
.sh-toast button { background: none; border: 0; color: var(--dim); font-size: 14px; cursor: pointer; padding: 0 2px; }
.sh-toast button:hover { color: var(--ink); }

/* ── Hero lightbox (click a product picture) ── */
.sh-lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 10, 16, .88); cursor: zoom-out; padding: 24px;
}
.sh-lightbox.open { display: flex; }
.sh-lightbox .lb-wrap > img {   /* the picture only — never the brand logo in the card */
  max-width: min(1500px, 92vw); max-height: 92vh; object-fit: contain;
  border-radius: 14px;
}
.sh-lightbox .lb-close {
  position: absolute; top: 16px; right: 22px; color: #fff; font-size: 22px; opacity: .8;
}
/* product card UNDER the picture: the row's own pieces (.sh-prod-name,
   .sh-prod-meta pills, list/your price, .det-facts) in a .sh-brand scope, so
   it can't look different from the row — just a size up, since it's the
   thing on screen. .lb-wrap centres both when they fit and scrolls when not. */
.sh-lightbox { overflow-y: auto; padding: 20px; }
.sh-lightbox .lb-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: auto; max-width: 100%; }
.sh-lightbox .lb-card:empty { display: none; }
/* picture + card fade in together once the picture is loaded and sized */
.sh-lightbox .lb-wrap > img, .sh-lightbox .lb-card { opacity: 0; transition: opacity .3s ease; }
.sh-lightbox.ready .lb-wrap > img, .sh-lightbox.ready .lb-card { opacity: 1; }
.lb-info.sh-brand {
  width: min(560px, 92vw); max-width: 92vw; box-sizing: border-box; cursor: default;
  margin: 0; padding: 20px 24px; background: var(--b-color); color: var(--b-text); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.5);
}
/* the brand logo whole, at its own shape, straight on the card's colour: no box, no radius, nothing clipped; a long
   wordmark narrows to the card (contain keeps its shape) */
.lb-logo { margin-bottom: 12px; }
.lb-logo img { display: block; height: 40px; width: auto; max-width: 100%; object-fit: contain; object-position: left center;
  border-radius: 0; background: none; box-shadow: none; padding: 0; }
@media (max-width: 720px) { .lb-logo img { height: 32px; } }
.lb-logo img.inv { filter: brightness(0) invert(1); }
.lb-cat { font-size: 13px; font-weight: 300; letter-spacing: 2.5px; text-transform: uppercase; color: var(--b-accent); margin-bottom: 4px; }
.lb-info .sh-prod-name { font-size: 19px; }
.lb-info .sh-prod-meta { margin: 8px 0 14px; gap: 10px; }
.lb-info .badge { font-size: 13px; padding: 4px 11px; }
.lb-price { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lb-plabel { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--b-text); opacity: .8; }
.lb-price .sh-list-price { font-size: 15px; margin-right: 8px; }
.lb-price .sh-your-price { font-size: 24px; margin-left: 4px; }
.lb-info .det-facts { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--b-text) 25%, transparent); flex-wrap: wrap; gap: 12px 26px; }
.lb-info .det-facts span { font-size: 12px; }
.lb-info .det-facts b { font-size: 16px; overflow-wrap: anywhere; }
.lb-info .det-facts, .lb-info .det-facts { display: flex; }          /* outranks the phone grid rule below */
.lb-info .det-facts div { min-width: 0; }
.lb-info .det-batch { flex: 1 1 100%; }
@media (max-width: 720px) {
  .sh-lightbox { padding: 16px; }
  .sh-lightbox .lb-wrap { gap: 14px; }
  .lb-info.sh-brand { width: 100%; padding: 18px 20px; }
}
/* collapsible category groups: the title row folds the drawer beneath it */
.sh-table tr.sh-sub { cursor: pointer; }
/* category title on hover: the folded band's light sweep + a thin ring — "tap me" */
/* always clipped: a shrunken title's content is centred and overflows the
   band both ways (.resizing lifts the clip only while sheet.js glides it) */
/* the ceiling is the titles' REAL height (--sub-nat, measured per brand by
   sheet.js), not a loose 480px */
.sh-table tr.sh-sub td { position: relative; max-height: var(--sub-nat, 480px); overflow: hidden; }   /* --sub-nat / --sub-h sit on the CELL (sheet.js subHeights): a custom property on the brand re-styled its whole section. No border-radius transition: it ran on the main thread through every motion (the corners change under way, unseen) */
.sh-table tr.sh-sub td.resizing { overflow: visible; }   /* a title gliding down to half height: sheet.js clips it (clip-path) past its final box */
/* while one category is open, the brand's other (folded) titles sit under a
   dark wash — .sub-wash, a layer between the band's surface and its text
   (opacity, so the fade never repaints), so it covers the background and
   never the title text, which stays at full strength; the hover ring rides
   under it — and shrink to half the open title's height (--sub-h, set by
   sheet.js): only the band gets shorter, the type and photo keep their size
   and the band shows their middle slice */
.sub-wash { position: absolute; inset: -150px 0; z-index: -1; pointer-events: none; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .25s ease; }   /* taller than any band: the cell clips it, and it still covers a band gliding down to half */
.sh-brand.has-open-cat .sh-table tbody tr.sh-sub.folded .sub-wash { opacity: 1; }
/* .has-open-cat (sheet.js syncOpenCat, wherever a category folds) — a class,
   never :has(): a :has() on the brand made every fold re-match the whole
   section (8–13 ms of style recalc per tap) */
.sh-brand.has-open-cat .sh-table tbody tr.sh-sub.folded td {
  max-height: var(--sub-h, 480px); display: flex; align-items: center;
}
.sh-brand.has-open-cat .sh-table tbody tr.sh-sub.folded td > .sub-wrap,
.sh-brand.has-open-cat .sh-table tbody tr.sh-sub.folded td > .sub-banner { flex: 1 1 100%; min-width: 0; }   /* the cell's in-flow children, by name: `td > *` made the class re-style every element of the brand */
.sh-table tr.sh-sub td::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 70%);
}
.sh-table tr.sh-sub:hover td::after { opacity: 1; }
.sh-table tr.sh-sub:hover td::before { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.sub-caret { position: absolute; right: 8px; top: 4px; width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 14px; opacity: .6; transition: transform .3s cubic-bezier(.33,1,.68,1); }
.sh-table tr.sh-sub .sub-wrap { position: relative; }
.sh-table tr.sh-sub.folded .sub-caret { transform: rotate(-90deg); }
/* a category's ★ highlight panel under its title */
.sh-table tr.sh-sub-hl, .sh-table tr.sh-sub-hl td { display: block; width: 100%; padding: 0; border: 0; }
.sh-hl--cat { border-top: 0; margin: 0; }
.sh-prod-name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.sh-prod-meta { font-size: 12.5px; color: var(--dim); margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #fff; border-radius: 999px; padding: 3px 9px;
}
/* the three type pills share one width — wide enough for the longest word */
.badge.indica, .badge.hybrid, .badge.sativa { min-width: 5.8em; text-align: center; box-sizing: border-box; }
.badge.indica { background: var(--indica); }
.badge.hybrid { background: var(--hybrid); }
.badge.sativa { background: var(--sativa); }
.badge.infused { background: #E67E22; }
.badge.quad-infused { background: #7B2CBF; }
/* batch trait pill (Smalls …) after the THC pill */
.badge.trait { background: #39404f; }
/* rep-hidden values (editor preview toggles → doc.showCols) */
body.hide-thc .th-thc, body.hide-thc td.cell-thc, body.hide-thc .badge.thc { display: none !important; }
body.hide-case .th-case, body.hide-case td.cell-case, body.hide-case .det-case { display: none !important; }
body.hide-avail .th-avail, body.hide-avail td.cell-avail, body.hide-avail .det-avail { display: none !important; }
body.hide-list .th-list, body.hide-list td.cell-list, body.hide-list .sh-list-price { display: none !important; }
body.hide-exp .m-exp, body.hide-exp .det-exp { display: none !important; }

.sh-list-price { color: #74747f; font-size: 12px; }
.sh-your-price { font-weight: 800; font-size: 21px; color: var(--green); }
/* a closed row in the cart: Units · Cases · Total in place of the prices */
.cell-cart .cc-i i { font-style: normal; color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cell-cart .cc-i b { font-weight: 800; font-size: 15px; white-space: nowrap; }
.cell-cart .cc-i:last-child b { font-size: 17px; }
/* in the cart: Units · Cases · Total in one Six Labs Green Thumb pill (brand-guide/00-six-labs.md), near-black type
   (6.7:1 on it; white is 2.8:1), the same on every brand's colour. The cell shows only on a closed row in the cart. */
.sh-table tr[data-pid].in-cart td.cell-cart {
  background: #59AC47 !important; color: #14141a; border-radius: 999px; padding: 7px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 10px rgba(0,0,0,.28);
}
.sh-table tr[data-pid].in-cart td.cell-cart .cc-i i,
.sh-table tr[data-pid].in-cart td.cell-cart .cc-i b { color: #14141a; }
.sh-table tr[data-pid].in-cart td.cell-cart .cc-i i { opacity: .82; }
/* low stock: dark type on a red chip, readable on every brand's row colour */
/* low stock (≤ 50): the number reversed out of the brand's own approved text colour, so it reads on every brand */
.low-inv { display: inline-block; background: var(--b-text, #101018); color: var(--b-cat, var(--b-color, #fff)); font-weight: 800; border-radius: 2px; padding: 1px 6px; }

.sh-table input.qty-in {
  font-family: var(--mono); width: 58px; text-align: center; font-size: 13px; color: var(--ink);
  padding: 7px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--card2);
}
.sh-table input.qty-in:focus { outline: 2px solid var(--b-color, #fff); border-color: transparent; }
.sh-table input.qty-in.over { outline: 2px solid #ff6b5e; color: #ff6b5e; }
td.row-total { font-weight: 700; white-space: nowrap; }

/* ── Summary ── */
/* ── Promo blocks (doc.blocks): between brand sections (.sh-pblock-wrap, the
   brand sections' width) or inside a brand after a category (tr.sh-pb-row).
   A banner, a looping muted video, a coming-soon product, words + a link. ── */
.sh-pblock-wrap { max-width: 1240px; margin: 26px auto 0; padding: 0 20px; }
.sh-table tr.sh-pb-row, .sh-table tr.sh-pb-row td { display: block; width: 100%; padding: 0; border: 0; }
.sh-table tr.sh-pb-row .sh-pblock { margin: 10px 0; }
.sh-pblock { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: #fff; }
.sh-pblock.light { color: #14141a; border-color: rgba(0,0,0,.15); }
.sh-pb-banner, .sh-pb-banner img { display: block; width: 100%; height: auto; }
.sh-pb-video video { display: block; width: 100%; max-height: 520px; background: #000; object-fit: cover; }
.sh-pb-body { display: flex; gap: 24px; align-items: center; padding: 20px 22px; flex-wrap: wrap; }
.sh-pb-soon { display: flex; gap: 18px; align-items: center; flex: 0 1 auto; }
.sh-pb-soonimg { width: 150px; flex: 0 0 auto; }
.sh-pb-soonimg img { display: block; width: 100%; height: auto; max-height: 190px; object-fit: contain; }
.sh-pblock .badge.soon { color: inherit; border-color: currentColor; }
.sh-pb-soonname { font-size: 20px; font-weight: 800; line-height: 1.25; margin-top: 8px; }
.sh-pb-soonbrand { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-top: 4px; }
.sh-pb-words { flex: 1 1 280px; min-width: 0; }
.sh-pb-title { font-size: 24px; font-weight: 800; line-height: 1.2; }
.sh-pb-text { font-size: 14px; line-height: 1.55; opacity: .8; margin-top: 6px; white-space: pre-line; }
.sh-pb-link {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: inherit; text-decoration: none; border: 1px solid currentColor; border-radius: 999px; padding: 9px 16px;
}
.sh-pb-link:hover { background: rgba(255,255,255,.12); }
.sh-pblock.light .sh-pb-link:hover { background: rgba(0,0,0,.08); }
/* a block with a drop plan (.sh-pb-drop): the teaser opens it (sheet.js motion: the card's clip wipes, .sh-pb-plan
   slides out from under the teaser; .closing keeps the box while it shuts). Six Labs' Pink Cloud marks the season and
   the plan lines (Purple Haze on a light card). */
.sh-pb-teaser {
  all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px; cursor: pointer; font-family: var(--mono); color: inherit;
}
.sh-pb-flat .sh-pb-teaser { cursor: default; }
.sh-pb-teaser:focus-visible { outline: 2px solid #d43974; outline-offset: -4px; }
.sh-pb-tmain { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sh-pb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.sh-pb-meta, .sh-pb-dot { color: rgba(255,255,255,.7); }
.sh-pblock.light .sh-pb-meta, .sh-pblock.light .sh-pb-dot { color: rgba(0,0,0,.62); }
.sh-pb-season { color: #d43974; font-weight: 800; }
.sh-pblock.light .sh-pb-season { color: #4b2c92; }
.sh-pb-more {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid currentColor; border-radius: 4px;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.sh-pb-teaser:hover .sh-pb-more { background: rgba(255,255,255,.1); }
.sh-pblock.light .sh-pb-teaser:hover .sh-pb-more { background: rgba(0,0,0,.06); }
.sh-pb-caret { display: inline-block; transition: rotate .3s cubic-bezier(.33,1,.68,1); }
.sh-pb-drop.open .sh-pb-caret { rotate: 180deg; }
.sh-pb-drawer { display: grid; grid-template-rows: 0fr; }
.sh-pb-drop.open .sh-pb-drawer, .sh-pb-drop.closing .sh-pb-drawer { grid-template-rows: 1fr; }
.sh-pb-in { min-height: 0; overflow: hidden; }
.sh-pb-plan {
  visibility: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start;
  margin: 0 22px; padding: 22px 0 24px; border-top: 1px solid rgba(255,255,255,.14);
}
.sh-pblock.light .sh-pb-plan { border-top-color: rgba(0,0,0,.14); }
.sh-pb-drop.open .sh-pb-plan, .sh-pb-drop.closing .sh-pb-plan { visibility: visible; }
.sh-pb-plan > :only-child { grid-column: 1 / -1; }
.sh-pb-pwords .sh-pb-soon { margin-bottom: 16px; }
.sh-pb-pwords .sh-pb-text { margin-top: 0; }
.sh-pb-points { list-style: none; margin: 14px 0 0; padding: 0; }
.sh-pb-points li { position: relative; padding: 9px 0 9px 20px; font-size: 14px; font-weight: 600; line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,.1); }
.sh-pblock.light .sh-pb-points li { border-bottom-color: rgba(0,0,0,.1); }
.sh-pb-points li::before { content: ''; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: #d43974; }
.sh-pblock.light .sh-pb-points li::before { background: #4b2c92; }
.sh-pb-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sh-pb-pics.n1 { grid-template-columns: minmax(0, 1fr); }
.sh-pb-pics.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-pb-pic { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; cursor: zoom-in; min-width: 0; }
.sh-pb-picbox { display: block; aspect-ratio: 4 / 3; background: rgba(0,0,0,.35); border-radius: 6px; overflow: hidden; }
.sh-pb-picbox img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sh-pb-pic:focus-visible .sh-pb-picbox { outline: 2px solid #d43974; outline-offset: 2px; }
.sh-pb-piclabel { font-size: 12px; font-weight: 600; letter-spacing: .04em; opacity: .7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .sh-pblock-wrap { margin-top: 18px; padding: 0 10px; }
  .sh-pb-body { padding: 16px; gap: 16px; }
  .sh-pb-soonimg { width: 110px; }
  .sh-pb-title { font-size: 20px; }
  .sh-pb-teaser { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .sh-pb-more { justify-content: space-between; }
  .sh-pb-plan { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0 16px; padding: 18px 0 18px; }
  .sh-pb-pics, .sh-pb-pics.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sh-pb-pics.n1 { grid-template-columns: minmax(0, 1fr); }
}

/* ── Product highlight (top of a brand section) ── */
.sh-hl {
  background: var(--card); border: 1px solid var(--line); border-top: 0;
  padding: 22px; display: flex; flex-direction: column; gap: 16px;
}
.sh-hl-row { display: flex; gap: 26px; align-items: center; }
.sh-hl-media {
  width: 340px; max-width: 40%; flex: 0 0 auto; border-radius: 14px;
  background: var(--tile); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sh-hl-media img { width: 100%; height: auto; max-height: 380px; object-fit: contain; }
.sh-hl-media.has-hero { cursor: zoom-in; }
.sh-hl-media.has-hero:hover { outline: 2px solid var(--b-accent, #fff); }
.sh-hl-tag { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--b-accent); }
.sh-hl-name { font-size: 21px; font-weight: 800; margin: 6px 0 8px; line-height: 1.25; }
.sh-hl-prices { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.hl-priceline { display: flex; align-items: baseline; gap: 8px; }
.hl-plabel { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); min-width: 92px; }
.sh-hl.light .hl-plabel { color: rgba(0,0,0,.6); }
.sh-hl-price { font-size: 24px; font-weight: 800; color: var(--green); }
.sh-hl-blurb { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.55; max-width: 560px; }
.sh-hl-video video { width: 100%; max-height: 420px; border-radius: 12px; background: #000; }

/* LIGHT brand-color backgrounds (yellow, kraft, lime…) flip the text dark */
.sh-hl.light { color: #14141a; }
.sh-hl.light .sh-hl-name { color: #14141a; }
.sh-hl.light .sh-hl-tag { color: rgba(0,0,0,.6); }
.sh-hl.light .sh-hl-blurb { color: rgba(0,0,0,.7); }
.sh-hl.light .sh-list-price { color: rgba(0,0,0,.45); }
.sh-hl.light .sh-prod-meta { color: rgba(0,0,0,.7); }
.sh-hl.light .sh-hl-price { color: #14141a; }
.sh-hl.light .sh-hl-media { background: transparent; }
.sh-hl.light .sh-hl-order { border-top-color: rgba(0,0,0,.25); }

/* Add to cart on a featured product: a pill that jumps to the product's own
   row (the card carries no store list of its own) */
.sh-hl-order { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sh-hl-order .hl-addcart {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: inherit; background: rgba(255,255,255,.08);
  border: 1px solid currentColor; border-radius: 999px; padding: 9px 16px; cursor: pointer;
}
.sh-hl-order .hl-addcart:hover { background: rgba(255,255,255,.16); }

/* ── Order controls (all viewports) ──
   Left column: green + (opens the store-qty entry) → the cart count once
   quantities exist (tap = cart view) → − while the entry is open. */
th.th-ctl { width: 46px; }
td.cell-ctl { text-align: center; }
.ctl-btn {
  background: none; border: 0; cursor: pointer; font-family: var(--mono);
  color: var(--green); font-size: 30px; font-weight: 800; line-height: 1; padding: 4px 8px;
}
.ctl-btn.is-num { font-size: 16px; white-space: nowrap; }   /* the cart figure: its cases in all (the pill beside it says "2 × 3 stores") */
.ctl-btn.is-open { color: var(--ink); }

/* the entry row is always in the table; its content rides a drawer (grid
   row 0fr → 1fr, applied at once) and the tongue (.det-pad, the
   category-colour panel) slides out from under the product row inside that
   window and back the same way — sheet.js "Motion" plays it */
tr.sh-det td { display: table-cell; padding: 0; border-bottom: 0; background: var(--card2); }
tr.sh-det.open td { border-bottom: 1px solid var(--line); }
.det-drawer { display: grid; grid-template-rows: 0fr; }
.det-drawer-in { min-height: 0; overflow: hidden; }
tr.sh-det.open .det-drawer, tr.sh-det.closing .det-drawer { grid-template-rows: 1fr; }
.det-pad { padding: 12px 24px 24px; visibility: hidden; }   /* the Reset line stays clear of the rounded corners. Hidden while shut — on the pad itself, the element that slides (see .sh-drawer-body) */
tr.sh-det.open .det-pad, tr.sh-det.closing .det-pad { visibility: visible; }
/* ── Drag-selected product group (sheet.js openGroup): a 2px border in one
   selection red (#FF4747 — the row's text colour was black on MIsix) around
   the run of rows — sides on every row, the top on the first, the bottom on
   the last (inset shadows, so they follow the corners) — and ONE tongue
   under the last row, its facts replaced by the group's line ── */
body.row-dragging { user-select: none; cursor: crosshair; }
.sh-brand .sh-table tr[data-pid].sel-row { --sel: #FF4747; box-shadow: inset 2px 0 0 0 var(--sel), inset -2px 0 0 0 var(--sel); }
.sh-brand .sh-table tr[data-pid].sel-row.sel-first { box-shadow: inset 2px 0 0 0 var(--sel), inset -2px 0 0 0 var(--sel), inset 0 2px 0 0 var(--sel); }
.sh-brand .sh-table tr[data-pid].sel-row.sel-last { box-shadow: inset 2px 0 0 0 var(--sel), inset -2px 0 0 0 var(--sel), inset 0 -2px 0 0 var(--sel); }
/* the release pulses the whole group (.row-flash below: a layer of its own, so
   the group border — the row's box-shadow — stays put through it) */
tr.sh-det.group .det-facts { display: none; }
.det-group-note { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; padding-bottom: 12px; }
/* the product it comes out of loses its bottom hairline: nothing between
   the row and the tongue */
tr[data-pid].expanded td, .sh-table tr[data-pid].expanded { border-bottom: 0; }
/* entry bar: per-store inputs left, running totals pinned right */
/* desktop: All stores (+ the running totals under it) in a slim column on
   the left, the store grid filling the rest; phones stack the two */
/* "Cancel selection" — bottom middle of the store list while stores are
   selected, laid over the Reset line (out of flow: showing it never moves
   the row, so a drag across the names can't make the page jump) */
.det-reset-wrap { position: relative; }
.det-selbar { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; pointer-events: none; }
body.has-store-sel .det-selbar { display: flex; }
.det-cancel-sel { pointer-events: auto; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--b-text, var(--dim)); background: none; border: 0; border-bottom: 1px dashed currentColor; padding: 2px 0; cursor: pointer; opacity: .8; }
.det-cancel-sel:hover { opacity: 1; }
.det-entry { position: relative; display: flex; gap: 16px; align-items: stretch; }   /* stretch: the divider runs the panel's full height */
/* the drag box while box-selecting stores */
.sel-box { position: absolute; z-index: 2; pointer-events: none; border: 1px dashed var(--b-text, #fff); border-radius: 4px; background: color-mix(in srgb, var(--b-text, #fff) 12%, transparent); }
.det-side { flex: 0 0 15%; min-width: 132px; display: flex; flex-direction: column; gap: 12px; padding-right: 16px; border-right: 1px solid var(--line); }
/* blocks bottom-aligned: every quantity box sits on one line, a name that
   wraps grows upward from just above its box */
.det-stores { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 160px)); gap: 10px 12px; align-items: end; }
.det-store { display: flex; flex-direction: column; gap: 4px; align-items: stretch; min-width: 0; }
/* a store block: the name over its box; selected = the whole block flips to
   the brand's text colour, the name in the brand colour, a 1px dark rule
   round it (the box itself stays dark) */
.det-store[data-store] { padding: 4px 4px 5px; border: 1px solid transparent; border-radius: 10px; transition: background .12s ease, border-color .12s ease, opacity .15s ease; }
/* a selection in hand and the pointer outside the store list: the stores
   NOT selected fade back; inside the list every store is at full strength */
body.has-store-sel .det-stores:not(:hover) .det-store[data-store]:not(.sel) { opacity: .45; }
.det-store.sel { background: var(--b-text, #fff); border-color: color-mix(in srgb, var(--b-color, #101018) 55%, black); }
.det-store.sel span { color: var(--b-color, #101018); }
/* the store's name — plain case, never shouted; tap to select it */
.det-store span { font-size: 12px; font-weight: 400; text-align: center; color: var(--dim); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* a long store name wraps to two lines (never cut short), right above its box */
.det-store .ds-pick {
  cursor: pointer; border-radius: 6px; padding: 2px 6px; box-sizing: border-box; user-select: none; transition: background .12s ease, color .12s ease;
  white-space: normal; overflow-wrap: anywhere; line-height: 1.2;
  touch-action: pan-y;   /* a sideways swipe across names paints a selection; up/down still scrolls */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.det-store .ds-pick:hover { background: rgba(255,255,255,.1); }
.det-store.sel .ds-pick:hover { background: rgba(0,0,0,.08); }
/* the quantity box: + on the left, the number in the middle, − on the right */
.det-store .qbox { display: flex; align-items: stretch; width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px; background: #101017; overflow: hidden; }
.det-store .qbox input { flex: 1 1 0; min-width: 0; width: auto; font-family: var(--mono); text-align: center; font-size: 13px; color: var(--ink); padding: 7px 0; border: 0; background: transparent; outline: none; -moz-appearance: textfield; }
.det-store .qbox input::-webkit-inner-spin-button, .det-store .qbox input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.det-store .qbox:focus-within { outline: 2px solid var(--b-accent, #fff); outline-offset: -1px; }
.det-store .qbox.has-over { outline: 2px solid #ff6b5e; outline-offset: -1px; }   /* set with the input's .over (sheet.js recalc) */
.det-store input.qty-in.over { color: #ff6b5e; }
.qbox .case-plus, .qbox .case-minus {
  flex: 0 0 auto; font-family: var(--mono); font-size: 17px; font-weight: 800; line-height: 1;
  background: none; border: 0; padding: 0 7px; cursor: pointer; white-space: nowrap;
}
.case-plus { color: var(--green); }
.case-plus:hover { background: rgba(61,220,132,.16); }
.case-minus { color: #ff6b6b; }
.case-minus:hover { background: rgba(255,107,107,.16); }
/* Reset at the entry's bottom right: zeroes the targeted stores */
.det-reset-wrap { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.det-reset { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--dim); background: none; border: 1px dashed var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; opacity: .8; }
.det-reset:hover { opacity: 1; color: #ff6b6b; border-color: #ff6b6b; background: rgba(255,107,107,.1); }
/* closed rows show ONLY Available / List / Your Price at every width —
   expiration (like case size) lives in the + expansion's facts */
.sh-prod-meta .m-exp { display: none; }
/* desktop: the expansion carries Exp / CASE SIZE / Available as an inline
   fact row (Case Size no longer sits on the closed product row) */
.det-facts { display: flex; gap: 26px; padding-bottom: 12px; }   /* above the store entries */
.det-facts div { display: flex; gap: 7px; align-items: baseline; }
.det-facts span { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.det-facts b { font-size: 14px; }
/* stock across batches: one line per batch (date · THC · units), oldest first, in the Expiration fact's place */
.det-facts .det-lots b { display: flex; flex-direction: column; gap: 3px; }
.det-facts .det-lots i { font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.det-lots em { font-style: normal; }
.det-lots em + em::before { content: ' · '; }
/* the state's switches reach the batch lines: a hidden first part takes the next one's separator */
body.hide-thc .det-lots .lot-thc, body.hide-avail .det-lots .lot-n { display: none; }
body.hide-thc .det-lots .lot-thc:first-child + em::before { content: none; }
body.hide-thc.hide-avail .det-lots i:not(:has(.lot-exp)), body.hide-thc.hide-avail .det-lots:not(:has(.lot-exp)) { display: none; }
body.hide-avail .det-lots i:not(:has(.lot-exp, .lot-thc)) { display: none; }   /* a line left with nothing to show */
/* the description: an eye at the end of the facts (only when one resolves,
   sheet.js detailRow), the text under them on tap — plain show/hide inside
   motion(), so the rows below glide; the text itself never transitions */
.det-eye { display: inline-flex; align-items: center; align-self: center; background: none; border: 0; padding: 0 2px; cursor: pointer; color: var(--dim); opacity: .7; }
.det-eye svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.det-eye:hover, .det-eye.on { opacity: 1; }
.det-desc { font-size: 12.5px; line-height: 1.45; color: var(--dim); opacity: .9; max-width: 72ch; padding-bottom: 14px; white-space: pre-line; overflow-wrap: anywhere; }
tr.sh-det.group .det-desc { display: none; }
/* under the store entries: Units / Cases / Total read as their sum */
.det-totals { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.det-totals div { display: flex; align-items: baseline; justify-content: center; gap: 5px; min-width: 0; }
.det-totals span { font-size: 12px; font-weight: 400; color: var(--dim); }
.det-totals span::after { content: ':'; }
.det-totals b { font-size: 14px; color: var(--ink); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.det-totals .d-total { font-weight: 800; color: var(--green); }

.badge.thc { display: inline-block; background: #39404f; }   /* THC pill, every width — only rendered when the product has THC */

.sh-summary { max-width: 1240px; margin: 30px auto 0; padding: 0 20px; }
.sh-summary .sum-money { max-width: 520px; margin: 8px 0 18px auto; }
.sh-summary .sum-money .po-total b { font-size: clamp(30px, 8vw, 44px); }
/* the bottom bar's COD call-out: above the totals on the dock, under them on a phone */
.sh-totalbar .tb-cod { margin: 0 0 12px; padding: 10px 14px; font-size: 14px; }
/* store map (storeMapHTML + mountMaps): numbered store chips over an interactive map (Leaflet on
   OpenStreetMap) with every store pinned — under the store list in Order info, above the table in
   the Order Summary. The map is its own stacking context, so Leaflet's panes (z-index 400–1000)
   never climb over the sheet's floating bars. */
.sh-storemap { margin: 14px 0 6px; }
.sh-buyer > .sh-storemap { flex: 1 1 100%; }   /* Order info is a wrapping row: the map takes a line of its own */
.sm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sm-chip {
  display: inline-flex; align-items: center; gap: 7px; font: 700 12px var(--mono); color: var(--ink);
  background: #101017; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 5px; cursor: pointer;
}
.sm-chip b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--line); font-size: 11px; }
.sm-chip.on { border-color: #fff; }
.sm-chip.has-order b { background: var(--green); color: #0b0b0f; }
.sm-map { position: relative; z-index: 0; isolation: isolate; height: 320px; border-radius: 12px; overflow: hidden; }
/* the gaps a move opens before its tiles arrive = the dark map's own land colour (#f2efe9 through the
   filter below). .leaflet-container, not .sm-map alone: leaflet.css loads AFTER this file and its
   #ddd flashed light-grey squares through every gap while a store swap loaded tiles */
.sm-map, .sm-map.leaflet-container { background: #1d1c19; }
/* the street map, dark — on each tile (drawn once as it loads), not the whole pane re-filtered every frame of a move */
.sm-map .leaflet-tile { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.88) saturate(.7); }
/* a far store swap: the map dips out, re-centres, and comes back once its tiles are in (showOnMap) */
.sm-map .leaflet-map-pane { transition: opacity .16s ease; }
.sm-map.sm-swap .leaflet-map-pane { opacity: 0; }
.sm-map .leaflet-control-attribution { background: rgba(10,10,15,.72); color: #9a9aa8; font-size: 10px; }
.sm-map .leaflet-control-attribution a { color: #c9c9d4; }
.sm-map .leaflet-bar a { background: #181820; color: #e6e6ee; border-bottom-color: #2a2a35; }
.sm-map .leaflet-bar a:hover { background: #22222c; }
.sm-pin { background: none; border: 0; }
.sm-pin b {
  display: grid; place-items: center; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%;
  background: #131319; border: 3px solid #fff; color: #fff; font: 800 12px var(--mono); box-shadow: 0 2px 6px rgba(0,0,0,.55);
  outline: 3px solid transparent; outline-offset: 2px; transition: background-color .2s, border-color .2s, color .2s, outline-color .2s;
}
.sm-pin.has-order b { background: var(--green); border-color: var(--green); color: #0b0b0f; }
.sm-pin.on b { outline-color: #fff; }
.sm-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; min-height: 16px; }
.sm-dir { font-size: 12px; font-weight: 700; color: var(--dim); text-decoration: none; }
.sm-dir:hover { color: var(--ink); }
.sm-note { font-size: 11px; letter-spacing: .04em; color: var(--dim); margin-left: auto; }
@media (max-width: 720px) { .sm-map { height: 260px; } }
.sh-store-row.sm-flash, .sh-sumtable tr.sm-flash td { box-shadow: inset 0 0 0 2px var(--green); }
.sh-summary h2 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sh-summary .sh-tablewrap { border-radius: 16px; border-top: 1px solid var(--line); }
.sh-summary table.sh-sumtable { min-width: 0; }   /* 4 columns — never force sideways scroll */
.sh-summary td, .sh-summary th { white-space: nowrap; }
.sh-summary tr.grand td { font-weight: 800; border-top: 2px solid var(--ink); font-size: 14px; }
.sh-notes { margin-top: 16px; }
.sh-notes textarea {
  font-family: var(--mono); width: 100%; min-height: 70px; padding: 10px 12px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; background: var(--card2); font-size: 13px; resize: vertical;
}

/* ── Sticky total bar (with expandable quote drawer) ── */
.sh-totalbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #14141c; color: #fff; border-top: 1px solid var(--line);
  padding: 14px 26px;
  box-shadow: 0 -8px 30px rgba(0,0,0,.55);
}
/* summary's own actions (Submit + download) — the bar leaves when the summary
   is in view, at every width without the right-hand rail (≥1800px has no bar) */
.sh-sum-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 0 4px; }
.sh-totalbar { transition: transform .35s ease; }
body.sum-visible .sh-totalbar:not(.open) { transform: translateY(115%); }
@media (max-width: 720px) {
  .sh-sum-actions { flex-direction: column; }
  .sh-sum-actions .tb-submit, .sh-sum-actions .tb-dl { width: 100%; text-align: center; }
}
/* desktop: a centered dock sized to its content, not a full-width band;
   the expanded quote gets real height so it reads at eye level, not at
   the very bottom edge */
@media (min-width: 721px) {
  .sh-totalbar {
    left: 50%; right: auto; transform: translateX(-50%);
    width: max-content; max-width: min(92vw, 900px);
    border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0;
    padding: 14px 30px;
  }
  body.sum-visible .sh-totalbar:not(.open) { transform: translate(-50%, 115%); }   /* the centred dock slides off too */
  .tb-quote { min-width: 560px; min-height: 38vh; max-height: 70vh; }
}
.sh-totalbar .tb-row { display: flex; align-items: center; gap: 26px; }
.tb-caret {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 24px; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0;
  background: #14141c; color: #fff; font-size: 11px; cursor: pointer;
  font-family: var(--mono);
}
.tb-quote {
  max-height: 55vh; overflow-y: auto; margin-bottom: 12px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.q-line {
  display: flex; align-items: baseline; gap: 12px;
  padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-size: 13px;
}
.q-line:last-child { border-bottom: 0; }
.q-name { flex: 1; min-width: 0; opacity: .85; }
.q-qty { flex: 0 0 auto; opacity: .6; font-size: 12px; }
.q-line b { flex: 0 0 auto; font-weight: 800; }
.q-empty { opacity: .5; border: 0; }
/* ALL STORES entry: applies to every store at once, set apart from the
   individual store fields */
.det-store.det-all { padding: 0; border: 0; }
.det-store.det-all > span { color: #9ef01a; font-weight: 600; }
.det-store.det-all .qbox { border-color: #9ef01a55; }

/* quote line → tap to unfold its per-store split (text only) */
.q-line[data-qpid] { cursor: pointer; flex-wrap: wrap; }
.q-caret { flex: 0 0 auto; font-size: 10px; opacity: .6; }
.q-eye {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer;
  font-size: 13px; line-height: 1; padding: 0 2px; opacity: .5;
}
.q-eye:hover { opacity: 1; }
/* remove a line: a real round button (its own target, never a stray glyph) */
.q-x {
  flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.8); font-size: 13px; line-height: 1;
}
.q-x:hover, .q-x:focus-visible { color: #fff; background: #d64545; border-color: #d64545; }
@media (max-width: 720px) { .q-x { width: 34px; height: 34px; font-size: 15px; } }
/* slashed full-list price = the tier deal, per line and on the totals */
.sh-totalbar #tb-full { color: rgba(255,255,255,.45); font-size: 13px; font-weight: 700; }
/* a Coming soon category (a teaser, nothing to order): the wordmark in the
   category's text colour on its row colour, a dashed frame, a slow breathe */
.sh-table tr.sh-soon-row td { padding: 6px 10px 10px; }
.sh-soon-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px 22px; border-radius: 12px; color: var(--b-text); background: var(--b-cat-bg, var(--b-color)); }
.sh-soon-card svg { width: min(560px, 92%); height: auto; animation: shSoon 2.6s ease-in-out infinite; }
.sh-soon-card small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
@keyframes shSoon { 0%, 100% { opacity: .78; transform: scale(1); } 50% { opacity: 1; transform: scale(1.015); } }
/* jumped-to row flashes so the eye lands on it: a glow LAYER between the
   row's background and its content (never the background itself — animating
   that wiped a brand row's shelf gradient for the whole flash), following the
   corners, fading by opacity — the compositor's job. (It was a box-shadow
   keyframe: 1.6s of main-thread repaints, right through the landing motion) */
.sh-brand .sh-table tr[data-pid].row-flash::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: rgba(158, 240, 26, .32); animation: rowFlash 1.6s ease-out both;
}
@keyframes rowFlash { from { opacity: 1; } to { opacity: 0; } }
.q-stores { flex: 1 1 100%; padding: 2px 0 4px 18px; }
.q-store { display: flex; gap: 12px; align-items: center; padding: 3px 0; font-size: 12px; opacity: .9; }
.q-store .q-name { flex: 1; min-width: 0; }
/* the store quantity is a box: tap the number, type a new one */
.q-store .q-qty { display: inline-flex; align-items: center; gap: 4px; opacity: 1; }
input.q-sqty {
  width: 58px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--ink);
  background: #101017; border: 1px solid var(--line); border-radius: 6px; padding: 3px 4px;
}
input.q-sqty:focus { outline: 2px solid #9ef01a; border-color: transparent; }
/* Order Summary: store rows with quantity expand to text-only line items */
.sh-sumtable tr.sum-store { cursor: pointer; }
.sh-sumtable tr.sum-store:hover td { background: var(--card2); }
.sum-caret { font-size: 10px; opacity: .6; }
/* rename in place: ✎ appears only while hovering the name text itself; an
   unnamed store shows it always and dims its "Store N" placeholder */
.sum-name { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.sum-name .sum-edit {
  background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 13px; line-height: 1;
  padding: 1px 3px; border-radius: 6px; opacity: 0; transition: opacity .15s;
}
.sum-name:hover .sum-edit, .sum-name.unnamed .sum-edit { opacity: 1; }
.sum-name .sum-edit:hover { color: var(--ink); background: var(--card2); }
.sum-name.unnamed { color: var(--dim); font-style: italic; }
.sum-rename {
  width: 170px; max-width: 100%; background: var(--card2); color: var(--ink); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 7px; font: inherit; font-size: 13px;
}
.sum-rename:focus { outline: 1px solid var(--acc, var(--ink)); }
.sh-sumtable tr.sum-det td { padding: 2px 10px 12px 26px; white-space: normal; }   /* a long name wraps: the box and ✕ stay on screen */
.sh-sumtable tr.sum-det .q-line { align-items: center; }
.sh-sumtable tr.sum-det .q-name { overflow-wrap: anywhere; }
.sh-sumtable tr.sum-det .q-line { font-size: 13px; }
/* its quantity reads as plain "× 40" — hover shows it's a box, click and type a new number */
.sh-sumtable .q-line .q-qty { display: inline-flex; align-items: center; gap: 2px; }
.sh-sumtable input.q-sqty { width: 5.2ch; padding: 2px 3px; text-align: left; background: transparent; border-color: transparent; color: inherit; font-size: inherit; cursor: text; -moz-appearance: textfield; }
.sh-sumtable input.q-sqty::-webkit-inner-spin-button, .sh-sumtable input.q-sqty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sh-sumtable input.q-sqty:hover { border-color: var(--line); background: #101017; }
.sh-sumtable input.q-sqty:focus { background: #101017; }
.sh-totalbar .tb-item { display: flex; flex-direction: column; }
.sh-totalbar .tb-label { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.sh-totalbar .tb-value { font-size: 17px; font-weight: 800; }
.sh-totalbar .tb-grand .tb-value { color: #9ef01a; font-size: 20px; }
.sh-totalbar .tb-submit {
  margin-left: auto; font-family: var(--mono); font-weight: 800; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: #101018; background: #fff;
  border: 0; border-radius: 999px; padding: 13px 30px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.sh-totalbar .tb-submit:hover { background: #9ef01a; }
/* the public menu's dock: the label and the Request pricing pill on one line */
.sh-menubar { display: flex; align-items: center; gap: 24px; }
/* icon button beside Submit: download the quote as a spreadsheet */
.sh-totalbar button.tb-dl {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 999px;
  background: none; border: 2px solid rgba(255,255,255,.5); color: #fff;
  font-family: var(--mono); font-size: 18px; font-weight: 800; cursor: pointer; line-height: 1;
}
.sh-totalbar button.tb-dl:hover { border-color: #9ef01a; color: #9ef01a; }
.sh-totalbar .tb-reorder {
  flex: 0 0 auto; background: none; border: 1px dashed rgba(255,255,255,.35);
  border-radius: 999px; color: rgba(255,255,255,.75); font-family: var(--mono);
  font-size: 11px; font-weight: 700; padding: 9px 13px; cursor: pointer; white-space: nowrap;
}
.sh-totalbar .tb-reorder:hover { color: #fff; border-color: #fff; }

/* toast action button ("Restore cart?") */
.sh-toast .sh-toast-act {
  background: #9ef01a; color: #101018; border: 0; border-radius: 999px;
  font-family: var(--mono); font-weight: 800; font-size: 12px;
  padding: 7px 14px; cursor: pointer; white-space: nowrap;
}
.sh-toast .sh-toast-act:hover { color: #101018; filter: brightness(1.1); }

/* ── Post-submit confirmation (receipt) ── */
.cf-overlay {
  position: fixed; inset: 0; z-index: 130; background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.cf-card {
  width: min(430px, 100%); text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 30px 26px;
}
.cf-check {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--green); color: #101018; font-size: 28px; font-weight: 800; line-height: 54px;
}
.cf-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cf-who { margin: 0 0 18px; color: var(--dim); font-size: 13px; }
.cf-facts {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card2);
}
.cf-facts span { display: flex; flex-direction: column; gap: 2px; }
.cf-facts i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.cf-facts b { font-size: 16px; }
.cf-facts .cf-grand b { color: var(--green); }
.cf-note { margin: 16px 0 20px; color: var(--dim); font-size: 13px; line-height: 1.5; }
.cf-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cf-dl {
  background: none; border: 1px dashed var(--line); border-radius: 999px;
  color: var(--dim); font-family: var(--mono); font-size: 12px; font-weight: 700;
  padding: 10px 16px; cursor: pointer;
}
.cf-dl:hover { color: var(--ink); border-color: var(--ink); }
.cf-done {
  background: var(--ink); border: 0; border-radius: 999px; color: #101018;
  font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .06em;
  padding: 10px 22px; cursor: pointer;
}
.cf-done:hover { filter: brightness(1.1); }

/* ── Reorder modal ── */
.ro-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.ro-panel {
  width: min(680px, 100%); max-height: 86vh; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.ro-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.ro-head h3 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ro-close { background: none; border: 0; color: var(--dim); font-size: 15px; cursor: pointer; }
.ro-close:hover { color: var(--ink); }
.ro-head { gap: 12px; }
.ro-head h3 { flex: 1; min-width: 0; }
.ro-upload {
  background: none; border: 1px dashed var(--line); border-radius: 999px;
  color: var(--dim); font-family: var(--mono); font-size: 11px; font-weight: 700;
  padding: 7px 12px; cursor: pointer; white-space: nowrap;
}
.ro-upload:hover { color: var(--ink); border-color: var(--ink); }
.ro-empty { padding: 24px 0; color: var(--dim); font-size: 13px; text-align: center; }
.ro-body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.ro-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1); flex-wrap: wrap;
}
.ro-row:last-child { border-bottom: 0; }
.ro-name { flex: 1 1 200px; min-width: 0; font-size: 14px; }
.ro-name small { display: block; color: #ff8c8c; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.ro-units {
  width: 84px; text-align: center; font-family: var(--mono); font-size: 14px;
  color: var(--ink); background: #101017; border: 1px solid var(--line); border-radius: 8px; padding: 7px 4px;
}
.ro-price { font-size: 12px; color: var(--dim); white-space: nowrap; }
/* one box per store under the product — the split IS the order */
.ro-stores { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; padding-top: 2px; }
.ro-stores label { display: flex; flex-direction: column; gap: 3px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ro-stores label span { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
input.ro-sq {
  width: 76px; text-align: center; font-family: var(--mono); font-size: 14px;
  color: var(--ink); background: #101017; border: 1px solid var(--line); border-radius: 8px; padding: 7px 4px;
}
.ro-sum { font-size: 12px; color: var(--dim); padding-bottom: 8px; }
.ro-sum b { color: var(--ink); }
.ro-sug { flex: 1 1 200px; font-size: 12.5px; color: var(--dim); }
.ro-sug b { color: var(--ink); }
.ro-ok {
  background: none; border: 2px solid #9ef01a; color: #9ef01a; border-radius: 999px;
  width: 34px; height: 34px; font-size: 15px; font-weight: 800; cursor: pointer; line-height: 1;
}
.ro-ok:hover { background: #9ef01a; color: #101018; }
.ro-del { background: none; border: 0; color: var(--dim); font-size: 14px; cursor: pointer; padding: 4px 6px; }
.ro-del:hover { color: #ff8c8c; }
.ro-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.ro-apply {
  font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: #101018; background: #9ef01a; border: 0;
  border-radius: 999px; padding: 12px 24px; cursor: pointer; white-space: nowrap;
}
.ro-apply:hover { filter: brightness(1.1); }
/* up-front choice when the cart already has items */
.ro-mode { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(158,240,26,.06); }
.ro-mode-q { font-size: 12px; color: var(--ink); font-weight: 700; margin-right: 4px; }
.ro-mode-btn { font-family: var(--mono); font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px; cursor: pointer; background: none; color: var(--dim); border: 1px solid var(--line); }
.ro-mode-btn.on { background: #9ef01a; color: #14141a; border-color: #9ef01a; }
.ro-mode-btn:not(.on):hover { color: var(--ink); border-color: var(--ink); }
.ro-sug i { font-style: normal; color: #9ef01a; font-size: 11px; }
/* grouped by brand · category; a delisted line reads Was (struck) → Now (lit) */
.ro-group { margin: 14px 0 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ro-group i { font-style: normal; color: var(--ink); opacity: .85; margin-left: 8px; }
.ro-row:first-child { margin-top: 0; }
.ro-was { opacity: .6; text-decoration: line-through; }
.ro-was small, .ro-gone .ro-sug small { display: block; text-decoration: none; color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 2px; }
.ro-gone .ro-sug { flex: 1 1 220px; padding: 6px 10px; border: 1px solid rgba(158,240,26,.45); border-radius: 8px; background: rgba(158,240,26,.1); color: var(--ink); }
.ro-gone .ro-sug b { display: block; font-size: 14px; color: #9ef01a; }
.ro-gone .ro-sug.ro-none { background: none; border-style: dashed; border-color: var(--line); color: var(--dim); }
.ro-ok { white-space: nowrap; }

/* ── Full-width reading size ──
   Above the mobile card layout nothing on the sheet drops below 15px; the
   hierarchy is preserved by scaling the larger sizes with it. */
@media (min-width: 721px) {
  .sh-table th { font-size: 15px; }
  .sh-table td { font-size: 17px; }
  .sh-prod-name { font-size: 19px; }
  .sh-prod-meta { font-size: 15px; }
  .badge { font-size: 15px; padding: 3px 11px; }
  .sh-list-price { font-size: 15px; }
  .sh-your-price { font-size: 24px; }
  .sh-brand-count { font-size: 15px; }
  .sh-brand-total { font-size: 24px; }
  .sh-tierband { font-size: 16px; }
  .sh-field label { font-size: 15px; letter-spacing: .06em; }
  .sh-field input, .sh-notes textarea { font-size: 16px; }
  .sh-stores-ctl { font-size: 15px; }
  .sh-summary h2 { font-size: 15px; }
  /* quantity entry bar */
  .det-store span { font-size: 14px; }
  .det-stores { grid-template-columns: repeat(auto-fit, minmax(128px, 172px)); }
  .det-store .qbox input { font-size: 16px; }
  .qbox .case-plus, .qbox .case-minus { font-size: 20px; padding: 0 9px; }

  .det-totals span { font-size: 14px; }
  .det-totals b { font-size: 16px; }
  .sh-hl-tag { font-size: 15px; }
  .hl-plabel { font-size: 15px; min-width: 110px; }
  .sh-hl-blurb { font-size: 16px; }
  .q-name, .q-qty { font-size: 15px; }
}

/* ── Wide screens (≥1800px): order info becomes a collapsible left rail ── */
/* the tier badge's line: right end, between the banner and the promo band */
.sh-tierline { max-width: 1240px; margin: 0 auto 10px; padding: 0 20px; display: flex; justify-content: flex-end; }
@media (max-width: 720px) {
  /* phones: the banner hangs below its box (see .sh-promo) — the pill now clears it, the band follows */
  .sh-tierline { padding: 0 10px; margin-top: max(12px, calc(50px - 3.5vh)); margin-bottom: 8px; }
  .sh-tierline + .sh-promo { margin-top: 0; }
}
/* the tier: a gold star badge (the old full-width band, shrunk to a pill) */
/* the tier badge IS a tier pill (tier-pills.css: bronze / silver / gold /
   Six Labs pink by rank) — only the layout lives here */
/* .tier-pill's .78em comes later (tier-pills.css) — the doubled class beats it */
.sh-tierbadge.tier-pill { flex: 0 0 auto; font-size: 16px; letter-spacing: .06em; }
.sh-tierbadge .tier-star { font-size: 1.1em; line-height: 1; }
@media (min-width: 721px) { .sh-tierbadge.tier-pill { font-size: 22px; } }
@media (max-width: 720px) { .sh-tierbadge .tier-off { display: none; } }
/* ! nudge: dispensary name or a store name still blank — a white-bordered pill in place of the store line (tap → the
   retailer field) */
.bt-nudge { display: none; }
.sh-forbuyer-s.needs-info .bt-nudge {
  display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0;
  padding: 3px 10px; border: 1px solid #fff; border-radius: 999px; color: #fff;
  font: inherit; letter-spacing: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sh-forbuyer-s.needs-info .bt-nudge:hover { background: rgba(255,255,255,.12); }
/* collapsed at ANY width: gone (the store line above opens it) */
.sh-buyer.collapsed { display: none; }

/* ── Wide screens (≥1800px): live quote tally fixed in the right gutter ── */
.sh-cartrail { display: none; }
@media (min-width: 1800px) {
  .sh-cartrail {
    position: fixed; right: 20px; z-index: 40;
    /* fill the whole gutter beside the 1240px menu, minus small margins */
    width: min(480px, calc((100vw - 1240px) / 2 - 36px));
    max-height: calc(100vh - 140px);
    display: flex; flex-direction: column; gap: 10px;
    padding: 18px 20px; background: #1D1D1D; border: 1px solid #333; border-radius: 4px;
  }
  .sh-cartrail { container-type: inline-size; }
  .sh-cartrail .cr-head { display: flex; align-items: center; gap: 10px; }
  .sh-cartrail .cr-toggle {
    flex: 1; display: flex; align-items: center; gap: 8px; background: none; border: 0;
    padding: 0; cursor: pointer; text-align: left;
    font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--dim);
  }
  .sh-cartrail .cr-toggle:hover { color: var(--ink); }
  .sh-cartrail .cr-caret { font-size: 11px; }
  .sh-cartrail .cr-reset {
    background: none; border: 1px dashed var(--line); border-radius: 999px;
    color: var(--dim); font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; cursor: pointer;
  }
  .sh-cartrail .cr-reset:hover { color: #ff6b6b; border-color: rgba(255,107,107,.5); }
  /* collapsed: slim strip, caret only (same treatment as the left rail) */
  .sh-cartrail.collapsed { width: 46px; padding: 10px 0; overflow: hidden; gap: 0; }
  .sh-cartrail.collapsed > *:not(.cr-head) { display: none; }
  .sh-cartrail.collapsed .cr-head { justify-content: center; }
  .sh-cartrail.collapsed .cr-reset, .sh-cartrail.collapsed .cr-tlabel { display: none; }
  .sh-cartrail.collapsed .cr-toggle { flex: 0 0 auto; justify-content: center; font-size: 14px; }
  /* narrow rail: title takes its own full line, numbers right-align below —
     side-by-side only returns when the rail is wide enough */
  @container (max-width: 340px) {
    .cr-lines .q-line .q-name { flex: 1 1 calc(100% - 26px); }
    .cr-lines .q-line .q-eye { margin-left: auto; }
  }
  .sh-cartrail .cr-lines { flex: 0 1 auto; min-height: 0; overflow-y: auto; }
  .sh-cartrail .cr-lines .q-line { font-size: 14px; }
  /* the money: the Place order box's own blocks (stores table, rows, COD call-out, the big total), sized to the rail */
  .sh-cartrail .cr-money { margin-top: 0; }
  .sh-cartrail .po-stores { font-size: 14px; margin-bottom: 6px; }
  .sh-cartrail .po-stores td { padding: 8px 0; }
  .sh-cartrail .po-stores td + td, .sh-cartrail .po-stores th + th { width: 64px; }
  .sh-cartrail .po-row { font-size: 14px; padding: 6px 0; }
  .sh-cartrail .po-cod { font-size: 14px; padding: 12px 14px; }
  .sh-cartrail .po-total { margin-top: 14px; padding-top: 14px; }
  .sh-cartrail .po-total b { font-size: clamp(26px, 10cqi, 40px); }
  .sh-cartrail .cr-actions { display: flex; gap: 10px; align-items: center; }
  .sh-cartrail .cr-submit {
    flex: 1; font-family: var(--mono); font-weight: 800; font-size: 16px; letter-spacing: .02em; color: #fff; background: #D43974;
    border: 0; border-radius: 3px; padding: 15px 12px; cursor: pointer; transition: background-color .12s;
  }
  .sh-cartrail .cr-submit:hover { background: #c02f66; }
  .sh-cartrail .cr-submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .sh-cartrail .cr-submit:disabled { opacity: .6; cursor: default; }
  .sh-cartrail .cr-dl {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: 3px;
    background: none; border: 1px solid #3a3a3a; color: var(--ink);
    font-family: var(--mono); font-size: 16px; font-weight: 800; cursor: pointer; line-height: 1;
  }
  .sh-cartrail .cr-dl:hover { border-color: #fff; }
  .sh-cartrail .cr-reorder {
    background: none; border: 1px dashed var(--line); border-radius: 10px;
    color: var(--dim); font-family: var(--mono); font-size: 11.5px; font-weight: 700;
    padding: 9px; cursor: pointer;
  }
  .sh-cartrail .cr-reorder:hover { color: var(--ink); border-color: var(--ink); }
  .sh-cartrail .cr-reorder[hidden] { display: none; }
  .sh-cartrail .q-foot { display: none; }   /* the rail has its own Reorder under Submit */
  .sh-cartrail .q-reorder-mid .tb-reorder {
    background: none; border: 1px dashed var(--line); border-radius: 10px;
    color: var(--dim); font-family: var(--mono); font-size: 11.5px; font-weight: 700;
    padding: 9px 16px; cursor: pointer;
  }
  .sh-cartrail .q-reorder-mid .tb-reorder:hover { color: var(--ink); border-color: var(--ink); }
  /* the rail IS the cart up here — the sticky bottom bar retires (the public
     menu's pricing-request bar has no rail, so it stays) */
  .sh-totalbar:not(.sh-menubar) { display: none; }
  body:not(.menu-mode) { padding-bottom: 24px; }
}

@media (min-width: 1800px) {
  /* the Order info stays in flow above the brands at every width (no left rail) */
}

/* ── Mobile: compact product cards + tap-to-expand details ──
   Card shows only: icon · name · strain badge · weight · list · your price.
   Tapping the card opens the detail row: per-store qtys, case size,
   available inventory, prices, THC, expiration, row totals. */
@media (max-width: 720px) {
  .sh-buyer { flex-direction: column; align-items: stretch; }
  /* phones: the brands sit close and wide — the Six Labs banner then every
     brand band on one screen; a tap opens one (the drawer + scroll logic) */
  .sh-brand { margin-top: 8px; padding: 0 10px; }
  .sh-brand-band { box-shadow: 0 6px 14px rgba(0,0,0,.4); }
  .sh-stores-ctl { margin-left: 0; }
  .sh-totalbar { gap: 14px; padding: 12px 14px; flex-wrap: wrap; }

  /* no table layout at all on mobile — nothing can force sideways scroll.
     table.sh-table beats .sh-table on specificity, so match it here or the
     base min-width:900px wins and shoves prices/+ off-screen. */
  .sh-tablewrap { overflow-x: hidden; }
  table.sh-table, .sh-table tbody { display: block; width: 100%; min-width: 0; }
  .sh-table thead { display: none; }
  .sh-table tr.sh-sub, .sh-table tr.sh-sub td { display: block; width: 100%; }

  /* menu mode: plain product cards, no controls or numbers columns */
  body.menu-mode .sh-table tr[data-pid] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "prod";
  }
  body.menu-mode .sh-table tr[data-pid] td.cell-thc,
  body.menu-mode .sh-table tr[data-pid] td.cell-case,
  body.menu-mode .sh-table tr[data-pid] td.cell-avail { display: none; }

  /* card grid: [+ / count] [product] [prices stacked] */
  .sh-table tr[data-pid] {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-areas: "ctl prod list" "ctl prod your";
    align-items: center; column-gap: 8px;
    padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .sh-table tr[data-pid] td { display: none; border: 0; padding: 0; background: none !important; }
  .sh-table tr[data-pid] td.cell-ctl { display: block; grid-area: ctl; }
  .sh-table tr[data-pid] td.cell-prod { display: block; grid-area: prod; min-width: 0; }
  .sh-table tr[data-pid] td.cell-list { display: block; grid-area: list; text-align: right; align-self: end; }
  .sh-table tr[data-pid] td.cell-your { display: block; grid-area: your; text-align: right; align-self: start; }
  /* closed + in the cart: Units · Cases · Total stack where the prices were */
  .sh-table tr[data-pid].in-cart:not(.expanded):not(.sel-row) td.cell-list,
  .sh-table tr[data-pid].in-cart:not(.expanded):not(.sel-row) td.cell-your { display: none; }
  /* …on a line of their own under the product: beside it, a four-figure total pushed under the name and chips */
  .sh-table tr[data-pid].in-cart:not(.expanded):not(.sel-row) td.cell-cart { display: flex; justify-content: space-between; align-items: flex-end;
    gap: 10px; grid-column: 1 / 4; grid-row: 3; margin-top: 2px; padding: 6px 18px; }
  /* each figure under its label, as the dock reads */
  .sh-table tr[data-pid].in-cart td.cell-cart .cc-i { display: flex; flex-direction: column; line-height: 1.15; }
  .sh-table tr[data-pid].in-cart td.cell-cart .cc-i:last-child { text-align: right; }
  .sh-table tr[data-pid].in-cart td.cell-cart .cc-i i { font-size: 9px; }
  .cell-cart .cc-i i { font-size: 10px; }
  .cell-cart .cc-i b { font-size: 13px; }
  .cell-cart .cc-i:last-child b { font-size: 15px; }
  .ctl-btn { padding: 6px 4px; min-width: 44px; }   /* thumb-sized (was 26px wide) */
  /* iOS zooms the page into any focused input under 16px — keep every field at 16 */
  .sh-field input, .sh-notes textarea, .sh-table input.qty-in, .det-store input.qty-in, .det-store input.qty-all { font-size: 16px; }
  .det-store.det-all input.qty-all { font-size: 16px; }   /* outranks the desktop-specific rule */
  input.q-sqty, input.ro-sq { font-size: 16px; }
  .sh-stores-ctl button { width: 40px; height: 40px; }
  .sh-forbuyer-s { min-height: 36px; }
  .sh-brand-band { flex-wrap: nowrap; gap: 10px; padding: 0 12px; }   /* one row — the band keeps the banner shape */
  .sh-brand-side { flex: 0 0 auto; justify-content: flex-end; margin-left: auto; gap: 8px; }
  .sh-brand-total { font-size: 15px; }
  .qbox .case-plus, .qbox .case-minus { min-width: 42px; font-size: 24px; }
  .det-reset { min-height: 36px; font-size: 14px; }
  .det-reset-wrap { grid-column: 1 / -1; }
  /* stores two per row; ALL STORES owns the top row (it's omitted altogether
     when there is only one store — nothing to apply to "all") */
  /* as many equal columns as fit (two on a phone, more on a tablet) — never a fixed pair with dead space */
  /* stores sit tight (more on one screen); past four the list scrolls
     inside the screen instead of running off the bottom of it */
  .det-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px 10px; }
  .det-stores.many { max-height: 40vh; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
  .det-store { min-width: 0; gap: 2px; }
  .det-store[data-store] { padding: 2px 3px 3px; }
  .det-store .ds-pick { padding: 1px 4px; }
  .det-store span { max-width: 100%; }
  .det-store .qbox { width: 100%; }
  /* stacked: All stores + totals on top, the store grid beneath */
  .det-entry { flex-direction: column; align-items: stretch; gap: 12px; }   /* stretch: the store grid spans the row (flex-start shrank it to two columns) */
  .det-side { flex: none; min-width: 0; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); align-items: center; }
  .det-side .det-totals { flex-direction: row; gap: 24px; }
  .det-store.det-all { align-items: center; text-align: center; width: 100%; }
  .det-store.det-all .qbox { width: min(220px, 100%); }

  .sh-prod { min-width: 0; gap: 10px; }
  .sh-thumb { width: 48px; height: 48px; flex: 0 0 48px; }
  .sh-prod-name { font-size: 12.5px; }
  .sh-prod-meta .m-exp { display: none; }   /* exp/case/avail live in the + expansion */
  /* phones: the Six Labs banner takes ~20% of the screen; the brand bands
     share the next ~78% (sheet.js fitBands sets --band-h) so every brand is
     on the first screen; a banner image covers a band taller than its shape */
  /* at least 20 % of the screen, taller when the title needs it (a fixed height let a long title run onto the band) */
  .sh-header { padding: 8px 0; min-height: max(20vh, 96px); display: flex; align-items: center; box-sizing: border-box; }
  .sh-header-inner { width: 100%; }
  .sh-brand-band { aspect-ratio: auto; height: max(var(--band-h, 0px), calc((100vw - 20px) / 4.8)); }   /* the 1920×400 shape is the floor; never min-height — it transfers into a min-width through the ratio */
  .sh-brand-band.has-banner .sh-brand-banner { position: absolute; inset: 0; }
  .sh-brand-band.has-banner .sh-brand-banner img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
  .sh-header-inner { grid-template-columns: 1fr; gap: 10px; }
  .sh-header img.sh-logo, .sh-headright { grid-column: 1; }
  .sh-headright { text-align: center; }
  .sh-title { font-size: 18px; text-wrap: balance; }
  .sh-title span { display: inline; }   /* one line of words on a phone (the desktop stacks them) */
  .sh-header img.sh-logo { width: 220px; max-width: 70vw; max-height: 13vh; object-fit: contain; }
  .sh-hl-row { flex-direction: column; align-items: stretch; }
  /* the picture reaches the panel's edges (over its 22px padding), square-cornered */
  .sh-hl-media { width: auto; max-width: none; margin: -22px -22px 0; border-radius: 0; }
  tr[data-pid].expanded { background: var(--card2); border-bottom: 0; }

  tr.sh-det { display: block; }
  tr.sh-det td { display: block; }
  .det-pad { padding: 10px 16px 20px; }
  .det-facts {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; margin-bottom: 10px;   /* Expiration · Case size (Available is on the product row) */
  }
  .det-facts div { display: flex; flex-direction: column; gap: 1px; }
  .det-facts .det-lots { grid-column: 1 / -1; }   /* the batch list takes the row */
  .det-facts span { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
  .det-facts b { font-size: 12.5px; }
  .det-eye { justify-self: start; }
  .det-desc { font-size: 12.5px; padding-bottom: 10px; }

  /* total bar, closed: a big chevron and the order total, nothing else
     (swipe up or tap the chevron to open); open: the quote above, then
     Reorder · Units · Cases · Total with Submit + download on their own line */
  .sh-totalbar { padding: 6px 14px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; touch-action: none; }
  .tb-quote { flex: 1 1 100%; order: 0; margin-bottom: 4px; touch-action: pan-y; }
  .tb-caret {
    order: 1; position: static; transform: none; width: 48px; height: 44px; border: 0; border-radius: 0;
    background: none; font-size: 0; display: flex; align-items: center; justify-content: center;
  }
  .tb-caret::before {
    content: ''; width: 14px; height: 14px; border-left: 3px solid #9ef01a; border-top: 3px solid #9ef01a;
    border-radius: 2px; transform: translateY(4px) rotate(45deg); transition: transform .25s ease;
  }
  .sh-totalbar.open .tb-caret::before { transform: translateY(-4px) rotate(225deg); }
  .sh-totalbar .tb-row { order: 2; flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; }
  .sh-totalbar:not(.open):not(.sh-menubar) .tb-reorder, .sh-totalbar:not(.open):not(.sh-menubar) .tb-item:not(.tb-grand),
  .sh-totalbar:not(.open):not(.sh-menubar) .tb-submit, .sh-totalbar:not(.open):not(.sh-menubar) .tb-dl { display: none; }
  .sh-totalbar .tb-grand { margin-left: auto; align-items: flex-end; }
  .sh-totalbar .tb-value { font-size: 15px; }
  .sh-totalbar .tb-grand .tb-value { font-size: 18px; }
  .sh-totalbar.open .tb-submit { flex: 1 1 60%; margin-left: 0; padding: 12px 13px; font-size: 12px; }
  .sh-totalbar button.tb-dl { width: 42px; height: 42px; font-size: 15px; }
  .sh-totalbar .tb-cod { order: 3; flex: 1 1 100%; margin: 2px 0 0; padding: 10px 12px; font-size: 13.5px; gap: 10px; }
  .sh-totalbar .tb-reorder { font-size: 10px; padding: 8px 9px; }
  .sh-menubar { padding: 10px 14px; }

}

/* flag chips + coming-soon rows (set per product in the editor) */
.badge.newprice { background: #f2c94c; color: #14141a; font-weight: 800; }
.badge.soon { background: none; border: 1px solid var(--dim); color: var(--dim); font-weight: 800; }
.sh-soon { font-weight: 800; letter-spacing: .08em; color: var(--dim); white-space: nowrap; }
tr.is-soon .sh-prod-name { opacity: .8; }

/* ── Desktop: digestible row clusters ──
   Same DOM the mobile cards use — the column header goes away and each
   product row becomes a grid of labeled clusters:
   [+] [photo · name · badges] [Case/Available] [List over YOUR PRICE] [Units/Cases/Total]
   THC stays as the badge under the name; Exp stays as the small chip. */
@media (min-width: 721px) {
  .sh-brand table.sh-table:not(.sh-sumtable) { display: block; width: 100%; min-width: 0; }
  .sh-brand .sh-table:not(.sh-sumtable) tbody { display: block; width: 100%; }
  .sh-brand .sh-table:not(.sh-sumtable) thead { display: none; }
  .sh-table tr.sh-sub, .sh-table tr.sh-sub td { display: block; width: 100%; }

  /* product rows: one line — [+] [photo · name · pills] and, on the right,
     AVAILABLE · LIST · YOUR PRICE. Case Size never sits on a row (the
     category band says it; the + expansion's facts repeat it). A closed row
     that is in the cart swaps List / Your Price for Units · Cases · Total;
     the expanded row shows the prices again (its drawer carries the totals).
     Hidden cells take no space. */
  .sh-table tr[data-pid] {
    display: grid; grid-template-columns: 48px minmax(260px, 1fr) auto auto auto;
    column-gap: 0; row-gap: 4px; align-items: center;
    padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .sh-table tr[data-pid] td { display: none; border: 0; padding: 0; background: none; }
  .sh-table tr[data-pid] td.cell-ctl  { display: block; grid-column: 1; }
  .sh-table tr[data-pid] td.cell-prod { display: block; grid-column: 2; min-width: 0; }
  .sh-table tr[data-pid] td.cell-avail { display: block; grid-column: 3; margin-left: 24px; }
  .sh-table tr[data-pid] td.cell-list  { display: block; grid-column: 4; margin-left: 24px; }
  .sh-table tr[data-pid] td.cell-your  { display: block; grid-column: 5; margin-left: 24px; }
  /* a grouped row (.sel-row) keeps the prices too: the group's tongue carries its totals */
  .sh-table tr[data-pid].in-cart:not(.expanded):not(.sel-row) td.cell-list,
  .sh-table tr[data-pid].in-cart:not(.expanded):not(.sel-row) td.cell-your { display: none; }
  .sh-table tr[data-pid].in-cart:not(.expanded):not(.sel-row) td.cell-cart { display: flex; grid-column: 4; margin-left: 24px; gap: 22px; align-items: baseline; }
  /* clusters read left-aligned with inline labels */
  .sh-table tr[data-pid] td.num { text-align: left; white-space: nowrap; overflow: visible; }
  .sh-table tr[data-pid] td.cell-case::before  { content: "Case Size: "; }
  .sh-table tr[data-pid] td.cell-avail::before { content: "Available: "; }
  .sh-table tr[data-pid] td.cell-list::before  { content: "List: "; }
  .sh-table tr[data-pid] td.cell-your::before  { content: "Your Price: "; }
  .sh-table tr[data-pid] td.cell-case::before, .sh-table tr[data-pid] td.cell-avail::before,
  .sh-table tr[data-pid] td.cell-list::before, .sh-table tr[data-pid] td.cell-your::before {
    color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  }
  .sh-table tr[data-pid] .sh-your-price { font-size: 19px; }
  /* photo centred over the thumb column (16px row pad + 48px ctl + 18px gap +
     32 half-thumb = 114 from the row edge; td pad 10 → its centre 104 in, plus
     the product inset: the product row starts that much further in than the
     category row), out of flow, in a 200px slot from 4px: a photo up to 200px
     wide stays centred there (auto margins); a wider one — up to 280px, from
     1100px of window — starts at the slot's edge instead of hanging off the
     band. The title centres in the whole band, capped so it never reaches it */
  .sh-table tr.sh-sub .sub-wrap { flex-direction: row; gap: 0; }
  /* every band is the same height, with or without a photo — a subtitle never
     changes it: title + subtitle centre together inside it */
  .sh-table tr.sh-sub .sub-wrap { min-height: 96px; }
  .sh-table tr.sh-sub .sub-photo { position: absolute; left: calc(4px + var(--prod-inset)); top: 50%; transform: translateY(-50%); width: 200px; justify-content: flex-start; }
  .sh-table tr.sh-sub .sub-photo img { max-width: 200px; flex: none; margin-inline: auto; }
  body.menu-mode .sh-table tr.sh-sub .sub-photo { left: 0; width: auto; }
  body.menu-mode .sh-table tr.sh-sub .sub-photo img { margin-inline: 0; }
  .sh-table tr.sh-sub .sub-wrap.has-photo > span:not(.sub-case) { max-width: calc(100% - 2 * 236px); }
  body.menu-mode .sh-table tr.sh-sub .sub-wrap.has-photo > span:not(.sub-case) { max-width: calc(100% - 2 * 230px); }
  /* coming-soon rows: keep Case Size, drop the empty-value labels — the
     price area carries the COMING SOON mark alone */
  .sh-table tr.is-ask td.cell-list::before, .sh-table tr.is-ask td.cell-your::before,   /* "Price on request" stands alone */
  .sh-table tr.is-soon td.cell-list::before, .sh-table tr.is-soon td.cell-your::before,
  .sh-table tr.is-soon td.cell-avail::before { content: ""; }

  /* the expandable entry row renders as a block band under its product */
  .sh-brand .sh-table tr.sh-det { display: block; }
  .sh-brand .sh-table tr.sh-det td { display: block; }
}
/* wide windows: a wide category photo gets up to 280px, the title keeps clear of it */
@media (min-width: 1100px) {
  .sh-table tr.sh-sub .sub-photo img { max-width: 280px; }
  .sh-table tr.sh-sub .sub-wrap.has-photo > span:not(.sub-case) { max-width: calc(100% - 2 * 316px); }
  body.menu-mode .sh-table tr.sh-sub .sub-wrap.has-photo > span:not(.sub-case) { max-width: calc(100% - 2 * 310px); }
}
/* in-between widths: the figures would squeeze the title into needless
   wraps — they drop to a second line under it instead, still on the right */
@media (min-width: 721px) and (max-width: 900px) {
  .sh-table tr[data-pid] { grid-template-columns: 48px 1fr auto auto auto; }
  .sh-table tr[data-pid] td.cell-ctl { grid-row: 1 / 3; }
  .sh-table tr[data-pid] td.cell-prod { grid-column: 2 / 6; grid-row: 1; }
  .sh-table tr[data-pid] td.cell-avail, .sh-table tr[data-pid] td.cell-list,
  .sh-table tr[data-pid] td.cell-your, .sh-table tr[data-pid] td.cell-cart { grid-row: 2; }
}

/* ── Cascading widths & corners ──
   Inside a brand section every row is a block (both breakpoints above), so
   each nesting level is a centred box inset per side from the level above:
   banner (100%) → category row (−cat each side) → product row (−cat −prod)
   → the tongue under an expanded product (−tongue, .det-pad's margin; the
   row-wide td behind it is transparent). The page shows in the stepped
   margins. Every box's corner radius = the inset of its sub-items, so a
   curve ends exactly where the next level begins. Insets: --cat-inset /
   --prod-inset / --tongue-inset in :root, phones beside it. A category's ★
   highlight panel sits at the product level. */
.sh-brand .sh-table tr.sh-sub { width: calc(100% - 2 * var(--cat-inset)); margin-left: auto; margin-right: auto; }
.sh-brand .sh-table tr.sh-sub-hl,
.sh-brand .sh-table tr[data-pid],
.sh-brand .sh-table tr.sh-det { width: calc(100% - 2 * (var(--cat-inset) + var(--prod-inset))); margin-left: auto; margin-right: auto; }
/* category banners are square; a bottom edge rounds (radius = the product
   inset) where open space meets it: the brand's LAST (or only) category (its
   head is the tbody right before the last group) and any category that is
   OPEN (its rows are narrower). The banner right after an open category
   rounds its top, because an open group ends with a 10px breath before the
   next banner — a MARGIN on the group, only while open: a folded group has
   none to leak (padding did: it showed 10px of the first row). The last
   group's breath sits on the transparent wrap instead */
.sh-brand .sh-table > tbody.sh-cathead:nth-last-of-type(2) tr.sh-sub td,
.sh-brand.has-open-cat .sh-table > tbody.sh-cathead tr.sh-sub:not(.folded) td { border-bottom-left-radius: var(--prod-inset); border-bottom-right-radius: var(--prod-inset); }   /* an open category's title: the row's own .folded mirrors its group's */
.sh-brand .sh-table > tbody.sh-catbody:not(.folded) + tbody.sh-cathead tr.sh-sub td { border-top-left-radius: var(--prod-inset); border-top-right-radius: var(--prod-inset); }
.sh-brand .sh-table > tbody.sh-catbody:not(.folded):not(:last-of-type) { margin-bottom: 10px; }
.sh-brand .sh-tablewrap { padding-bottom: 10px; }
.sh-table tr.sh-sub td::after { border-radius: inherit; }          /* the hover sweep follows the corners (the td is clipped, so a banner image does too) */
/* product rows are square and stack seamlessly; an edge rounds (radius = the
   tongue's inset) only where open space meets it: a category's LAST row (its
   bottom — the breath before the next banner or brand), an EXPANDED row
   (its bottom — the tongue below it is inset) and the row right after that
   tongue (its top). The hover overlay follows the corners. */
.sh-brand .sh-table tr[data-pid]::after { border-radius: inherit; }
.sh-brand .sh-table tbody > tr[data-pid]:last-child,
.sh-brand .sh-table tbody > tr[data-pid].last-row.last-row,   /* the group's last product, its entry row after it (marked at render) */
.sh-brand .sh-table tr[data-pid].expanded { border-bottom-left-radius: var(--tongue-inset); border-bottom-right-radius: var(--tongue-inset); }
.sh-brand .sh-table tr.sh-det.open + tr[data-pid] { border-top-left-radius: var(--tongue-inset); border-top-right-radius: var(--tongue-inset); }

/* store address hint under a prefilled store field (from the buyer's account) */
.sh-store-addr { font-size: 11px; color: var(--dim); margin-top: 2px; display: block; max-width: 220px; }
@media (min-width: 721px) { .sh-store-addr { font-size: 13px; } }

/* ── Brand-tinted sections ──
   The band's palette (--b-color / --b-text / --b-accent, set per brand on
   .sh-brand) now covers the WHOLE brand section, not just the banner:
   Fuzed is yellow with black text, Candela pink with white, Higgs black with
   white… Every tint below is mixed from --b-text so contrast holds on any
   brand color. Text is ALWAYS the band's text color at full strength — the
   only tints are backgrounds and hairlines (grey labels read badly on pink). */
/* the wrap is invisible in a brand section: the rows are the boxes, and the
   page background shows in the cascade's stepped margins around them. It is
   never a scroll container here (clip, not the base overflow-x: auto): the
   rows stack as blocks, and a transient spill mid-animation must not grow a
   scrollbar that shifts the whole column. Sideways only: a group or an
   entry sliding shut at the very end of the table hangs below the wrap for
   its .3s (see .closing) and must stay in sight */
.sh-brand .sh-tablewrap { background: transparent; border: 0; border-radius: 0; color: var(--b-text); overflow-x: clip; overflow-y: visible; }
.sh-brand .sh-table th { color: var(--b-text); border-bottom-color: color-mix(in srgb, var(--b-text) 18%, transparent); }
.sh-brand .sh-table td { border-bottom-color: color-mix(in srgb, var(--b-text) 18%, transparent); }
/* a category's group (its rows and their entries) wears the CATEGORY's
   colour pair — the rep's swatch for it, or the brand's own when it has
   none: every rule below reads --b-color / --b-text, so the group simply
   re-points them (the brand pair is kept aside on .sh-brand as --brand-*) */
.sh-brand tbody.sh-catbody, .sh-brand tbody.sh-plain { --b-color: var(--b-cat, var(--brand-color)); --b-text: var(--b-cat-text, var(--brand-text)); color: var(--b-text); }   /* .sh-plain = a brand shown without categories: the same row colours, universally */   /* plain cell text (the AVAILABLE count) too — inherited from the wrap it was the brand's colour: black on Fuzed's black rows */
/* every product row is a shelf: its colour at the top falling into a
   deeper, more saturated version of itself (mixed toward black in OKLCH, so
   the hue and chroma hold while the lightness drops) */
.sh-brand .sh-table tr[data-pid] {
  /* the top of every row IS the section colour (flat for the first fifth),
     then it deepens — unless the category wears a metal finish (MIsix
     silver): then the rows wear the finish itself, like their banner, not a
     dulled version of the swatch */
  background: var(--b-cat-bg, linear-gradient(180deg, var(--b-color) 0%, var(--b-color) 20%, color-mix(in oklch, var(--b-color) 86%, black) 70%, color-mix(in oklch, var(--b-color) 72%, black) 100%));
  border-bottom-color: rgba(0,0,0,.24);
}
.sh-brand .sh-table tr[data-pid] td { border-bottom-color: rgba(0,0,0,.2); }
/* hover: the shelf's darkening deepens ~10% as one smooth overlay across the
   whole row (under the text and pictures), never a wash on single cells */
.sh-brand .sh-table tr[data-pid] { position: relative; z-index: 0; }
.sh-brand .sh-table tr[data-pid]::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.04) 20%, rgba(0,0,0,.11) 70%, rgba(0,0,0,.14) 100%);
}
.sh-brand .sh-table tr[data-pid]:not(.expanded):hover::after { opacity: 1; }   /* an expanded row stays at full strength — it is the one in use */
.sh-brand .sh-prod-name { color: var(--b-text); }
.sh-brand .sh-prod-meta { color: var(--b-text); }
.sh-brand .sh-list-price { color: var(--b-text); }
/* the AVAILABLE / LIST / YOUR PRICE labels and the Exp chip: solid, never grey */
.sh-brand .sh-table tr[data-pid] td.cell-case::before, .sh-brand .sh-table tr[data-pid] td.cell-avail::before,
.sh-brand .sh-table tr[data-pid] td.cell-list::before, .sh-brand .sh-table tr[data-pid] td.cell-your::before { color: var(--b-text); }
.sh-brand .sh-prod-meta .m-exp, .sh-brand .sh-store-addr { color: var(--b-text); }
.sh-brand .sh-your-price { color: var(--b-text); }
.sh-brand .ctl-btn { color: var(--b-text); }
.sh-brand .ctl-btn.is-open { color: var(--b-text); opacity: .7; }
.sh-brand .sh-thumb { background: color-mix(in srgb, var(--b-text) 12%, transparent); }
.sh-brand .sh-thumb-logo { background: color-mix(in srgb, var(--b-text) 12%, transparent); }
.sh-brand .badge.trait, .sh-brand .badge.thc { background: color-mix(in srgb, var(--b-text) 18%, transparent); color: var(--b-text); }
.sh-brand .m-exp, .sh-brand .sh-soon { color: var(--b-text); }
/* category rows: the band's own text color (the accent can equal the
   background — Fuzed's is the same yellow) on a light wash of it */
/* category rows: a second brand colour (each brand's own palette) with the
   same top-flat / deepening-to-black gradient the product rows carry */
/* a metal swatch (--b-cat-bg, e.g. MIsix silver) replaces the gradient
   wholesale and engraves the type (--b-cat-shadow) */
.sh-brand .sh-table tr.sh-sub td {
  color: var(--b-cat-text, var(--b-text));
  text-shadow: var(--b-cat-shadow, none);
}
.sh-brand .sh-table tr.sh-sub td::before {   /* the band's surface (see "the band's SURFACE" above) */
  background: var(--b-cat-bg, linear-gradient(180deg, var(--b-cat, var(--b-color)) 0%, var(--b-cat, var(--b-color)) 20%, color-mix(in oklch, var(--b-cat, var(--b-color)) 86%, black) 70%, color-mix(in oklch, var(--b-cat, var(--b-color)) 72%, black) 100%));
}
/* the Case Size line follows the title colour, not the brand's body text */
.sh-brand .sh-table tr.sh-sub .sub-case, .sh-brand .sh-table tr.sh-sub .sub-case i { color: var(--b-cat-text, var(--b-text)); }
/* the + expansion: the category's own colours — its swatch (or metal finish)
   behind, its text colour throughout. Every rule below reads --b-text /
   --b-color, so the drawer simply re-points them; dark inputs stay dark */
/* the brand pair is kept aside on the section: a category with no colour of
   its own (or a brand with no categories) falls back to it */
.sh-brand { --brand-color: var(--b-color); --brand-text: var(--b-text); }
.sh-brand tr.sh-det { --b-text: var(--b-cat-text, var(--brand-text)); --b-color: var(--b-cat, var(--brand-color)); }
/* the open entry is just the tongue: ONE panel in the category's colours
   (its swatch, or its metal finish), flush against the product it comes out
   of, --tongue-inset in at the sides and below (the breath before the next
   product), its bottom corners rounded by the same inset — All stores left,
   a divider, the store area right. The row-wide td behind it (the old
   plate) is transparent */
.sh-brand tr.sh-det td { background: transparent; }
.sh-brand tr.sh-det.open td { border-bottom: 0; }
.sh-brand tr.sh-det .det-pad {
  margin: 0 var(--tongue-inset) var(--tongue-inset); background: var(--b-cat-bg, var(--b-color)); color: var(--b-text);
  border-radius: 0 0 var(--tongue-inset) var(--tongue-inset);
}
.sh-brand tr.sh-det .det-side { border-color: color-mix(in srgb, var(--b-text) 35%, transparent); }
.sh-brand .det-reset { border-color: color-mix(in srgb, var(--b-text) 40%, transparent); }
.sh-brand .det-store span, .sh-brand .det-facts span, .sh-brand .det-totals span { color: var(--b-text); }
.sh-brand .det-facts b, .sh-brand .det-totals b, .sh-brand .det-totals .d-total { color: var(--b-text); }
.sh-brand .det-eye, .sh-brand .det-desc { color: var(--b-text); }
/* + − ✕ take the brand's text colour — green/red vanish on some brand panels */
.sh-brand .case-plus, .sh-brand .case-minus, .sh-brand .case-zero { color: var(--b-text); }
.sh-brand .case-plus:hover, .sh-brand .case-minus:hover, .sh-brand .case-zero:hover { color: var(--b-text); background: color-mix(in srgb, var(--b-text) 16%, transparent); }
/* inside the quantity box the glyphs sit on the BOX (dark), not the panel —
   they take the box's own text colour (Fuzed's near-black vanished on it) */
.sh-brand .det-store .qbox .case-plus, .sh-brand .det-store .qbox .case-minus { color: var(--ink); }
.sh-brand .det-store .qbox .case-plus:hover, .sh-brand .det-store .qbox .case-minus:hover { color: var(--ink); background: rgba(255,255,255,.14); }
.sh-hl.light .det-store .qbox .case-plus, .sh-hl.light .det-store .qbox .case-minus { color: #14141a; }
.sh-hl.light .det-store .qbox .case-plus:hover, .sh-hl.light .det-store .qbox .case-minus:hover { color: #14141a; background: rgba(0,0,0,.1); }
.sh-brand .det-store .qbox { border-color: color-mix(in srgb, var(--b-text) 30%, transparent); }
/* a selected store on a brand panel: the block in the brand's text colour, its name in the brand colour */
.sh-brand .det-store.sel { background: var(--b-text); border-color: color-mix(in srgb, var(--b-color) 55%, black); }
.sh-brand .det-store.sel span { color: var(--b-color); }

/* ── Candela: the brand book on the sheet ──
   Strain pills: Hybrid = Candela pink, Indica = Candela blue, Sativa = white
   with the blue inside. (The rows take their category's colour like every
   brand's — the old fixed pink shelf is gone.) */
.sh-brand[data-brand="candela"] .badge.hybrid { background: #C3076C; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.sh-brand[data-brand="candela"] .badge.indica { background: #0085CA; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.sh-brand[data-brand="candela"] .badge.sativa { background: #fff; color: #0085CA; box-shadow: inset 0 0 0 1px #0085CA; }

/* ── Fuzed: no strain colour code yet — strain pills wear the same neutral
   wash as the weight pill (black text on a black tint over the yellow) */
.sh-brand[data-brand="fuzed"] .badge.indica, .sh-brand[data-brand="fuzed"] .badge.hybrid, .sh-brand[data-brand="fuzed"] .badge.sativa {
  background: color-mix(in srgb, var(--b-text) 18%, transparent); color: var(--b-text);
}

/* ── styled confirm (no native pop-ups on the buyer page) ── */
.sh-dlg { position: fixed; inset: 0; z-index: 260; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10,10,16,.82); opacity: 0; transition: opacity .12s; }
.sh-dlg.in { opacity: 1; }
.sh-dlg-box { width: min(420px, 100%); background: var(--card2); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.sh-dlg-box h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.sh-dlg-box p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--dim); }
.sh-dlg-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.sh-dlg-btns button { font-family: var(--mono); font-size: 13px; font-weight: 800; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.sh-dlg-cancel { background: none; color: var(--ink); border: 1px solid var(--line); }
.sh-dlg-ok { background: #9ef01a; color: #14141a; border: 0; }
/* ── brand assets hand-off: the Assets button under the quote, its dialog,
   and the block on the order-received card ── */
.sh-sum-actions .tb-assets {
  background: none; border: 1px dashed rgba(255,255,255,.4); border-radius: 999px; color: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 10px 16px; cursor: pointer;
}
.sh-sum-actions .tb-assets:hover { border-color: #9ef01a; color: #9ef01a; }
/* the summary's own Download + Submit: the dock's pills */
.sh-sum-actions .tb-dl {
  background: none; border: 2px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff;
  font-family: var(--mono); font-size: 13px; font-weight: 800; padding: 9px 16px; cursor: pointer;
}
.sh-sum-actions .tb-dl:hover { border-color: #9ef01a; color: #9ef01a; }
.sh-sum-actions .tb-submit {
  font-family: var(--mono); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  color: #101018; background: #fff; border: 0; border-radius: 999px; padding: 12px 28px; cursor: pointer; white-space: nowrap;
}
.sh-sum-actions .tb-submit:hover { background: #9ef01a; }
@media (max-width: 720px) { .sh-sum-actions .tb-assets { width: 100%; text-align: center; } }
/* Place order: the receipt (placeOrderBox) — who, stores, then the money top to bottom */
/* Place order: the receipt before the order goes (placeOrderBox) — the Six Labs look: its dark ground, the white hash
   logo, Source Code Pro, Pink Cloud for the one action, Green Thumb only where money is saved; who → stores → money →
   the total, biggest; square corners */
.sh-dlg-box.po-box { width: min(600px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 28px 22px; background: #1D1D1D; border: 1px solid #333; border-radius: 4px; }
.po-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.po-logo { height: 30px; width: auto; display: block; }
.po-x { background: none; border: 0; color: var(--dim); font-size: 28px; line-height: 1; padding: 0 2px; cursor: pointer; }
.po-x:hover { color: #fff; }
.po-box .po-who { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: 0; color: #fff; text-transform: none; }
.po-box .po-sum { margin: 6px 0 20px; font-size: 15px; color: var(--dim); }
/* an open order to update, or a new one: two choices, the picked one in Pink Cloud */
.po-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 20px; }
.po-mode button { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid #3a3a3a; border-radius: 3px; background: none; color: #fff; font-family: var(--mono); text-align: left; cursor: pointer; transition: border-color .12s, background-color .12s; }
.po-mode button:hover { border-color: #555; }
.po-mode button b { font-size: 15px; font-weight: 800; }
.po-mode button span { font-size: 12px; color: var(--dim); }
.po-mode button.on { border-color: #D43974; background: rgba(212,57,116,.10); box-shadow: inset 0 0 0 1px #D43974; }
.po-mode button:focus-visible { outline: 2px solid #D43974; outline-offset: 2px; }
.po-stores { width: 100%; border-collapse: collapse; font-size: 16px; }
.po-stores th { padding: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); text-align: right; border-bottom: 1px solid #333; }
.po-stores th:first-child, .po-stores td:first-child { text-align: left; }
.po-stores td { padding: 11px 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; border-bottom: 1px solid #2a2a2a; }
.po-stores td:first-child { font-weight: 600; color: #e6e6ea; padding-right: 12px; overflow-wrap: anywhere; }
.po-stores td + td, .po-stores th + th { width: 84px; }
.po-money { margin-top: 18px; }
.po-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 16px; }
.po-row span { color: #c9c9d0; min-width: 0; overflow-wrap: anywhere; }
.po-row b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.po-save b { color: #59AC47; }
/* Pay COD & save 3 %: the cart's call-out (rail, bottom bar, Order Summary). Loudest while the 3 % is still on the table:
   solid Pink Cloud unticked; ticked, it calms to a tint with the saving in green, like the box's discount rows */
.po-cod { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 14px 16px; border: 2px solid #D43974; border-radius: 3px; background: #D43974; color: #fff; font-family: var(--mono); font-size: 16px; font-weight: 800; cursor: pointer; transition: background-color .12s; }
.po-cod[hidden] { display: none; }
.po-cod:hover { background: #c02f66; }
.po-cod input { position: absolute; opacity: 0; pointer-events: none; }
.po-tick { flex: 0 0 22px; height: 22px; border: 2px solid #fff; border-radius: 2px; position: relative; }
.po-cod .po-cod-amt { color: #fff; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.po-cod.on { background: rgba(212,57,116,.12); }
.po-cod.on:hover { background: rgba(212,57,116,.2); }
.po-cod.on .po-tick { border-color: #D43974; background: #D43974; }
.po-cod.on .po-tick::after { content: ''; position: absolute; left: 6px; top: 1px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.po-cod.on .po-cod-amt { color: #59AC47; }
.po-cod input:focus-visible + .po-tick { outline: 2px solid #fff; outline-offset: 3px; }
.po-cod > span:last-of-type { flex: 1; min-width: 0; }
.po-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-top: 18px; padding-top: 18px; border-top: 2px solid #fff; }
.po-total span { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.po-total b { font-size: 44px; line-height: 1; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.sh-dlg-box .po-go { display: block; width: 100%; margin-top: 22px; padding: 18px 20px; border: 0; border-radius: 3px; background: #D43974; color: #fff; font-family: var(--mono); font-size: 18px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: background-color .12s; }
.sh-dlg-box .po-go:hover { background: #c02f66; }
.sh-dlg-box .po-go:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.po-box .po-note { margin: 12px 0 0; font-size: 13px; text-align: center; color: var(--dim); }
@media (max-width: 520px) {
  .sh-dlg-box.po-box { padding: 20px 18px 18px; }
  .po-box .po-who { font-size: 24px; }
  .po-stores, .po-row, .po-cod { font-size: 15px; }
  .po-cod { padding: 12px 14px; }
  .po-stores td + td, .po-stores th + th { width: 64px; }
  .po-total b { font-size: clamp(26px, 9vw, 36px); }
}
/* Open quotes: the account's sent, not-yet-ordered quotes — the Place order box's chassis, one card each */
.oq-list { display: grid; gap: 10px; margin-top: 18px; }
.oq-row { padding: 14px 16px; border: 1px solid #3a3a3a; border-radius: 3px; }
.oq-row.on { border-color: #D43974; box-shadow: inset 0 0 0 1px #D43974; }
.oq-head { display: flex; align-items: baseline; gap: 10px; }
.oq-head b { font-size: 16px; font-weight: 800; color: #fff; }
.oq-head span { font-size: 12px; color: var(--dim); }
.oq-head .oq-total { margin-left: auto; font-variant-numeric: tabular-nums; }
.oq-head b { white-space: nowrap; }
@media (max-width: 520px) {
  .oq-head { flex-wrap: wrap; }
  .oq-head span { order: 3; flex-basis: 100%; }
}
.oq-box .oq-sub { margin: 4px 0 10px; font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.oq-lines { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid #2a2a2a; max-height: 168px; overflow: auto; }
.oq-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 13px; color: #e6e6ea; }
.oq-lines li b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oq-lines li.oq-gone span { color: var(--dim); text-decoration: line-through; }
.oq-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.oq-acts button { font-family: var(--mono); font-size: 14px; font-weight: 800; padding: 9px 16px; border-radius: 3px; cursor: pointer; }
.oq-edit { background: #D43974; color: #fff; border: 0; }
.oq-edit:hover { background: #c02f66; }
.oq-wd { background: none; color: #e6e6ea; border: 1px solid #3a3a3a; }
.oq-wd:hover { border-color: #888; color: #fff; }
.oq-acts button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.oq-box .oq-none { margin: 6px 0 4px; font-size: 15px; }
/* the brand-assets dialog: Six Labs on top, a band per brand in its own colours + logo, a card per product type */
.sh-dlg-box.as-box { width: min(560px, 100%); padding: 0; border-radius: 4px; overflow: hidden; background: #111116; display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.as-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
.as-six { height: 32px; width: auto; display: block; }
.as-x { background: none; border: 0; color: var(--dim); font-size: 26px; line-height: 1; padding: 0 4px; cursor: pointer; }
.as-x:hover { color: var(--ink); }
.as-h { margin: 16px 22px 0 !important; font-size: 22px !important; line-height: 1.15; letter-spacing: .01em !important; text-transform: none; }
.as-p { margin: 6px 22px 16px !important; font-size: 13px; color: var(--dim); }
.as-list { overflow: auto; border-top: 1px solid var(--line); }
.as-brand { background: var(--b-color); color: var(--b-text); padding: 16px 22px 18px; }
.as-brand + .as-brand { border-top: 1px solid rgba(0,0,0,.25); }
.as-bh { display: flex; align-items: center; min-height: 34px; margin-bottom: 12px; }
.as-bh img { height: 34px; max-width: 170px; width: auto; object-fit: contain; object-position: left center; }
.as-bh img.inv { filter: brightness(0) invert(1); }
.as-bh b { font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.as-cats { display: grid; gap: 8px; }
.as-cat { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; background: color-mix(in srgb, var(--b-text) 12%, transparent); color: var(--b-text); text-decoration: none; border-radius: 3px; transition: background .12s; }
.as-cat:hover, .as-cat:focus-visible { background: color-mix(in srgb, var(--b-text) 22%, transparent); outline: none; }
.as-pic { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: color-mix(in srgb, var(--b-text) 10%, transparent); border-radius: 2px; overflow: hidden; }
.as-pic img { width: 100%; height: 100%; object-fit: contain; }
.as-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; line-height: 1.25; }
.as-name small { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.as-go { flex: none; padding: 8px 12px; background: var(--b-text); color: var(--b-color); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.as-foot { display: flex; justify-content: flex-end; padding: 14px 22px; border-top: 1px solid var(--line); }
.as-foot .as-copy { font-family: var(--mono); font-size: 13px; font-weight: 800; padding: 10px 16px; border: 1px solid var(--line); border-radius: 2px; background: none; color: var(--ink); cursor: pointer; }
.as-foot .as-copy:hover { border-color: var(--ink); }
@media (max-width: 520px) { .as-cat { gap: 10px; } .as-pic { width: 44px; height: 44px; } .as-go { padding: 7px 9px; } }
.cf-assets { margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cf-assets h4 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cf-assets p { margin: 4px 0 0; color: var(--dim); font-size: 12px; line-height: 1.5; }
/* the order's assets page link, for the buyer's team (order-assets.html): the order's brands as swatches in their
   own colours + logos, then Open (primary) and Copy link — no raw address on screen */
.cf-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.cf-b { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; background: var(--b-color); color: var(--b-text); border-radius: 2px; }
.cf-b img { height: 22px; max-width: 110px; width: auto; object-fit: contain; }
.cf-b img.inv { filter: brightness(0) invert(1); }
.cf-b b { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cf-share { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.cf-share-copy, .cf-share-open { flex: 0 0 auto; font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; padding: 10px 16px; cursor: pointer; text-decoration: none; }
.cf-share-open { color: #101018; background: var(--green); border: 0; }
.cf-share-copy { color: var(--ink); background: none; border: 1px solid var(--line); }
.cf-share-copy:hover { border-color: var(--ink); }

/* pictures are not text: clicking around never paints a selection over an image or SVG */
img, svg, picture, video, canvas { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }

/* Reorder lives inside the expanded quote drawer (2026-09-11) */
.tb-quote .q-foot { display: flex; justify-content: flex-end; padding: 10px 0 2px; }
/* an empty quote with a previous order: the ONE Reorder, centred in the quote area */
.q-reorder-mid { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 14px 0 10px; }
.tb-quote .q-foot { gap: 8px; }
.sh-totalbar .tb-quote .tb-reorder { display: inline-flex; }

/* category LOGO (replaces the title) + BACKGROUND (behind title / logo), per brand per state (2026-09-11) */
.sh-table tr.sh-sub td { position: relative; }
/* the logo fills 60% of the row's width or 80% of its height, whichever comes
   first (contain), centred in the row — which gets a band height for it */
.sh-table tr.sh-sub .sub-wrap.has-logo { min-height: 96px; }
.sh-table tr.sh-sub .sub-wrap.has-logo > span:not(.sub-case) { position: static; }
.sh-table tr.sh-sub .sub-logo { position: absolute; left: 50%; top: 50%; width: 60%; height: 80%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; }
.sh-table tr.sh-sub .sub-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sh-table tr.sh-sub .sub-wrap.has-logo .sub-sub { display: none; }   /* the logo IS the title */
/* the background is the band's FULL size (96px wrap + 18px padding twice),
   anchored to the middle like the wrap: a folded row clips it to its middle
   slice, never re-fits it (inset: 0 followed the shrinking row and rescaled
   the picture with it) */
.sh-table tr.sh-sub .sub-bg { position: absolute; left: 0; right: 0; top: 50%; height: 132px; transform: translateY(-50%); z-index: 0; pointer-events: none; overflow: hidden; }
.sh-table tr.sh-sub .sub-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-table tr.sh-sub.has-bg .sub-wrap { position: relative; z-index: 1; }
.sh-table tr.sh-sub.has-bg .sub-caret { z-index: 1; }   /* stays absolute in its corner — made relative it fell in-flow under the wrap and pushed the band down */
.sh-table tr.sh-sub.has-bg .sub-wrap > span { text-shadow: 0 1px 6px rgba(0,0,0,.65); }
@media (max-width: 720px) {
  .sh-table tr.sh-sub .sub-wrap.has-logo { min-height: 80px; }
  .sh-table tr.sh-sub .sub-bg { height: 102px; }   /* 80px wrap + 10/12px padding */
  .sh-table tr.sh-sub .sub-wrap.has-photo.has-logo .sub-logo { left: 33%; width: 60%; transform: translateY(-50%); }   /* clear of the photo on the left */
}

/* brand band: this state's own background behind the logo (brand editor, Brand photos) — the band is position: relative + overflow hidden already */
.sh-brand-band.has-bg .sh-brand-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sh-brand-band.has-bg .sh-brand-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; z-index: 0; }
.sh-brand-band.has-bg > img, .sh-brand-band.has-bg .sh-brand-wordmark, .sh-brand-band.has-bg .sh-brand-side { position: relative; z-index: 1; }

/* a replaced link: the state's price-free menu with a line saying why (sheet.js staleToken) */
.sh-stale { position: sticky; top: 0; z-index: 50; padding: 10px 16px; background: #2b2410; color: #f3e6b0; font: 500 13px/1.4 var(--mono, monospace); text-align: center; }
/* after Submit: the optional per-store questions + the note on ordering, on the receipt (sheet.js askHTML) — Save keeps what's filled */
.cf-card { max-height: calc(100vh - 36px); overflow-y: auto; }
.cf-ask { margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
.cf-ask h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.cf-ask-row { margin: 0 0 10px; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card2); display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.cf-ask-row legend { padding: 0 6px; font-size: 12px; font-weight: 800; color: var(--ink); }
.cf-ask-row label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cf-ask-row span { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.cf-ask-row input, #cf-ask-fb { width: 100%; box-sizing: border-box; font-family: var(--mono); font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.cf-ask-row input:focus, #cf-ask-fb:focus { outline: none; border-color: var(--ink); }
.cf-ask-row input::placeholder, #cf-ask-fb::placeholder { color: var(--dim); opacity: .7; }
/* the note on ordering, under the stores: every order */
.cf-ask-row ~ h4 { margin-top: 16px; }
#cf-ask-fb { display: block; margin: 0 0 12px; min-height: 76px; resize: vertical; line-height: 1.45; }
.cf-ask-save { display: block; margin: 0 auto; font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px; cursor: pointer; }
.cf-ask-save:hover { border-color: var(--ink); }
.cf-ask-save:disabled { opacity: .5; cursor: default; }
.cf-ask-done { margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--green); font-weight: 800; font-size: 13px; }
@media (max-width: 420px) { .cf-ask-row { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cf-ask-row input, #cf-ask-fb { font-size: 16px; } }   /* iOS zooms into a focused field under 16px */
