.remontfilterinner {
  background: #fff;
}
.remontfilterinner select {
  /* Базовые стили */
  width: auto;
  min-width: 180px; /* Минимальная ширина для адаптивности */
  font-family: inherit;
  font-size: 16px;
  height: 42px; /* Фиксированная высота для лучшего контроля */
  padding: 0 32px 0 12px; /* Больше места для стрелки */
  margin-right: 10px;
  border-radius: 6px; /* Скругление углов (современный стандарт) */
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
  color: #333332;
  cursor: pointer;
  transition: all 0.2s ease;

  /* Сброс системных стилей */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* Эффект при наведении */
.remontfilterinner select:hover {
  border-color: #9e9e9e;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.15);
}

/* Эффект при фокусе */
.remontfilterinner select:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.25);
}

/* Для состояния активного выбора */
.remontfilterinner select:active {
  border-color: #2196f3;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.remontfilterinner input {
  width: 410px;
  font-size: 20px;
  height: auto;
  padding: 3px;
  margin-right: 0px;
  margin-bottom: 0;
}
.remontfilterinner .hidden {
  display: none;
}
.remfiltscroll {
  overflow-x: auto;
  overflow-y: scroll;
  max-height: 350px;
}
.remfilitem {
  display: flex;
  flex-direction: column;
  align-items: space-around;
  justify-content: center;
  align-items: center; /* border:1px solid #666; */
  background: aliceblue;
  padding: 10px;
  margin-bottom: 10px;
  margin-right: 5px;
  position: relative;
  min-height: 60px;
}
.rfnoitems .remfilitem {
  margin-right: 0px;
}
.remfilitem:last-child {
  margin-bottom: 0;
}
.remfilitem img {
  width: 100px;
  height: auto;
  position: absolute;
  top: 10px;
  left: 10px;
}
.remfilitem .remfildescr {
  float: left;
  padding-left: 110px;
  width: 100%;
}
.remfilitem hr {
  margin-top: 10px;
  margin-bottom: 10px;
}
.remfilitem h3 {
  font-size: 24px;
  font-weight: bold;
}
.remfilitem .remfilprice {
  font-size: 18px;
}
.remfilitem .remfilprice .price {
  font-size: 18px;
  color: #ff5c4b;
  font-weight: bold;
}
.remfilitem .remfilbody {
  font-size: 14px;
  color: #999;
}
.clearfix {
  clear: both;
}
.rfloading {
  margin: 10px auto;
  max-width: 150px;
}
.filtervariantsinner hr {
  margin: 10px 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #ddd;
}

.filtervariantsinner select.rfyear {
  width: 100px !important;
}
.filtervariantsinner select.rfmodelful {
  width: 220px !important;
}
.filtervariantsinner select.rfengine {
  width: 220px !important;
}

.sixprices .detail_brand_main_block_p2_row {
  padding: 15px 0 15px 20px;
}
.sixprices .detail_brand_main_block_p2 > .box:nth-of-type(2) {
  margin-top: 10px;
}
.sixprices .box {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.32);
}

.threetips {
  margin-right: -15px;
  margin-left: 5px;
}
.threetips .detail_brand_main_block_p1 {
  padding: 20px;
  width: 50%;
  position: absolute;
  top: 0;
  left: 0;
}
.threetips .detail_brand_main_block_p2_row {
  display: block !important;
  padding: 2px 0 2px 10px;
  margin-right: 10px;
  font-size: 14px;
}
.threetips .detail_brand_main_block_p2_row .detail_brand_price {
  font-size: 18px;
}
.threetips .detail_brand_main_block_p2_row > div > span:nth-child(2) {
  display: block;
  font-size: 10px;
}
.threetips .detail_brand_main_block_p2_row div {
  display: block !important;
  width: 90% !important;
}
.threetips .col-md-4 {
  padding-left: 0px;
  padding-right: 0px;
  margin-right: 10px;
  max-width: 32%;
}
.threetips .detail_brand_main_block_p2_row div span:nth-of-type(2) {
  color: #d5d5d5;
}
.threetips .box {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.32);
  margin-bottom: 10px;
}

.twotips {
  margin-right: -10px;
  margin-left: 5px;
}
.twotips .detail_brand_main_block_p1 {
  padding: 10px 10px 10px 20px;
  width: 25%;
  position: absolute;
  top: 0;
  left: 0;
}
.twotips .detail_brand_main_block_p2_row {
  /*display: flex !important;*/
  padding: 3px 0 3px 20px;
  margin-right: 10px;
  font-size: 14px;
}
.twotips .detail_brand_main_block_p2_row .detail_brand_price {
  font-size: 18px;
}
.twotips .detail_brand_main_block_p2_row > div > span:nth-child(2) {
  display: block;
}
.twotips .detail_brand_main_block_p2_row div {
  display: block !important;
  width: 90% !important;
}
.twotips .col-md-6 {
  padding-left: 0px;
  padding-right: 0px;
  margin-right: 10px; /*max-width: 49%;*/
  max-width: 100%;
}
.twotips .detail_brand_main_block_p2_row div span:nth-of-type(2) {
  color: #d5d5d5;
}
.twotips .box {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.32);
  margin-bottom: 10px;
}
.filtervariantsinner {
  border-bottom: 1px solid #eee;
  padding-left: 30px;
}
.threeprices {
  display: flex;
  /* align-items: center; */
}
.rfitems {
  padding: 0 30px 20px 30px;
  position: relative;
  margin-top: 20px;
}
.owl_btn {
  position: absolute;
  top: 35%;
  font-size: 50px;
}
.owl_btn.prev {
  left: 10px;
}
.owl_btn.next {
  right: 10px;
}
.detail_brand_main_block_p1 {
  padding: 10px;
  width: 40%;
}
.detail_brand_main_block_p2 {
  width: 60%;
  text-align: left;
}

.detail_brand_main_block_p2:last-child {
  border-bottom: none;
}

.filter_magazin_wrap {
  display: flex;
  justify-content: space-between;
}

.filter_magazin_wrap > .box:first-child {
  width: 70%;
}
.filter_magazin_wrap > .box:last-child {
  width: 28%;
}

.filter_magazin_form {
  padding: 23px 20px;
  position: relative;
}
.filter_magazin_form > span {
  display: block;
}
.filter_magazin_form_title {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 18px;
}
.filter_magazin_phone {
  color: #1d5fa1;
  display: flex !important;
  align-items: center;
  margin: 10px 0 50px;
}
.filter_magazin_phone_icon {
  font-size: 23px;
  margin-right: 8px;
}
.filter_magazin_form_descr {
  display: block;
  font-size: 12px;
  color: #818181;
}
.filter_magazin_form_descr span {
  font-size: 16px;
  color: #ff5943;
}
.filter_magazin_form form.form_callback {
  margin-top: 40px;
  padding: 0;
}
.filter_magazin_img {
  width: 50%;
  padding: 5px 0 5px 34px;
}
.detail_brand_main_block_p2 > span {
  display: block;
}

.detail_brand_main_block_p2_title {
  font-size: 13px;
}
.detail_brand_main_block_p2_price {
  color: #ff5943;
  font-size: 16px;
  margin: 3px 0 6px 0;
}
.detail_brand_main_block_p2_guar {
  color: #939393;
  font-size: 12px;
}

.filter_magazin_wrap .owl-theme .owl-dots .owl-dot span {
  width: 6px;
  height: 6px;
}
.filter_magazin_wrap .owl-theme .owl-dots .owl-dot.active span,
.filter_magazin_wrap .owl-theme .owl-dots .owl-dot:hover span {
  background: #2265a3;
}

.detail_brand_main_block_single {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

/* Изображение в карточке фильтра */
.detail_brand_main_block_single_p1 {
  width: 45%;
}
.detail_brand_main_block_single_p2 {
  width: 45%;
}

.detail_brand_main_block_single_p2 .detail_brand_main_block_p2_row {
  font-size: 14px;
  padding: 12px 0;
}
.detail_brand_main_block_single_p2
  .detail_brand_main_block_p2_row
  .detail_brand_price {
  font-size: 15px;
}
.detail_brand_main_block_single_p2
  .detail_brand_main_block_p2_row
  > div:nth-of-type(1) {
  text-align: left;
  width: 45%;
}
.detail_brand_main_block_single_p2
  .detail_brand_main_block_p2_row
  > div:nth-of-type(2) {
  justify-content: space-between;
  width: 55%;
}

/* .filter_magazin_wrap .blocks_title::after {
    content: '';
    position: absolute;
    background-color: #1d5fa1;
    width: 39px;
    height: 3px;
    left: 30px;
    bottom: -5px;
} */

.filter_magazin_wrap .blocks_title {
  margin: 0;
  padding: 20px 0 0 30px;
  text-transform: initial;
  position: relative;
  text-align: left;
}
.filter_magazin_wrap .repairs_cost_form_titles {
  padding: 23px 0 11px 29px;
  border-bottom: 1px solid #eee;
}
.filter_magazin_wrap .repairs_cost_form_titles > span:nth-of-type(2) {
  margin: 0 80px;
}
.filter_magazin_wrap .repairs_cost_form_titles > span {
  font-size: 18px;
}
.filter_magazin_line {
  position: absolute;
  background: #eee;
  height: 1px;
  left: 0;
  right: 0;
  top: 101px;
}
.detail_brand_main_count {
  color: #ff5943;
  font-size: 14px;
}
.repairs_cost_form_content .tabcontent {
  padding: 25px 0 15px 0;
}
/*@media only screen and (max-width:1199px)*/
@media only screen and (max-width: 1199px) {
  .filter_magazin_wrap .repairs_cost_form_titles > span:nth-of-type(2) {
    margin: 0 27px;
  }
  .repairs_cost_form_content .tabcontent {
    padding: 0;
  }
  .stoimfrm3,
  .stoimfrm2 {
    padding: 20px 27px;
  }
  .filtervariantsinner {
    padding: 10px 27px 0 27px;
  }
}
/*@media only screen and (max-width:992px)*/
@media only screen and (max-width: 992px) {
  .filter_magazin_wrap > .box:last-child {
    width: 30%;
  }
  .detail_brand_main_block_single {
    flex-direction: column;
  }
  .detail_brand_main_block_single_p1 {
    width: 40%;
    margin: auto;
  }
  .detail_brand_main_block_single_p2 {
    width: 100%;
    border-top: 1px solid #eee;
    margin-top: 20px;
  }
}

/*@media only screen and (max-width:768px)*/
@media only screen and (max-width: 767px) {
  .owl_btn {
    display: none;
  }
  .filter_magazin_wrap {
    flex-direction: column;
  }
  .filter_magazin_wrap > .box:first-child {
    width: 100%;
  }
  .filter_magazin_wrap > .box:last-child {
    width: 100%;
  }
  .filter_magazin_form {
    text-align: center;
  }
  .filter_magazin_phone {
    display: flex !important;
    justify-content: center;
  }
  .filter_magazin_phone_icon {
    display: inline-block !important;
    background: #ff4343;
    color: #fff;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    padding-top: 5px;
  }
  .filter_magazin_phone_icon i {
    font-size: 35px;
  }
  .filter_magazin_wrap .repairs_cost_form_titles {
    display: flex;
    align-items: baseline;
  }
  .filter_magazin_phone a {
    font-size: 24px;
  }
  .filter_magazin_line {
    top: 111px;
  }
  .remontfilterinner select,
  .remontfilterinner select.rfyear,
  .remontfilterinner select.rfmodelful,
  .remontfilterinner select.rfengine {
    width: 100% !important;
  }

  .submit_callback {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
    background: #ff5943;
    color: #fff;
  }
  .submit_callback i {
    font-size: 34px;
    margin-right: 15px;
  }
  .filter_magazin_form_title_mob {
    display: block;
    color: #165a9f;
    font-size: 18px;
    margin-bottom: 20px;
  }
  .filter_magazin_form_descr_mob {
    font-size: 14px;
  }
  .filter_magazin_form_descr_mob span {
    color: #ff5943;
  }
}

/*@media only screen and (max-width:488px)*/
@media only screen and (max-width: 488px) {
  .detail_brand_main_block_p2_row {
    display: flex;
    align-items: center;
    padding: 10px 0;
  }
  .detail_brand_main_block_p2_row > div:nth-of-type(2) {
    display: block;
    text-align: right;
    margin: 0;
  }

  .repairs_cost_form_titles > span:nth-of-type(2) {
    margin: 0 15px;
  }
  .filter_magazin_wrap .repairs_cost_form_titles > span {
    font-size: 16px;
  }
  .filter_magazin_wrap .repairs_cost_form_titles > span:nth-of-type(2) {
    margin: 0 12px;
  }

  .filter_magazin_wrap .blocks_title {
    padding: 20px 0 0 16px;
  }
  .filter_magazin_wrap .blocks_title:after {
    left: 17px;
  }
  .filter_magazin_wrap .repairs_cost_form_titles {
    padding: 23px 0 11px 17px;
  }
  .filtervariantsinner {
    padding: 10px 27px 0 15px;
  }
  .rfitems {
    padding: 0 30px 20px 20px;
  }
}

/* Стили для ленточного списка (Фильтра) */
.list-filter-wrap {
  width: 100%;
  /* padding: 0 15px; */
  position: relative;
}

/* Контейнер карточек */
.filter-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* Отступ между карточками */
}

.threeprices.list-item {
  display: flex;
  /* flex-direction: column; */
  flex-direction: row;
  /* width: 100%; */
  width: 336px;
  min-height: 180px;
  /* margin-bottom: 20px; */
  padding: 8px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  align-items: center;
  cursor: pointer;
}

/* Эффект при наведении */
.threeprices.list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Контейнер для изображения */
.threeprices.list-item .detail_brand_main_block_p1 {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
/* Стиль для изображения */
.threeprices.list-item .detail_brand_main_block_p1 img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  max-height: 200px;
}

/* Основной контент карточки */
.threeprices.list-item .detail_brand_main_block_p2 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-left: 15px;
}

/* Заголовок модели */
.model-name-caption {
  font-size: small;
  font-weight: bold;
  color: #1d5fa1;
  text-align: center;
}

/* Блок цен */
.detail_brand_price_block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

/* Цена */
.detail_brand_price {
  font-size: 20px;
  color: #ff5943;
  font-weight: bold;
}

/* Медиа-запросы для адаптивности */
@media only screen and (max-width: 768px) {
  .threeprices.list-item {
    flex-direction: column;
    padding: 10px;
    width: -webkit-fill-available;
    /* flex-direction: column; */
    align-items: center;
    padding-left: 10px;
  }

  .threeprices.list-item .detail_brand_main_block_p1 {
    width: 100%;
    text-align: center;
    height: auto;
    margin-bottom: 15px;
    /* flex-direction: row; */
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
  }

  .model-name-caption {
    margin-top: 0;
    margin-left: 15px;
    text-align: left;
    font-size: 14px;
  }

  .threeprices.list-item .detail_brand_main_block_p2 {
    width: 100%;
  }
}

@media only screen and (max-width: 576px) {
/*   .threeprices.list-item {
    width: 230px;
  } */

  .threeprices.list-item .detail_brand_main_block_p1 {
    flex-direction: column;
  }

  .model-name-caption {
    margin-top: 10px;
    margin-left: 0;
    text-align: center;
  }

  .threeprices.list-item .detail_brand_main_block_p2 > div {
    width: 100%;
    margin-right: 0;
  }
}

/* Кнопка подробнее */
.details-more-btn {
  background-color: #1d5fa1;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.details-more-btn:hover {
  background-color: #164a7e;
}

/* Стили для динамической подгрузки */
.hidden-item {
  display: none !important;
}

/* Кнопка показать еще */
.load-more-container {
  width: 100%;
  text-align: center;
  margin: 20px 0;
}

.load-more-btn {
  background-color: #1d5fa1;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.load-more-btn:hover {
  background-color: #164a7e;
}

.load-more-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Стили для блока "Элементы не найдены" */
.no-results-found {
  padding: 30px;
  text-align: center;
  margin: 20px 0;
  background: #f8f8f8;
  border-radius: 5px;
}

.no-results-message h3 {
  color: #ff5943;
  margin-bottom: 15px;
  font-size: 18px;
}

.no-results-message p {
  margin-bottom: 20px;
  color: #555;
}

.callback-button-container {
  margin-top: 15px;
}

/* Адаптивность */
@media only screen and (max-width: 768px) {
  .model-name-caption {
    font-size: 16px;
    text-align: left;
  }

  .details-more-btn {
    align-self: stretch;
    text-align: center;
  }
}

@media only screen and (max-width: 576px) {
  .model-name-caption {
    font-size: 14px;
  }

  .detail_brand_price {
    font-size: 18px;
  }
}

@media only screen and (max-width: 767px) {
  .no-results-found {
    padding: 20px 15px;
  }
}
/* Кнопка консультация */
.bitrix24 {
  display: flex;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* --- OwlCarousel навигация для галереи с видео/изображениями --- */
.main-gallery {
  position: relative;
}

.main-gallery .owl-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 10;
}

.main-gallery:hover .owl-nav {
  opacity: 1;
  pointer-events: auto;
}

.main-gallery .owl-prev,
.main-gallery .owl-next {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: #0a3a67;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: none;
  position: relative;
  transition: background 0.2s;
  z-index: 11;
}

.main-gallery .owl-prev:before,
.main-gallery .owl-next:before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  position: absolute;
  top: 15px;
}

.main-gallery .owl-prev:before {
  left: 15px;
  transform: rotate(-135deg);
}

.main-gallery .owl-next:before {
  right: 15px;
  transform: rotate(45deg);
}

.main-gallery .owl-prev:hover,
.main-gallery .owl-next:hover {
  background: #08457e;
}

@media only screen and (max-width: 600px) {
  .main-gallery .owl-nav {
    top: 45%;
    width: 100%;
    height: 0;
  }
  .main-gallery .owl-prev,
  .main-gallery .owl-next {
    width: 32px;
    height: 32px;
    font-size: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  }
  .main-gallery .owl-prev:before,
  .main-gallery .owl-next:before {
    width: 10px;
    height: 10px;
    border-top-width: 2px;
    border-right-width: 2px;
    top: 10px;
  }
  .main-gallery .owl-prev:before { left: 8px; }
  .main-gallery .owl-next:before { right: 8px; }
}

@media only screen and (max-width: 400px) {
  .main-gallery .owl-prev,
  .main-gallery .owl-next {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .main-gallery .owl-prev:before,
  .main-gallery .owl-next:before {
    width: 7px;
    height: 7px;
    border-top-width: 2px;
    border-right-width: 2px;
    top: 6px;
  }
  .main-gallery .owl-prev:before { left: 5px; }
  .main-gallery .owl-next:before { right: 5px; }
}

@media only screen and (max-width: 992px) {
  .detail_brand_main_block_single_p1 {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto 16px auto;
  }
  .main-gallery {
    width: 100% !important;
    max-width: 100%;
    min-height: 360px;
  }
  .gallery-item,
  .main-gallery .gallery-item {
    width: 100% !important;
    max-width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .video-rutube {
    width: 100% !important;
    max-width: 100%;
    min-height: 360px;
    height: 360px !important;
    padding-bottom: 0 !important;
    border-radius: 16px;
    overflow: hidden;
  }
  .video-rutube iframe {
    border-radius: 16px;
    min-height: 360px;
    height: 360px !important;
    width: 100% !important;
    max-width: 100%;
    display: block;
  }
  .main-gallery img,
  .gallery-item img {
    width: 100% !important;
    max-width: 100%;
    min-height: 260px;
    height: 260px !important;
    object-fit: cover;
    border-radius: 16px;
    display: block;
  }
  .gallery-thumbs {
    width: 100% !important;
    max-width: 100%;
    margin-top: 16px !important;
  }
  .thumb-item {
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 64px;
    max-height: 64px;
  }
  .thumb-item img {
    border-radius: 8px;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 64px;
    max-height: 64px;
    object-fit: cover;
  }
}
