

/* Start:/local/templates/main/components/bitrix/catalog/catalog/style.css?178643826256*/
.find-section,.credit-section{
	margin-bottom : 30px;	}

/* End */


/* Start:/css/catalog.css?178643826234004*/
 .catalog-layout {
      display: flex;
      gap: 30px;
      align-items: flex-start;
      margin-top: 20px;
    }

/* ========================================
   ФИЛЬТР (ЛЕВЫЙ САЙДБАР)
   ======================================== */

.filter-sidebar {
  flex: 0 0 280px;
  min-width: 240px;
  padding-right: 24px;
  background:#fff;
  border-radius:30px;
  padding:20px;
  margin-top:40px;
}

/* ----- ГРУППЫ ФИЛЬТРА ----- */
.filter-group {
  margin-bottom: 12px;
}

/* ----- ПОЛЯ ВВОДА ----- */
.filter-input {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  font-size: 14px;
  color: #8a9aa8;
  background: #f8f9fb;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.filter-input::placeholder {
  color: #8a9aa8;
  font-weight: 400;
}

.filter-input:hover {
  background-color: #f0f2f5;
  border-color: #d0d6de;
}

.filter-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #1a1a2e;
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
  color: #1a1a2e;
}

.filter-input:focus::placeholder {
  opacity: 0.5;
}

/* ----- ВЫПАДАЮЩИЕ СПИСКИ (СЕЛЕКТЫ) ----- */
.filter-select {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  font-size: 14px;
  color: #8a9aa8;
  background: #f8f9fb;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.filter-select:hover {
  background-color: #f0f2f5;
  border-color: #d0d6de;
}

.filter-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #1a1a2e;
  box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
  color: #1a1a2e;
}

/* Стиль для опций внутри выпадающего списка */
.filter-select option {
  padding: 10px 16px;
  color: #1a1a2e;
  background: #ffffff;
}

.filter-select option:disabled {
  color: #8a9aa8;
  background: #f8f9fb;
}

/* Убираем стандартную стрелку в IE */
.filter-select::-ms-expand {
  display: none;
}

/* ----- ОБЁРТКА ДЛЯ СТРЕЛКИ ----- */
.filter-select-wrapper {
  position: relative;
  width: 100%;
}

/* Стрелка-шеврон через ::after на обёртке */
.filter-select-wrapper::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8a9aa8;
  border-bottom: 1.5px solid #8a9aa8;
  pointer-events: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.filter-select-wrapper:hover::after {
  border-color: #5a6874;
}

.filter-select-wrapper:focus-within::after {
  border-color: #1a1a2e;
  transform: translateY(-50%) rotate(225deg);
}

/* ----- РЯД ДЛЯ ПОЛЕЙ "ОТ — ДО" ----- */
.filter-row {
  display: flex;
  align-items: center;
  /* gap: 8px; */
  gap: 3px;
}

.filter-row > :first-child {
  border-radius: 10px 0 0 10px;
}

.filter-row > :last-child {
  border-radius: 0 10px 10px 0;
}

.filter-row .filter-input {
  /* width: calc(50% - 4px); */
  flex: 1;
}

.filter-sep {
  color: #b0b8c0;
  font-size: 14px;
  font-weight: 300;
  flex-shrink: 0;
  display:none;
}

/* ----- ЧЕКБОКСЫ ----- */
.filter-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #1a1a2e;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #dce0e5;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.custom-checkbox:hover .checkmark {
  border-color: #b0b8c0;
}

.custom-checkbox input:checked + .checkmark {
  background: #1a1a2e;
  border-color: #1a1a2e;
}

.custom-checkbox input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
/* ========================================
   ПЕРЕКЛЮЧАТЕЛЬ (TOGGLE SWITCH)
   ======================================== */



.filter-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 2px 0;
}

.toggle-switch input[type="radio"] {
  display: none;
}

/* Текст слева */
.toggle-label {
  font-size: 14px;
  color: #1a1a2e;
  font-weight: 400;
  transition: font-weight 0.2s;
}

/* Активный текст — жирный */
.toggle-switch input:checked ~ .toggle-label {
  font-weight: 600;
}

/* Слайдер справа */
.toggle-slider {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
  background: #727C83;
  border-radius: 14px;
  transition: background 0.3s ease;
  border: 1px solid #727C83;
}

.toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Активное состояние */
.toggle-switch input:checked + .toggle-slider {
    

}

.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

/* Ховер */
.toggle-switch:hover .toggle-slider {
  background: #dce0e5;
  border-color: #b0b8c0;
}

.toggle-switch input:checked:hover + .toggle-slider {
  
}

/* Фокус для доступности */
.toggle-switch input:focus-visible + .toggle-slider {
  outline: 2px solid #4a90d9;
  outline-offset: 2px;
}

/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 480px) {
  .filter-toggle-group {
    gap: 10px;
  }

  .toggle-switch {
    padding: 1px 0;
  }

  .toggle-label {
    font-size: 13px;
  }

  .toggle-slider {
    width: 42px;
    height: 24px;
  }

  .toggle-slider::after {
    width: 18px;
    height: 18px;
    top: 2px;
    left: 2px;
  }

  .toggle-switch input:checked + .toggle-slider::after {
    transform: translateX(18px);
  }
}

/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 480px) {
  .filter-toggle-group {
    gap: 12px;
    flex-wrap: wrap;
  }

  .toggle-slider {
    width: 36px;
    height: 20px;
  }

  .toggle-slider::after {
    width: 16px;
    height: 16px;
  }

  .toggle-switch input:checked + .toggle-slider::after {
    transform: translateX(16px);
  }

  .toggle-label {
    font-size: 13px;
  }
}
/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 820px) {
  .filter-sidebar {
    flex: 1 1 auto;
    width: 100%;
    padding-right: 0;
  }

  .filter-tags {
    gap: 4px;
  }

  .filter-tag {
    font-size: 12px;
    padding: 4px 12px;
  }

  .filter-row {
    gap: 6px;
  }

  .filter-checkbox-group {
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .filter-sidebar {
    padding: 0;
  }

  .filter-group label {
    font-size: 13px;
  }

  .filter-input,
  .filter-select {
    padding: 8px 10px;
    font-size: 13px;
  }

  .filter-checkbox-group {
    flex-direction: column;
    gap: 6px;
  }

  .filter-tags {
    gap: 4px;
  }
}

    /* ---------- Правая часть (результаты) ---------- */
    .catalog-results {
      flex: 1;
      min-width: 0;
    }

    .catalog-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 20px;
    }

    .catalog-header h1 {
      font-size: 28px;
      font-weight: 700;
      color: #1a1a2e;
      margin: 0;
    }

    .catalog-header .found-count {
      font-size: 15px;
      color: #5a6874;
    }

    .catalog-header .sort-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .catalog-header .sort-wrap span {
      font-size: 14px;
      color: #5a6874;
    }

    .sort-select {
      padding: 8px 16px;
      border: 1px solid #e5e7eb;
      border-radius: 30px;
      background: #fff;
      font-size: 14px;
      color: #1a1a2e;
      outline: none;
      cursor: pointer;
    }
/* ----- ЗАГОЛОВОК СТРАНИЦЫ (на всю ширину) ----- */
.page-header {
  padding: 24px 0 28px;
  margin-bottom: 8px;

}

.page-title {
  font-size: 35px;
  font-weight: 700;
  color: #1A2B4C;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.page-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 12px;
  font-size: 15px;
}

.page-meta__count {
  font-weight: 600;
  color: #1a1a2e;
}

.page-meta__location {
  color: #5a6874;
}

.page-description {
  font-size: 17px;
  color: #1A2B4C;
  
  margin: 0;
 
}
    /* ---------- Сетка карточек ---------- */
    .catalog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 40px;
    }

    .catalog-card {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      transition: box-shadow 0.25s ease, transform 0.25s ease;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      display: flex;
      flex-direction: column;
    }

    .catalog-card:hover {
      box-shadow: 0 8px 32px rgba(0,0,0,0.10);
      transform: translateY(-4px);
    }

  

    .catalog-card-img img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    .catalog-card-body {
      padding: 14px 16px 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .catalog-card-name {
      font-size: 15px;
      font-weight: 600;
      color: #2E333D;
      margin-bottom: 4px;
      line-height: 1.3;
    }

    .catalog-card-price {
      font-size: 22px;
      font-weight: 700;
      color: #1a1a2e;
      margin-bottom: 10px;
    }

    .catalog-card-price small {
      font-size: 14px;
      font-weight: 400;
      color: #888;
      margin-left: 4px;
    }

    .catalog-card-actions {
      display: flex;
      gap: 8px;
      margin-top: auto;
    }

    .btn-catalog {
      flex: 1;
      padding: 10px 0;
      border: none;
      border-radius: 30px;
      font-weight: 600;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
    }

    .btn-catalog-primary {
      background: linear-gradient(to bottom, #FFBB00, #FF5900);
      color: #fff;
    }

    .btn-catalog-primary:hover {
      opacity: 0.85;
    }

    .btn-catalog-outline {
      background: transparent;
      border: 1.5px solid #d0d5dd;
      color: #2E333D;
    }

    .btn-catalog-outline:hover {
      border-color: #F5A623;
      color: #F5A623;
    }

    /* ---------- Пагинация ---------- */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin: 30px 0 20px;
    }

    .pagination a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      border-radius: 30px;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #2E333D;
      font-weight: 500;
      font-size: 14px;
      transition: all 0.2s;
      text-decoration: none;
    }

    .pagination a.active {
      background: linear-gradient(to bottom, #FFBB00, #FF5900);
      border-color: #F5A623;
      color: #fff;
    }

    .pagination a:hover:not(.active) {
      border-color: #F5A623;
      color: #F5A623;
    }

    /* ---------- Адаптив ---------- */
    @media (max-width: 1200px) {
      .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .filter-sidebar {
        flex: 0 0 240px;
      }
    }

    @media (max-width: 992px) {
      .catalog-layout {
        flex-direction: column;
      }
      .filter-sidebar {
        flex: 1 1 auto;
        width: 100%;
        position: relative;
        top: 0;
      }
      .filter-row {
        flex-wrap: wrap;
      }
      .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 576px) {
      .catalog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
      }
      .catalog-card-img {
        height: 120px;
      }
      .catalog-card-price {
        font-size: 18px;
      }
      .btn-catalog {
        font-size: 11px;
        padding: 8px 0;
      }
      .filter-sidebar {
        padding: 16px;
      }
    }
	
/* ========================================
   ПРАВАЯ ЧАСТЬ — РЕЗУЛЬТАТЫ
   ======================================== */

.catalog-results {
  flex: 1;
  min-width: 0;
}

/* ========================================
   РЕЗУЛЬТАТЫ — СОРТИРОВКА
   ======================================== */

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.results-found {
  font-size: 16px;
  color: #5a6874;
}

.results-found strong {
  color: #1a1a2e;
  font-weight: 700;
}

/* ----- КНОПКА СОРТИРОВКИ С ВЫПАДАЮЩИМ СПИСКОМ ----- */
.results-sort {
  position: relative;
  display: inline-block;
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 0px solid #e8edf2;
  border-radius: 30px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  min-width: 180px;
  justify-content: space-between;
}

.sort-dropdown:hover {
  border-color: #b0b8c0;
  background: #f8f9fb;
}

.sort-dropdown:focus {
  outline: none;
  border-color: #1a1a2e;
  
}

.sort-dropdown svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.sort-dropdown.active svg {
  transform: rotate(180deg);
}

/* ----- ВЫПАДАЮЩЕЕ МЕНЮ ----- */
.sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.sort-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sort-menu li {
  padding: 10px 18px;
  font-size: 14px;
  color: #5a6874;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sort-menu li:hover {
  background: #f5f7fa;
  color: #1a1a2e;
}

.sort-menu li.active {
  color: #1a1a2e;
  font-weight: 600;
  background: #f5f7fa;
}

.sort-menu li.active::after {
  content: "✓";
  float: right;
  color: #1a1a2e;
}

/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 576px) {
  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .results-found {
    font-size: 14px;
  }

  .sort-dropdown {
    font-size: 13px;
    padding: 6px 14px;
    min-width: 160px;
  }

  .sort-menu {
    min-width: 190px;
    right: 0;
    left: auto;
  }

  .sort-menu li {
    font-size: 13px;
    padding: 8px 14px;
  }
}
/* ----- ФИЛЬТРЫ-ТЕГИ (горизонтальные) ----- */
.filter-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8edf2;
}

.filter-tags-row .filter-tag {
  padding: 6px 16px;
     border: 0px solid;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
  background: #727C83;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-tags-row .filter-tag:hover {
   background: #96a4ae;
  color: #fff;
}

.filter-tags-row .filter-tag--active {
  background: #727C83;
  color: #fff;
      border: 0px solid;
}

.filter-tags-row .filter-tag--active:hover {
  background: #727C83; color: #fff;
      border: 0px solid;      

}

/* Кнопка "Сравнить" в строке тегов */
.filter-compare-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px dashed #dce0e5;
  border-radius: 20px;
  background: transparent;
  color: #5a6874;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-left: auto;
}

.filter-compare-btn:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
  background: #f5f7fa;
}

.filter-compare-btn svg {
  flex-shrink: 0;
}

/* ----- СЕТКА КАРТОЧЕК ----- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* Карточка товара */
.catalog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f2f5;
}

.catalog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  transform: translateY(-4px);
}

.catalog-card-img {
 height: 180px;
    overflow: hidden;
    
}

.catalog-card-img img {
     width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;border-radius:15px;
}

/* Бейдж статуса на карточке */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.card-badge--stock {
  background: #2e7d32;
}

.card-badge--order {
  background: #e65100;
}

.catalog-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalog-card-name {
  font-size: 15px;
  font-weight: 600;
  color: #2E333D;
  margin-bottom: 6px;
  line-height: 1.3;
}

.catalog-card-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
      justify-content: space-between;
}

.price-current {
  font-size: 25px;
  font-weight: 700;
  color: #2E333D;
}

.price-old {
  font-size: 15px;
  color:#727C83;
  text-decoration: line-through;
}

.catalog-card .btn-orange {
  width: 100%;
    font-size: 17px;
    padding: 20px 10px;
}

.btn-detail:hover {
  background: #1a1a2e;
  color: #fff;
}

/* ========================================
   КНОПКА "ПОКАЗАТЬ ЕЩЕ"
   ======================================== */

.show-more-wrapper {
  width: 100%;
  margin-bottom: 24px;
}

.btn-show-more {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid #2E333D;
  border-radius: 12px;
  background: #f8f9fb;
  color: #2E333D;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-show-more:hover {
  background: #f0f2f5;
  border-color: #2E333D;
}

.btn-show-more:active {
  transform: scale(0.98);
}

/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 576px) {
  .btn-show-more {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  .show-more-wrapper {
    margin-bottom: 16px;
  }
}}




/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .filter-tags-row {
    gap: 6px;
  }

  .filter-tags-row .filter-tag {
    font-size: 12px;
    padding: 4px 12px;
  }

  .filter-compare-btn {
    font-size: 12px;
    padding: 4px 10px;
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .catalog-grid {
    grid-template-columns: 1fr ;
    gap: 12px;
  }

  .catalog-card-img {
    height: 220px;
    padding: 8px;
  }

  .catalog-card-name {
    font-size: 13px;
  }

  .price-current {
    font-size: 16px;
  }

  .price-old {
    font-size: 12px;
  }

  .btn-detail {
    font-size: 12px;
    padding: 8px;
  }

  .results-found {
    font-size: 14px;
  }

  .results-sort {
    font-size: 13px;
  }

  .filter-tags-row {
    gap: 4px;
    padding-bottom: 12px;
  }

  .filter-tags-row .filter-tag {
    font-size: 11px;
    padding: 3px 10px;
  }

  .filter-compare-btn {
    font-size: 11px;
    padding: 3px 8px;
  }

  .pagination a {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

/* ========================================
   КАРТОЧКА ТОВАРА
   ======================================== */

.product-card-section {
  padding: 20px 0 40px;
}

.product-card {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ----- ЛЕВАЯ КОЛОНКА: ГАЛЕРЕЯ ----- */
.product-gallery {
  flex: 0 0 45%;
}

.product-image-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fb;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-badge--stock {
  background: #2e7d32;
}

.product-badge--order {
  background: #e65100;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-thumbnails img {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: #f8f9fb;
}

.product-thumbnails img:hover {
  border-color: #dce0e5;
}

.product-thumbnails img.active {
  border-color: #1a1a2e;
}

/* ----- ПРАВАЯ КОЛОНКА: ИНФОРМАЦИЯ ----- */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.2;
}

/* Мета: локация + теги */
.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.product-location {
  font-size: 14px;
  color: #5a6874;
}

.product-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.product-tag--nav {
  background: #e3f2fd;
  color: #1565c0;
}

.product-tag--docs {
  background: #e8f5e9;
  color: #2e7d32;
}

.product-tag--warranty {
  background: #fff3e0;
  color: #e65100;
}

/* Цены */
.product-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 0 4px;
}

.product-price-current {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
}

.product-price-old {
  font-size: 18px;
  color: #b0b8c0;
  text-decoration: line-through;
}

.product-price-month {
  font-size: 16px;
  color: #5a6874;
  font-weight: 500;
}

/* Кнопки Кредит / Лизинг */
.product-finance {
  display: flex;
  gap: 10px;
}

.btn-finance {
  padding: 8px 24px;
  border: 1.5px solid #dce0e5;
  border-radius: 30px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #5a6874;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-finance:hover {
  border-color: #b0b8c0;
  color: #1a1a2e;
}

.btn-finance--credit {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}

.btn-finance--credit:hover {
  background: #2a2a4e;
  border-color: #2a2a4e;
  color: #fff;
}

/* Основные кнопки */
.product-actions {
  display: flex;
  gap: 10px;
}

.btn-primary {
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-book {
  background: linear-gradient(to bottom, #FFBB00, #FF5900);
  color: #fff;
  flex: 1;
}

.btn-book:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-secondary {
  padding: 14px 28px;
  border: 1.5px solid #dce0e5;
  border-radius: 30px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-calc {
  flex: 1;
}

.btn-calc:hover {
  border-color: #1a1a2e;
  background: #f5f7fa;
}

/* Контакты */
.product-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.contacts-label {
  font-size: 14px;
  color: #5a6874;
}

.contacts-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-chat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid #dce0e5;
  border-radius: 30px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-chat:hover {
  border-color: #1a1a2e;
  background: #f5f7fa;
}

.btn-chat svg {
  flex-shrink: 0;
}

.btn-email {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid #dce0e5;
  border-radius: 30px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-email:hover {
  border-color: #1a1a2e;
  background: #f5f7fa;
}

.btn-email svg {
  flex-shrink: 0;
}

/* Характеристики */
.product-specs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e8edf2;
  margin-top: 4px;
}

.specs-label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
}

.btn-specs-show {
  padding: 8px 20px;
  border: 1.5px solid #dce0e5;
  border-radius: 30px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #5a6874;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-specs-show:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
  background: #f5f7fa;
}

/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 992px) {
  .product-card {
    flex-direction: column;
    padding: 20px;
    gap: 24px;
  }

  .product-gallery {
    flex: 1 1 auto;
  }

  .product-image-main {
    aspect-ratio: 16/10;
  }

  .product-title {
    font-size: 24px;
  }

  .product-price-current {
    font-size: 28px;
  }

  .product-thumbnails img {
    width: 60px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .product-card {
    padding: 16px;
    border-radius: 12px;
    gap: 16px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-price-current {
    font-size: 24px;
  }

  .product-price-old {
    font-size: 15px;
  }

  .product-price-month {
    font-size: 14px;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-finance {
    padding: 6px 16px;
    font-size: 13px;
  }

  .product-meta {
    gap: 6px 8px;
  }

  .product-tag {
    font-size: 11px;
    padding: 3px 10px;
  }

  .contacts-buttons {
    flex-direction: column;
  }

  .btn-chat,
  .btn-email {
    justify-content: center;
  }

  .product-thumbnails img {
    width: 50px;
    height: 40px;
  }

  .product-specs {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .btn-specs-show {
    text-align: center;
  }
} 

/* ========================================
   КАСТОМНЫЙ ДРОПДАУН ДЛЯ ФИЛЬТРОВ
   ======================================== */

/* Триггер */
.custom-select-trigger {
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding-right: 35px; /* Место для шеврона */
}

.custom-select-trigger__text {
  flex: 1;
}

/* Шеврон на триггере */
.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8a9aa8;
  border-bottom: 1.5px solid #8a9aa8;
  transform: translateY(-70%) rotate(45deg); /* Шеврон вниз */
  transition: transform 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

/* Ховер на триггере */
.custom-select-trigger:hover::after {
  border-color: #5a6874;
}

/* Активный триггер - шеврон вверх */
.custom-select-trigger.active::after {
  transform: translateY(-30%) rotate(225deg); /* Шеврон вверх */
  border-color: #1a1a2e;
}

/* Меню в стиле sort-menu */
.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Элементы списка */
.custom-select-menu li {
  padding: 10px 18px;
  font-size: 14px;
  color: #5a6874;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-select-menu li:hover {
  background: #f5f7fa;
  color: #1a1a2e;
}

.custom-select-menu li.active {
  color: #1a1a2e;
  font-weight: 600;
  background: #f5f7fa;
  position: relative;
}

.custom-select-menu li.active::after {
  content: "✓";
  float: right;
  color: #1a1a2e;
}

/* Скроллбар */
.custom-select-menu::-webkit-scrollbar {
  width: 4px;
}

.custom-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-menu::-webkit-scrollbar-thumb {
  background: #dce0e5;
  border-radius: 10px;
}

.custom-select-menu::-webkit-scrollbar-thumb:hover {
  background: #b0b8c0;
}

/* ========================================
   КНОПКА ОТКРЫТИЯ/ЗАКРЫТИЯ ФИЛЬТРОВ (МОБИЛЬНАЯ)
   ======================================== */

.filter-toggle-btn {
  display: none; /* Скрыта по умолчанию */
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #F5F7FA;
  color: #2E333D;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 16px;
  font-family: inherit;
  border:10px #fff solid;
}

.filter-toggle-btn:hover {
  background: #F5F7FA;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2);
}

.filter-toggle-btn:active {
  transform: translateY(0);
}

.filter-toggle-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Иконка поворачивается когда фильтры открыты */
.filter-toggle-btn.active .filter-toggle-icon {
  transform: rotate(180deg);
}

.filter-toggle-text {
  white-space: nowrap;
}

/* ========================================
   ПОВЕДЕНИЕ САЙДБАРА НА МОБИЛЬНЫХ
   ======================================== */

@media (max-width: 767px) {
	.page-title, .page-description{text-align:Center;}
  /* Показываем кнопку */
  .filter-toggle-btn {
    display: flex;
    margin-bottom: 0;
  }
  
  /* Скрываем сайдбар по умолчанию */
  .filter-sidebar {
    display: none;
  }
  
  /* Показываем сайдбар когда он открыт */
  .filter-sidebar.visible {
    display: block;
    margin-top: 0;
  }
}
/* End */


/* Start:/css/catalog_detail.css?178670072022644*/
/* ========================================
   СТРАНИЦА ТОВАРА 
   ======================================== */

.product-page-section {
  margin-top: 20px;
  margin-bottom: 30px;
}

.product-layout {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* ---------- ЛЕВАЯ КОЛОНКА ---------- */
.product-left-col {
  flex: 0 0 65%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

/* Общий стиль для белых блоков левой колонки */
.left-card-block {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* БЛОК 1: Заголовок */
.product-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-title {
  font-size: 35px;
  font-weight: 700;
  color: #1A2B4C;
  margin: 0;
  line-height: 1.2;
}

.product-header-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  background: #F5F7FA;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  color: #2E333D;
}

.icon-btn:hover {
  background: #E8ECF1;
}

/* Мета-данные (город, теги) */
.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.product-location {
  font-size: 17px;
  color: #2E333D;
  font-weight: 500;
}

.dot-sep {
  color: #2E333D;
  font-size: 20px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.product-tag--stock {
  background: #BFE7D0;
  color: #27AE60;
}

.product-tag--docs {
  color: #2E333D;
  background: none;
}

.product-tag--docs::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url('/css/../img/before_garant.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
   margin-right:5px;
}

.product-tag--warranty {
  color: #2E333D;
  background: none;
}

.product-tag--warranty::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
   background-image: url('/css/../img/before_garant.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right:5px;
}

/* БЛОК 2: Галерея */
.product-gallery-wrapper {
  padding: 24px;
}

.product-gallery-block {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* ----- ЛЕВАЯ ЧАСТЬ: СЛАЙДЕР ----- */
.gallery-slider-area {
  flex: 0 0 60%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #F8F9FB;
}
/*

.gallery-main-slider {
  width: 100%;
  height: 322px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-slider .slider-item {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.gallery-main-slider .slider-item.active {
  display: flex;
}
*/

.gallery-main-slider img {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Стрелки навигации слайдера */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #2E333D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav:hover {
  background: #fff;
}

.gallery-nav--prev {
  left: 8px;
}

.gallery-nav--next {
  right: 8px;
}

/* ----- ПРАВАЯ ЧАСТЬ: МИНИАТЮРЫ (2x2) ----- */
.gallery-thumbs-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.thumb-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
  background: #F8F9FB;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 80px;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item.active {
  border-color: #1A2B4C;
}

.thumb-item:hover:not(.active) {
  border-color: #CFD5DB;
}

.thumb-more {
  background: rgba(26, 43, 76, 0.85);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.thumb-more:hover {
  background: #1A2B4C;
  border-color: transparent;
}

.gallery-hint {
  position: relative;
  display: inline-block;
  background: #EAECEF;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #5A6874;
  pointer-events: none;
  z-index: 5;
  margin-top: 12px;
}

/* ========================================
   LIGHTBOX (ПОЛНОЭКРАННЫЙ СЛАЙДЕР)
   ======================================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 30px;
  cursor: pointer;
  transition: 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav--prev {
  left: -60px;
}

.lightbox-nav--next {
  right: -60px;
}

/* ---------- ПРАВАЯ КОЛОНКА ---------- */
.product-right-col {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-card-block {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px 24px 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

/* ----- БЛОК 1: ЦЕНЫ ----- */
.product-prices-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.price-current-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.price-current {
  font-size: 32px;
  font-weight: 700;
  color: #2E333D;
}

.price-old {
  font-size: 14px;
  color: #A0AAB6;
  text-decoration: line-through;
}

.price-month {
  font-size: 18px;
  font-weight: 600;
  color: #2E333D;
}

/* ----- ФИНАНСОВЫЕ ЯРЛЫКИ ----- */
.product-finance-block {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.btn-finance {
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}

.btn-finance--credit {
  background: linear-gradient(to bottom, #FFBB00, #FF5900);
  color: #fff;
}

.btn-finance--credit:hover {
  opacity: 0.9;
}

.btn-finance--leasing {
  background: #1A2B4C;
  color: #fff;
}

.btn-finance--leasing:hover {
  background: #2A3B5C;
}

/* ----- ОСНОВНЫЕ КНОПКИ ----- */
.product-actions-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-action {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}

.btn-action--primary {
  background: linear-gradient(to bottom, #FFBB00, #FF5900);
  border: none;
  color: #fff;
}

.btn-action--primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-action--secondary {
  background: #FFFFFF;
  border: 1.5px solid #2E333D;
  color: #2E333D;
}

.btn-action--secondary:hover {
  background: #F5F7FA;
  border-color: #1A2B4C;
}

/* ----- БЛОК 2: КОНТАКТЫ ----- */
.product-contacts-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-title {
  font-size: 25px;
  font-weight: 700;
  color: #2E333D;
  line-height: 1.3;
}

.contacts-title2 {
  font-size: 15px;
  font-weight: 700;
  color: #2E333D;
  line-height: 1.3;
}

.contacts-icons {
  display: flex;
  gap: 10px;
}

.contact-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F5F7FA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  border: 0px solid;
}

.contact-icon-btn img {
  width: 20px;
  height: 20px;
}

.contact-icon-btn:hover {
  border-color: #CFD5DB;
  background: #FAFBFC;
}

.contacts-links {
  display: flex;
  gap: 12px;
}

.contact-link {
  flex: 1;
  background: #F3F4F6;
  padding: 14px 10px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #727C83;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.contact-link:hover {
  background: #EAECEF;
  color: #2E333D;
}

/* ========================================
   КРЕДИТНЫЙ КАЛЬКУЛЯТОР
   ======================================== */

.credit-calc-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin: 20px 0;
}

.calc-layout {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

/* --- ЛЕВАЯ ЧАСТЬ (ФОРМА) --- */
.calc-form-part {
  flex: 1 1 61.54%;
  padding: 40px 60px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Табы */
.calc-tabs-wrap {
  display: flex;
}

.calc-tabs {
  width: 70%;
  display: inline-flex;
  background: #F4F6F9;
  border-radius: 30px;
}

.calc-tab {
  text-align: center;
  width: 33.3%;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  color: #5A6874;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-tab--active {
  background: linear-gradient(to bottom, #FFBB00, #FF5900);
  border: none;
  color: #fff;
}

/* Поле: Первоначальный взнос */
.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-label {
  font-size: 17px;
  font-weight: 600;
  color: #2E333D;
}

.calc-input-box {
  background: #F5F7FA;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-value {
  font-size: 17px;
  font-weight: 700;
  color: #2E333D;
}

.calc-term {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  
  cursor: pointer;
  user-select: none;
}

.calc-term.custom-select-trigger {padding-right: 0;}

.calc-term span {
  color: #FFA800;
}

/* Убираем псевдоэлемент ::after */
.calc-input-box .calc-term::after {
  display: none !important;
}

/* Иконка шеврона */
.calc-term-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #E4E8ED;
  border-radius: 50%;
  margin-left: 4px;
  transition: transform 0.3s ease, background 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* Увеличиваем область клика */
.calc-term-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}

/* SVG внутри иконки */
.calc-term-icon svg {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* При ховере на иконку */
.calc-term-icon:hover {
  background: #CFD5DB;
}

/* Активное состояние */
.custom-select-trigger.active .calc-term-icon {
  transform: rotate(180deg);
  background: #FFA800;
}

.custom-select-trigger.active .calc-term-icon:hover {
  background: #FFB833;
}

/* Меню дропдауна */
.custom-select-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 160px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid #E4E8ED;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Элементы списка */
.custom-select-menu li {
  padding: 10px 18px;
  font-size: 14px;
  color: #5A6874;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-weight: 500;
}

.custom-select-menu li:hover {
  background: #F5F7FA;
  color: #2E333D;
}

.custom-select-menu li.active {
  color: #2E333D;
  font-weight: 600;
  background: #F5F7FA;
  position: relative;
}

.custom-select-menu li.active::after {
  content: "✓";
  position: absolute;
  right: 18px;
  color: #FFA800;
  font-weight: 700;
}

/* Скроллбар для меню */
.custom-select-menu::-webkit-scrollbar {
  width: 4px;
}

.custom-select-menu::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}

.custom-select-menu::-webkit-scrollbar-thumb {
  background: #E4E8ED;
  border-radius: 10px;
}

.custom-select-menu::-webkit-scrollbar-thumb:hover {
  background: #CFD5DB;
}

/* ========================================
   КАСТОМНЫЙ ПОЛЗУНОК RANGE (20px с градиентом)
   ======================================== */

.calc-slider-track-wrap {
  width: 100%;
  margin-top: 4px;
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}

/* Скрываем стандартный input */
.calc-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  outline: none;
  cursor: pointer;
  margin: 0;
  display: block;
  position: relative;
  z-index: 2;
}

/* WebKit - кружок 20px с градиентом */
.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(146.16% 193.89% at 50% 0%, #FFBB00 0%, #FF5900 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 168, 0, 0.3);
  margin-top: 0;
  position: relative;
  z-index: 3;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(255, 168, 0, 0.5);
}

.calc-range-input::-webkit-slider-thumb:active {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(255, 168, 0, 0.4);
}

/* Firefox - кружок 20px с градиентом */
.calc-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(146.16% 193.89% at 50% 0%, #FFBB00 0%, #FF5900 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 168, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range-input::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(255, 168, 0, 0.5);
}

.calc-range-input::-moz-range-thumb:active {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(255, 168, 0, 0.4);
}

/* Трек в Firefox */
.calc-range-input::-moz-range-track {
  width: 100%;
  height: 4px;
  background: transparent;
  border-radius: 2px;
}

/* Кастомный трек (фоновая линия) */
.calc-slider-track-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #E4E8ED;
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

/* Кастомный заполненный трек */
.calc-slider-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #FFBB00, #FFA800);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* Подсветка трека при наведении */
.calc-slider-track-wrap:hover .calc-slider-fill {
  background: linear-gradient(to right, #FFCC00, #FFA800);
  box-shadow: 0 0 8px rgba(255, 168, 0, 0.2);
}

/* Активное состояние */
.calc-range-input:active ~ .calc-slider-fill {
  background: linear-gradient(to right, #FFAA00, #FF8C00);
  box-shadow: 0 0 12px rgba(255, 168, 0, 0.3);
}

/* Фокус */
.calc-range-input:focus {
  outline: none;
}

.calc-range-input:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(255, 168, 0, 0.2), 0 2px 8px rgba(255, 168, 0, 0.3);
}

.calc-range-input:focus::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(255, 168, 0, 0.2), 0 2px 8px rgba(255, 168, 0, 0.3);
}

/* Результаты */
.calc-results-row {
  display: flex;
  gap: 40px;
  margin-top: 8px;
}

.calc-result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-result-label {
  font-size: 17px;
  font-weight: 600;
  color: #2E333D;
}

.calc-result-big {
  font-size: 25px;
  font-weight: 700;
  color: #2E333D;
}

/* Кнопка отправки */
.calc-btn-submit {
  width: 100%;
  background: linear-gradient(to bottom, #FFBB00, #FF5900);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}

.calc-btn-submit:hover {
  opacity: 0.9;
}

/* --- ПРАВАЯ ЧАСТЬ (КАРТИНКА) --- */
.calc-image-part {
  flex: 1 1 calc(100% - 61.54%);
  position: relative;
}
.calc-image-part:before {
  content: '';
  position: absolute;
  width: 133%;
  padding-top: 133%;
  display: block;
  transform: rotate(6.46deg);
  background-image: url('/css/../img/kredit-logo.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  top: -5%;
    left: -14%;
}

/* ========================================
   АДАПТИВ
   ======================================== */

@media (max-width: 1100px) {
  .product-layout {
    flex-direction: column;
  }

  .product-left-col,
  .product-right-col {
    flex: 1 1 auto;
    width: 100%;
  }

  .left-card-block {
    padding: 20px;
  }

  .product-gallery-block {
    flex-direction: column;
  }

  .gallery-slider-area {
    flex: 1;
    min-height: 250px;
  }

  .gallery-thumbs-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
  }

  .thumb-more {
    display: flex;
  }
}

@media (max-width: 991px) {
  .calc-form-part {
    padding: 30px;
  }
}

@media (max-width: 768px) {
	.show-all-link {
    text-align: center;
    margin-top: 36px;
    
}
  .calc-layout {
    
    gap: 10px;
  }

  .calc-form-part,
  .calc-image-part {
    flex: 1 1 100%;
    width: 100%;
  }

  .calc-form-part {
    padding: 24px;
    gap: 20px;
  }

  .calc-image-part {
    min-height: 300px;
    background-size: contain;
    background-position: center;
    background-color: #F8F9FB;
  }

  .calc-results-row {
    flex-direction: row;
    gap: 20px;
  }

  .calc-tabs {
    width: 100%;
    border-radius: 12px;
  }

  .calc-tab {
    font-size: 12px;
    padding: 8px 0;
  }

  .calc-result-big {
    font-size: 22px;
  }

  /* Адаптив для ползунка */
  .calc-slider-track-wrap {
    height: 20px;
  }
  
  .calc-range-input {
    height: 20px;
  }
  
  .calc-range-input::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: 0;
  }
  
  .calc-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }

  /* Адаптив для дропдауна */
  .custom-select-menu {
    top: auto;
    bottom: calc(100% + 12px);
  }
}

@media (max-width: 576px) {
  .product-title {
    font-size: 20px;
  }

  .price-current {
    font-size: 26px;
  }

  .price-month {
    font-size: 16px;
  }

  .product-meta {
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .product-tag {
    font-size: 10px;
    padding: 2px 8px;
  }

  .product-header-actions .icon-btn {
    width: 34px;
    height: 34px;
  }

  .right-card-block {
    padding: 20px;
  }

  .product-gallery-wrapper {
    padding: 16px;
  }

  .gallery-slider-area {
    min-height: 200px;
  }

  .gallery-thumbs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .thumb-more {
    display: none;
  }

  .gallery-hint {
    font-size: 11px;
    padding: 4px 12px;
  }

  .calc-form-part {
    padding: 16px;
    gap: 16px;
  }

  .calc-input-box {
    padding: 12px 16px;
  }

  .calc-value {
    font-size: 15px;
  }

  .calc-term {
    font-size: 13px;
  }

  .calc-result-big {
    font-size: 20px;
  }
}

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.element/.default/style.css?17864382624083*/
.ya-share2__container_size_m .ya-share2__item_more.ya-share2__item_has-pretty-view .ya-share2__link_more.ya-share2__link_more-button-type_short {
    width           : 40px;
    height          : 40px;
    background      : #F5F7FA;
    border          : none;
    border-radius   : 50%;
    display         : flex;
    align-items     : center;
    justify-content : center;
    cursor          : pointer;
    transition      : 0.2s;
    color           : #2E333D;
}

.ya-share2__item_more.ya-share2__item_has-pretty-view .ya-share2__icon_more {
    background-image : url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232E333D' stroke-width='1.5'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E");
}

.swiper img {
    object-fit     : contain;

    width          : 100%;
    height         : 100%;
    cursor         : pointer;
    mix-blend-mode : multiply;
}

.swiper-slide {
    display         : flex;
    position        : relative;
    align-items     : center;
    justify-content : center;
    height          : 322px;
    background      : #fff;
}

.swiper {
    height : 322px;
}

.gallery-slider-area {
    max-width : 485px;
}

.tabsContent {
    position : relative
}

.tabsContent .product-item-detail-tab-content {
    margin-top    : 20px;
    display       : none;
    background    : #FFFFFF;
    border-radius : 24px;
    padding       : 24px 24px 28px;
    box-shadow    : 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tabsContent .product-item-detail-tab-content.active {
    display : block
}

.tabsContent {
}

.gallery-hint {
    cursor         : pointer;
    pointer-events : all;
}

.product-item-detail-properties {
    margin     : 0;
    padding: 0 !important;
    list-style : none;
    display    : block;
}

.product-item-detail-properties-item {
    margin-bottom : 1px;
}

.product-item-detail-properties-name,
.product-item-detail-properties-value {
    font-style  : normal;
    font-weight : normal;
    font-size: 16px;
    line-height : 25px;
}

.product-item-detail-properties-name {
    color : rgba(0, 0, 0, 0.4);
}

.product-item-detail-properties-value {
    color : #000;
}

.product-item-detail-properties {
    columns : 1;
}

@media (max-width : 576px) {
    .product-item-detail-properties {
        columns : 1;
    }
}

.product-tag--stock[data-avalable="Под заказ"] {
    background : #EAECEF;
    color      : #5A6874;
}

.gallery-hint {
    transition : ease all .5s;
}

.gallery-hint.active {
    background : #5A6874;
    color      : #EAECEF;
}


.tabsContent {
    display: none;
}
.modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }
    .modal-overlay.active {
        display: flex;
    }
    .modal-content {
        background: #fff;
        border-radius: 0px;
        max-width: 800px;
        width: 90%;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
    }
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 0px solid #e5e5e5;
        flex-shrink: 0;
    }
    .modal-title {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
    }
    .modal-close {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #666;
        padding: 0 8px;
    }
    .modal-close:hover {
        color: #000;
    }
    .modal-body {
        padding: 24px;
        overflow-y: auto;
        flex: 1;    margin-top: -80px;
    }
    
    .tabsContent {
        display: none;
    }

/* End */


/* Start:/local/templates/main/components/bitrix/catalog.element/.default/themes/yellow/style.css?17864382621099*/
/* catalog.section */

/*
#f4b236
#f6c042
#f7c95e
#f9d857
*/

/* Slider */
.bx-yellow .product-item-image-slider-progress-bar { background-color: #f9a91d; }

.bx-yellow .product-item-image-slider-control:hover { background-color: rgba(249, 169, 29, .8); }

.bx-yellow .product-item-image-slider-control.active,
.bx-yellow .product-item-image-slider-control:hover { background-color: #f9a91d; }

.bx-yellow .product-item-selected-scu,
.bx-yellow .product-item-detail-slider-controls-image:hover,
.bx-yellow .product-item-detail-slider-controls-image.active { outline-color: #f4b236; }

/* SCU */
.bx-yellow .product-item-scu-item-text-block:hover,
.bx-yellow .product-item-scu-item-color-block:hover,
.bx-yellow .product-item-scu-item-text-container.selected .product-item-scu-item-text-block,
.bx-yellow .product-item-scu-item-color-container.selected .product-item-scu-item-color-block { outline-color: #f4b236; }

/* Amount */
.bx-yellow .product-item-amount-field:focus { border-color: #f4b236; }

/*Proress Bar*/
.bx-yellow .product-item-detail-slider-progress-bar { background-color: #f4b236; }
/* End */
/* /local/templates/main/components/bitrix/catalog/catalog/style.css?178643826256 */
/* /css/catalog.css?178643826234004 */
/* /css/catalog_detail.css?178670072022644 */
/* /local/templates/main/components/bitrix/catalog.element/.default/style.css?17864382624083 */
/* /local/templates/main/components/bitrix/catalog.element/.default/themes/yellow/style.css?17864382621099 */
