.catalog-main{padding-top:27px;padding-bottom:78px;min-height:70vh}
.catalog-heading{text-align:center;padding:23px 0 42px}
.catalog-heading h1{margin:0;font-family:'Lora',serif;font-size:clamp(42px,4vw,56px);font-weight:400;line-height:1.18;letter-spacing:-.02em}
.catalog-toolbar{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:start;padding-bottom:22px;border-bottom:1px solid #e1e1e1;z-index:5}
.filter-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 18px;border-radius:8px;background:#f0f0f0;font-size:16px;line-height:1.4;white-space:nowrap;transition:background .18s}
.filter-button:hover{background:#e5e5e5}
.filter-button .chevron{width:16px;height:16px;flex-shrink:0;transition:transform .2s}
.filter-button[aria-expanded=true] .chevron{transform:rotate(180deg)}
.filters-toggle{background:var(--brand-yellow)}
.filters-toggle:hover{background:#e5b200}
.filters-toggle>.icon{width:19px;height:19px}
.filter-count:empty{display:none}
.filter-count{font-size:13px;min-width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#fff}
.filter-reveal{display:grid;grid-template-columns:0fr;opacity:0;transform:translateX(-16px);visibility:hidden;transition:grid-template-columns .32s cubic-bezier(.2,.7,.2,1),opacity .24s,transform .32s,visibility 0s .32s}
.filters-expanded .filter-reveal{grid-template-columns:1fr;opacity:1;transform:none;visibility:visible;transition-delay:0s}
.filter-controls{min-width:0;display:flex;flex-wrap:wrap;gap:10px;overflow:hidden}
.filters-expanded .filter-controls{overflow:visible}
.catalog-filter,.catalog-sort{position:relative;min-width:0}
.catalog-filter .has-selection,.catalog-sort .has-selection{background:#e6e6e6}
.filter-dropdown{position:absolute;top:calc(100% + 10px);left:0;width:250px;padding:14px 0;background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 8px 28px #00000014;z-index:6;animation:filter-appear .18s ease-out}
.filter-model-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:min(420px,60svh);overflow-y:auto;overscroll-behavior:contain}
.filter-option{display:flex;align-items:center;gap:12px;min-height:42px;padding:9px 20px;font-size:17px;line-height:1.3;cursor:pointer}
.filter-option:hover{background:#fff9e5}
.filter-option input{width:16px;height:16px;margin:0;accent-color:var(--ink);flex-shrink:0}
.filter-option input:focus-visible{outline:2px solid var(--brand-yellow);outline-offset:3px}
.color-swatch{width:13px;height:13px;border-radius:50%;border:1px solid #0002;flex-shrink:0}
.color-black{background:#252525}.color-gray{background:#929292}.color-orange{background:#ed7b2a}
.catalog-sort .filter-dropdown{left:auto;right:0;width:230px}
.catalog-sort .filter-option:has(input:checked){background:#f5f5f5}
.price-dropdown{width:280px;padding:22px}
.price-values{display:flex;justify-content:space-between;gap:16px;font-size:16px}
.price-values span{display:flex;flex-direction:column;gap:4px}
.price-values span:last-child{text-align:right}
.price-values small{color:#929292;font-size:14px}
.price-values output{font-variant-numeric:tabular-nums}
.price-range{position:relative;height:32px;margin-top:16px;--from:0%;--to:100%}
.price-range::before{content:'';position:absolute;inset:14px 8px;height:3px;background:linear-gradient(to right,#ddd var(--from),var(--brand-yellow) var(--from),var(--brand-yellow) var(--to),#ddd var(--to));border-radius:2px}
.price-range input{position:absolute;inset:0;width:100%;height:32px;margin:0;background:transparent;appearance:none;pointer-events:none}
.price-range input::-webkit-slider-runnable-track{height:3px;background:transparent}
.price-range input::-moz-range-track{height:3px;background:transparent}
.price-range input::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border:2px solid #fff;border-radius:50%;background:var(--ink);box-shadow:0 0 0 1px #ccc;pointer-events:auto;cursor:ew-resize;margin-top:-7px}
.price-range input::-moz-range-thumb{width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:var(--ink);box-shadow:0 0 0 1px #ccc;pointer-events:auto;cursor:ew-resize}
.price-range input:focus-visible{outline:2px solid var(--brand-yellow);outline-offset:4px;border-radius:3px}
.catalog-results-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:62px;padding:14px 0}
.catalog-count{margin:0;white-space:nowrap;color:#777;font-size:16px}
.catalog-selections{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px}
.selection-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;background:#f5f5f5;font-size:14px;line-height:1.4;border-radius:3px}
.selection-chip .icon{width:12px;height:12px}
.selection-chip:hover{background:#fff9e5}
.clear-filters{padding:6px 4px;color:#777;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.clear-filters:hover{color:var(--ink)}
.catalog-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 24px}
.catalog-product-image{display:block}
.catalog-products .product-name{margin-top:16px}
.catalog-products .product-price{margin-bottom:16px}
.catalog-empty{text-align:center;padding:70px 20px 90px}
.catalog-empty h2{margin:0 0 10px;font-size:24px;font-weight:400}
.catalog-empty p{margin:0;color:#777;font-size:18px}
.catalog-empty .cart-catalog-button{margin-top:24px}
@keyframes filter-appear{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(min-width:1101px) and (max-width:1280px){.catalog-toolbar{gap:10px}.filter-controls{gap:8px}.filter-button{padding-inline:13px}}
@media(max-width:1100px){
  .catalog-toolbar{grid-template-columns:1fr auto;gap:0 14px}
  .filters-toggle{justify-self:start}
  .catalog-sort{grid-column:2;grid-row:1}
  .filter-reveal{grid-column:1/-1;grid-row:2;grid-template-columns:1fr;grid-template-rows:0fr;transform:translateY(-10px);transition:grid-template-rows .32s,opacity .24s,transform .32s,visibility 0s .32s}
  .filters-expanded .filter-reveal{grid-template-rows:1fr}
  .filter-controls{min-height:0;padding-top:0;transition:padding-top .32s;flex-wrap:wrap}
  .filters-expanded .filter-controls{padding-top:14px}
}
@media(max-width:760px){
  .catalog-main{padding-top:22px;padding-bottom:48px}
  .catalog-heading{padding:30px 0}
  .catalog-heading h1{font-size:40px}
  .catalog-toolbar{padding-bottom:18px}
  .filter-button{min-height:44px;padding:10px 14px;font-size:15px}
  .filter-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .filter-reveal{transform:none}
  .catalog-filter,.catalog-sort{position:static}
  .catalog-filter>.filter-button{width:100%;height:100%;padding-inline:10px;gap:5px;white-space:normal}
  .catalog-toolbar .filter-dropdown{top:calc(100% + 8px);left:0;right:0;width:100%}
  .price-dropdown{padding:20px}
  .catalog-results-meta{align-items:flex-start;flex-direction:column;gap:10px;padding:15px 0 20px}
  .catalog-selections{justify-content:flex-start}
  .catalog-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}
  .catalog-products .product-name{font-size:17px;margin-top:13px}
  .catalog-products .product-price{font-size:18px;margin-bottom:12px}
  .catalog-products .product-favorite{width:33px;height:33px;top:7px;right:7px}
  .catalog-products .product-favorite .icon{width:18px;height:18px}
  .catalog-empty{padding:45px 0 60px}
  .catalog-empty p{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.filter-reveal,.filter-controls,.filter-button .chevron{transition:none!important}.filter-dropdown{animation:none}}
