/* Swag Shop components: grid, cards, product view, cart, bot, status. */
/* Offer strip (FIRST-MINUTE PACKAGE, Nov 2, 2026): the standing offers
   as one quiet line at the very top of the shop, above the header —
   spruce ground, paper text, small and still. No rotation, no
   animation, no dismiss: it is a fact stated once, not a pitch. */
.offer-strip { background: var(--green-deep); color: var(--paper); text-align: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.35; padding: 0.45rem 0.75rem; }
/* Bottom padding clears the floating controls (back-to-top / cart card):
   at max scroll the last row sits fully clear of them, never under. */
.grid { max-width: var(--measure); margin: 0 auto; padding: 0 0.75rem 4.5rem; }
.loading, .empty-state { text-align: center; color: var(--mist); padding: 2.5rem 1rem; }
/* Black Friday teaser tile (Jim, Oct 23, 2026): in the run-up, the deals
   preview is ONE contained tile inside the Black Friday collection view
   (shop.js: dealTileHTML) — same cream card family as the drop banner,
   at in-flow scale. The top-of-shop banner itself (#deal-strip) renders
   only while the Nov 25-30 drop is live. */
/* ---- shopping help (Jim, Oct 23, 2026): the in-flow help card that
   briefly sat at the head of the collections zone is GONE — help is
   Woody Hollerbak's face anchored in the header bar
   (styles.css: .woody), never a section in the page flow. ---- */

.deal-tile { border: 2px solid #224422; border-radius: 14px; background: #fdf6e3; padding: 12px 16px; margin: 0 0 6px; text-align: center; }
.deal-tile h3 { margin: 0 0 4px; font-size: 1.12rem; }
.deal-tile p { margin: 0; }
.empty-state .btn { margin-top: 0.8rem; }

/* Section heads sit on the same centered measure as the grids (REQ 9). */
.brand-head { margin: 1.3rem 0 0.3rem; text-align: center; }
.brand-head h2 { font-size: 1.45rem; margin: 0; letter-spacing: -0.01em; }
.brand-head p { color: var(--mist); margin: 0.2rem auto 0; max-width: 46rem; }
.line-head { margin: 1.25rem 0 0.55rem; border-top: 2px solid var(--line); padding-top: 0.9rem; text-align: center; }
.line-head h3 { font-size: 1.18rem; margin: 0; }
.line-head .line-short { margin: 0.25rem auto 0; max-width: 46rem; }
.line-head .line-medium { margin: 0.35rem auto 0; color: var(--mist); max-width: 46rem; }
.line-head .line-count { color: var(--mist); font-size: 0.85rem; }
.subhead { margin: 0.9rem 0 0.45rem; font-size: 0.98rem; color: var(--green-deep); text-align: center; }

/* Hot Right Now (Jim, Oct 23 2026): front-of-shop highlight cards —
   doors into Brand -> Collection, never a static showcase. Media sits
   in a fixed 4:3 box with object-fit: contain, so no card image can
   overflow its card at any width. */
.hot-sec .line-head { border-top: 0; margin-top: 0.5rem; }
.hot-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
@media (min-width: 720px) { .hot-cards { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; } }
.hot-card { position: relative; background: var(--paper); border: 1px solid #ece5d3; border-radius: 12px; overflow: hidden; cursor: pointer; font: inherit; padding: 0; display: flex; flex-direction: column; text-align: left; }
.hot-card:hover { border-color: var(--green-deep); }
.hot-media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.hot-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hot-tag { align-self: flex-start; margin: 0.45rem 0.6rem 0; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); }
.hot-name { font-weight: 700; font-size: 0.92rem; line-height: 1.25; padding: 0.15rem 0.6rem 0; }
.hot-count { color: var(--mist); font-size: 0.8rem; padding: 0.1rem 0.6rem 0.55rem; }
.type-head { border-top: 0; margin-top: 1rem; }

/* Type-first browse (Jim, Oct 23 2026): jump nav + collapsible sections.
   .cards is display:grid, which would override the hidden attribute on a
   collapsed section body — the explicit rule below is what actually hides
   it. The toggle is a bare button inside the section h3; the chevron
   rotates to signal state. Sections render open by default since
   Oct 26 2026 (see the headline rules below); the toggle remains for a
   shopper who wants one closed. */
/* Shop by type BUTTON SET (Jim, Oct 29 2026): the jump nav used to be a
   row of facet chips — natural-width pills wrapping raggedly, a style
   from the filter rail pasted into the browse. Jim, from his phone:
   "make it look more like buttons... it doesn't match the formatting."
   The types now stand as uniform buttons in the shop's own panel
   language (the Who guide's panels): an even grid — three across on a
   phone, wider fills on desktop — the type name prominent over a quiet
   count line, the house card radius and line border, and the guide's
   pressed treatment (deep green fill) for the section being read
   (.on, driven by shop.js's syncTsecSpy + the jump tap). */
.tsec-nav { margin: 1.1rem 0 0.1rem; }
.tsec-nav-label { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.tsec-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (min-width: 720px) { .tsec-btns { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } }
.tsec-btn { font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.12rem; min-height: 3.9rem; padding: 0.55rem 0.35rem; background: var(--paper); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius); transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.tsec-btn-name { font-size: 0.98rem; font-weight: 800; line-height: 1.15; text-align: center; }
.tsec-btn-count { font-size: 0.78rem; font-weight: 600; color: var(--mist); line-height: 1.1; }
@media (hover: hover) { .tsec-btn:hover { border-color: var(--green-deep); transform: translateY(-1px); } }
.tsec-btn:active { background: #f3f7ec; border-color: var(--green-deep); }
.tsec-btn.on { background: var(--green-deep); border-color: var(--green-deep); color: var(--cream); }
.tsec-btn.on .tsec-btn-count { color: var(--cream); opacity: 0.85; }
.tsec-body[hidden] { display: none; }
.tsec-toggle { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0.15rem 0.35rem; border-radius: 8px; }
.tsec-toggle:hover { color: var(--green-deep); }
.tsec-chev { display: inline-block; font-size: 0.78em; color: var(--mist); transition: transform 0.18s ease; }
.type-sec.closed .tsec-chev { transform: rotate(-90deg); }

/* Section headlines (Jim, Oct 26 2026): a type section reads as a headed
   section of the shop, not a dropdown row — the headline takes the shop's
   display scale (past the .brand-head h2's 1.45rem, on the same clamp
   pattern as the guide h2) with real air above and below, so the browse
   breaks into named sections. Scoped to .type-sec: line sections and the
   entry heads keep the standard .line-head size. The toggle button
   inherits the headline (font: inherit on .tsec-toggle), so the whole
   headline stays the collapse control and the chevron scales with it. */
.type-sec .type-head { margin-top: 2.2rem; margin-bottom: 0.85rem; }
.type-sec .type-head h3 { font-size: clamp(1.5rem, 4.6vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; }
.type-sec .tsec-toggle { padding: 0.2rem 0.5rem; }

/* Shop by Brand / Shop by Collection entry cards (Jim, Oct 23 2026): the
   product picture sits in a fixed media box with object-fit: contain, so
   imagery stays inside its card at every width. Brand cards are the big
   doors (4 across on desktop, 2 on phones); collection cards run smaller
   and denser — there are many more of them. */
.entry-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
@media (min-width: 720px) { .entry-cards { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; } }
.entry-cards.cols { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
@media (min-width: 720px) { .entry-cards.cols { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.entry-card { background: var(--paper); border: 1px solid #ece5d3; border-radius: 12px; overflow: hidden; cursor: pointer; font: inherit; padding: 0; display: flex; flex-direction: column; text-align: left; }
.entry-card:hover { border-color: var(--green-deep); }
.entry-media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.entry-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.entry-name { font-weight: 700; font-size: 0.92rem; line-height: 1.25; padding: 0.45rem 0.6rem 0; }
/* A tile whose name is its last line (the brand doors, whose count line
   was removed Oct 23 2026) keeps the bottom inset the count line
   carried, so the card proportions don't change. */
.entry-card > .entry-name:last-child { padding-bottom: 0.55rem; }
.entry-count { color: var(--mist); font-size: 0.8rem; padding: 0.1rem 0.6rem 0.55rem; }

/* Card grid v3 (Jim, Oct 23 2026): "These buttons for the items are
   different sizes up and down the page — make them all consistent."
   V2 still let three things vary from card to card: the colorway-pair
   grids sized their cards wider than the plain grids beside them
   (200px vs 144px on desktop, 167px vs 108px on phones — the pair
   filled the row, the next lone card shrank to one narrow track),
   every chip a card carried (Featured / Crossover / On sale) added
   another body row, so card heights and the price line wandered, and
   the 4/3 contain image box painted each source at a different fill.
   V3 makes the card a fixed unit:
   - every grid — plain, pair, rest, featured — resolves to the same
     track width at a breakpoint: strictly two columns on phones, the
     desktop auto-fill count (minmax 124px) unchanged;
   - the image box is a fixed 1/1 square. Every catalog source is
     square too (4,563 media files measured: 800–1000px, all 1:1), so
     object-fit: cover, centered, fills the box exactly and crops
     nothing — the whole garment stays visible, as V2 required;
   - the body is three fixed rows — name / meta + price / tags — and
     the tags row is reserved whether or not the card carries a chip,
     so every price in the grid shares one position. */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 0.75rem; } }
/* Colorway pairs (FIX WAVE, Oct 23 2026): a black/white pair still
   reads as a twosome — black left, white right — but the pair grid
   now resolves to the SAME tracks as every other grid instead of a
   wider 200px-capped pair of its own: on phones the pair is simply
   the two columns; on desktop the two cards take the first two
   standard tracks, the same width as their neighbours. */
.cards.pair-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .cards.pair-cards { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); } }
.card {
  position: relative;
  background: var(--paper); border: 1px solid #ece5d3; border-radius: 12px;
  overflow: hidden; cursor: pointer; text-align: left; font: inherit; padding: 0;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(29, 29, 34, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card img {
  /* height:auto is load-bearing (round 3): the card <img> used to carry a
     height="600" attribute, which browsers map to a definite height:600px
     hint — with no CSS height to override it, aspect-ratio was inert and
     every card image rendered 600px tall. The attribute is gone from the
     markup too; aspect-ratio + width now size the box. The box is the
     fixed 1/1 square of card grid v3; cover + center on square sources
     is an exact fill, so there is no resting zoom any more (the old
     scale(1.06) only compensated for contain's letterboxing). */
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; background: #fff; display: block;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(29, 29, 34, 0.12); }
  .card:hover img { transform: scale(1.05); }
}
.card:active { transform: scale(0.99); }
/* Fixed three-row body (card grid v3): name / meta + price / tags,
   each row a set height, reserved in every card — a card with no
   chips keeps its (empty) tags row, so bodies are one height and
   grid stretch never pools slack at the card foot. */
.card .card-body {
  flex: 1 0 auto;
  padding: 0.35rem 0.45rem 0.45rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1rem 1.1rem 0.95rem;
  column-gap: 0.4rem; row-gap: 0.14rem; align-items: center;
}
.card .card-design {
  grid-column: 1 / -1; grid-row: 1; font-weight: 600; line-height: 1.15; font-size: 0.82rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card .card-meta { grid-column: 1; grid-row: 2; color: var(--mist); font-size: 0.7rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .card-price { grid-column: 2; grid-row: 2; font-weight: 700; color: var(--green-deep); font-size: 0.84rem; line-height: 1.25; white-space: nowrap; }
.card .card-tags {
  grid-column: 1 / -1; grid-row: 3; display: flex; gap: 0.45rem; align-items: center;
  overflow: hidden; white-space: nowrap; min-width: 0;
}
.card .card-tags > span { flex: none; }
.card .card-tags > span:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* gentle rise as sections scroll into view (REQ 21; transform/opacity only,
   initial hidden state is set by JS, so no-JS still shows everything) */
.rise { transition: opacity 0.45s ease, transform 0.45s ease; }

/* sheets (product / cart / bot) */
.overlay { position: fixed; inset: 0; background: rgba(20,20,25,0.5); z-index: 50; }
.sheet {
  position: fixed; z-index: 60; background: var(--paper); overflow-y: auto;
  inset: auto 0 0 0; max-height: 92vh; border-radius: 18px 18px 0 0; padding: 1.1rem 1rem 2rem;
  animation: sheet-in 0.28s ease both;
}
@keyframes sheet-in { from { transform: translateY(14px); opacity: 0.4; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 760px) {
  .sheet { animation-name: sheet-in-d; }
  @keyframes sheet-in-d { from { transform: translate(-50%, 10px); opacity: 0.4; } to { transform: translate(-50%, 0); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } }
@media (min-width: 760px) {
  .sheet { inset: 4vh auto auto 50%; transform: translateX(-50%); width: min(880px, 94vw); max-height: 92vh; border-radius: 18px; }
  .cart-view, .bot-view { width: min(620px, 94vw); }
}
/* Woody's chat docks to his seat (Jim, Oct 23 2026; seat moved Oct 24
   2026): the bot panel does not open as a centered modal — it
   anchors under the header, directly below the face in the header
   bar that summoned it (styles.css: .woody), so the conversation
   opens where the shopper tapped. Its ceiling is the space under
   the header (--head-h is shop.js's live measure of the sticky
   header), so it can never ride up over the bar. Product and cart
   sheets keep the centered modal.
   Amendment 15 (Jim, Oct 27, 2026): the dock now holds at EVERY
   width — phones used to keep the generic bottom sheet, so his
   panel opened at the far end of the screen from his face, a
   loose box unattached to him. On phones it hangs from the
   header's bottom edge in his seat's zone instead, the same
   attachment wide screens always had. */
/* Amendment 21 (Jim, Oct 28, 2026) supersedes the left dock:
   Woody is out of the banner and down in the shopping area, so
   his window floats on the RIGHT side — the side his dock face
   rides — still under the header's ceiling, now with a floating
   window's shadow. woody-dock.js drags it by its head; once the
   shopper has placed it, .is-placed hands the seat to the inline
   position they chose (remembered across visits). */
.bot-view {
  inset: auto; right: 0.75rem; left: auto;
  top: calc(var(--head-h, 132px) + 0.5rem); transform: none;
  width: min(430px, 94vw); max-height: calc(100vh - var(--head-h, 132px) - 1rem);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(10, 6, 0, 0.38);
  animation-name: sheet-in-bot;
}
.bot-view.is-placed { right: auto; }
.bot-view .bot-head { cursor: grab; touch-action: none; }
.bot-view.is-dragging .bot-head { cursor: grabbing; }
.bot-view .bot-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; aspect-ratio: 1 / 1; }
@keyframes sheet-in-bot { from { transform: translateY(10px); opacity: 0.4; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 760px) {
  .bot-view { right: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .bot-view { animation: none; } }
.sheet-x {
  position: absolute; top: 0.6rem; right: 0.8rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line); background: var(--cream); font-size: 1.3rem; cursor: pointer; line-height: 1;
}
/* The cart drawer's own × (Jim, Oct 27, 2026): the shared .sheet-x
   rides this sheet too, but at 38px in a hairline pale ring on the
   paper ground it read as decoration — Jim opened the cart and
   found "no X inside the cart to close it." So the cart's × is
   unmistakable: a 44px target wearing the shop's green (2px ring,
   green glyph on cream), and sticky in the sheet's own flow — the
   account sheet's .acct-x pattern, with the menu drawer's
   negative-margin trick handing the row back to the title beside
   it — so the way out stays pinned at the drawer's top-right
   however deep the checkout form is scrolled. Top-right is the
   pick: it is where this sheet's × already sat and where a
   shopper's eye goes first. Same button element, same data-close
   wiring, same "Close cart" label — one tap closes the cart and
   returns the shopper to browsing, contents untouched. */
.cart-view .sheet-x {
  position: sticky; top: 0.6rem; z-index: 3;
  display: block; margin: -0.35rem 0 -2.75rem auto;
  width: 2.75rem; height: 2.75rem;
  border: 2px solid var(--green-deep); background: var(--cream); color: var(--green-deep);
  font-size: 1.45rem; font-weight: 700;
}
body.locked { overflow: hidden; }
body.lb-lock { overflow: hidden; }

/* account as a pop-up sheet (Jim, Oct 26 2026): the account used to be a
   full page that replaced the shop; as a sheet it keeps the shop alive
   underneath. Its measure stays the old page measure on wide screens,
   and its close control sticks to the top of the scroll — the account
   is long (orders, addresses, forms), so the way out must never scroll
   away on a phone. */
@media (min-width: 760px) {
  .account-view { width: min(720px, 94vw); }
}
.account-view .acct-x {
  position: sticky; top: 0.3rem; z-index: 2;
  display: block; margin: 0 0 0.3rem auto;
}
.acct-done { text-align: center; margin: 1.2rem 0 0.4rem; }

/* image zoom (Jim, Oct 26 2026): a quiet magnifier chip on product
   images; tapping it (or the product-view image itself) opens the
   lightbox. The chip is an overlay — it never joins the card layout. */
.zoom-chip, .zoom-hint {
  position: absolute; right: 0.45rem; bottom: 0.45rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-width: 2rem; min-height: 2rem; padding: 0.3rem 0.45rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 20, 25, 0.55); color: #fff;
  font-size: 0.78rem; font-weight: 600; line-height: 1;
}
.zoom-chip { cursor: zoom-in; justify-content: center; }
.zoom-chip:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.zoom-hint { pointer-events: none; }
.pd-media { position: relative; }
#pd-img { cursor: zoom-in; }
#pd-img:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
/* PDP view gallery (Oct 27, 2026): labelled Front / Back thumbnails
   under the main image whenever the colorway carries more than one
   view — the shopper switches views in place, no lightbox needed.
   Big tap targets, white stage like the main image, the selected
   view ringed in gold. Hidden (attribute) for single-view products. */
.pd-stage { position: relative; }
.pd-thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.pd-thumbs[hidden] { display: none; }
.pd-thumb {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  flex: 0 0 auto; min-width: 64px; min-height: 44px; padding: 0.3rem;
  background: #fff; border: 2px solid #d9d9de; border-radius: 10px; cursor: pointer;
}
/* doubled class weight on purpose: the generic .pd-media img rule
   (full-width, 4/3 stage) must not reach into the thumbnails. */
.pd-thumbs .pd-thumb img { width: 56px; height: 56px; aspect-ratio: auto; object-fit: contain; display: block; background: #fff; border-radius: 6px; }
.pd-thumb span { font-size: 0.72rem; font-weight: 700; color: var(--mist); line-height: 1; }
.pd-thumb.on { border-color: var(--gold-deep); }
.pd-thumb:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.packs-card, .spot-media, .pd-pair, .drop-hero-media { position: relative; }
img.zoomable-img { cursor: zoom-in; }

/* the lightbox itself: a full-screen stage over everything (sheets sit
   at z 60, the lightbox above them — it can open from the product sheet
   and the cart). The image transforms around its center; the stage
   takes every pointer, so pinch and drag never reach the page. */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 12, 16, 0.94); }
.lb-stage {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  overflow: hidden; touch-action: none;
}
/* the frame shrink-wraps the image at rest (the image itself carries the
   zoom transform), so a control seated in the frame's corner stays on the
   picture's own corner at every zoom level and pan position. */
.lb-frame { position: relative; line-height: 0; flex: 0 1 auto; }
.lb-stage img {
  max-width: 94vw; max-height: 86vh; object-fit: contain; display: block;
  border-radius: 8px; background: #fff;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  transform-origin: center center; cursor: grab;
}
.lb-stage img.zoomed { cursor: move; }
.lb-x, .lb-nav {
  position: absolute; z-index: 3; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(20, 20, 25, 0.6); color: #fff;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
/* close rides the image (Jim, Oct 28 2026): top-right INSIDE the picture,
   a 46px dark disc with a bold white ring and ✕ — it reads on a white
   garment, a black garment and the dark backdrop alike. */
.lb-x {
  top: 0.55rem; right: 0.55rem; width: 2.875rem; height: 2.875rem; font-size: 1.65rem;
  background: rgba(12, 12, 16, 0.88); border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.lb-nav { top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; font-size: 1.7rem; }
.lb-prev { left: 0.6rem; }
.lb-next { right: 0.6rem; }
.lb-x:focus-visible, .lb-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-hint, .lb-count {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 3;
  margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.82rem; white-space: nowrap;
  background: rgba(12, 12, 16, 0.55); padding: 0.3rem 0.75rem; border-radius: 999px;
}
/* hint and counter ride as a separated stack (Jim, Oct 28 2026): the hint
   sits a full pill-height above the counter, each on its own dark pill, so
   the two lines can never collide or tangle with the page showing through
   behind them — even when the hint wraps on a narrow phone. */
.lb-hint { bottom: 3.4rem; max-width: 92vw; }
.lb-count { bottom: 1.15rem; font-weight: 700; }
@media (max-width: 420px) { .lb-hint { white-space: normal; text-align: center; } }

/* product view */
.pd-grid { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .pd-grid { grid-template-columns: 1fr 1fr; } }
/* Buy rail placement (Jim, Oct 27, 2026 — supersedes the Oct 25
   under-the-picture group): the picture takes the LEFT column; the
   name/price head and the buy rail under it (pickers, quantity, Add
   to cart, size guide, trust line) stack in the RIGHT column, so
   every purchasing control lives on the right side. The description
   moved out of the top-right to .pd-below, underneath the item. On
   phones the single column stacks picture, name/price, buy rail,
   then the description underneath. */
@media (min-width: 760px) {
  .pd-media { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .pd-info { grid-column: 2; grid-row: 1; align-self: start; }
  .pd-buy { grid-column: 2; grid-row: 2; align-self: start; }
}
.pd-buy #pd-action { margin-top: 0.9rem; }
.pd-buy #pd-action .btn { width: 100%; }
.pd-below { border-top: 1px solid var(--line); padding-top: 0.9rem; margin-top: 0.2rem; }
.pd-below .pd-desc { margin: 0; }
/* Universal materials statement (Jim, Oct 30, 2026): the shared block
   under every product description — quiet body text on the same
   measure, one even step below the description. */
.pd-below .pd-materials { margin: 0.7rem 0 0; color: var(--mist); }

/* Sticky buy bar (Jim, Oct 27, 2026): pins to the top of the product
   sheet and stays while the shopper scrolls the item, so Add to cart
   is reachable with no scrolling at all. The sheet is the scroll
   container (overlay z 50, sheet z 60), so the bar rides above the
   sheet's own content and over the shop chrome pinned behind the
   sheet. The negative top offset eats the sheet's 1.1rem top padding
   so the bar pins flush to the sheet's top edge; the right padding
   keeps the bar's content clear of the sheet's close x at rest.
   Seat order (Jim, from his Turkey hoodie screenshots): the Add
   button sits at the FAR LEFT and the live price follows it; the
   sheet's close x keeps the far right. The product name is NOT in
   the bar — it stands big in the body below the picture, so
   repeating it up top only doubled it. One DOM order serves both
   breakpoints; the desktop in-flow buy rail is untouched. */
.pd-buybar {
  position: sticky; top: -1.1rem; z-index: 6;
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0 0 0.9rem; padding: 0.5rem 3.2rem 0.5rem 0.2rem;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 18px -14px rgba(20, 20, 25, 0.5);
}
.pd-buybar[hidden] { display: none; }
/* The bar's price is a scroll summary (Oct 28, 2026): hidden while
   the title price is on screen — exactly one visible price. */
.pd-buybar-price[hidden] { display: none; }
/* the sheet's close x keeps the top layer inside the product view,
   so the pinned bar can never swallow its tap */
.product-view .sheet-x { z-index: 7; }
.pd-buybar-price { font-weight: 800; color: var(--green-deep); white-space: nowrap; }
.pd-buybar .btn { flex: none; min-height: 2.75rem; }
.pd-buybar .btn[hidden] { display: none; }

/* Selection prompt (Jim, Oct 27, 2026): when a buy control is tapped
   while a required size/color choice is still unmade, the pickers
   are scrolled into view and pulsed — never a silent default. */
.pd-options-flash { animation: pd-flash 0.55s ease 2; border-radius: 12px; }
@keyframes pd-flash {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 3px var(--red); }
}
@media (prefers-reduced-motion: reduce) {
  .pd-options-flash { animation: none; outline: 2px solid var(--red); outline-offset: 2px; }
}
.pd-media img {
  /* Same treatment as the grid cards (Jim, Oct 22 2026): the whole garment,
     shrunk to fit, never cropped. height:auto is load-bearing — #pd-img
     carries a height="800" attribute, which browsers map to a definite
     height:800px hint; with no CSS height to override it, the hint stood,
     aspect-ratio was inert, and the photo rendered in an 800px-tall box
     with object-fit:cover cropping its sides. height:auto + aspect-ratio
     size the box; contain paints the whole image inside it. */
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; border-radius: var(--radius); background: #fff;
}
/* The sticky buy bar + media ceiling do NOT live in this PR
   (stripped Oct 27, 2026 — the full PDP build is PR #280's). */
.pd-crumb { color: var(--mist); font-size: 0.88rem; margin: 0; }
.pd-info h2 { margin: 0.2rem 0; font-size: 1.5rem; }
.pd-price { font-size: 1.2rem; font-weight: 800; color: var(--green-deep); margin: 0.2rem 0; }
/* Persuasion at the price (funnel Leak 2, Nov 2, 2026): the delivery
   line sits quiet directly under the headline price (detail, smaller
   and mist, same left edge), and the goal lines below it wear the
   cart's own .gift-line dress so the goal reads the same on the sheet
   as in the cart. */
.pd-delivery { margin: 0.15rem 0 0; color: var(--mist); font-size: 0.92rem; }
.pd-goals { margin-top: 0.55rem; }
.pd-goals .gift-line { margin: 0 0 0.4rem; }
.pd-goals .gift-line:last-child { margin-bottom: 0; }
.pd-save { margin: 0.1rem 0 0; font-weight: 700; font-size: 0.92rem; color: var(--green-deep); }
.pd-price .was { color: var(--mist); text-decoration: line-through; font-weight: 400; font-size: 0.95rem; }
.opt { border: 0; padding: 0; margin: 0.9rem 0 0; }
.pd-scope { color: var(--mist); font-size: 0.94rem; }
.pd-scope b { color: var(--ink); }
.opt legend, .opt-l { font-weight: 700; margin-bottom: 0.4rem; display: block; }
.opt-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.opt-row label { position: relative; }
.opt-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-row label > span {
  display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.42rem 0.85rem;
  background: var(--paper); font-size: 0.94rem;
}
.opt-row input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.opt-row input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.opt-row label.na > span { opacity: 0.38; }
.opt-row input:disabled + span { opacity: 0.38; cursor: default; }
/* Combo slots (Nov 1, 2026): the design picker rides the same opt-row
   dress — the picked design's picture sits flush left, the select takes
   the rest of the row at the shop's standard control height. */
.slot-design-row { align-items: center; flex-wrap: nowrap; }
.slot-thumb { border-radius: 8px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.slot-design { flex: 1; min-width: 0; font: inherit; font-size: 0.94rem; padding: 0.42rem 0.55rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: inherit; }
.swatches label > span { width: 2rem; height: 2rem; border-radius: 50%; padding: 0; border: 2px solid var(--line); box-shadow: inset 0 0 0 1px rgba(27, 24, 20, .28); }
.swatches input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); background: inherit; }
.stepper { display: inline-flex; align-items: center; gap: 0.6rem; }
.stepper button {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1px solid var(--line);
  background: var(--cream); font-size: 1.15rem; cursor: pointer; line-height: 1;
}
.stepper output { font-weight: 700; min-width: 1.4rem; text-align: center; }
.trust { color: var(--mist); font-size: 0.9rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.55rem 0; margin: 1rem 0; }
.pd-added { margin-top: 0.9rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem; }
.pd-added p { margin: 0 0 0.6rem; font-weight: 700; }
.pd-added .btn { margin-right: 0.5rem; }
.pd-guide { margin-top: 0.8rem; }
.sg-table { border-collapse: collapse; width: 100%; font-size: 0.9rem; margin-top: 0.5rem; }
.sg-table th, .sg-table td { border: 1px solid var(--line); padding: 0.3rem 0.5rem; text-align: left; }
.sg-title { margin: 0.6rem 0 0.2rem; font-size: 1rem; }

/* cart */
.cart-line { display: flex; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #fff; }
.cl-info { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.cl-info .mist { font-size: 0.85rem; }
.cl-row { display: flex; justify-content: space-between; align-items: center; }
.cl-x { align-self: flex-start; border: 0; background: none; font-size: 0.85rem; cursor: pointer; color: var(--mist); text-decoration: underline; padding: 0.15rem 0; } /* per-line remove = a plain "Remove" text link (Oct 28, 2026), not a bare × glyph */
.stepper.sm button { width: 1.8rem; height: 1.8rem; font-size: 1rem; }
.cart-gifts { margin: 0.8rem 0; }
.gift-line { background: #fff8d6; border: 1px solid var(--gold-deep); border-radius: 10px; padding: 0.55rem 0.8rem; margin: 0.4rem 0; font-size: 0.94rem; }
.gift-line.earned { background: #e7f3e4; border-color: var(--green-deep); }
/* The free-sticker picker that floated here was removed Oct 28, 2026:
   the free sticker is always the Hbk. Badge, so there is nothing to pick. */
.cart-promo { display: flex; gap: 0.5rem; align-items: end; flex-wrap: wrap; margin: 0.9rem 0; }
.cart-promo input, .checkout-form input, .status-form input {
  font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; width: 100%;
}
/* Checkout selects (Country, the "Shipping to:" estimator, the saved-
   address picker) wear the form's own input frame — same border,
   radius and padding as the text fields beside them. */
.checkout-form select { font: inherit; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; width: 100%; background: #fff; box-sizing: border-box; }
.cart-promo label { flex: 1; min-width: 180px; }
.checkout-form { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.checkout-form label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 600; font-size: 0.94rem; }
.co-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0.6rem; }
/* Google Places suggestion list — Google renders it in a body-level
   container; it must float above the shop's sheets (z-index 60). */
.pac-container { z-index: 4000 !important; font: inherit; border-radius: 10px; }
#co-addr-pick { width: 100%; }
.cart-totals { display: flex; flex-direction: column; gap: 0.2rem; border-top: 1px solid var(--line); padding-top: 0.7rem; }
.cart-totals strong { font-size: 1.1rem; }
.ship-opts { border: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; margin: 0.15rem 0; }
.ship-opts legend { font-weight: 700; padding: 0; }
/* Gift card payment (Oct 29, 2026): the method choice reads like the
   shipping-speed rows above — one tappable row per method, the native
   radio hidden inside it. The SDK fields (.sq-input) wear the checkout
   form's own input frame so Square's iframes sit in the shop's skin. */
.pay-methods { border: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; margin: 0.15rem 0; }
.pay-methods legend { font-weight: 700; padding: 0; margin-bottom: 0.4rem; }
.checkout-form label.pay-opt { flex-direction: row; }
.pay-opt { position: relative; display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 600; border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem; background: #fff; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pay-opt:has(> input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-opt:has(> input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
#gift-pay-panel { display: flex; flex-direction: column; gap: 0.5rem; }
#gift-pay-panel[hidden] { display: none; }
.gift-pay-label { font-weight: 600; font-size: 0.94rem; }
.sq-input { border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.6rem; min-height: 3rem; background: #fff; }
.gift-pay-row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
/* Trust band (Nov 2, 2026): two quiet seats in the checkout form —
   at the top, where checkout opens, and again beside the Pay
   button. Small and calm, in the form's own muted small print —
   never a sales banner. Only claims we can stand behind: Square
   processes the payment and the full card number never reaches
   us; who we are and where; the confirmation + tracking email;
   the make-it-right promise the returns policy already makes.
   No badges, ratings, or seals we don't hold. */
.trust-band { display: flex; flex-direction: column; gap: 0.15rem; margin: 0.35rem 0; }
.trust-band p { margin: 0; }
.trust-band-pay { border-top: 1px solid var(--line); padding-top: 0.5rem; margin-top: 0.6rem; }
/* Errors must be SEEN (Jim, Oct 29, 2026): every error the checkout
   drawer shows wears bright red + bold. The muted .mist grey let a
   failed gift-card payment sit unnoticed under the Apply button —
   the shopper whose pay step died never saw why. #cart-error only
   ever carries errors, so it is red outright; #gift-note and
   #promo-note carry success text too, so their writers toggle
   .err-text on for errors and off for everything else. The same
   pass in green: a confirmation (gift card applied, coupon applied)
   wears .ok-text — green + bold — and paintNote in shop.js scrolls
   a fresh error or confirmation into view, so the shopper's eye is
   taken to the message either way; the two classes never ride
   together, and neutral status text stays muted. */
#cart-error { color: #d50000; font-weight: 700; }
.err-text { color: #d50000 !important; font-weight: 700; }
.ok-text { color: #1b7a1b !important; font-weight: 700; }
/* Shipping speed (Oct 28, 2026): each option is one tappable row, like
   the shop's option pills — the native radio stays inside the row for
   state (the drawer's change handler still reads it) but is never
   drawn, so no bare circle can float above its label the way the
   checkout form's column label rule used to stack it. The row is the
   control; the chosen one wears the ink ring. */
.checkout-form label.ship-opt { flex-direction: row; }
.ship-opt { position: relative; display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 600; border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem; background: #fff; cursor: pointer; }
.ship-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ship-opt:has(> input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ship-opt:has(> input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.ship-opt.is-disabled { cursor: default; }
.ship-opt-main { display: flex; flex-direction: column; gap: 0.1rem; }
.ship-opt-note, .ship-honest { font-size: 0.88rem; color: var(--mist); font-weight: 400; }
.ship-opt.is-disabled { opacity: 0.62; }
.cart-save { margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
/* "Start over" row (Oct 26, 2026): the drawer's whole-cart reset — one
   quiet centered text action under Continue shopping; paintCart keeps
   the row hidden while the cart is empty. */
.cart-startover-row { text-align: center; }
.cart-startover-row[hidden] { display: none; }
/* "Empty cart" row (Oct 28, 2026): the group clear seated in the
   totals cluster — a quiet right-aligned text link under the totals;
   the armed state ("Tap again to empty the cart") wears red. */
.cart-empty-row { display: flex; justify-content: flex-end; }
.cart-empty-row[hidden] { display: none; }
.cart-empty.armed, #cart-empty.armed { color: var(--red); font-weight: 700; }
.preview-panel { margin-top: 1rem; background: #e7f3e4; border: 1px solid var(--green-deep); border-radius: var(--radius); padding: 0.9rem; }

/* testimonials (rendered only at 3+ verified reviews) */
.testimonials { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.t-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; }
.t-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.t-card blockquote { margin: 0 0 0.6rem; font-size: 1.02rem; }
.t-card figcaption { color: var(--mist); font-size: 0.88rem; }
.t-stars { color: #e39a00; letter-spacing: 0.12em; margin-bottom: 0.4rem; }

/* product reviews on the product view (Oct 29, 2026) */
.pd-stars { margin: 0.2rem 0 0; }
.pd-stars-row, .pd-review-stars { color: #e39a00; letter-spacing: 0.12em; }
.pd-reviews { margin-top: 1.6rem; }
.pd-reviews h3 { margin: 0 0 0.7rem; }
.pd-review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem; margin: 0 0 0.7rem; }
.pd-review-head { display: flex; gap: 0.6rem; align-items: baseline; flex-wrap: wrap; }
.pd-verified { color: var(--green-deep); font-size: 0.85rem; font-weight: 700; }
.pd-review p { margin: 0.45rem 0 0; }

/* order status */
.status-view { max-width: 720px; margin: 0 auto; padding: 1rem; }
.status-form { display: flex; flex-direction: column; gap: 0.6rem; max-width: 420px; }
.status-form label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 600; }
.shipment { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1rem; margin: 0.7rem 0; background: var(--paper); }
.shipment .stages { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.4rem 0; }
.shipment .stage { border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.85rem; color: var(--mist); }
.shipment .stage.done { background: var(--green-deep); border-color: var(--green-deep); color: #fff; font-weight: 700; }
/* The journey bar (shared stage model with the customer emails, _ordermail.js) */
.journey { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0.6rem 0; }
.journey .jstage { border: 1px solid var(--line); border-radius: 999px; padding: 0.18rem 0.65rem; font-size: 0.82rem; color: var(--mist); background: var(--paper); }
.journey .jstage.done { background: #1d1d1b; border-color: #1d1d1b; color: #fff; font-weight: 700; }
.journey .jstage.now { background: #ffe9a8; border-color: #e3c878; color: #141414; font-weight: 700; }
.jhold { background: #fdecea; border: 1px solid #f3c1bc; border-radius: 8px; padding: 0.6rem 0.8rem; color: #7a1f1a; font-size: 0.92rem; }

/* bot */
.bot-head { display: flex; align-items: center; gap: 0.55rem; }
.bot-log { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.8rem 0; max-height: 46vh; overflow-y: auto; }
.bot-msg { border-radius: 12px; padding: 0.6rem 0.8rem; max-width: 92%; }
.bot-msg.bot { background: var(--cream); border: 1px solid var(--line); align-self: flex-start; }
.bot-msg.user { background: var(--green-deep); color: #fff; align-self: flex-end; }
.bot-msg .bot-cards { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.5rem; }
.bot-card { display: flex; justify-content: space-between; gap: 0.6rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.6rem; font: inherit; cursor: pointer; text-align: left; width: 100%; }
.bot-form { display: flex; gap: 0.5rem; }
.bot-form input { flex: 1; font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; }
/* order chat (order-aware mode of the same sheet) */
.bot-order { background: #e7f3e4; border: 1px solid var(--green-deep); border-radius: 8px; padding: 0.45rem 0.7rem; font-size: 0.9rem; margin-top: 0.6rem; }
.bot-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0 0.6rem; }
.bot-chips:empty { display: none; }
.bot-chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 0.32rem 0.75rem; font: inherit; font-size: 0.88rem; cursor: pointer; }
/* Support-ticket forms in Woody's chat (service-desk build, Oct 27 2026) */
.bot-form { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.15rem; }
.bot-form label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem; font-weight: 600; }
.bot-form input, .bot-form select { font: inherit; font-weight: 400; padding: 0.42rem 0.55rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: inherit; width: 100%; box-sizing: border-box; }
.bot-form .bot-form-check { flex-direction: row; align-items: center; gap: 0.45rem; font-weight: 400; }
.bot-form .bot-form-check input { width: auto; }
.bot-form-err { margin: 0; color: #a33; font-size: 0.85rem; }
.bot-form-go { font: inherit; font-weight: 700; padding: 0.5rem 0.8rem; border: none; border-radius: 8px; background: var(--green-deep); color: #fff; cursor: pointer; }
.bot-form-go:disabled { opacity: 0.55; cursor: wait; }
.bot-chip:hover { border-color: var(--ink); }
.bot-msg.bot a.bot-card { text-decoration: none; color: inherit; }
/* Woody's face beside his messages (Jim, Oct 23 2026): every bubble
   he authors sits in a row with his face as a round avatar in the
   gutter, so the chat reads as a conversation with him. The bubble
   flexes into the space that's left; the gutter is fixed, so text
   never squeezes awkwardly at phone widths. The avatar is the
   homepage medallion crop, seated larger than the old tight face
   crop (Jim, Oct 24 2026) to match his header seat. */
.bot-row { display: flex; align-items: flex-start; gap: 0.5rem; align-self: flex-start; max-width: 100%; }
.bot-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--paper); margin-top: 0.12rem; }
.bot-row .bot-msg.bot { max-width: none; flex: 1 1 auto; min-width: 0; }
/* While Woody talks (shop.js: body.woody-talking, gated on his
   greeting recording actually playing), his faces gently wave: a
   slow rock, one cycle about every two seconds — about three waves
   across the greeting — then still the moment he stops. The slight
   scale keeps the round crops covered edge-to-edge mid-rock.
   Reduced-motion shoppers get a still face. */
@keyframes woody-wave {
  0%, 100% { transform: rotate(-2.6deg) scale(1.06); }
  50% { transform: rotate(2.6deg) scale(1.06); }
}
body.woody-talking .bot-avatar,
body.woody-talking .woody-face {
  animation: woody-wave 2s ease-in-out infinite;
  transform-origin: 50% 82%;
}
@media (prefers-reduced-motion: reduce) {
  body.woody-talking .bot-avatar,
  body.woody-talking .woody-face { animation: none; }
}

/* featured + crossover + sale card chips: they ride together in the
   card's reserved tags row (.card-tags, card grid v3) instead of each
   taking a full body row of its own. */
.card-star { font-size: .7rem; line-height: 1.2; font-weight: 800; color: var(--gold-deep); }
.card-cross { font-size: .7rem; line-height: 1.2; font-weight: 700; color: var(--green-deep); }
.card-sale { color: var(--red); font-weight: 700; font-size: 0.72rem; line-height: 1.2; }
.card-save { color: var(--green-deep); font-weight: 800; font-size: 0.72rem; line-height: 1.2; white-space: nowrap; }
/* The featured frame used to inset its grid 28px (border + padding),
   which quietly made featured cards ~9% narrower than every other
   card on the page. The frame now bleeds 4px into the page padding
   on each side and insets its content only 2px, so the featured grid
   resolves to exactly the shared content width — same card size as
   the rest of the home grid, gold frame intact. */
.featured-sec { border: 2px solid var(--gold); border-radius: 14px; padding: 10px 2px; margin: 0 -4px; background: var(--paper); }

/* Hype badges (real data only — see the badge rules in shop.js): a ribbon
   stack over the card's top-left corner, and the same pills inline on the
   product page. FEATURED = gold, NEW = green, ALMOST GONE = red. */
.badge-row { position: absolute; top: 0.4rem; left: 0.4rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 0.28rem; pointer-events: none; }
.badge { display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.25; padding: 0.16rem 0.45rem; border-radius: 999px; box-shadow: 0 1px 3px rgba(29, 29, 34, 0.25); white-space: nowrap; }
.badge.b-featured { background: var(--gold); color: #4a3803; }
.badge.b-new { background: var(--green-deep); color: #fff; }
.badge.b-low { background: var(--red); color: #fff; }
.featured-sec { border: 2px solid var(--gold); border-radius: 14px; padding: 10px 12px; background: var(--paper); }

/* ---- accounts (ACCOUNT-SPEC): header entry, auth sheet, account view ---- */
.account-head { display: inline-flex; align-items: center; gap: 0.35rem; }
.account-head .acct-ico { flex: none; }
.welcome-chip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  background: #fdf3d7; border: 1px solid var(--gold-deep); border-radius: 10px;
  padding: 0.55rem 0.7rem; margin: 0.6rem 0; font-size: 0.92rem;
}
.welcome-chip .btn { margin-left: auto; }
.welcome-chip select { font: inherit; max-width: 100%; padding: 0.3rem 0.4rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.auth-tabs { display: flex; gap: 0.4rem; margin: 0.4rem 0 0.6rem; }
.auth-tab {
  font: inherit; font-weight: 600; cursor: pointer; padding: 0.45rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--cream); color: var(--ink);
}
.auth-tab.on { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.auth-form label { display: block; margin: 0.55rem 0; font-size: 0.92rem; }
.auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="text"], .auth-form input[type="tel"] {
  display: block; width: 100%; margin-top: 0.2rem; padding: 0.55rem 0.6rem;
  border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; box-sizing: border-box;
}
.auth-form .checkline { display: flex; align-items: flex-start; gap: 0.45rem; }
.auth-form .checkline input { margin-top: 0.2rem; }
.pw-wrap { position: relative; display: block; }
.pw-wrap .pw-toggle { position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); font-size: 0.8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Google sign-in slots: hidden unless a client id is configured and the
   GIS library rendered a button into them — otherwise they take no space. */
.google-slot { margin-top: 1rem; }
.google-slot > div { display: flex; justify-content: center; }
.google-slot .auth-or { text-align: center; margin: 0 0 0.6rem; color: var(--ink); opacity: 0.65; font-size: 0.85rem; }
.google-slot.co-google { margin: 0.1rem 0 0.7rem; }
/* Checkout one-click Google panel: a bordered invitation card at the top
   of the checkout form — the benefits in plain words, the button Google
   renders, and the guest escape hatch underneath. Hidden unless Google
   sign-in is configured, the shopper is a guest, and the panel hasn't
   been waved off this session (paintGoogleSlots owns the hidden flag). */
.google-panel { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 0.9rem 1rem; margin: 0.1rem 0 0.9rem; }
.google-panel h3 { margin: 0 0 0.35rem; font-size: 1.02rem; }
.google-panel p { margin: 0 0 0.7rem; color: var(--mist); font-size: 0.92rem; }
.google-panel > div { display: flex; justify-content: center; }
.google-panel .co-google-dismiss { display: block; margin: 0.7rem auto 0; }
/* Apple / Facebook sign-in (Oct 24 2026): the social slot stacks the two
   provider buttons under one "or"; the checkout panel stacks them the
   same way. Buttons follow each provider's brand spec at the Google
   button's width — Apple's black button, Facebook's blue — with the
   marks as inline SVG (shop.js paints them), never an external asset. */
.social-slot > div + div, .google-panel > div + div { margin-top: 0.6rem; }
.apple-signin-btn, .facebook-signin-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; width: 300px; max-width: 100%; height: 44px; padding: 0 1rem; border: 0; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.apple-signin-btn { background: #000; color: #fff; }
.facebook-signin-btn { background: #1877f2; color: #fff; }
.apple-signin-btn svg, .facebook-signin-btn svg { height: 20px; width: auto; flex: none; fill: currentColor; }
.btn.danger { background: transparent; border: 1px solid var(--red); color: var(--red); }
.account-view h3 { margin-top: 1.4rem; }
.acct-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.8rem 0.9rem; margin: 0.7rem 0;
}
.acct-card h4 { margin: 0 0 0.35rem; }
.acct-card.warn { border-color: var(--gold-deep); background: #fdf8e7; }
.acct-card.coupon { border-color: var(--green-deep); }
.acct-card .coupon-code { font-size: 1.35rem; font-weight: 800; letter-spacing: 0.06em; margin: 0.1rem 0; }
/* Hollerbacks balance (Nov 1, 2026): the One Hollerback note sits
   beside the balance in the Hollerbacks card — a wide bill on
   desktop, a smaller one still beside the words on phones. */
.hb-balance-row { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0.2rem 0 0.6rem; }
.hb-balance-row p { margin: 0; }
.hollerback-bill { width: 210px; max-width: 48%; height: auto; flex: none; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 480px) {
  .hollerback-bill { width: 138px; }
}
.acct-flash { background: #eef5ee; border: 1px solid var(--green-deep); border-radius: 10px; padding: 0.5rem 0.7rem; }
/* Gift card reload (Oct 29, 2026): the top-up form under a card in the
   Gift Cards tab — amount chips reuse the shop's .chip, the payment
   field is Square's own iframe in .gift-reload-cardbox, and the note
   wears the standing .err-text / .ok-text message colors. */
.gift-reload { margin: 0.15rem 0 0.65rem; }
.gift-reload-form { margin-top: 0.55rem; }
.gift-reload-amts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.35rem 0 0.5rem; }
.gift-reload-custom { width: 9rem; padding: 0.35rem 0.5rem; border: 1px solid var(--line); border-radius: 8px; }
.gift-reload-cardbox { margin: 0.5rem 0 0.25rem; }
.gift-reload-note { margin: 0.25rem 0 0.5rem; }
.gift-reload-done { margin: 0.15rem 0 0.4rem; }
/* Gift card buying (Nov 8, 2026): the on-site buy sheet — the reload
   form's sibling, skinned from the same tokens. The design picker is
   a row of picture buttons (the pressed one wears the house green
   border, like .giftcard-card's hover), the amount chips reuse the
   shop's .chip (its aria-pressed state is already the house black),
   the payment field is Square's own iframe in .gift-buy-cardbox, and
   the note wears the standing .err-text / .ok-text message colors. */
.gift-buy-h { margin: 1rem 0 0.4rem; font-size: 1rem; }
.gift-buy-designs { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gift-buy-design {
  font: inherit; text-align: left; cursor: pointer;
  background: var(--paper); border: 2px solid #ece5d3; border-radius: 12px;
  padding: 0.5rem; display: flex; align-items: center; gap: 0.6rem; max-width: 100%;
}
.gift-buy-design img { width: 72px; height: auto; border-radius: 8px; display: block; }
.gift-buy-design span { font-weight: 700; }
.gift-buy-design[aria-pressed="true"] { border-color: var(--green-deep); }
.gift-buy-design:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.gift-buy-amts { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0.35rem 0 0.5rem; }
.gift-buy-custom { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; }
.gift-buy-custom input { width: 7.5rem; padding: 0.35rem 0.5rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.gift-buy-cardbox { margin: 0.5rem 0 0.25rem; }
#gift-buy-form textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 0.45rem 0.55rem; border: 1px solid var(--line); border-radius: 8px; }
.gift-buy-note { margin: 0.25rem 0 0.5rem; }
.gift-buy-pay { width: 100%; margin-top: 0.4rem; }
.gift-buy-cancel { display: block; margin: 0.6rem auto 0; }
.gift-buy-done-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
/* Account tabs (Jim, Oct 29 2026): the standard account-page pattern —
   one quiet rail, one unmistakable active tab — skinned from the
   shop's own tokens only: the rail rules off in --line, the active tab
   carries the house green underline (the same green as .btn borders
   and links) with the label gone bold and ink-dark, and the keyboard
   focus ring is the house --gold-deep outline. The rail scrolls
   sideways on a phone rather than wrapping ragged — every tab keeps a
   2.75rem thumb target and its full label. The Hbk. badge sits beside
   the sheet title, the same mark the brand banner carries. */
.acct-title { display: flex; align-items: center; gap: 0.6rem; }
.acct-badge { width: 40px; height: 40px; flex: none; }
.acct-tabs {
  display: flex; gap: 0.25rem; margin: 0.9rem 0 0;
  border-bottom: 2px solid var(--line);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tab {
  font: inherit; font-weight: 600; color: var(--mist);
  background: none; border: 0; border-bottom: 3px solid transparent;
  margin-bottom: -2px; padding: 0.65rem 0.8rem; min-height: 2.75rem;
  white-space: nowrap; cursor: pointer;
}
.acct-tab:hover { color: var(--green-deep); }
.acct-tab.on { color: var(--ink); font-weight: 800; border-bottom-color: var(--green-deep); }
.acct-tab:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: -2px; }
.acct-panel[hidden] { display: none; }
.acct-panel > h3:first-child { margin-top: 0.9rem; }
.acct-order, .acct-addr, .acct-ship {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem;
  border-bottom: 1px solid var(--line); padding: 0.6rem 0;
}
.acct-order > div span, .acct-addr > div span { display: block; }
.acct-order-side { text-align: right; display: flex; flex-direction: column; gap: 0.35rem; align-items: flex-end; }
.acct-addr-btns { display: flex; gap: 0.7rem; flex: none; }
.acct-line-total { float: right; font-weight: 700; }
.acct-totals span { display: block; }
.acct-totals strong { display: block; margin-top: 0.25rem; }
/* Order-detail actions (Jim, Oct 30 2026): the three buttons under an
   order sat inline in one paragraph, each sized to its own label — a
   short oval, a two-line oval, a medium oval, stacked ragged on a
   phone. Now a matched set with aligned edges: the Chat button — the
   support door, wearing the same ember treatment the order-status
   view gives it — runs full-width on top, and Buy it again / Start a
   return share the row below as an equal pair: same height, same
   padding, labels centered, one even gap throughout. Presentation
   only; the buttons, their ids and their behavior are unchanged. */
.acct-order-actions { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.9rem 0 0.3rem; }
.acct-order-actions .btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: 0.6rem 1rem; text-align: center; text-wrap: balance;
}
.acct-order-actions-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.8rem 0 2rem; }
.acct-actions p { flex-basis: 100%; }

/* Share rows (product view + shop home): quiet pill buttons in the house
   style — label, Facebook, Email, Copy link (JS confirms with "Copied"). */
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; }
.share-l { font-size: 0.85rem; font-weight: 700; color: var(--mist); margin-right: 0.1rem; }
.share-btn { appearance: none; background: var(--paper); border: 1px solid var(--line); color: inherit; border-radius: 999px; padding: 0.34rem 0.85rem; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.25; }
.share-btn:hover { border-color: var(--green-deep); }
.share-btn.copied { background: var(--cream); border-color: var(--green-deep); }
.share-main { margin-top: 0.7rem; }
/* Home share row: the three actions stay on ONE row (Jim, Oct 23 2026 —
   "Copy link" used to wrap onto a line of its own on phones, orphaned
   under Facebook + Email). On narrow screens the label takes a line of
   its own and the three buttons split the row evenly: still a single
   tappable row of three, labels never wrap mid-button. Wider screens
   keep the one-line label + buttons row as before. */
@media (max-width: 480px) {
  .share-main .share-l { flex: 1 1 100%; }
  .share-main .share-btn { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; padding-left: 0.4rem; padding-right: 0.4rem; }
}
.pd-share-row { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 0.8rem; }

/* ---- gift-pack promo (shop home top, "Buy more, save more") ----
   A framed block under the marquee for the live gift packs (Jim, Oct
   25 2026): config copy + engine-computed savings, rendered by shop.js
   paintPackPromo on the master plain home and the Hollerbak house front
   only. Unlike the winter teaser these cards are live products — each
   one is a button that opens the pack's product view. */
.packs { max-width: var(--measure); margin: 0.6rem auto 0; padding: 0 0.75rem; }
.packs-frame { border: 2px solid var(--gold); border-radius: 16px; background: var(--paper); padding: 1rem 1.1rem 1.1rem; text-align: center; }
.packs-eyebrow { margin: 0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.packs-title { margin: 0.2rem 0 0; font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.01em; }
.packs-sub { margin: 0.35rem auto 0; color: var(--mist); max-width: 42rem; }
.packs-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; margin-top: 0.8rem; text-align: left; }
@media (min-width: 720px) { .packs-cards { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
.packs-card { background: var(--paper); border: 1px solid #ece5d3; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; font: inherit; padding: 0; text-align: left; width: 100%; }
.packs-card:hover { border-color: var(--green-deep); }
.packs-media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.packs-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.packs-name { font-weight: 700; font-size: 0.92rem; line-height: 1.25; padding: 0.45rem 0.6rem 0; }
.packs-price { color: var(--green-deep); font-weight: 700; font-size: 0.9rem; padding: 0.15rem 0.6rem 0; }
.packs-save { color: var(--green-deep); font-weight: 800; font-size: 0.8rem; padding: 0.1rem 0.6rem 0.55rem; }
/* Gift Cards category (Jim, Oct 28, 2026): the entries are links out
   to the Square eGift page, dressed as shop cards on the white ground
   every other product picture sits on. The art is the card design
   itself, shown whole. */
.giftcards-cards { margin-top: 0.8rem; }
.giftcard-card { background: var(--paper); border: 1px solid #ece5d3; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; font: inherit; text-align: left; padding: 0; cursor: pointer; width: 100%; }
.giftcard-card:hover { border-color: var(--green-deep); }
.giftcard-media { display: block; background: #fff; padding: 0.6rem; }
.giftcard-media img { width: 100%; height: auto; display: block; border-radius: 6px; }
.giftcard-body { display: flex; flex-direction: column; gap: 0.2rem; padding: 0 0.6rem 0.6rem; text-align: left; }
.giftcard-tag { color: var(--green-deep); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.giftcard-name { font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.giftcard-blurb { font-size: 0.82rem; line-height: 1.4; opacity: 0.85; }
.giftcard-price { color: var(--green-deep); font-weight: 700; font-size: 0.9rem; margin-top: 0.15rem; }
/* The staged giveaway banner (giftCards.giveawayOn — default off):
   paints only inside the Gift Cards category view. */
.gift-giveaway-banner { background: #8a6d1f; color: #fff; border-radius: 12px; padding: 0.7rem 0.9rem; margin: 0.6rem 0 0.2rem; font-size: 0.92rem; line-height: 1.45; text-align: left; }
/* The redeem note (Jim, Oct 29, 2026): paints only inside the Gift
   Cards category view, under the design cards — the entry cards'
   paper-and-border dress, so it reads as part of the same section. */
.gift-redeem-note { background: var(--paper); border: 1px solid #ece5d3; border-radius: 12px; padding: 0.8rem 0.9rem; margin: 0.8rem 0 0.2rem; text-align: left; }
.gift-redeem-note h4 { margin: 0 0 0.3rem; font-size: 0.98rem; line-height: 1.3; }
.gift-redeem-note p { margin: 0; font-size: 0.9rem; line-height: 1.5; opacity: 0.9; }
/* The gift-card promo piece (Jim, Oct 28, 2026): the designed card at
   the head of the home fronts — the packs frame's gold-and-paper
   dress, the card design pictured as itself on the white seat, and
   one ember button into the Gift Cards category. */
.gift-promo { margin: 0.6rem 0 0.2rem; }
.gift-promo-frame { border: 2px solid var(--gold); border-radius: 16px; background: var(--paper); padding: 1rem 1.1rem; display: flex; align-items: center; gap: 1rem; }
.gift-promo-media { display: block; background: #fff; border: 1px solid #ece5d3; border-radius: 10px; padding: 0.5rem; flex: 0 0 auto; }
.gift-promo-media img { width: 216px; max-width: 100%; height: auto; display: block; border-radius: 6px; }
.gift-promo-body { display: flex; flex-direction: column; gap: 0.25rem; text-align: left; }
.gift-promo-head { font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
.gift-promo-sub { color: var(--mist); line-height: 1.45; max-width: 34rem; }
.gift-promo-btn { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 640px) {
  .gift-promo-frame { flex-direction: column; align-items: stretch; text-align: center; }
  .gift-promo-media { align-self: center; }
  .gift-promo-body { text-align: center; align-items: center; }
  .gift-promo-btn { margin-left: 0; }
}
/* The cart's gift-card option (Jim, Oct 28, 2026): a quiet paper
   panel under the cart items — thumbnail of the card, the
   somebody-else line, one ghost button into the category. It is an
   invitation, never a cart line: no price, no total hangs off it. */
#cart-gift-panel:empty { display: none; }
.cart-gift-offer { display: flex; align-items: center; gap: 0.7rem; background: var(--paper); border: 1px solid var(--gold-deep); border-radius: 12px; padding: 0.6rem 0.7rem; margin: 0.4rem 0; text-align: left; }
.cart-gift-thumb { width: 96px; height: auto; display: block; border: 1px solid #ece5d3; border-radius: 6px; flex: 0 0 auto; }
.cart-gift-body { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.94rem; line-height: 1.35; }
.cart-gift-body span { opacity: 0.85; font-size: 0.86rem; }
.cart-gift-btn { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 480px) {
  .cart-gift-offer { flex-wrap: wrap; }
  .cart-gift-btn { margin-left: 0; }
}
/* Rotator stage (Jim, Oct 26 2026): exactly three deals in one row at
   every width — compact, so the catalog starts sooner. Card height is
   fixed by the 4/3 media plus a name clamp, so swapping stages never
   shifts the page. The pulse is the opacity/scale crossfade the
   .packs-fading class drives; shop.js times it.
   Name clamp (Jim, Oct 27 2026): "the full pack name must read on the
   card" — phone cards were truncating names with an ellipsis at two
   lines ("Hbk. Badge Gift Pack —…"). The clamp is THREE lines (the
   longest pack name wraps to 3 at stage widths >= 561px, so desktop
   heights stay fixed), and on phones the name is UNCLAMPED: it wraps
   to as many lines as it needs. Pinned by tools/test-pack-name-fit.js. */
.packs-stage { grid-template-columns: repeat(3, 1fr); transition: opacity 0.38s ease, transform 0.38s ease; }
.packs-stage.packs-fading { opacity: 0; transform: scale(0.985); }
.packs-stage .packs-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.75em; }
@media (max-width: 560px) { .packs-stage .packs-name { font-size: 0.8rem; display: block; -webkit-line-clamp: none; overflow: visible; } .packs-stage .packs-price { font-size: 0.8rem; } .packs-stage .packs-save { font-size: 0.72rem; } }
@media (prefers-reduced-motion: reduce) { .packs-stage { transition: none; } }

/* ---- featured spotlight (shop home hero) ----
   A rotating COUPLE of featured products (two seats, dealt as pairs
   from the server's profit-ranked Hollerbak premium pool); the frame,
   type and actions reuse the house tokens so every door's branding
   carries through. The pair stacks on phones, sits side by side on
   desktop. */
.spot { max-width: var(--measure); margin: 0.4rem auto 0; padding: 0 0.75rem; }
.spot-frame { border: 2px solid var(--gold); border-radius: 16px; background: var(--paper); overflow: hidden; }
/* The featured couple (Jim, Oct 27 2026): two seats side by side on
   desktop, stacked on phones; each seat keeps the slide's own layout
   (media over info) so the pair reads as two heroes, not one split. */
.spot-pair { display: grid; grid-template-columns: 1fr; }
.spot-slide { display: grid; grid-template-columns: 1fr; }
.spot-media { border: 0; padding: 0; background: var(--cream); cursor: pointer; display: block; width: 100%; }
.spot-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; background: #fff; }
.spot-info { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.spot-eyebrow { margin: 0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.spot-name { margin: 0; font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.01em; }
.spot-chips { margin: 0; display: flex; gap: 0.35rem; flex-wrap: wrap; }
.spot-hype { margin: 0; font-size: 1.02rem; color: var(--ink); max-width: 34rem; }
.spot-price { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--green-deep); }
.spot-price .was { color: var(--mist); font-weight: 600; text-decoration: line-through; font-size: 1rem; margin-right: 0.3rem; }
.spot-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.spot-nav { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.5rem 0 0.1rem; }
.spot-step { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; width: 2.1rem; height: 2.1rem; font-size: 1.15rem; line-height: 1; cursor: pointer; color: var(--green-deep); }
.spot-dots { display: flex; gap: 0.4rem; }
.spot-dot { width: 0.62rem; height: 0.62rem; border-radius: 999px; border: 1px solid var(--gold-deep); background: transparent; padding: 0; cursor: pointer; }
.spot-dot.on { background: var(--gold-deep); }
@media (min-width: 720px) {
  .spot-pair { grid-template-columns: 1fr 1fr; }
  .spot-pair .spot-slide { grid-template-columns: 1fr; }
  .spot-pair .spot-media img { aspect-ratio: 4 / 3; height: auto; }
  .spot-pair .spot-info { justify-content: flex-start; }
  .spot-pair .spot-name { font-size: 1.55rem; }
  .spot-slide { grid-template-columns: 1.05fr 1fr; }
  .spot-media img { aspect-ratio: 1 / 1; height: 100%; }
  .spot-info { justify-content: center; padding: 1.4rem 1.6rem; }
  .spot-name { font-size: 1.9rem; }
}

/* ---- product-page hype layer ---- */
.pd-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0.4rem 0 0; }
.pd-badges .badge { box-shadow: none; font-size: 0.68rem; }
.pd-hype { border: 1px solid var(--gold-deep); background: #fdf8e7; border-radius: 10px; padding: 0.65rem 0.85rem; margin: 0.7rem 0 0; }
.pd-hype-k { margin: 0; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); }
.pd-hype-t { margin: 0.25rem 0 0; font-size: 0.95rem; }
.pd-pairs { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 0.8rem; }
.pd-pairs h3 { margin: 0 0 0.55rem; font-size: 1rem; }
.pd-pair-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 0.55rem; }
.pd-pair { background: var(--paper); border: 1px solid #ece5d3; border-radius: 12px; overflow: hidden; cursor: pointer; text-align: left; font: inherit; padding: 0; display: flex; flex-direction: column; }
.pd-pair img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--cream); display: block; }
.pd-pair-name { font-weight: 600; font-size: 0.8rem; line-height: 1.2; padding: 0.3rem 0.45rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-pair-price { color: var(--green-deep); font-weight: 700; font-size: 0.8rem; padding: 0 0.35rem 0.45rem; }

/* ---- Coming Soon / Reserve drops ----
   Pill metrics match the hype-badge system (featured build) so the two
   compose: COMING SOON is the ink pill. The drop hero reuses the line-sec
   frame; its media slot takes the drop's own product imagery until
   dedicated hero art lands. */
.badge.b-soon { background: var(--ink); color: var(--gold, #e8b33c); }
.card .card-soon { grid-column: 1 / -1; color: var(--ink); font-weight: 800; font-size: 0.72rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.03em; }
.line-soon { margin: 0.3rem auto 0; font-size: 0.85rem; color: var(--mist); }
.menu-soon { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-deep, #8a6414); }
.drop-hero { margin-top: 0.6rem; }
.drop-hero-frame { border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); overflow: hidden; display: grid; grid-template-columns: 1fr; }
.drop-hero-media { border: 0; padding: 0; background: var(--cream); cursor: pointer; display: block; width: 100%; }
.drop-hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.drop-hero-info { padding: 0.9rem 1rem 1.1rem; text-align: center; }
.drop-hero-name { margin: 0.2rem 0 0; font-size: 1.35rem; }
.drop-hero-blurb { margin: 0.4rem auto 0; max-width: 34rem; }
.drop-hero-info .drop-reserve { margin-top: 0.7rem; }
@media (min-width: 720px) {
  .drop-hero-frame { grid-template-columns: 1.05fr 1fr; }
  .drop-hero-media img { aspect-ratio: 1 / 1; height: 100%; }
  .drop-hero-info { display: flex; flex-direction: column; justify-content: center; }
}
.drop-reserve { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.drop-reserve .dr-lab { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9rem; font-weight: 600; width: 100%; max-width: 22rem; text-align: left; }
.drop-reserve .dr-email { padding: 0.55rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; box-sizing: border-box; width: 100%; }
.drop-reserve .dr-note { margin: 0; min-height: 1em; }
.drop-panel .dr-line { font-size: 1rem; line-height: 1.5; }
.drop-panel .drop-reserve { align-items: stretch; margin: 0.6rem 0; }
.drop-panel .drop-reserve .dr-lab { max-width: none; }

/* ——— Woody's dock (amendment 21, Oct 28, 2026; re-seated
   Nov 4, 2026) ———
   His home in the shopping area: his face over his invitation
   pill, one narrow column. Amendment 21 floated him at the
   MIDDLE of the right edge (top: 50%), draggable with a
   remembered seat and no dismiss — and Jim, Nov 4, 2026, from
   his phone: "The Woody on the main site just sits in the
   middle of the site and you can't move them." He was parked
   on the product cards at every scroll position, a touch that
   landed on him could not even scroll the page
   (touch-action: none served the drag), and a stray drag could
   leave him anywhere — centre included — on every later visit.
   Now the dock is ANCHORED: the bottom-right corner, stacked
   above the floating cart pill (which owns bottom: 1rem in
   this corner) and clear of the left filter rail, taking the
   same cookie-bar raise the pill takes while the bar is up.
   Not draggable and no remembered seat (woody-dock.js discards
   the old ones); touches on him scroll the page like anywhere
   else. A small − button folds him to a tab at the same corner
   (his mini face + "Woody") — a shopper can put him aside, the
   tab brings him back, and the fold is remembered in
   woody-dock.js. While he is folded his cards stay folded with
   him; shop.js firing one unfolds the dock around it
   (woody-dock.js watches their hidden flips). His face keeps
   the first-visit cue ring and the talking wave (shop.js gates
   both on his own states, seat-independent). */
.woody-dock {
  position: fixed; right: 12px; bottom: 4.75rem;
  z-index: 45;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
body.cookie-on .woody-dock { bottom: 12rem; }
.woody-dock .woody-btn {
  /* Enlarged Oct 28, 2026 (Jim: "he seems very small, you can't
     really see him") — 56px -> 92px; his face is the support
     button and has to read at a glance on a phone. */
  width: 92px; height: 92px; aspect-ratio: 1 / 1; flex: none;
  border: 2px solid var(--cream);
  box-shadow: 0 6px 16px rgba(0,0,0,.4), 0 0 0 3px rgba(20,16,10,.35);
  cursor: pointer;
}
.woody-dock .woody-help-pill {
  font-size: 0.66rem; padding: 0.32rem 0.55rem; text-align: center;
  max-width: 7.5rem; white-space: normal;
}
/* His put-aside button: a small disc on the dock's top-right
   shoulder — the floating cart card's own ✕ is the house
   pattern for putting a floating control away. */
.woody-aside-btn {
  position: absolute; top: -0.5rem; right: -0.5rem; z-index: 2;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 2px solid var(--cream); background: var(--ink); color: var(--cream);
  font-size: 1.05rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
/* The tab he folds to: small, same corner, his face and his
   name — one tap brings him back. */
.woody-tab {
  display: none; align-items: center; gap: 0.42rem;
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--gold-deep); border-radius: 999px;
  padding: 0.34rem 0.72rem 0.34rem 0.38rem;
  font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.woody-tab img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; }
.woody-dock.is-aside .woody,
.woody-dock.is-aside .woody-help,
.woody-dock.is-aside .woody-aside-btn { display: none; }
.woody-dock.is-aside .woody-tab { display: inline-flex; }
.woody-dock.is-aside .flash-pop,
.woody-dock.is-aside .welcome-pop { display: none; }
@media (max-width: 560px) {
  .woody-dock { right: 10px; }
  .woody-dock .woody-btn { width: 88px; height: 88px; }
}
/* ——— November Flash Sale (Nov 1, 2026 — api/_flash.js) ———
   The pop-up is the dock unfolded: it seats above Woody's face in
   his own column, same cream/ink palette as his pill, and while it
   is up the help pill dims behind it (one Woody, never two). The
   mini-timer rides the floating cart; the checkout line sits with
   the totals. All three are painted by shop.js (flashPaint) and are
   hidden unless the server has minted this visitor a live code. */
.woody-dock.flash-open .woody-help { opacity: 0.35; }
.flash-pop {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  width: 19rem; max-width: calc(100vw - 24px);
  background: var(--cream, #f7efdd); color: #241c10;
  border: 2px solid #241c10; border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  padding: 0.9rem 1rem 1rem; text-align: left; cursor: default;
}
.flash-pop-x {
  position: absolute; top: 0.3rem; right: 0.55rem;
  background: none; border: 0; font-size: 1.25rem; line-height: 1;
  color: inherit; cursor: pointer; padding: 0.2rem;
}
.flash-pop-kicker { margin: 0 1.2rem 0.35rem 0; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
.flash-pop-line { margin: 0 0 0.5rem; font-size: 0.95rem; line-height: 1.35; }
.flash-pop-code { margin: 0 0 0.35rem; font-size: 0.95rem; }
.flash-pop-code b { letter-spacing: 0.06em; }
.flash-pop-clock { margin: 0 0 0.7rem; font-size: 0.82rem; opacity: 0.85; }
.flash-pop-apply { width: 100%; cursor: pointer; }
.flash-mini {
  margin: 0 0 0.5rem; padding: 0.45rem 0.6rem;
  background: #fdf6e3; border: 1.5px solid #241c10; border-radius: 9px;
  font-size: 0.82rem; line-height: 1.3;
}
.flash-cart-line { margin: 0 0 0.6rem; font-size: 0.9rem; }
@media (max-width: 560px) {
  .flash-pop { width: calc(100vw - 20px); }
}

/* Woody's WELCOME card (Jim, Nov 1, 2026): the greeter rides the
   flash pop's exact seat — same dock slot above Woody's face, same
   card stock — so the two never fight over placement (and the
   sequencing in shop.js keeps them from ever showing together).
   Like the flash card it carries no animation: nothing moves
   unless the shopper acts, which is also the codebase's
   reduced-motion answer. The rail spot is a plain outline, no
   pulse, for the same reason. */
.welcome-pop {
  position: absolute; right: 0; bottom: calc(100% + 10px);
  width: 19rem; max-width: calc(100vw - 20px);
  background: #fffdf7; color: #241c10;
  border: 1.5px solid #241c10; border-radius: 16px;
  box-shadow: 0 14px 34px rgba(20, 14, 4, 0.35);
  padding: 0.9rem 1rem 1rem; text-align: left; cursor: default;
}
.welcome-x {
  position: absolute; top: 0.3rem; right: 0.45rem;
  background: none; border: 0; font-size: 1.25rem; line-height: 1;
  cursor: pointer; color: inherit; padding: 0.25rem;
}
/* The greeter's portrait (Jim, Nov 1, 2026): the headset Woody,
   the card's own asset — a true-circle crop floated at the head
   of the card so the greeting wraps beside him, in the same
   circle treatment the dock face family uses. */
.welcome-face {
  float: left; width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid #241c10; object-fit: cover; background: #f3e7cf;
  margin: 0.05rem 0.7rem 0.35rem 0;
}
.welcome-h { margin: 0 1.2rem 0.35rem 0; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.welcome-b { margin: 0 0 0.55rem; font-size: 0.9rem; line-height: 1.45; }
.welcome-deal { margin: 0 0 0.55rem; font-size: 0.9rem; line-height: 1.45; font-weight: 600; }
.welcome-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.welcome-go {
  background: #241c10; color: #fffdf7; border: 1.5px solid #241c10;
  border-radius: 999px; padding: 0.45rem 0.95rem;
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
}
.welcome-help { color: #241c10; font-size: 0.9rem; font-weight: 700; }
.filter-rail.welcome-spot { outline: 3px solid #b97d2c; outline-offset: 3px; }
@media (max-width: 560px) {
  .welcome-pop { width: calc(100vw - 20px); }
}
