.aside-filter__rang-wrap{
  padding-top: 20px;
}
    .aside-filter__rang-wrap .row{
      display: flex;
      justify-content: space-between;
    }
          .aside-filter__rang-wrap .row .col-auto{
            width: 100px;
          }
    /* .aside-filter__rang-wrap .row .col-auto{ */
      .irs--modern .irs-bar,
    .irs--modern .irs-from, .irs--modern .irs-to, .irs--modern .irs-single {    
        background: #ffd820;
        color: #000000;
    }

    .irs--modern .irs-from:before, .irs--modern .irs-to:before, .irs--modern .irs-single:before {
      
      border-top-color: #ffd820;
  }
  .c_body.product-card-list{
    position: relative;
  }
  .dot-loader-wrap{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0,0, .5);
    z-index: -1;
    opacity: 0;
  }
  .dot-loader-wrap.active{
    z-index: 200;
    opacity: 1;
    }
  .dots-inner{
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
  }
  .dot-loader {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #ffd820;
    /* position: absolute; */
    position: relative;
    -webkit-animation: 1.2s grow ease-in-out infinite;
    animation: 1.2s grow ease-in-out infinite;
  }
  
  .dot-loader--2 {
    -webkit-animation: 1.2s grow ease-in-out infinite 0.15555s;
    animation: 1.2s grow ease-in-out infinite 0.15555s;
    margin: 0 20px;
  }
  .dot-loader--3 {
    -webkit-animation: 1.2s grow ease-in-out infinite 0.3s;
    animation: 1.2s grow ease-in-out infinite 0.3s;
  }

 
  @-webkit-keyframes grow {
    0%, 40%, 100% {
      -webkit-transform: scale(0);
              transform: scale(0);
    }
    40% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  @keyframes grow {
    0%, 40%, 100% {
      -webkit-transform: scale(0);
              transform: scale(0);
    }
    40% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  .toggle-category {
    position: relative;
  }
  .toggle-category span{
    position: relative;
    display: block;
    padding: 15px 7px;
    background-color: #f7f7f7;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    color: #000;
    transition: background-color .1s;
  }
  .toggle-category{
    
  }
  
  .toggle-category + .am_tabs{
    display: none;
  }
        .toggle-categorya:after {
          content: "";
          position: absolute;
          top: 50%;
          right: 9px;
          border-top: 6px solid;
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
      }

      .toggle-category:before{
        border-bottom: 4px solid #fff22d;
        z-index: 2;
        transition: right .3s;
        left: 4%;
        right: 96%;
        top: 38px;
    }
    .toggle-category.active:before{
        right: 7px;
    }
    .toggle-category:after{
      border-bottom: 1px solid #e3e3e3;
        right: 7px;
        left: 7px;
        bottom: 0;
       
    }
    .toggle-category:last-child:after{
      display: none;
    }

    .toggle-category > span:hover{
      text-decoration: none;
      background-color: #e1e1e1;
  }
  .toggle-category:before,
  .toggle-category:after{
      content: "";
      position: absolute;
  }
    .toggle-category > span:before,
    .toggle-category > span:after{
      content: "";
      position: absolute;
      top: 50%;
      right: 9px;
      border-top: 6px solid;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
    }
    .toggle-category > span:before{
      border-top-color: #000;
      margin-top: -3px;
    }
    .toggle-category > span:after{
      border-top-color: #f7f7f7;
      margin-top: -5px;
    }
    .toggle-category > span:hover:after{
        border-top-color: #e1e1e1;
    }
    .toggle-category.active > span:before,
    .toggle-category.active > span:after{
      border-top: none;
      border-bottom: 6px solid;
    }
    .toggle-category.active > span:before{
      border-bottom-color: #000;
      margin-top: -5px;
    }
    .toggle-category.active > span:after{
      border-bottom-color: #f7f7f7;
      margin-top: -3px;
    }
    .toggle-category.active > span:hover:after{
        border-bottom-color: #e1e1e1;
    }

    .homeBanners .owl-nav .owl-prev,
    .homeBanners .owl-nav .owl-next{
      background: none;
    }

    .hc_commit_city p {
        font-size: 18px;
      }
      .but_link{
        box-shadow: none !important;
        background: none !important;
        border: none ;
        border-bottom: 1px solid currentColor;
        font-size: 18px;
        color: #009fd7;
        transition: all .36s;
        padding: 0;
        margin-left: 10px;
        border-radius: 0;
        text-transform: none;
      }
                  .but_link:hover{
                    border-color: transparent;
                  }

.cardTooltip, .cardTooltip--left {
  position: relative;
  cursor: pointer;
  color: #70c588;
  transition: all 0.5s;
  font-weight: 700;

}
.cardTooltip::before, .cardTooltip--left::before {
  content: attr(data-helperAttr);
  background-color: #fff;
  border: solid 1px #e3e3e3;
  border-radius: 4px;
  padding: 8px;
  position: absolute;
  top: 120%;
  z-index: 50;
  transform: scale(0);
  opacity: 0;
  transition: all 0.2s;
  color: #000;
  box-sizing: border-box;
  cursor: auto;
  overflow: auto;
  width: 200px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .37);
  transform: scale(0);
  font-weight: normal;
}
.cardTooltip::before {
  right: -200%;
}
.cardTooltip--left::before {
  left: -200%;
}
@media screen and (min-width: 1101px){
  .cardTooltip::before, .cardTooltip--left::before {
    width: 300px;
    font-size: 1.2rem;
  }
}
.cardTooltip::after, .cardTooltip--left::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #fff;
  position: absolute;
  transform: rotate(45deg);
  opacity: 0;
  border-left: solid 1px #e3e3e3;
  border-top: solid 1px #e3e3e3;
  transition: all 0.5s;
  top: 90%;
  right: 0px;
  z-index: 51;
  box-sizing: border-box;
} 
.cardTooltip--left::after {
  right: 0;
  left: 0px;
}
.cardTooltip:hover::before, .cardTooltip:hover::after, .cardTooltip:focus::before, .cardTooltip:focus::after, .cardTooltip:active::after, .cardTooltip:active::before{
   opacity: 1;
}
.cardTooltip:hover::before, .cardTooltip:focus::before, .cardTooltip:active::before {
  opacity: 1;
  transform: scale(1);
}
.cardTooltip--left:hover::before, .cardTooltip--left:hover::after, .cardTooltip--left:focus::before, .cardTooltip--left:focus::after, .cardTooltip--left:active::after, .cardTooltip--left:active::before{
  opacity: 1;
}
.cardTooltip--left:hover::before, .cardTooltip--left:focus::before, .cardTooltip--left:active::before {
 opacity: 1;
 transform: scale(1);
}

.demoWrap {
  display: flex;
  justify-content: space-between;
}
/* ===== МИНИМАЛЬНЫЕ СТИЛИ ДЛЯ ШАПКИ ===== */

/* Убираем лишние элементы */
.h_yReviews:before,
.h_yReviews:after {
    display: none !important;
}

.h_tel::before {
    content: none !important;
}

/* Делаем рейтинг в одну строку */
.h_yReviews {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: none !important;
    background: #f5f5f5 !important;
    padding: 5px 15px !important;
    border-radius: 30px !important;
}

.h_yReviews .hr_left,
.h_yReviews img,
.h_yReviews a {
    float: none !important;
    margin: 0 !important;
}

/* Кнопка Перезвонить */
.ht_callback .but_black {
    background: #ffd820 !important;
    border-radius: 25px !important;
    padding: 5px 18px !important;
    height: auto !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

/* Поиск */
.h_search form {
    display: flex !important;
    border: 1px solid #ddd !important;
    border-radius: 30px !important;
    overflow: hidden !important;
}

.h_search input {
    flex: 1 !important;
    border: none !important;
    padding: 10px 15px !important;
}

.h_search .but_yellow {
    background: #ffd820 !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
    margin: 0 !important;
}
/* ===== СТИЛИ ДЛЯ ГРАФИКА РАБОТЫ И АДРЕСА ===== */

/* Общие стили для всего блока */
.h_address {
    font-family: 'proxima_nova';
}

/* ГРАФИК РАБОТЫ — заголовок */
.h_address li:first-child {
    font-family: 'proxima_nova';
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #000000 !important;
    margin-bottom: 8px !important;
}

/* Пн-Пт с 10:00 до 19:00 */
.h_address li:nth-child(2) {
    font-family: 'proxima_nova';
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #333333 !important;
    margin-bottom: 4px !important;
}

/* Сб с 10:00 до 16:00 */
.h_address li:nth-child(3) {
    font-family: 'proxima_nova';
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #333333 !important;
    margin-bottom: 4px !important;
}

/* Вс с 10:00 до 16:00 */
.h_address li:nth-child(4) {
    font-family: 'proxima_nova';
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #333333 !important;
    margin-bottom: 4px !important;
}

/* АДРЕС МАГАЗИНА — заголовок */
.h_address li:nth-child(5) {
    font-family: 'proxima_nova';
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #000000 !important;
    margin-top: 15px !important;
    margin-bottom: 8px !important;
}

/* Адрес: г. Саратов улица Вавилова 59/65 */
.h_address li:nth-child(6) {
    font-family: 'proxima_nova';
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #333333 !important;
}

/* ===== ИЗМЕНЯЙТЕ ЗНАЧЕНИЯ НИЖЕ ===== */

/* Для изменения шрифта — меняйте 'Arial' на любой другой, например 'Roboto', 'Montserrat' */
/* Для изменения жирности — используйте 400 (нормальный), 600 (полужирный), 700 (жирный) */
/* Для изменения размера — меняйте 13px, 14px на нужные */
/* Для изменения цвета — меняйте #333333, #000000 на нужные */
/* Оба телефона одинаково */
.h_tel span a {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    color: #000000 !important;
}
/* Задать нужный размер для всех телефонов */
.h_tel a,
.h_tel a strong {
    font-size: 18px !important;   /* меняйте 18px на нужный размер */
}

/* Полное скрытие блока рейтинга */
.h_yReviews {
    display: none !important;
}

/* ===== ЦЕНТРИРОВАНИЕ ПОИСКОВОЙ СТРОКИ ===== */

/* Поиск — по центру */
.h_search {
    text-align: center !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.h_search form {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 300px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
}

.h_search input {
    flex: 1 !important;
    border: none !important;
    padding: 12px 18px !important;
    height: auto !important;
    font-size: 14px !important;
}

.h_search .but_yellow {
    background: #ffd820 !important;
    border-radius: 0 !important;
    padding: 12px 25px !important;
    height: auto !important;
    margin: 0 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}

.h_search .but_yellow:hover {
    background: #000 !important;
    color: #ffd820 !important;
}

/* Мобильная версия */
@media screen and (max-width: 640px) {
    .h_search form {
        width: 90% !important;
        min-width: auto !important;
        flex-direction: column !important;
        border-radius: 20px !important;
    }
    
    .h_search input {
        text-align: center !important;
    }
    
    .h_search .but_yellow {
        border-radius: 0 0 20px 20px !important;
    }
}

/* ===== ЗАВЕРШАЮЩАЯ ПОЛИРОВКА ===== */

/* Убираем текст "автоэлектроника" под логотипом */
.h_logo br {
    display: none !important;
}

/* Телефоны в одну строку на десктопе */
@media screen and (min-width: 901px) {
    .h_tel span {
        display: inline-block !important;
        margin-left: 15px !important;
    }
    
    .h_tel span:first-child {
        margin-left: 0 !important;
    }
    
    /* Кнопка под телефонами */
    .ht_callback {
        margin-top: 8px !important;
    }
    
    /* График и адрес — шире для лучшего вида */
    .h_address .ha_item {
        min-width: 200px !important;
    }
}



/* Небольшой отступ между графиком и адресом */
.h_address li:nth-child(4) {
    margin-bottom: 12px !important;
}

/* Кнопка "Перезвонить" — стильная */
.ht_callback .but_black {
    background: #ffd820 !important;
    border-radius: 25px !important;
    padding: 5px 20px !important;
    height: auto !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    display: inline-block !important;
}

.ht_callback .but_black:hover {
    background: #000 !important;
    color: #ffd820 !important;
}

/* Поиск — по центру */
.h_search {
    text-align: center !important;
    margin-top: 20px !important;
}

.h_search form {
    display: inline-flex !important;
    width: 400px !important;
    max-width: 100% !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
}

.h_search input {
    flex: 1 !important;
    border: none !important;
    padding: 10px 18px !important;
}

.h_search .but_yellow {
    background: #ffd820 !important;
    border-radius: 0 !important;
    padding: 10px 22px !important;
    margin: 0 !important;
}

/* ===== ОТСТУП МЕЖДУ ЛОГОТИПОМ И ГРАФИКОМ РАБОТЫ ===== */

@media screen and (min-width: 901px) {
    /* Увеличиваем отступ справа от логотипа */
    .h_logo {
        margin-right: 40px !important;
    }
    
    /* Или через gap в контейнере */
    .h_middle .container {
        gap: 30px !important;
    }
    
    /* Альтернативный вариант — отступ у блока адреса слева */
    .h_address {
        margin-left: 30px !important;
    }
}

/* Если нужно увеличить расстояние между логотипом и городом/графиком */
.h_logo {
    margin-right: 50px !important;
}

/* Или добавить отступ слева для блока с графиком и адресом */
.h_address {
    padding-left: 30px !important;
}
 /* Отступ между адресом и телефоном */
    .h_address {
        margin-right: 30px !important;
    }

/* ===== ПОИСК СЛЕВА - ФИНАЛЬНАЯ ВЕРСИЯ ===== */

/* Контейнер поиска */
.h_search {
    text-align: left !important;
    width: 100% !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    clear: both !important;
    display: block !important;
}

/* Форма поиска */
.h_search form {
    display: flex !important;
    width: 890px !important;
    max-width: 100% !important;
    height: 36px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    margin: 0 !important;
    float: left !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Поле ввода */
.h_search input {
    flex: 1 !important;
    border: none !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    height: 100% !important;
    background: transparent !important;
    outline: none !important;
}

/* Кнопка "Найти" */
.h_search .but_yellow {
    background: #ffd820 !important;
    border: none !important;
    border-radius: 0 30px 30px 0 !important;
    padding: 0 24px !important;
    height: 100% !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: #000 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Эффект при наведении на кнопку */
.h_search .but_yellow:hover {
    background: #000 !important;
    color: #ffd820 !important;
}

/* Эффект при фокусе на поле */
.h_search input:focus {
    outline: none !important;
}

.h_search form:focus-within {
    border-color: #ffd820 !important;
    box-shadow: 0 0 0 2px rgba(255, 216, 32, 0.2) !important;
}

/* Планшеты */
@media screen and (min-width: 641px) and (max-width: 900px) {
    .h_search form {
        width: 340px !important;
        height: 44px !important;
    }
}

/* Мобильные устройства */
@media screen and (max-width: 640px) {
    .h_search {
        text-align: center !important;
    }
    
    .h_search form {
        width: 100% !important;
        float: none !important;
        margin: 0 auto !important;
    }
    
    .h_search .but_yellow {
        padding: 0 18px !important;
    }
}
/* ===== СОВРЕМЕННЫЙ ВИД КАРТОЧЕК ===== */

/* Карточка товара */
.d_item {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
    margin-bottom: 25px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    overflow: hidden !important;
}

.d_item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
}

/* Изображение */
.di_photo {
    text-align: center !important;
    padding: 20px !important;
    background: #fafafa !important;
}

.di_photo img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 130px !important;
}

/* Текстовая часть */
.di_text {
    padding: 0 20px 20px 20px !important;
}

/* Заголовок "Хит продаж" */
.di_title {
    font-size: 14px !important;
    color: #ffd820 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
}

/* Название товара */
.di_subtitle {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

/* Описание */
.di_text p {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
}

/* Кнопка */
.di_text a {
    display: inline-block !important;
    background: #ffd820 !important;
    color: #000 !important;
    padding: 8px 24px !important;
    border-radius: 40px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}

.di_text a:hover {
    background: #000 !important;
    color: #ffd820 !important;
}

/* Сетка для двух колонок */
.deals {
    display: flex !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
}

.d_item {
    flex: 1 !important;
    min-width: 280px !important;
}

/* Мобильные */
@media (max-width: 700px) {
    .deals {
        flex-direction: column !important;
    }
}
/* Эффекты для фото */
.di_photo {
    overflow: hidden !important;
}

.di_photo img {
    transition: transform 0.5s ease !important;
}

.d_item:hover .di_photo img {
    transform: scale(1.1) !important;
}

/* Круглая рамка для фото */
.di_photo img {
    border-radius: 50% !important;
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
}

/* ===== УБРАТЬ ФОТО В КРУГЕ ===== */

.di_photo img {
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Убираем круглый фон, если есть */
.di_photo {
    background: #f5f5f5 !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

/* Если фото было в круге — убираем обрезку */
.di_photo img {
    clip-path: none !important;
    border-radius: 0 !important;
}

/* ===== УБРАТЬ ФОН У ФОТО ===== */

/* Убираем серый фон у контейнера фото */
.di_photo {
    background: transparent !important;
    background-color: transparent !important;
    padding: 10px !important;
}

/* Убираем фон у самой картинки */
.di_photo img {
    background: transparent !important;
    background-color: transparent !important;
}

/* Если фон задан через родительский элемент */
.d_item .di_photo {
    background: none !important;
}

/* ===== НАСТРОЙКА РАЗМЕРОВ ШРИФТОВ В КАРТОЧКАХ ===== */

/* Заголовок "ХИТ ПРОДАЖ" */
.di_title {
    font-size: 20px !important;  /* меняйте значение */
}

/* Название товара (SilverStone F1, Neoline X-COP) */
.di_subtitle {
    font-size: 20px !important;  /* меняйте значение */
}

/* Описание товара */
.di_text p {
    font-size: 14px !important;  /* меняйте значение */
}

/* Кнопка "ПОДРОБНЕЕ" */
.di_text a {
    font-size: 13px !important;  /* меняйте значение */
}

/* ===== ПРИМЕРЫ ЗНАЧЕНИЙ ===== */

/* Маленькие буквы */
/* .di_title { font-size: 10px; } */
/* .di_subtitle { font-size: 16px; } */
/* .di_text p { font-size: 12px; } */

/* Большие буквы */
/* .di_title { font-size: 14px; } */
/* .di_subtitle { font-size: 24px; } */
/* .di_text p { font-size: 15px; } */

/* ===== МИНИМАЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ МОБИЛЬНЫХ ===== */

@media screen and (max-width: 640px) {
    /* Увеличиваем отступ сверху, чтобы телефон не перекрывал город */
    .h_middle {
        padding-top: 70px !important;
    }
    
    /* Корзина — просто убираем лишние отступы */
    .h_basket {
        margin-top: 5px !important;
        margin-right: 10px !important;
    }
    
    /* Телефоны — делаем компактнее */
    .h_tel span {
        display: inline-block !important;
        margin: 0 8px !important;
    }
    
    /* Кнопка под телефонами */
    .ht_callback {
        margin-top: 8px !important;
    }
}

/* Для всех устройств — исправляем корзину */
.h_basket {
    white-space: nowrap !important;
}

.hb_amount {
    display: inline-block !important;
    margin-left: 5px !important;
}
/* ===== ЦЕНТРИРОВАНИЕ ДЛЯ МОБИЛЬНЫХ ===== */

@media screen and (max-width: 640px) {
    /* Центрируем контейнер */
    .h_middle .container {
        text-align: center !important;
    }
    
    /* Логотип по центру */
    .h_logo {
        display: inline-block !important;
        float: none !important;
        margin: 0 auto 15px !important;
    }
    
    /* Город под логотипом */
    .h_city {
        position: static !important;
        display: block !important;
        margin: 0 auto 15px !important;
    }
    
    /* Рейтинг по центру */
    .h_yReviews {
        display: inline-flex !important;
        margin: 0 auto 15px !important;
        float: none !important;
    }
    
    /* Телефоны и кнопка по центру */
    .ht_wrap {
        text-align: center !important;
        margin: 0 auto 15px !important;
    }
    
    /* Адрес по центру */
    .h_address {
        text-align: center !important;
        margin: 0 auto 15px !important;
    }
    
    /* Поиск по центру */
    .h_search {
        text-align: center !important;
        margin: 0 auto 15px !important;
    }
    
    .h_search form {
        display: inline-flex !important;
    }
}
/* Полное скрытие рейтинга */
.h_yReviews {
    display: none !important;
}

@media screen and (max-width: 640px) {
    .h_middle .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .h_logo { order: 1; }
    .h_city { order: 2; position: static !important; }
    .h_yReviews { order: 3; }
    .ht_wrap { order: 4; }
    .h_address { order: 5; }
    .h_search { order: 6; }

/* ===== ПРИНУДИТЕЛЬНОЕ ЦЕНТРИРОВАНИЕ САРАТОВА ===== */

.h_city {
    position: static !important;
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hc_current {
    display: inline-block !important;
    float: none !important;
}

/* Убираем абсолютное позиционирование */
.h_city {
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}
/* ===== МЕНЯЕМ МЕСТАМИ ТЕЛЕФОНЫ И КНОПКУ ===== */

/* Десктопная версия */
@media screen and (min-width: 901px) {
    .ht_wrap {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: flex-end !important;
    }
    
    .h_tel {
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }
    
    .ht_callback {
        margin-bottom: 5px !important;
        margin-top: 0 !important;
    }
}

/* Планшеты */
@media screen and (min-width: 641px) and (max-width: 900px) {
    .ht_wrap {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .h_tel {
        margin-top: 8px !important;
    }
    
    .ht_callback {
        margin-bottom: 5px !important;
    }
}

/* Мобильные */
@media screen and (max-width: 640px) {
    .ht_wrap {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .h_tel {
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }
    
    .ht_callback {
        margin-bottom: 5px !important;
        margin-top: 0 !important;
    }
}

/* ===== ЦЕНТРИРОВАНИЕ КНОПКИ "ПЕРЕЗВОНИТЬ" ===== */

/* Десктопная версия */
@media screen and (min-width: 901px) {
    .ht_wrap {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .ht_callback {
        text-align: center !important;
        width: 100% !important;
    }
    
    .h_tel {
        text-align: center !important;
        width: 100% !important;
    }
}

/* Планшеты */
@media screen and (min-width: 641px) and (max-width: 900px) {
    .ht_wrap {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .ht_callback {
        text-align: center !important;
    }
    
    .h_tel {
        text-align: center !important;
    }
}

/* Мобильные */
@media screen and (max-width: 640px) {
    .ht_wrap {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: center !important;
    }
    
    .ht_callback {
        text-align: center !important;
    }
    
    .h_tel {
        text-align: center !important;
    }
}

/* Кнопка по центру */
.ht_callback .but_black {
    display: inline-block !important;
    margin: 0 auto !important;
}

/* ===== КОРРЕКТИРОВКА ПОИСКОВОЙ СТРОКИ ===== */

/* Контейнер поиска */
.h_search {
    width: 100% !important;
    text-align: center !important;
    margin: 20px 0 !important;
}

/* Форма поиска */
.h_search form {
    display: inline-flex !important;
    width: 80% !important;
    max-width: 500px !important;
    background: #fff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Поле ввода */
.h_search input {
    flex: 1 !important;
    border: none !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    background: transparent !important;
    outline: none !important;
}

/* Кнопка "Найти" */
.h_search .but_yellow {
    background: #ffd820 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

/* Эффект при наведении */
.h_search .but_yellow:hover {
    background: #000 !important;
    color: #ffd820 !important;
}

/* Эффект при фокусе */
.h_search form:focus-within {
    border-color: #ffd820 !important;
    box-shadow: 0 0 0 3px rgba(255, 216, 32, 0.2) !important;
}

/* Мобильные устройства */
@media screen and (max-width: 640px) {
    .h_search form {
        width: 95% !important;
    }
    
    .h_search input {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }
    
    .h_search .but_yellow {
        padding: 12px 18px !important;
        font-size: 13px !important;
    }
}
/* ===== УБИРАЕМ ОТСТУП У КНОПКИ "ПЕРЕЗВОНИТЬ" ===== */

/* Десктоп */
@media screen and (min-width: 901px) {
    .ht_wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .ht_callback {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .ht_callback .but_black {
        margin-top: 0 !important;
    }
}

/* Планшеты */
@media screen and (min-width: 641px) and (max-width: 900px) {
    .ht_callback {
        margin-top: 0 !important;
    }
}

/* Мобильные */
@media screen and (max-width: 640px) {
    .ht_callback {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .ht_wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Принудительно убираем все отступы */
.ht_callback {
    margin-top: 0 !important;
}

.ht_callback .but_black {
    margin-top: 0 !important;
}



/* ===== СКРЫТИЕ ОШИБКИ ===== */

/* Скрываем ошибку Cannot find template */
font[color="#FF0000"],
font[color="red"],
font[color="#FF0000"]:contains("Cannot find"),
body > font:first-of-type {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -9999 !important;
}

/* Также скрываем любые сообщения об ошибках */
.error-text,
.error-message,
.alert-danger {
    display: none !important;
}

/* ===== СКРЫТИЕ ОШИБКИ НА ВСЕХ УСТРОЙСТВАХ ===== */

/* Скрываем ошибку на всех экранах */
font[color="#FF0000"],
font[color="red"],
body font {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -9999 !important;
}

/* Для десктопа */
@media screen and (min-width: 641px) {
    font[color="#FF0000"] {
        display: none !important;
    }
}
/* Стили для сворачиваемых категорий */
.catalog-sections-list {
    margin: 0;
    padding: 0;
}

.catalog-section-item {
    list-style: none;
    margin-bottom: 5px;
}

/* Стиль для элемента с подкатегориями */
.catalog-section-parent {
    position: relative;
}

/* Кнопка сворачивания/разворачивания */
.catalog-section-toggle {
    position: absolute;
    right: 10px;
    top: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.catalog-section-toggle:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #666;
}

.catalog-section-toggle.collapsed:before {
    transform: translate(-50%, -50%) rotate(-90deg);
}

/* Основная ссылка категории */
.catalog-section-link {
    display: block;
    padding: 8px 30px 8px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.catalog-section-link:hover {
    color: #f5a623;
    background-color: #f9f9f9;
}

/* Список подкатегорий */
.catalog-subsection-list {
    margin: 0;
    padding-left: 20px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 1000px;
}

.catalog-subsection-list.collapsed {
    max-height: 0;
}

/* Элемент подкатегории */
.catalog-subsection-item {
    list-style: none;
    margin-bottom: 3px;
}

.catalog-subsection-link {
    display: block;
    padding: 5px 0 5px 15px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.catalog-subsection-link:hover {
    color: #f5a623;
    padding-left: 20px;
}

/* Категории первого уровня выравнивание */
.am_tabs #ammt_category,
.am_tabs #ammt_category > ul {
    margin: 0;
    padding: 0;
}

.am_tabs .catalog-sections-list > li {
    border-bottom: 1px solid #eee;
}

.am_tabs .catalog-sections-list > li:last-child {
    border-bottom: none;
}

/* Активная категория */
.catalog-section-item.active > .catalog-section-link {
    color: #f5a623;
    font-weight: bold;
}
/* Выравнивание левой колонки с категориями */
.alm_left {
    width: 250px;
    float: left;
    margin-right: 30px;
}

.am_menu {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.am_tabs {
    padding: 0;
}

.am_tabs .amm_sort {
    display: flex;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

.am_tabs .amm_sort li {
    flex: 1;
    list-style: none;
}

.am_tabs .amm_sort li a {
    display: block;
    padding: 12px 15px;
    text-align: center;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.am_tabs .amm_sort li a:hover,
.am_tabs .amm_sort li.ui-tabs-active a {
    background: #fff;
    color: #f5a623;
    border-bottom: 2px solid #f5a623;
}

#ammt_category,
#ammt_brands {
    padding: 15px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .alm_left {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .catalog-section-toggle {
        right: 5px;
    }
    
    .catalog-section-link {
        font-size: 14px;
    }
    
    .catalog-subsection-link {
        font-size: 12px;
    }
}

/* Скрываем ошибку Cannot find template */
font[color="#FF0000"],
font[color="red"],
font[color="#FF0000"]:contains("Cannot find"),
body > font {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -9999 !important;
}

/* Также скрываем все сообщения об ошибках */
.error-text,
.error-message {
    display: none !important;
}
/* ===== КОНЕЦ ===== */