/* =========================================================================
   WHOLESALE PAGE — section-specific styles
   Built on top of styles/slomax-ds.css. No new tokens — extends existing
   surface, type, radius, and shadow tokens.
   ========================================================================= */

/* Old hero-media + product showcase styles kept for reference but
   no longer used on Wholesale. Hidden when inside wholesale hero. */
.slm-wholesale-hero .slm-wh-hero-media,
.slm-wholesale-hero .slm-wh-callout {
  display: none;
}
.slm-wh-hero-media {
  position: relative;
  min-height: 460px;
  border-radius: var(--slm-r-card-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 100% at 30% 20%, #F0E5C8 0%, #E2D1A0 60%, #C7B181 100%);
  padding: 32px;
  box-shadow: var(--slm-shadow-callout);
}
.slm-wh-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 100%;
}
.slm-wh-pack {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--slm-r-card);
  padding: 16px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 16px -10px rgba(60,40,15,0.18);
}
.slm-wh-pack-bag {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.slm-wh-pack-bag svg { width: 80%; height: 80%; }
.slm-wh-pack-meta { display: flex; flex-direction: column; gap: 2px; }
.slm-wh-pack-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--slm-fg);
  letter-spacing: -0.005em;
}
.slm-wh-pack-spec {
  font-family: var(--slm-mono);
  font-size: 10px;
  color: var(--slm-fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* dark-green callout card on hero — replaces the +28% growth callout */
.slm-wh-callout {
  position: absolute;
  bottom: 20px;
  right: 20px;
  max-width: 280px;
  background: linear-gradient(180deg, #2C4D31 0%, #1F3724 100%);
  color: #fff;
  border-radius: var(--slm-r-card);
  padding: 18px 20px;
  box-shadow: var(--slm-shadow-callout);
  z-index: 5;
}
.slm-wh-callout-eyebrow {
  font-family: var(--slm-sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.slm-wh-callout-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.slm-wh-callout-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* ── HERO · full-width centered composition + banner ─────────────── */
.slm-wholesale-hero {
  padding-block: 64px 32px;
}
.slm-wholesale-hero .slm-shell { max-width: 1320px; }

.slm-wh-hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 56px;
}
.slm-wh-hero-stack .slm-hero-title {
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
}
.slm-wh-hero-stack .slm-hero-title em {
  font-style: normal;
  font-weight: 400;
  color: inherit;
}
.slm-wh-hero-stack .slm-hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  color: var(--slm-fg-2);
  max-width: 64ch;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.slm-wh-hero-stack .slm-hero-sub em {
  font-style: normal;
  font-weight: 400;
}
.slm-wh-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.slm-wh-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 30px;
}
.slm-wh-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--slm-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--slm-fg);
}
.slm-wh-hero-trust-item svg { color: var(--slm-green-strong); }
.slm-wh-hero-trust-item:not(:last-child)::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--slm-line-strong, #C9C1AE);
  margin-left: 18px;
}
@media (max-width: 620px) {
  .slm-wh-hero-trust-item:not(:last-child)::after { display: none; }
}

/* ── NO-RISK WHOLESALE BAND (before contact) ─────────────────────── */
.slm-wh-risk {
  background: var(--slm-card-soft);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card-lg);
  padding: 40px;
  margin-bottom: 28px;
}
@media (max-width: 768px) { .slm-wh-risk { padding: 28px; border-radius: var(--slm-r-card); } }
.slm-wh-risk-head { margin-bottom: 28px; }
.slm-wh-risk-title {
  font-family: var(--slm-sans);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--slm-fg);
  margin: 12px 0 0;
}
.slm-wh-risk-title em { font-style: normal; color: var(--slm-green-strong); }
.slm-wh-risk-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) { .slm-wh-risk-points { grid-template-columns: repeat(3, 1fr); } }
.slm-wh-risk-point {
  background: var(--slm-card);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  padding: 24px;
  box-shadow: var(--slm-shadow-card);
}
.slm-wh-risk-ic {
  width: 44px; height: 44px;
  border-radius: var(--slm-r-tile);
  background: var(--slm-tile);
  display: grid; place-items: center;
  color: var(--slm-green-strong);
  margin-bottom: 14px;
}
.slm-wh-risk-t {
  font-family: var(--slm-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--slm-fg);
  margin-bottom: 6px;
}
.slm-wh-risk-d {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slm-fg-2);
}
.slm-wh-risk-promo {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--slm-green-soft, #EAF1EA);
  border: 1px solid var(--slm-green-line, #CADBCB);
  border-radius: var(--slm-r-pill);
  padding: 12px 22px;
  font-family: var(--slm-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slm-green-deep, #355738);
}
.slm-wh-risk-promo svg { color: var(--slm-green-strong); flex-shrink: 0; }
.slm-wh-risk-promo strong { font-weight: 800; }
.slm-wh-hero-paragraphs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 16px;
  max-width: 1100px;
  text-align: left;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .slm-wh-hero-paragraphs { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.slm-wh-hero-para {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.slm-wh-hero-para-ic {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: var(--slm-r-tile);
  background: var(--slm-tile);
  display: grid; place-items: center;
  color: var(--slm-green-strong);
}
.slm-wh-hero-para-ic svg { width: 18px; height: 18px; }
.slm-wh-hero-para-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slm-fg-2);
}
.slm-wh-hero-para-text strong {
  color: var(--slm-fg);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}

/* ── 4-bowls product banner ──────────────────────────────────────── */
.slm-wh-bowls {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .slm-wh-bowls { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}
.slm-wh-bowl {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: end center;
  padding: 0 8px 32px;
  /* No frame background — photos sit directly on the cream page bg */
  transition: transform 240ms var(--slm-ease);
}
.slm-wh-bowl:hover { transform: translateY(-3px); }
.slm-wh-bowl-img {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.slm-wh-bowl-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(60, 40, 15, 0.18));
}
.slm-wh-bowl-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--slm-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slm-fg-3);
  font-weight: 500;
}

/* ── Override base hero-chips row ──────────────────────────────── */
.slm-wholesale-hero .slm-hero-chips {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .slm-wholesale-hero .slm-hero-chips { grid-template-columns: repeat(4, 1fr); }
}

/* small supporting note under the hero */
.slm-wh-hero-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--slm-card-soft);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--slm-fg-2);
  line-height: 1.5;
  max-width: 60ch;
}
.slm-wh-hero-note-ic {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--slm-tile);
  display: grid; place-items: center;
  color: var(--slm-green-strong);
  flex-shrink: 0;
  margin-top: 1px;
}
.slm-wh-hero-note-ic svg { width: 12px; height: 12px; }

/* ── PRODUCT ROLE CARDS · 4-up (or 2×2 on tablet) ────────────────── */
.slm-wh-role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px)  { .slm-wh-role-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .slm-wh-role-grid { grid-template-columns: repeat(4, 1fr); } }

.slm-wh-role {
  background: var(--slm-card);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  padding: 28px;
  box-shadow: var(--slm-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slm-wh-role-tag {
  font-family: var(--slm-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slm-green-strong);
}
.slm-wh-role-title {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--slm-fg);
}
.slm-wh-role-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slm-fg-2);
  flex: 1;
}
.slm-wh-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.slm-wh-role-chips .slm-stamp { padding: 5px 11px; font-size: 11px; }

/* ── BRAND CARDS · 6-up logo wall (3×2 desktop, 2-up tablet) ─────── */
.slm-wh-brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px)  { .slm-wh-brand-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .slm-wh-brand-grid { grid-template-columns: repeat(3, 1fr); } }
.slm-wh-brand {
  background: var(--slm-card);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  padding: 20px;
  box-shadow: var(--slm-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slm-wh-brand-logo {
  border-radius: var(--slm-r-tile);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
}
.slm-wh-brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.slm-wh-brand .slm-wh-role-tag { margin-top: 2px; }
.slm-wh-brand .slm-wh-role-desc { font-size: 13.5px; }

/* small inline pack preview at the top of each role card */
.slm-wh-role-preview {
  height: 60px;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  overflow: hidden;
}
.slm-wh-role-pack {
  flex: 1;
  height: 100%;
  border-radius: 4px 4px 2px 2px;
  position: relative;
  box-shadow: 0 2px 6px -3px rgba(60,40,15,0.4);
}
.slm-wh-role-pack::before {
  content: '';
  position: absolute;
  inset: 6% 8% 60% 8%;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

/* ── CTA STRIP (bottom of sections) ──────────────────────────────── */
.slm-cta-strip {
  margin-top: 40px;
  background: var(--slm-card-soft);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.slm-cta-strip-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slm-cta-strip-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--slm-fg);
  letter-spacing: -0.005em;
}
.slm-cta-strip-desc {
  font-size: 13.5px;
  color: var(--slm-fg-2);
  line-height: 1.5;
}

/* ── MOQ SPEC STRIP — refined info row ────────────────────────────── */
.slm-wh-spec-strip {
  margin-top: 32px;
  background: var(--slm-card);
  border: 1px solid var(--slm-line);
  border-radius: 999px;
  padding: 14px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
  font-family: var(--slm-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slm-fg-2);
  text-transform: uppercase;
  box-shadow: var(--slm-shadow-card);
}
@media (max-width: 768px) {
  .slm-wh-spec-strip { border-radius: var(--slm-r-card); }
}
.slm-wh-spec-strip span:not(:last-child)::after {
  content: '·';
  margin-left: 24px;
  color: var(--slm-fg-4);
}

/* ── QUALITY + DOC · 2-col layout ────────────────────────────────── */
.slm-wh-quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .slm-wh-quality-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
.slm-wh-quality-proofs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 640px) { .slm-wh-quality-proofs { grid-template-columns: 1fr; } }
.slm-wh-quality-proof {
  background: var(--slm-card);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--slm-shadow-card);
}
.slm-wh-quality-proof-ic {
  width: 36px; height: 36px;
  border-radius: var(--slm-r-tile);
  background: var(--slm-tile);
  display: grid; place-items: center;
  color: var(--slm-green-strong);
  margin-bottom: 4px;
}
.slm-wh-quality-proof-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--slm-fg);
  line-height: 1.25;
}
.slm-wh-quality-proof-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--slm-fg-2);
}
.slm-wh-quality-statline {
  margin-top: 28px;
  font-family: var(--slm-sans);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--slm-fg);
  border-left: 3px solid var(--slm-green-strong);
  padding-left: 18px;
}
.slm-wh-quality-statline em {
  font-style: normal;
  color: var(--slm-green-strong);
}

.slm-wh-quality-photo {
  border-radius: var(--slm-r-card-lg);
  overflow: hidden;
  position: relative;
  min-height: 460px;
  background: #F4F1E8;
  box-shadow: var(--slm-shadow-callout);
}
.slm-wh-quality-photo .ph-label {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--slm-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.78);
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
}
.slm-wh-quality-photo svg { width: 100%; height: 100%; display: block; }
.slm-wh-quality-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slm-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.slm-faq-item {
  background: var(--slm-card);
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  box-shadow: var(--slm-shadow-card);
  overflow: hidden;
}
.slm-faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--slm-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--slm-fg);
  letter-spacing: -0.005em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.3;
}
.slm-faq-q-toggle {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  border-radius: 999px;
  border: 1px solid var(--slm-line-strong);
  display: grid;
  place-items: center;
  transition: all 240ms var(--slm-ease);
  color: var(--slm-fg-2);
}
.slm-faq-q-toggle::before,
.slm-faq-q-toggle::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 240ms var(--slm-ease), opacity 240ms var(--slm-ease);
}
.slm-faq-q-toggle::before { left: 7px; right: 7px; height: 1.5px; top: 50%; transform: translateY(-50%); }
.slm-faq-q-toggle::after  { top: 7px; bottom: 7px; width: 1.5px; left: 50%; transform: translateX(-50%); }
.slm-faq-item.open .slm-faq-q-toggle { background: var(--slm-green-strong); border-color: var(--slm-green-strong); color: #fff; }
.slm-faq-item.open .slm-faq-q-toggle::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.slm-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--slm-ease);
}
.slm-faq-item.open .slm-faq-a { max-height: 320px; }
.slm-faq-a-inner {
  padding: 0 24px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slm-fg-2);
  max-width: 60ch;
}

/* ── HEADLINE small-weight accent already covered by base DS .slm-h2 em rule ── */