:root{--detail-plum:#250832;--detail-purple:#5b247a;--detail-lilac:#f4eff9;--detail-ink:#241334;--detail-muted:#62576d;--detail-line:#e9e1ee}
.product-details-page{background:#fff;color:var(--detail-ink)}.product-details-page .navbar-menu a.active{border-bottom-color:transparent}.collection-hero{position:relative;overflow:hidden;min-height:390px;padding:54px max(5vw,48px);display:grid;grid-template-columns:minmax(0,.93fr) minmax(420px,1.07fr);align-items:center;gap:38px;background:radial-gradient(circle at 82% 48%,rgba(157,99,205,.32),transparent 28%),linear-gradient(112deg,#f7f1fb 0%,#ede2f5 53%,#f8f4fb 100%)}.collection-hero:before,.collection-hero:after{content:"";position:absolute;border-radius:50%;background:rgba(119,52,165,.12);filter:blur(2px)}.collection-hero:before{width:300px;height:300px;right:-110px;top:-135px}.collection-hero:after{width:190px;height:190px;left:38%;bottom:-140px}.collection-hero-copy{position:relative;z-index:1;max-width:650px}.detail-eyebrow{display:block;color:var(--detail-purple);font-size:.76rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.collection-hero h1,.routine-heading h2{font-family:'Playfair Display',serif;letter-spacing:0;color:var(--detail-plum)}.collection-hero h1{font-size:clamp(2.55rem,5vw,4.65rem);line-height:.98;margin:13px 0 12px}.collection-tagline{font-size:1.25rem;font-weight:800;margin:0 0 17px}.collection-tagline span,.benefit-line span{color:var(--detail-purple);padding:0 7px}.collection-hero-copy>p:last-of-type{max-width:560px;margin:0;color:#453653;font-size:1.02rem;line-height:1.7}.detail-cta,.detail-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:5px;background:var(--detail-purple);color:#fff;font-size:.78rem;font-weight:900;text-decoration:none;text-transform:uppercase;letter-spacing:.04em}.detail-cta{margin-top:24px;padding:13px 18px}.detail-cta:hover,.detail-button:hover{background:#3c1458}.collection-hero-media{position:relative;height:330px;min-width:0;display:flex;align-items:flex-end;justify-content:center;padding:0 26px}.hero-glow{position:absolute;inset:18px 5% 0;border-radius:50% 50% 12px 12px;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(202,167,227,.52));box-shadow:inset 0 -20px 42px rgba(72,20,111,.16)}.hero-product{position:relative;z-index:1;max-width:34%;object-fit:contain;filter:drop-shadow(0 22px 16px rgba(38,8,57,.25));transform-origin:center bottom}.hero-product-left{height:74%;margin-right:-7%;transform:rotate(-6deg)}.hero-product-center{height:99%;max-width:42%;z-index:2}.hero-product-right{height:78%;margin-left:-7%;transform:rotate(6deg)}.routine-section{max-width:1320px;margin:0 auto;padding:64px 32px 76px}.routine-heading{max-width:700px;margin:0 auto 36px;text-align:center}.routine-heading h2{font-size:clamp(2rem,3vw,3rem);margin:9px 0 10px}.routine-heading p{margin:0;color:var(--detail-muted);line-height:1.65}.routine-list{display:grid;gap:22px}.routine-card{display:grid;grid-template-columns:minmax(270px,.88fr) minmax(0,1.12fr);align-items:stretch;border:1px solid var(--detail-line);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 12px 30px rgba(53,20,77,.08);transition:transform .25s ease,box-shadow .25s ease}.routine-card:hover{transform:translateY(-4px);box-shadow:0 20px 36px rgba(53,20,77,.14)}.routine-card-reverse .routine-visual{order:2}.routine-card-reverse .routine-copy{order:1}.routine-visual{min-height:276px;display:grid;place-items:center;overflow:hidden;padding:18px;background:radial-gradient(circle at 50% 28%,rgba(255,255,255,.95),rgba(211,185,231,.74) 54%,rgba(181,139,214,.55))}.routine-visual:before{content:"";position:absolute}.routine-visual img{max-width:76%;max-height:245px;object-fit:contain;filter:drop-shadow(0 19px 14px rgba(44,13,66,.24));transition:transform .35s ease}.routine-card:hover .routine-visual img{transform:translateY(-5px) scale(1.025)}.routine-copy{display:grid;grid-template-columns:48px minmax(0,1fr);align-content:center;gap:18px;padding:30px 34px}.step-number{width:44px;height:44px;border-radius:8px;background:var(--detail-purple);color:#fff;display:grid;place-items:center;font-size:1rem;font-weight:900}.routine-copy h3{font-size:clamp(1.25rem,2vw,1.62rem);line-height:1.1;margin:3px 0 5px;color:var(--detail-plum)}.benefit-line{margin:0 0 12px;color:#4b3560;font-size:.82rem;font-weight:800}.routine-copy>div>p:not(.benefit-line){margin:0;color:var(--detail-muted);font-size:.9rem;line-height:1.58;max-width:590px}.routine-copy ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:6px;color:#4c3c58;font-size:.84rem}.routine-copy li:before{content:'✓';display:inline-grid;place-items:center;width:16px;height:16px;margin-right:9px;border-radius:50%;background:var(--detail-purple);color:#fff;font-size:.62rem;font-weight:900}.detail-button{float:right;margin-top:14px;padding:10px 16px;font-size:.69rem}.product-details-page .footer{margin-top:0}
@media(max-width:980px){.collection-hero{grid-template-columns:1fr;gap:18px;padding:46px 28px 30px}.collection-hero-copy{max-width:760px;text-align:center;margin:0 auto}.collection-hero-copy>p:last-of-type{margin-left:auto;margin-right:auto}.collection-hero-media{height:280px;max-width:680px;width:100%;margin:0 auto}.routine-section{padding:48px 22px 60px}.routine-card{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)}.routine-copy{padding:26px 22px;gap:14px}.routine-card-reverse .routine-visual,.routine-card-reverse .routine-copy{order:initial}}
@media(max-width:700px){.collection-hero{min-height:0;padding:36px 18px 22px}.collection-hero h1{font-size:2.5rem}.collection-tagline{font-size:1.03rem}.collection-hero-copy>p:last-of-type{font-size:.93rem}.collection-hero-media{height:218px;padding:0 8px}.hero-glow{inset:14px 0 0}.routine-section{padding:42px 14px 50px}.routine-heading{margin-bottom:24px}.routine-card,.routine-card-reverse{grid-template-columns:1fr}.routine-card-reverse .routine-visual{order:0}.routine-card-reverse .routine-copy{order:1}.routine-visual{min-height:225px;padding:14px}.routine-visual img{max-height:195px}.routine-copy{grid-template-columns:42px minmax(0,1fr);padding:22px 18px;gap:12px}.step-number{width:38px;height:38px;font-size:.88rem}.routine-copy h3{font-size:1.28rem}.benefit-line{line-height:1.55}.benefit-line span{padding:0 3px}.routine-copy ul{font-size:.8rem}.detail-button{float:none;margin-top:16px}.product-details-page .footer-row{gap:20px}}
@media(max-width:380px){.collection-hero h1{font-size:2.15rem}.collection-hero-media{height:190px}.routine-copy{padding:20px 14px}.routine-copy h3{font-size:1.15rem}}

/* Product details modal */
.detail-button{border:0;cursor:pointer;font-family:inherit}.product-modal{position:fixed;inset:0;z-index:2000;display:none;padding:26px;align-items:center;justify-content:center}.product-modal.is-open{display:flex}.product-modal-backdrop{position:absolute;inset:0;background:rgba(25,7,39,.72);backdrop-filter:blur(5px)}.product-modal-dialog{position:relative;z-index:1;width:min(1000px,100%);max-height:min(850px,calc(100vh - 52px));display:grid;grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:8px;background:#fff;box-shadow:0 30px 80px rgba(20,3,32,.45)}.product-modal-close{position:absolute;z-index:2;top:14px;right:14px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--detail-plum);font:2rem/1 Arial,sans-serif;cursor:pointer;box-shadow:0 5px 14px rgba(28,7,41,.18)}.product-modal-media{min-height:360px;padding:40px 28px;display:grid;place-items:center;background:radial-gradient(circle at 50% 24%,rgba(255,255,255,.96),rgba(214,187,234,.8) 56%,rgba(177,133,210,.62))}.product-modal-media img{width:100%;max-height:470px;object-fit:contain;filter:drop-shadow(0 22px 17px rgba(38,8,57,.27))}.product-modal-content{overflow:auto;padding:44px 46px 36px}.product-modal-content h2{margin:8px 0 18px;color:var(--detail-plum);font-family:'Playfair Display',serif;font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.08;letter-spacing:0}.product-modal-content h3{margin:24px 0 8px;color:var(--detail-plum);font-size:1rem;text-transform:uppercase}.product-modal-content p{margin:0;color:var(--detail-muted);font-size:.94rem;line-height:1.68}.product-modal-content ol{margin:0;padding-left:21px;color:var(--detail-muted);font-size:.92rem;line-height:1.6}.product-modal-content li+li{margin-top:7px}.product-modal-content .product-note{margin-top:18px;padding:13px 14px;border-left:3px solid var(--detail-purple);background:#f7f1fa;color:#473456;font-size:.86rem;font-weight:700;line-height:1.55}.product-modal-buy{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;margin-top:28px;padding:14px 18px;border-radius:5px;background:var(--detail-purple);color:#fff;font-size:.8rem;font-weight:900;letter-spacing:.04em;text-decoration:none;text-transform:uppercase}.product-modal-buy:hover{background:#3c1458}
@media(max-width:760px){.product-modal{padding:12px}.product-modal-dialog{max-height:calc(100vh - 24px);grid-template-columns:1fr}.product-modal-media{min-height:210px;max-height:250px;padding:22px 58px}.product-modal-media img{max-height:210px}.product-modal-content{padding:28px 22px 26px}.product-modal-content h2{font-size:1.72rem}.product-modal-content p,.product-modal-content ol{font-size:.88rem}.product-modal-close{top:10px;right:10px;width:36px;height:36px;font-size:1.7rem}}

/* Mobile modal viewport and close control */
@media(max-width:760px){.product-modal{z-index:3000;padding:8px;align-items:center}.product-modal-dialog{height:calc(100dvh - 16px);max-height:none;grid-template-columns:1fr;grid-template-rows:205px minmax(0,1fr)}.product-modal-media{min-height:0;max-height:none;padding:18px 56px}.product-modal-media img{max-height:180px}.product-modal-content{min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:26px 18px 24px}.product-modal-close{position:absolute;z-index:5;top:12px;right:12px;width:42px;height:42px;background:#fff;color:var(--detail-plum);box-shadow:0 6px 18px rgba(28,7,41,.25)}.product-modal-buy{margin-top:22px}}
