/* Getting-started guides: established VivaNord type, palette and product imagery. */
.product-guide {
  --pg-tint: #f1dfd8;
  --pg-accent: #6f3e38;
  --pg-line: #cdd6cb;
  --pg-muted: #59645d;
  scroll-behavior: smooth;
}
.product-guide.sage { --pg-tint: #dce8d6; --pg-accent: #34523b; }
.product-guide.blue { --pg-tint: #dfe7ea; --pg-accent: #36515c; }
.product-guide.immun { --pg-tint: #f1e2c9; --pg-accent: #72532d; }
.product-guide.man { --pg-tint: #dce5dc; --pg-accent: #34523b; }
.product-guide.woman { --pg-tint: #ece0e7; --pg-accent: #694454; }
.product-guide ::selection { background: var(--pg-tint); color: #17382b; }
.product-guide [hidden] { display: none !important; }
.product-guide [id] { scroll-margin-top: 28px; }
.product-guide :is(button, a, summary):focus-visible { outline: 3px solid #638061; outline-offset: 4px; }
.product-guide a { text-underline-offset: .2em; }
.product-guide h2 {
  font: 400 clamp(30px, 3.7vw, 48px)/1.1 'DM Serif Display', Georgia, serif;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0 0 22px;
}
.product-guide em { font-weight: 400; color: var(--pg-accent); }
.pg-brand-header { border-bottom: 1px solid #d5dcd5; padding: 23px 0; }
.pg-brand-header > .container { display: flex; align-items: center; gap: 10px; }
.pg-brand-header img { width: 30px; height: 30px; }
.pg-brand-header .brand-word { font: 400 30px/1.1 'DM Serif Display', Georgia, serif; color: #234a39; }
.product-guide .product-detail { padding-top: 48px; }
.product-guide .pd-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 60px); align-items: start; }
.product-guide .pd-intro > div { min-width: 0; }
.product-guide .pd-photo {
  position: relative;
  min-height: 550px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 48% 48% 8px 8px;
  background: var(--pg-tint);
  padding: 50px 32px 74px;
}
.product-guide .pd-photo img { width: 270px; max-height: 410px; object-fit: contain; filter: drop-shadow(12px 18px 16px #253c2423); transform: rotate(-7deg); }
.pg-photo-caption { position: absolute; bottom: 28px; left: 20px; right: 20px; font-size: 14px; line-height: 1.6; color: var(--pg-accent); }
.pg-orbit { position: absolute; border: 1px solid currentColor; border-radius: 50%; width: 76px; height: 76px; display: grid; place-items: center; font: 400 24px 'DM Serif Display', Georgia, serif; color: var(--pg-accent); z-index: 1; }
.pg-orbit--one { top: 110px; right: 50px; transform: rotate(9deg); }
.pg-orbit--two { left: 28px; bottom: 110px; transform: rotate(-12deg); width: 64px; height: 64px; }
.product-guide .pd-intro h1 { font-size: clamp(38px, 4.25vw, 60px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance; }
.product-guide .pd-intro h1 > span { display: block; font: 400 30px/1.2 'DM Serif Display', Georgia, serif; margin: 0 0 20px; }
.product-guide .pd-lead { font-size: 18px; max-width: 48ch; }
.pg-short { font-size: 14px; line-height: 1.7; color: var(--pg-muted); max-width: 65ch; }
.pg-start { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin: 26px 0; }
.pg-start > a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.pg-start > a:last-child { font-size: 15px; }
.pd-intro > div > a { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; }
.pg-jumps { display: flex; flex-wrap: wrap; gap: 0 34px; padding: 14px 0; margin: 64px 0 0; border-block: 1px solid var(--pg-line); font-size: 14px; }
.pg-jumps a { display: inline-flex; align-items: center; min-height: 44px; }
.pg-explore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 60px); margin-top: 80px; }
.pg-explore > div { min-width: 0; }
.pg-explore > div > p { color: var(--pg-muted); }
.pg-nutrients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.pg-nutrient { font: inherit; cursor: pointer; text-align: left; min-height: 114px; border: 1px solid var(--pg-line); border-radius: 8px; background: transparent; padding: 16px; color: #234a39; transition: background-color .15s ease-out, color .15s ease-out; }
.pg-nutrient b { font: 400 28px 'DM Serif Display', Georgia, serif; display: block; overflow-wrap: anywhere; }
.pg-nutrient span { display: block; font-size: 14px; line-height: 1.5; margin-top: 8px; }
.pg-nutrient[aria-pressed=true], .pg-nutrient:hover { background: #234a39; color: white; border-color: #234a39; }
.pg-explanation { background: var(--pg-tint); padding: 40px; align-self: stretch; display: grid; align-content: center; border-radius: 8px; min-height: 360px; }
.pg-amount { font-size: 14px; color: var(--pg-accent); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.pg-explanation h3, .pg-review-form h3 { font: 400 32px/1.2 'DM Serif Display', Georgia, serif; margin: 0 0 18px; overflow-wrap: anywhere; }
.pg-explanation article > p:last-child { font-size: 16px; line-height: 1.8; max-width: 50ch; }
.pg-context { max-width: 74ch; margin: 28px 0 0 auto; font-size: 14px; color: var(--pg-muted); line-height: 1.75; }
.pg-more { margin: 40px auto 0; max-width: 74ch; }
.pg-more > summary { padding: 20px 0; cursor: pointer; font-weight: 600; border-bottom: 1px solid var(--pg-line); }
.pg-more dl { margin-top: 24px; }
.pg-more dt { font-weight: 600; margin-top: 18px; }
.pg-more dd { margin: 5px 0 20px; line-height: 1.75; color: var(--pg-muted); }
.pg-ritual { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 100px; }
.pg-ritual img { width: 100%; height: 440px; object-fit: cover; border-radius: 8px; }
.pg-ritual figure { margin: 0; }
.pg-ritual figcaption { font-size: 13px; line-height: 1.6; color: var(--pg-muted); margin-top: 12px; }
.pg-ritual ol { list-style: none; counter-reset: ritual; }
.pg-ritual li { counter-increment: ritual; position: relative; padding: 0 0 24px 42px; line-height: 1.75; font-size: 16px; }
.pg-ritual li:before { content: counter(ritual); position: absolute; left: 0; top: 0; font: 400 27px 'DM Serif Display', Georgia, serif; color: var(--pg-accent); }
.pg-ritual strong { display: block; font-weight: 600; }
.pg-ritual > div > a { display: inline-flex; align-items: center; min-height: 44px; }
.pg-questions { margin: 90px auto 0; max-width: 74ch; }
.pg-questions details { border-bottom: 1px solid var(--pg-line); }
.pg-questions summary { padding: 20px 0; cursor: pointer; font-weight: 600; }
.pg-questions details p { padding-bottom: 24px; line-height: 1.8; }
.product-guide .pd-reading { margin-top: 80px; }
.pg-reviews { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; padding: 60px 0 20px; margin-top: 80px; border-top: 1px solid var(--pg-line); }
.pg-reviews p { margin-bottom: 20px; line-height: 1.8; }
.pg-review-form { padding: 32px; background: #e9eee7; border-radius: 8px; align-self: start; }
.pg-review-form .pg-short { margin: 18px 0 0; }
[data-review-availability] { font-weight: 600; }
.pg-published-review { padding: 22px 0; border-top: 1px solid var(--pg-line); }
.pg-published-review strong { font-weight: 600; }
.pg-published-review p { margin: 8px 0; }
.pg-simple-footer { border-top: 1px solid #d5dcd5; padding: 28px 0 36px; color: var(--pg-muted); font-size: 13px; line-height: 1.8; }
.pg-simple-footer p { max-width: 80ch; margin-bottom: 12px; }
.pg-simple-footer .nv-ck-link { color: #234a39; min-height: 44px; }
/* Guide index entry shares the type, but is outside .product-guide. */
.pg-guide-entry { padding-top: 48px; padding-bottom: 32px; }
.pg-guide-entry h2 { font: 400 40px 'DM Serif Display', Georgia, serif; }
.pg-guide-entry p { margin-top: 16px; }
@media (max-width: 1000px) {
  .pg-ritual, .pg-reviews { gap: 34px; }
  .product-guide .pd-photo { min-height: 490px; }
  .pg-explanation { padding: 28px; }
}
@media (max-width: 700px) {
  .pg-brand-header { padding: 20px 0; }
  .product-guide .product-detail { padding-top: 32px; }
  .product-guide .pd-intro { grid-template-columns: 1fr; gap: 28px; }
  .product-guide .pd-photo { min-height: 330px; max-width: 450px; width: 100%; margin: auto; grid-row: 2; padding: 28px 25px 64px; border-radius: 45% 45% 8px 8px; }
  .product-guide .pd-photo img { width: 155px; max-height: 245px; }
  .pg-orbit--one { top: 75px; right: 38px; width: 60px; height: 60px; font-size: 20px; }
  .pg-orbit--two { left: 30px; bottom: 76px; width: 52px; height: 52px; }
  .product-guide .pd-intro h1 { font-size: 42px; }
  .product-guide .pd-intro h1 > span { font-size: 26px; margin-bottom: 16px; }
  .product-guide .pd-lead { font-size: 16px; }
  .pg-start { gap: 8px 18px; }
  .pg-jumps { margin-top: 36px; gap: 0 24px; }
  .pg-explore, .pg-ritual, .pg-reviews { grid-template-columns: minmax(0, 1fr); margin-top: 50px; gap: 28px; }
  .pg-nutrient { padding: 14px; }
  .pg-nutrient b { font-size: 26px; }
  .pg-explanation { min-height: 360px; padding: 26px; }
  .pg-context { margin-top: 22px; }
  .pg-ritual img { height: 300px; }
  .pg-questions { margin-top: 54px; }
  .product-guide .pd-reading { margin-top: 50px; }
  .pg-reviews { padding-top: 36px; }
  .pg-review-form { padding: 24px; }
}
@media (max-width: 360px) {
  .product-guide .pd-intro h1 { font-size: 38px; }
  .pg-nutrient { padding: 12px; }
  .pg-nutrient span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-guide { scroll-behavior: auto; }
  .pg-nutrient { transition: none; }
}
.pg-dose { margin:0 0 22px; font-size:20px; }
.pg-dose strong { display:block; color:#234a39; font-size:30px; line-height:1.25; }
.pg-expectations { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); gap:56px; margin-top:72px; padding:36px 0; border-top:1px solid var(--pg-line); border-bottom:1px solid var(--pg-line); }
.pg-expectations p { margin-bottom:20px; max-width:68ch; }
.pg-expectations .pd-lead { margin-top:0; }
.pg-support { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; margin-top:72px; padding-top:44px; border-top:1px solid var(--pg-line); }
.pg-support p { margin-bottom:20px; max-width:62ch; }
.pg-support-panel { padding:30px; background:#f5e9e3; border-radius:12px; }
.pg-support-panel h3 { font:400 28px/1.25 'DM Serif Display',Georgia,serif; margin-bottom:22px; }
.pg-support form { display:grid; gap:18px; }
.pg-support label { display:grid; gap:8px; font-weight:600; }
.pg-support input,.pg-support select { min-width:0; width:100%; min-height:48px; padding:11px 12px; background:#fff; color:#263b30; border:1px solid #8c948a; border-radius:6px; font:400 16px/1.4 Inter,sans-serif; caret-color:#234a39; }
.pg-support :is(input,select):focus-visible { outline:3px solid #638061; outline-offset:3px; }
.pg-support .pg-short { font-weight:400; }
.pg-support button { min-height:48px; justify-self:start; }
.pg-support button:disabled { opacity:.6; cursor:wait; }
.pg-support-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.pg-support #support-status { margin:0; overflow-wrap:anywhere; }
.pg-support #support-status.pg-error { color:#842f25; }
.pg-source-note { margin-top:48px; padding-top:22px; border-top:1px solid var(--pg-line); max-width:90ch; }
@media(max-width:760px){
 .pg-expectations,.pg-support { grid-template-columns:1fr; gap:24px; margin-top:48px; padding-top:28px; }
 .pg-support-panel { padding:22px; }
}

/* Continuous prose in the Beauty+ daily routine. */
.pg-routine-copy { margin-bottom:20px; line-height:1.75; }
.pg-routine-copy p + p { margin-top:18px; }
