/* OMNI studio: scoped visual layer, no cart/checkout selectors. */
.omni-studio-page{--studio-ink:#102b55;--studio-blue:#174cce;--studio-soft:#f3f6fb;}
.omni-studio-hero{max-width:1440px;margin:0 auto;padding:44px 40px 56px;display:grid;grid-template-columns:.9fr 1.1fr;gap:54px;align-items:center}
.omni-studio-copy{padding:24px 0}.omni-studio-eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;text-transform:uppercase;color:#2451a4;margin:0 0 24px}
.omni-studio-copy h1{font-size:clamp(44px,5.4vw,78px);font-weight:650;line-height:1.02;letter-spacing:-.055em;color:#112d57;margin:0 0 28px;max-width:650px}
.omni-studio-copy h1 span{display:block;color:#2457c9}.omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:18px;line-height:1.65;max-width:440px;color:#526681}
.omni-studio-actions{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0}.omni-studio-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 24px;border-radius:100px;font-size:14px;font-weight:650;text-decoration:none;border:1px solid #c2cee1;color:#123565;background:transparent}
.omni-studio-actions a:first-child{background:#174cce;color:#fff;border-color:#174cce;box-shadow:0 8px 22px #174cce20}.omni-studio-caption{font-size:12px!important;letter-spacing:.03em;color:#5b6e87!important}
.omni-studio{border-radius:26px;overflow:hidden;background:#052371;position:relative;isolation:isolate;box-shadow:0 24px 64px #0a2b5b18;width:100%;margin:0}
.omni-studio__surface{position:relative;width:100%;aspect-ratio:1;touch-action:pan-y;cursor:grab;outline-offset:-5px}.omni-studio__surface:active{cursor:grabbing}.omni-studio__surface:focus-visible{outline:3px solid #aacdff}
.omni-studio__poster,.omni-studio__surface canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.omni-studio [hidden]{display:none!important}
.omni-studio__bar{position:absolute;bottom:18px;left:20px;right:20px;display:flex;gap:10px;align-items:center;justify-content:space-between;color:#fff;font-size:11px;letter-spacing:.04em;pointer-events:none}
.omni-studio__bar>span{background:#04205a99;padding:9px 12px;border-radius:40px;backdrop-filter:blur(8px)}.omni-studio__controls{display:flex;gap:6px;pointer-events:auto}.omni-studio__controls button{font:inherit;font-size:11px;background:#f5f8ffe8;color:#163775;border:0;border-radius:30px;min-height:40px;padding:9px 12px;cursor:pointer}.omni-studio button:focus-visible{outline:3px solid #8cd0ff;outline-offset:2px}
.omni-studio-page .peak-wrap{max-width:1360px}.omni-studio-page .peak-products,.omni-studio-page .peak-featured,.omni-studio-page .omni-catalog{background:transparent}
.omni-studio-page .peak-products-grid,.omni-studio-page .peak-grid--products,.omni-studio-page .omni-product-grid,.omni-studio-page .omni-cards,.omni-studio-page .peak-grid:has(>.omni-card),.omni-studio-page .wc-block-product-template{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px!important}
.omni-studio-page .omni-card{background:white!important;border:1px solid #e1e8f1!important;border-radius:24px!important;box-shadow:0 8px 26px #16356706!important;overflow:hidden;padding:0!important;min-width:0}
.omni-studio-page .omni-card__media{display:block!important;aspect-ratio:1!important;height:auto!important;min-height:0!important;background:#0c3281!important;padding:0!important;overflow:hidden;border:0!important}
.omni-studio-page .omni-card__img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;animation:none!important;transform:none!important;filter:none!important;margin:0!important}
.omni-studio-page .omni-card__body{padding:24px 26px!important}.omni-studio-page .omni-card__title{font-size:27px!important;line-height:1.2!important;margin:0 0 10px!important;color:#153a76!important;min-height:0!important}
.omni-studio-page .omni-card__meta{font-size:14px!important;margin:0 0 15px!important;min-height:0!important;color:#526681!important}.omni-studio-page .omni-card__chips{margin:0 0 12px!important}.omni-studio-page .omni-chip{border-radius:30px!important;padding:8px 14px!important;background:#ecf2ff!important;color:#1c4fbd!important;border:1px solid #dce7fc!important}
.omni-studio-page .omni-card button,.omni-studio-page .omni-card .button,.omni-studio-page .omni-card .peak-btn{border-radius:40px!important;min-height:48px;box-shadow:none!important}.omni-studio-page .omni-card__status{margin-top:18px!important;color:#65748c!important}
.omni-studio-page .omni-card--woo .wc-block-components-product-image{margin:0!important}.omni-studio-page .omni-card--woo .wc-block-components-product-image img{width:100%!important;aspect-ratio:1;object-fit:cover!important;max-height:none!important}
.omni-studio-page .omni-card--woo> :not(.wc-block-components-product-image){margin-left:22px!important;margin-right:22px!important}.omni-studio-page .omni-card--woo{padding-bottom:20px!important}
.omni-studio-story{max-width:1280px;margin:70px auto;padding:52px;border-radius:30px;background:#e7eef9;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.omni-studio-story h2{font-size:clamp(32px,3.5vw,52px);letter-spacing:-.04em;line-height:1.1;margin:12px 0 22px;color:#12366a}.omni-studio-story p{color:#526681;line-height:1.7}.omni-studio-story a{color:#184ec5;text-decoration:underline;text-underline-offset:5px}.omni-studio-story ol{padding:0;margin:0;list-style:none;counter-reset:steps}.omni-studio-story li{padding:21px 0;border-bottom:1px solid #cdd8ea;counter-increment:steps;display:grid;grid-template-columns:35px 1fr;gap:10px}.omni-studio-story li:before{content:'0' counter(steps);font-size:11px;color:#2457c9;padding-top:5px}.omni-studio-story strong{display:block;font-size:17px;color:#15396c}.omni-studio-story li p{margin:8px 0 0;font-size:14px}
.omni-studio-pdp{margin-bottom:24px}.omni-studio-page.single-product div.product div.images{float:none;width:100%}.omni-studio-page .peak-faq,.omni-studio-page .peak-trust{background:transparent}
@media(min-width:1000px){.omni-studio-pdp{float:left;width:48%;margin-right:4%}.omni-studio-pdp~.woocommerce-product-gallery{clear:left;max-width:48%}}
@media(max-width:767px){.omni-studio-hero{padding:22px 18px 32px;grid-template-columns:1fr;gap:22px}.omni-studio-copy{padding:8px 0 0}.omni-studio-copy h1{font-size:46px;max-width:520px;line-height:1.02;margin-bottom:18px}.omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:15px}.omni-studio-eyebrow{margin-bottom:16px;font-size:10px}.omni-studio-actions{margin:22px 0 16px;gap:8px}.omni-studio-actions a{padding:12px 18px;font-size:12px;min-height:48px}.omni-studio{border-radius:22px}.omni-studio__bar{left:12px;right:12px;bottom:12px;gap:5px;font-size:10px}.omni-studio__bar>span{padding:8px}.omni-studio__controls button{padding:8px;font-size:10px}.omni-studio-page .peak-grid:has(>.omni-card),.omni-studio-page .peak-products-grid,.omni-studio-page .peak-grid--products,.omni-studio-page .omni-product-grid,.omni-studio-page .omni-cards,.omni-studio-page .wc-block-product-template{grid-template-columns:1fr!important;gap:24px!important}.omni-studio-page .omni-card__body{padding:20px!important}.omni-studio-story{margin:40px 18px;padding:26px;grid-template-columns:1fr;gap:10px}.omni-studio-story h2{font-size:35px}}
@media(prefers-reduced-motion:reduce){.omni-studio-page *{scroll-behavior:auto!important}.omni-studio-page .omni-card *{animation:none!important;transition:none!important}}
.omni-original-gallery{margin-top:16px;padding:14px 0;color:#284c83;font-size:13px}.omni-original-gallery summary{cursor:pointer}.omni-studio-page .omni-original-gallery .woocommerce-product-gallery{width:100%!important;float:none!important;margin-top:15px!important}.omni-studio-hero__media>img{width:100%;height:auto;border-radius:26px}.omni-studio-page .peak-grid--approved-home{grid-template-columns:repeat(2,minmax(0,1fr))!important}.omni-studio-page .peak-grid--approved-home .omni-card__media{height:auto!important}.omni-studio-page .peak-grid--approved-home .omni-card__img{height:100%!important}
@media(max-width:767px){.omni-studio-page .peak-grid--approved-home{grid-template-columns:1fr!important}}

/* Shared typography and alignment refinement. */
@font-face{font-family:Manrope;src:url('../fonts/manrope-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('../fonts/manrope-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
.omni-studio-hero,.omni-studio-story,.omni-studio-pdp,.omni-principles,.omni-studio-page .omni-card{font-family:Manrope,Arial,sans-serif}
.omni-studio-copy h1,.omni-studio-story h2,.omni-studio-page .omni-card h3,.omni-showcase button{font-family:Manrope,Arial,sans-serif}
.omni-studio-hero{max-width:1360px;padding:32px 40px 56px;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.omni-studio-copy{padding:16px 0}.omni-studio-copy h1{font-size:clamp(36px,4.15vw,56px);font-weight:700;line-height:1.13;letter-spacing:-.045em;max-width:600px;margin-bottom:24px;text-wrap:balance}
.omni-studio-copy>p:not(.omni-studio-eyebrow){max-width:450px;font-size:16px;line-height:1.8}.omni-studio-copy .omni-studio-eyebrow{font-size:10px;line-height:1.8;letter-spacing:.15em;margin-bottom:20px}.omni-studio-actions{gap:10px;margin:28px 0 20px}.omni-studio-actions a{font-size:13px;font-weight:700;padding:13px 21px}
.omni-studio-hero__media{min-width:0}.omni-studio-story{max-width:1280px;width:calc(100% - 80px);margin:40px auto 56px;padding:44px;gap:48px}.omni-studio-story h2{font-weight:700;line-height:1.16}.omni-studio-page .omni-card__title{font-weight:700!important;letter-spacing:-.025em}.omni-studio-page .omni-card__body{padding:26px!important}.omni-studio-page .omni-card__status{line-height:1.6;flex-wrap:wrap}
@media(min-width:768px) and (max-width:1050px){.omni-studio-hero{gap:28px;padding-left:32px;padding-right:32px}.omni-studio-copy h1{font-size:36px}.omni-studio-actions a{font-size:12px;padding:12px 16px}}
@media(max-width:767px){.omni-studio-hero{padding:22px 20px 28px;grid-template-columns:1fr;gap:24px}.omni-studio-copy{padding:0}.omni-studio-copy h1{font-size:clamp(34px,8.7vw,52px);line-height:1.14;max-width:560px;text-wrap:initial}.omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:15px}.omni-studio-actions{margin:24px 0 16px}.omni-studio-actions a{font-size:12px;padding:12px 17px}.omni-studio-story{width:calc(100% - 40px);margin:24px auto 36px;padding:26px;gap:16px}.omni-studio-story h2{font-size:34px}.omni-studio-page .omni-card__body{padding:22px!important}}
/* Photographic hero: approved artwork, gentle motion, fixed background. */
.omni-showcase{margin:0;position:relative;isolation:isolate;border-radius:30px;background:radial-gradient(ellipse at 50% 40%,#e5efff 0%,#d7e7ff 42%,#ecf2fb 74%);overflow:hidden;aspect-ratio:1}
.omni-showcase:after{content:'';position:absolute;left:17%;right:17%;bottom:8%;height:4%;background:#234c7c30;filter:blur(14px);border-radius:50%;z-index:-1}
.omni-showcase>img{width:100%;height:100%;object-fit:contain;display:block;animation:omni-showcase-drift 9s ease-in-out infinite;transform-origin:50% 90%}
.omni-showcase.is-still>img{animation-play-state:paused}.omni-showcase button{position:absolute;bottom:14px;right:16px;border:1px solid #bccce2;background:#f6f9ffee;color:#183e73;font:inherit;font-size:11px;border-radius:30px;padding:10px 15px;cursor:pointer;min-height:40px}
.omni-photo{margin:0;overflow:hidden;border-radius:26px;background:#08295e}.omni-photo>img{width:100%;height:auto;display:block}.omni-photo figcaption{padding:14px 20px;background:#eaf0fa;color:#28486d;font-size:12px}
@keyframes omni-showcase-drift{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-7px) rotate(.4deg)}}
@media(prefers-reduced-motion:reduce){.omni-showcase>img{animation:none!important}}
@media(max-width:767px){.omni-showcase{border-radius:24px}.omni-showcase button{bottom:8px;right:10px}.omni-studio-hero{gap:12px}.omni-studio-copy .omni-studio-caption{margin-bottom:8px}}

/* Pearl-blue editorial surface. Header and announcement remain outside this layer. */
.omni-studio-hero{position:relative;isolation:isolate;max-width:1360px;padding-top:38px;padding-bottom:42px;gap:38px}
.omni-studio-hero:before{content:"";position:absolute;inset:0 calc((1360px - 100vw)/2);z-index:-2;background:radial-gradient(ellipse at 78% 42%,#d2e4f5 0%,#e5edf3 35%,#f0f2f1 76%);pointer-events:none}
.omni-studio-hero .omni-showcase{background:transparent;border-radius:0;overflow:visible}
.omni-studio-hero .omni-showcase>img{width:94%;height:94%;margin:3%;filter:drop-shadow(0 18px 15px #213d6020)}
.omni-studio-copy h1{font-size:clamp(38px,4.5vw,62px);line-height:1.08;letter-spacing:-.05em;margin-bottom:24px}
.omni-studio-copy h1 span{color:#2554b5}.omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:17px;line-height:1.75;max-width:470px}
.omni-hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;color:#294662;font-size:11px}
.omni-hero-tags span{padding:8px 12px;border:1px solid #c7d6e1;border-radius:30px;background:#ffffff70}
.omni-principles{max-width:1280px;margin:0 auto;padding:23px 0;display:flex;justify-content:space-between;gap:24px;border-bottom:1px solid #cedae5;font-size:13px;color:#345373}
.omni-principles span:before{content:"✓";color:#2458c5;margin-right:9px}
.omni-studio-story{background:#e5ebee}
@keyframes omni-showcase-drift{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-15px) rotate(1deg)}}
@media(max-width:1360px){.omni-studio-hero:before{inset:0}.omni-principles{margin:0 40px}}
@media(max-width:767px){.omni-studio-hero{padding:28px 20px 26px;gap:6px}.omni-studio-copy{text-align:center}.omni-studio-copy h1{font-size:clamp(33px,9vw,48px);margin-left:auto;margin-right:auto}.omni-studio-copy>p{margin-left:auto;margin-right:auto}.omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:15px}.omni-studio-actions,.omni-hero-tags{justify-content:center}.omni-principles{margin:0 20px;padding:20px 0;flex-direction:column;gap:12px;font-size:12px}.omni-hero-tags{gap:6px;font-size:10px}.omni-hero-tags span{padding:7px 9px}}

/* Independent photographic vials; no simulated 360 geometry. */
.omni-float-scene{min-width:0;aspect-ratio:1;background:transparent;overflow:visible}
.omni-floating-vial{position:absolute;inset:0;display:block;pointer-events:none;transform-origin:50% 70%}
.omni-floating-vial img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 14px #193c6128);pointer-events:auto;clip-path:inset(2% 27% 2% 27%)}
.omni-floating-vial.vial-0{transform:translate(-23%,4%) rotate(-10deg) scale(.8);z-index:1;animation:omni-left-float 8s ease-in-out infinite}
.omni-floating-vial.vial-1{transform:translate(0,-3%) scale(.93);z-index:3;animation:omni-center-float 7s ease-in-out infinite}
.omni-floating-vial.vial-2{transform:translate(23%,6%) rotate(10deg) scale(.78);z-index:2;animation:omni-right-float 9s ease-in-out infinite}
.omni-float-scene button{z-index:4;bottom:0}.omni-floating-vial:focus-visible{outline:none}.omni-floating-vial:focus-visible img{filter:drop-shadow(0 0 8px #265ce0)}
@keyframes omni-left-float{50%{transform:translate(-23%,1%) rotate(-7deg) scale(.8)}}
@keyframes omni-center-float{50%{transform:translate(0,-6%) rotate(1deg) scale(.93)}}
@keyframes omni-right-float{50%{transform:translate(23%,2%) rotate(7deg) scale(.78)}}
.omni-spotlight{max-width:1280px;width:calc(100% - 80px);margin:36px auto 64px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:44px;font-family:Manrope,Arial,sans-serif;background:#e7eef1;border-radius:28px;overflow:hidden}
.omni-spotlight-art{position:relative;aspect-ratio:1;background:radial-gradient(ellipse at 45% 40%,#cbdeed,#e7eef1 72%)}
.omni-spotlight-art>img{display:block;width:100%;height:100%;object-fit:contain;animation:omni-feature-float 9s ease-in-out infinite;filter:drop-shadow(18px 24px 18px #1939572b)}
@keyframes omni-feature-float{0%,100%{transform:rotate(-9deg) scale(.87) translateY(1%)}50%{transform:rotate(-5deg) scale(.87) translateY(-2%)}}
.omni-spotlight-art button{position:absolute;bottom:18px;left:24px;font:inherit;font-size:11px;padding:10px 15px;min-height:40px;border:1px solid #b9cada;background:#f6f9ff;color:#183e73;border-radius:30px;cursor:pointer}
.omni-spotlight-copy{padding:36px 36px 36px 0}.omni-spotlight-copy h2{font-size:clamp(32px,4vw,54px);line-height:1.1;letter-spacing:-.045em;margin:0 0 24px;color:#13365e}.omni-spotlight-copy>p:not(.omni-studio-eyebrow){line-height:1.8;font-size:15px;color:#526681;max-width:390px}
[data-omni-showcase].is-still .omni-floating-vial,[data-omni-showcase].is-still>img{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.omni-floating-vial,.omni-spotlight-art>img{animation:none!important}}
@media(max-width:767px){.omni-spotlight{width:calc(100% - 40px);grid-template-columns:1fr;gap:0;margin:24px auto 36px}.omni-spotlight-copy{padding:12px 26px 28px}.omni-spotlight-copy h2{font-size:36px}.omni-spotlight-art{max-height:380px}.omni-float-scene{margin-top:16px;margin-bottom:12px}.omni-spotlight .omni-studio-actions{justify-content:flex-start}}

.artwork-zoom{display:block!important;width:100%;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;cursor:zoom-in}.artwork-zoom img{display:block;width:100%;height:auto}.detail-view{background:radial-gradient(ellipse,#d8e6f2,#edf2f5)}.artwork-choices{display:flex;gap:10px;margin:14px 0}.artwork-choices button[aria-pressed="true"]{background:#174cce;color:white;border-color:#174cce}.artwork-dialog{border:0;border-radius:18px;padding:0;max-width:min(90vw,850px);max-height:90vh;background:#e6eef5}.artwork-dialog::backdrop{background:#091b37b8;backdrop-filter:blur(6px)}.artwork-dialog>img{display:block;max-width:100%;max-height:84vh;object-fit:contain;margin:auto}.artwork-dialog .close-artwork{position:sticky;top:12px;float:right;margin:12px;z-index:2;cursor:pointer}

/* Cobalt atmosphere: stronger cover without changing the existing header. */
.omni-studio-hero{padding-top:44px;padding-bottom:48px;min-height:590px}
.omni-studio-hero:before{background:radial-gradient(ellipse at 83% 37%,#86b4f3 0%,#bed7f3 24%,#e4edf5 51%,#f2f5f6 82%)}
.omni-studio-hero__media{position:relative;isolation:isolate}
.omni-studio-hero__media:before{content:"";position:absolute;inset:2% -4%;z-index:-1;opacity:.36;background-image:linear-gradient(#4778a922 1px,transparent 1px),linear-gradient(90deg,#4778a922 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse,#000,transparent 72%)}
.omni-studio-hero__media:after{content:"";position:absolute;width:77%;height:77%;left:11%;top:9%;border:1px solid #ffffff90;border-radius:50%;box-shadow:0 0 0 35px #ffffff15,0 0 0 72px #ffffff12;z-index:-1;transform:rotate(-25deg) scaleY(.8)}
.omni-studio-copy h1{font-size:clamp(44px,5.3vw,72px);line-height:1.02;letter-spacing:-.06em;font-weight:700;max-width:570px}
.omni-studio-copy h1 span{margin-top:9px;color:#1a50bc}
.omni-studio-copy .omni-studio-eyebrow{display:inline-block;padding:9px 14px;border:1px solid #9fb9d7;border-radius:6px;background:#ffffff80;letter-spacing:.17em;font-size:10px;margin-bottom:25px}
.omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:17px;max-width:405px;line-height:1.7;color:#385671}
.omni-studio-actions a:first-child{background:#164bc6;box-shadow:0 9px 23px #164bc630}.omni-studio-actions a{min-height:54px}
.omni-hero-tags span{background:#ffffff95;border-color:#b6cadf}.omni-hero-tags{max-width:440px}
.omni-principles{background:#fff}.omni-spotlight{background:#dce8f3}
@media(max-width:767px){.omni-studio-hero{padding:28px 20px 24px;min-height:0}.omni-studio-hero:before{background:radial-gradient(ellipse at 60% 76%,#a5c8f3,#dbe8f4 42%,#f1f5f7 80%)}.omni-studio-copy h1{font-size:clamp(37px,10.4vw,56px);line-height:1.04;letter-spacing:-.055em}.omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:15px}.omni-studio-copy .omni-studio-eyebrow{margin-bottom:20px}.omni-studio-hero__media:after{box-shadow:0 0 0 22px #ffffff15,0 0 0 44px #ffffff12}}
/* Keep the approved blue OMNI stage across product views. */
.omni-photo.detail-view{background:#08295e url('../studio/omni-blue-backdrop.webp') center/cover no-repeat}
.artwork-dialog{background:#08295e url('../studio/omni-blue-backdrop.webp') center/cover no-repeat}
.product-preview{align-items:center}.product-preview>div:last-child{padding:24px 0}.product-preview h1{color:#12366a}
[data-omni-tilt].detail-view{touch-action:pan-y;cursor:grab}[data-omni-tilt] img{transform-origin:center;will-change:transform}[data-omni-tilt]:focus-visible{outline:3px solid #70b5ff;outline-offset:3px}.omni-photo figcaption{display:flex;gap:12px;align-items:center;justify-content:space-between}.omni-photo [data-tilt-reset]{border:1px solid #bdcde2;border-radius:24px;color:#173d72;background:#f4f7ff;padding:8px 12px;cursor:pointer;min-height:40px}.omni-photo [hidden]{display:none!important}.omni-art-detail{margin-bottom:16px}.omni-art-detail>summary{padding:14px;color:#154dc7;cursor:pointer}.omni-art-detail img{max-height:650px;object-fit:contain}
/* Original scientific studio artwork; text remains live and editable. */
.omni-studio-hero:before{background:#e4edf6 url('../studio/omni-science-hero.webp') center/cover no-repeat}
.omni-studio-hero__media:before,.omni-studio-hero__media:after{display:none}
@media(max-width:767px){.omni-studio-hero:before{background-image:linear-gradient(to bottom,#eff5fa 0%,#eff5faed 35%,#eff5fa00 64%),url('../studio/omni-science-hero.webp');background-position:center,72% bottom;background-size:cover,auto 65%;background-repeat:no-repeat}}

/* OMNI cover: logo-led navy, cobalt and silver. Scoped below navigation. */
.omni-studio-hero:before{background:linear-gradient(90deg,#06162df5 0%,#081d3ee8 38%,#09265970 68%,#071b3b40 100%),var(--omni-hero-image,url('../studio/omni-blue-backdrop.webp')) 85% 48%/cover no-repeat;background-color:#071b3b}
.omni-studio-hero .omni-studio-copy h1{color:#f1f5fb;text-shadow:0 2px 20px #00000020}
.omni-studio-hero .omni-studio-copy h1 span{color:#91c4ff}
.omni-studio-hero .omni-studio-copy>p:not(.omni-studio-eyebrow){color:#c3d2e7}
.omni-studio-hero .omni-studio-copy .omni-studio-eyebrow{color:#b8d6ff;background:#13396870;border-color:#597eaf80}
.omni-studio-hero .omni-studio-actions a:first-child{color:#fff;background:#245bea;border:1px solid #6492ff;box-shadow:0 8px 28px #154eeb45}
.omni-studio-hero .omni-studio-actions a:not(:first-child){color:#e6effc;background:#17355c80;border-color:#7398c780}
.omni-studio-hero .omni-hero-tags{color:#c4d6ed}
.omni-studio-hero .omni-hero-tags span{background:#0c294a90;border-color:#6082ab70}
.omni-studio-hero .omni-studio-caption{color:#b7cae3}
.omni-studio-hero .omni-floating-vial img{filter:drop-shadow(0 22px 18px #0009)}
@media(max-width:767px){.omni-studio-hero:before{background-image:linear-gradient(180deg,#06162df5 0%,#081d3eef 38%,#09265970 70%,#071b3b70 100%),var(--omni-hero-image,url('../studio/omni-blue-backdrop.webp'));background-position:center,65% bottom;background-size:cover,auto 65%;background-repeat:no-repeat}.omni-studio-hero .omni-hero-tags{margin-left:auto;margin-right:auto}}


/* ---------------------------------------------------------------
   Hero background is swappable from OMNI -> Settings -> Homepage hero.
   PHP sets --omni-hero-image on .omni-studio-hero when an image is
   chosen; the gradient above is preserved either way, so swapping in
   concept A or C changes only the photograph.
   --------------------------------------------------------------- */

/* ==========================================================================
   Post-catalogue BPC feature — approved navy backdrop behind the floating vial.

   The art panel previously used a pale radial gradient (#cbdeed → #e7eef1) and
   the block was re-tinted #dce8f3 further down the file, so the vial floated on
   near-white instead of the approved backdrop. Both desktop and mobile now use
   assets/studio/omni-blue-backdrop.webp with the same navy gradient as the hero.

   The copy panel is deliberately left light: its type colours (#13365e / #526681)
   are tuned for a light surface, and recolouring them would be a redesign.
   Desktop keeps image/text side by side; mobile stacks vial above text.
   Float animation and reduced-motion behaviour are untouched.
   ========================================================================== */
html body[class].omni-studio-page .omni-spotlight-art {
  background:
    linear-gradient(160deg, #06162de6 0%, #081d3ecc 42%, #09265966 100%),
    url('../studio/omni-blue-backdrop.webp') center/cover no-repeat !important;
  background-color: #071b3b !important;
}
/* the pause control must stay legible on navy */
html body[class].omni-studio-page .omni-spotlight-art button {
  background: #f6f9ffee;
  border-color: #9fb6d4;
  color: #12305c;
}
/* keep the vial readable against the darker field */
html body[class].omni-studio-page .omni-spotlight-art > img {
  filter: drop-shadow(16px 22px 20px #02060f66);
}

@media (max-width: 767px) {
  /* vial above text, compact, with comfortable tap targets */
  html body[class].omni-studio-page .omni-spotlight {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  html body[class].omni-studio-page .omni-spotlight-art {
    aspect-ratio: 4 / 3;
    max-height: 320px;
  }
  html body[class].omni-studio-page .omni-spotlight-copy {
    padding: 18px 22px 26px !important;
  }
  html body[class].omni-studio-page .omni-spotlight-copy h2 { margin-bottom: 14px; }
  html body[class].omni-studio-page .omni-spotlight-copy > p:not(.omni-studio-eyebrow) {
    line-height: 1.6;
    margin: 0 0 16px;
  }
  html body[class].omni-studio-page .omni-spotlight .omni-studio-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
  }
}

/* Homepage shopping flow: compact collection, real categories, then editorial. */
html body.omni-studio-page .peak-catalog--approved-home .peak-grid,
html body.omni-studio-page .catalogue .peak-grid {
 grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;
}
html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .omni-card__body{padding:18px!important}
html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .omni-card__title{font-size:23px!important}
html body.omni-studio-page .catalogue .buy-row{flex-direction:column;align-items:stretch;gap:12px}
html body.omni-studio-page .catalogue .product-button{text-align:center}
.omni-category-shop{max-width:1280px;width:calc(100% - 80px);margin:24px auto 48px;padding:32px;background:#e8eff9;border:1px solid #d3e0f2;border-radius:24px;color:#102b55}
.omni-category-shop h2{font:700 clamp(28px,3vw,40px)/1.15 Manrope,Arial,sans-serif;letter-spacing:-.035em;margin:0 0 24px}
.omni-category-shop .omni-studio-eyebrow{margin-bottom:12px}
.omni-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.omni-category-link{display:flex;flex-direction:column;gap:12px;padding:24px;background:white;border:1px solid #c9d8ee;border-radius:18px;color:#102b55;text-decoration:none;min-width:0}
.omni-category-link strong{font-size:22px;line-height:1.2}.omni-category-link>span:last-child{font-size:13px;color:#174cce}
.omni-category-symbol{font-size:27px;color:#174cce}.omni-category-link:hover{border-color:#174cce}.omni-category-link:focus-visible{outline:3px solid #174cce;outline-offset:4px}
@media(max-width:1023px){html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .peak-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){
 html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .peak-grid{gap:12px!important}
 html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .omni-card{border-radius:16px!important}
 html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .omni-card__body{padding:12px!important}
 html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .omni-card__title{font-size:18px!important;overflow-wrap:anywhere}
 html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .omni-card__meta{font-size:11px!important;line-height:1.5}
 html body.omni-studio-page :is(.peak-catalog--approved-home,.catalogue) .omni-card__status{display:flex;flex-direction:column;gap:6px;font-size:10px!important}
 html body.omni-studio-page .catalogue .price{font-size:21px}
 html body.omni-studio-page .catalogue .product-button{font-size:11px;padding:12px 6px;min-height:44px}
 .omni-category-shop{width:calc(100% - 40px);margin:16px auto 28px;padding:20px}
 .omni-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .omni-category-link{padding:16px 12px;gap:12px}.omni-category-link strong{font-size:17px}.omni-category-link>span:last-child{font-size:11px;line-height:1.5}
}

/* ---------------------------------------------------------------------------
 * Mobile hero containment.
 *
 * The outer floating vials are positioned absolute inset:0 inside the hero
 * scene and then translated +/-23%, so they are DESIGNED to overhang their
 * container by ~18% of its width. On desktop the page gutter absorbs that.
 * Below 768px the gutter is smaller than the overhang, so the right-hand vial
 * pushed the document 2-35px wider than the viewport (worst at 767px).
 *
 * The right edge lands at  vw/2 + 0.682 * sceneWidth,  so the scene must stay
 * under ~73vw for the overhang to fit. The cap is min() of two limits because
 * neither alone is safe: `vw` counts the classic scrollbar that clientWidth
 * excludes, so a vw-only cap left just 3px and went 1px over when a scrollbar
 * appeared; a %-only cap is scrollbar-proof but overflows near 767px, where the
 * fixed page gutters are small relative to the box. Together they hold 320-767
 * with 8-16px to spare. Applied at EVERY width, not just mobile: at 1440 the
 * uncapped scene left only 7px of margin and intermittently went 1px over for
 * the same scrollbar reason; the cap raises that margin to 23px. Above 768px
 * min() naturally selects the 96% branch. This CONTAINS the element; it does
 * not hide it with overflow-x.
 * The static transforms cannot be tuned instead: the vials are mid-animation
 * and the keyframes own `transform` at runtime.
 * ------------------------------------------------------------------------- */
.omni-studio-hero .omni-float-scene{max-width:min(70vw,96%);margin-inline:auto}

/* ---------------------------------------------------------------------------
 * Studio panel rendered INSIDE the woocommerce/product-gallery block.
 *
 * The float below (min-width:1000px) pairs the panel with a CLASSIC theme's
 * gallery. In a block template the panel already sits in the product's own
 * column, so the float would recreate the blank column this fix removes.
 * ------------------------------------------------------------------------- */
.omni-studio-pdp--block{float:none!important;width:auto!important;max-width:100%!important;margin-right:0!important}
.omni-studio-pdp--block .omni-photo{margin:0}
.omni-studio-pdp--block .omni-photo img{display:block;width:100%;height:auto;border-radius:18px}
.omni-studio-pdp--block .omni-original-gallery{margin-top:12px}
/* the block gallery keeps working normally once the disclosure is opened */
.omni-studio-pdp--block .omni-original-gallery .wp-block-woocommerce-product-gallery{width:100%!important;float:none!important;margin-top:12px!important}

/* ==========================================================================
   Side-cart drawer. Presentation only — every mutation goes through the
   WooCommerce Store API. Never rendered on cart/checkout/account.
   ========================================================================== */
.omni-drawer[hidden]{display:none}
.omni-drawer{position:fixed;inset:0;z-index:99999;font-family:Manrope,Arial,sans-serif}
.omni-drawer__scrim{position:absolute;inset:0;background:#06162d8c;opacity:0;transition:opacity .25s ease}
.omni-drawer.is-open .omni-drawer__scrim{opacity:1}
.omni-drawer__panel{position:absolute;top:0;right:0;height:100%;width:min(420px,100%);
  background:#fff;box-shadow:-18px 0 44px #0a1f4426;display:flex;flex-direction:column;
  transform:translateX(100%);transition:transform .26s cubic-bezier(.4,0,.2,1)}
.omni-drawer.is-open .omni-drawer__panel{transform:translateX(0)}
.omni-drawer.is-busy .omni-drawer__panel{opacity:.6;pointer-events:none}
.omni-drawer__head{display:flex;align-items:center;justify-content:space-between;
  padding:18px 20px;border-bottom:1px solid #e2e9f3}
.omni-drawer__head h2{margin:0;font-size:1.05rem;color:#0a1f44;letter-spacing:-.01em}
.omni-drawer__x{border:0;background:none;font-size:26px;line-height:1;color:#4a5c78;
  cursor:pointer;min-width:44px;min-height:44px}
.omni-drawer__items{flex:1;overflow-y:auto;padding:10px 20px}
.omni-drawer__empty{color:#5b6b8c;padding:28px 0;text-align:center}
.omni-drawer__item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;
  padding:14px 0;border-bottom:1px solid #eef2f8;align-items:start}
.omni-drawer__thumb{width:64px;height:64px;border:1px solid #e2e9f3;border-radius:10px;
  background:#f6f9ff;overflow:hidden;display:flex;align-items:center;justify-content:center}
.omni-drawer__thumb img{width:100%;height:100%;object-fit:contain}
.omni-drawer__name{margin:0 0 2px;font-weight:700;font-size:.92rem;color:#0a1f44;line-height:1.25}
.omni-drawer__variation{margin:0 0 8px;font-size:.76rem;color:#5b6b8c;display:flex;flex-wrap:wrap;gap:8px}
.omni-drawer__qty{display:flex;align-items:center;gap:6px}
.omni-drawer__qty button{min-width:32px;min-height:32px;border:1px solid #ccd8ea;background:#fff;
  border-radius:8px;color:#12305c;font:inherit;font-size:15px;cursor:pointer;line-height:1}
.omni-drawer__qty span{min-width:24px;text-align:center;font-variant-numeric:tabular-nums;font-size:.9rem}
.omni-drawer__remove{border:0!important;background:none!important;color:#7a8aa5!important;
  font-size:.74rem!important;text-decoration:underline;margin-left:4px;min-width:auto!important}
.omni-drawer__line{margin:0;font-weight:700;font-size:.92rem;color:#0a1f44;font-variant-numeric:tabular-nums}
.omni-drawer__foot{border-top:1px solid #e2e9f3;padding:16px 20px 20px;display:grid;gap:10px}
.omni-drawer__totals{display:flex;justify-content:space-between;align-items:baseline;
  font-size:1rem;color:#0a1f44}
.omni-drawer__totals strong{font-size:1.15rem;font-variant-numeric:tabular-nums}
.omni-drawer__note{margin:0;font-size:.74rem;color:#5b6b8c}
.omni-drawer__btn{display:flex;align-items:center;justify-content:center;min-height:48px;
  border-radius:999px;text-decoration:none;font-weight:700;font-size:.92rem}
.omni-drawer__btn--ghost{border:1px solid #ccd8ea;color:#12305c;background:#fff}
.omni-drawer__btn--solid{background:#164cc8;color:#fff}
@media (max-width:480px){
  .omni-drawer__panel{width:100%}
  .omni-drawer__item{grid-template-columns:56px 1fr auto;gap:10px}
  .omni-drawer__thumb{width:56px;height:56px}
}
@media (prefers-reduced-motion:reduce){
  .omni-drawer__panel,.omni-drawer__scrim{transition:none}
}
/* ===========================================================================
   Mobile refinement pass (4.32.0)
   Hero: full-bleed, seamless backdrop, blended bottom edge, reduced height.
   Related products: compact two-column, matching the home catalogue grid.
   Bundle chips: balanced across the available width.
   ======================================================================== */
@media (max-width:767px){
  /* Full-bleed: mirror the theme's own global padding so the hero spans the
     viewport exactly. Uses the theme variable, never a raw 100vw, so a
     scrollbar cannot desynchronise it. */
  html body.omni-studio-page .omni-studio-hero{
    margin-inline:calc(-1 * var(--wp--style--root--padding-left, 20px))!important;
    width:auto!important;max-width:none!important;
    padding:22px 24px 16px!important;
    gap:4px!important;
    border-radius:0!important;
  }
  /* Seam fix: the backdrop was sized `auto 65%` anchored bottom, so the photo
     began partway down and met the flat gradient in a hard horizontal line.
     Cover removes the join entirely. */
  html body.omni-studio-page .omni-studio-hero:before{
    background-image:linear-gradient(180deg,#06162df2 0%,#08214ae0 32%,#0a2a5f9e 60%,#0b306e5c 100%),
                    var(--omni-hero-image,url('../studio/omni-blue-backdrop.webp'));
    background-size:cover,cover;
    background-position:center,center;
    background-repeat:no-repeat,no-repeat;
  }
  /* Blend into the white catalogue instead of a blocky cut. */
  html body.omni-studio-page .omni-studio-hero:after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:88px;z-index:-1;
    background:linear-gradient(to bottom,#fff0 0%,#ffffff70 58%,#fff 100%);
    pointer-events:none;
  }
  html body.omni-studio-page .omni-studio-copy h1{font-size:clamp(31px,8.4vw,42px);line-height:1.08;margin-bottom:12px}
  html body.omni-studio-page .omni-studio-copy>p:not(.omni-studio-eyebrow){font-size:14px;line-height:1.5}
  html body.omni-studio-page .omni-studio-actions{margin:14px 0 10px;gap:8px}
  html body.omni-studio-page .omni-studio-hero .omni-hero-tags{gap:6px;margin-top:2px}
  html body.omni-studio-page .omni-studio-hero .omni-float-scene{margin-top:2px;margin-bottom:0}
  /* Breathing room into the catalogue. */
  html body.omni-studio-page .peak-catalog--approved-home{padding-top:22px}

  /* Related products: same compact two-column treatment as the home grid.
     They already carry .peak-grid--approved-home; the two-column rule was
     scoped to a .peak-catalog ancestor they do not have, so a generic
     one-column rule was winning. */
  html body.omni-studio-page .peak-grid.peak-grid--approved-home:has(>.omni-card){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  html body.omni-studio-page .peak-grid--approved-home .omni-card{border-radius:16px!important}
  html body.omni-studio-page .peak-grid--approved-home .omni-card__body{padding:12px!important}
  html body.omni-studio-page .peak-grid--approved-home .omni-card__title{font-size:18px!important;overflow-wrap:anywhere}
  html body.omni-studio-page .peak-grid--approved-home .omni-card__meta{font-size:11px!important;line-height:1.5}
  html body.omni-studio-page .peak-grid--approved-home .omni-card__status{display:flex;flex-direction:column;gap:6px;font-size:10px!important}

  /* PDP: quieter disclosures, less vertical clutter. */
  html body.omni-studio-page .omni-studio-pdp--block .omni-art-detail,
  html body.omni-studio-page .omni-studio-pdp--block .omni-original-gallery{margin:0;padding:6px 0;font-size:12px}
  html body.omni-studio-page .omni-studio-pdp--block .omni-photo{margin-top:6px}
}

/* Bundle chips balanced across the width instead of ragged flex wrapping. */
html body.omni-studio-page .wc-block-product-filter-chips__items{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;justify-items:stretch!important;align-items:stretch!important}
html body.omni-studio-page .wc-block-product-filter-chips__items>*{width:100%!important;min-width:0!important;box-sizing:border-box}
html body.omni-studio-page .wc-block-product-filter-chips__item{width:100%!important;min-width:0!important;justify-self:stretch;box-sizing:border-box;justify-content:center;text-align:center}
@media (min-width:768px){
  html body.omni-studio-page .wc-block-product-filter-chips__items{grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* The single Strength chip must not stretch across the whole row. */
html body.omni-studio-page .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute:first-of-type .wc-block-product-filter-chips__items{
  display:flex!important;flex-wrap:wrap}

/* ---------------------------------------------------------------------------
 * 4.32.1
 * 1. Bundle chips: the grid was applied but the container itself only grew to
 *    its content width (240px of 332), so the tracks never filled the row.
 * 2. The sticky promo tab sits at bottom:5.5rem and measured a 43x31px overlap
 *    of the "Buy now" control at 1440. Moving it to the bottom corner clears
 *    the buying controls; it stays exactly the same element and styling.
 * ------------------------------------------------------------------------- */
html body.omni-studio-page .wc-block-product-filter-chips__items{width:100%!important;box-sizing:border-box}
@media (min-width:768px){
  html body.omni-studio-page .peak-sticky{bottom:1.25rem}
}

/* Stretch the block wrapper, not just its grid: the theme's vertical flex
   group otherwise shrink-wraps the bundle block to its intrinsic width. */
html body.single-product.omni-studio-page .wp-block-woocommerce-product-filter-chips:not(.omni-onechoice){
  align-self:stretch!important;
  width:100%!important;
  min-width:0;
  box-sizing:border-box;
}
/* Keep the discount entry point accessible after the footer without covering
   purchase controls at any scroll position or viewport height. */
html body.single-product.omni-studio-page .peak-sticky{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:1rem auto;
  border-radius:12px;
}

/* ---------------------------------------------------------------------------
 * 4.33.0 — three measured defects.
 *
 * 1. Hero background bleed used calc((1360px - 100vw)/2) while the hero's real
 *    max-width is 1440px. The 80px mismatch pushed the backdrop 20px past each
 *    viewport edge, giving a real horizontal scrollbar at >=1600px (measured:
 *    scrollWidth 1960 vs 1920). Hiding each element in turn proved the hero was
 *    the sole contributor, and forcing inset:0 on the pseudo alone returned it
 *    to 1920.
 * 2. Bundle controls were pinned to their content width because the wrapper
 *    .wp-block-woocommerce-product-filter-chips (note: wp-block-woocommerce-,
 *    not wc-block-) is content-sized. At 390 the control sat in 240px of a
 *    332px column; it now fills it.
 * 3. The fixed promo tab is pinned to the bottom so it cannot land over the
 *    Add to cart / Buy now controls partway down the page.
 * ------------------------------------------------------------------------- */
.omni-studio-hero:before{inset:0 calc((1440px - 100vw)/2)}

html body.omni-studio-page .wp-block-woocommerce-add-to-cart-with-options-variation-selector,
html body.omni-studio-page .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute,
html body.omni-studio-page .wp-block-woocommerce-product-filter-chips,
html body.omni-studio-page .wc-block-product-filter-chips,
html body.omni-studio-page .wc-block-product-filter-chips__fieldset,
html body.omni-studio-page .wc-block-product-filter-chips__items{
  width:100%!important;max-width:none!important;box-sizing:border-box!important}
html body.omni-studio-page .wc-block-product-filter-chips__items .wc-block-product-filter-chips__item{
  width:100%!important;max-width:none!important;justify-self:stretch!important;box-sizing:border-box!important}

html body .peak-sticky{bottom:14px!important;top:auto!important}
