.catalog-sort{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 12px}
.catalog-sort label{font-size:14px;line-height:1.4;color:var(--muted,#697586)}
.catalog-sort>.v4-select,.catalog-sort>select{width:214px;flex:0 1 214px;min-width:0}
.catalog-sort select,.catalog-sort .v4-select-trigger{min-height:44px;border-radius:6px;font-size:14px}
.catalog-sort>select{border:1px solid #cbd2da;background:#fff;color:#1a222e;padding:10px 12px;font-family:inherit}
@media(max-width:600px){.catalog-sort{justify-content:space-between;gap:8px;margin-bottom:10px}.catalog-sort label{font-size:13px}.catalog-sort>.v4-select,.catalog-sort>select{width:210px;flex-basis:210px}}

@media(max-width:700px){
 body#top.v4-site .v4-filter-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body#top.v4-site .v4-filter-fields>label{min-width:0;font-size:13px;gap:4px}
 body#top.v4-site .v4-filter-fields .v4-select{min-width:0;width:100%;max-width:100%}
 body#top.v4-site .catalog-sort{justify-content:flex-end;gap:0;margin-bottom:8px}
 body#top.v4-site .catalog-sort>label{display:none}
 body#top.v4-site .catalog-sort>.v4-select,body#top.v4-site .catalog-sort>select{width:180px;flex:0 1 180px}
 body#top.v4-site .v4-filter-fields .v4-select-value,body#top.v4-site .catalog-sort .v4-select-value{white-space:nowrap}
}
/* Existing important select styles belong to this layer. Keep overrides in it. */
@layer v4-selects{
 @media(max-width:700px){
  body#top.v4-site .v4-filter-fields .v4-select-trigger,body#top.v4-site .catalog-sort .v4-select-trigger,body#top.v4-site .v4-filter-fields select{min-height:44px!important;font-size:14px!important;line-height:20px!important;padding:8px 10px!important;gap:8px!important}
  body#top.v4-site .v4-select-popup[aria-label="Форма"] .v4-select-option,body#top.v4-site .v4-select-popup[aria-label="Размер"] .v4-select-option,body#top.v4-site .v4-select-popup[aria-label="Сортировка"] .v4-select-option{font-size:14px!important;line-height:20px!important;min-height:44px!important}
 }
 @media(max-width:350px){
  body#top.v4-site .v4-filter-fields .v4-select-trigger,body#top.v4-site .v4-filter-fields select{font-size:13px!important;padding:8px!important;gap:6px!important}
  body#top.v4-site .v4-filter-fields .v4-select-trigger svg{width:14px!important;height:14px!important}
 }
}

.catalog-sort-label-mobile{display:none}
@media(max-width:700px){
 body#top.v4-site [data-greenhouse-view]>.dk-vk-ad-landing{margin-bottom:6px!important}
 body#top.v4-site .catalog-controls-stack{display:flex;flex-direction:column;gap:0}
 body#top.v4-site .catalog-controls-stack>.catalog-sort{order:-2}
 body#top.v4-site .catalog-controls-stack>.calm-filters{order:-1;padding:0!important}
 body#top.v4-site .catalog-sort{display:flex;flex-direction:column;align-items:stretch;gap:2px;margin:0 0 4px!important}
 body#top.v4-site .catalog-sort>label{display:block;margin:0;font-size:12px;line-height:16px}
 body#top.v4-site .catalog-sort-label-desktop{display:none}
 body#top.v4-site .catalog-sort-label-mobile{display:inline}
 body#top.v4-site .catalog-sort>.v4-select,body#top.v4-site .catalog-sort>select{width:100%;flex:none}
 body#top.v4-site .catalog-controls-stack .v4-filters{margin:0!important;padding:0!important}
 body#top.v4-site .catalog-controls-stack .v4-filter-fields{width:100%;max-width:none!important;gap:4px!important}
 body#top.v4-site .catalog-controls-stack .v4-filter-fields>label{font-size:12px;line-height:16px;gap:2px!important}
 body#top.v4-site .catalog-controls-stack .v4-filter-bottom{height:auto;margin:2px 0 0!important;padding:0;gap:4px}
 body#top.v4-site .catalog-controls-stack .v4-filter-bottom>p{font-size:12px;line-height:18px}
 body#top.v4-site .catalog-controls-stack>.product-grid{margin-top:0!important;min-width:0}
}
@layer v4-card-spacing{
 @media(max-width:700px){
  body#top.v4-site .catalog-controls-stack>.calm-filters{margin:0 0 4px!important}
  body#top.v4-site .catalog-controls-stack .v4-filter-bottom{min-height:18px!important}
  body#top.v4-site .catalog-controls-stack .v4-filter-bottom>p{margin:0!important}
 }
}
@layer v4-selects{
 @media(max-width:350px){body#top.v4-site .catalog-sort .v4-select-trigger{font-size:13px!important;padding:8px!important;gap:6px!important}body#top.v4-site .catalog-sort .v4-select-trigger svg{width:14px!important;height:14px!important}}
}
