/* PERFORMANCE WEAR v7 — native mobile polish, full-screen product sheet, recent history */
:root{--v7-nav-h:70px;--v7-top-h:62px;--v7-glass:rgba(10,15,14,.86);--v7-line:rgba(255,255,255,.11);--v7-soft:rgba(255,255,255,.055)}
*{-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:#080d0c}
body{overscroll-behavior-y:none;touch-action:pan-y;background:#080d0c}
button,a,[role="button"]{touch-action:manipulation}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.view{scrollbar-gutter:stable}
.topbar{transition:background .22s ease,border-color .22s ease,box-shadow .22s ease}
.topbar,.bottom-nav{backdrop-filter:saturate(150%) blur(18px);-webkit-backdrop-filter:saturate(150%) blur(18px)}
.bottom-nav{border-top:1px solid rgba(255,255,255,.08);box-shadow:0 -14px 36px rgba(0,0,0,.24)}
.bottom-item{min-width:52px;min-height:48px;border-radius:16px}
.bottom-item.active{background:linear-gradient(180deg,rgba(205,244,91,.12),rgba(205,244,91,.035))}
.bottom-item.active svg{filter:drop-shadow(0 0 9px rgba(205,244,91,.28))}
.nav-count{box-shadow:0 0 0 2px #0a0f0e}

/* Recent activity */
.recent-section{margin:34px 0 10px}
.recent-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 1px 8px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.recent-strip::-webkit-scrollbar{display:none}
.recent-card{scroll-snap-align:start;flex:0 0 260px;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:12px;background:linear-gradient(145deg,#111918,#0c1312);border:1px solid var(--v7-line);border-radius:20px;padding:9px;text-align:left;color:inherit;min-height:108px}
.recent-card:hover{border-color:rgba(205,244,91,.38);transform:translateY(-1px)}
.recent-thumb{height:88px;border-radius:14px;overflow:hidden;background:radial-gradient(circle at 50% 30%,rgba(205,244,91,.09),transparent 60%),#0c1211;display:grid;place-items:center}
.recent-thumb .garment{width:82px;height:82px}
.recent-card>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.recent-card small{font:700 9px/1.1 var(--mono,monospace);letter-spacing:.12em;text-transform:uppercase;color:#8c9894}
.recent-card strong{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-card em{font-style:normal;font-weight:900;color:var(--lime)}

/* Product dialog: stronger information architecture */
.spec-note-v7{display:grid;grid-template-columns:1fr;gap:4px;background:linear-gradient(135deg,rgba(205,244,91,.11),rgba(205,244,91,.025));border-color:rgba(205,244,91,.24)}
.spec-note-v7>span{font:800 9px/1.2 var(--mono,monospace);letter-spacing:.14em;color:var(--lime)}
.spec-note-v7>strong{font-size:18px;line-height:1.15;color:#f5f8f5}
.spec-note-v7>small{font-size:11px;line-height:1.45;color:#a7b0ac}
.dialog-action-area{z-index:4}

/* Catalog: clearer scanning and sticky controls */
.catalog-toolbar{border-color:rgba(255,255,255,.09)}
.shortlist-bar{border-color:rgba(205,244,91,.15);background:linear-gradient(90deg,rgba(205,244,91,.06),transparent 56%)}
.product-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.product-card:hover{transform:translateY(-2px);border-color:rgba(205,244,91,.25);box-shadow:0 18px 34px rgba(0,0,0,.18)}
.compare-inline{min-height:38px}

/* Finder: progress feels more app-like */
.stepper-v4{position:relative}
.stepper-v4:before{content:"";position:absolute;left:7%;right:7%;top:23px;height:1px;background:rgba(255,255,255,.11);z-index:0}
.step-wrap{position:relative;z-index:1}
.step-wrap.active .step-num{box-shadow:0 0 0 5px rgba(205,244,91,.09),0 0 24px rgba(205,244,91,.16)}
.finder-selection{border-color:rgba(205,244,91,.2);background:linear-gradient(90deg,rgba(205,244,91,.06),transparent)}
.finder-bottom .button{min-height:48px}
.match-card{transition:border-color .18s ease,transform .18s ease}
.match-card:hover{border-color:rgba(205,244,91,.28);transform:translateY(-1px)}
.match-mini{min-width:44px;min-height:44px}

/* Installed display mode */
@media(display-mode:standalone){.install-action{display:none!important}.topbar{padding-top:max(0px,env(safe-area-inset-top))}}

@media(max-width:760px){
 :root{--v7-nav-h:calc(68px + env(safe-area-inset-bottom));--v7-top-h:58px}
 body{background:#080d0c}
 .app-shell{min-height:100dvh;height:100dvh}
 .topbar{position:sticky;top:0;z-index:50;min-height:var(--v7-top-h);height:var(--v7-top-h);background:rgba(8,13,12,.82);border-bottom:1px solid rgba(255,255,255,.07);padding:0 13px;box-shadow:0 8px 26px rgba(0,0,0,.1)}
 .brand-mark{transform:scale(.86);transform-origin:left center}
 .brand-name{font-size:13px;line-height:1}.brand-name small{font-size:6px;margin-top:3px}
 .top-actions{gap:6px}.top-actions .icon-button{width:40px;height:40px}.top-actions .edition{display:none}
 .view{height:calc(100dvh - var(--v7-top-h) - var(--v7-nav-h));padding-bottom:0;overscroll-behavior-y:contain;scroll-behavior:smooth}
 .bottom-nav{height:var(--v7-nav-h);min-height:var(--v7-nav-h);padding:6px max(7px,env(safe-area-inset-left)) max(6px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-right));background:rgba(7,12,11,.93)}
 .bottom-item{height:52px;gap:2px}.bottom-item svg{width:21px;height:21px}.bottom-item span{font-size:9px;font-weight:700}
 .page{padding-left:14px;padding-right:14px}
 .home-page{padding-left:0;padding-right:0}
 .home-page>.categories-section,.home-page>.finder-banner,.home-page>.use-section,.home-page>.featured-section,.home-page>.recent-section,.home-page>.review-teaser,.home-page>.footer{margin-left:14px;margin-right:14px}
 .hero-v2{min-height:505px;border-radius:0 0 28px 28px;margin:0 0 25px;background-position:center top;overflow:hidden}
 .hero-main{padding:31px 16px 22px!important;max-width:100%!important;min-height:505px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(180deg,rgba(7,11,10,.03) 0%,rgba(7,11,10,.18) 28%,rgba(7,11,10,.93) 74%,#080d0c 100%)}
 .hero-kicker{font-size:8px;margin-bottom:10px}
 .hero-v2 h1{font-size:clamp(42px,12vw,54px)!important;line-height:.91!important;letter-spacing:-.055em;margin:0 0 12px}
 .hero-v2 h1 br:nth-child(2){display:none}
 .hero-v2 p{font-size:13px;line-height:1.35;max-width:330px}
 .hero-search{margin-top:15px;height:54px;border-radius:18px;background:rgba(13,18,17,.88);backdrop-filter:blur(12px)}
 .hero-search input{font-size:16px}.hero-search button{width:47px;height:47px;margin-right:3px}
 .hero-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.hero-quick button{min-width:0;height:45px;padding:0 13px;font-size:11px}.hero-quick button:last-child{grid-column:1/-1}
 .hero-disclaimer{font-size:8px!important;opacity:.72;margin:8px 0 0!important}
 .hero-aside{display:none!important}
 .section-top{align-items:flex-end;gap:10px}.section-top h2{font-size:26px;line-height:.95}.section-actions .carousel-arrow,.swipe-caption{display:none!important}.plain-link{font-size:10px}
 .category-strip{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;scroll-padding-left:14px}
 .category-tile{flex-basis:72vw!important;min-height:176px!important;border-radius:20px!important}
 .finder-banner{min-height:158px;border-radius:22px;padding:18px 16px;align-items:flex-end}.finder-banner-copy strong{font-size:29px}.finder-banner-copy span{max-width:220px}.finder-banner-cta{position:absolute;right:12px;bottom:12px;font-size:0;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;padding:0}.finder-banner-cta svg{width:18px;height:18px}
 .use-tiles{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;scroll-padding-left:14px}.use-tile{flex-basis:79vw!important;border-radius:22px}
 .featured-grid{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;scroll-padding-left:14px}.featured-grid .product-card{flex-basis:76vw!important;max-width:76vw!important}
 .recent-strip{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;scroll-padding-left:14px}.recent-card{flex-basis:78vw}
 .review-teaser{border-radius:22px;padding:24px 20px}.review-teaser h2{font-size:30px}
 .footer{font-size:9px;gap:14px;padding-bottom:22px}

 .catalog-page{padding-left:0;padding-right:0}.catalog-page>.catalog-hero,.catalog-page>.catalog-intro,.catalog-page>.footer{margin-left:14px;margin-right:14px}
 .catalog-hero{padding-top:20px}.catalog-hero h1{font-size:42px}.catalog-hero p{font-size:13px}.catalog-hero-stats{gap:6px;flex-wrap:wrap}.catalog-hero-stats span{font-size:8px}
 .catalog-toolbar{position:sticky;top:0;z-index:15;margin-left:-14px;margin-right:-14px;padding:10px 14px;background:rgba(8,13,12,.9);backdrop-filter:blur(18px);border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.08);border-left:0;border-right:0;border-radius:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .catalog-toolbar .searchbox{grid-column:1/-1;height:50px;border-radius:16px}.catalog-toolbar .select{min-width:0;width:100%;height:42px;font-size:11px;border-radius:13px}
 .filters-box{margin-top:12px}.filter-group{margin-bottom:12px}.filter-label{font-size:8px}.filter-scroll{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;scroll-padding-left:14px}.chip{min-height:40px;padding:0 14px}
 .shortlist-bar{border-radius:16px;align-items:center;padding:11px 12px}.shortlist-bar>span{display:none}.shortlist-toggle{width:100%;justify-content:center;min-height:42px}
 .result-meta{font-size:9px}.clear-filters{font-size:9px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{border-radius:18px;min-width:0}.product-info{padding:10px}.product-info h3{font-size:14px;line-height:1.15;min-height:32px}.card-topline{gap:4px}.brandline,.card-gender{font-size:7px}.card-traits{font-size:8px;gap:4px}.price{font-size:14px}.price small{display:none}.compare-inline{font-size:8px;min-height:34px}.card-view{width:34px;height:34px}.heart{width:36px;height:36px}

 .content-header{padding-top:20px}.page-title{font-size:42px}.intro{font-size:13px}
 .stepper-v4{margin:6px 0 18px}.stepper-v4:before{top:18px}.step-num{width:36px;height:36px}.step-text{font-size:8px}.finder-layout{display:block}.finder-aside{display:none}.finder-card{border-radius:22px;padding:19px 16px;min-height:auto}.finder-card h2{font-size:37px;line-height:.93}.finder-card>p{font-size:13px}.finder-choices{grid-template-columns:1fr 1fr;gap:9px}.choice{min-height:88px;border-radius:16px;padding:14px}.choice strong{font-size:14px}.choice small{font-size:10px}.finder-selection{border-radius:15px;padding:11px 12px}.finder-selection strong{font-size:11px}.finder-bottom{position:sticky;bottom:0;z-index:4;margin:16px -16px -19px;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(10,15,14,0),rgba(10,15,14,.97) 24%);border-radius:0 0 22px 22px}.finder-bottom .button{min-height:48px}
 .finder-result-intro{border-radius:20px;padding:17px}.finder-result-intro h2{font-size:31px}.match-list{gap:10px}.match-card{grid-template-columns:112px 1fr;border-radius:18px;overflow:hidden}.match-card .product-photo{height:100%;min-height:168px}.match-copy{padding:12px}.match-copy h3{font-size:15px}.match-copy>strong{font-size:18px}.why{font-size:10px;line-height:1.4}.match-actions{gap:6px;flex-wrap:wrap}.match-actions .button{font-size:8px;min-height:39px;flex:1}.match-mini{border-radius:12px}

 body[data-dialog="open"]{overflow:hidden}.dialog-layer{position:fixed!important;inset:0!important;z-index:100!important;background:#080d0c!important;display:block!important;padding:0!important}.dialog-scrim{display:none!important}.dialog{position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;margin:0!important;padding:0 14px calc(106px + env(safe-area-inset-bottom))!important;overflow-y:auto!important;background:#080d0c!important;box-shadow:none!important}.dialog-handle{display:none!important}.dialog-close{position:sticky!important;top:10px!important;float:right;z-index:20;width:44px!important;height:44px!important;margin:10px 0 -54px;background:rgba(8,13,12,.86)!important;backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.13)!important}.dialog>.product-photo{height:44dvh!important;min-height:330px!important;margin:0 -14px 20px!important;border-radius:0 0 26px 26px!important}.dialog>.eyebrow{display:block;margin-top:2px}.dialog h2{font-size:38px!important;line-height:.95!important;letter-spacing:-.04em;margin:6px 0 8px!important}.dialog>.price{font-size:24px!important}.dialog .spec-grid{grid-template-columns:1fr 1fr;gap:8px}.dialog .spec{border-radius:14px}.dialog>p{font-size:13px;line-height:1.5}.source-box,.spec-note{border-radius:15px}.dialog-action-area{position:fixed!important;left:0;right:0;bottom:var(--v7-nav-h);z-index:110;padding:10px 14px max(10px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(8,13,12,0),rgba(8,13,12,.96) 22%);backdrop-filter:blur(14px)}.dialog-actions{gap:8px}.dialog-actions .button{min-height:44px}.dialog-buy{min-height:48px;margin-top:8px}

 .compare-board,.compare-controls{display:none!important}.mobile-compare{display:block!important}.mobile-compare-products{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px;scroll-padding-left:14px}.mobile-compare-products article{flex-basis:72vw!important;border-radius:20px}.metric-card{border-radius:18px;padding:14px}.metric-values{gap:8px}.metric-value{border-radius:13px;padding:10px}.compare-add{min-height:50px}
 .saved-toolbar{flex-direction:column;align-items:stretch;gap:9px;border-radius:18px}.saved-toolbar .button{width:100%}
}

@media(max-width:350px){
 .hero-v2 h1{font-size:40px!important}.hero-main{padding-left:13px!important;padding-right:13px!important}.page{padding-left:11px;padding-right:11px}.home-page>.categories-section,.home-page>.finder-banner,.home-page>.use-section,.home-page>.featured-section,.home-page>.recent-section,.home-page>.review-teaser,.home-page>.footer{margin-left:11px;margin-right:11px}.product-grid{gap:8px}.product-info h3{font-size:13px}.finder-choices{grid-template-columns:1fr}.match-card{grid-template-columns:96px 1fr}.bottom-item span{font-size:8px}.bottom-item svg{width:20px;height:20px}}

@media(min-width:761px){.recent-card{flex-basis:300px}.dialog-action-area{position:sticky;bottom:-1px;background:linear-gradient(180deg,transparent,#0d1412 18%);padding-top:18px}.mobile-compare{display:none!important}}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
