/* Shared storefront composition: one workspace, one heading language, one vertical rhythm. */
:root {
  --catalog-workspace: min(2600px, 92%);
  --canna-green-deep: #0b5528;
  --canna-green-primary: #11732d;
  --canna-green-accent: #63d321;
  --canna-green-soft: #f2f7f1;
  --canna-green-highlight: #dcebcf;
  --canna-green-highlight-border: #bfd3b8;
  --canna-rule: #cbd3cf;
  --green: var(--canna-green-primary);
  --green-dark: var(--canna-green-deep);
  --green-bright: var(--canna-green-accent);
  --acid: var(--canna-green-highlight);
  --storefront-rule: var(--canna-rule);
  --storefront-separator: #d1d6d5;
  --storefront-panel: var(--canna-green-soft);
  --storefront-surface: #fefefe;
  --storefront-green: var(--canna-green-primary);
  --storefront-green-deep: var(--canna-green-deep);
  --storefront-lime: var(--canna-green-accent);
  --storefront-muted: #6c7076;
  --storefront-title: clamp(3.5rem, 4.6vw, 6rem);
  --storefront-eyebrow: clamp(.875rem, .8vw, 1.125rem);
  --storefront-body: clamp(1rem, .92vw, 1.25rem);
  --storefront-section-gap: clamp(42px, 4vw, 66px);
}

/* Every major block uses the same physical edges. */
.wholesale-hub,
#collections > .section-shell,
#shop,
.canna-story-shell,
.canna-letter,
.site-footer {
  width: var(--catalog-workspace);
  max-width: none;
  margin-inline: auto;
}

/* Palette sampled from the approved layout reference. */
body {
  background: #fdfdfd;
}

/* One controlled green scale across the public storefront. */
.brand .brand-mark {
  fill: var(--canna-green-primary);
}

.cart-count {
  background: var(--canna-green-primary);
}

.admin-panel-link {
  min-width: 92px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #c8d1cb;
  border-radius: 3px;
  background: var(--canna-green-soft);
  color: var(--canna-green-deep);
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.admin-panel-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.admin-panel-link:hover {
  border-color: var(--canna-green-primary);
  background: var(--canna-green-primary);
  color: #fff;
}

.admin-panel-link:focus-visible {
  outline: 2px solid var(--canna-green-accent);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .admin-panel-link {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  .admin-panel-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 780px) {
  .admin-panel-link {
    width: 34px;
    min-width: 34px;
    height: 40px;
    border-color: transparent;
    background: transparent;
  }

  .admin-panel-link svg {
    width: 20px;
    height: 20px;
  }
}

.hero-bracket {
  background: var(--canna-green-accent);
}

.hero-actions .button-primary {
  background: linear-gradient(105deg, var(--canna-green-deep), var(--canna-green-primary));
}

.hero-dots button.active {
  border-color: var(--canna-green-accent);
  background: var(--canna-green-accent);
}

.search-assistant-heading p,
.search-product-copy > small {
  color: var(--canna-green-primary);
}

.search-line input {
  border-bottom-color: var(--canna-green-primary);
}

.search-category-tabs button[aria-pressed='true']::after {
  background: var(--canna-green-accent);
}

.search-product {
  border-top-color: var(--canna-green-accent);
}

.search-add:hover,
.search-add.just-added {
  border-color: var(--canna-green-primary);
  background: var(--canna-green-primary);
}

.wholesale-hub {
  border-color: #c4cec8;
  border-top: 4px solid var(--storefront-green);
  background: var(--storefront-surface);
  box-shadow: 0 16px 42px rgba(15, 54, 29, .055);
}

.wholesale-hub .volume-dock {
  min-height: 182px;
  padding: clamp(18px, 1.3vw, 24px) clamp(26px, 2.8vw, 52px);
  grid-template-columns: minmax(430px, .82fr) minmax(650px, 1.18fr);
  gap: clamp(34px, 3.4vw, 66px);
  background: var(--storefront-surface);
}

.wholesale-hub .volume-copy {
  min-width: 0;
  padding-right: clamp(28px, 3vw, 58px);
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 2.1vw, 38px);
  border-right: 1px solid var(--storefront-separator);
}

.volume-minimum-visual,
.wholesale-hub .volume-copy p {
  color: var(--storefront-green-deep);
}

.volume-minimum-visual {
  width: clamp(74px, 5.2vw, 98px);
  height: clamp(74px, 5.2vw, 98px);
  display: grid;
  place-items: center;
}

.volume-minimum-visual svg {
  width: 100%;
  height: 100%;
}

.volume-heading {
  padding: 0;
  border: 0;
}

.wholesale-hub .volume-copy p {
  margin-bottom: 10px;
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(.9rem, .86vw, 1.08rem);
  font-weight: 700;
}

.wholesale-hub .volume-copy h2 {
  color: #0d0e0d;
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(2.65rem, 3.2vw, 3.7rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: .005em;
  white-space: nowrap;
}

.volume-heading > span {
  margin-top: 13px;
  color: var(--storefront-muted);
  font-size: clamp(1.05rem, 1.03vw, 1.32rem);
  line-height: 1.35;
}

.volume-picker {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
}

.volume-picker h3 {
  margin: 0 0 13px;
  color: #0d0e0d;
  font: 700 clamp(1.8rem, 1.85vw, 2.35rem)/1 'Canna Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.wholesale-hub .tier-switcher {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, .8vw, 14px);
}

.wholesale-hub .tier-button {
  min-width: 0;
  width: 100%;
  height: clamp(76px, 4.8vw, 92px);
  padding: 9px 10px 8px;
  border-radius: 3px;
}

.wholesale-hub .tier-button b {
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(1.85rem, 1.85vw, 2.35rem);
  font-weight: 700;
}

.volume-selection-status {
  margin: 13px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--storefront-muted);
  font-size: clamp(.9rem, .86vw, 1.1rem);
  line-height: 1.35;
}

.volume-selection-status strong {
  color: var(--storefront-green);
  font-weight: 900;
}

.volume-selection-status i {
  color: #9ca49e;
  font-style: normal;
}

.wholesale-hub .tier-button.active {
  border-color: var(--storefront-green);
  background: var(--storefront-green);
  box-shadow: 0 7px 18px rgba(16, 115, 46, .15);
}

.wholesale-hub .tier-button em {
  top: -14px;
  width: calc(100% + 2px);
  padding: 4px 6px;
  background: #92e900;
  color: #15340d;
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, .66vw, 13px);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.wholesale-hub .tier-button {
  border-color: var(--storefront-rule);
  background: var(--storefront-surface);
}

.wholesale-hub .tier-button span {
  color: #525b56;
  font-size: clamp(12px, .7vw, 14px);
  font-weight: 900;
  letter-spacing: .11em;
}

.wholesale-hub .tier-button.active span {
  color: #fff;
}

.volume-minimum-accent {
  display: none;
}

#collections,
#shop,
.canna-story,
.site-footer {
  background: var(--storefront-surface);
}

.canna-story {
  --story-green: var(--canna-green-primary);
  --story-lime: var(--canna-green-accent);
}

#collections {
  --category-green: var(--storefront-lime);
  --category-deep: var(--storefront-green-deep);
  --category-ink: #0d0e0d;
}

#collections .collection-shortcut {
  border-color: var(--storefront-rule);
  background: var(--storefront-surface);
  color: #0d0e0d;
}

#collections .collection-shortcut.active {
  border-color: var(--storefront-lime);
  background: var(--storefront-lime);
  color: #0d3103;
}

#collections .collection-shortcut:not(.active):hover,
#collections .collection-shortcut:not(.active):focus-visible {
  border-color: var(--storefront-green);
  background: var(--storefront-panel);
}

#collections[data-category-view='showcase'] .collection-meta b::after {
  color: var(--storefront-lime);
}

#collections[data-category-view='showcase'] .collection-meta small {
  color: var(--storefront-muted);
}

#shop .filter-button.active,
#shop .add-button {
  border-color: var(--storefront-green);
  background: var(--storefront-green);
}

#shop .filter-button,
#shop .product-card,
#shop .qty-field {
  border-color: var(--storefront-rule);
  background: var(--storefront-surface);
}

#shop .product-media.has-canna-photo {
  border-color: #e8ecea;
  background: linear-gradient(180deg, var(--storefront-surface) 0%, var(--storefront-panel) 100%);
}

#shop .filter-button:hover,
#shop .qty-field:focus-within {
  border-color: var(--storefront-green);
}

#shop .product-category,
#shop .product-detail,
#shop .price-block small {
  color: var(--storefront-muted);
}

#shop .product-favorite.active {
  color: var(--storefront-green);
  border-color: var(--storefront-green);
}

#shop .add-button:hover {
  background: var(--storefront-green-deep);
}

#shop .price-block strong {
  color: var(--storefront-green);
}

.canna-letter {
  border-color: var(--storefront-rule);
  border-top-color: var(--storefront-lime);
}

.canna-letter-intro {
  background: #050907;
}

.canna-letter-icon {
  stroke: var(--storefront-lime);
}

.canna-letter-fields button {
  background: var(--storefront-lime);
  color: #0d3103;
}

.site-footer {
  border-top-color: var(--storefront-green);
}

@keyframes wholesale-wave-ink {
  0%, 21%, 100% { color: var(--storefront-green-deep); }
  6%, 12% { color: var(--storefront-green); }
}

#collections .collections-heading,
#collections .category-view-editor,
#collections .collection-viewport,
#collections .collection-pager,
#collections[data-category-view='editorial'] .collection-viewport,
#collections[data-category-view='color'] .collection-viewport,
#collections[data-category-view='dark'] .collection-grid,
#shop .catalog-heading-row,
#shop .catalog-toolbar,
#shop .product-grid {
  width: 100%;
  margin-inline: 0;
}

/* Large section titles now speak the same visual language. */
#collections .collections-heading h2,
#shop .section-heading h2,
.canna-story h2 {
  font-family: 'Cannabus Display', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

#collections .collections-heading h2,
#shop .section-heading h2 {
  font-size: var(--storefront-title);
  line-height: .9;
}

#collections .collections-heading .eyebrow,
#shop .section-heading .eyebrow {
  display: block;
  margin: 0 0 clamp(10px, .8vw, 14px);
  color: var(--storefront-green);
  font-family: 'Cannabus Display', Arial, sans-serif;
  font-size: var(--storefront-eyebrow);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#collections .collections-heading .eyebrow::after,
#shop .section-heading .eyebrow::after {
  width: clamp(42px, 2.5vw, 58px);
  height: 3px;
  margin-top: 10px;
  background: var(--storefront-green);
}

#shop .catalog-intro {
  display: none;
}

.canna-story-eyebrow {
  display: flex;
  margin: 0 0 clamp(22px, 1.8vw, 34px);
  color: var(--storefront-green);
  font-size: var(--storefront-eyebrow);
  font-weight: 800;
}

.canna-story-eyebrow span {
  width: clamp(42px, 2.5vw, 58px);
  height: 3px;
  background: var(--storefront-green);
}

/* Categories: three complete cards instead of a banner plus a separate caption rail. */
#collections {
  padding: 24px 0 var(--storefront-section-gap);
}

#collections > .section-shell {
  padding-top: clamp(30px, 3vw, 46px);
  border-top: 1px solid var(--storefront-rule);
}

#collections .collections-heading {
  align-items: center;
}

#collections .collection-viewport {
  margin-top: clamp(24px, 2.4vw, 36px);
  overflow: visible;
}

#collections[data-category-view='showcase'] {
  padding-bottom: var(--storefront-section-gap);
}

#collections[data-category-view='showcase'] .collection-viewport {
  border-top: 0;
}

#collections[data-category-view='showcase'] .collection-showcase-stage {
  display: none;
}

#collections[data-category-view='showcase'] .collection-grid {
  gap: clamp(10px, 1vw, 16px);
  border: 0;
  background: transparent;
}

#collections[data-category-view='showcase'] .collection-card {
  overflow: hidden;
  border: 1px solid var(--storefront-rule);
  background: var(--storefront-surface);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

#collections[data-category-view='showcase'] .collection-card:last-child {
  border-right: 1px solid var(--storefront-rule);
}

#collections[data-category-view='showcase'] .collection-card:hover {
  border-color: #7dbb68;
  box-shadow: 0 14px 34px rgba(28, 76, 20, .1);
  transform: translateY(-3px);
}

#collections[data-category-view='showcase'] .collection-card.active,
#collections[data-category-view='showcase'] .collection-card.is-browsing {
  border-color: var(--storefront-rule);
  background: var(--storefront-surface);
  box-shadow: none;
}

#collections[data-category-view='showcase'] .collection-image {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.67 / 1;
  display: flex;
  border-bottom: 1px solid var(--storefront-separator);
  background: #020403;
}

/* The approved category art is taken from the selected storefront direction,
   so all three panels keep exactly the same product styling and green atmosphere. */
#collections[data-category-view='showcase'] .collection-approved-crop {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

#collections[data-category-view='showcase'] .collection-approved-crop img {
  top: 0;
  left: 0;
  width: 327.16%;
  height: auto;
  transform: translate(var(--approved-x), -20.70%);
}

#collections[data-category-view='showcase'] .collection-number,
#collections[data-category-view='showcase'] .collection-word {
  display: none;
}

#collections[data-category-view='showcase'] .collection-meta {
  min-height: 118px;
  padding: 20px clamp(20px, 1.7vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--storefront-surface);
  text-align: left;
}

#collections[data-category-view='showcase'] .collection-meta b {
  font-size: clamp(1.65rem, 1.85vw, 2.35rem);
  text-align: left;
}

#collections[data-category-view='showcase'] .collection-meta b::after {
  margin-left: 10px;
}

#collections[data-category-view='showcase'] .collection-meta small {
  font-size: clamp(.95rem, .92vw, 1.125rem);
  text-align: left;
}

#collections[data-category-view='showcase'] .collection-meta em,
#collections[data-category-view='showcase'] .collection-pager {
  display: none;
}

/* Catalog: compact bordered cards with a shared image stage and aligned information rows. */
#shop {
  padding: clamp(34px, 3.2vw, 52px) 0 clamp(48px, 4.6vw, 76px);
  border-top: 1px solid var(--storefront-rule);
}

#shop .catalog-heading-row {
  display: block;
}

#shop .catalog-toolbar {
  margin: clamp(17px, 1.7vw, 25px) 0 clamp(22px, 2.2vw, 34px);
}

#shop .results-count {
  display: none;
}

#shop .product-grid {
  gap: clamp(10px, 1vw, 16px);
}

#shop .product-card {
  padding: 8px 8px 10px;
  overflow: hidden;
  border: 1px solid var(--storefront-rule);
  border-radius: 3px;
  background: var(--storefront-surface);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

#shop .product-card:hover {
  border-color: #8fbd7d;
  box-shadow: 0 14px 32px rgba(22, 63, 17, .09);
  transform: translateY(-3px);
}

#shop .product-media.has-canna-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #e8ecea;
  background: linear-gradient(180deg, var(--storefront-surface) 0%, var(--storefront-panel) 100%);
}

#shop .product-media.has-canna-photo > .canna-photo {
  transform-origin: center center;
}

#shop [data-product='black-series'] .product-media .canna-photo { transform: scale(1.03); }
#shop [data-product='lemon-cherry'] .product-media .canna-photo { transform: scale(1.18); }
#shop [data-product='pink-runtz'] .product-media .canna-photo,
#shop [data-product='gorilla-glue-gg4'] .product-media .canna-photo,
#shop [data-product='fruit-salad'] .product-media .canna-photo { transform: scale(1); }

/* The approved compact catalog keeps the image stage clean. */
#shop .product-badge,
#shop .product-favorite {
  display: none;
}

#shop .product-meta-row {
  min-height: 20px;
  margin-top: 9px;
}

#shop .product-category,
#shop .product-trait,
#shop .product-detail {
  font-size: clamp(12px, .78vw, 17px);
}

#shop .product-name {
  min-height: 1.1em;
  margin: 2px 0 9px;
  font-size: clamp(1.1rem, 1.15vw, 1.6rem);
  line-height: 1.05;
}

#shop .product-meta-mixed {
  gap: 8px;
}

#shop .product-specs {
  min-height: 1.35em;
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--storefront-muted);
  font-size: clamp(12px, .72vw, 16px);
  line-height: 1.25;
  white-space: nowrap;
}

#shop .product-specs strong {
  flex: none;
  color: var(--storefront-green-deep);
  font-weight: 900;
}

#shop .product-specs span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#shop .product-specs span::before {
  content: '·';
  margin-right: 7px;
  color: #a6aca8;
}

#shop .price-block {
  margin-top: auto;
  padding-top: 4px;
  border-top: 0;
}

#shop .price-block strong {
  font-size: clamp(1.65rem, 1.7vw, 2.35rem);
}

#shop .price-block small {
  margin-top: 5px;
}

#shop .card-controls {
  margin-top: 8px;
  gap: 7px;
}

#shop .qty-field {
  width: min(146px, 58%);
}

#shop .qty-field input,
#shop .add-button {
  height: clamp(42px, 3vw, 52px);
}

#shop .qty-field input {
  height: calc(clamp(42px, 3vw, 52px) - 2px);
}

#shop .add-button {
  font-size: clamp(14px, .76vw, 16px);
}

/* About: same left edge and title weight, but keep its editorial two-column character. */
.canna-story {
  padding: clamp(34px, 3.2vw, 52px) 0 clamp(36px, 3.5vw, 58px);
}

.canna-story-grid {
  height: auto;
  grid-template-columns: minmax(380px, .72fr) minmax(0, 1.28fr);
  align-items: stretch;
}

.canna-story-copy {
  padding: clamp(34px, 3.6vw, 64px) clamp(42px, 4.5vw, 82px) clamp(34px, 3.6vw, 64px) 4px;
}

.canna-story h2 {
  font-size: clamp(4.5rem, 6vw, 8rem);
  line-height: .8;
}

.canna-story-lead {
  margin-top: clamp(28px, 2.2vw, 40px);
  font-size: clamp(1.25rem, 1.18vw, 1.65rem);
}

.canna-story-body,
.canna-story-more p {
  max-width: 620px;
  font-size: var(--storefront-body);
  line-height: 1.58;
}

.canna-story-button {
  min-width: clamp(230px, 13vw, 286px);
  min-height: clamp(58px, 3.8vw, 70px);
  margin-top: clamp(26px, 2.2vw, 38px);
  font-size: clamp(.95rem, .82vw, 1.125rem);
}

.canna-story-visual {
  height: auto;
  aspect-ratio: 2.08 / 1;
}

.canna-letter {
  margin-top: 0;
}

.canna-letter-intro p,
.canna-email-label {
  font-size: clamp(.8rem, .72vw, 1rem);
}

.canna-letter-intro > div > span,
.canna-letter-note {
  font-size: clamp(.875rem, .78vw, 1.05rem);
}

.canna-letter-fields input,
.canna-letter-fields button {
  font-size: clamp(.95rem, .82vw, 1.1rem);
}

.site-footer .footer-brand p,
.footer-column h2,
.footer-column a,
.footer-column > span {
  font-size: clamp(.875rem, .72vw, 1rem);
}

.footer-bottom {
  font-size: clamp(.8rem, .68vw, .95rem);
}

@media (max-width: 1200px) {
  .wholesale-hub .volume-dock {
    grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr);
    gap: 30px;
  }

  .wholesale-hub .volume-copy {
    padding-right: 28px;
  }

  .wholesale-hub .volume-copy h2 {
    white-space: normal;
  }

  #shop .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 10px;
    padding-bottom: 0;
    overflow: visible;
  }

  #shop .product-card {
    scroll-snap-align: start;
  }

  .canna-story-grid {
    grid-template-columns: minmax(330px, .8fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 900px) {
  .wholesale-hub .volume-dock {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 30px 28px 28px;
  }

  .wholesale-hub .volume-copy {
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--storefront-separator);
  }

  .volume-picker {
    padding-top: 28px;
  }

  #shop .product-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(74vw, 300px);
    gap: 16px;
    padding-bottom: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
  }

  .canna-story-grid {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .canna-story-copy {
    padding: 30px 4px 40px;
  }

  .canna-story-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 780px) {
  :root {
    --catalog-workspace: calc(100% - 18px);
    --storefront-title: clamp(2.9rem, 13vw, 4.2rem);
    --storefront-section-gap: 44px;
  }

  .wholesale-hub {
    margin-top: 12px;
    border-top-width: 3px;
  }

  .wholesale-hub .volume-dock {
    padding: 25px 17px 26px;
    display: grid;
  }

  .wholesale-hub .volume-copy {
    margin: 0;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 15px;
    padding-bottom: 24px;
  }

  .volume-minimum-visual {
    width: 66px;
    height: 66px;
  }

  .volume-heading {
    padding: 0;
  }

  .wholesale-hub .volume-copy p {
    margin-bottom: 7px;
    font-size: .72rem;
  }

  .wholesale-hub .volume-copy h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
  }

  .volume-heading > span {
    margin-top: 9px;
    font-size: .94rem;
  }

  .volume-picker {
    padding-top: 24px;
  }

  .volume-picker h3 {
    margin-bottom: 16px;
    font-size: 1.55rem;
  }

  .wholesale-hub .tier-switcher {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 9px;
  }

  .wholesale-hub .tier-button {
    height: 72px;
  }

  .wholesale-hub .tier-button b {
    font-size: 1.7rem;
  }

  .wholesale-hub .tier-button em {
    top: -10px;
    display: block;
    font-size: 10px;
  }

  .volume-selection-status {
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 3px 8px;
    font-size: .9rem;
  }

  #collections {
    padding-top: 18px;
  }

  #collections > .section-shell {
    padding-top: 28px;
  }

  #collections .collections-heading {
    width: 100%;
    display: block;
  }

  #collections .collections-heading-tools {
    margin-top: 20px;
    max-width: none;
  }

  #collections .collection-viewport,
  #collections[data-category-view='editorial'] .collection-viewport,
  #collections[data-category-view='color'] .collection-viewport {
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  #collections[data-category-view='showcase'] .collection-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    padding: 14px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    background: var(--storefront-panel);
    scrollbar-width: none;
  }

  #collections[data-category-view='showcase'] .collection-grid::-webkit-scrollbar {
    display: none;
  }

  #collections[data-category-view='showcase'] .collection-card {
    flex: 0 0 min(82vw, 430px);
    scroll-snap-align: start;
    border: 1px solid var(--storefront-rule);
    background: var(--storefront-surface);
  }

  #collections[data-category-view='showcase'] .collection-card:last-child {
    border-right: 1px solid var(--storefront-rule);
  }

  #collections[data-category-view='showcase'] .collection-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.48 / 1;
  }

  #collections[data-category-view='showcase'] .collection-meta {
    min-height: 100px;
    padding: 18px;
  }

  #collections[data-category-view='showcase'] .collection-pager {
    display: flex;
    width: 100%;
  }

  #shop .catalog-heading-row {
    width: 100%;
  }

  #shop .catalog-toolbar,
  #shop .product-grid {
    width: 100%;
  }

  #shop .product-grid {
    grid-auto-columns: min(82vw, 300px);
  }

  #shop .product-card {
    padding: 8px 8px 11px;
  }

  .canna-story-grid {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .canna-story-copy {
    padding: 26px 4px 42px;
  }

  .canna-story h2 {
    font-size: clamp(4rem, 20vw, 6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  #collections .collection-card,
  #shop .product-card { transition: none; }
}

/* Final storefront sequence: featured shelf, wholesale selector, then categories. */
.wholesale-hub {
  --wholesale-green: var(--canna-green-primary);
  --wholesale-green-dark: var(--canna-green-deep);
  --wholesale-lime: var(--canna-green-highlight);
  --wholesale-rule: #cfd3d3;
  --wholesale-muted: #6e7174;
  margin-top: 16px;
  border: 1px solid var(--wholesale-rule);
  border-top: 4px solid var(--wholesale-green);
  box-shadow: none;
}

.wholesale-hub .volume-dock {
  min-height: 148px;
  padding: 14px clamp(28px, 2.2vw, 42px) 10px;
  grid-template-columns: minmax(410px, 38fr) minmax(620px, 62fr);
  gap: 0;
  border-bottom: 0;
}

.wholesale-hub .volume-copy {
  align-self: stretch;
  padding-right: clamp(28px, 2.4vw, 46px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 1.75vw, 34px);
  border-right: 1px solid var(--wholesale-rule);
}

.volume-minimum-visual {
  width: clamp(70px, 4.4vw, 84px);
  height: clamp(70px, 4.4vw, 84px);
  color: var(--wholesale-green);
}

.volume-minimum-visual svg {
  stroke-width: 2.7;
}

.wholesale-hub .volume-copy p {
  margin: 0 0 8px;
  color: var(--wholesale-green);
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(14px, .82vw, 16px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .065em;
}

.wholesale-hub .volume-copy h2 {
  color: #090c0a;
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(40px, 2.55vw, 49px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.012em;
}

.volume-heading > span {
  margin-top: 10px;
  color: var(--wholesale-muted);
  font-family: 'Cannabus Body', Arial, sans-serif;
  font-size: clamp(16px, .93vw, 18px);
  line-height: 1.25;
}

.volume-picker {
  min-width: 0;
  padding-left: clamp(38px, 3vw, 58px);
  align-content: center;
}

.volume-picker h3 {
  margin: 0 0 8px;
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(24px, 1.7vw, 32px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.01em;
}

.wholesale-hub .tier-switcher {
  gap: clamp(10px, .85vw, 16px);
}

.wholesale-hub .tier-button {
  height: 62px;
  padding: 7px 8px 6px;
  border: 1px solid var(--wholesale-rule);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.wholesale-hub .tier-button b {
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(27px, 1.65vw, 32px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: 0;
}

.wholesale-hub .tier-button span {
  margin-top: 7px;
  color: #626a6d;
  font-size: clamp(11px, .64vw, 12px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
}

.wholesale-hub .tier-button.active {
  border-color: var(--wholesale-green);
  background: linear-gradient(110deg, var(--wholesale-green), var(--wholesale-green-dark));
  box-shadow: 0 7px 16px rgba(3, 97, 44, .14);
}

.wholesale-hub .tier-button.active span {
  color: #fff;
}

.wholesale-hub .tier-button em {
  top: -13px;
  width: calc(100% + 2px);
  padding: 3px 5px;
  background: var(--wholesale-lime);
  color: #0b2308;
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
}

.volume-selection-status {
  margin: 7px 0 0;
  gap: 9px;
  color: var(--wholesale-muted);
  font-family: 'Cannabus Body', Arial, sans-serif;
  font-size: clamp(14px, .82vw, 16px);
  line-height: 1.15;
}

.volume-selection-status strong {
  color: var(--wholesale-green);
  font-family: 'Canna Condensed', 'Arial Narrow', sans-serif;
  font-weight: 900;
}

/* Featured shelf replaces the former All Products presentation. */
#shop.featured-catalog {
  padding: clamp(36px, 3.2vw, 58px) 0 clamp(30px, 2.4vw, 44px);
  border-top: 1px solid #d1d7d4;
  background: #fff;
  color: #0b0e0c;
  color-scheme: light;
}

#shop .catalog-heading-row {
  display: flex;
  justify-content: center;
  text-align: center;
}

#shop .featured-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

#shop .featured-heading h2 {
  margin: 0;
  font-family: 'Cannabus Display', Arial, sans-serif;
  font-size: clamp(42px, 3.25vw, 62px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .065em;
  text-transform: uppercase;
}

#shop .featured-kicker {
  margin: 13px 0 0;
  color: #0c0f0d;
  font-family: 'Cannabus Display', Arial, sans-serif;
  font-size: clamp(13px, .9vw, 17px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .62em;
  text-indent: .62em;
  text-transform: uppercase;
}

#shop .featured-actions {
  margin-top: clamp(26px, 2vw, 38px);
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 264px));
  gap: 16px;
}

#shop .featured-action {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfc7c3;
  border-radius: 0;
  font-family: 'Cannabus Display', Arial, sans-serif;
  font-size: clamp(14px, .9vw, 17px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

#shop .featured-action:hover {
  transform: translateY(-2px);
}

#shop .featured-action-secondary {
  background: #fff;
  color: #0b0e0c;
}

#shop .featured-action-secondary:hover {
  border-color: var(--canna-green-primary);
}

#shop .featured-action-primary {
  border-color: var(--canna-green-primary);
  background: linear-gradient(105deg, var(--canna-green-deep), var(--canna-green-primary));
  color: #fff;
}

#shop .catalog-toolbar {
  display: none;
}

#shop .product-grid {
  margin-top: clamp(48px, 4vw, 74px);
  gap: clamp(10px, 1vw, 16px);
}

/* Keep the story gallery on the same right edge as Categories and Featured. */
#story .canna-story-shell {
  width: var(--catalog-workspace);
  max-width: none;
  margin-inline: auto;
}

#story .canna-story-grid {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

#story .canna-story-copy,
#story .canna-story-visual {
  min-width: 0;
  max-width: 100%;
}

#story .canna-story-visual {
  width: 100%;
  justify-self: stretch;
}

#shop .product-card {
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

#shop .product-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}

#shop .product-media.has-canna-photo {
  aspect-ratio: 1 / .88;
  border: 0;
  background: #fff;
}

#shop .product-badge {
  display: inline-flex;
  min-height: 32px;
  padding: 8px 14px;
  background: var(--canna-green-primary);
  border: 1px solid var(--canna-green-primary);
  color: #fff;
  font-family: 'Cannabus Display', Arial, sans-serif;
  font-size: clamp(12px, .72vw, 14px);
  font-weight: 900;
}

#shop .product-favorite {
  display: grid;
  width: 44px;
  height: 44px;
}

#shop .product-meta-row {
  min-height: 24px;
  margin-top: 14px;
}

#shop .product-name {
  min-height: 0;
  margin: 3px 0 8px;
  font-size: clamp(20px, 1.35vw, 27px);
}

#shop .product-specs {
  min-height: 1.25em;
  margin-bottom: 8px;
  font-size: clamp(13px, .75vw, 15px);
}

#shop .price-block {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px dashed #c7ceca;
}

#shop .price-block strong {
  font-size: clamp(28px, 1.8vw, 35px);
}

#shop .card-controls {
  margin-top: 11px;
  gap: 8px;
}

#shop .qty-field {
  width: min(126px, 48%);
}

#shop .qty-field input,
#shop .add-button {
  height: 44px;
}

#shop .qty-field input {
  height: 42px;
}

#shop .add-button {
  background: linear-gradient(105deg, var(--canna-green-deep), var(--canna-green-primary));
}

/* Category cards use the supplied high-resolution artwork as three real, clickable crops. */
#collections {
  padding-top: 0;
}

#collections > .section-shell {
  padding-top: clamp(24px, 2.2vw, 38px);
  border-top: 0;
}

#collections .collections-heading h2 {
  font-size: clamp(48px, 3.9vw, 76px);
  line-height: .9;
}

#collections .collection-viewport {
  margin-top: clamp(25px, 2.2vw, 40px);
}

#collections[data-category-view='showcase'] .collection-grid {
  gap: clamp(12px, 1vw, 18px);
}

#collections[data-category-view='showcase'] .collection-image {
  aspect-ratio: 1.76 / 1;
}

#collections[data-category-view='showcase'] .collection-approved-crop img {
  top: -53%;
  left: var(--category-left);
  width: 333.5%;
  height: auto;
  transform: none;
}

#collections[data-category-view='showcase'] .collection-meta {
  min-height: 94px;
  padding: 17px clamp(20px, 1.6vw, 30px);
  gap: 7px;
}

#collections[data-category-view='showcase'] .collection-meta b {
  font-size: clamp(25px, 1.7vw, 34px);
}

#collections[data-category-view='showcase'] .collection-meta small {
  font-size: clamp(14px, .88vw, 17px);
}

@media (max-width: 1200px) {
  .wholesale-hub .volume-dock {
    grid-template-columns: minmax(350px, 38fr) minmax(0, 62fr);
  }

  .volume-picker {
    padding-left: 28px;
  }

  #shop .product-grid {
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .wholesale-hub .volume-dock {
    grid-template-columns: 1fr;
    padding: 26px 24px;
  }

  .wholesale-hub .volume-copy {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid #c5ceca;
  }

  .volume-picker {
    padding: 24px 0 0;
  }

  #shop .featured-heading h2 {
    font-size: clamp(36px, 8vw, 52px);
  }
}

@media (max-width: 620px) {
  .wholesale-hub .volume-copy {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 15px;
  }

  .volume-minimum-visual {
    width: 62px;
    height: 62px;
  }

  .wholesale-hub .volume-copy h2 {
    font-size: clamp(27px, 8.2vw, 36px);
    white-space: normal;
  }

  .wholesale-hub .tier-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 9px;
  }

  .wholesale-hub .tier-button {
    height: 66px;
  }

  .volume-selection-status {
    flex-wrap: wrap;
  }

  #shop .featured-actions {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  #shop .featured-action {
    width: 100%;
  }

  #shop .product-grid {
    margin-top: 36px;
  }

  #collections .collections-heading h2 {
    font-size: clamp(42px, 14vw, 58px);
  }
}

/* Desktop banners already contain their CTA artwork; keep only the live hit areas. */
@media (min-width: 781px) {
  .hero-actions .button,
  .hero-actions .button-primary,
  .hero-actions .button-ghost {
    border-color: transparent;
    background: transparent;
    color: transparent;
    box-shadow: none;
  }

  .hero-actions .button:hover {
    background: rgba(255, 255, 255, .08);
  }
}

#productGrid,
#wholesaleTerms {
  scroll-margin-top: 90px;
}
