

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

/* End */


/* Start:/css/catalog.css?179493579134567*/
 .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;
}

/* Текст активного тумблера — синий и жирный, выключенного — серый.
   input стоит после .toggle-label, поэтому соседний селектор ~ не срабатывает;
   используем :has() (Chrome 105+, Safari 15.4+, Firefox 121+). */
.toggle-switch:has(input:checked) .toggle-label {
  font-weight: 600;
  color: #2f7bf6;
}

.toggle-switch:not(:has(input:checked)) .toggle-label {
  color: #5a6874;
}

/* Слайдер справа */
.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 {
  background: #2f7bf6;
  border-color: #2f7bf6;
  box-shadow: 0 0 0 3px rgba(47, 123, 246, .16);
}

.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 {
  background: #2f7bf6;
  border-color: #2f7bf6;
}

/* Фокус для доступности */
.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?179493520141703*/
.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;
}

/* ===== ROMBIK: копирование ссылки на карточку товара ===== */
.rombic-share-btn {
    padding     : 0;
    color       : #2E333D;
    will-change : background-color;
}

.rombic-share-btn:hover {
    background : #EAECEF;
}

.rombic-share-btn:active {
    transform : scale(.96);
}

.rombic-share-btn:focus-visible {
    outline        : 2px solid #EE7203;
    outline-offset : 2px;
}

.rombic-share-btn--copied {
    background : #E6F4EA !important;
    color      : #17803D !important;
}

.rombic-share-toast {
    position       : fixed;
    left           : 50%;
    bottom         : 32px;
    z-index        : 10000;
    max-width      : calc(100% - 32px);
    padding        : 12px 20px;
    border-radius  : 12px;
    background     : #2E333D;
    color          : #FFFFFF;
    font-size      : 14px;
    line-height    : 20px;
    text-align     : center;
    box-shadow     : 0 8px 24px rgba(0, 0, 0, .18);
    opacity        : 0;
    visibility     : hidden;
    pointer-events : none;
    transform      : translate(-50%, 12px);
    transition     : opacity .2s ease, transform .2s ease, visibility .2s;
}

.rombic-share-toast--visible {
    opacity    : 1;
    visibility : visible;
    transform  : translate(-50%, 0);
}

.rombic-share-toast--error {
    background : #B42318;
}

/* ===== ROMBIK: товар недоступен в текущем регионе ===== */
.rombic-region-stub {
    display : block;
    padding : 24px 0 48px;
}

.rombic-region-stub__card {
    max-width      : 720px;
    margin         : 0 auto;
    padding        : 32px;
    background     : #FFFFFF;
    border-radius  : 24px;
    box-shadow     : 0 4px 12px rgba(0, 0, 0, .04);
    text-align     : center;
}

.rombic-region-stub__badge {
    display       : inline-block;
    margin-bottom : 16px;
    padding       : 6px 14px;
    border-radius : 100px;
    background    : #FEF3F2;
    color         : #B42318;
    font-size     : 13px;
    font-weight   : 600;
}

.rombic-region-stub__text {
    margin      : 12px 0 24px;
    font-size   : 16px;
    line-height : 26px;
    color       : #5A6874;
}

.rombic-region-stub__actions {
    display         : flex;
    justify-content : center;
    gap             : 12px;
}

@media (max-width : 576px) {
    .rombic-region-stub__card {
        padding : 24px;
    }
}

@media (prefers-reduced-motion : reduce) {
    .rombic-share-btn,
    .rombic-share-toast {
        transition : 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;
    }

/* ==========================================================================
   ROMBIK: визуал карточки товара
   (плашки-чипы, галерея 2×2, цвета, характеристики, описание)
   ========================================================================== */

/* --- Плашки под заголовком: аккуратные чипы «иконка + текст» --- */
.product-meta {
    gap : 8px;
}

.product-chip {
    display       : inline-flex;
    align-items   : center;
    gap           : 6px;
    padding       : 6px 12px 6px 10px;
    border-radius : 999px;
    background    : rgba(26, 43, 76, .05);
    color         : #3C4753;
    font-size     : 13px;
    line-height   : 18px;
    font-weight   : 500;
    white-space   : nowrap;
    cursor        : default;
    user-select   : none;
}

.product-chip__icon {
    width  : 16px;
    height : 16px;
    flex   : 0 0 16px;
    color  : #6B7987;
}

.product-chip--city {
    background : rgba(26, 43, 76, .05);
    color      : #2E333D;
}

.product-chip--stock {
    background : rgba(39, 174, 96, .12);
    color      : #1E7F47;
}

.product-chip--stock .product-chip__icon {
    color : #27AE60;
}

.product-chip--stock[data-avalable="Под заказ"] {
    background : rgba(90, 104, 116, .12);
    color      : #5A6874;
}

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

.product-chip--drive {
    background : rgba(30, 99, 200, .10);
    color      : #1E63C8;
}

.product-chip--drive .product-chip__icon {
    color : #1E63C8;
}

/* --- Галерея: стабильный каркас (не зависит от количества фото) --- */
.product-gallery-block {
    align-items : stretch;
}

/* Слайдер растягивается по высоте правой колонки, но не ниже базовых 322px */
.gallery-slider-area {
    display    : flex;
    flex       : 0 0 60%;
    min-height : 322px;
}

.gallery-slider-area > .swiper {
    flex       : 1 1 auto;
    width      : 100%;
    height     : auto;
    min-height : 0;
}

.product-gallery-block .swiper-wrapper,
.product-gallery-block .swiper-slide {
    height : 100%;
}

.product-gallery-block .gallery-side-col {
    display        : flex;
    flex           : 1 1 auto;
    flex-direction : column;
    gap            : 14px;
    min-width      : 0;
}

/* Сетка миниатюр всегда на месте: 2×2, высота = ширине (квадраты при любой ширине) */
.product-gallery-block .gallery-side-col > .gallery-thumbs-grid {
    display               : grid;
    flex                  : 0 0 auto;
    grid-template-columns : repeat(2, minmax(0, 1fr));
    grid-template-rows    : repeat(2, minmax(0, 1fr));
    grid-auto-rows        : minmax(0, 1fr);
    gap                   : 10px;
    min-height            : 0;
    aspect-ratio          : 1 / 1;
}

/* Нет фото: заглушка внутри того же блока слайдера (не на всю ширину карточки) */
.product-gallery-block--empty .gallery-nav {
    display : none;
}

/* Слайд без фото — прозрачный, чтобы была видна серая подложка блока слайдера */
.product-gallery-block--empty .slider-item {
    background : transparent;
}

.product-gallery-block--empty .gallery-main-slider img {
    position       : relative;
    inset          : auto;
    width          : 240px;
    height         : 240px;
    max-width      : 60%;
    max-height     : 75%;
    object-fit     : contain;
    mix-blend-mode : normal;
}

/* Миниатюра заполняет свою ячейку сетки — размеры задаёт сама сетка */
.product-gallery-block .thumb-item {
    height     : 100%;
    min-height : 0;
}

/* Одно фото: боковой колонки с миниатюрами нет, поэтому слайдер занимает
   всю ширину блока. Фото вписываем целиком (contain), чтобы кадр не обрезался. */
.product-gallery-block--single .gallery-main-slider img {
    object-fit : contain;
}

@media (min-width : 992px) {
    .product-gallery-block--single .gallery-slider-area {
        flex      : 1 1 100%;
        max-width : none;
    }

    /* Листать нечего — стрелки у единственного фото не нужны */
    .product-gallery-block--single .gallery-nav {
        display : none;
    }
}

.thumb-item--more {
    position : relative;
}

.thumb-item__more {
    position        : absolute;
    inset           : 0;
    display         : flex;
    align-items     : center;
    justify-content : center;
    border-radius   : inherit;
    background      : rgba(26, 43, 76, .55);
    color           : #FFFFFF;
    font-size       : 14px;
    font-weight     : 600;
}

/* Счётчик фото в слайдере — нужен только на мобильных (там стрелки скрыты) */
.gallery-counter {
    position       : absolute;
    right          : 10px;
    bottom         : 10px;
    z-index        : 3;
    display        : none;
    align-items    : center;
    height         : 24px;
    padding        : 0 10px;
    border-radius  : 999px;
    background     : rgba(26, 43, 76, .55);
    color          : #FFFFFF;
    font-size      : 12px;
    font-weight    : 600;
    line-height    : 1;
    pointer-events : none;
}

/* --- Цвета под сеткой миниатюр --- */
.product-colors {
    display        : flex;
    flex-direction : column;
    gap            : 8px;
}

/* Одно фото: цвета стоят отдельной строкой строго под фото */
.product-colors--under-gallery {
    margin-top : 14px;
}

/* Под фото места больше, чем в узкой боковой колонке:
   название цвета не обязано обрезаться после двух строк по 62px */
.product-colors--under-gallery .product-color {
    width     : auto;
    max-width : 160px;
}

.product-colors__title {
    font-size   : 13px;
    line-height : 18px;
    color       : #5A6874;
}

.product-colors__list {
    display     : flex;
    flex-wrap   : wrap;
    align-items : flex-start;
    gap         : 12px;
    margin      : 0;
    padding     : 0;
    list-style  : none;
}

.product-color {
    display        : flex;
    flex-direction : column;
    align-items    : center;
    gap            : 6px;
    width          : 62px;
    margin         : 0;
    cursor         : default;
}

.product-color__swatch {
    width         : 32px;
    height        : 32px;
    border-radius : 50%;
    background    : var(--swatch, #C7CCD4);
    box-shadow    : inset 0 0 0 1px rgba(26, 43, 76, .16), 0 1px 2px rgba(26, 43, 76, .08);
}

.product-color__label {
    display            : -webkit-box;
    -webkit-line-clamp : 2;
    -webkit-box-orient : vertical;
    overflow           : hidden;
    font-size          : 11px;
    line-height        : 14px;
    color              : #5A6874;
    text-align         : center;
    overflow-wrap      : anywhere;
}


/* --- Иконки характеристик --- */
.product-specs-block {
    padding : 18px 20px;
}

.product-specs {
    display               : grid;
    grid-template-columns : repeat(4, minmax(0, 1fr));
    gap                   : 10px 16px;
    margin                : 0;
    padding               : 0;
    list-style            : none;
}

.product-spec {
    display     : flex;
    align-items : center;
    gap         : 10px;
    min-width   : 0;
}

.product-spec__icon {
    display         : flex;
    align-items     : center;
    justify-content : center;
    flex            : 0 0 38px;
    width           : 38px;
    height          : 38px;
    border-radius   : 12px;
    background      : rgba(26, 43, 76, .05);
    color           : #1A2B4C;
}

.product-spec__icon svg {
    display : block;
    width   : 21px;
    height  : 21px;
}

.product-spec__body {
    display        : flex;
    flex-direction : column;
    min-width      : 0;
}

.product-spec__label {
    font-size   : 12px;
    line-height : 16px;
    color       : #7A8794;
}

.product-spec__value {
    font-size   : 15px;
    line-height : 20px;
    font-weight : 600;
    color       : #1A2B4C;
}

/* --- Описание товара (статичный блок) --- */
.product-description-block {
    margin-top : 20px;
}

.product-description-block__title {
    margin      : 0 0 12px;
    font-size   : 24px;
    line-height : 30px;
    font-weight : 700;
    color       : #1A2B4C;
}

.product-description-block__text {
    font-size   : 16px;
    line-height : 26px;
    color       : #2E333D;
}

.product-description-block__text > :first-child {
    margin-top : 0;
}

.product-description-block__text > :last-child {
    margin-bottom : 0;
}

/* --- Адаптив --- */
@media (max-width : 1100px) {
    .product-specs {
        grid-template-columns : repeat(2, minmax(0, 1fr));
    }

    .product-gallery-block .gallery-side-col {
        width : 100%;
    }
}

/* Планшет / мобильный: каркас перестраивается в колонку, но остаётся постоянным */
@media (max-width : 991px) {
    .product-gallery-block {
        flex-direction : column;
    }

    .gallery-slider-area {
        flex       : 0 0 auto;
        width      : 100%;
        max-width  : 100%;
        height     : 280px;
        min-height : 280px;
    }

    .product-gallery-block .gallery-side-col {
        width  : 100%;
        height : auto;
    }

    /* Миниатюры: одна горизонтальная лента вместо сетки 2×2 */
    .product-gallery-block .gallery-side-col > .gallery-thumbs-grid {
        display         : flex;
        flex            : 0 0 auto;
        flex-wrap       : nowrap;
        justify-content : flex-start;
        gap             : 8px;
        height          : 88px;
        min-height      : 0;
        aspect-ratio    : auto;
        overflow        : hidden;
    }

    .product-gallery-block .gallery-side-col > .gallery-thumbs-grid > .thumb-item {
        flex          : 0 1 88px;
        width         : 88px;
        height        : 88px;
        min-height    : 0;
        border-radius : 12px;
    }

    .product-gallery-block .gallery-side-col > .gallery-thumbs-grid > .thumb-item img {
        width      : 100%;
        height     : 100%;
        object-fit : cover;
    }

    /* Нет фото — строку под миниатюры не резервируем */
    .product-gallery-block--empty .gallery-side-col > .gallery-thumbs-grid {
        display : none;
    }
}

/* Мобильный (≤768px): крупное фото + компактная лента миниатюр + счётчик */
@media (max-width : 768px) {
    /* Стрелки убираем: листаем свайпом, тап по фото открывает полноэкранную галерею */
    .product-gallery-block .gallery-nav {
        display : none;
    }

    .gallery-counter {
        display : inline-flex;
    }

    .product-gallery-block {
        gap : 12px;
    }

    .product-gallery-block .gallery-side-col {
        gap : 12px;
    }

    .product-gallery-block .gallery-side-col > .gallery-thumbs-grid {
        gap    : 8px;
        height : 72px;
    }

    .product-gallery-block .gallery-side-col > .gallery-thumbs-grid > .thumb-item {
        flex   : 0 1 72px;
        width  : 72px;
        height : 72px;
    }

    .thumb-item__more {
        font-size : 12px;
    }
}

@media (max-width : 576px) {
    .product-chip {
        gap         : 5px;
        padding     : 4px 10px 4px 8px;
        font-size   : 11px;
        line-height : 15px;
    }

    .product-chip__icon {
        width  : 14px;
        height : 14px;
        flex   : 0 0 14px;
    }

    .product-gallery-block .gallery-side-col > .gallery-thumbs-grid {
        gap : 8px;
    }

    .product-color {
        width : 56px;
    }

    .product-color__swatch {
        width  : 28px;
        height : 28px;
    }

    .product-colors__list {
        gap : 10px;
    }

    .product-specs {
        grid-template-columns : minmax(0, 1fr);
    }

    .product-specs-block {
        padding : 16px;
    }

    .product-description-block__title {
        font-size   : 20px;
        line-height : 26px;
    }
}

/* Мобильная полноэкранная галерея (Fancybox): одно фото, свайп, крестик.
   Класс .rombic-gallery-mobile добавляется только при открытии с телефона,
   поэтому десктопный вид с миниатюрами сбоку не меняется. */
@media (max-width : 768px) {
    .fancybox-container.rombic-gallery-mobile {
        background : #000;
    }

    .fancybox-container.rombic-gallery-mobile .fancybox-bg {
        background : #000;
        opacity    : 1;
    }

    /* Никаких боковых панелей с миниатюрами, счётчиков и стрелок */
    .fancybox-container.rombic-gallery-mobile .fancybox-thumbs,
    .fancybox-container.rombic-gallery-mobile .fancybox-infobar,
    .fancybox-container.rombic-gallery-mobile .fancybox-navigation,
    .fancybox-container.rombic-gallery-mobile .fancybox-caption {
        display : none !important;
    }

    /* Фото занимает весь экран */
    .fancybox-container.rombic-gallery-mobile .fancybox-slide--image {
        padding : 0;
    }

    .fancybox-container.rombic-gallery-mobile .fancybox-toolbar {
        top   : env(safe-area-inset-top, 0);
        right : env(safe-area-inset-right, 0);
    }

    /* Крупный крестик в углу, как в приложениях */
    .fancybox-container.rombic-gallery-mobile .fancybox-toolbar .fancybox-button {
        width         : 46px;
        height        : 46px;
        margin        : 10px;
        padding       : 11px;
        border-radius : 50%;
        background    : rgba(0, 0, 0, .55);
        color         : #fff;
    }

    .fancybox-container.rombic-gallery-mobile .fancybox-toolbar .fancybox-button svg {
        width  : 100%;
        height : 100%;
    }
}


/* ==========================================================================
   ROMBIK: Этап 2 — цена/платёж, калькулятор в правой колонке, характеристики
   ========================================================================== */

/* --- Цена: актуальная крупно, старая — справа сверху, мелкая и серая --- */
.product-price-card .product-prices-block {
    margin-bottom : 0;
}

/* ROMBIK: блоки левой колонки всегда прижаты к верху —
   при одном фото не появляется пустота между заголовком и галереей */
.product-layout .product-left-col {
    justify-content : flex-start;
}

/* ROMBIK: колонки выровнены по высоте — карточка с галереей добирает
   свободную высоту, поэтому низ левой и правой колонки совпадает. */
@media (min-width : 1101px) {
    .product-layout .product-gallery-wrapper {
        display        : flex;
        flex           : 1 1 auto;
        flex-direction : column;
    }

    .product-layout .product-gallery-wrapper .product-gallery-block {
        flex : 1 1 auto;
    }

    /* Если правая колонка окажется короче левой, карточка цены добирает
       высоту, а кнопки остаются прижатыми к низу карточки. */
    .product-layout .product-right-col .product-price-card {
        flex : 1 1 auto;
    }

    .product-layout .product-right-col .product-price-card .product-actions-block {
        margin-top : auto;
    }
}

.product-price-card .price-current-wrap {
    align-items : baseline;
    flex-wrap   : wrap;
    gap         : 6px 12px;
}

.product-price-card .price-old {
    font-size       : 20px;
    font-weight     : 600;
    line-height     : 1.2;
    color           : #A0AAB6;
    text-decoration : line-through;
    white-space     : nowrap;
}

.product-monthly-payment {
    margin-top  : 6px;
    min-height  : 26px;
    font-size   : 18px;
    line-height : 26px;
    font-weight : 700;
    color       : #1A2B4C;
}

/* --- Калькулятор внутри правой карточки --- */
.product-credit-block {
    margin-top  : 18px;
    padding-top : 18px;
    border-top  : 1px solid #EAECEF;
}

.product-credit-block .credit-calc-card {
    margin         : 0;
    background     : transparent;
    border-radius  : 0;
    box-shadow     : none;
    overflow       : visible;
}

.product-credit-block .calc-layout {
    display : block;
}

.product-credit-block .calc-form-part {
    flex   : 1 1 100%;
    width  : 100%;
    padding : 0;
    gap    : 16px;
}

.product-credit-block .calc-image-part {
    display : none;
}

.product-credit-block .calc-tabs-wrap,
.product-credit-block .calc-tabs {
    width : 100%;
}

.product-credit-block .calc-tabs {
    display       : flex;
    border-radius : 999px;
}

.product-credit-block .calc-tab {
    flex        : 1 1 0;
    width       : auto;
    padding     : 9px 4px;
    font-size   : 12px;
    line-height : 16px;
    white-space : nowrap;
}

.product-credit-block .calc-field-group {
    gap : 8px;
}

.product-credit-block .calc-label {
    font-size   : 14px;
    line-height : 20px;
}

.product-credit-block .calc-input-box {
    gap         : 8px;
    padding     : 11px 14px;
    border-radius : 10px;
}

.product-credit-block .calc-value,
.product-credit-block .calc-value2 {
    flex        : 1 1 auto;
    width       : 100%;
    min-width   : 0;
    padding     : 0;
    border      : 0;
    background  : transparent;
    font-size   : 15px;
    font-weight : 700;
    line-height : 22px;
    color       : #2E333D;
    outline     : none;
}

.product-credit-block .calc-term {
    flex        : 0 0 auto;
    gap         : 4px;
    font-size   : 12px;
    line-height : 16px;
    white-space : nowrap;
}

.product-credit-block .calc-term span {
    font-size : 12px;
}

.product-credit-block .calc-term-icon {
    width  : 18px;
    height : 18px;
}

.product-credit-block .calc-results-row {
    gap        : 16px;
    margin-top : 0;
}

.product-credit-block .calc-result-label {
    font-size   : 13px;
    line-height : 18px;
}

.product-credit-block .calc-result-big {
    font-size   : 20px;
    line-height : 26px;
}

.product-credit-block .credit_summ_field {
    width       : 100%;
    padding     : 0;
    border      : 0;
    background  : transparent;
    font-size   : 20px;
    font-weight : 700;
    line-height : 26px;
    color       : #2E333D;
    outline     : none;
}

.product-credit-block .calc-slider-track-wrap {
    margin-top : 0;
}

/* --- Две кнопки внизу карточки ---
   Разделитель над кнопками (border-top) убран: после переноса калькулятора
   в правую колонку ползунок «Срок кредита» стал последним полем блока,
   и эта линия читалась как «серая полоска под ползунком». Отступ сверху
   сохранён (18 + 18), чтобы кнопки не прилипали к шкале месяцев. */
.product-price-card .product-actions-block {
    flex-direction  : row;
    gap             : 10px;
    margin-top      : 18px;
    padding-top     : 18px;
    border-top      : 0;
}

.product-price-card .product-actions-block .btn-action {
    flex      : 1 1 0;
    min-width : 0;
    padding   : 13px 8px;
    font-size : 13px;
    line-height : 18px;
}

/* --- Контакты: «Есть вопросы?» — заметные кнопки чата и телефона --- */
.product-contacts-block .contacts-links .contact-link {
    display         : inline-flex;
    align-items     : center;
    justify-content : center;
    padding         : 13px 10px;
    border          : 1.5px solid transparent;
    border-radius   : 12px;
    font-family     : inherit;
    font-size       : 14px;
    font-weight     : 600;
    line-height     : 20px;
    box-shadow      : 0 4px 12px rgba(26, 43, 76, .08);
    transition      : background-color .2s, color .2s, border-color .2s, transform .2s, filter .2s;
}

.product-contacts-block .contacts-links .contact-link--chat {
    background   : #EAF1FF;
    border-color : transparent;
    color        : #1E63C8;
}

.product-contacts-block .contacts-links .contact-link--chat:hover {
    background   : #DCE8FF;
    border-color : transparent;
    color        : #174FA3;
}

/* ROMBIK: без рамки. Прозрачный border + градиент от padding-box давали
   тонкую красную полоску по краю: в border-зоне повторялся нижний цвет
   градиента #FF5900. Убираем border и растягиваем градиент на весь бокс. */
.product-contacts-block .contacts-links .contact-link--phone {
    background        : linear-gradient(to bottom, #FFBB00, #FF5900);
    background-origin : border-box;
    border            : 0;
    color             : #FFFFFF;
    box-shadow        : 0 4px 12px rgba(26, 43, 76, .08);
}

.product-contacts-block .contacts-links .contact-link--phone:hover {
    background : linear-gradient(to bottom, #FFC21A, #FF6A00);
    color      : #FFFFFF;
    transform  : translateY(-1px);
}

.product-contacts-block .contacts-links .contact-link:focus-visible {
    outline        : 2px solid #1A2B4C;
    outline-offset : 2px;
}

/* Ноутбуки 1101–1300px: правая колонка уже, поэтому кнопки контактов
   делаем компактнее, чтобы телефон помещался в одну строку */
@media (min-width : 1101px) and (max-width : 1300px) {
    .product-contacts-block .contacts-links .contact-link {
        padding   : 12px 6px;
        font-size : 12px;
    }
}

/* --- Иконки характеристик внутри блока с фото --- */
.product-gallery-wrapper .product-specs-block--in-gallery {
    margin-top  : 18px;
    padding     : 0;
    border-top  : 0;
}

.product-gallery-wrapper .product-specs-block--in-gallery .product-specs {
    grid-template-columns : repeat(4, minmax(0, 1fr));
    margin-top            : 0;
    padding-top           : 0;
    border-top            : 0;
}

.product-gallery-wrapper .gallery-hint {
    margin-top : 14px;
    /* Обёртка на десктопе — flex-колонка: без align-self кнопка
       растягивается на всю ширину карточки */
    align-self : flex-start;
}

/* --- Адаптив --- */
@media (max-width : 1100px) {
    /* ROMBIK: на планшете и телефоне правая колонка не должна быть шире
       экрана — иначе на узких устройствах появляется горизонтальная прокрутка */
    .product-layout .product-right-col {
        min-width : 0;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-specs {
        grid-template-columns : repeat(2, minmax(0, 1fr));
    }
}

@media (max-width : 576px) {
    .product-credit-block .calc-tab {
        font-size : 11px;
        padding   : 8px 2px;
    }

    .product-credit-block .calc-input-box {
        padding : 10px 12px;
    }

    .product-credit-block .calc-term {
        font-size : 11px;
    }

    .product-price-card .product-actions-block {
        flex-direction : column;
    }

    /* Характеристики: на телефоне 4 иконки в один горизонтальный ряд.
       Компактный вид: иконка сверху, подпись и значение под ней. */
    .product-gallery-wrapper .product-specs-block--in-gallery {
        margin-top : 14px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-specs {
        grid-template-columns : repeat(4, minmax(0, 1fr));
        gap                   : 10px 6px;
        /* Шаблон сайта задаёт ul padding-left: 20px — убираем отступ,
           чтобы характеристики встали ровно по краю галереи */
        padding-left          : 0;
        padding-right         : 0;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec {
        flex-direction : column;
        align-items    : flex-start;
        gap            : 6px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__icon {
        flex          : 0 0 30px;
        width         : 30px;
        height        : 30px;
        border-radius : 9px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__icon svg {
        width  : 17px;
        height : 17px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__body {
        display         : flex;
        flex            : 1 1 auto;
        flex-direction  : column;
        /* Значение прижимаем к низу ячейки — тогда во всех 4 колонках
           цифры стоят на одной линии, даже если подпись заняла две строки */
        justify-content : flex-end;
        width           : 100%;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__label {
        font-size   : 9px;
        line-height : 12px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__value {
        max-width     : 100%;
        font-size     : 12px;
        line-height   : 16px;
        font-weight   : 700;
        white-space   : nowrap;
        overflow      : hidden;
        text-overflow : ellipsis;
    }

    /* Контакты: телефон помещается в кнопку в одну строку */
    .product-contacts-block .contacts-links {
        gap : 8px;
    }

    .product-contacts-block .contacts-links .contact-link {
        min-width   : 0;
        padding     : 11px 6px;
        font-size   : 12px;
        line-height : 18px;
        white-space : nowrap;
    }
}

/* Телефоны (до 430px): характеристики в сетку 2×2.
   В 4 колонки при ширине 320–430px ячейка получается 56–83px: подписи ломаются
   посередине слова, а значения («Воздушная», «Жидкостное») обрезаются
   многоточием. Поэтому до 430px — 2 колонки, иконка слева от текста,
   от 431px — 4 колонки в ряд. */
@media (max-width : 430px) {
    .product-gallery-wrapper .product-specs-block--in-gallery .product-specs {
        grid-template-columns : repeat(2, minmax(0, 1fr));
        gap                   : 10px 12px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec {
        flex-direction : row;
        align-items    : center;
        gap            : 8px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__icon {
        flex   : 0 0 26px;
        width  : 26px;
        height : 26px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__icon svg {
        width  : 15px;
        height : 15px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__body {
        justify-content : center;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__label {
        font-size   : 9px;
        line-height : 12px;
    }

    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__value {
        font-size   : 12px;
        line-height : 16px;
    }
}

/* 320–359px: в сетке 2×2 колонка ~114px, и самое длинное значение
   («Жидкостное») в 12px не помещается — уменьшаем значения на 1px */
@media (max-width : 359px) {
    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__value {
        font-size   : 11px;
        line-height : 15px;
    }
}

/* 431–440px: уже 4 колонки в ряд, но ячейка всего 83–86px —
   уменьшаем значения на 1px, чтобы «Жидкостное» (85px в 12px)
   не уходило в многоточие на границе переключения на 4 колонки */
@media (min-width : 431px) and (max-width : 440px) {
    .product-gallery-wrapper .product-specs-block--in-gallery .product-spec__value {
        font-size   : 11px;
        line-height : 15px;
    }
}

/* Очень узкие экраны: контакты — в столбик, кнопки на всю ширину */
@media (max-width : 389px) {
    .product-contacts-block .contacts-links {
        flex-wrap : wrap;
    }

    .product-contacts-block .contacts-links .contact-link {
        flex      : 1 1 100%;
        font-size : 13px;
        padding   : 11px 8px;
    }
}

/* ==========================================================================
   ROMBIK: мобильная версия окна «Все характеристики» (карточка товара)
   На экранах ≤768px окно раскрывается «простынёй» на весь экран: шапка
   с заголовком и кнопкой закрытия, ниже — прокручиваемый список, где
   название характеристики идёт строкой сверху, а значение — под ним.
   Десктопная версия (боковая панель) не меняется.
   ========================================================================== */

/* Заголовок окна нужен только мобильной «простыне» — на десктопе скрыт,
   чтобы не менять привычный вид окна. */
#infoModal .modal-title {
    display : none;
}

@media (max-width : 768px) {
    /* Окно поверх мобильного меню (.mobile-nav-wrapper, z-index 9999)
       и тоста «ссылка скопирована» (z-index 10000) */
    #infoModal.modal-overlay {
        height          : 100%;
        z-index         : 100000;
        justify-content : center;
        align-items     : stretch;
        padding         : 0;
    }

    @supports (height : 100dvh) {
        #infoModal.modal-overlay {
            height : 100dvh;
        }
    }

    #infoModal .modal-content {
        position       : relative;
        display        : flex;
        flex-direction : column;
        width          : 100%;
        max-width      : 100%;
        height         : 100%;
        max-height     : 100%;
        min-height     : 0;
        padding        : 0;
        border-radius  : 0;
        box-shadow     : none;
        overflow       : hidden;
    }

    #infoModal .modal-header {
        display         : flex;
        align-items     : center;
        justify-content : space-between;
        gap             : 12px;
        flex-shrink     : 0;
        padding         : 12px 14px;
        padding-top     : calc(12px + env(safe-area-inset-top, 0px));
        border-bottom   : 1px solid #EAECEF;
        background      : #fff;
    }

    #infoModal .modal-title {
        display       : block;
        min-width     : 0;
        margin        : 0;
        font-size     : 17px;
        line-height   : 1.25;
        font-weight   : 700;
        color         : #1A2B4C;
        white-space   : nowrap;
        overflow      : hidden;
        text-overflow : ellipsis;
    }

    #infoModal .modal-close {
        position      : static;
        flex-shrink   : 0;
        width         : 36px;
        height        : 36px;
        padding       : 0;
        font-size     : 22px;
        line-height   : 1;
        border        : none;
        border-radius : 8px;
        background    : #F5F7FA;
        color         : #5A6874;
        cursor        : pointer;
    }

    #infoModal .modal-body {
        flex                       : 1 1 auto;
        min-height                 : 0;
        margin-top                 : 0; /* снимаем десктопный margin-top: -80px */
        padding                    : 2px 16px calc(20px + env(safe-area-inset-bottom, 0px));
        overflow-x                 : hidden;
        overflow-y                 : auto;
        -webkit-overflow-scrolling : touch;
        overscroll-behavior        : contain;
    }

    /* В шапке уже есть заголовок — дубль <h2> из #har_tab скрываем */
    #infoModal .modal-body > h2 {
        display : none;
    }

    /* Строка характеристики: название сверху, значение снизу */
    #infoModal .product-item-detail-properties-item {
        display       : block;
        margin        : 0;
        padding       : 10px 0;
        border-bottom : 1px solid #F0F2F5;
    }

    #infoModal .product-item-detail-properties-item:last-child {
        border-bottom : 0;
    }

    #infoModal .product-item-detail-properties-name {
        display       : block;
        margin-bottom : 2px;
        font-size     : 12px;
        line-height   : 1.3;
        color         : #8A9AA8;
    }

    #infoModal .product-item-detail-properties-dots {
        display : none;
    }

    #infoModal .product-item-detail-properties-value {
        display       : block;
        font-size     : 15px;
        line-height   : 1.4;
        color         : #1A233A;
        overflow-wrap : anywhere;
        word-break    : break-word;
    }

    /* Ничего не должно вылезать за пределы листа по горизонтали */
    #infoModal .modal-body img,
    #infoModal .modal-body table {
        max-width : 100%;
    }

    #infoModal .modal-body table {
        display    : block;
        overflow-x : auto;
    }
}

/* Пока открыто окно характеристик — прячем плавающий виджет чата,
   иначе он перекрывает текст (у виджета z-index 9999999) */
body.info-modal-open #mgo-mcw-widget {
    display : none !important;
}


/* 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?179493579134567 */
/* /css/catalog_detail.css?178670072022644 */
/* /local/templates/main/components/bitrix/catalog.element/.default/style.css?179493520141703 */
/* /local/templates/main/components/bitrix/catalog.element/.default/themes/yellow/style.css?17864382621099 */
