/* =========================================================================
   Private Label 3 — Wholesale2 visual language applied to the original
   Private Label page. CONTENT IS UNTOUCHED — this sheet only restyles
   typography, accents, and fills. Loaded after slomax-ds.css,
   private-label.css, and wholesale2.css (which provides the --w2-* vars
   and the body[data-w2-scheme] Green/Amber switching).
   ========================================================================= */

/* ── TYPOGRAPHY — heavy 900 sans headlines, accent ems (no serif italic) ── */
.private-label-page {
  --slm-section-py: 56px;
}

.slm-pl-hero-title,
.slm-sec-title,
.slm-contact-title {
  font-weight: 900;
  letter-spacing: -0.025em;
}
.slm-pl-hero-title {
  font-size: clamp(39px, 4.6vw, 42px);
  line-height: 1.02;
}
.slm-pl-hero-title em,
.slm-sec-title em,
.slm-contact-title em,
.slm-sec-title .slm-italic,
.slm-contact-title .slm-italic {
  font-family: var(--slm-sans);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--w2-amber-deep);
}
/* On dark panels the accent must be the bright variant */
.slm-contact-panel .slm-contact-title em,
.slm-pl-final .slm-sec-title em {
  color: var(--w2-amber-bright);
}

/* ── SECTION LABELS — unified with the Distributors hero eyebrow ────── */
.slm-sec-eyebrow,
.slm-pl-hero-eyebrow {
  display: inline-block;
  font-family: var(--slm-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slm-fg-3);
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.slm-pl-hero-eyebrow { margin-bottom: 36px; }
.slm-sec-eyebrow.under-rule {
  border-bottom: 0;
  padding-bottom: 0;
  width: auto;
}
/* Same neutral label treatment on dark contact panels. */
.slm-contact-panel .slm-contact-eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

/* ── BUTTONS — Wholesale2 accent CTAs ───────────────────────────────── */
.slm-btn-primary {
  background: var(--w2-amber);
  border-color: var(--w2-amber);
}
.slm-btn-primary:hover {
  background: var(--w2-amber-deep);
  border-color: var(--w2-amber-deep);
}

/* ── ICON TILES + MARKS — amber-soft fills (w2-channel-ic style) ────── */
.slm-pl-produce-ic,
.slm-pl-varietal-ic,
.slm-why-card-ic {
  background: var(--w2-amber-soft);
  color: var(--w2-amber-deep);
}
.slm-pl-hero-points-mark {
  color: var(--w2-amber-deep);
}

/* Segmented controls + chips — active state follows the accent */
.slm-pl-seg-btn.active,
.slm-pl-flex-chip.active {
  background: var(--w2-amber);
  border-color: var(--w2-amber);
  color: #fff;
}

/* Cases nav arrows — accent hover */
.slm-pl-cases-arrow:hover {
  background: var(--w2-amber);
  border-color: var(--w2-amber);
  color: #fff;
}

/* ── HERO — photo frame at the illustration's own width/ratio ──────── */
@media (min-width: 1024px) {
  .slm-pl-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}
.slm-pl-hero-photo {
  aspect-ratio: 563 / 568;
  min-height: 0;
  height: auto;
  align-self: start;
  width: 100%;
}

.private-label-page .slm-pl-hero {
  padding-block: 32px 40px;
}

.private-label-page .slm-pl-hero-badges {
  width: 100%;
  margin-top: 28px;
  margin-bottom: 0;
}

.private-label-page .slm-contact-panel {
  padding-block: 40px;
}

@media (max-width: 768px) {
  .private-label-page {
    --slm-section-py: 36px;
  }

  .private-label-page .slm-pl-hero {
    padding-block: 24px 28px;
  }

  .private-label-page .slm-pl-hero-badges {
    margin-top: 22px;
  }

  .private-label-page .slm-contact-panel {
    padding: 24px 28px;
  }
}

/* ── CASES — full-bleed photography variant (window.PL_CASE_PHOTOS) ── */
.slm-pl-case-photo.is-photo {
  background: #F2EDE3;
}
.slm-pl-case-photo.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

/* ── DARK FILLS — Wholesale2 ink/forest gradient bands ──────────────── */
.slm-contact-panel {
  background: linear-gradient(180deg, #1F3724 0%, #142719 100%);
}
body[data-w2-scheme="Amber"] .slm-contact-panel {
  background: linear-gradient(135deg, var(--w2-amber) 0%, var(--w2-amber-deep) 100%);
}
