/* AMP / Heritage Motion. Restore the original identity, keep the newer functional UI. */
:root{--ah-ease:cubic-bezier(.16,1,.3,1);--ah-blue:#2563eb;--ah-line:#dce5f3}
/* Syne is the existing AMP heading face. Never stretch body text or money totals. */
.amp-site-nav a:first-child>span,
.amp-premium-footer>div>div:first-child>div:first-child>a>span{font-family:Syne,Inter,sans-serif!important;font-weight:700!important;letter-spacing:-.025em!important}
.amp-premium-home .ap-section-heading h2,.amp-premium-home .ap-proof-intro h2,
.amp-premium-home .ap-resource h2,.amp-premium-home .ap-disclaimer h2,
.amp-premium-home .ap-field h3,.amp-refined-shop .rs-intro h1,
.amp-refined-product .rp-product-purchase>h1{font-family:Syne,Inter,sans-serif!important;font-weight:700!important;letter-spacing:-.035em!important}
/* The original pre-Studio hero's markup and copy, isolated from later generic resets. */
.ah-intro{background:#f6f7fa;color:#0b1220;position:relative;isolation:isolate}
.amp-premium-home .ah-hero{min-height:0;padding:46px 0 38px!important;background:#f6f7fa!important;isolation:isolate}
.ah-hero:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(circle at 7% 77%,#12bab922 0 4px,transparent 5px),radial-gradient(circle at 49% 21%,#12bab918 0 5px,transparent 6px),radial-gradient(circle at 76% 8%,#2563eb19 0 3px,transparent 5px),radial-gradient(circle at 93% 70%,#0ba8a123 0 4px,transparent 5px),radial-gradient(ellipse at 82% 55%,#e7eff91c,transparent 55%)}
.ah-hero-container{max-width:1400px!important;padding:30px 40px!important}
.ah-hero-grid{grid-template-columns:minmax(0,1.13fr) minmax(0,1fr)!important;gap:38px!important}
.ah-hero-copy{min-width:0;opacity:1;transform:none}
.amp-premium-home .ah-hero .ah-original-heading{font-family:Syne,Inter,sans-serif!important;font-weight:700!important;letter-spacing:-.032em!important;font-size:clamp(38px,4.65vw,64px)!important;line-height:1.065!important;margin:0 0 24px!important;background:linear-gradient(115deg,#0b1220 15%,#093553 75%,#005c89);color:#0b1220;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-align:left;text-wrap:balance}
.ah-hero .section-label{font:650 11px/1.5 Inter,system-ui,sans-serif;letter-spacing:.13em;max-width:100%;gap:6px;white-space:normal;display:inline-flex;align-items:center;border:1px solid #a7c4ff;border-radius:100px;padding:5px 12px;background:#e1e9ff;color:var(--ah-blue);margin-bottom:20px!important;text-transform:uppercase}
.ah-hero .section-label>svg{flex:none;width:14px;height:14px}
.ah-hero .ah-hero-description{font:400 17px/1.75 Inter,system-ui,sans-serif!important;color:#39424f;max-width:640px!important;margin-bottom:28px!important}
.ah-hero-copy>div.flex.flex-wrap{gap:12px;margin-bottom:27px}
.ah-hero-copy>div.flex.flex-wrap>a{border-radius:12px!important;min-height:47px;font-size:13px;font-weight:650;transition:background .22s,box-shadow .28s,translate .3s var(--ah-ease)}
.ah-hero-copy>div.flex.flex-wrap>a:first-child{background:#2563eb;color:white}
.ah-hero-copy>div.flex.flex-wrap>a:first-child:hover{background:#1d4ed8;box-shadow:0 7px 20px #2563eb20;translate:0 -2px}
.ah-hero-copy>div.flex.flex-wrap>a:last-child{background:#f1f4f8;color:#39424f;border:1px solid #e5eaf1}
.ah-hero-copy>div.flex.flex-wrap>a svg{transition:translate .3s var(--ah-ease)}
.ah-hero-copy>div.flex.flex-wrap>a:hover svg{translate:3px 0}
.ah-hero-art{height:440px!important;min-width:0;display:flex!important}
.ah-hero-art>div.relative{width:330px;max-width:100%}
.ah-hero-art img{width:330px!important;height:330px!important;object-fit:contain!important;animation:ah-float 7s ease-in-out infinite!important;filter:none!important}
.ah-hero-art .animate-float-badge{animation:ah-badge 8s ease-in-out infinite!important;white-space:nowrap;font-size:11px!important;padding:10px 13px!important;background:#ffffffed!important;border-color:#dde4ee!important;backdrop-filter:blur(6px)}
.ah-hero-art .animate-float-badge:nth-of-type(1){top:2px!important;right:-76px!important}
.ah-hero-art .animate-float-badge:nth-of-type(2){top:46%!important;left:-85px!important;animation-delay:-2.2s!important}
.ah-hero-art .animate-float-badge:nth-of-type(3){top:65%!important;right:-78px!important;animation-delay:-4.6s!important}
.ah-hero-art .animate-pulse{animation:none!important;opacity:.85}
.ah-hero .animate-glow-pulse{animation:none!important}
@keyframes ah-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
@keyframes ah-badge{0%,100%{translate:0 0}50%{translate:0 -5px}}
/* Seamless two-copy marquees: half-track translation, not a guessed pixel distance. */
.ah-marquee{position:relative;padding:26px 0 39px;overflow:hidden;border-top:1px solid #e6edf7;border-bottom:1px solid #e3eaf5;background:linear-gradient(110deg,#e9f0fb44,#f6f7fa 45%,#edf5fa77)}
.ah-marquee-window{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent)}
.ah-marquee-track{display:flex;width:max-content;animation:ah-marquee 40s linear infinite;will-change:transform}
.ah-marquee-group{display:flex;flex:0 0 auto;min-width:100vw;align-items:center;justify-content:space-around;white-space:nowrap}
.amp-premium-home .ah-marquee-group>span{font:700 clamp(28px,3.5vw,50px)/1.2 Syne,Inter,sans-serif!important;letter-spacing:-.025em!important;color:#0b1220;display:block;padding:0 clamp(12px,1.4vw,27px);user-select:none}
.ah-marquee-group>span.is-blue{color:#2563eb!important}
.ah-marquee-secondary{margin-top:12px}
.ah-marquee-secondary .ah-marquee-track{animation-duration:58s;animation-direction:reverse}
.amp-premium-home .ah-marquee-secondary .ah-marquee-group>span{font:600 clamp(12px,1.4vw,19px)/1.5 Syne,Inter,sans-serif!important;letter-spacing:0!important;color:#6b788c}
.ah-motion-toggle{position:absolute;right:18px;bottom:7px;display:inline-flex;align-items:center;gap:5px;min-height:26px;border:0;background:none;border-radius:6px;padding:3px 6px;color:#657893;font:500 10px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
.ah-motion-toggle:hover{color:#2563eb;background:#e7eefb}
.ah-motion-toggle:disabled{cursor:default;opacity:.75}
.ah-intro[data-motion-paused=true] :is(.ah-marquee-track,.animate-float-bob,.animate-float-badge){animation-play-state:paused!important}
.ah-marquee:hover .ah-marquee-track,.ah-marquee:focus-within .ah-marquee-track{animation-play-state:paused!important}
@keyframes ah-marquee{to{transform:translateX(-50%)}}
/* Restore the white enclosed cards shown in the reference image. */
:is(.amp-refined-shop,.amp-premium-home,.amp-refined-product,.mv-related) article.ap-product-card{border:1px solid #d9e4f3!important;border-radius:17px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 2px 2px #12213e02!important;position:relative;isolation:isolate;transition:box-shadow .4s var(--ah-ease),border-color .3s!important}
.ap-product-card>a.ap-card-image{border:0!important;border-bottom:1px solid #edf2f7!important;border-radius:0!important;aspect-ratio:1/1.02!important;background:radial-gradient(ellipse at 48% 34%,#fff 0%,#f1f5fa 85%)!important;box-shadow:none!important;overflow:hidden}
.ap-product-card>a.ap-card-image>img{width:92%!important;height:92%!important;filter:drop-shadow(0 8px 8px #112a4f0d)!important;transition:transform .8s var(--ah-ease)!important}
.ap-product-card .ah-purity-pill{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:99px;background:#159a8b16;border:1px solid #1487784d;color:#087d6d;font:650 10px/1.35 Inter,system-ui,sans-serif}
.ah-purity-pill .ap-icon{width:12px;height:12px}
.ap-product-card>.amp-product-card-content.ap-card-content{padding:16px!important;grid-template-rows:max-content max-content max-content max-content minmax(0,1fr) max-content max-content max-content max-content!important}
.ap-product-card>.ap-card-content>.ap-card-category{grid-row:1;font:650 9px/1.4 Inter,system-ui,sans-serif!important;letter-spacing:.055em!important;color:#2563eb!important;margin:0 0 6px!important}
.ap-product-card>.ap-card-content>.ah-card-stock{grid-row:2;position:static!important;justify-self:start!important;width:max-content!important;max-width:100%;display:inline-flex;padding:3px 8px!important;border:0;background:#12877910!important;color:#087565!important;border-radius:40px;min-height:20px!important;font:600 10px/1.4 Inter,system-ui,sans-serif!important;margin:0 0 8px!important}
.ap-product-card>.ap-card-content>.ah-card-stock.is-out{color:#6d7787!important;background:#eef1f5!important}
.ap-product-card>.ap-card-content>.ap-card-name{grid-row:3;margin:0 0 5px!important}
.ap-product-card>.ap-card-content>.amp-card-sizes{grid-row:4;margin:0 0 8px!important;color:#4a5669!important;font:400 12px/1.5 Inter,system-ui,sans-serif!important}
.ap-product-card>.ap-card-content>.ap-card-rating{grid-row:6}
.ap-product-card>.ap-card-content>.ap-card-offer{grid-row:7}
.ap-product-card>.ap-card-content>.amp-price-figure{grid-row:8;font-size:25px!important;letter-spacing:-.035em!important;margin:4px 0 10px!important}
.ap-product-card>.ap-card-content>button.ap-card-add{grid-row:9;min-height:44px!important;border-radius:11px!important;font-size:12px!important;padding:11px 10px!important;box-shadow:0 2px 5px #2563eb12!important}
.ap-product-card>.ap-card-content h3{font:750 16px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:-.025em!important;color:#0e1829!important}
.ap-product-card>.ap-card-content .ap-card-offer{display:flex;align-items:center;gap:7px;min-height:18px;margin:0!important}
.ap-product-card .ap-card-offer>del{font:450 10px/1.5 Inter,system-ui,sans-serif;color:#6a788e}
.ap-product-card .ap-card-offer>span{font:700 9px/1.4 Inter,system-ui,sans-serif;padding:2px 6px;background:#e6edff;color:#2563eb;border-radius:8px}
/* Small stars use actual fractional fills (4.9 is not rounded up to five). */
.ap-product-card>.ap-card-content>.ah-card-rating{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;max-width:100%;width:fit-content!important;line-height:1!important;margin:0 0 6px!important;color:#273447;font:500 11px/1.5 Inter,system-ui,sans-serif!important;white-space:nowrap}
.ah-rating-stars{display:inline-flex;gap:1px;align-items:center;flex:none}
.ah-rating-star{display:block;position:relative;width:13px;height:13px;flex:0 0 13px}
.ah-rating-star>svg,.ah-star-fill>svg{display:block!important;width:13px!important;height:13px!important;min-width:13px!important;max-width:none!important;fill:#dee5ee;stroke:none!important;position:static!important}
.ah-star-fill{position:absolute;inset:0 auto 0 0;display:block;overflow:hidden;height:13px}
.ah-star-fill>svg{fill:#d97b00!important}
.ah-rating-count{font-weight:450;color:#758197;font-size:10px}
.ah-rating-score{font-weight:650;color:#17233a;font-variant-numeric:tabular-nums}
@media(hover:hover) and (pointer:fine){
 :is(.amp-refined-shop,.amp-premium-home,.amp-refined-product,.mv-related) article.ap-product-card:hover{border-color:#b4cff4!important;box-shadow:0 10px 30px #1847800d!important}
 .ap-product-card>a.ap-card-image:hover>img{transform:translateY(-4px) scale(1.045)!important}
 .ap-product-card .ap-card-add:hover:not(:disabled) .ap-icon{transform:none!important;translate:2px 0}
 .ap-product-card .ap-card-add.is-added .ap-icon{translate:0 0}
 .ap-field>img{transition:transform .9s var(--ah-ease)!important}
}
/* Share the selected variant rather than an ambiguous product URL. */
.ah-share-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.ah-share-button{display:inline-flex;align-items:center;gap:6px;color:#4c698e;background:#f4f7fc;border:1px solid #e1e9f4;border-radius:8px;padding:6px 9px;font:550 11px/1.5 Inter,system-ui,sans-serif;cursor:pointer;min-height:30px;transition:background .22s,color .22s}
.ah-share-button:hover{background:#eaf1ff;color:#2563eb}
.ah-share-button svg{width:14px;height:14px;flex:none}
.ah-share-fallback{flex-basis:100%;font:500 11px/1.5 Inter,system-ui,sans-serif;color:#516a8b;min-width:0}
.ah-share-fallback input{display:block;width:100%;font:400 12px/1.5 Inter,system-ui,sans-serif;border:1px solid #cddaf0;border-radius:8px;margin-top:5px;padding:8px}
.ah-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ah-rail-controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:20px;color:#dbe7ff}
.ah-rail-controls>span{font:450 12px/1.4 Inter,system-ui,sans-serif;margin-right:auto}
.ah-rail-controls>button{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid #ffffff40;background:#ffffff10;color:#fff;cursor:pointer;transition:background .2s,opacity .2s}
.ah-rail-controls>button:hover:not(:disabled){background:#2563eb}
.ah-rail-controls>button:disabled{opacity:.35;cursor:default}
.ah-back-arrow{rotate:180deg}
.ap-report-rail{scroll-behavior:smooth;scroll-padding-inline:1px;overscroll-behavior-x:contain}
@media(max-width:1199px){.ah-hero-grid{gap:20px!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important}.ah-hero-art .animate-float-badge:nth-of-type(1){right:-32px!important}.ah-hero-art .animate-float-badge:nth-of-type(2){left:-35px!important}.ah-hero-art .animate-float-badge:nth-of-type(3){right:-28px!important}.ah-hero-art>div.relative{width:285px}.ah-hero-art img{width:285px!important;height:285px!important}}
@media(max-width:1023px){.ah-hero-art{display:none!important}.ah-hero-grid{grid-template-columns:minmax(0,1fr)!important}.amp-premium-home .ah-hero{padding:20px 0 28px!important}.ah-hero-container{padding:28px 32px!important}.ah-hero-copy{max-width:740px;margin:auto;width:100%}.amp-premium-home .ah-hero .ah-original-heading{font-size:clamp(36px,6vw,59px)!important;max-width:700px}.ah-hero .ah-hero-description{font-size:16px!important}.ah-marquee{padding-top:22px}}
@media(max-width:767px){
 .ah-hero-container{padding:18px 20px!important}.amp-premium-home .ah-hero{padding:10px 0 18px!important}
 .amp-premium-home .ah-hero .ah-original-heading{font-size:clamp(29px,7.85vw,46px)!important;line-height:1.11!important;letter-spacing:-.04em!important;margin-bottom:18px!important}
 .ah-hero .section-label{font-size:9px;letter-spacing:.075em;padding:5px 8px;margin-bottom:15px!important}
 .ah-hero .ah-hero-description{font-size:13px!important;line-height:1.75!important;margin-bottom:20px!important}
 .ah-hero-copy>div.flex.flex-wrap>a{font-size:11px;min-height:43px;padding:10px 13px}
 .ah-hero-copy>div.flex.flex-wrap{gap:8px;margin-bottom:20px}
 .ah-hero-copy>div.flex.grid{font-size:10px;gap:7px 8px}
 .ah-marquee{padding:18px 0 37px}.ah-marquee-secondary{margin-top:8px}
 .ap-product-card>.amp-product-card-content.ap-card-content{padding:12px!important}
 .ap-product-card>.ap-card-content h3{font-size:15px!important;line-height:1.28!important}
 .ap-product-card>.ap-card-content>.ap-card-category{font-size:8px!important;line-height:1.5!important;letter-spacing:.035em!important}
 .ap-product-card>.ap-card-content>.amp-card-sizes{font-size:11px!important}
 .ap-product-card>.ap-card-content>.amp-price-figure{font-size:24px!important}
 .ap-product-card>.ap-card-content>button.ap-card-add{font-size:11px!important;gap:5px!important;padding:10px 6px!important}
 .ap-product-card .ah-purity-pill{top:9px;left:9px;font-size:8.5px;padding:3px 6px;gap:3px}
 .ah-purity-pill .ap-icon{width:10px;height:10px}
 .ap-product-card>.ap-card-content>.ah-card-rating{gap:4px!important;font-size:10px!important}
 .ah-rating-star,.ah-rating-star>svg,.ah-star-fill>svg{width:11px!important;height:11px!important;min-width:11px!important;flex-basis:11px}.ah-star-fill{height:11px}
 .ah-rating-stars{gap:0}.ah-rating-count{font-size:9.5px}
 .amp-premium-home .ap-field h3{font-size:clamp(17px,4.4vw,24px)!important;letter-spacing:-.04em!important}
 .amp-premium-home .ap-section-heading h2{font-size:clamp(26px,6.8vw,34px)}
}
@media(max-width:359px){.ap-product-card>.amp-product-card-content.ap-card-content{padding:10px!important}.ap-product-card>.ap-card-content h3{font-size:14px!important}.ap-product-card>.ap-card-content>.amp-card-sizes{font-size:10px!important}.ap-product-card>.ap-card-content>.ah-card-rating{gap:3px!important}.ah-rating-count{font-size:9px}.ap-product-card>.ap-card-content>.amp-price-figure{font-size:22px!important}.ah-hero-container{padding-inline:16px!important}.ah-hero-copy>div.flex.grid{font-size:9px}}
@media(prefers-reduced-motion:reduce){
 .ah-intro *{animation:none!important;transition:none!important}
 .ah-marquee-track{transform:none!important;will-change:auto}
 .ah-marquee-window{mask-image:none}
 .ah-marquee-group{min-width:0;flex-wrap:wrap;white-space:normal;justify-content:center;width:100%;gap:6px 0}
 .ah-marquee-track{width:100%}.ah-marquee-group[aria-hidden=true]{display:none}
 .ah-marquee-group>span:nth-child(n+5){display:none}
 .ah-marquee-secondary .ah-marquee-group>span:nth-child(5){display:block}
 .ah-hero-art img,.ah-hero-art .animate-float-badge{translate:none!important}
 .ap-product-card,.ap-product-card *,.ap-field>img,.ah-share-button,.ah-rail-controls>button{animation:none!important;transition:none!important;translate:none!important}
 .ap-report-rail{scroll-behavior:auto}
}
/* Keep the wider original wordmark and long product names inside narrow screens. */
.amp-refined-product .rp-product-purchase>h1{overflow-wrap:anywhere;max-width:100%;line-height:1.12!important}
@media(max-width:767px){.amp-site-nav a:first-child>span{font-size:15px!important}.amp-refined-product .rp-product-purchase>h1{font-size:clamp(26px,7.2vw,36px)!important}}
@media(max-width:359px){.amp-site-nav a:first-child>span{font-size:14px!important}}
