/* Part 6: layout and accessibility; existing animation definitions are retained. */
:root{--header-clearance:112px;--accessible-muted:#4b5b68}
[id]{scroll-margin-top:var(--header-clearance)!important}
.glass-header,.glass-header.scrolled{background:rgba(245,243,236,.96)!important;box-shadow:0 8px 28px #14283e12!important}
.fine,.purchase-note,.snapshot-note,.routine-note,.gallery-note{color:var(--accessible-muted);opacity:1}
:is(.motion-collection,.bottle-journey,.evidence-module,.visual-benefits,footer) :is(.fine,.purchase-note,.snapshot-note,.routine-note,.gallery-note){color:#e3e9ed}
.capsule-note,.team-card p,.review-excerpts small{color:var(--accessible-muted)!important;opacity:1!important}
input::placeholder{color:#586673;opacity:1}
.poh-lockup{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:14px;width:auto!important;height:auto!important;max-width:100%;font-family:'Instrument Sans',Arial,sans-serif;font-size:clamp(18px,2vw,26px);line-height:1.15;font-weight:500;text-align:left}
.poh-lockup>img{position:static!important;display:block;width:88px!important;height:88px!important;object-fit:contain;flex:none;mix-blend-mode:normal!important}
.poh-lockup>span{font-size:inherit;letter-spacing:normal;max-width:180px}
.brand-clarity>.poh-lockup{justify-content:center}
.brand-parent-logo{display:flex;justify-content:center}
.parent-brand .poh-lockup{gap:10px;font-size:18px}
.parent-brand .poh-lockup>img{width:48px!important;height:48px!important}
.parent-brand .parent-logo-link{gap:20px;flex-wrap:wrap}
.family-image{padding:66px 26px 32px!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:0}
.family-image img,.original-card .family-image img,.family-image.plus-image img,.five-family-grid .original-card .family-image img{width:100%!important;height:100%!important;max-height:100%;min-height:0!important;min-width:0!important;object-fit:contain!important;object-position:center center;flex:0 1 auto}
.rail-art{display:flex;align-items:center;justify-content:center}
.rail-art img{object-fit:contain;max-height:100%}
.purchase-line{font-size:14px;line-height:1.6;color:var(--accessible-muted)}
.not-found-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px}
@media(max-width:767px){
 .gallery-thumbnails button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border:0!important;background:transparent!important;display:inline-flex!important;align-items:center;justify-content:center}
 .gallery-thumbnails button[aria-pressed=true]{background:transparent!important}
 .gallery-thumbnails button::after{content:"";width:10px;height:10px;border-radius:50%;border:1px solid var(--navy);background:transparent}
 .gallery-thumbnails button[aria-pressed=true]::after{background:var(--navy)}
 .pdp-opening{display:flex!important;flex-direction:column!important}
 .pdp-opening .product-copy{order:0;position:static!important;top:auto!important;min-width:0}
 .pdp-opening .product-gallery{order:1;min-width:0}
 .product-copy>.purchase-line{order:7!important;margin:8px 0!important}
 .pdp-sticky-buy{left:8px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;gap:8px!important;padding:8px!important;min-height:64px!important}
 .pdp-sticky-buy[hidden]{display:none!important}
 .pdp-sticky-buy>img{width:28px!important;height:42px!important}
 .pdp-sticky-buy>span{flex:none;gap:3px}
 .pdp-sticky-buy b{font-size:13px!important}.pdp-sticky-buy small{font-size:12px!important}
 .pdp-sticky-buy .button{margin-left:auto;flex:1;min-width:0!important;min-height:44px!important;font-size:12px!important;line-height:1.3;text-align:center;padding:9px 12px!important}
 .capsule-experience{height:160svh!important;min-height:0!important}
 .capsule-sticky{height:100svh!important;min-height:0!important;max-height:none!important;padding-bottom:28px!important}
 a,button,summary{min-height:44px;min-width:44px}
 a:not(.rail-card):not(.journal-card):not(.family-image):not(.nutrient-reading-card):not(.glass-benefit):not(.mobile-product-row):not(.gallery-inside):not(.ingredient-guide-card){display:inline-flex;align-items:center}
 .language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:44px!important;min-height:44px!important}
 .glass-header #menu{width:44px!important;min-width:44px!important;min-height:44px!important}
 footer a{min-height:44px;line-height:1.4}
 .family-image{padding:68px 20px 28px!important}
 .poh-lockup>img{width:64px!important;height:64px!important}
 .parent-brand .poh-lockup>img{width:48px!important;height:48px!important}
}
@media(max-width:479px){
 .glass-header .head-actions>.button{display:none!important}
 .glass-header .head-actions>.language-switch{display:flex!important}
 .glass-header .head-actions{gap:5px!important}
 .glass-header .language-switch{padding:0!important;height:46px!important}
 .glass-header .logo img,.home-page .glass-header .logo img{width:104px!important;max-width:104px!important}
 .mobile-routine-link{display:flex!important;margin-top:20px;justify-content:center}
}
@media(min-width:480px){.mobile-routine-link{display:none!important}}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .capsule-experience{height:auto!important}.capsule-sticky{height:auto!important;min-height:640px!important;position:relative!important}
}

/* Consistent alpha packshots on the site's own surfaces. Motion is unchanged. */
/* Let the book's existing A−/A+ controls scale its paragraphs in both languages. */
html body #main .reader-shell #book-page p{font-size:inherit!important;line-height:1.6!important}
.reader-note a{display:inline-flex;align-items:center;min-height:44px;line-height:1.4;max-width:100%}
img:is([src$="/oralvit-bottle.webp"],[src$="/oralvit-plus-a.webp"],[src$="/oralvit-plus-a-transparent.png"]){
 background:transparent!important;mix-blend-mode:normal!important;
 object-fit:contain!important;filter:drop-shadow(0 14px 12px #091c302b)!important;
}
.model-packshot,.rail-art,.mobile-product-photo{background:transparent!important}
html body #updates-dialog#updates-dialog .updates-art img{object-fit:contain!important;background:transparent!important;mix-blend-mode:normal!important}
.rail-card.plus-a,.rail-card.plus-a:hover,.rail-card.plus-a:focus-visible,.family-image.plus-image{background:#eeeee7!important;color:#14283e!important}
.oralvit-modern .oralvit-lifestyle>figure.bottle-banner{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;
 height:clamp(320px,32vw,480px);padding:32px clamp(24px,5vw,72px);gap:24px;
 background:#14283e;color:#faf9f4;isolation:isolate;
}
.oralvit-modern .oralvit-lifestyle>figure.bottle-banner>img{
 position:relative;grid-column:2;grid-row:1;display:block;margin:auto;
 width:100%;height:100%;max-height:380px;max-width:240px;
 object-fit:contain!important;object-position:center!important;
 filter:drop-shadow(0 16px 14px #030e1d66)!important;
}
.oralvit-modern .oralvit-lifestyle>figure.bottle-banner>figcaption{
 position:static!important;grid-column:1;grid-row:1;width:auto!important;height:auto;
 padding:0!important;color:inherit;background:transparent;
}
.oralvit-modern .oralvit-lifestyle>figure.bottle-banner h2{margin:0;color:inherit}
.pdp-photo-ritual,.pdp-photo-anatomy,.pdp-photo-capsule,.science-editorial>figure>img{border-radius:24px;overflow:hidden}
@media(max-width:767px){
 .oralvit-modern .oralvit-lifestyle>figure.bottle-banner{height:300px;padding:24px 20px;gap:12px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
 .oralvit-modern .oralvit-lifestyle>figure.bottle-banner>img{height:240px;max-width:160px;min-width:0}
 html body #main .oralvit-lifestyle>figure.bottle-banner h2{font-size:28px!important;line-height:1.15!important;text-wrap:balance}
 html[lang=fr] body #main .oralvit-lifestyle>figure.bottle-banner h2{font-size:clamp(22px,6vw,24px)!important}
 html body #updates-dialog#updates-dialog .updates-art{display:grid!important;grid-template-rows:auto minmax(0,1fr);gap:8px;height:240px!important;min-height:0!important}
 html body #updates-dialog#updates-dialog .updates-art>div,html body #updates-dialog#updates-dialog .updates-art>figure{height:100%!important;min-height:0!important;padding:0!important}
 html body #updates-dialog#updates-dialog .updates-art img{width:100%!important;height:100%!important;max-height:100%!important;position:static!important;margin:0!important}
}
