/* PERFORMANCE WEAR v5 / native-feel mobile, one design system across web and PWA */
:root{--lime:#dfff70;--screen:#0c1211;--panel:#192321;--line5:#34433c;--text5:#f5f7f2}
html,body{width:100%;max-width:100%;-webkit-tap-highlight-color:transparent}
html{overscroll-behavior:none}
body{background:var(--screen)}
button,input,select,a{touch-action:manipulation}
button,input,select{font-family:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
button,.button,.plain-link{user-select:none;-webkit-user-select:none}
.view{overflow-anchor:none;scroll-padding-top:8px;background:var(--screen)}
.topbar{background:#0e1514f2;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.topbar .brand{white-space:nowrap}
.topbar .nav-link{transition:background .2s,color .2s}
.topbar .nav-link.active{background:#e0ff7130;border:1px solid #dfff704f}
.topbar .nav-link:active,.bottom-item:active{transform:scale(.96)}
.catalog-page{padding-top:0}
.catalog-hero{margin:0 -34px 24px;min-height:270px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:12px;padding:35px max(34px,calc((100vw - 1400px)/2)) 32px;background:linear-gradient(90deg,#0a1010f2 0%,#0a1010a3 50%,#0a101026 100%),url('./assets/trail-scene.webp') center 56%/cover no-repeat;border-bottom:1px solid #56654c;color:#fff}
.catalog-hero .eyebrow{color:var(--lime)}
.catalog-hero h1{font-size:clamp(36px,4.5vw,65px);font-weight:950;line-height:.99;letter-spacing:-2.8px;margin:0;max-width:780px}
.catalog-hero h1 em{font-style:normal;color:var(--lime)}
.catalog-hero p{color:#ecf3e9;max-width:570px;line-height:1.5;font-size:13px;margin:0}
.catalog-hero-stats{display:flex;gap:8px;flex-wrap:wrap}
.catalog-hero-stats span{border:1px solid #8c9b8575;background:#0b1412ab;padding:7px 10px;border-radius:30px;color:#eef3e9;font:750 9px 'Courier New',monospace;letter-spacing:1px}
.catalog-page .catalog-intro{border-top:0}
.catalog-page .catalog-toolbar{position:relative;z-index:2}
.catalog-page .catalog-toolbar input:focus{outline:2px solid var(--lime);outline-offset:1px}
.catalog-page .filter-scroll{overscroll-behavior-x:contain}
.catalog-page .product-grid .product-card{border-color:#35443c}
.catalog-page .result-meta{font-size:11px}
/* Home now acts as a curated start, catalogue is a first-class route. */
.home-page .categories-section{margin-top:0}
.home-page .hero-v2{margin-bottom:22px}
.home-page .featured-section{margin-top:28px}
.home-page .review-teaser{margin-bottom:28px}
.home-page .category-strip,.home-page .featured-grid{scrollbar-width:none}
.home-page .category-strip::-webkit-scrollbar,.home-page .featured-grid::-webkit-scrollbar{display:none}
.category-tile,.finder-banner{transition:transform .16s ease,filter .16s ease}
.category-tile:active,.finder-banner:active{transform:scale(.985)}
.featured-grid .product-card{background:#19221f}
/* Product sheet */
.dialog-layer:not([hidden]){z-index:40}
.dialog{overscroll-behavior:contain}
.dialog-handle{display:none}
.dialog .source-box{line-height:1.55}
.dialog .spec-grid{gap:9px}
.dialog-actions .button{font-weight:850}
.dialog .product-photo{background-color:#25332c}
.dialog .photo-caption{letter-spacing:.05em}
.dialog-action-area{background:linear-gradient(to bottom,#111918ad,#111918 18%)}
/* Mobile comparison is vertical and thumb-friendly; desktop maintains its side-by-side table. */
.mobile-compare{display:none}
/* Finder clearer progression and numeric budget presets */
.stepper-v4 .step-wrap{border:0;min-width:0;padding:0;background:none;cursor:pointer;font-family:inherit}
.stepper-v4 .step-wrap:disabled{opacity:.58;cursor:default}
.stepper-v4 .step-wrap.active:disabled{opacity:1}
.budget-presets{display:flex;gap:7px;overflow:auto;margin-top:12px;scrollbar-width:none;padding-bottom:3px}
.budget-presets button{flex:0 0 auto;min-height:38px;padding:0 12px;background:#19251c;border:1px solid #53624f;border-radius:22px;color:#eef4e9;font-weight:700;font-size:11px}
.budget-presets button:hover{border-color:var(--lime);color:var(--lime)}
.budget-presets button:active{background:var(--lime);color:#152013}
@media(min-width:821px){
 .catalog-page{max-width:1500px}
 .catalog-hero{margin-left:-34px;margin-right:-34px}
 .product-grid .product-card{border-radius:17px}
 .catalog-hero + .catalog-intro{padding-top:8px}
}
@media(max-width:820px){
 .topbar{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .bottom-nav{padding-left:max(3px,env(safe-area-inset-left));padding-right:max(3px,env(safe-area-inset-right));background:#111817f8}
 .view{scrollbar-width:none}
 .view::-webkit-scrollbar{display:none}
 .catalog-hero{margin:0 -18px 18px;min-height:207px;padding:24px 20px 22px;background-position:center 43%}
 .catalog-hero h1{font-size:clamp(37px,7vw,55px)}
 .catalog-hero p{font-size:12px}
 .catalog-intro{padding-top:0}
 .mobile-compare{display:block}
 .compare-board,.compare-controls{display:none}
 .compare-mobile-intro{padding:2px 0 18px}
 .compare-mobile-intro .eyebrow{color:var(--lime)}
 .compare-mobile-intro h2{font-size:31px;letter-spacing:-1px;line-height:1.1;margin:8px 0}
 .compare-mobile-intro h2 span{color:var(--lime)}
 .compare-mobile-intro p{font-size:12px;color:#bccbbd;line-height:1.5;margin:0}
 .mobile-compare-products{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -18px 14px;padding:0 18px 7px;overscroll-behavior-x:contain}
 .mobile-compare-products::-webkit-scrollbar{display:none}
 .mobile-compare-products article{background:#202b25;border:1px solid #526450;border-radius:15px;flex:0 0 160px;scroll-snap-align:start;padding:8px 8px 10px;min-width:0;display:flex;flex-direction:column;gap:5px}
 .mini-product{border-radius:10px;overflow:hidden}
 .mini-product .product-photo{height:108px;border:0;border-radius:10px}
 .mini-product .photo-index{display:none}
 .mini-product .photo-caption{font-size:7px;bottom:5px}
 .mobile-compare-products .brandline,.metric-brand{font:850 9px 'Courier New',monospace;letter-spacing:1px;color:var(--lime);text-transform:uppercase}
 .mobile-compare-products article>strong{font-size:13px;line-height:1.23;min-height:31px}
 .mobile-compare-products article>span:last-of-type{font-size:19px;font-weight:850}
 .mini-actions{display:flex;gap:5px;margin-top:5px}
 .mini-actions button{color:#fff;background:#334139;border:1px solid #60705f;border-radius:8px;min-height:38px;flex:1;font-size:12px;font-weight:750}
 .mini-actions button:last-child{flex:0 0 36px;font-size:18px}
 .metric-card{padding:13px;background:#1a2420;border:1px solid #3d5346;border-radius:14px;margin:8px 0}
 .metric-card h3{font-size:13px;letter-spacing:-.2px;margin:0 0 11px;color:#f4f8ef}
 .metric-values{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:6px}
 .metric-card:has(.metric-value:nth-child(1):last-child) .metric-values{--cols:1}
 .metric-card:has(.metric-value:nth-child(2):last-child) .metric-values{--cols:2}
 .metric-value{min-width:0;background:#26342b;padding:10px 8px;border-radius:9px;display:flex;flex-direction:column;gap:8px}
 .metric-value strong{font-size:12px;overflow-wrap:anywhere;line-height:1.3}
 .metric-brand{font-size:8px;line-height:1.25}
 .compare-fineprint{color:#b8c5b7;font-size:11px;line-height:1.5;margin:15px 0}
 .compare-add{min-height:48px;border-radius:28px}
 .dialog-handle{display:block;width:39px;height:4px;border-radius:10px;background:#a7b7a4;margin:0 auto 12px}
 .dialog{max-height:100dvh;height:min(94dvh,930px);overflow:auto;scrollbar-width:none}
 .dialog::-webkit-scrollbar{display:none}
 .dialog-close{position:sticky;top:2px;margin-left:auto;width:41px;height:41px;display:grid;place-items:center;border:1px solid #768678;backdrop-filter:blur(12px)}
 .dialog-action-area{bottom:0;box-shadow:0 -8px 20px #0a100c99}
}
@media(max-width:560px){
 .app-shell{height:100dvh;min-height:100dvh}
 .topbar{height:calc(56px + env(safe-area-inset-top));flex-basis:calc(56px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
 .bottom-nav{height:calc(62px + env(safe-area-inset-bottom));flex-basis:calc(62px + env(safe-area-inset-bottom));padding-bottom:max(5px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0}
 .bottom-item{min-width:0;flex:1;min-height:51px;gap:4px}
 .bottom-item svg{width:22px;height:22px}
 .bottom-item span{font-size:10px}
 .hero-v2{min-height:0!important;padding:27px 17px 16px; margin-bottom:15px!important;background-position:center 18%;}
 .hero-main h1{font-size:clamp(33px,9vw,43px);margin:17px 0 9px;line-height:.94;letter-spacing:-1.45px}
 .hero-main>p:not(.hero-disclaimer){font-size:12px;line-height:1.43;margin-bottom:13px;max-width:300px}
 .hero-search{height:48px}
 .hero-quick{margin-top:10px;gap:7px}
 .hero-quick button{min-height:44px;padding:8px 5px;font-size:10px}
 .hero-disclaimer{margin:9px 0 0!important;font-size:9px!important}
 .hero-kicker{font-size:8px}
 .home-page .section-top{margin-bottom:10px}
 .home-page .section-top h2{font-size:25px;max-width:210px}
 .home-page .categories-section .category-tile{height:174px;min-height:174px}
 .home-page .categories-section .category-strip{margin-bottom:17px}
 .category-strip,.featured-grid{scroll-padding-left:0}
 .home-page .finder-banner{margin-bottom:22px}
 .catalog-hero{margin:0 -14px 14px;padding:21px 17px;min-height:194px}
 .catalog-hero h1{font-size:38px;letter-spacing:-1.65px}
 .catalog-hero p{font-size:11px}
 .catalog-hero-stats{gap:5px}
 .catalog-hero-stats span{font-size:8px;padding:6px 7px}
 .catalog-page .catalog-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .catalog-page .searchbox{grid-column:1/-1}
 .catalog-page .catalog-intro .section-top h2{font-size:27px}
 .catalog-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .catalog-page .product-photo{height:150px;aspect-ratio:auto}
 .catalog-page .product-info h3{min-height:36px}
 .catalog-page .product-info .price{font-size:18px}
 .catalog-page .compare-inline{min-height:43px;font-size:10px}
 .catalog-page .result-meta{font-size:10px}
 .dialog-layer{padding:0}
 .dialog{height:96dvh;border-radius:21px 21px 0 0;padding:9px 15px calc(14px + env(safe-area-inset-bottom));}
 .dialog .product-photo{height:clamp(200px,32dvh,280px)}
 .dialog h2{font-size:32px}
 .dialog-action-area{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
 .dialog-buy{min-height:50px;border-radius:25px}
 .dialog-actions .button{border-radius:25px}
 .content-header{padding-top:24px}
 body[data-route="finder"] .content-header,body[data-route="compare"] .content-header{min-height:0;padding:24px 17px;margin-bottom:14px}
 body[data-route="finder"] .content-header .page-title,body[data-route="compare"] .content-header .page-title{font-size:34px}
 .stepper-v4{min-height:62px;margin-bottom:7px}
 .finder-card{padding:17px 14px}
 .finder-card h2{font-size:29px;line-height:1.02}
 .finder-choices{margin:12px 0}
 .choice{min-height:103px}
 .finder-bottom{position:sticky;bottom:0;padding:8px 0;background:linear-gradient(180deg,transparent,#0d1514 26%);z-index:3}
 .finder-bottom .button{min-height:47px;border-radius:25px}
 .mobile-compare-products{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
 .metric-card{padding:11px}
 .metric-value{padding:9px 7px}
}
@media(max-width:355px){
 .brand-name{font-size:12px}
 .hero-v2{padding-top:22px}
 .hero-main h1{font-size:32px}
 .hero-quick button{font-size:9px}
 .catalog-page .product-grid{gap:7px}
 .catalog-page .product-info{padding:10px}
 .metric-card{padding:9px}
 .metric-value strong{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hero-v2,.category-tile,.finder-banner{transition:none!important}}
