/* The services catalog uses the same filter drawer and mobile steps as the shop. */
.storefront .smm-filter-controls{display:grid;grid-template-columns:minmax(0,1fr) 190px 160px;gap:10px;margin:0 0 13px;padding:14px;border:1px solid #e0e8f1;border-radius:17px;background:#fff;box-shadow:0 12px 30px #132b450b}
.storefront .smm-filter-controls .smm-catalog-search{grid-column:1;grid-row:1;min-width:0;height:54px;margin:0;border-color:#cad8e8;background:#fbfcfe}
.storefront .smm-filter-controls .smart-filter-open{grid-column:2;grid-row:1;min-height:54px}
.storefront .smm-sort-open{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:54px;padding:0 12px;border:1px solid #dce5ee;border-radius:12px;background:#fff;color:#172d49;font:800 11px Montserrat,Arial,sans-serif;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}
.storefront .smm-sort-open svg{flex:none;width:17px;height:17px;color:#c61136}
.storefront .smm-sort-open span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.storefront .smm-sort-open:hover{transform:translateY(-2px);border-color:#cb9ca9;box-shadow:0 9px 20px #132b4516}
.storefront .smm-sort-open:focus-visible{outline:3px solid #ed9eab;outline-offset:3px}
.storefront .smm-active-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 13px}
.storefront .smm-active-filters[hidden]{display:none}
.storefront .smm-filter-dialog #smartCategorySection>select{min-height:48px;border:1px solid #cfdeec;border-radius:10px;background:#fff;color:#172d49;font:700 12px Montserrat,Arial,sans-serif}
.storefront .smm-filter-dialog .smart-section-icon{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;margin-right:9px;vertical-align:middle;border:1px solid #f3dce3;border-radius:9px;background:#fff5f7;color:#c61136}
.storefront .smm-filter-dialog .smart-section-icon::before{width:17px;height:17px;background:currentColor;content:'';-webkit-mask:var(--smm-section-icon) center/contain no-repeat;mask:var(--smm-section-icon) center/contain no-repeat}
.storefront .smm-filter-dialog #smartStockSection:has(#smmReadyOnly:checked){border-color:#e0a0ae;background:linear-gradient(145deg,#fff,#fff4f7)}
.storefront .smm-filter-dialog .smart-dialog-body>.smart-filter-section{padding:18px}
@media(max-width:800px){
  .storefront .smm-filter-controls{grid-template-columns:minmax(0,1fr) 160px}
  .storefront .smm-filter-controls .smm-catalog-search{grid-column:1/-1;grid-row:1}
  .storefront .smm-filter-controls .smart-filter-open{grid-column:1;grid-row:2}
  .storefront .smm-sort-open{grid-column:2;grid-row:2}
}
@media(max-width:620px){
  .storefront .smm-filter-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:11px;border-radius:15px}
  .storefront .smm-filter-controls .smm-catalog-search{height:52px}
  .storefront .smm-filter-controls .smart-filter-open,.storefront .smm-sort-open{min-height:46px;font-size:10px}
  .storefront .smm-sort-open{padding:0 7px}
  .storefront .smm-sort-open svg{width:15px;height:15px}
  .storefront .smm-filter-dialog[open]{border:0;border-radius:0}
  .storefront .smm-filter-dialog[open][data-mobile-step="source"] #smartCategorySection:not([hidden]){display:flex!important;flex-direction:column;align-items:stretch;gap:14px;width:100%;margin:0 0 10px;padding:19px!important;border:1px solid #dbe5ef;border-radius:17px;background:#fff;box-shadow:0 8px 20px #1936500b;transform:none}
  .storefront .smm-filter-dialog[open] .smart-dialog-body>.smart-filter-section{padding:19px}
  .storefront .smm-filter-dialog[open] #smartSourceSection>.smart-source-menu{position:static;width:100%;max-width:none;margin:0}
  .storefront .smm-filter-dialog[open] .smart-source-options{max-height:none!important;overflow:visible!important}
}
@media(prefers-reduced-motion:reduce){.storefront .smm-sort-open{transition:none}}
