@font-face{font-family:'Gabarito';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/gabarito-400.ttf') format('truetype')}
@font-face{font-family:'Gabarito';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/gabarito-500.ttf') format('truetype')}
@font-face{font-family:'Gabarito';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/gabarito-600.ttf') format('truetype')}
@font-face{font-family:'Gabarito';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/gabarito-700.ttf') format('truetype')}

:root{--ink:#28372a;--muted:#73786d;--cream:#faf9f5;--line:#dddeda;--sage:#e8ecdf}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--cream);color:var(--ink);font:14px 'Gabarito',sans-serif}button,input,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button,a{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #8a9b6d;outline-offset:4px}.announcement{background:#e9eddf;text-align:center;padding:10px;font-size:11px;letter-spacing:.6px}.announcement span{margin-left:18px;color:#78816b}header{height:90px;max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 56px}.logo{font-family:'Gabarito',sans-serif;font-size:31px;letter-spacing:-1.5px}.logo span{font-style:italic}.logo i{font:28px 'Gabarito',sans-serif;color:#859366;margin-left:7px}nav{display:flex;gap:35px}nav button,.saved,#reset{border:0;background:none}.saved{display:flex;align-items:center;gap:9px}.saved b{background:#e9ecdf;padding:4px 7px;border-radius:50%;font-size:10px}.hero{max-width:1280px;display:grid;grid-template-columns:1.15fr 1fr;gap:60px;margin:30px auto 76px;padding:0 56px;align-items:center}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600}.hero h1{font-family:'Gabarito',sans-serif;font-size:clamp(44px,4.8vw,67px);font-weight:400;line-height:1.12;letter-spacing:-2px;margin:24px 0}.hero h1 em{color:#7c8869}.hero p{line-height:1.9;color:var(--muted);font-size:14px}.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;background:var(--ink);color:white;border:0;border-radius:4px;padding:16px 24px}.hero .primary{margin-top:22px}.hero-note{margin-top:28px;color:var(--muted);font-size:11px;display:flex;gap:24px}.hero-note span:before{content:'✓';margin-right:7px;color:#788765}.hero-art{background:transparent;position:relative;min-height:438px;border-radius:130px 130px 4px 4px;padding:27px;overflow:hidden}.hero-art img{display:block;width:100%;height:354px;object-fit:contain;object-position:center;position:relative;z-index:1;transform:scale(1.14);filter:drop-shadow(0 18px 16px rgba(38,47,31,.18))}.art-label{font-size:9px;letter-spacing:1.5px;display:flex;justify-content:space-between;margin:14px 16px 0}.art-label span{color:#858c78}.measure{position:absolute;right:14px;top:46%;background:#faf9f2;display:flex;gap:12px;align-items:center;padding:15px 20px;box-shadow:0 5px 25px #35452b0a;transform:rotate(4deg);font-size:12px;line-height:1.6}.measure>span{font-size:34px;font-weight:400}.measure strong{font-weight:500}.art-bottom{font-size:10px;display:flex;justify-content:space-between;border-top:1px solid #c8cdbb;padding-top:17px}.discover{max-width:1280px;margin:auto;padding:0 56px}.section-title{text-align:center}.section-title h2{font:400 40px 'Gabarito',sans-serif;margin:13px 0 10px;letter-spacing:-1px}.section-title p{color:var(--muted);margin:0 0 25px}.demo{text-align:center;font-size:10px;color:#7a7d73;margin-bottom:25px}.demo span{font-size:8px;background:#eeeee6;padding:5px 7px;margin-right:8px;letter-spacing:1px}.filters{display:grid;grid-template-columns:repeat(4,1fr) 1.3fr;border:1px solid var(--line);padding:16px;background:#fff;gap:18px;border-radius:6px}.filters label{font-size:10px;letter-spacing:.5px;padding-left:10px;border-right:1px solid var(--line)}select{border:0;background:transparent;color:var(--ink);cursor:pointer}.filters select{display:block;width:96%;margin-top:10px;font-size:13px}.filters .primary{font-size:12px}.results-bar{display:flex;justify-content:space-between;align-items:center;margin:31px 0 22px}.chips{display:flex;gap:8px}.chips button{border:1px solid var(--line);background:none;border-radius:24px;padding:9px 18px;font-size:12px}.chips .active{background:#e7ebdf;border-color:#e7ebdf}.stock{font-size:12px;display:flex;gap:8px;align-items:center;cursor:pointer}input{accent-color:var(--ink)}.result-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:17px}.result-meta select{font-size:11px;margin-left:15px}.result-meta #reset{text-decoration:underline;color:var(--muted);font-size:11px}.load-more-wrap{display:flex;justify-content:center;margin:30px 0 8px}.load-more-wrap[hidden]{display:none}.load-more-wrap .primary{cursor:pointer}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 23px}.card-art{position:relative;background:#eeece6;height:300px;overflow:hidden;border-radius:4px}.card-art svg{height:100%;width:100%;transition:transform .3s}.card:hover .card-art svg{transform:scale(1.035)}.heart{position:absolute;right:13px;top:13px;border:0;border-radius:50%;background:#ffffffbb;width:33px;height:33px;font-size:22px;z-index:1}.heart.on{background:#e0e7d6}.tag{position:absolute;left:13px;top:17px;font-size:9px;background:#fff9;padding:5px 8px}.length{position:absolute;bottom:12px;left:13px;background:#ffffffdf;padding:6px 9px;font-size:10px}.card-info{padding:16px 2px}.brand{font-size:9px;letter-spacing:1.4px;color:var(--muted);margin-bottom:7px}.card-title{display:flex;justify-content:space-between;gap:8px}.card-title h3{font-size:14px;font-weight:500;margin:0}.card-title strong{font-size:13px;font-weight:500}.details{color:var(--muted);font-size:11px;margin:9px 0 14px}.card-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;align-items:center;font-size:10px}.card-bottom button{border:0;background:none;font-size:11px;padding:5px 0}.availability{color:#70815a}.unavailable{color:#9a7a60}.empty{grid-column:1/-1;text-align:center;padding:60px 20px;border:1px dashed var(--line)}.help-banner{margin:55px 0 65px;background:#e9ecdf;display:flex;align-items:center;justify-content:space-between;padding:35px 40px;border-radius:5px}.help-banner h3{font:26px 'Gabarito',sans-serif;margin:12px 0}.help-banner p{color:var(--muted);font-size:12px}.help-banner button{background:transparent;border:1px solid #aeb6a1;border-radius:4px;padding:14px 20px;white-space:nowrap}.help-banner button span{margin-left:25px}footer{border-top:1px solid var(--line);padding:30px 56px;display:flex;align-items:center;justify-content:space-between;max-width:1280px;margin:auto}footer p,footer>span{font-size:11px;color:var(--muted)}dialog{border:0;border-radius:8px;background:var(--cream);color:var(--ink);width:min(460px,92vw);padding:38px;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#26302966}dialog h2{font:30px 'Gabarito',sans-serif}dialog p,dialog li{line-height:1.8;color:var(--muted)}.close{position:absolute;top:12px;right:17px;border:0;background:none;font-size:25px}dialog label{display:block;margin:20px 0 8px}dialog input[type=email]{width:100%;padding:12px;border:1px solid var(--line);margin-bottom:15px}dialog .primary{width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:5px;display:none;z-index:5;font-size:12px}@media(max-width:800px){header{padding:0 22px;height:75px}nav{gap:18px;font-size:12px}.hero{padding:0 22px;gap:25px;margin-top:20px}.hero h1{font-size:43px}.hero p br{display:none}.hero-art{min-height:360px;padding:18px;border-radius:95px 95px 4px 4px}.hero-art img{height:290px}.art-label{font-size:7px;letter-spacing:.5px}.measure{right:5px;padding:10px;font-size:10px}.discover{padding:0 22px}.filters{gap:10px;grid-template-columns:repeat(4,1fr)}.filters .primary{grid-column:1/-1;justify-content:center}.grid{grid-template-columns:repeat(2,1fr)}.help-banner{padding:25px;gap:20px}footer{padding:25px 22px}footer p{display:none}}@media(max-width:520px){.announcement{font-size:9px}.announcement span{display:none}nav{display:none}.hero{grid-template-columns:1fr;gap:30px;margin-bottom:45px}.hero h1{font-size:48px}.hero-copy{padding:15px 0}.hero-art{min-height:310px;border-radius:100px 100px 4px 4px}.hero-art img{height:260px}.hero-note{margin-top:22px}.section-title h2{font-size:33px}.demo{line-height:1.8}.demo span{display:block;width:max-content;margin:0 auto 5px}.filters{grid-template-columns:repeat(2,1fr)}.filters label{padding:5px}.chips{gap:5px;flex-wrap:wrap}.chips button{padding:8px 11px;font-size:10px}.results-bar{align-items:flex-start;gap:12px;flex-direction:column}.result-meta{gap:10px;font-size:10px}.result-meta select{margin-left:3px;max-width:115px}.grid{gap:15px 12px}.card-art{height:225px}.card-title{display:block}.card-title h3{font-size:13px;margin-bottom:7px}.card-bottom{align-items:flex-start;gap:6px;flex-direction:column}.tag{font-size:7px;left:8px}.heart{right:8px}.help-banner{display:block;margin:35px 0}.help-banner h3{font-size:25px}.help-banner button{margin-top:12px}.length{font-size:9px;left:8px}.logo{font-size:28px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card-art svg{transition:none}}

/* Revenco identity */
.logo{display:inline-flex;align-items:center;flex-shrink:0;line-height:1}.logo img{display:block;width:184px;height:auto}footer .logo img{width:164px}@media(max-width:520px){.logo img{width:164px}footer .logo img{width:145px}}

.hero h1{font-weight:500;letter-spacing:-2px}.hero h1 em{font-style:normal}.section-title h2,.help-banner h3,dialog h2{font-weight:500}
/* Readable product availability and actions. */
.card-bottom{gap:10px;flex-wrap:wrap;font-size:14px;line-height:1.5;padding-top:14px}
.card-bottom .availability,.card-bottom .unavailable{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;padding:6px 10px;border-radius:5px;font-weight:500}
.card-bottom .availability{color:#40552f;background:#e8eddf}
.card-bottom .unavailable{color:#775335;background:#f0e7dc}
.card-bottom small{font-size:12px;font-weight:400}
.card-bottom button{font-size:14px;font-weight:500;min-height:44px;padding:10px 12px;border:1px solid #c8cec2;border-radius:5px;background:#fff}
.card-bottom button:hover{background:#e8eddf;border-color:#a3b293}
@media(max-width:520px){.card-bottom{align-items:stretch;gap:9px}.card-bottom .availability,.card-bottom .unavailable{align-self:flex-start;font-size:13px;padding:6px 8px}.card-bottom button{width:100%;text-align:center}}
.header-actions{display:flex;align-items:center;gap:18px}.theme-toggle{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:23px;line-height:1}.theme-toggle:hover{background:var(--sage)}
html{color-scheme:light}html[data-theme=dark]{color-scheme:dark;--ink:#e5ecde;--muted:#abb5a6;--cream:#171d18;--line:#394237;--sage:#303c2c}
[data-theme=dark] .announcement,[data-theme=dark] .help-banner{background:#273223}
[data-theme=dark] .announcement span,[data-theme=dark] .art-label span{color:#b5c1aa}
[data-theme=dark] .logo img{filter:brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(254%) hue-rotate(40deg) brightness(101%) contrast(89%)}
[data-theme=dark] .saved b,[data-theme=dark] .chips .active,[data-theme=dark] .demo span{background:#35412f;color:#e5ecde}
[data-theme=dark] .hero h1 em{color:#b3c995}
[data-theme=dark] .hero-art{background:transparent}
[data-theme=dark] .measure{background:#e3e8d7;color:#28372a}
[data-theme=dark] .art-bottom{border-color:#526047}
[data-theme=dark] .filters{background:#202821}
[data-theme=dark] .primary{background:#c0d3a6;color:#192117}
[data-theme=dark] .demo{color:#aeb8a7}
[data-theme=dark] .chips .active{border-color:#526447}
[data-theme=dark] .card-art{isolation:isolate}
[data-theme=dark] .card-art:after{content:'';position:absolute;inset:0;background:#17201626;pointer-events:none;z-index:-1}
[data-theme=dark] .card-art .tag,[data-theme=dark] .card-art .length,[data-theme=dark] .heart{color:#28372a}
[data-theme=dark] .card-bottom .availability{color:#d0e4b8;background:#303f28}
[data-theme=dark] .card-bottom .unavailable{color:#ebcba7;background:#45382a}
[data-theme=dark] .card-bottom button{background:#232d23;border-color:#526047;color:#e5ecde}
[data-theme=dark] .card-bottom button:hover{background:#35442d}
[data-theme=dark] .help-banner button{border-color:#718262}
[data-theme=dark] dialog input{background:#202821;color:#e5ecde}
[data-theme=dark] #toast{background:#d0dfbd;color:#1c2519}
@media(max-width:520px){.header-actions{gap:10px}.theme-toggle{width:38px;height:38px}}

[data-theme=dark] .logo img{filter:none;content:url("../assets/revenco-logo-dark.svg")}
.product-photo{width:100%;height:100%;object-fit:contain;display:block}.demo #dataStatus{line-height:1.7}


/* Readable type scale */
body{font-size:17px;line-height:1.55}
.announcement{font-size:14px}
nav{font-size:16px}
.eyebrow{font-size:13px;letter-spacing:1.7px}
.hero p{font-size:18px;line-height:1.75;max-width:56ch}
.hero-note{font-size:14px}
.art-label{font-size:13px;letter-spacing:1.3px}
.measure{font-size:15px;line-height:1.6}
.art-bottom{font-size:13px}
.section-title p{font-size:17px;line-height:1.65}
.demo{font-size:15px;line-height:1.7}
.demo span{font-size:13px}
.filters label{font-size:15px;line-height:1.4}
.filters select{font-size:17px}
.filters .primary{font-size:16px}
.chips button,.stock{font-size:15px}
.result-meta,.result-meta select,.result-meta #reset{font-size:15px}
.brand{font-size:13px;letter-spacing:1.1px}
.card-title h3{font-size:17px;line-height:1.35}
.card-title strong{font-size:16px}
.details{font-size:15px;line-height:1.5}
.card-bottom{font-size:15px}
.card-bottom small{font-size:13px}
.card-bottom button{font-size:15px}
.tag,.length{font-size:13px}
.help-banner p{font-size:16px;line-height:1.6}
footer p,footer>span{font-size:15px}
dialog p,dialog li{font-size:17px}
dialog label{font-size:15px}
#toast{font-size:15px}
@media(max-width:800px){.art-label{font-size:12px}}
@media(max-width:520px){.announcement{font-size:13px}.hero p{font-size:17px}.hero-note{font-size:13px}.art-label{font-size:12px}.filters label{font-size:14px}.filters select{font-size:16px}.filters .primary{font-size:16px}.chips button,.stock,.result-meta,.result-meta select,.result-meta #reset{font-size:14px}.card-title h3{font-size:16px}.details{font-size:14px}.tag,.length{font-size:13px}.help-banner p{font-size:15px}}

/* Line icons (Lucide paths, ISC) */
.icon{display:block;width:1em;height:1em;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.saved .icon{width:19px;height:19px;transition:fill .2s}
.saved[aria-pressed=true] .icon{fill:currentColor}
.heart{display:grid;place-items:center;width:38px;height:38px;padding:0;color:#28372a;background:#ffffffd9;box-shadow:0 2px 10px #28372a14;transition:background .2s,transform .2s}
.heart .icon{width:19px;height:19px;transition:fill .2s}
.heart:hover{background:#fff;transform:scale(1.06)}
.heart.on{background:#e0e7d6}
.heart.on .icon{fill:currentColor}
.heart.pop .icon{animation:heart-pop .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes heart-pop{0%{transform:scale(.6)}55%{transform:scale(1.22)}100%{transform:scale(1)}}
.theme-toggle{overflow:hidden}
.theme-toggle .icon{grid-area:1/1;width:20px;height:20px;transition:opacity .25s,transform .45s cubic-bezier(.4,1.4,.5,1)}
.icon-sun{opacity:0;transform:rotate(-90deg) scale(.5)}
[data-theme=dark] .icon-sun{opacity:1;transform:none}
[data-theme=dark] .icon-moon{opacity:0;transform:rotate(90deg) scale(.5)}
@media(prefers-reduced-motion:reduce){.heart,.heart .icon,.saved .icon,.theme-toggle .icon{transition:none}.heart.pop .icon{animation:none}}

/* Footer links and content pages (FAQ, terms, privacy) */
footer{flex-wrap:wrap;gap:16px 32px}
.footer-links{display:flex;gap:24px;font-size:15px}
.footer-links a{color:var(--muted)}
.footer-links a:hover,.footer-links a[aria-current=page],nav a[aria-current=page]{color:var(--ink);text-decoration:underline;text-underline-offset:5px}
.page{max-width:820px;margin:28px auto 0;padding:0 56px}
.page-head{padding:16px 0 36px;border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(38px,4.4vw,54px);font-weight:500;line-height:1.1;letter-spacing:-1.5px;margin:16px 0 14px}
.page-head p{margin:0;color:var(--muted);font-size:17px;line-height:1.65}
.prose{padding-top:12px}
.prose h2{font-size:23px;font-weight:500;letter-spacing:-.3px;margin:40px 0 12px}
.prose p,.prose li{color:var(--muted);line-height:1.75}
.prose ul{padding-left:22px}
.prose li{margin:6px 0}
.prose a,.faq .answer a{text-decoration:underline;text-underline-offset:3px}
.prose strong,.faq strong{color:var(--ink);font-weight:500}
.summary-box{margin-top:28px;background:var(--sage);border-radius:6px;padding:4px 28px 14px}
.summary-box h2{margin-top:22px;font-size:19px}
.summary-box li{color:var(--ink)}
.faq{margin-top:44px}
.faq h2{font-size:23px;font-weight:500;letter-spacing:-.3px;margin:0 0 6px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0;font-size:18px;font-weight:500;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary .icon{width:20px;height:20px;color:var(--muted);transition:transform .25s}
.faq summary:hover .icon{color:var(--ink)}
.faq details[open] summary .icon{transform:rotate(45deg)}
.faq .answer{padding:0 44px 10px 0}
.faq .answer p{margin:0 0 14px;color:var(--muted);line-height:1.75}
summary:focus-visible{outline:3px solid #8a9b6d;outline-offset:4px}
.page .help-banner{margin-top:60px}
@media(max-width:800px){.page{padding:0 22px}}
@media(max-width:520px){footer{flex-direction:column;align-items:flex-start}.page-head h1{font-size:38px}.faq summary{font-size:17px}.faq .answer{padding-right:0}.summary-box{padding:2px 20px 10px}}
@media(prefers-reduced-motion:reduce){.faq summary .icon{transition:none}}


/* Product detail pages */
.product-page{max-width:1240px;margin:0 auto;padding:16px 56px 72px}
.product-back{display:inline-block;margin:0 0 22px;color:var(--muted);font-size:15px}
.product-back:hover{text-decoration:underline}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:clamp(36px,7vw,96px);align-items:start}
.product-detail-image{min-height:600px;display:grid;place-items:center;background:#efeee8;border-radius:8px;padding:36px}
.product-detail-image img{display:block;width:100%;height:600px;object-fit:contain}
.product-detail-copy{padding:28px 0}
.product-detail-copy h1{font:500 clamp(36px,4.4vw,58px)/1.08 'Gabarito',sans-serif;letter-spacing:-1.7px;margin:18px 0 10px;text-wrap:balance}
.product-retailer{font-size:16px;color:var(--muted);margin:0 0 24px}
.product-price{font-size:28px;font-weight:600;letter-spacing:-.5px;margin-bottom:24px}
.product-specs{border-top:1px solid var(--line);margin:0}
.product-spec{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:15px}
.product-spec dt{color:var(--muted)}.product-spec dd{margin:0;text-align:right;font-weight:500}
.product-fit-note{margin:26px 0}.product-fit-note h2{font-size:19px;margin:0 0 10px}.product-fit-note ul{padding-left:21px;margin:0;color:var(--muted)}.product-fit-note li{font-size:15px;line-height:1.65;margin:7px 0}
.product-retailer-cta{width:100%;min-height:54px;font-size:16px}
.product-disclaimer,.product-updated{font-size:13px;line-height:1.6;color:var(--muted)}.product-updated{font-variant-numeric:tabular-nums}
.card-bottom .product-detail-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid #c8cec2;border-radius:5px;background:#fff;font-size:15px;font-weight:500;white-space:nowrap}
.card-bottom .product-detail-link:hover{background:#e8eddf;border-color:#a3b293}
[data-theme=dark] .product-detail-image{background:#222a22}
[data-theme=dark] .card-bottom .product-detail-link{background:#232d23;border-color:#526047;color:#e5ecde}
[data-theme=dark] .card-bottom .product-detail-link:hover{background:#35442d}
@media(max-width:800px){.product-page{padding:10px 22px 50px}.product-detail-layout{grid-template-columns:1fr;gap:18px}.product-detail-image{min-height:460px}.product-detail-image img{height:460px}.product-detail-copy{padding:4px 0}.product-detail-copy h1{font-size:42px}}
@media(max-width:520px){.product-page{padding:8px 22px 36px}.product-back{font-size:14px}.product-detail-image{min-height:340px;padding:18px}.product-detail-image img{height:340px}.product-detail-copy h1{font-size:36px}.product-retailer{font-size:15px}.product-price{font-size:25px}.product-spec{font-size:14px}.product-fit-note h2{font-size:18px}.product-fit-note li{font-size:14px}.product-retailer-cta{font-size:15px}.product-disclaimer,.product-updated{font-size:13px}.card-bottom .product-detail-link{font-size:14px;width:100%}}
.prose{padding-bottom:72px}


/* Cinematic hero and vertical mobile product feed */
@keyframes hero-pants-reveal{0%{opacity:0;filter:blur(14px) brightness(.72) drop-shadow(0 18px 16px rgba(38,47,31,.18));transform:translate3d(0,30px,0) scale(1.04)}62%{opacity:1;filter:blur(0) brightness(1.06) drop-shadow(0 18px 16px rgba(38,47,31,.18))}100%{opacity:1;filter:blur(0) brightness(1) drop-shadow(0 18px 16px rgba(38,47,31,.18));transform:translate3d(0,0,0) scale(1.14)}}
@keyframes hero-pants-float{from{transform:translate3d(0,0,0) scale(1.14)}to{transform:translate3d(0,-6px,0) scale(1.14)}}
@keyframes hero-copy-reveal{from{opacity:0;transform:translate3d(0,15px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes hero-art-reveal{from{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.hero-pants{animation:hero-pants-reveal 1.45s cubic-bezier(.18,.72,.24,1) both,hero-pants-float 8s 1.45s ease-in-out infinite alternate;will-change:transform,opacity,filter}
.hero-copy>*{animation:hero-copy-reveal .68s cubic-bezier(.2,.7,.25,1) both}
.hero-copy>*:nth-child(1){animation-delay:.04s}.hero-copy>*:nth-child(2){animation-delay:.12s}.hero-copy>*:nth-child(3){animation-delay:.2s}.hero-copy>*:nth-child(4){animation-delay:.28s}.hero-copy>*:nth-child(5){animation-delay:.36s}
.hero-art .art-label,.hero-art .measure,.hero-art .art-bottom{animation:hero-art-reveal .8s .42s ease-out both}
.feed-count{display:none}
@media(max-width:520px){
  html{scroll-snap-type:y proximity;scroll-padding-top:18px}
  #grid{grid-template-columns:1fr;gap:22px}
  #grid .card{scroll-snap-align:start;scroll-margin-top:18px}
  #grid .card-art{height:clamp(250px,42svh,360px);border-radius:8px}
  #grid .card-info{padding:13px 3px 8px}
  #grid .card-title{display:flex;align-items:start}
  #grid .card-title h3{font-size:17px;line-height:1.28}
  #grid .details{font-size:14px;margin:8px 0 10px}
  #grid .brand{font-size:13px}
  #grid .tag,#grid .length{font-size:13px}
  #grid .feed-count{display:block;position:absolute;right:11px;bottom:11px;padding:7px 10px;border-radius:4px;background:#ffffffdf;color:#28372a;font-size:13px;font-variant-numeric:tabular-nums;z-index:1}
  #grid .card-bottom{align-items:stretch;gap:8px}
  #grid .card-bottom .availability,#grid .card-bottom .unavailable{font-size:13px}
  #grid .card-bottom .product-detail-link,#grid .card-bottom button{width:100%;min-height:46px;font-size:15px}
  .load-more-wrap{display:flex}
}
@media(prefers-reduced-motion:reduce){.hero-pants,.hero-copy>*,.hero-art .art-label,.hero-art .measure,.hero-art .art-bottom{animation:none!important;opacity:1;filter:none;transform:none;will-change:auto}}

/* Skeleton cards: they replace the grid while results load, and follow it while more load */
.skeletons{display:none}
.skeletons.is-shown,#grid.is-loading>.skeletons{display:contents}
#grid.is-loading>:not(.skeletons){display:none}
.skeleton{--bone:#eeece6;--bone-shine:#f8f7f3;pointer-events:none}
.skeleton .card-art,.skeleton .bone{background:linear-gradient(100deg,var(--bone) 40%,var(--bone-shine) 50%,var(--bone) 60%) var(--bone);background-size:200% 100%;animation:skeleton-shimmer 1.4s linear infinite}
.bone{display:block;height:13px;border-radius:3px}
.bone-brand{width:30%;height:11px;margin-bottom:10px}
.bone-title{width:75%;height:19px}
.bone-details{width:50%;margin:12px 0 16px}
.skeleton .card-bottom .bone-badge{width:150px;height:34px;border-radius:5px}
.skeleton .card-bottom .bone-link{width:140px;height:44px;border-radius:5px}
@keyframes skeleton-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
[data-theme=dark] .skeleton{--bone:#222a22;--bone-shine:#2e392d}
@media(max-width:520px){.skeleton .card-bottom .bone-link{width:100%}}
@media(prefers-reduced-motion:reduce){.skeleton .card-art,.skeleton .bone{animation:none}}

/* Error pages (404, 500, ...) */
.error-page{max-width:760px;margin:0 auto;padding:36px 56px 100px;text-align:center}
.error-code{font-size:clamp(120px,20vw,220px);font-weight:600;line-height:.85;letter-spacing:-.06em;color:#dfe5d4;user-select:none}
.error-page .eyebrow{margin-top:10px}
.error-page h1{font-size:clamp(36px,4.4vw,52px);font-weight:500;line-height:1.1;letter-spacing:-1.5px;margin:16px 0 14px}
.error-page>p{max-width:46ch;margin:0 auto;color:var(--muted);font-size:18px;line-height:1.7}
.error-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin-top:34px}
.error-secondary{display:inline-flex;align-items:center;padding:15px 24px;border:1px solid #aeb6a1;border-radius:4px}
.error-secondary:hover{background:var(--sage)}
.error-page>.error-note{margin-top:44px;font-size:14px}
.error-note a{text-decoration:underline;text-underline-offset:3px}
[data-theme=dark] .error-code{color:#2b3628}
[data-theme=dark] .error-secondary{border-color:#718262}
@media(max-width:520px){.error-page{padding:20px 22px 70px}.error-page>p{font-size:17px}.error-actions{flex-direction:column;align-items:stretch}.error-actions .primary,.error-secondary{justify-content:center}}
.filter-note{margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.5}
.measure{z-index:2}
@media(max-width:520px){.hero-art .measure{top:44%;right:7px;max-width:142px;gap:8px;padding:9px 11px;font-size:10px;line-height:1.45}}
