/* Client feedback pass (Nov 2026): visible search bar, always-open filters,
   sizes on cards, text-only brands. Loaded last so it wins over earlier layers. */

/* Search: a real-looking search bar on desktop instead of a bare icon. */
@media (min-width:1024px){
  .header-tools .search-trigger,
  .jmx-home-page .header-tools .search-trigger,
  .jmx-shop-page .header-tools .search-trigger{width:200px;min-width:0;flex:0 1 200px;min-height:40px;margin-right:14px;padding:0 14px;gap:10px;justify-content:flex-start;border:1px solid #cfcfcf;border-radius:999px;background:#f6f6f6;color:#555;transition:border-color .15s,background .15s}
  .header-tools .search-trigger:hover{border-color:#111;background:#fff}
  .header-tools .search-trigger>span:not(.key-hint){display:block!important;font-size:13px}
  .header-tools .search-trigger .key-hint{display:none!important}
}
@media (min-width:1024px) and (max-width:1279px){
  .header-tools .search-trigger,.jmx-home-page .header-tools .search-trigger,.jmx-shop-page .header-tools .search-trigger{width:160px;flex-basis:160px;margin-right:8px}
}

/* Filters: Crossport-style left sidebar. Every group open, square checkboxes,
   uppercase headings over a rule, counts in brackets. Nothing to expand or scroll. */
.catalog .filter-heading h2,.filter-heading h2{font-size:20px;font-weight:600}
.filter-form .facet-scope{display:none}
.filter-form .filter-group{padding:18px 0 10px;border:0}
.filter-form .filter-group>h3{margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #e3e3e3;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#111}
.filter-form .brand-options,
.jmx-shop-page .filter-form .brand-options,
.panel-filters .brand-options{max-height:none!important;overflow:visible!important;margin-top:0}
.filter-form .filter-options>label,
.jmx-shop-page .filter-form .filter-options>label,
.filter-form .brand-options>label,
.filter-form .choice-options>label,
.filter-form .availability-filter>label,
.filter-form .sale-filter>label{display:flex;align-items:center;gap:0;min-height:34px;padding:4px 0;background:none!important;font-size:14px;color:#333}
.filter-form .filter-options>label::before{content:'';flex:none;display:inline-block;width:16px;height:16px;margin-right:12px;border:1px solid #b5b5b5;background:#fff;vertical-align:-3px;box-sizing:border-box}
.filter-form .filter-options>label:hover::before{border-color:#111}
.filter-form .filter-options>label:has(input:checked)::before{border-color:#111;background:#111;box-shadow:inset 0 0 0 3px #fff}
.filter-form .filter-options>label:has(input:checked){color:#111;font-weight:600}
.filter-form .filter-options>label:has(input:focus-visible){outline:2px solid #111;outline-offset:2px}
.filter-form .filter-options>label>span{flex:0 1 auto;min-width:0}
.filter-form .filter-options>label>small{flex:none;margin-left:5px;font-size:14px;color:#666}
.filter-form .filter-options>label>small::before{content:'('}
.filter-form .filter-options>label>small::after{content:')'}
.filter-form .availability-filter,.filter-form .sale-filter{padding:4px 0}

/* Sizes on product cards, as boxes; sold-out sizes struck through. */
.card-sizes{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px;padding:0;list-style:none}
.card-sizes li{min-width:34px;padding:5px 7px;border:1px solid #d6d6d6;font-size:12px;line-height:1.2;text-align:center;color:#222;font-variant-numeric:tabular-nums}
.card-sizes li.sold-out{color:#aaa;border-color:#ececec}

/* Brands as words, not logos. */
.jmx-home .edit-brand-row .brand-word{font-size:15px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:#111}
.product-meta .manufacturer{gap:0}

/* Normalized footwear photos (scripts/normalize-photos.py) already carry a shared
   white frame and baseline, so they need no extra padding. */
.photo-frame.unframed>img[src^="/assets/products-clean/"],
.product-visual .photo-frame.unframed>img[src^="/assets/products-clean/"]{padding:0}
