

/* Start:/local/templates/elhard/components/bitrix/catalog/catalog/style.css?17823886684488*/
/* Убираем черный бордер при клике на ссылки */
a:focus,
a:focus-visible,
a:active,
.smart-filter-property-select select:focus,
.smart-filter-input-checkbox:focus,
.smart-filter-param-label:focus,
.smart-filter-param-label:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Для всех интерактивных элементов */
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
.smart-filter-submit-btn:focus,
.smart-filter-submit-btn:focus-visible,
.smart-filter-reset-btn:focus,
.smart-filter-reset-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Оставляем фокус только для клавиатуры (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #4A6B5C !important;
    outline-offset: 2px !important;
}

/* Заголовок страницы каталога */
.catalog-page__title {
    font-size: 20px; /* Размер шрифта */
    font-weight: 500; /* Полужирное начертание */
    color: #1d1d1f; /* Темно-серый цвет (как у Apple) */
    letter-spacing: -0.3px; /* Небольшое уменьшение межбуквенного интервала для эстетики */
    margin: 15px 0 15px 0; /* Внешние отступы: снизу 30px, остальные 0 */
    text-align: center;
    padding: 0; /* Убираем внутренние отступы */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; /* Системные шрифты */
    line-height: 1.2; /* Межстрочный интервал */
    color: #4A6B5C;
}


/* ===== КАТАЛОГ (фильтры + таблица) ===== */

/* Основной контейнер страницы каталога */
.catalog-page {
    display: flex; /* Гибкая раскладка (фильтры слева, товары справа) */
    gap: 5px; /* Расстояние между левой панелью и правой частью */
    max-width: 100%; /* Максимальная ширина контента */
}

/* Левая боковая панель (область фильтров) */
.catalog-page__sidebar {
    width: 350px; /* Фиксированная ширина панели фильтров */
    flex-shrink: 0; /* Запрещаем сжатие панели при нехватке места */
    margin-right: 10px; /* Отступ справа */
}

/* Правая основная область (контент каталога) */
.catalog-page__content {
	max-width: 100%;
    flex: 1; /* Растягиваем на всю оставшуюся ширину */
    min-width: 0; /* Разрешаем сжатие при необходимости (для корректной работы flex) */
}

/* Левая панель фильтров — общий блок */
.catalog-filters {
		width: 350px;
    background: rgba(255, 255, 255, 0.75); /* Полупрозрачный белый фон (75% непрозрачности) */
    -webkit-backdrop-filter: blur(10px); /* То же самое для браузеров на Webkit (Chrome, Safari) */
    backdrop-filter: blur(10px); /* Размытие фона под элементом (эффект стекла) */
    border-radius: 10px; /* Скругление углов */
    padding: 5px; /* Внутренние отступы со всех сторон */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Легкая тень для глубины */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Полупрозрачная белая рамка */
}

/* Правая часть — таблица с товарами */
.catalog-products {
    background: rgba(255, 255, 255, 0.75); /* Полупрозрачный белый фон */
    -webkit-backdrop-filter: blur(10px); /* Размытие для Webkit браузеров */
    backdrop-filter: blur(10px); /* Размытие фона под элементом */
    border-radius: 10px; /* Скругление углов */
    padding: 15px; /* Внутренние отступы */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Легкая тень */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Полупрозрачная рамка */
}


/* End */


/* Start:/local/templates/elhard/components/bitrix/catalog.smart.filter/smart.filter/style.css?178238866816442*/
/* ----- ОСНОВНОЙ КОНТЕЙНЕР ФИЛЬТРА ----- */
.bx-filter {
    padding: 24px;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .bx-filter {
        padding: 16px;
    }
}

/* ----- СЕКЦИЯ ФИЛЬТРА ----- */
.bx-filter-section {
    width: 100%;
}

/* ----- БЛОК С ГРУППОЙ ПАРАМЕТРОВ ----- */
.bx-filter-parameters-box {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
}

.bx-filter-parameters-box:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ----- ЗАГОЛОВОК ГРУППЫ (со стрелкой) ----- */
.bx-filter-parameters-box-title {
    font-weight: 600;
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #1d1d1f;
    cursor: pointer;
    transition: color 0.2s ease;
    letter-spacing: -0.2px;
    position: relative;
    padding-right: 32px;
    -webkit-user-select: none;
    user-select: none;
}

/* Стрелка через псевдоэлемент */
.bx-filter-parameters-box-title::after {
    content: '▼';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #6e6e73;
    transition: transform 0.2s ease, color 0.2s;
    pointer-events: none;
}

/* При раскрытом блоке — стрелка вверх */
.bx-filter-parameters-box.bx-active .bx-filter-parameters-box-title::after {
    content: '▲';
    transform: translateY(-50%);
}

/* Наведение на заголовок */
.bx-filter-parameters-box-title:hover {
    color: #4A6B5C;
    background-color: rgba(74, 107, 92, 0.05);
    border-radius: 8px;
}

.bx-filter-parameters-box-title:hover::after {
    color: #4A6B5C;
}

/* Подсказка "развернуть/свернуть" при наведении */
.bx-filter-parameters-box-title:hover::before {
    content: 'развернуть';
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: normal;
    color: #4A6B5C;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.bx-filter-parameters-box.bx-active .bx-filter-parameters-box-title:hover::before {
    content: 'свернуть';
}

/* ----- СОДЕРЖИМОЕ (раскрывающаяся панель) ----- */
.bx-filter-block {
    display: none;
    padding-top: 8px;
}

.bx-filter-parameters-box.bx-active .bx-filter-block {
    display: block;
}

/* ----- КОНТЕЙНЕР ПАРАМЕТРОВ ----- */
.bx-filter-parameters-box-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* ----- ПОЛЯ ВВОДА ЧИСЕЛ (ОТ/ДО) ----- */
.bx-filter-parameters-box-container-block {
    flex: 1;
    min-width: 100px;
}

.bx-ft-sub {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
    margin-bottom: 4px;
}

.bx-filter-input-container {
    width: 100%;
}

.min-price,
.max-price {
    width: 100%;
    text-align: center;
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1d1d1f;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.min-price:focus,
.max-price:focus {
    outline: none;
    border-color: #4A6B5C;
    box-shadow: 0 0 0 2px rgba(74, 107, 92, 0.1);
}

.min-price:hover,
.max-price:hover {
    border-color: #b0b0b8;
}

/* ----- СЛАЙДЕР ----- */
.bx-ui-slider-track-container {
    margin-top: 20px;
    padding: 0 10px;
}

.bx-ui-slider-track {
    position: relative;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e5;
    margin: 0 8px;
}

.bx-ui-slider-part {
    position: absolute;
    top: -6px;
    width: 1px;
    height: 17px;
    background: #a2bfc7;
}

.bx-ui-slider-part span {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 50px;
    margin-left: -25px;
    color: #6e6e73;
    text-align: center;
    font-size: 11px;
}

.bx-ui-slider-part.p1 { left: 0; }
.bx-ui-slider-part.p2 { left: 25%; }
.bx-ui-slider-part.p3 { left: 50%; }
.bx-ui-slider-part.p4 { left: 75%; }
.bx-ui-slider-part.p5 { left: 100%; }

.bx-ui-slider-pricebar-vd,
.bx-ui-slider-pricebar-vn,
.bx-ui-slider-pricebar-v {
    position: absolute;
    top: 0;
    bottom: 0;
}

.bx-ui-slider-pricebar-v {
    background: #4A6B5C;
    border-radius: 2px;
}

.bx-ui-slider-range {
    position: relative;
    z-index: 50;
}

.bx-ui-slider-handle {
    position: absolute;
    top: 100%;
    margin-top: -9px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #4A6B5C;
    border-radius: 50%;
    z-index: 100;
    cursor: grab;
    transition: transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bx-ui-slider-handle:hover {
    transform: scale(1.15);
    cursor: grab;
}

.bx-ui-slider-handle:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.bx-ui-slider-handle.left {
    left: 0;
    margin-left: -6px;
}

.bx-ui-slider-handle.right {
    right: 0;
    margin-right: -6px;
}

/* ===== РАДИОКНОПКИ В СТИЛЕ КНОПОК САЙТА (активные подсвечиваются) ===== */
/* Блок с радио-кнопками */
.bx-filter-parameters-box-container .radio {
    display: inline-block;
    margin: 0 8px 8px 0;
}

/* Скрываем стандартный input */
.bx-filter-parameters-box-container .radio input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Метка — кнопка (обычное состояние) */
.bx-filter-parameters-box-container .radio label {
    display: inline-block;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    font-family: inherit;
    text-align: center;
    white-space: nowrap;
}

/* Ховер — подъём и тень */
.bx-filter-parameters-box-container .radio label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #4A6B5C;
    background: rgba(74, 107, 92, 0.05);
}

/* Активная радиокнопка (checked) — яркий градиент, тень, подсветка */
.bx-filter-parameters-box-container .radio input[type="radio"]:checked + label,
.bx-filter-parameters-box-container .radio input:checked + label {
    background: linear-gradient(180deg, #4A6B5C 0%, #3A5A4B 100%) !important;
    border-color: #4A6B5C !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(74, 107, 92, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px);
}

/* Ховер для активной кнопки — усиление */
.bx-filter-parameters-box-container .radio input[type="radio"]:checked + label:hover,
.bx-filter-parameters-box-container .radio input:checked + label:hover {
    background: linear-gradient(180deg, #3A5A4B 0%, #2C4539 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(58, 90, 75, 0.3) !important;
}

/* Дополнительно: если JS вешает класс active на label */
.bx-filter-parameters-box-container .radio label.active {
    background: linear-gradient(180deg, #4A6B5C 0%, #3A5A4B 100%) !important;
    border-color: #4A6B5C !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(74, 107, 92, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Отключаем стандартные псевдоэлементы чекбоксов/радио */
.bx-filter-parameters-box-container .radio .bx-filter-input-checkbox input + span::before {
    display: none;
}

/* Адаптация для маленьких экранов */
@media (max-width: 768px) {
    .bx-filter-parameters-box-container .radio label {
        padding: 8px 16px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .bx-filter-parameters-box-container .radio label {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ===== ЧЕКБОКСЫ (стандартные, как в старом фильтре) ===== */
.checkbox {
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.bx-filter-param-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #1d1d1f;
    transition: color 0.2s ease;
}

.bx-filter-param-label:hover {
    color: #4A6B5C;
}

.bx-filter-input-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bx-filter-input-checkbox input {
    display: none;
    position: absolute;
    left: -9999px;
}

/* Кастомный чекбокс */
.bx-filter-input-checkbox input + span::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1.5px solid #d2d2d7;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s ease;
    margin-right: 8px;
    vertical-align: middle;
}

.bx-filter-input-checkbox input:checked + span::before {
    background: #4A6B5C;
    border-color: #4A6B5C;
    box-shadow: inset 0 0 0 4px #fff;
}

/* ===== ВЫПАДАЮЩИЙ СПИСОК (ШИРИНА 80% ОТ .bx-filter) ===== */
.bx-filter-select-container {
    position: relative;
    width: 100%;
}

.bx-filter-select-block {
    width: 100%;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    padding: 10px 30px 10px 14px;
    box-sizing: border-box;
    cursor: pointer;
}

.bx-filter-select-text {
    font-size: 14px;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bx-filter-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6e6e73;
}

/* Выпадающее окно — 80% от ширины .bx-filter */
.bx-filter-select-popup {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 80%;
    min-width: 200px;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px 0;
    display: none;
}

.bx-filter-select-block.active .bx-filter-select-popup {
    display: block;
}

.bx-filter-select-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bx-filter-select-popup li {
    padding: 0;
}
.bx-filter-select-popup .bx-filter-param-label {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #1d1d1f;
    transition: background 0.2s;
    cursor: pointer;
}
.bx-filter-select-popup .bx-filter-param-label:hover {
    background: rgba(74, 107, 92, 0.08);
}
.bx-filter-select-popup .bx-filter-param-label.selected {
    background: rgba(74, 107, 92, 0.15);
    color: #4A6B5C;
    font-weight: 500;
}

/* Скроллбар */
.bx-filter-select-popup::-webkit-scrollbar {
    width: 6px;
}
.bx-filter-select-popup::-webkit-scrollbar-track {
    background: #f0f0f2;
    border-radius: 10px;
}
.bx-filter-select-popup::-webkit-scrollbar-thumb {
    background: #c0c0c5;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .bx-filter-select-popup {
        width: 90%;
        max-width: none;
    }
}
@media (max-width: 480px) {
    .bx-filter-select-popup {
        width: 95%;
    }
}

/* ===== ВАРИАНТЫ С КАРТИНКАМИ (цвета) ===== */
.bx-filter-param-btn-inline,
.bx-filter-param-btn-block {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.bx-filter-param-label.bx-color-sl {
    display: inline-block;
    cursor: pointer;
}
.bx-filter-param-btn {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #d2d2d7;
    background: #fff;
    overflow: hidden;
    transition: all 0.2s ease;
}
.bx-filter-btn-color-icon {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.bx-filter-param-label.bx-active .bx-filter-param-btn {
    border-color: #4A6B5C;
    box-shadow: 0 0 0 2px rgba(74, 107, 92, 0.3);
}
.bx-filter-param-label:hover .bx-filter-param-btn {
    transform: scale(1.05);
    border-color: #4A6B5C;
}
.bx-filter-param-text {
    font-size: 13px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ===== КНОПКИ ФИЛЬТРА (ПОКАЗАТЬ/СБРОС) ===== */
.bx-filter-button-box {
    margin-top: 20px;
}
.bx-filter-popup-result {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    font-size: 13px;
    color: #1d1d1f;
}
.bx-filter-popup-result a {
    color: #4A6B5C;
    text-decoration: underline;
    font-weight: 500;
}
.bx-filter-popup-result a:hover {
    color: #3A5A4B;
    text-decoration: none;
}
/* Кнопки, если появятся */
.bx-filter-button-box input[type="submit"],
.bx-filter-button-box input[type="reset"] {
    background: linear-gradient(180deg, rgba(74, 107, 92, 0.05) 0%, #4A6B5C 100%);
    border: none;
    border-radius: 10px;
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    font-family: inherit;
}
.bx-filter-button-box input[type="submit"]:hover,
.bx-filter-button-box input[type="reset"]:hover {
    background: linear-gradient(180deg, rgba(58, 90, 75, 0.05) 0%, #3A5A4B 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.bx-filter-button-box input[type="submit"]:active,
.bx-filter-button-box input[type="reset"]:active {
    transform: translateY(0);
    transition: 0.05s;
}
.bx-filter-button-box .btn-reset {
    background: none;
    color: #e31c23;
    border: 1px solid #d2d2d7;
}
.bx-filter-button-box .btn-reset:hover {
    background: rgba(227, 28, 35, 0.05);
    border-color: #e31c23;
    color: #e31c23;
    transform: none;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    .bx-filter {
        padding: 16px;
    }
    .bx-filter-parameters-box-container-block {
        flex: 100%;
    }
    .bx-ui-slider-track-container {
        padding: 0;
    }
    .bx-filter-popup-result {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .bx-filter {
        padding: 12px;
    }
    .min-price, .max-price {
        height: 38px;
        font-size: 13px;
    }
    .bx-filter-parameters-box-title {
        font-size: 14px;
    }
}

/* Убираем outline при фокусе */
.bx-filter input:focus,
.bx-filter button:focus,
.bx-filter a:focus,
.bx-filter .bx-filter-select-block:focus {
    outline: none !important;
}

/* Скрываем целиком блок недоступного значения свойства */
.bx-filter .bx-filter-item-disabled {
    display: none;
}

/* Дополнительные стили, чтобы скрыть сам чекбокс и его метку, если что-то пойдёт не так */
.bx-filter .checkbox.bx-filter-item-disabled,
.bx-filter .bx-filter-param-label.disabled {
    display: none;
}

/* Стили для сообщения о найденных товарах */
.bx-filter-popup-result {
    font-size: 13px;
    font-weight: bold;
    position: fixed;
    z-index: 915;
    background: #fff;
}
/* End */


/* Start:/local/templates/elhard/components/bitrix/catalog.item/line/style.css?178238866812112*/
/* ===== КАРТОЧКА ТОВАРА (ГОРИЗОНТАЛЬНАЯ) ===== */

/* ---------- Основной контейнер карточки ---------- */
.product-card {
    display: flex;
    flex-direction: row;
    gap: 5px;
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 10px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    position: relative;
}

/* Эффект при наведении на карточку */
.product-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(74, 107, 92, 0.3);
}

/* ---------- Блок изображения ---------- */
.product-card__image {
    flex-shrink: 0;
    width: 100px;
    padding: 5px;
}

.product-card__image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f5f5f7;
}

/* Ссылка-обёртка для изображения */
.product-card__image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* ---------- Слайдер ---------- */
.product-card__slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-card__slider-container--active {
    display: block;
}

.product-card__slider-container--hidden {
    display: none;
}

/* Отдельный слайд */
.product-card__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card__slide--active {
    opacity: 1;
}

/* Основное изображение */
.product-card__main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
}

.product-card__main-image--hidden {
    display: none;
}

/* Изображение при наведении (hover) */
.product-card__hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card__hover-image--hidden {
    display: none;
}

/* Показываем второе изображение при наведении */
.product-card__image-wrapper:hover .product-card__hover-image {
    opacity: 1;
}

.product-card__image-wrapper:hover .product-card__main-image {
    opacity: 0;
}

/* ---------- Блок информации (название, описание) ---------- */
.product-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    width: 50%;
    padding: 5px 20px 5px 5px;
}

/* Название товара */
.product-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.product-card__name-link {
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card__name-link:hover {
    color: #4A6B5C;
    text-decoration: underline;
}

/* Описание товара (анонс + свойства) */
.product-card__description {
    font-size: 13px;
    line-height: 1.5;
    color: #6e6e73;
    margin: 0;
}

/* ---------- Блок цены (центрированный) ---------- */
.product-card__price-wrapper {
    flex-shrink: 0;
    width: 10%;
    display: flex;
    align-items: center;      /* Вертикальное центрирование */
    justify-content: center;  /* Горизонтальное центрирование */
    padding: 5px;
}

.product-card__price-container {
    width: 100%;
}

.product-card__price-block {
    margin: 0;
    text-align: center;
}

.product-card__price-value {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    display: inline-block;
}

/* ---------- Блок покупки ---------- */
.product-card__purchase {
    flex-shrink: 0;
    width: 20%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ---------- Выбор количества ---------- */
.product-card__quantity-block {
    width: 100%;
}

.product-card__quantity-control {
    display: flex;
    justify-content: center;
}

.product-card__quantity-field-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    padding: 4px;
}

/* Кнопки - и + */
.product-card__quantity-btn-minus,
.product-card__quantity-btn-plus {
    width: 32px;
    min-width: 32px;              /* Фиксированная минимальная ширина */
    max-width: 32px;              /* Фиксированная максимальная ширина */
    height: 32px;
    min-height: 32px;             /* Фиксированная минимальная высота */
    max-height: 32px;             /* Фиксированная максимальная высота */
    display: inline-flex;         /* inline-flex вместо flex для лучшей совместимости */
    align-items: center;          /* Вертикальное центрирование */
    justify-content: center;      /* Горизонтальное центрирование */
    vertical-align: middle;       /* Вертикальное выравнивание в строке */
    line-height: 1;               /* Сброс line-height для точного центрирования */
    text-align: center;           /* Центрирование текста (резерв) */
    background: transparent;
    border: 1px solid #d2d2d7;
    font-size: 20px;
    font-weight: 700;
    color: #4A6B5C !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    box-sizing: border-box;       /* Учёт padding и border в размерах */
    padding: 0;                   /* Обнуление внутренних отступов */
    margin: 0;                    /* Обнуление внешних отступов */
}

/* Убираем стандартные стили кнопок в разных браузерах */
.product-card__quantity-btn-minus::-moz-focus-inner,
.product-card__quantity-btn-plus::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Эффект при наведении */
.product-card__quantity-btn-minus:hover,
.product-card__quantity-btn-plus:hover {
    background: rgba(74, 107, 92, 0.1);
    color: #3A5A4B !important;
}

/* Эффект при нажатии */
.product-card__quantity-btn-minus:active,
.product-card__quantity-btn-plus:active {
    transform: scale(0.95);
}

/* Обёртка для поля количества и единицы измерения */
.product-card__quantity-value-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Поле ввода количества */
.product-card__quantity-input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    -moz-appearance: textfield;
    appearance: textfield;
}

.product-card__quantity-input::-webkit-outer-spin-button,
.product-card__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Единица измерения */
.product-card__quantity-measure {
    font-size: 12px;
    color: #6e6e73;
}

/* Общая стоимость */
.product-card__quantity-total {
    font-size: 14px;
    font-weight: 600;
    color: #4A6B5C;
    text-align: center;
}

/* ---------- Кнопка "В корзину" ---------- */
.product-card__buttons {
    width: 160px;
}

.product-card__button-container {
    width: 100%;
}

.product-card__buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(74, 107, 92, 0.05) 0%, #4A6B5C 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-card__buy-btn:hover {
    background: linear-gradient(180deg, rgba(58, 90, 75, 0.05) 0%, #3A5A4B 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card__buy-btn:active {
    transform: translateY(0);
}

.product-card__buy-btn--disabled {
    background: #e0e0e5;
    color: #a5a5a5;
    cursor: not-allowed;
}

.product-card__buy-btn--disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ---------- Статус наличия ---------- */
.product-card__status-container {
    flex-shrink: 0;
    width: 10%;
    display: flex;
    align-items: center;      /* Вертикальное центрирование */
    justify-content: center;  /* Горизонтальное центрирование */
    padding: 5px;
}

.product-card__status-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    width: fit-content;
    text-align: center;
    font-weight: 600;
}

/* Статус "В наличии" — зелёный */
.in-stock {
    background: rgba(74, 107, 92, 0.15);
    color: #4A6B5C;
}

/* Статус "Под заказ" — оранжевый */
.on-order {
    background: rgba(245, 166, 35, 0.15);
    color: #e67e22;
}

/* ---------- Анимация появления карточки ---------- */
@keyframes productCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: productCardFadeIn 0.4s ease-out;
}

/* CSS для .popap_basket_added — адаптация под стиль сайта */
.popap_basket_added {
    position: fixed;
    background-color: #ffffff;
    border-radius: 16px;          /* скругление, как у карточек и кнопок */
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 16px;                    /* отступ между картинкой и текстом */
    padding: 16px 20px;
    opacity: 0.98;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    width: auto;                 /* чуть шире для комфорта */
    right: -360px;                /* чтобы скрыть за правым краем */
    top: 65px;
    transform: translateX(0);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border: 1px solid #4A6B5C; /* зелёная полоса, как в других блоках */
}

.popap_basket_added img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    object-position: center;
    margin-right: 0;
    border-radius: 12px;
    background: #f9fafb;          /* светлый фон под изображение */
    padding: 4px;
}

.popap_basket_added_inner {
    color: #1d1d1f;               /* основной цвет текста, не тёмно-зелёный */
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.popap_basket_added_inner span {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;               /* muted text */
}

.popap_basket_added_inner strong {
    display: block;
    font-weight: 600;
    color: #4A6B5C;               /* зелёный для названия товара */
    margin-bottom: 4px;
    font-size: 15px;
}
/* End */
/* /local/templates/elhard/components/bitrix/catalog/catalog/style.css?17823886684488 */
/* /local/templates/elhard/components/bitrix/catalog.smart.filter/smart.filter/style.css?178238866816442 */
/* /local/templates/elhard/components/bitrix/catalog.item/line/style.css?178238866812112 */
