/* =========================================================================
   solverraholistics.us -- Cap and Stem mushroom line
   Collection landing + product detail + coming-soon pages.

   Brand expression: Solverra PARENT chrome (bone background, forest text,
   lime CTAs, League Spartan + Manrope + Fraunces) so these pages slot into
   the same WordPress theme as the .us homepage. Cap and Stem identity is
   carried by the product mockups and per-SKU "benefit" accent colors used
   only as product-card glows / chips -- never as page background or body text
   (keeps WCAG contrast on the Solverra surface).

   Depends on homepage.css being loaded FIRST on each page (it provides the
   shared chrome: .site-header, .site-footer, .btn, .container, .eyebrow,
   .section-title, .section-intro, .trustbar, .dshea, .signup). This sheet
   only adds the Cap-and-Stem-specific components. Every var() carries a
   literal fallback so a standalone preview renders without the token sheet.

   Compliance: DSHEA structure/function language only. No disease/cure/treat
   claims. Lab-tested / COA trust. ASCII-clean, straight quotes and hyphens.
   WCAG 2.2 AA. Mobile-first.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Cap-and-Stem benefit accent palette (from the label brush stamps).
   Used ONLY as decorative product-card glows and chip dots. Body text and
   surfaces stay on the Solverra parent tokens for contrast.
   ------------------------------------------------------------------------- */
:root {
  --cs-focus:     #5BA6A0;   /* Lion's Mane -- mint, darkened for AA on bone */
  --cs-mindful:   #C9A800;   /* 14 Blend -- yellow, darkened for AA on bone */
  --cs-balance:   #B5531F;   /* Red Reishi -- amber/rust */
  --cs-vitality:  #C85A1E;   /* Cordyceps -- orange */
  --cs-longevity: #6B7A3C;   /* Chaga -- olive/amber green */
  --cs-immunity:  #5E6B3A;   /* Turkey Tail -- olive */
  --cs-navy:      #171C3D;   /* Cap and Stem brand navy (label) */
}

/* -------------------------------------------------------------------------
   Breadcrumb
   ------------------------------------------------------------------------- */
.crumbs {
  font-size: 13px;
  color: var(--sol-charcoal, #606061);
  padding-block: 14px 0;
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--sol-forest, #314426); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--sol-lime-deep, #6FA82A); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(31, 44, 23, 0.4); }
.crumbs [aria-current="page"] { color: var(--sol-charcoal, #606061); }

/* -------------------------------------------------------------------------
   Collection hero (lighter than homepage hero -- single column, centered)
   ------------------------------------------------------------------------- */
.cs-collection-hero {
  background:
    radial-gradient(120% 90% at 85% 0%, var(--sol-lime-mist, #F4FAE8) 0%, transparent 55%),
    var(--sol-bone, #F6F4EC);
  padding-block: 40px 48px;
}
.cs-collection-hero__inner { max-width: 760px; }
.cs-collection-hero .hero__title,
.cs-collection-hero h1 {
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.96;
  font-size: clamp(40px, 7vw, 76px);
  color: var(--sol-forest-deep, #1F2C17);
  margin: 0 0 20px;
}
.cs-collection-hero h1 .accent { color: var(--sol-lime-deep, #6FA82A); }
.cs-collection-hero__sub {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--sol-charcoal, #606061);
  max-width: 58ch;
  margin: 0 0 28px;
}
.cs-collection-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (min-width: 960px) {
  .cs-collection-hero { padding-block: 60px 64px; }
}

/* -------------------------------------------------------------------------
   Benefit filter chips (visual only, no JS required to read the page)
   ------------------------------------------------------------------------- */
.cs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill, 999px);
  border: 1.5px solid rgba(31, 44, 23, 0.18);
  background: #FFFFFF;
  color: var(--sol-forest-deep, #1F2C17);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--dur-2, 220ms) var(--ease-out),
              background var(--dur-2, 220ms) var(--ease-out);
}
.cs-chip:hover,
.cs-chip:focus-visible { border-color: var(--sol-forest, #314426); background: var(--sol-lime-mist, #F4FAE8); }
.cs-chip__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* -------------------------------------------------------------------------
   Product collection grid + cards
   ------------------------------------------------------------------------- */
.cs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 600px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cs-grid { grid-template-columns: repeat(3, 1fr); } }

.cs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(31, 44, 23, 0.10);
  border-radius: var(--r-lg, 20px);
  padding: 16px 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-2, 220ms) var(--ease-out),
              box-shadow var(--dur-2, 220ms) var(--ease-out),
              border-color var(--dur-2, 220ms) var(--ease-out);
}
.cs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 44, 23, 0.18);
  box-shadow: var(--shadow-3, 0 14px 32px rgba(31, 44, 23, 0.12));
}
.cs-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md, 12px);
  /* per-card benefit glow injected via inline --glow */
  background:
    radial-gradient(ellipse at 50% 72%, color-mix(in srgb, var(--glow, #8CC63F) 18%, transparent) 0%, transparent 60%),
    var(--sol-bone, #F6F4EC);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 0;
}
.cs-card__media img {
  max-height: 96%;
  max-width: 72%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(31, 44, 23, 0.22));
  transition: transform 320ms var(--ease-out);
}
.cs-card:hover .cs-card__media img { transform: translateY(-5px) scale(1.02); }
.cs-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill, 999px);
  background: var(--sol-lime, #8CC63F);
  color: var(--sol-forest-deep, #1F2C17);
}
.cs-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sol-forest-mid, #4D6A3C);
}
.cs-card__eyebrow .cs-chip__dot { width: 8px; height: 8px; }
.cs-card__name {
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--sol-forest-deep, #1F2C17);
  margin: 8px 0 4px;
  line-height: 1.05;
}
.cs-card__sku { font-size: 13.5px; color: var(--sol-charcoal, #606061); margin: 0 0 12px; }
.cs-card__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cs-card__price { font-family: var(--ff-display, "League Spartan", sans-serif); font-weight: 800; font-size: 19px; color: var(--sol-forest-deep, #1F2C17); }
.cs-card__price small { font-weight: 500; font-size: 12px; color: var(--sol-charcoal, #606061); }
.cs-card__more { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sol-forest, #314426); }
.cs-card:hover .cs-card__more { color: var(--sol-lime-deep, #6FA82A); }
.cs-card__more::after { content: " ->"; }

/* "Coming soon" variant of the card (gummies / capsules teaser on collection) */
.cs-card--soon .cs-card__media { filter: grayscale(0.15); }
.cs-card--soon .cs-card__badge { background: var(--sol-clay, #C9A36A); color: var(--sol-forest-deep, #1F2C17); }

/* -------------------------------------------------------------------------
   Product detail (PDP) layout
   ------------------------------------------------------------------------- */
.pdp {
  background: var(--sol-bone, #F6F4EC);
  padding-block: 24px 56px;
}
.pdp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .pdp__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

/* media column */
.pdp__media {
  position: sticky;
  top: 88px;
  border-radius: var(--r-xl, 28px);
  background:
    radial-gradient(ellipse at 50% 70%, color-mix(in srgb, var(--glow, #8CC63F) 22%, transparent) 0%, transparent 62%),
    linear-gradient(160deg, var(--sol-cream, #EDE7D3), var(--sol-lime-fog, #E7F4D2));
  display: grid;
  place-items: center;
  padding: 36px;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2, 0 4px 14px rgba(31, 44, 23, 0.08));
}
.pdp__media img { max-height: 100%; max-width: 70%; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(31, 44, 23, 0.28)); }
@media (max-width: 899px) { .pdp__media { position: static; aspect-ratio: 1 / 1; } }

/* copy column */
.pdp__benefit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sol-forest-mid, #4D6A3C);
  margin: 0 0 12px;
}
.pdp__benefit .cs-chip__dot { width: 10px; height: 10px; }
.pdp__title {
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--sol-forest-deep, #1F2C17);
  margin: 0 0 6px;
}
.pdp__species {
  font-family: var(--ff-serif, Georgia, serif);
  font-style: italic;
  font-size: 17px;
  color: var(--sol-forest-mid, #4D6A3C);
  margin: 0 0 18px;
}
.pdp__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sol-charcoal, #606061);
  margin: 0 0 22px;
}
.pdp__pricerow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.pdp__price { font-family: var(--ff-display, "League Spartan", sans-serif); font-weight: 800; font-size: 30px; color: var(--sol-forest-deep, #1F2C17); }
.pdp__price small { font-weight: 500; font-size: 15px; color: var(--sol-charcoal, #606061); }
.pdp__size { font-size: 14px; color: var(--sol-charcoal, #606061); }
.pdp__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 24px; }

/* quick trust pills under buy box */
.pdp__assurances { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.pdp__assurances li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--sol-forest-deep, #1F2C17); }
.pdp__assurances li::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--sol-lime-deep, #6FA82A); flex: none; }

/* PDP content blocks */
.pdp__block { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(31, 44, 23, 0.12); }
.pdp__block h2 {
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--sol-forest-deep, #1F2C17);
  margin: 0 0 12px;
}
.pdp__block h3 {
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--sol-forest-deep, #1F2C17);
  margin: 18px 0 6px;
}
.pdp__block p { font-size: 15.5px; line-height: 1.65; color: var(--sol-charcoal, #606061); margin: 0 0 12px; }

/* spec / dosing definition list */
.pdp__specs { display: grid; grid-template-columns: 1fr; gap: 0; margin: 4px 0 0; }
.pdp__specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 44, 23, 0.10);
  font-size: 14.5px;
}
.pdp__specs dt { color: var(--sol-charcoal, #606061); font-weight: 600; margin: 0; }
.pdp__specs dd { color: var(--sol-forest-deep, #1F2C17); font-weight: 700; margin: 0; text-align: right; }

/* "how to use" three-step strip */
.pdp__steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.pdp__steps li { display: flex; gap: 14px; align-items: flex-start; }
.pdp__step-n {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--sol-lime-fog, #E7F4D2);
  color: var(--sol-forest, #314426);
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 14px;
}
.pdp__step-t { font-size: 15px; line-height: 1.55; color: var(--sol-charcoal, #606061); }
.pdp__step-t b { color: var(--sol-forest-deep, #1F2C17); }

/* COA / lab card inside PDP */
.pdp__coa {
  margin-top: 28px;
  background: var(--sol-forest-deep, #1F2C17);
  color: var(--sol-bone, #F6F4EC);
  border-radius: var(--r-lg, 20px);
  padding: 24px;
  display: grid;
  gap: 12px;
}
.pdp__coa h2 { color: var(--sol-bone, #F6F4EC); margin: 0; }
.pdp__coa p { color: rgba(246, 244, 236, 0.85); font-size: 14.5px; line-height: 1.6; margin: 0; }
.pdp__coa .btn { justify-self: start; }

/* FAQ accordion (native details/summary -- works without JS) */
.pdp__faq details {
  border-bottom: 1px solid rgba(31, 44, 23, 0.12);
  padding: 4px 0;
}
.pdp__faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  position: relative;
  font-weight: 700;
  font-size: 16px;
  color: var(--sol-forest-deep, #1F2C17);
}
.pdp__faq summary::-webkit-details-marker { display: none; }
.pdp__faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-size: 22px;
  color: var(--sol-forest-mid, #4D6A3C);
}
.pdp__faq details[open] summary::after { content: "-"; }
.pdp__faq p { font-size: 15px; line-height: 1.6; color: var(--sol-charcoal, #606061); margin: 0 0 14px; padding-right: 28px; }

/* -------------------------------------------------------------------------
   "Pairs with" / cross-sell row (reuses cs-grid + cs-card)
   ------------------------------------------------------------------------- */
.cs-related { background: var(--sol-paper, #FBFAF4); }

/* -------------------------------------------------------------------------
   Coming-soon page
   ------------------------------------------------------------------------- */
.soon {
  background:
    radial-gradient(110% 100% at 85% 0%, var(--sol-lime-mist, #F4FAE8) 0%, transparent 55%),
    var(--sol-bone, #F6F4EC);
  padding-block: 48px 56px;
}
.soon__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) { .soon__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }

.soon__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sol-forest-deep, #1F2C17);
  background: var(--sol-clay, #C9A36A);
  padding: 6px 14px;
  border-radius: var(--r-pill, 999px);
  margin: 0 0 18px;
}
.soon__title {
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.96;
  font-size: clamp(38px, 6vw, 64px);
  color: var(--sol-forest-deep, #1F2C17);
  margin: 0 0 18px;
}
.soon__title .accent { color: var(--sol-lime-deep, #6FA82A); }
.soon__sub { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55; color: var(--sol-charcoal, #606061); max-width: 52ch; margin: 0 0 24px; }
.soon__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.soon__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--sol-forest-deep, #1F2C17); }
.soon__list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; background: var(--sol-lime, #8CC63F); }

/* notify-me capture card */
.soon__notify {
  background: #FFFFFF;
  border: 1px solid rgba(31, 44, 23, 0.12);
  border-radius: var(--r-xl, 28px);
  padding: 28px;
  box-shadow: var(--shadow-2, 0 4px 14px rgba(31, 44, 23, 0.08));
}
.soon__notify h2 {
  font-family: var(--ff-display, "League Spartan", sans-serif);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--sol-forest-deep, #1F2C17);
  margin: 0 0 8px;
}
.soon__notify p { font-size: 14.5px; color: var(--sol-charcoal, #606061); margin: 0 0 18px; }
.notify__form { display: grid; gap: 12px; }
.notify__field { display: grid; gap: 6px; text-align: left; }
.notify__label { font-size: 13px; font-weight: 700; color: var(--sol-forest-deep, #1F2C17); }
.notify__input {
  font-family: var(--ff-body, "Manrope", sans-serif);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--r-pill, 999px);
  border: 1.5px solid rgba(31, 44, 23, 0.22);
  background: #FFFFFF;
  color: var(--sol-forest-deep, #1F2C17);
  width: 100%;
}
.notify__input::placeholder { color: var(--sol-charcoal, #606061); }
.notify__consent { font-size: 12px; color: var(--sol-charcoal, #606061); margin: 12px 0 0; }

/* soon media (product mock) */
.soon__media {
  border-radius: var(--r-xl, 28px);
  background:
    radial-gradient(ellipse at 50% 70%, color-mix(in srgb, var(--glow, #8CC63F) 20%, transparent) 0%, transparent 62%),
    linear-gradient(160deg, var(--sol-cream, #EDE7D3), var(--sol-lime-fog, #E7F4D2));
  display: grid; place-items: center;
  padding: 40px;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2, 0 4px 14px rgba(31, 44, 23, 0.08));
}
.soon__media img { max-height: 100%; max-width: 64%; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(31, 44, 23, 0.28)); }

/* -------------------------------------------------------------------------
   Section helpers reused on these pages
   ------------------------------------------------------------------------- */
.cs-center { text-align: center; }
.cs-center .section-intro { margin-inline: auto; }
.cs-muted { color: var(--sol-charcoal, #606061); }
