@charset "UTF-8";
/* ==========================================================================
   POTHEAD GANG — SHOP
   Section 20 of the visual system. Loaded only on shop pages.

   This file adds NO new colours, typefaces, spacing values, radii, easings or
   breakpoints. Every value below resolves to a token already defined in
   phg.css. The shop is another room in the same building.

   20.1  SHOP SURFACE + ANNOUNCEMENT STRIP
   20.2  SHOP UTILITY BAR (sub-navigation, cart, search)
   20.3  SHOP STAGE (campaign hero)
   20.4  PRODUCT GRID + PRODUCT CELL
   20.5  CATEGORY INDEX
   20.6  DROP / COLLECTION FEATURE
   20.7  PRODUCT DETAIL — GALLERY + INFORMATION COLUMN
   20.8  VARIANT / SIZE / QUANTITY SELECTORS
   20.9  ADD TO BAG
   20.10 BAG (slide-over / full screen)
   20.11 SHOP SEARCH OVERLAY
   20.12 SHOP FILTERS
   20.13 STOCK STATES
   20.14 RESPONSIVE
   ========================================================================== */

/* ==========================================================================
   20.1  SHOP SURFACE + ANNOUNCEMENT STRIP
   ========================================================================== */

/* Product photography is shot on a controlled ground. `studio` and `garment`
   extend the existing plate tone system — same grain, same registration mark,
   same reservation slug. */
.plate--studio {
  background:
    radial-gradient(78% 70% at 34% 26%, rgba(241, 235, 221, 0.3), transparent 64%),
    radial-gradient(70% 74% at 82% 88%, rgba(16, 16, 16, 0.22), transparent 60%),
    linear-gradient(166deg, #38352F 0%, #262320 54%, #15130F 100%);
}
.plate--garment {
  background:
    radial-gradient(80% 68% at 28% 30%, rgba(255, 200, 140, 0.2), transparent 62%),
    radial-gradient(72% 78% at 84% 86%, rgba(16, 16, 16, 0.26), transparent 60%),
    linear-gradient(172deg, #2C2622 0%, #1D1916 54%, #100E0C 100%);
}

/* The announcement strip: thin, sharp, square, and only ever shown when it
   has something true to say. */
.drop-strip {
  position: relative;
  z-index: 2;
  background: var(--phg-kush);
  color: var(--phg-asphalt);
}
.drop-strip--fire { background: var(--phg-fire); color: var(--phg-asphalt); }
.drop-strip--plain {
  background: var(--phg-asphalt);
  color: var(--phg-smoke);
  border-bottom: var(--border-hair) solid var(--rule);
}
.drop-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  width: 100%;
  max-width: var(--max-page);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
  min-height: 40px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--meta-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-align: center;
}
a.drop-strip__inner:hover { text-decoration: underline; text-underline-offset: 3px; }
.drop-strip__inner .arrow { transition: transform var(--dur-fast) var(--ease-editorial); }
a.drop-strip__inner:hover .arrow { transform: translateX(3px); }

/* The strip is a band inside the fixed header, so there is exactly one
   header height to reason about — measured and published as --header-h. */
.header:has(.drop-strip) { background: var(--phg-asphalt); }
.header:has(.drop-strip)::before { opacity: 0; }

/* ==========================================================================
   20.2  SHOP UTILITY BAR
   The commerce layer lives below the primary header, so the main site
   navigation is never crowded by it.
   ========================================================================== */
.shopbar {
  position: sticky;
  top: var(--header-h);
  z-index: var(--z-sticky);
  background: var(--phg-asphalt);
  border-bottom: var(--border-hair) solid var(--rule);
  color: var(--phg-smoke);
}
.shopbar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  width: 100%;
  max-width: var(--max-page);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 52px;
}
.shopbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.85rem);
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shopbar__nav::-webkit-scrollbar { display: none; }
@media (max-width: 1023px) {
  /* Fade the trailing edge so the horizontal scroll is visible rather than
     looking like the list simply ends. */
  .shopbar__nav {
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
    mask-image: linear-gradient(to right, #000 82%, transparent 100%);
  }
}
.shopbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.75rem;
  font-weight: 600;
  font-size: var(--meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--phg-concrete);
  transition: color var(--dur-fast) var(--ease-cut);
}
.shopbar__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--phg-kush);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-editorial);
}
.shopbar__link:hover { color: var(--phg-smoke); }
.shopbar__link:hover::after { transform: scaleX(1); }
.shopbar__link[aria-current="page"] { color: var(--phg-smoke); }
.shopbar__link[aria-current="page"]::after { transform: scaleX(1); }

.shopbar__tools { display: flex; align-items: center; gap: var(--space-s); flex: none; }
.shopbar__tool {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  background: none;
  border: var(--border-hair) solid transparent;
  border-radius: var(--radius-ui);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--phg-smoke);
  transition: border-color var(--dur-fast) var(--ease-cut),
    color var(--dur-fast) var(--ease-cut);
}
.shopbar__tool:hover { border-color: var(--rule-strong); color: var(--phg-kush); }
.shopbar__tool svg { width: 15px; height: 15px; flex: none; }

/* The bag count is a number, never a lone coloured dot. */
.bag-count {
  font-variant-numeric: tabular-nums;
  color: var(--phg-kush);
}
.bag-count[data-empty="true"] { color: var(--phg-concrete); }

/* ==========================================================================
   20.3  SHOP STAGE — the campaign opening
   ========================================================================== */
.shop-stage {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--phg-asphalt);
  color: var(--phg-smoke);
  min-height: min(88svh, 900px);
  display: grid;
  align-items: end;
}
.shop-stage__media { position: absolute; inset: 0; z-index: 0; }
.shop-stage__media .frame { height: 100%; }
.shop-stage__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 8, 8, 0.86) 0%, rgba(8, 8, 8, 0.34) 46%, rgba(8, 8, 8, 0.04) 76%),
    linear-gradient(to right, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0.08) 56%, transparent 82%);
}
.shop-stage__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-page);
  margin-inline: auto;
  padding: calc(var(--space-4xl) + var(--header-h)) var(--gutter) var(--space-2xl);
  display: grid;
  gap: var(--space-l);
}
.shop-stage__title { max-width: 14ch; }

/* Editorial triptych alternative to the full-bleed stage. */
.triptych {
  display: grid;
  gap: clamp(0.5rem, 1.2vw, 1rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .triptych { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.78fr) minmax(0, 0.92fr); align-items: end; }
  .triptych > :nth-child(2) { transform: translateY(clamp(1rem, 3vw, 2.75rem)); }
}

/* ==========================================================================
   20.4  PRODUCT GRID + PRODUCT CELL
   Flat. No card. No shadow. Photography defines the cell.
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2.25rem) clamp(0.75rem, 1.6vw, 1.5rem);
}
@media (min-width: 640px)  { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .product-grid--dense { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* A single-column storytelling variant for very small screens where the
   product photography is doing the work. */
.product-grid--editorial { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .product-grid--editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid--editorial { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.product-cell {
  display: grid;
  gap: 0;
  align-content: start;
  min-width: 0;
}
.product-cell__media {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-tag);
  background: var(--surface-raise);
}
.product-cell__media .frame { border-radius: 0; }
.product-cell__media > * { transition: transform var(--dur-cinematic) var(--ease-editorial); }
a.product-cell:hover .product-cell__media > *,
a.product-cell:focus-visible .product-cell__media > * { transform: scale(1.03); }

/* The alternate view sits underneath and is revealed by the hover crop. */
.product-cell__alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-cut);
  z-index: 2;
}
a.product-cell:hover .product-cell__alt,
a.product-cell:focus-visible .product-cell__alt { opacity: 1; }

/* A thin Kush rule wipes in beneath the image on hover — the shop's echo of
   the tick that opens every structural rule on the rest of the site. */
.product-cell__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--phg-kush);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-editorial);
  z-index: 3;
}
a.product-cell:hover .product-cell__media::after,
a.product-cell:focus-visible .product-cell__media::after { transform: scaleX(1); }

.product-cell__body {
  display: grid;
  gap: 0.15rem;
  padding-top: var(--space-s);
}
.product-cell__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--small);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease-cut);
}
a.product-cell:hover .product-cell__title { color: var(--phg-kush); }
.s-light a.product-cell:hover .product-cell__title { color: var(--ink); }
.product-cell__sub {
  font-size: var(--meta-xs);
  letter-spacing: 0.03em;
  color: var(--ink-quiet);
  line-height: 1.35;
}
.product-cell__price {
  font-weight: 600;
  font-size: var(--small);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.product-cell__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.75rem;
  margin-top: 0.15rem;
}

/* Corner flag on the image — a word, never a lone colour. */
.product-flag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  padding: 0.42em 0.6em 0.36em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--meta-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  line-height: 1;
  background: var(--phg-kush);
  color: var(--phg-asphalt);
}
.product-flag--sold { background: var(--phg-asphalt); color: var(--phg-smoke); }
.product-flag--dev { background: var(--phg-concrete); color: var(--phg-asphalt); }

/* Colour availability, shown as a count rather than a row of swatches. */
.product-colors {
  font-size: var(--meta-xs);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--ink-quiet);
}

/* ==========================================================================
   20.5  CATEGORY INDEX — image + compact label, no rounded tiles
   ========================================================================== */
.category-index {
  display: grid;
  gap: clamp(1rem, 2.2vw, 2rem) clamp(0.75rem, 1.6vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .category-index { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.category-cell { display: grid; gap: var(--space-s); align-content: start; min-width: 0; }
.category-cell__media { overflow: clip; border-radius: var(--radius-tag); }
.category-cell__media > * { transition: transform var(--dur-cinematic) var(--ease-editorial); }
a.category-cell:hover .category-cell__media > * { transform: scale(1.03); }
.category-cell__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
}
a.category-cell:hover .category-cell__name { color: var(--phg-kush); }
.s-light a.category-cell:hover .category-cell__name { color: var(--ink); }
.category-cell__count {
  font-size: var(--meta-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-quiet);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   20.6  DROP / COLLECTION FEATURE
   ========================================================================== */
.drop-feature { display: grid; gap: var(--space-xl); }
@media (min-width: 960px) {
  .drop-feature { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
}
.drop-feature__title { max-width: 8ch; }
.drop-record {
  display: grid;
  gap: var(--space-xs) var(--space-l);
  padding-block: clamp(1rem, 2vw, 1.5rem);
  border-bottom: var(--border-hair) solid var(--rule);
}
@media (min-width: 768px) {
  .drop-record { grid-template-columns: 7rem minmax(0, 1fr) auto; align-items: baseline; }
}

/* Breadcrumb — small type, full-size target. */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; }
.breadcrumb a,
.breadcrumb > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.7rem;
}
.breadcrumb a {
  background-size: 0% 1px;
  transition: background-size var(--dur-mid) var(--ease-editorial),
    color var(--dur-fast) var(--ease-cut);
}
.breadcrumb a:hover { background-size: 100% 1px; }

/* ==========================================================================
   20.7  PRODUCT DETAIL
   Gallery dominates. Information column stays with you while you scroll.
   ========================================================================== */
.product { display: grid; gap: var(--space-xl); }
@media (min-width: 960px) {
  .product {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.72fr);
    gap: clamp(2rem, 4.5vw, 4.5rem);
    align-items: start;
  }
}

/* Vertically stacked editorial product photography, not a thumbnail strip. */
.product-gallery { display: grid; gap: clamp(0.5rem, 1.2vw, 1rem); }
@media (min-width: 640px) { .product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-gallery > :first-child { grid-column: 1 / -1; }
.product-gallery .frame { border-radius: var(--radius-tag); }

.product-info {
  display: grid;
  gap: var(--space-l);
  align-content: start;
}
@media (min-width: 960px) {
  .product-info {
    position: sticky;
    top: calc(var(--header-h) + 52px + var(--space-l));
  }
}
.product-info__title { max-width: 10ch; }
.product-info__price {
  font-weight: 600;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.product-info__desc { color: var(--ink-quiet); font-size: var(--small); max-width: 46ch; }

/* Collapsible detail rows — materials, care, shipping. */
.product-detail {
  border-top: var(--border-hair) solid var(--rule);
}
.product-detail:last-of-type { border-bottom: var(--border-hair) solid var(--rule); }
.product-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: var(--space-m);
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: var(--meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
}
.product-detail summary::-webkit-details-marker { display: none; }
.product-detail summary::after {
  content: "+";
  font-size: 1.1em;
  line-height: 1;
  color: var(--ink-quiet);
  transition: transform var(--dur-fast) var(--ease-cut);
}
.product-detail[open] summary::after { content: "–"; }
.product-detail summary:hover { color: var(--phg-kush); }
.s-light .product-detail summary:hover { color: var(--ink); }
.product-detail__body {
  padding-bottom: var(--space-m);
  font-size: var(--small);
  color: var(--ink-quiet);
  max-width: 52ch;
}

/* ==========================================================================
   20.8  VARIANT / SIZE / QUANTITY SELECTORS
   Square, flat, outlined. Never pills.
   ========================================================================== */
.option-set { display: grid; gap: var(--space-s); }
.option-set__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--meta-xs);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.option-set__value { color: var(--ink-quiet); font-weight: 500; }

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: var(--border-hair) solid var(--rule-strong);
  border-radius: var(--radius-ui);
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease-cut),
    color var(--dur-fast) var(--ease-cut),
    border-color var(--dur-fast) var(--ease-cut);
}
.option:hover { border-color: var(--ink); }
.option[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
/* Unavailable is struck through as well as dimmed — never colour alone. */
.option[data-unavailable="true"] {
  color: var(--ink-quiet);
  border-color: var(--rule);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.option[data-unavailable="true"]:hover { border-color: var(--rule); }

.qty {
  display: inline-flex;
  align-items: stretch;
  border: var(--border-hair) solid var(--rule-strong);
  border-radius: var(--radius-ui);
  width: fit-content;
  overflow: hidden;
}
.qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease-cut);
}
.qty__btn:hover { background: var(--surface-raise); }
.qty__btn:disabled { color: var(--ink-quiet); cursor: not-allowed; }
.qty__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  font-weight: 600;
  font-size: var(--small);
  font-variant-numeric: tabular-nums;
  border-inline: var(--border-hair) solid var(--rule);
}

/* ==========================================================================
   20.9  ADD TO BAG
   ========================================================================== */
.add-bag {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: 100%;
  min-height: 56px;
  padding: 1.1em 1.4em 1em;
  border: var(--border-hair) solid var(--phg-kush);
  border-radius: var(--radius-ui);
  background: var(--phg-kush);
  color: var(--phg-asphalt);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--nav);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  line-height: 1;
  transition: background-color var(--dur-fast) var(--ease-cut),
    color var(--dur-fast) var(--ease-cut);
}
.add-bag:hover { background: transparent; color: var(--phg-kush); }
.s-light .add-bag:hover { color: #0B7A31; border-color: #0B7A31; }
.add-bag .arrow { transition: transform var(--dur-fast) var(--ease-editorial); }
.add-bag:hover .arrow { transform: translateX(4px); }
.add-bag:disabled,
.add-bag[aria-disabled="true"] {
  background: none;
  color: var(--ink-quiet);
  border-color: var(--rule-strong);
  cursor: not-allowed;
}
.add-bag:disabled:hover .arrow { transform: none; }

/* Mobile keeps the buy action within thumb reach. */
.add-bag-sticky {
  position: sticky;
  bottom: 0;
  z-index: var(--z-sticky);
  padding: var(--space-s) 0 var(--space-m);
  background: linear-gradient(to top, var(--surface) 62%, transparent);
}
@media (min-width: 960px) {
  .add-bag-sticky { position: static; padding: 0; background: none; }
}

/* ==========================================================================
   20.10  BAG
   Editorial slide-over on desktop, full screen on mobile.
   ========================================================================== */
.bag {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: grid;
  grid-template-columns: 1fr;
  visibility: hidden;
  pointer-events: none;
}
.bag[data-open="true"] { visibility: visible; pointer-events: auto; }
.bag__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.66);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-cut);
  border: 0;
  cursor: pointer;
}
.bag[data-open="true"] .bag__scrim { opacity: 1; }

.bag__panel {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 100%;
  max-width: 30rem;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--phg-asphalt);
  color: var(--phg-smoke);
  border-left: var(--border-hair) solid var(--rule);
  transform: translateX(100%);
  transition: transform var(--dur-mid) var(--ease-editorial);
  --surface: var(--phg-asphalt);
  --surface-raise: var(--phg-asphalt-raise);
  --ink: var(--phg-smoke);
  --ink-quiet: var(--phg-concrete);
  --rule: rgba(241, 235, 221, 0.16);
  --rule-strong: rgba(241, 235, 221, 0.42);
}
.bag[data-open="true"] .bag__panel { transform: none; }
@media (max-width: 639px) {
  .bag__panel { max-width: none; border-left: 0; }
}

.bag__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-m) var(--space-l);
  border-bottom: var(--border-hair) solid var(--rule);
}
.bag__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 var(--space-l);
}
.bag__foot {
  padding: var(--space-l);
  border-top: var(--border-hair) solid var(--rule);
  display: grid;
  gap: var(--space-m);
}

.bag-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--space-m);
  padding-block: var(--space-m);
  border-bottom: var(--border-hair) solid var(--rule);
}
.bag-item__media { border-radius: var(--radius-tag); overflow: clip; }
.bag-item__body { display: grid; gap: 0.3rem; align-content: start; min-width: 0; }
.bag-item__title {
  font-weight: 700;
  font-size: var(--small);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}
.bag-item__variant {
  font-size: var(--meta-xs);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--phg-concrete);
}
.bag-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  margin-top: 0.35rem;
}
.bag-item__price { font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--small); }
.bag-item__remove {
  background: none;
  border: 0;
  padding: 0.5rem 0;
  min-height: 44px;
  cursor: pointer;
  font-size: var(--meta-xs);
  font-weight: 500;
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--phg-concrete);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bag-item__remove:hover { color: var(--phg-kush); }

.bag__totals {
  display: grid;
  gap: 0.4rem;
}
.bag__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--small);
}
.bag__line b { font-weight: 700; font-variant-numeric: tabular-nums; }
.bag__line--total { font-size: var(--h4); font-weight: 700; }

.bag__empty { display: grid; gap: var(--space-m); padding-block: var(--space-2xl); }
body[data-bag="open"] { overflow: hidden; }

/* ==========================================================================
   20.11  SHOP SEARCH OVERLAY
   ========================================================================== */
.shop-search {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--phg-asphalt);
  color: var(--phg-smoke);
  display: grid;
  grid-template-rows: auto 1fr;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: opacity var(--dur-mid) var(--ease-cut),
    transform var(--dur-mid) var(--ease-editorial),
    visibility 0s linear var(--dur-mid);
  --surface: var(--phg-asphalt);
  --surface-raise: var(--phg-asphalt-raise);
  --ink: var(--phg-smoke);
  --ink-quiet: var(--phg-concrete);
  --rule: rgba(241, 235, 221, 0.16);
  --rule-strong: rgba(241, 235, 221, 0.42);
}
.shop-search[data-open="true"] {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.shop-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-m) var(--gutter);
  border-bottom: var(--border-hair) solid var(--rule);
}
.shop-search__body { overflow-y: auto; padding: var(--space-l) var(--gutter) var(--space-2xl); }
.shop-search__field {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  border-bottom: var(--border-heavy) solid var(--phg-kush);
  padding-bottom: var(--space-s);
  margin-bottom: var(--space-xl);
}
.shop-search__input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  padding: 0.5rem 0;
  min-height: 48px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--phg-smoke);
}
.shop-search__input::placeholder { color: rgba(139, 139, 131, 0.6); }
.shop-search__input:focus { outline: none; }
.shop-search__field:focus-within { border-bottom-color: var(--phg-smoke); }
body[data-search="open"] { overflow: hidden; }

/* ==========================================================================
   20.12  SHOP FILTERS — restrained text tabs, not a department store
   ========================================================================== */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s) var(--space-l);
  padding-block: var(--space-m);
  border-block: var(--border-hair) solid var(--rule);
}
.shop-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.shop-filters__label {
  font-size: var(--meta-xs);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-right: 0.25rem;
}
.shop-filters__tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  background: none;
  border: var(--border-hair) solid transparent;
  border-radius: var(--radius-ui);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--ink-quiet);
  transition: color var(--dur-fast) var(--ease-cut),
    border-color var(--dur-fast) var(--ease-cut);
}
.shop-filters__tab:hover { color: var(--ink); border-color: var(--rule-strong); }
.shop-filters__tab[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--ink);
}
.shop-filters__count {
  margin-left: auto;
  font-size: var(--meta-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-quiet);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   20.13  STOCK STATES — word first, colour second
   ========================================================================== */
.stock {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--meta-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.stock::before {
  content: "";
  width: 0.5em; height: 0.5em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.stock--available { color: var(--phg-kush); }
.stock--available::before { background: currentColor; }
.s-light .stock--available { color: #0B7A31; }
.stock--low { color: var(--phg-fire); }
.stock--low::before { background: currentColor; }
.s-light .stock--low { color: #C23B08; }
.stock--sold::before { border-radius: 0; background: currentColor; }
.stock--coming::before { border-style: dashed; }
.stock--development::before { border-radius: 0; }

/* ==========================================================================
   20.14  RESPONSIVE
   Mobile is art-directed, not compressed.
   ========================================================================== */
@media (max-width: 767px) {
  .shop-stage { min-height: 100svh; }
  /* The frame's documentation layer steps out rather than sitting behind
     the actions, exactly as it does on the editorial stages. */
  .shop-stage__media .plate__slug { display: none; }
  .shop-stage__content { padding-top: calc(var(--space-3xl) + var(--header-h)); }
  .shop-stage__title { max-width: 9ch; }
  .product-info__title { max-width: 100%; }
  .bag__body { padding-inline: var(--space-m); }
  .bag__head, .bag__foot { padding-inline: var(--space-m); }
}

@media (max-width: 479px) {
  /* Two columns stay readable down to 320px because the cell is flat and the
     metadata is compact — no card padding is competing for width. */
  .product-grid { gap: var(--space-m) 0.75rem; }
  .product-cell__title { font-size: var(--meta); }
}

.shop-stage__title,
.category-cell__name,
.shop-search__input {
  overflow-wrap: break-word;
  hyphens: none;
}

@media print {
  .shopbar, .bag, .shop-search, .drop-strip, .add-bag-sticky { display: none !important; }
}
