/* AM-UX-M4-20261121 — поиск (подсказки, пустая выдача) и читаемые грани фильтра */

.am-ux-m4-empty{
  font-family:var(--baseFontFamily,"Montserrat"),Arial,sans-serif;
  max-width:720px;
  margin:24px auto 48px;
  padding:24px 16px 32px;
  text-align:center;
  color:#111;
  background:#f7f6f4;
}
.am-ux-m4-empty__title{
  margin:0 0 8px;
  font-size:20px;
  line-height:26px;
  font-weight:700;
}
.am-ux-m4-empty__text{
  margin:0 0 16px;
  font-size:14px;
  line-height:22px;
  color:#333;
}
.am-ux-m4-empty__form{
  display:flex;
  gap:8px;
  max-width:420px;
  margin:0 auto 20px;
}
.am-ux-m4-empty__form input{
  flex:1;
  min-height:44px;
  padding:8px 12px;
  border:1px solid #ccc;
  font-size:16px;
}
.am-ux-m4-empty__form button{
  min-height:44px;
  padding:8px 16px;
  border:0;
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}
.am-ux-m4-empty__hint{margin:0 0 8px;font-size:13px;color:#555}
.am-ux-m4-empty__links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.am-ux-m4-empty__links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 12px;
  border:1px solid #ddd;
  background:#fff;
  color:#111;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
}
.am-ux-m4-empty__links a:hover{border-color:#111}

.am-ux-m4-didyoumean{
  font-family:var(--baseFontFamily,"Montserrat"),Arial,sans-serif;
  margin:12px 16px 8px;
  padding:10px 14px;
  background:#f3f6f0;
  border:1px solid #cfe0c4;
  font-size:14px;
  line-height:20px;
  color:#111;
}
.am-ux-m4-didyoumean a{color:#111;font-weight:600}

/* подсказки */
.am-ux-m4-suggest{
  position:absolute;
  z-index:30;
  left:0;right:0;
  top:100%;
  margin:0;
  padding:0;
  list-style:none;
  background:#fff;
  border:1px solid #ddd;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  max-height:280px;
  overflow:auto;
}
.search, .catalog-content-top__search, .am-ux-m4-empty__form{position:relative}
.am-ux-m4-suggest[hidden]{display:none}
.am-ux-m4-suggest li{margin:0}
.am-ux-m4-suggest a,
.am-ux-m4-suggest button{
  display:block;
  width:100%;
  text-align:left;
  padding:10px 12px;
  border:0;
  background:#fff;
  color:#111;
  font-size:14px;
  line-height:20px;
  text-decoration:none;
  cursor:pointer;
}
.am-ux-m4-suggest a:hover,
.am-ux-m4-suggest button:hover,
.am-ux-m4-suggest .is-active a,
.am-ux-m4-suggest .is-active button{background:#f3f6f0}

/* чипы выбранных фильтров */
.am-ux-m4-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:8px 0 12px;
  font-family:var(--baseFontFamily,"Montserrat"),Arial,sans-serif;
}
.am-ux-m4-chips[hidden]{display:none}
.am-ux-m4-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  min-height:32px;
  padding:4px 8px 4px 12px;
  border:1px solid #ddd;
  background:#f7f6f4;
  font-size:13px;
  line-height:18px;
  color:#111;
}
.am-ux-m4-chip button{
  border:0;
  background:transparent;
  color:#111;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  padding:0 4px;
}
.am-ux-m4-chips__reset{
  font-size:13px;
  color:#111;
  text-decoration:underline;
  margin-left:4px;
}

/* количества в гранях */
.am-ux-m4-count,
.catalog-nav__item-description label .am-ux-m4-count,
.smart-filter-checkbox-text [data-role^="count_"]{
  display:inline;
  margin-left:4px;
  color:#666;
  font-weight:500;
  font-variant-numeric:tabular-nums;
  font-size:13px;
}
.catalog-nav__item-description.disabled .am-ux-m4-count,
.catalog-nav__item-description.disabled label{color:#999}
