#catalog .catalog-layout{display:grid;grid-template-columns:244px minmax(0,1fr);gap:28px;align-items:start;margin-top:30px}
#catalog .catalog-sidebar{position:sticky;top:22px;max-height:calc(100dvh - 44px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d7cfdf transparent;border:1px solid #e1dbe7;border-radius:14px;background:#fff}
#catalog .catalog-products{min-width:0}
#catalog .catalog-products .catalog-toolbar{margin:0 0 16px;gap:16px;min-height:44px}
#catalog .catalog-products .catalog-tabs{gap:20px}
#catalog .catalog-products .catalog-tab{font-size:13px}
#catalog .catalog-products .results-row{padding:0 0 18px;min-height:0;gap:10px}
#catalog .catalog-products .results-row>span:last-child{display:none}
#catalog .catalog-products #productGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#catalog .catalog-products .product-bottom{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:12px;min-width:0}
#catalog .catalog-products .product-bottom>*{flex:0 0 auto}
#catalog .catalog-products .product-bottom .product-price{font-size:22px;line-height:1.25;white-space:normal}
#catalog .catalog-products .product-bottom :is(.variant-card-button,.add-btn,.pending-details){width:100%;min-width:0;min-height:44px;justify-content:center;white-space:normal}
#catalog .catalog-products .card-variants--filtered{color:#795166;font-weight:500}
#catalog #filterToggle{display:none}
#catalog #sortSelect{width:164px;min-height:44px;font-size:12px;border-color:#ded8e6;border-radius:9px;color:#3a3243}
.shop-filter-panel{display:block;padding:20px;background:#fff;min-width:0;color:#342c3d}
.shop-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid #ece7f0}
.shop-filter-head h3{display:flex;align-items:center;gap:8px;margin:0;font-size:17px;letter-spacing:-.025em;font-weight:650}
.shop-filter-badge{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:5px;background:#f8e8ed;color:#ac2941;font-size:10px}
.shop-filter-badge[hidden]{display:none}
.shop-filter-reset{color:#b4253b;min-height:36px;padding:4px 0;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.shop-filter-reset:disabled{color:#9a929f;text-decoration:none;cursor:default}
.shop-filter-group{margin:0;padding:18px 0;border-bottom:1px solid #ece7f0}
.shop-filter-group summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;cursor:pointer;font-size:13px;font-weight:650;min-height:26px}
.shop-filter-group summary::-webkit-details-marker{display:none}
.shop-filter-group summary svg{width:17px;height:17px;color:#807487;transition:transform .15s}
.shop-filter-group[open]>summary{margin-bottom:12px}
.shop-filter-group[open]>summary svg{transform:rotate(180deg)}
.shop-filter-group select,.shop-brand-search{display:block;width:100%;min-height:43px;padding:9px 10px;border:1px solid #ddd6e5;border-radius:8px;background:#fff;color:#54495e;font:inherit;font-size:12px}
.shop-brand-search{margin-bottom:10px;font-size:12px;min-height:40px}
.shop-price-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.shop-price-fields label{display:block;min-width:0;font-size:11px;color:#807487}
.shop-price-fields label>span{display:block;margin-bottom:5px}
.shop-price-fields input{width:100%;min-width:0;height:42px;padding:9px;border:1px solid #ddd6e5;border-radius:8px;background:#fff;font:inherit;font-size:13px;color:#342c3d;font-variant-numeric:tabular-nums;appearance:textfield}
.shop-price-fields input::-webkit-inner-spin-button,.shop-price-fields input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.shop-price-fields input[aria-invalid=true]{border-color:#c72c46}
.shop-price-apply{width:100%;min-height:36px;margin-top:10px;border:1px solid #ddd6e5;border-radius:8px;color:#665571;font-size:12px;font-weight:600;background:#faf8fc}
.shop-price-apply:hover{border-color:#b8a6c4;background:#f4eef8}
.shop-filter-error{font-size:11px;line-height:1.5;color:#b4253b;margin:8px 0 0}
.shop-filter-error[hidden]{display:none}
.shop-filter-choices{display:grid;gap:2px;max-height:224px;overflow:auto;scrollbar-width:thin;scrollbar-color:#ddd3e5 transparent;padding-right:3px}
.shop-filter-choice{display:flex;align-items:center;gap:9px;min-height:36px;padding:5px 0;font-size:12px;line-height:1.4;font-weight:400;cursor:pointer}
.shop-filter-choice[hidden]{display:none}
.shop-filter-choice input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#bf2d46;cursor:pointer}
.shop-filter-choice-label{flex:1;min-width:0;overflow-wrap:anywhere;color:#554a60}
.shop-filter-count{color:#8a8091;font-size:10px;font-variant-numeric:tabular-nums}
.shop-filter-choice:has(input:disabled){opacity:.5;cursor:default}
.shop-filter-choice:has(input:checked) .shop-filter-choice-label{color:#b4253b;font-weight:600}
.shop-filter-panel :is(button,input,select,summary):focus-visible{outline:2px solid #8a649d;outline-offset:3px}
#catalog .catalog-products #activeFilters{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%}
#catalog .catalog-products #activeFilters[hidden]{display:none}
#catalog .catalog-products .filter-chip{background:#fff;border:1px solid #e0d5e5;border-radius:7px;color:#6a4c79;min-height:32px;padding:6px 9px;font-size:11px}
.shop-filter-dialog{inset:0 0 0 auto;margin:0;width:min(420px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0;background:#fff;color:#342c3d;overflow:hidden}
.shop-filter-dialog[open]{display:flex;flex-direction:column}
.shop-filter-dialog::backdrop{background:#21182d80;backdrop-filter:blur(3px)}
.shop-filter-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #ece7f0;flex-shrink:0}
.shop-filter-dialog-head h2{font-size:19px;font-weight:650;letter-spacing:-.03em;margin:0}
.shop-filter-close{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e5deeb;border-radius:10px;background:#fff;color:#62526d}
.shop-filter-close svg{width:20px;height:20px}
.shop-filter-dialog-body{flex:1;overflow:auto;overscroll-behavior:contain;min-height:0}
.shop-filter-dialog .shop-filter-panel{padding:18px 22px 28px}
.shop-filter-dialog .shop-filter-head h3{font-size:14px}
.shop-filter-dialog .shop-filter-group summary{font-size:14px}
.shop-filter-dialog .shop-filter-choice{min-height:42px;font-size:14px}
.shop-filter-dialog .shop-filter-choices{max-height:260px}
.shop-filter-dialog .shop-price-fields input,.shop-filter-dialog select,.shop-filter-dialog .shop-brand-search{font-size:16px}
.shop-filter-dialog .shop-price-apply{min-height:44px}
.shop-filter-dialog-foot{padding:16px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid #e9e2ee;background:#fff;flex-shrink:0}
.shop-filter-show{width:100%;min-height:48px;border-radius:10px;background:#ca2e47;color:#fff;font-size:14px;font-weight:650}
.shop-filter-show:hover{background:#b4253b}
@media(min-width:961px) and (max-width:1200px){#catalog .catalog-layout{grid-template-columns:222px minmax(0,1fr);gap:20px}#catalog .catalog-products #productGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#catalog .catalog-products .catalog-toolbar{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:960px){#catalog .catalog-layout{display:block;margin-top:24px}#catalog .catalog-sidebar{display:none}#catalog #filterToggle{display:inline-flex;min-height:44px;border-radius:9px;border-color:#ded8e6;background:#fff;color:#504258}#catalog .catalog-products #productGrid{grid-template-columns:repeat(3,minmax(0,1fr))}#catalog .catalog-products .catalog-toolbar{flex-wrap:wrap}#catalog .catalog-products .catalog-tabs{width:100%;gap:26px;border-bottom:1px solid #ded8e6}#catalog .catalog-controls{display:flex;justify-content:space-between;width:100%}#catalog #sortSelect{width:190px}}
@media(max-width:660px){#catalog .catalog-products #productGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#catalog .catalog-products .catalog-toolbar{gap:14px}#catalog .catalog-products .catalog-tab{font-size:12px}#catalog .catalog-products .catalog-tabs{gap:22px}#catalog #sortSelect{width:180px}#catalog .catalog-products .results-row{font-size:12px;padding-bottom:16px}}
@media(prefers-reduced-motion:reduce){.shop-filter-group summary svg{transition:none}.shop-filter-dialog::backdrop{backdrop-filter:none}}
@media(max-width:660px){#catalog .catalog-products .product-bottom .product-price,#catalog .catalog-products .product-price-current{font-size:18px}#catalog .catalog-products .product-bottom .add-btn>span{display:inline}}
