/* Scoped navigation, content rails and responsive editorial rhythm. */
body:not(.woocommerce-checkout){--svp-ink:#21172f;--svp-lilac:#f4effc;--svp-border:#e6dff0}
body:is(.tax-product_cat,.tax-product_brand) #ast-desktop-header .ast-below-header-wrap{z-index:1!important}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_brand) #page #secondary{background-image:url('catalog-pixels-375.svg')!important}
body:is(.tax-product_cat,.tax-product_brand) #page .ast-archive-entry-banner>.ast-container{position:relative!important;padding-right:20px!important;display:block;min-height:0}
body:is(.tax-product_cat,.tax-product_brand) #page .ast-archive-entry-banner{min-height:0!important}
#page #svp-archive-category-carousel-source{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(290px,330px);gap:clamp(24px,4vw,60px);align-items:end;width:100%!important;max-width:100%!important;margin:32px 0 0!important;padding:0!important;box-sizing:border-box}
#page .svp-archive-category-links{min-width:0}
#page #svp-archive-category-carousel-source .svp-carousel--bleed{width:100%!important;max-width:100%!important;margin-inline:0!important;--svp-bleed-left:0px!important;--svp-bleed-right:0px!important}
body:is(.tax-product_cat,.tax-product_brand) #page .svp-archive-best{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;margin:0!important;min-width:0}
#page .svp-archive-best__price del{display:none!important}#page .svp-archive-best__price ins{text-decoration:none!important}
#page .svp-archive-best__card{min-height:132px!important}
#ast-desktop-header .main-header-menu:has(.svp-rich-menu){position:static!important}.svp-rich-menu{position:static!important}.svp-rich-menu>.ast-menu-toggle{display:none!important}
#page .svp-mega-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:60px;background:transparent;color:var(--svp-ink);padding:12px 18px;border:0;border-radius:10px;font:inherit;font-weight:650;cursor:pointer;line-height:1.3;white-space:nowrap}
.svp-mega-toggle svg{width:17px;height:17px;transition:transform .18s}.svp-mega-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#page .svp-mega-toggle:hover,#page .svp-mega-toggle[aria-expanded=true]{color:#592ac4;background:#f4effc}
#page .svp-mega-panel{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:min(1060px,calc(100vw - 40px));max-height:calc(100dvh - 135px);overflow:auto;padding:26px;box-sizing:border-box;background:#fff;color:var(--svp-ink);border:1px solid var(--svp-border);border-radius:0 0 22px 22px;box-shadow:0 24px 45px #170d3326;z-index:100}
#page .svp-mega-panel[hidden]{display:none!important}#page .svp-rich-menu.is-open{z-index:110}
#ast-desktop-header .ast-main-header-wrap,#ast-desktop-header .main-header-bar{position:relative;z-index:20}
.svp-nav-kicker{display:block;font-size:10px;font-weight:750;letter-spacing:.13em;line-height:1.5;color:#725095}
.svp-mega-intro{display:flex;align-items:center;gap:20px;margin-bottom:22px;flex-wrap:wrap}.svp-mega-intro strong{font-size:22px;letter-spacing:-.025em}.svp-mega-intro>a{margin-left:auto;font-size:12px;font-weight:650}
.svp-mega-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:26px}.svp-mega-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px}
#page a.svp-mega-destination{display:flex;align-items:center;gap:10px;padding:12px!important;border:1px solid #ece7f2;border-radius:13px;line-height:1.3!important;white-space:normal;color:#292032;background:#fcfbfe;text-decoration:none}
.svp-mega-destination>span:nth-child(2){min-width:0;flex:1}.svp-mega-destination strong{display:block;font-size:13px}.svp-mega-destination small{display:block;color:#71677c;font-size:10px;margin-top:5px}
.svp-mega-thumbnail{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;background:#fff;border-radius:9px;overflow:hidden}.svp-mega-thumbnail img{width:100%;height:100%;object-fit:contain}
.svp-mega-picks{display:flex;flex-direction:column;gap:10px;padding-left:24px;border-left:1px solid #ece7f2}
#page a.svp-mega-product{display:flex;align-items:center;gap:14px;white-space:normal;line-height:1.4!important;color:#292032;padding:10px!important;text-decoration:none;border-radius:12px}
.svp-mega-product img{flex:0 0 76px;width:76px;height:76px;object-fit:contain;border-radius:10px;background:#f5f3f8}.svp-mega-product strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.4}.svp-mega-price{display:block;color:#4c25b1;font-size:15px;font-weight:750;margin:5px 0}.svp-mega-product small{display:block;font-size:11px;color:#70667c}
#page a.svp-mega-video{display:flex;align-items:center;gap:12px;background:linear-gradient(120deg,#27183f,#5b3782);color:#fff;border-radius:12px;padding:14px!important;line-height:1.4!important}.svp-mega-video>span:first-child{font-size:28px}.svp-mega-video strong{display:block;font-size:13px}.svp-mega-video small{display:block;font-size:11px;color:#e8ddf8}
.svp-mega-bottom{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #ece7f2;padding-top:17px;margin-top:22px}.svp-mega-bottom a{font-size:12px;border-radius:20px;background:#f4effc;padding:8px 14px!important;line-height:1.4!important;font-weight:650}
#page .svp-mega-panel a:hover{background-color:#f0e9fc}#page .svp-mega-panel a:focus-visible,#page .svp-mega-toggle:focus-visible{outline:3px solid #a185ef;outline-offset:3px}
/* The existing modal owns focus containment, Escape, close and restore. */
#svp-native-menu{width:min(420px,100vw)!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0 auto 0 0!important;border:0!important;border-radius:0 24px 24px 0!important;padding:28px 22px 34px!important;background:#fcfaff!important;color:#241a31!important;box-sizing:border-box;overscroll-behavior:contain;overflow:auto}
#svp-native-menu::backdrop{background:#180f2a99;backdrop-filter:blur(5px)}#svp-native-menu>[data-svp-close]{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:1px solid #e4daef;border-radius:50%;background:#fff;color:#4a355f;font-size:25px;line-height:1}
.svp-mobile-menu-intro{padding:14px 42px 14px 0}.svp-mobile-menu-intro strong{display:block;font-size:24px;letter-spacing:-.035em;line-height:1.15;margin:9px 0}.svp-mobile-menu-intro p{font-size:12px;color:#75677f;margin:0}
.svp-mobile-search{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #ded3ed;border-radius:12px;padding:5px;margin:5px 0 14px}.svp-mobile-search input[type=search]{min-width:0;width:100%;border:0;background:transparent;font-size:13px;padding:10px}.svp-mobile-search button{flex:0 0 36px;min-width:36px;width:36px;height:36px;padding:0;background:#5228bd;border-radius:9px}
.svp-mobile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px}.svp-mobile-shortcuts a{padding:10px 6px;text-align:center;background:#eee5fc;border-radius:10px;color:#4e2797;font-size:12px;font-weight:700}
#svp-native-menu nav ul{padding:0!important;margin:0!important;list-style:none}#svp-native-menu nav li{border:0!important;margin:0 0 6px!important}
#svp-native-menu a.svp-mobile-destination{display:flex!important;align-items:center;gap:12px;min-height:62px;padding:8px 12px!important;border:1px solid #eee8f4;border-radius:12px;background:#fff;color:#292032;line-height:1.3;font-size:14px;font-weight:650}
.svp-mobile-destination>span:nth-last-child(2){flex:1;min-width:0}.svp-mobile-destination__image{flex:0 0 45px;height:45px;display:grid;place-items:center}.svp-mobile-destination__image img{height:45px;width:45px;object-fit:contain;border-radius:7px}.svp-mobile-destination>span:last-child{color:#947aa8}
.svp-mobile-help{display:grid;gap:3px;margin-top:20px;border-top:1px solid #e5ddef;padding-top:14px}.svp-mobile-help a{font-size:13px;padding:10px;color:#5d476f;border-radius:8px}
/* Homepage rails: align to the same safe gutter as native product sliders. */
body.home #page .svp-home-reviews{width:100vw!important;max-width:100vw!important;margin-inline:calc(50% - 50vw)!important;background:transparent!important;border-radius:0!important;padding:12px 20px 35px!important;box-sizing:border-box}
body.home #page .svp-home-reviews .cr-reviews-slider{padding-top:46px!important;padding-bottom:24px!important}body.home #page .svp-home-reviews .slick-list{padding:0!important}
body.home #page .svp-home-reviews .slick-slide{width:calc((100vw - 60px)/3.4)!important;padding:0 8px!important}
body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-arrow{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;background:#e6e1ed!important;border:0!important;border-radius:7px!important;top:0!important;color:#fff!important;font-size:0!important;box-shadow:none!important}
body.home #page .svp-home-reviews .slick-arrow:before{display:block;content:''!important;width:10px;height:10px;border:solid #fff;border-width:0 3px 3px 0;margin:auto;transform:rotate(-45deg)}body.home #page .svp-home-reviews .slick-prev:before{transform:rotate(135deg)}
body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-next{right:0!important}body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-prev{right:46px!important;left:auto!important}
body.home #page :is(.entry-content,.woocommerce-archive-description)>h2{font-size:clamp(25px,2.5vw,34px);letter-spacing:-.03em;margin-top:56px!important;margin-bottom:22px!important;line-height:1.2}
body.home #page .svp-home-featured{margin-block:48px!important;padding:28px!important}body.home #page .svp-home-commercial{margin-block:48px!important}
body.home #page .svp-home-intro{margin-block:28px!important}
.svp-home-help{display:grid!important;grid-template-columns:1fr 1fr;gap:24px;margin:56px 0!important;align-items:stretch}.svp-home-help .wp-block-column{padding:30px;border:1px solid #e1d7ee;border-radius:20px;background:linear-gradient(140deg,#f5f0fd,#fff);display:flex;flex-direction:column;min-width:0}.svp-home-help .wp-block-column:nth-child(2){background:linear-gradient(130deg,#29183e,#503176);color:#fff}.svp-home-help h2{font-size:27px!important;line-height:1.15;letter-spacing:-.025em;margin:0 0 16px!important}.svp-home-help p{font-size:14px;line-height:1.7;margin-bottom:20px}.svp-home-help .wp-block-buttons{margin-top:auto}.svp-home-help .wp-block-button__link{border-radius:10px!important;font-size:13px!important;padding:13px 20px!important}.svp-home-help .wp-block-column:nth-child(2) a{color:#fff}
.svp-nostalgia{background:radial-gradient(ellipse at 80% 120%,#663b93,transparent 65%),linear-gradient(120deg,#171022,#2c1a41);color:#fff;padding:50px 0;overflow:hidden}.svp-nostalgia .ast-container{display:flex;align-items:center;gap:28px;max-width:var(--ast-container-width,1240px);margin:auto;box-sizing:border-box;padding-inline:20px}.svp-nostalgia-pixels{font-size:42px;letter-spacing:4px;color:#b9a0e9;white-space:nowrap}.svp-nostalgia h2{color:#fff;font-size:clamp(26px,3vw,36px);letter-spacing:-.03em;line-height:1.15;margin:8px 0 12px}.svp-nostalgia p{font-size:14px;color:#dacfe7;line-height:1.6;max-width:580px;margin:0}.svp-nostalgia .svp-nav-kicker{color:#c3a8e5}.svp-nostalgia a{margin-left:auto;flex-shrink:0;background:#fff;color:#3f2261;font-size:13px;font-weight:700;display:flex;gap:18px;align-items:center;border-radius:12px;padding:15px 20px}
@media(max-width:1100px){.svp-mega-grid{gap:16px}.svp-mega-intro strong{font-size:18px}.svp-nostalgia-pixels{display:none}.svp-nostalgia .ast-container{gap:24px}}
@media(max-width:921px){#page #svp-archive-category-carousel-source{grid-template-columns:minmax(0,1fr);gap:26px;margin-top:26px!important}#page .svp-archive-best{max-width:none!important}.svp-home-help{gap:16px}.svp-home-help .wp-block-column{padding:24px}.svp-nostalgia .ast-container{flex-wrap:wrap}.svp-nostalgia a{margin-left:0}.svp-nostalgia{padding:36px 0}body.home #page .svp-home-reviews .slick-slide{width:calc((100vw - 40px)/2.35)!important}}
@media(max-width:600px){.svp-home-help{grid-template-columns:1fr!important;margin-block:36px!important;gap:14px}.svp-home-help .wp-block-column{padding:24px}.svp-home-help h2{font-size:25px!important}.svp-nostalgia h2{font-size:27px}.svp-nostalgia p{font-size:13px}.svp-nostalgia a{font-size:12px;padding:14px 17px}body.home #page .svp-home-reviews{padding-inline:15px!important}body.home #page .svp-home-reviews .slick-slide{width:84vw!important}body.home #page :is(.entry-content,.woocommerce-archive-description)>h2{margin-top:36px!important}body.home #page .svp-home-featured{padding:20px!important;margin-block:36px!important}#svp-native-menu{border-radius:0 18px 18px 0!important}body.home #page .svp-home-reviews .cr-review-card-inner{min-height:320px!important}}
@media(prefers-reduced-motion:reduce){.svp-mega-toggle svg{transition:none}}
#svp-native-menu .svp-commercial-menu{display:none!important}

/* Same controls as the native product rails, with real SVG arrows. */
body.home #page .svp-home-reviews .cr-reviews-slider{padding-top:8px!important}
body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-arrow{width:50px!important;height:50px!important;min-width:50px!important;max-width:50px!important;min-height:50px!important;border-radius:4px!important;background:rgba(210,210,215,.64)!important;top:50%!important;transform:translateY(-50%)!important;padding:11px!important;color:#fff!important;display:grid!important;place-items:center}
body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-arrow:before,body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-arrow:after{display:none!important;content:none!important}
body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-prev{left:0!important;right:auto!important}body.home #page .svp-home-reviews .cr-reviews-slider.slick-slider button.slick-next{right:0!important;left:auto!important}
body.home #page .svp-home-reviews .slick-arrow svg{width:28px!important;height:28px!important;display:block}

/* Contrast verified against the live dark help panel. */
body.home #page .svp-home-help .wp-block-column:nth-child(2) h2{color:#fff!important}
body.home #page .svp-home-help .wp-block-column:nth-child(2) .wp-block-button__link{background:#fff!important;color:#412363!important}
body.woocommerce.archive .wc-block-product-filters.is-overlay-opened .wc-block-product-filters__overlay-dialog{background-image:url('catalog-pixels-375.svg')!important}
