/* Product pages (/p/<slug>): one product, its verdict and its full ingredient list. */
.nav-link {
  text-decoration: none; font-weight: 600; font-size: var(--t-sm); padding: 8px 14px; border-radius: 999px;
  white-space: nowrap; transition: background .15s;
}
.nav-link:hover { background: var(--white); }

.pp { gap: 22px; }
/* the page has its own CTAs, so the header button can go on small screens */
@media (max-width: 560px) { .pp-body .bar-actions > .btn { display: none; } }
.pp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--cocoa-2); padding-top: 6px; }
.pp-crumbs a { color: var(--cocoa-2); text-decoration: none; }
.pp-crumbs a:hover { color: var(--cocoa); text-decoration: underline; text-decoration-color: var(--pink); }
.pp-crumbs [aria-current] { color: var(--cocoa); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }

/* hero: light tint of the verdict colour, the polaroid carries the full colour */
.pp-hero { display: grid; gap: 26px; padding: 26px 22px 30px; border-radius: 32px; background: #EAF8F0; }
.pp-hero.caution { background: #FFF6DC; }
.pp-hero.not-approved { background: #FFF0EC; }
.pp-visual { display: grid; place-items: center; }
.pp-polaroid {
  margin: 0; width: min(78%, 300px); padding: 12px 12px 0; background: var(--white); border-radius: 3px;
  transform: rotate(-2.5deg);
  box-shadow: 0 1px 2px rgba(46, 26, 20, .08), 0 22px 40px -12px rgba(46, 26, 20, .25);
}
.pp-photo { display: grid; place-items: center; padding: 22px 30px 12px; background: var(--safe); border-radius: 1px; }
.pp-hero.caution .pp-photo { background: var(--warn); }
.pp-hero.not-approved .pp-photo { background: #FFB8AA; }
.pp-photo svg { width: 100%; height: auto; filter: drop-shadow(0 12px 14px rgba(46, 26, 20, .18)); }
.pp-polaroid figcaption { padding: 12px 4px 16px; text-align: center; font: 400 1.1rem/1.2 var(--display); }

.pp-text { display: grid; gap: 14px; align-content: center; justify-items: start; min-width: 0; }
.pp-brand { margin: 0; font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cocoa-2); }
.pp-text h1 { margin: -6px 0 0; font: 700 clamp(1.7rem, 5.4vw, 2.6rem)/1.1 var(--sans); letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: anywhere; }
.pp-badge {
  display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 9px 22px 9px 9px; border-radius: 999px;
  background: var(--safe); font: 400 clamp(1.6rem, 6vw, 2.1rem)/1 var(--display); white-space: nowrap;
}
.pp-badge-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font: 700 1.3rem/1 var(--sans); background: #1F7A52; color: var(--white);
}
.pp-hero.caution .pp-badge { background: var(--warn); }
.pp-hero.caution .pp-badge-icon { background: var(--cocoa); }
.pp-hero.not-approved .pp-badge { background: var(--bad); color: var(--white); }
.pp-hero.not-approved .pp-badge-icon { background: var(--white); color: var(--bad); }
.pp-reason { margin: 0; max-width: 52ch; font-size: var(--t-md); }
.pp-rating { margin: 0; font-size: var(--t-sm); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.pp-meta .meta-chip { background: rgba(255, 255, 255, .75); }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pp-actions .btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(46, 26, 20, .18); }

@media (min-width: 820px) {
  .pp-hero { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); padding: 44px 48px; gap: 48px; align-items: center; }
  .pp-polaroid { width: min(100%, 320px); }
}

/* findings + ingredients */
.pp-cols { display: grid; gap: 22px; align-items: start; }
@media (min-width: 920px) { .pp-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.pp-card { background: var(--white); border-radius: 28px; padding: 24px; display: grid; gap: 18px; }
.pp-card h2, .pp-faq h2, .pp-related h2 { margin: 0; font: 400 clamp(1.6rem, 5vw, 2rem)/1.1 var(--display); }
.pp-card .finding h3 { margin: 0 0 8px; font-size: var(--t-md); }
.pp-card .finding p { margin: 8px 0 0; font-size: var(--t-sm); color: var(--cocoa-2); }
.pp-inci { margin: 0; font-size: var(--t-sm); gap: 6px; }
.pp-inci li { padding: 4px 10px; }
.pp-muted { margin: 0; font-size: var(--t-sm); color: var(--cocoa-2); }
.pp-muted a { color: var(--cocoa); }

/* questions */
.pp-stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
.pp-faq { display: grid; gap: 4px; }
.pp-faq h2 { margin-bottom: 10px; }
.pp-faq details { padding: 14px 0; }
.pp-faq summary { font-size: var(--t-md); gap: 16px; }
.pp-faq details p { margin: 10px 0 0; color: var(--cocoa-2); max-width: 64ch; }

/* related */
.pp-related { display: grid; gap: 18px; }
.pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 920px) { .pp-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 14px; } }
.rel-card { color: inherit; text-decoration: none; }
.rel-card:focus-visible { border-radius: 22px; }
