/* Keep sock lengths visible before optional filters on touch-sized layouts. */
@media(max-width:991.98px) {
 body#category .sb-catalog-toolbar .sb-mobile-length { grid-column:1 / -1; grid-row:3; display:block; margin:0; padding:0 0 10px; border:0; border-bottom:1px solid #e5e5e5; border-radius:0; box-shadow:none; }
 body#category .sb-catalog-toolbar:has(.sb-mobile-length) .sb-catalog-mobile-toggle { grid-row:4; }
 body#category .sb-catalog-toolbar:has(.sb-mobile-length) .sb-filter-discovery { grid-row:5; }
 body#category .sb-mobile-length .sb-length-title { margin:0 0 7px; }
 body#category .sb-mobile-length-row { display:flex; align-items:center; gap:6px; min-width:0; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; padding-bottom:4px; }
 body#category .sb-mobile-length-row > a { flex:0 0 auto; }
 body#category .sb-mobile-length-row ul { display:flex; flex-wrap:nowrap; gap:6px; }
 body#category .sb-mobile-length-row li { flex:0 0 auto; }
 body#category .sb-mobile-length-row a { min-height:44px; margin:0; white-space:nowrap; }
}

/* Category introduction, scoped to the editorial sock category. */
body#category .sb-category-hero {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); align-items:center; gap:clamp(20px,4vw,55px); padding:clamp(24px,4vw,52px); background:#111; color:#fff; overflow:hidden;}
body#category .sb-category-hero-copy {max-width:510px;}
body#category .sb-category-hero-kicker {margin:0 0 15px; color:#ef3333; font-size:11px; font-weight:700; letter-spacing:.09em;}
body#category .sb-category-hero h1 {margin:0 0 14px; color:#fff; font-size:clamp(30px,4vw,52px); font-weight:700; line-height:1.05; letter-spacing:-.035em;}
body#category .sb-category-hero-copy > p:last-child {margin:0; color:#dedede; font-size:16px; line-height:1.55;}
body#category .sb-category-hero-products {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-items:center;}
body#category .sb-category-hero-products a {display:block; background:#fff; color:#111!important; text-decoration:none; min-width:0;}
body#category .sb-category-hero-products a:nth-child(2) {transform:translateY(12px);}
body#category .sb-category-hero-products img {display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain;}
body#category .sb-category-hero-products a > span {display:flex; justify-content:space-between; gap:4px; padding:9px 10px; border-top:1px solid #eee; color:#111; font-size:12px; font-weight:600;}
body#category .sb-category-hero-products a:focus-visible {outline:3px solid #e33; outline-offset:3px;}
@media(max-width:767.98px) {body#category .sb-category-hero {grid-template-columns:1fr; gap:20px; padding:24px 18px 28px;} body#category .sb-category-hero h1 {font-size:32px;} body#category .sb-category-hero-copy > p:last-child {font-size:14px;} body#category .sb-category-hero-products {gap:6px;} body#category .sb-category-hero-products a > span {padding:8px 6px; font-size:11px;} }

body#category .sb-category-hero h1#sb-category-hero-title { color:#fff !important; font-size:clamp(30px,4vw,52px) !important; }
@media(max-width:767.98px) { body#category .sb-category-hero h1#sb-category-hero-title { font-size:32px !important; } }
