/* Scoped to the SPF 50 review; shared product pattern ready for later rollout. */
.spf-brushup .spf-product-intro{align-items:start;gap:6%;padding-bottom:40px}
.spf-brushup .spf-gallery{position:sticky;top:100px}
.spf-brushup .spf-product-copy h1{font-size:clamp(34px,3vw,48px);margin-bottom:12px}
.spf-brushup .spf-product-promise{font-size:22px;margin:12px 0}
.spf-brushup .spf-product-summary{font-size:17px;line-height:1.45;margin:12px 0}
.spf-brushup .spf-key-benefits{padding:14px 0;gap:10px;font-size:14px}
.spf-brushup .spf-format{margin:14px 0}
.spf-brushup .spf-intro-actions .manual-button{padding:12px 20px;font-size:16px}
.spf-brushup .product-reference{margin-top:22px;scroll-margin-top:100px}
.spf-brushup .reference-heading{font:600 22px/1.2 CareCadet;margin:0 0 12px}
.spf-brushup .reference-credentials{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;padding-bottom:14px}
.spf-brushup .reference-credentials span:before{content:'✓ ';}
.spf-brushup .product-reference .manual-data{border-top:1px solid #092bb830;margin:0;padding:0}
.spf-brushup .product-reference summary{font-size:17px;padding:13px 0;cursor:pointer}
.spf-brushup .product-reference details p,.spf-brushup .product-reference .sun-details-list{font:400 15px/1.5 CareComfortaa;overflow-wrap:anywhere;padding:4px 0 16px;margin:0}
.spf-brushup .product-reference .sun-details-list{display:block;padding-left:18px}
.spf-brushup .product-reference li{margin:8px 0}
.spf-brushup .life-origin-photo,.spf-brushup .life-clear-stage>img,.spf-brushup .life-tone-study{transform:none!important}
.spf-brushup .product-origin-editorial{padding-block:32px;align-items:center}
.spf-brushup .origin-story h2{font-size:clamp(28px,3vw,40px)}
.spf-brushup .origin-story>p:not(.manual-kicker){font-size:18px;line-height:1.5}
.spf-brushup .life-origin-photo{height:230px}
.spf-brushup #reglas .story-lead-copy h3{font-size:clamp(30px,3.3vw,46px)!important}
.spf-brushup #reglas .story-panel h3{font-size:23px}
.spf-brushup #reglas .story-panel h3:after{display:none}
.spf-brushup #reglas .story-panel:not(.story-lead-copy){border-top:1px solid #092bb830!important}
.spf-brushup #reglas .story-panel>p{font-size:17px}
.spf-brushup #reglas .sun-care-notes{display:flex;gap:40px;border-top:1px solid #092bb830;margin-top:20px;padding:20px 0 0}
.spf-brushup #reglas .sun-care-notes p{padding-left:0}
.spf-brushup #reglas .life-tone-study{inset:4% 0 20%;gap:8px}
.spf-brushup .life-tone-study span{flex:1;opacity:.75;transition:flex 900ms ease,opacity 900ms ease;border-radius:60px 60px 8px 8px}
.spf-brushup .life-tone-study span.tone-active{flex:2.5;opacity:1}
.spf-brushup .life-tone-study span:after{display:none}
.spf-brushup .tone-controls{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:10px;z-index:3;flex-wrap:wrap}
.spf-brushup .tone-controls button{width:26px;height:26px;border:3px solid #dcebf1;background:var(--tone);border-radius:50%;cursor:pointer;outline:1px solid transparent;outline-offset:2px}
.spf-brushup .tone-controls button[aria-pressed=true]{outline-color:#092bb8}
.spf-brushup .tone-controls span{width:100%;text-align:center;font:400 16px CareComfortaa;margin-top:5px}
@media(max-width:800px){
 .spf-brushup .spf-gallery{position:static}
 .spf-brushup .spf-product-intro{grid-template-columns:1fr}
 .spf-brushup #reglas .sun-care-notes{gap:20px;flex-wrap:wrap}
 .spf-brushup .life-origin-photo{display:block;grid-column:1/-1;width:100%;height:220px;object-position:center 30%}
 .spf-brushup #reglas .story-stage,.spf-brushup #reglas .story-art{height:350px!important}
 .spf-brushup .product-origin-editorial{grid-template-columns:1fr 1.4fr;gap:20px}
}
@media(prefers-reduced-motion:reduce){.spf-brushup .life-tone-study span{transition:none}}
.spf-brushup #formula.product-reference{display:block;padding:0;margin-top:20px}
.spf-brushup #formula.product-reference .manual-data summary{font-size:17px;padding:12px 0}
.spf-brushup #formula.product-reference .manual-data p{font-size:15px!important}
.spf-brushup #formula.product-reference .reference-heading{margin:0 0 10px}

.spf-brushup .life-origin-photo{object-fit:cover;object-position:50% 28%}

/* Small benefit illustrations retain the existing ink-and-paper vocabulary. */
.spf-brushup #reglas .story-panel:not(.story-lead-copy){position:relative;padding-left:56px!important}
.spf-brushup .spf-benefit-icon{position:absolute;left:0;top:15px;width:40px;height:40px;fill:none;stroke:#a75438;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* Final claim hierarchy: a single usage disclosure, with illustrated formula facts. */
.spf-brushup #formula.product-reference #product-use{border:0;margin-bottom:10px}
.spf-brushup #formula.product-reference #product-use summary{background:#092bb8;color:#fff8ed;border-radius:12px;padding:16px 20px;font-size:18px}
.spf-brushup #product-use summary:focus-visible{outline:3px solid #b47847;outline-offset:4px}
.spf-brushup #formula.product-reference #product-use p{padding:16px 4px}
.spf-brushup #reglas .composition-window{row-gap:8px}
.spf-brushup #reglas .story-track{gap:8px 24px;align-content:start}
.spf-brushup #reglas .story-lead-copy{padding-top:0!important}
.spf-brushup #reglas .story-lead-copy h3{margin:6px 0 12px}
.spf-brushup #reglas .story-stage,.spf-brushup #reglas .story-art{height:350px!important;align-self:start}
.spf-brushup #reglas .sun-care-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:16px 0 0;margin-top:14px}
.spf-formula-claim{display:flex;align-items:center;gap:12px;min-width:0}
.spf-formula-claim svg{width:105px;height:100px;flex-shrink:0;fill:none;stroke:#092bb8;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.spf-brushup #reglas .spf-formula-claim h3{font:600 clamp(20px,1.8vw,27px)/1.15 CareCadet;margin:0;max-width:260px}
@media(min-width:801px) and (max-height:760px){
 .spf-brushup #reglas{padding-block:22px}
 .spf-brushup #reglas .story-stage,.spf-brushup #reglas .story-art{height:315px!important}
 .spf-brushup #reglas .story-panel h3{font-size:21px}
 .spf-brushup #reglas .story-panel>p{font-size:16px;line-height:1.3}
 .spf-formula-claim svg{width:80px;height:80px}
}
@media(max-width:800px){
 .spf-brushup #reglas .sun-care-notes{grid-template-columns:1fr;gap:18px}
 .spf-formula-claim{padding-top:10px;border-top:1px solid #092bb820}
 .spf-brushup #reglas .spf-formula-claim h3{font-size:25px}
}

/* A quiet beach vignette closes the SPF 50 story. */
:is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end{background:#e2ecdf;isolation:isolate;overflow:hidden;padding:66px 8% 85px;min-height:410px;box-sizing:border-box}
:is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end>span{position:relative;z-index:2;display:block;font:600 clamp(15px,1.4vw,21px)/1.4 CareCadet;letter-spacing:.09em}
:is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end h2,:is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end>a{position:relative;z-index:2}
:is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end .life-end-icon{right:7%;top:30px;width:85px;height:85px;color:#8b402b}
.ending-sand{position:absolute;bottom:-2px;left:0;width:49%;height:auto;z-index:0;opacity:0;transform:translateY(30px);transition:transform 1.5s ease,opacity 1.2s ease;pointer-events:none}
.ending-palm{position:absolute;right:4%;bottom:0;width:clamp(150px,18vw,250px);height:auto;z-index:1;opacity:0;transform:translateY(48px) rotate(3deg);transform-origin:bottom center;transition:transform 1.6s cubic-bezier(.2,.65,.2,1) .15s,opacity 1s ease .15s;pointer-events:none}
.manual-end.life-arrived .ending-sand,.manual-end.life-arrived .ending-palm{opacity:1;transform:translateY(0) rotate(0)}
@media(max-width:650px){
 :is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end{padding:42px 7% 140px;min-height:440px}
 :is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end>span{font-size:15px;max-width:290px;margin:auto}
 :is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end .life-end-icon{width:46px;height:46px;top:auto;bottom:100px;right:8%}
 .ending-palm{width:115px;right:1%;bottom:-5px}
 .ending-sand{width:90%}
}
@media(prefers-reduced-motion:reduce){.ending-sand,.ending-palm{opacity:1;transform:none;transition:none}}
.life-paused .ending-sand,.life-paused .ending-palm{opacity:1;transform:none;transition:none}

/* Reuse the same painted blue-and-yellow palm as the homepage beach. */
:is(.spf-brushup,.manual-kids) .ending-palm{right:2%;width:clamp(170px,20vw,280px)}
:is(.spf-brushup,.manual-kids,.manual-after-sun) .manual-end .life-end-icon{color:#092bb8}
@media(max-width:650px){:is(.spf-brushup,.manual-kids) .ending-palm{width:125px;right:0;bottom:-12px}}
/* Consistent sky-blue check circles for Dry Touch. */
.spf-brushup .spf-key-benefits li:before{display:inline-block;background:#cfe5f2;border-radius:50%;width:21px;height:21px;text-align:center;line-height:21px}
.spf-brushup .spf-key-benefits li:nth-child(even):before{background:#cfe5f2}
.manual-kids .kids-product-reference{margin-top:22px;scroll-margin-top:100px}
.manual-kids .kids-product-reference .manual-data{margin:0;padding:0;border-top:1px solid #092bb830}
.manual-kids .kids-product-reference .manual-data summary{font:600 17px/1.3 CareCadet;padding:12px 0;cursor:pointer}
.manual-kids .kids-product-reference #product-use{border:0;margin-bottom:10px}
.manual-kids .kids-product-reference #product-use summary{background:#092bb8;color:#fff8ed;border-radius:12px;padding:16px 20px;font-size:18px}
.manual-kids .kids-product-reference summary:focus-visible{outline:3px solid #b47847;outline-offset:4px}
.manual-kids .kids-product-reference .manual-data p{font:400 15px/1.5 CareComfortaa!important;overflow-wrap:anywhere;padding:16px 4px;margin:0}
.product-origin-first{padding:32px 8%;align-items:center}
.product-origin-first:has(.life-origin-photo){grid-template-columns:.8fr 1.2fr .65fr;gap:35px}
.product-origin-first .origin-story h2{font-size:clamp(28px,3vw,40px)}
.product-origin-first .origin-story>p:not(.manual-kicker){font-size:18px;line-height:1.5}
.product-origin-first .life-origin-photo{height:230px;transform:none;object-fit:cover;object-position:center}
.origin-kids{background:#e2eddf}.origin-kids .origin-signature em{color:#a65a3e}
.origin-after-sun{background:#e7ddef}.origin-after-sun .origin-signature em{color:#80508e}
.origin-wipes{background:#f1dfe8}.origin-wipes .origin-signature em{color:#80508e}
.origin-wipes .life-origin-photo{object-fit:contain}
@media(max-width:800px){
 .product-origin-first:has(.life-origin-photo){grid-template-columns:1fr 1.4fr;gap:20px}
 .product-origin-first .life-origin-photo{display:block;grid-column:1/-1;width:100%;height:220px}
}
@media(max-width:550px){
 .product-origin-first:has(.life-origin-photo){grid-template-columns:1fr;padding:32px 7%}
 .product-origin-first .origin-signature strong{font-size:48px}
 .product-origin-first .origin-signature{padding:16px 0}
}

/* Shared full-width disclosure geometry: no inset usage button or drifting plus. */
.manual-page .spf-product-copy .aligned-product-reference{width:100%;min-width:0;margin-top:22px}
.manual-page .spf-product-copy .aligned-product-reference .manual-data{width:100%;margin:0;padding:0;border-top:1px solid #092bb830;box-sizing:border-box}
.manual-page .spf-product-copy .aligned-product-reference .manual-data summary{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;max-width:none;box-sizing:border-box;padding:14px 20px;font:600 17px/1.3 CareCadet;list-style:none;cursor:pointer}
.manual-page .spf-product-copy .aligned-product-reference summary::-webkit-details-marker{display:none}
.manual-page .spf-product-copy .aligned-product-reference summary>span{position:static;float:none;flex:0 0 20px;width:20px;margin:0;text-align:center;font-size:20px;line-height:1}
.manual-page .spf-product-copy .aligned-product-reference #product-use{border:0;margin:0 0 10px}
.manual-page .spf-product-copy .aligned-product-reference #product-use summary{width:100%;padding:16px 20px;background:#092bb8;color:#fff8ed;border-radius:12px;font-size:18px}
.manual-page .spf-product-copy .aligned-product-reference .manual-data p{font:400 15px/1.5 CareComfortaa!important;overflow-wrap:anywhere;padding:16px 20px;margin:0}
.manual-page .spf-product-copy .aligned-product-reference summary:focus-visible{outline:3px solid #b47847;outline-offset:3px}
/* Override the legacy Dry Touch ID rule so every plus shares one column. */
.manual-page .spf-product-copy .aligned-product-reference .manual-data summary{padding-inline:20px!important}
.manual-kids #por-que-kids .story-panel{position:relative}
.manual-kids .kids-feature-icon{width:42px;height:42px;display:block;margin-bottom:10px;fill:none;stroke:#092bb8;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
/* Keep the original colored annotations alongside the new line drawings. */
.manual-kids #por-que-kids .reason-mark,.manual-kids #por-que-kids .reason-tag{display:inline-block}
.manual-kids #por-que-kids .kids-feature-icon{float:right;margin:0 0 8px 12px}
.manual-kids #por-que-kids .story-panel h3{clear:both}

/* Kids keeps its orbit and colored labels within the compact Dry Touch layout. */
.manual-kids #por-que-kids{padding-block:28px}
.manual-kids #por-que-kids .manual-section-heading{margin-bottom:12px!important}
.manual-kids #por-que-kids .composition-window{gap:12px 5%;grid-template-columns:.85fr 1.15fr}
.manual-kids #por-que-kids .story-track{gap:10px 24px}
.manual-kids #por-que-kids .story-panel{border-top:1px solid #092bb830!important;padding:12px 0!important}
.manual-kids #por-que-kids .story-panel h3{font-size:23px;line-height:1.12;margin:12px 0 8px}
.manual-kids #por-que-kids .story-panel p{font-size:16px;line-height:1.4;margin:0}
.manual-kids #por-que-kids .kids-feature-icon{width:32px;height:32px}
.manual-kids #por-que-kids .story-stage,.manual-kids #por-que-kids .kids-orbit-stage{height:340px!important;align-self:center}
.kids-formula-claims{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-top:1px solid #092bb830;margin-top:16px;padding-top:14px}
.kids-formula-claims .spf-formula-claim h3{font:600 clamp(20px,1.8vw,27px)/1.15 CareCadet;margin:0}
.kids-formula-claims .spf-formula-claim svg{width:90px;height:85px}
@media(max-width:800px){
 .manual-kids #por-que-kids .composition-window{grid-template-columns:1fr}
 .kids-formula-claims{grid-template-columns:1fr;gap:10px}
}

/* Intrinsic mobile rows must grow when product disclosures open. */
@media(max-width:800px){
 .manual-page .spf-product-intro{height:auto!important;min-height:0;max-height:none;row-gap:30px!important;padding-bottom:48px!important;overflow:visible}
 .manual-page .spf-product-copy{min-width:0;height:auto;max-height:none}
 .manual-page .aligned-product-reference{height:auto;max-height:none;margin-bottom:0}
 .manual-kids #por-que-kids .kids-orbit-stage{position:relative!important;isolation:isolate;display:block!important;background:transparent;height:310px!important;overflow:visible}
 .manual-kids #por-que-kids .kids-orbit-stage:before{content:'';position:absolute;left:8%;top:calc(50% - 95px);width:84%;height:190px;border:1px solid #b77a4480;border-radius:50%;transform:rotate(-9deg)}
 .manual-kids #por-que-kids .kids-benefit-orbit{display:contents}
 .manual-kids #por-que-kids .kids-benefit-orbit span{position:absolute;top:50%;left:50%;white-space:nowrap;font:600 16px/1.1 CareCadet;padding:2px;background:transparent;transform:var(--mobile-orbit-transform)!important;opacity:var(--mobile-orbit-opacity)!important}
 .manual-kids #por-que-kids .story-kids-product-note{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;height:100%;width:100%;min-height:0;z-index:1;background:transparent}
 .manual-kids #por-que-kids .story-kids-product-note>img{height:245px!important;width:auto!important;max-width:35%;object-fit:contain}
 .manual-kids #por-que-kids .story-kids-product-note figcaption{display:none}
}

@media(max-width:800px){.manual-kids #por-que-kids .story-stage{background:transparent!important}}

/* After Sun: green check circles matching the sunscreen benefit markers. */
.manual-after-sun .spf-key-benefits li:before{display:inline-block;background:#d8e6d7;color:#315b42;border-radius:50%;width:21px;height:21px;text-align:center;line-height:21px}


/* Give Kids benefit headings more breathing room. */
.manual-kids #por-que-kids h2,.manual-kids #por-que-kids h3{letter-spacing:.015em;line-height:1.18}
.manual-kids #por-que-kids .reason-mark{letter-spacing:.015em}

.manual-after-sun .manual-end{background:#e7d9ed}
.manual-after-sun .manual-end h2 em{box-shadow:inset 0 -.2em #fff2bd}
.manual-after-sun .manual-end .manual-button{background:#d8e6d7}
