/* Lóvi SEO pages — one component set.
   Type scale: 12 / 13 / 15 / 17 / 22 / 34 (h1) / 48 (score level).
   Radii: 12 (inner), 20 (cards and surfaces), 999 (pills and buttons).
   Spacing: 4 / 8 / 12 / 16 / 24 / 40. */
@font-face { font-family: "ES Rebond Grotesque"; src: url("assets/fonts/ESRebondGrotesque-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --ink: #292824; --muted: rgba(41, 40, 36, .68); --hair: rgba(41, 40, 36, .1); --surface: #F6F5F4; --white: #FFFFFF;
  --accent: #5263FF; --accent-bg: rgba(82, 99, 255, .1);
  --superior: #B26AFF; --high: #45B87C; --average: #8CCC3A; --low: #FCC500; --caution: #FF991F; --warning: #EF6142; --none: #BDBAB5;
  --amazon: #F9D94C;
  --head: "ES Rebond Grotesque", "Geist", -apple-system, sans-serif;
  --body: "SF Pro Rounded", ui-rounded, -apple-system, BlinkMacSystemFont, "Geist", "Helvetica Neue", Arial, sans-serif;
  --r-s: 12px; --r-m: 20px; --r-p: 999px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.45 var(--body); color: var(--ink); background: var(--white); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 34px; line-height: 1.1; }
h2 { font-size: 22px; line-height: 1.2; }
h3 { font-family: var(--body); font-size: 13px; color: var(--muted); margin: 0 0 8px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.accent { color: var(--accent); }
.h1-brand { color: var(--muted); }
.more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* header and footer */
header.top { border-bottom: 1px solid var(--hair); background: var(--white); position: sticky; top: 0; z-index: 5; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; }
.logo { font-family: var(--head); font-size: 26px; text-decoration: none; }
header nav { display: flex; gap: 24px; flex: 1; }
header nav a { text-decoration: none; color: var(--muted); }
header nav a:hover { color: var(--ink); }
.stores { display: flex; gap: 8px; }
.store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 8px; border-radius: var(--r-s); background: #000; color: #fff; text-decoration: none; flex: 1; justify-content: center; }
.store img { width: 20px; height: 20px; flex: 0 0 20px; }
.store span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.05; white-space: nowrap; }
.store small { font-size: 9px; opacity: .85; }
footer { border-top: 1px solid var(--hair); margin-top: 40px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 24px; color: var(--muted); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-bottom: 8px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

main { max-width: 1240px; margin: 0 auto; padding: 16px 24px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--muted); margin: 0 0 16px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }

/* price buttons: one look, two sizes */
.pbtn { display: inline-flex; align-items: center; gap: 4px; border-radius: var(--r-p); text-decoration: none; white-space: nowrap; }
.pbtn-amazon { background: var(--amazon); color: var(--ink); }
.pbtn-store { background: var(--ink); color: #fff; }
.pbtn:hover { filter: brightness(.96); }
.pbtn img { width: 14px; height: 14px; }
.pbtn-small { height: 24px; padding: 0 10px 0 8px; font-size: 13px; }
.pbtn-large { height: 52px; padding: 0 16px; font-size: 17px; gap: 8px; }
.pbtn-large img { width: 22px; height: 22px; }
.pbtn-large .pb-on { margin-left: auto; font-size: 13px; }

/* level pill: one size, same height as the small price button */
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-p); font-size: 12px; color: #fff; background: var(--none); white-space: nowrap; }
.pill-superior { background: var(--superior); } .pill-high { background: var(--high); } .pill-average { background: var(--average); }
.pill-low { background: var(--low); } .pill-caution { background: var(--caution); } .pill-warning { background: var(--warning); }

/* chips: one size, three tones */
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-p); font-size: 12px; background: var(--surface); color: var(--ink); }
.chip-good { background: #ECF8F2; color: #1A854D; }
.chip-bad { background: #FDF1EE; color: #C4452B; }

/* hero: image | score | side lists */

/* score card: level, verdict, sub-scores, key ingredients, one note */
.score-label { display: inline-block; font-size: 13px; color: var(--muted); text-decoration: none; border-bottom: 1px dotted rgba(41, 40, 36, .35); }
.score-label:hover { color: var(--accent); border-color: var(--accent); }
.score-big { font-family: var(--head); font-size: 48px; line-height: 1; margin-top: 8px; color: var(--none); }
.score-superior { color: var(--superior); } .score-high { color: var(--high); } .score-average { color: var(--average); }
.score-low { color: #D9A800; } .score-caution { color: var(--caution); } .score-warning { color: var(--warning); }
.meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 12px; }
.meter .m { height: 6px; border-radius: 3px; background: rgba(41, 40, 36, .1); }
.meter .m.on.m-superior { background: var(--superior); } .meter .m.on.m-high { background: var(--high); } .meter .m.on.m-average { background: var(--average); }
.meter .m.on.m-low { background: var(--low); } .meter .m.on.m-caution { background: var(--caution); } .meter .m.on.m-warning { background: var(--warning); }
.meter-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }
.subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
.sub { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ico { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--none); }
.ico svg { width: 14px; height: 14px; }
.ico-superior { background: var(--superior); } .ico-high { background: var(--high); } .ico-average { background: var(--average); }
.ico-low { background: var(--low); } .ico-caution { background: var(--caution); } .ico-warning { background: var(--warning); }
.sub-band { font-size: 15px; }
.sub-name { font-size: 12px; color: var(--muted); }
.ki { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
.ki b { font-weight: 400; color: var(--accent); }
.watch { margin-top: 12px; font-size: 13px; }

/* product rows (lists) */
.side + .side { margin-top: 24px; }
.side h2 { font-size: 17px; margin-bottom: 8px; }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--r-m); padding: 8px 12px 8px 8px; }
.thumb { flex: 0 0 52px; height: 52px; border-radius: var(--r-s); background: var(--white); border: 1px solid var(--hair); display: flex; align-items: center; justify-content: center; }
.thumb img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.row-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.row-step { font-size: 12px; color: var(--muted); }
.row-name { font-size: 13px; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.row-name:hover, a.card-name:hover { color: var(--accent); }
.row-meta { display: flex; gap: 8px; align-items: center; }

/* product cards (grids): image with pill, step, name, reason, price */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 210px)); gap: 12px; }
.card { background: var(--surface); border-radius: var(--r-m); padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.card-img { position: relative; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-s); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.card-img img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.card-img .pill { position: absolute; top: 8px; left: 8px; }
.card-name { font-size: 13px; line-height: 1.3; text-decoration: none; }
.card-line { font-size: 12px; color: var(--muted); line-height: 1.3; }
.card-foot { margin-top: auto; padding-top: 8px; }
.hide-step .row-step { display: none; }

/* lower blocks */
.block { margin-top: 40px; }
.block > h2 { margin-bottom: 12px; }
.lead { max-width: 760px; margin-bottom: 12px; }
.linklist { display: flex; flex-wrap: wrap; gap: 8px; }
.linklist a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-p); background: var(--surface); text-decoration: none; font-size: 13px; }
.linklist a:hover { color: var(--accent); }
.rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.rev-head h2 { margin: 0; }
.star-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 22px; }
.star-dot { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; background: var(--high); }
.rate-average .star-dot { background: var(--average); } .rate-low .star-dot { background: var(--low); } .rate-caution .star-dot { background: var(--caution); }
.rev-count, .rev-src { font-size: 13px; color: var(--muted); }
.rev-src { margin-top: 12px; }
.ing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; max-width: 900px; }
.ing-grid .chips-row { margin-bottom: 12px; }
.inci-d { margin-top: 16px; max-width: 900px; }
.inci-d summary { cursor: pointer; font-size: 13px; color: var(--accent); }
.inci { margin-top: 8px; font-size: 13px; color: var(--muted); }
.origin { font-size: 13px; color: var(--muted); }

/* app band: video next to the store badges */
.app-band { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; align-items: center; background: linear-gradient(120deg, #F3EFFE, #FBF3F8); border-radius: var(--r-m); padding: 24px; }
.app-band video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-s); display: block; }
.cta-title { font-family: var(--head); font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.app-txt .cta-title { font-size: 34px; line-height: 1.1; margin: 0 0 12px; max-width: none; }
.app-txt p { max-width: 420px; margin-bottom: 16px; }
.app-txt .stores { max-width: 340px; }

/* listing pages */
.listing h1 { margin-bottom: 8px; }
.byskin { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.byskin h3 { font-family: var(--head); font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.byskin h3 a { text-decoration: none; }
.total { margin-top: 16px; font-size: 15px; }
.routine .watch { color: var(--muted); }
.text p { max-width: 760px; margin-bottom: 8px; }
.text ul { list-style: disc; padding-left: 24px; max-width: 760px; }

@media (max-width: 1100px) {
  .side + .side { margin-top: 0; }
}
@media (max-width: 720px) {
  header nav { display: none; }
  main { padding: 12px 16px 0; }
  h1 { font-size: 26px; }
  .score-big { font-size: 40px; }
  .ki, .ing-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #alternatives .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  #alternatives .card { flex: 0 0 160px; scroll-snap-align: start; }
  .crumbs li:last-child:nth-child(n+3) { display: none; }
  .app-band { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .app-txt .cta-title { font-size: 26px; }
}
h1 .accent { white-space: nowrap; }

/* round 9 */
.pill-average, .pill-low { color: var(--ink); }
.ico-low { color: var(--ink); }

.explain { margin-top: 12px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.explain li { padding-left: 16px; position: relative; }
.explain li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ing-grid h3 { font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 8px; }
.rows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }

/* iteration 12: no score card; the main column runs on into People Say; the photo stays in view */

/* iteration 13: one product card, then the sections; lists on the side */
.sec { margin-top: 32px; }
.sec > h2 { margin-bottom: 12px; }
.sec h3 { margin: 16px 0 8px; }
.sec .block { margin-top: 0; }
.sec .lead { font-size: 15px; }
#assistant .explain { margin-top: 12px; }
.inci { font-size: 13px; color: var(--muted); }

.page-h1 { margin-bottom: 20px; }
@media (max-width: 720px) { .page-h1 { font-size: 28px; margin-bottom: 16px; } }

/* card balance: the score column spreads over the photo column's height */
.card-verdict { margin-top: 16px; font-size: 17px; line-height: 1.35; }

/* card: photo + price | score; one full-width row for key ingredients and the Fit score link */

/* iteration 14: card = photo | score row (overall + sub-scores) + key ingredients; buying sits on the side */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 32px; align-items: start;
  grid-template-areas: "card buy" "card side" "rest side"; grid-template-rows: auto 1fr auto; }
.layout > * { min-width: 0; }
.a-card { grid-area: card; } .a-buy { grid-area: buy; } .a-side { grid-area: side; } .a-rest { grid-area: rest; }
.a-buy h2 { margin-top: 0; }
.a-side .side:first-child { margin-top: 24px; }
.offers { display: grid; gap: 8px; }
.pcard { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; background: var(--surface); border-radius: var(--r-m); padding: 16px; }
.pc-img { background: var(--white); border-radius: var(--r-s); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.pc-img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.pc-info { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 0 0; min-width: 0; }
.pc-score { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; }
.pc-overall .score-big { margin: 0; }
.subs { margin: 0; padding: 0; border: 0; }
.pc-info .card-verdict { margin: 0; font-size: 17px; }
.pc-info .score-label { margin-top: auto; align-self: flex-end; border: 0; font-size: 12px; color: var(--muted); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "card" "buy" "side" "rest"; grid-template-rows: auto; }
  .a-buy { margin-top: 24px; }
  .a-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .pcard { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .pc-img { width: 180px; margin: 0 auto; }
  .pc-score { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .layout { grid-template-areas: "card" "buy" "rest" "side"; }
  .a-side { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .a-buy { margin-top: 16px; }
}

.a-assist { grid-area: assist; }
.layout { grid-template-areas: "card buy" "card side" "assist side" "rest side"; grid-template-rows: auto 1fr auto auto; }
@media (max-width: 1100px) { .layout { grid-template-areas: "card" "buy" "assist" "side" "rest"; grid-template-rows: auto; } }
@media (max-width: 720px) { .layout { grid-template-areas: "card" "buy" "assist" "side" "rest"; } .a-side .side:first-child { margin-top: 32px; } }

/* quieter offers: store rows in Buy online, half-strength price chips elsewhere */
.offer-row { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: var(--r-s); background: var(--surface); text-decoration: none; color: var(--ink); }
.offer-row:hover { background: #EFEDEB; }
.or-logo { width: 32px; height: 32px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; flex: none; }
.or-logo img { width: 18px; height: 18px; }
.or-store { font-size: 15px; }
.or-price { margin-left: auto; font-size: 15px; }
.or-store small { display: block; font-size: 12px; color: var(--muted); }
.or-was { color: var(--muted); margin-right: 6px; font-size: 13px; }
.offers-asof, .offers-country { font-size: 12px; color: var(--muted); margin-top: 8px; }
.pbtn-small.pbtn-logo { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.or-go { width: 18px; height: 18px; color: var(--muted); flex: none; }
.pbtn-small.pbtn-amazon { background: rgba(249, 217, 76, .5); }
.pbtn-small.pbtn-amazon:hover { background: rgba(249, 217, 76, .8); filter: none; }

/* People Say as in the app: points by frequency, review examples folded under each */
.rate-grey .star-dot { background: #ADADAD; } .rate-warning .star-dot { background: var(--warning); }
.ps-h { margin: 20px 0 4px; }
.ps-points { border-top: 1px solid var(--hair); }
.ps-pt { border-bottom: 1px solid var(--hair); }
.ps-pt summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; font-size: 15px; }
.ps-pt summary::-webkit-details-marker { display: none; }
.ps-pt summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin: 0 4px 4px 4px; flex: none; }
.ps-pt[open] summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.ps-sign { width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 13px; line-height: 18px; text-align: center; flex: none; }
.ps-sign.good { background: var(--high); } .ps-sign.bad { background: var(--warning); }
.ps-freq { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #706f6c; white-space: nowrap; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 3px; background: #D9D7D3; border-radius: 1px; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 7px; } .bars i:nth-child(3) { height: 10px; } .bars i:nth-child(4) { height: 12px; }
.bars.b1 i:nth-child(-n+1), .bars.b2 i:nth-child(-n+2), .bars.b3 i:nth-child(-n+3), .bars.b4 i:nth-child(-n+4) { background: #706f6c; }
.ps-ex { padding: 0 0 12px 28px; display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-style: italic; }
@media (max-width: 720px) { .ps-freq { font-size: 11px; } }
/* price buttons: no fill, the store colour as the outline */
.pbtn-small.pbtn-amazon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--amazon); }
.pbtn-small.pbtn-amazon:hover { background: rgba(249, 217, 76, .25); }

/* country selector */
.country-sel { position: relative; margin-left: auto; font-size: 13px; }
.country-sel summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--hair); border-radius: var(--r-p); color: var(--ink); }
.country-sel summary::-webkit-details-marker { display: none; }
.country-sel summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin: 0 2px 3px 4px; }
.country-sel ul { position: absolute; right: 0; bottom: calc(100% + 6px); min-width: 200px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-s); padding: 6px; box-shadow: 0 8px 24px rgba(41, 40, 36, .08); }
.country-sel li a, .country-sel li strong { display: flex; gap: 8px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-weight: 400; }
.country-sel li strong { background: var(--surface); }
.country-sel li a:hover { background: var(--surface); }
.top-in .country-sel { flex: none; margin-left: 0; }
.top-in .country-sel ul { top: calc(100% + 6px); bottom: auto; z-index: 6; max-height: 70vh; overflow-y: auto; }
.top-in .country-sel { margin-left: auto; }
.flag { font-size: 15px; line-height: 1; }
/* People Say: fixed columns, frequency on the right */
.ps-pt summary { display: grid; grid-template-columns: 18px minmax(0, 1fr) 150px 14px; gap: 10px; align-items: center; }
.ps-freq { margin-left: 0; justify-content: flex-start; }
@media (max-width: 720px) { .ps-pt summary { grid-template-columns: 18px minmax(0, 1fr) 118px 12px; gap: 8px; } }
.foot-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-in .foot-links { margin: 0; }

/* whole cards and rows are one link to our page; only the price button goes to the store */
.row, .card { position: relative; }
.row .row-name::after, .card .card-name::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.row .pbtn, .card .pbtn { position: relative; z-index: 2; }
.row:hover, .card:hover { background: #EFEDEB; }
.row .row-name, .card .card-name { text-decoration: none; }

/* small app block at the top of the side column (wide screens only; phones keep the full block at the bottom) */
.app-mini { background: linear-gradient(120deg, #F3EFFE, #FBF3F8); border-radius: var(--r-m); padding: 12px; margin-bottom: 24px; }
.app-mini video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-s); display: block; }
.app-mini .cta-title { font-size: 20px; line-height: 1.2; margin: 12px 4px 4px; color: var(--ink); }
.app-mini p { font-size: 13px; color: var(--muted); margin: 0 4px 12px; }
.app-mini .store { height: 36px; }
.a-buy .side h2 { margin-top: 0; }
@media (max-width: 1100px) { .app-mini { display: none; } }

/* one right column on wide screens; on narrow screens it splits back into buy and side */
.layout { grid-template-areas: "card right" "assist right" "rest right"; grid-template-rows: auto auto 1fr; }
.a-right { grid-area: right; min-width: 0; }
.a-right .a-side .side:first-child { margin-top: 24px; }
@media (max-width: 1100px) {
  .layout { grid-template-areas: "card" "buy" "assist" "side" "rest"; grid-template-rows: auto; }
  .a-right { display: contents; }
}
@media (max-width: 720px) { .a-side .side + .side { margin-top: 28px; } }

/* the app blocks are one link (a OneLink); the store buttons stay on top */
.app-band, .app-mini { position: relative; cursor: pointer; }
.cover-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.app-band .stores, .app-mini .stores { position: relative; z-index: 2; }
.app-band:hover, .app-mini:hover { filter: brightness(.985); }

.science { margin-top: 10px; display: grid; gap: 10px; font-size: 14px; line-height: 1.45; }
.science li { padding-left: 16px; position: relative; }
.science li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.science p { margin: 0; }
.science .src { display: inline-block; margin-top: 2px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.gap-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink, inherit); margin-bottom: 2px; text-decoration: none; }
a.gap-label:hover { text-decoration: underline; }

.card-studies { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.study-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: inherit; text-decoration: none; background: #fff; border-radius: 999px; padding: 4px 12px 4px 6px; }
.study-chip::before { content: "PubMed"; font-size: 10px; font-weight: 600; color: var(--muted); border: 1px solid var(--hair); border-radius: 999px; padding: 0 6px; }
.study-chip:hover { color: var(--accent); }

.rt-in { position: absolute; opacity: 0; pointer-events: none; }
.rt-tabs { display: inline-flex; gap: 4px; padding: 3px; margin: 4px 0 12px; background: #f1f0ee; border-radius: 999px; }
.rt-tab { font-size: 13px; padding: 4px 14px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.rt-panel { display: none; }
#rt-am:checked ~ .rt-tabs .rt-tab-am, #rt-pm:checked ~ .rt-tabs .rt-tab-pm, #rt-weekly:checked ~ .rt-tabs .rt-tab-weekly { background: #fff; color: inherit; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
#rt-am:checked ~ .rt-panel-am, #rt-pm:checked ~ .rt-panel-pm, #rt-weekly:checked ~ .rt-panel-weekly { display: flex; }

.qa-list { border-top: 1px solid var(--hair); }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; font-size: 15px; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin: 0 4px 4px auto; flex: none; }
.qa[open] summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.qa-a { padding: 0 0 12px; font-size: 14px; line-height: 1.45; }
.qa-a p { margin: 0; }
.qa-src { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 4px !important; }
.qa-src .src { display: inline-block; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.fit-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fit-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.pc-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pc-ki .chip { background: var(--white); }
@media (max-width: 720px) {
  .pc-left { align-items: center; }
  .pc-ki { justify-content: center; }
}

.team-lead { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.member { display: flex; flex-direction: column; }
.m-photo { aspect-ratio: 4 / 5; border-radius: var(--r-s); overflow: hidden; background: linear-gradient(180deg, #ecebe8 0%, #f6f5f3 100%); display: flex; align-items: flex-end; justify-content: center; }
.m-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.m-name { margin: 8px 0 0; font-size: 14px; line-height: 1.3; font-weight: 500; }
.m-name a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.m-role { margin: 2px 0 0; font-size: 13px; color: var(--accent); }
.m-bio { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (max-width: 720px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery.team .member { flex: 0 0 calc((100% - 36px) / 4); scroll-snap-align: start; }
@media (max-width: 720px) { .gallery.team .member { flex-basis: calc((100% - 12px) / 2.2); } }

.howto { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.howto-video { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r-s); background: var(--surface); object-fit: cover; }
.howto-steps { display: grid; gap: 10px; font-size: 15px; line-height: 1.5; }
.howto-steps li { padding-left: 16px; position: relative; }
.howto-steps li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 720px) { .howto { grid-template-columns: minmax(0, 1fr); } .howto-video { max-width: 260px; } }

.card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 0 0; }
.card-foot .built { font-size: 12px; color: var(--muted); }
.card-foot .score-label { margin-left: auto; }

/* routine page (iteration 22) */
.rt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.rt-main { min-width: 0; }
.rt-side { position: sticky; top: 80px; }
.rt-card { background: var(--surface); border-radius: var(--r-m); padding: 20px; }
.rt-card h2 { margin-bottom: 8px; }
.rt-over { font-size: 17px; line-height: 1.45; }
.goals { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.goals th { text-align: left; font-weight: 400; color: var(--muted); padding: 0 12px 6px 0; }
.goals td { padding: 10px 12px 10px 0; border-top: 1px solid var(--hair); vertical-align: top; }
.goals td a { color: var(--accent); text-decoration: none; }
.goals .g-goal { font-size: 15px; }
.goals .chips-row { gap: 4px; }
.goals .chip { background: var(--white); }
.ritual { margin-top: 40px; }
.ritual > h2 { margin-bottom: 4px; }
.step { padding: 20px 0; border-bottom: 1px solid var(--hair); scroll-margin-top: 80px; }
.step-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.step-n { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.step-name { font-family: var(--head); font-size: 20px; }
.step-why { max-width: 760px; }
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 0 6px; margin-top: 4px; scrollbar-width: thin; }
.gcard { flex: 0 0 172px; scroll-snap-align: start; background: var(--surface); border-radius: var(--r-m); padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.gcard-pick { box-shadow: inset 0 0 0 2px var(--accent); }
.gcard .card-img { margin-bottom: 6px; }
.g-brand { font-size: 12px; color: var(--muted); }
.why-pick { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 760px; }
.why-pick b { font-weight: 400; color: var(--ink); }
.src-meta { font-size: 13px; color: var(--muted); }
#research .science a { text-decoration: none; }
#research .science a:hover { text-decoration: underline; }
.rt-links { display: grid; gap: 24px; }
.rt-links h2 { font-size: 17px; margin-bottom: 8px; }
@media (max-width: 1100px) { .rt-layout { grid-template-columns: minmax(0, 1fr); } .rt-side { display: none; } }
@media (max-width: 720px) {
  .rt-card { padding: 16px; }
  .goals thead { display: none; }
  .goals tr { display: grid; grid-template-columns: 1fr; gap: 4px; border-top: 1px solid var(--hair); padding: 10px 0; }
  .goals td { border: 0; padding: 0; }
  .gcard { flex-basis: 150px; }
}
.step-generic { margin-top: 10px; padding: 12px 16px; background: var(--surface); border-radius: var(--r-s); font-size: 13px; max-width: 520px; }

/* brand page (iteration 22) */
.bt-in { position: absolute; opacity: 0; pointer-events: none; }
.bt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bt-tabs label { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--r-p); background: var(--surface); font-size: 13px; cursor: pointer; }
.bt-panel { display: none; }
.bt-panel > h2 { margin-bottom: 4px; }
.row-other .row-step { color: var(--accent); }

/* best X for skin (iteration 22) */
.ranked { margin: 0; padding: 0; list-style: none; }
.rk { display: grid; grid-template-columns: 28px 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); align-items: start; position: relative; }
.rk-n { font-family: var(--head); font-size: 22px; color: var(--muted); padding-top: 4px; }
.rk-img { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-s); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.rk-img img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.rk-txt { display: flex; flex-direction: column; gap: 4px; }
.rk-name { font-family: var(--head); font-size: 20px; text-decoration: none; }
.rk-name:hover { color: var(--accent); }
.rk .row-meta { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.rk-why { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 680px; }
.rk-why b { font-weight: 400; color: var(--ink); }
@media (max-width: 720px) { .rk { grid-template-columns: 20px 80px minmax(0, 1fr); gap: 10px; } .rk-name { font-size: 17px; } }
.why-these { margin: 4px 0 4px; font-size: 15px; }
.gcard-pick { box-shadow: none; }
.gal-wrap { position: relative; }
.gallery { scrollbar-width: none; -ms-overflow-style: none; }
.gallery::-webkit-scrollbar { display: none; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 2px 12px rgba(41, 40, 36, .18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gal-btn[hidden] { display: none; }
.gal-btn svg { width: 20px; height: 20px; }
.gal-prev { left: -12px; } .gal-next { right: -12px; }
.gal-btn:hover { background: var(--surface); }
@media (hover: none), (max-width: 720px) { .gal-btn { display: none; } }
.rt-rits { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.rt-side { position: static; }
.rt-similar { margin-top: 24px; }
@media (max-width: 1100px) { .rt-side { display: block; } .rt-side .app-mini { display: none; } }
.rt-rits { font-size: 17px; line-height: 1.45; }
.ms-in { position: absolute; opacity: 0; pointer-events: none; }
.ms-list { display: none; margin-top: 14px; }
.ms-in:checked ~ .ms-list { display: grid; }
.ms-open, .ms-close { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 13px; color: var(--accent); cursor: pointer; }
.ms-open svg, .ms-close svg { width: 16px; height: 16px; }
.ms-close { display: none; }
.ms-in:checked ~ .ms-open { display: none; }
.ms-in:checked ~ .ms-close { display: inline-flex; }
.rt-buy { margin-top: 24px; }
.rt-buy .offers { display: grid; gap: 8px; }
.rt-buy .or-store { display: flex; flex-direction: column; line-height: 1.25; }
.rt-buy .or-store small { font-size: 12px; color: var(--muted); }

/* brand page (iter_23) */
.br .br-chips { margin-top: 12px; }
.br .br-chips .chip { background: var(--white); text-decoration: none; }
.br .br-chips .chip-good { background: var(--white); }
.br .rt-card .fit-note { margin-top: 12px; }
.br .gcard .g-brand { order: 3; }
.br .sqcard .card-img { padding: 0; overflow: hidden; background: #fff; }
.br .sqcard .card-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.br .g-step { font-size: 12px; color: var(--muted); margin-top: 6px; }
.br .g-line { font-size: 12px; color: var(--muted); }
.br .gcard-other .card-name { color: var(--muted); }
.br .br-group { margin-top: 20px; }
.br .br-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.br .btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--r-p); background: var(--white); border: 1px solid var(--ink); color: var(--ink); font-size: 14px; text-decoration: none; }
.br .btn-dark { background: var(--ink); color: #fff; }
.br .step-head .step-name { font-family: var(--head); }
.br .btn-buy { background: #FFD814; border-color: #FFD814; color: #0F1111; gap: 8px; }
.br .btn-buy img { height: 16px; width: auto; }
.br .br-gals { margin-top: 8px; padding-top: 0; border-top: 0; }
.br .br-gals .br-group:first-child { margin-top: 12px; }
.br ul[data-show] > li:nth-child(n+4) { display: none; }
.br ul[data-show] > li[hidden] { display: none; }
.br ul[data-show] > li:not([hidden]) { display: flex; }
.vs .vs-pair { border-top: 1px solid var(--line, #e7e5e1); padding-top: 8px; }
.br .linklist[data-show] > li:nth-child(n+4) { display: none; }
.br .linklist[data-show] > li[hidden] { display: none; }
.br .linklist[data-show] > li:not([hidden]) { display: list-item; }
.vs .vs-pair { border-top: 0; padding-top: 0; }
.vs .vs-ps-head, .vs .vs-ps-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 150px; gap: 12px; align-items: center; }
.vs .vs-ps-head { font-size: 13px; color: var(--muted); margin: 12px 0 4px; }
.vs .vs-ps-head span:not(:first-child) { font-family: var(--head); color: var(--ink); }
.vs .vs-ps summary { list-style: none; }
.vs .vs-ps summary::-webkit-details-marker { display: none; }
.vs .vs-ps-row { width: 100%; }
.vs .vs-ps-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vs .vs-col { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); opacity: .55; }
.vs .vs-col.vs-better { opacity: 1; color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .vs .vs-ps-head, .vs .vs-ps-row { grid-template-columns: minmax(0, 1fr) 92px 92px; gap: 8px; } .vs .vs-lab { display: none; } }
.vs .vs-ps .ps-pt summary { display: grid; grid-template-columns: minmax(0, 1fr) 14px; gap: 10px; }
.vs .vs-ps-head { padding-right: 24px; }
@media (max-width: 720px) { .vs .vs-ps .ps-pt summary { grid-template-columns: minmax(0, 1fr) 12px; gap: 8px; } .vs .vs-ps-head { padding-right: 20px; } }
.br .vs-thumb { display: flex; gap: 0; overflow: hidden; }
.br .vs-thumb img { width: 50%; height: 100%; object-fit: contain; }
.br .vs-row .row-name { text-decoration: none; }
.br ul.rows[data-show] > li:nth-child(n+5) { display: none; }
/* main navigation: every product type, scrolls sideways when there is no room */
header nav.main-nav { gap: 14px; font-size: 14px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
header nav.main-nav::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  .top-in { flex-wrap: wrap; row-gap: 8px; }
  header nav.main-nav { display: flex; order: 3; flex: 1 0 100%; gap: 14px; font-size: 13px; padding-bottom: 2px; }
}
/* ingredient and pair pages */
.ing .tbl-wrap { overflow-x: auto; }
.pair-tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.pair-tbl th, .pair-tbl td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line, #e6e6e6); }
.pair-tbl thead th { font-size: 13px; color: var(--muted); font-weight: 500; }
.pair-tbl tbody th { font-weight: 600; min-width: 160px; }
.pair-tbl tbody th a { color: inherit; }
.pair-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pair-good { background: #e5f4ea; color: #1d6b3a; }
.pair-bad { background: #fbe9e7; color: #9b2c1f; }
.pair-link { white-space: nowrap; }
.pair-tbl tr.pair-more { display: none; }
#research:not(:has(.ms-in:checked)) .science li.sci-more { display: none; }
#research:has(.ms-in:checked) .ms-open { display: none; }
#questions:not(:has(.ms-in:checked)) .qa.qa-more { display: none; }
#questions:has(.ms-in:checked) .ms-open { display: none; }
.ing .ms-in:checked ~ .tbl-wrap tr.pair-more, #combining:has(.ms-in:checked) tr.pair-more { display: table-row; }
#combining:has(.ms-in:checked) .ms-open { display: none; }
.pair-note, .br-note { font-size: 13px; color: var(--muted); }
.pair-verdict { font-size: 22px; font-weight: 600; margin: 0 0 12px; }
.pair-verdict.pair-good { background: none; color: #1d6b3a; }
.pair-verdict.pair-bad { background: none; color: #9b2c1f; }
.pair-verdict.pair-mixed { color: #8a5a00; }
.pair-rule { margin: 0 0 14px; }
.ing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px; }
.g-brand { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.pair-tag.pair-mixed { background: #fdf3dc; color: #8a5a00; }
.pair-how { font-size: 17px; font-weight: 500; margin: 0 0 10px; }
.pair-tbl .pair-link { display: block; margin-top: 4px; font-size: 13px; }
.pair-verdict.pair-mixed { background: none; }
.ing .br-chips + .br-note { margin-top: 16px; }
.ing .rt-card .pair-tag { font-size: 14px; padding: 4px 12px; }
.lookfor .lf-note { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.lookfor .lf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .lookfor .lf-cols { grid-template-columns: 1fr; } }
.ing-group > p { max-width: 820px; }
.ing-useful { color: var(--muted); }
.bi-qr-code { display: none; }
@media (min-width: 1101px) {
  .bi-get { position: relative; z-index: 2; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 14px; }
  .bi-get .stores { flex-direction: column; justify-content: center; gap: 8px; width: 150px; max-width: none; }
  .bi-get .store { flex: none; height: 44px; justify-content: center; padding: 0 12px; }
  .bi-qr-code { display: block; width: 96px; height: 96px; }
  .bi-qr-code img { width: 100%; height: 100%; display: block; }
  .app-mini .bi-get { margin: 4px 0 2px; }
  .app-txt .bi-get { justify-content: start; column-gap: 16px; }
  .app-txt .bi-get .stores { width: 176px; }
  .app-txt .bi-get .store { height: 52px; }
  .app-txt .bi-qr-code { width: 112px; height: 112px; }
}
.bi .bi-ps .ps-pt summary { grid-template-columns: 18px minmax(0, 1fr) 190px 14px; }
.bi .bi-ps-brand { font-weight: 500; margin-right: 6px; }
.bi .bi-ps-rate { gap: 6px; }
.bi .bi-ps-rate .star-dot { width: 18px; height: 18px; font-size: 10px; }
.bi .bi-ps-body { padding: 0 0 12px 28px; }
.bi .bi-ps-more { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.bi .bi-ps-more li { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--surface); }
.bi .bi-ps-body .ps-ex { padding: 0 0 8px; }
.bi .bi-ps-link { font-size: 13px; margin: 0; }
.bi .step-head .step-n { margin-left: 4px; }
.bi .bi-az-nav { margin-bottom: 8px; }
.bi .bi-az-nav .chip { text-decoration: none; min-width: 28px; justify-content: center; }
.bi .bi-az-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); scroll-margin-top: 80px; }
.bi .bi-az-letter { font-family: var(--head); font-size: 20px; }
.bi .bi-az .br-btns { margin-top: 16px; }
@media (max-width: 720px) { .bi .bi-ps .ps-pt summary { grid-template-columns: 18px minmax(0, 1fr) 128px 12px; } }

.pd-tabs > .bt-tabs { margin: 4px 0 16px; gap: 6px; }
.pd-tabs > .bt-tabs label { height: 30px; }
.pd-t0:checked ~ .bt-tabs .pd-l0, .pd-t1:checked ~ .bt-tabs .pd-l1, .pd-t2:checked ~ .bt-tabs .pd-l2, .pd-t3:checked ~ .bt-tabs .pd-l3, .pd-t4:checked ~ .bt-tabs .pd-l4, .pd-t5:checked ~ .bt-tabs .pd-l5, .pd-t6:checked ~ .bt-tabs .pd-l6, .pd-t7:checked ~ .bt-tabs .pd-l7, .pd-t8:checked ~ .bt-tabs .pd-l8, .pd-t9:checked ~ .bt-tabs .pd-l9, .pd-t10:checked ~ .bt-tabs .pd-l10, .pd-t11:checked ~ .bt-tabs .pd-l11, .pd-t12:checked ~ .bt-tabs .pd-l12, .pd-t13:checked ~ .bt-tabs .pd-l13, .pd-t14:checked ~ .bt-tabs .pd-l14, .pd-t15:checked ~ .bt-tabs .pd-l15 { background: var(--ink); color: #fff; }
.pd-t0:checked ~ .rt-tabs .pd-l0, .pd-t1:checked ~ .rt-tabs .pd-l1, .pd-t2:checked ~ .rt-tabs .pd-l2, .pd-t3:checked ~ .rt-tabs .pd-l3, .pd-t4:checked ~ .rt-tabs .pd-l4, .pd-t5:checked ~ .rt-tabs .pd-l5, .pd-t6:checked ~ .rt-tabs .pd-l6, .pd-t7:checked ~ .rt-tabs .pd-l7, .pd-t8:checked ~ .rt-tabs .pd-l8, .pd-t9:checked ~ .rt-tabs .pd-l9, .pd-t10:checked ~ .rt-tabs .pd-l10, .pd-t11:checked ~ .rt-tabs .pd-l11, .pd-t12:checked ~ .rt-tabs .pd-l12, .pd-t13:checked ~ .rt-tabs .pd-l13, .pd-t14:checked ~ .rt-tabs .pd-l14, .pd-t15:checked ~ .rt-tabs .pd-l15 { background: #fff; color: inherit; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.pd-t0:checked ~ .pd-p0, .pd-t1:checked ~ .pd-p1, .pd-t2:checked ~ .pd-p2, .pd-t3:checked ~ .pd-p3, .pd-t4:checked ~ .pd-p4, .pd-t5:checked ~ .pd-p5, .pd-t6:checked ~ .pd-p6, .pd-t7:checked ~ .pd-p7, .pd-t8:checked ~ .pd-p8, .pd-t9:checked ~ .pd-p9, .pd-t10:checked ~ .pd-p10, .pd-t11:checked ~ .pd-p11, .pd-t12:checked ~ .pd-p12, .pd-t13:checked ~ .pd-p13, .pd-t14:checked ~ .pd-p14, .pd-t15:checked ~ .pd-p15 { display: block; }
.pd-tabs .bt-panel > .step { margin: 0; padding: 0; border: 0; }
.pd-qa { margin: 4px 0 18px; }
.pd-tabs .pd-qa { margin: 0 0 14px; }
.pd-ps .ps-pt summary { grid-template-columns: 18px minmax(0, 1fr) 190px 14px; }
.pd-ps-name { font-weight: 500; margin-right: 6px; }
.pd-ps-rate { gap: 6px; }
.pd-ps-rate .star-dot { width: 18px; height: 18px; font-size: 10px; }
.pd-ps-body { padding: 0 0 12px 28px; }
.pd-ps-more { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.pd-ps-more li { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--surface); }
.pd-ps-body .ps-ex { padding: 0 0 8px; }
.pd-ps-link { font-size: 13px; margin: 0; }
.pd-teaser .rows-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pd-teaser .btn-all { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; margin-top: 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; }
.pd-all .page-h1 small { display: block; margin-top: 6px; font-family: var(--body); font-size: 15px; color: var(--muted); }
.pd-all .lead { margin: 4px 0 16px; color: var(--muted); font-size: 14px; }
.pg-letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; }
.pg-letters a, .pg-letters span { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; font-size: 12px; text-decoration: none; }
.pg-letters a { background: var(--surface); color: var(--ink); }
.pg-letters a.on { background: var(--ink); color: #fff; }
.pg-letters span { color: #c4c2bd; }
.pg-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pg-grid .row { position: relative; }
.pg-grid .row-step { display: block; }
.pg-head { grid-column: 1 / -1; list-style: none; font-family: var(--head); font-size: 20px; margin: 8px 0 0; scroll-margin-top: 20px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 28px 0; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14px; text-decoration: none; }
.pager a { background: var(--surface); color: var(--ink); }
.pager a:hover { background: var(--ink); color: #fff; }
.pager .cur { background: var(--ink); color: #fff; }
.pager .gap { min-width: 16px; padding: 0; color: var(--muted); }
.pager .off { color: #c4c2bd; background: none; }
@media (max-width: 720px) { .pd-ps .ps-pt summary { grid-template-columns: 18px minmax(0, 1fr) 128px 12px; } .pd-teaser .rows-grid > li:nth-child(n+13) { display: none; } .pager a, .pager span { min-width: 32px; height: 32px; padding: 0 10px; } }
a.h1-brand { text-decoration: none; }
a.h1-brand:hover { color: var(--accent); }
a.chip { text-decoration: none; }
a.chip:hover { color: var(--accent); }
a.ing-link { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(41, 40, 36, .45); }
a.ing-link:hover { color: var(--accent); border-color: var(--accent); }
.about-byline { margin: -4px 0 16px; font-size: 13px; color: var(--muted); }
.about-byline a { color: var(--accent); text-decoration: none; }
summary:focus:not(:focus-visible), a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
.chip.ing-btn { height: 32px; padding: 0 12px 0 3px; gap: 8px; font-size: 13px; background: var(--white); border: 1px solid var(--hair); }
.chip.ing-btn img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.ing-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ing-hero { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: start; }
.ing-hero > img { width: 132px; height: 132px; border-radius: var(--r-s); border: 1px solid var(--hair); background: #fff; }
@media (max-width: 720px) { .ing-hero { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; } .ing-hero > img { width: 88px; height: 88px; } }
.pair-hero { display: block; width: 100%; height: auto; border-radius: var(--r-s); margin: 4px 0 16px; }
.pair-tbl th .chip.ing-btn { font-weight: 400; }
.thumb img.ing-thumb { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; mix-blend-mode: normal; }

.side .side-sub { margin: 12px 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sec:not(:has(> .ms-in:checked)) li.li-more { display: none; }
.sec:has(> .ms-in:checked) > .ms-open { display: none; }
