

/* Start:/local/templates/elhard/components/bitrix/catalog/catalog/style.css?17804774224488*/
/* Убираем черный бордер при клике на ссылки */
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.element/.default/style.css?178047759035567*/
/* ============================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ============================================ */

/* ----- ОСНОВНОЙ КОНТЕЙНЕР ----- */
.bx-catalog-element {
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    margin: 0 auto;
    padding: 24px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* ----- ЗАГОЛОВОК ТОВАРА ----- */
.bx-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

/* ============================================
   3 КОЛОНКИ FLEX (60% / 25% / 15%)
   ============================================ */

/* Родительский контейнер для трёх колонок */
.row-flex-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
}

/* Левая колонка (слайдер) – 60% */
.col-sm-12-1 {
    width: 55%;
    flex: 0 0 auto;
    box-sizing: border-box;
}

/* Средняя колонка (характеристики) – 25% */
.product-properties {
    width: 25%;
    flex: 0 0 auto;
    box-sizing: border-box;
}

/* Правая колонка (цена, кнопки, SKU) – 15% */
.col-sm-12-3 {
    width: 15%;
    flex: 0 0 auto;
    box-sizing: border-box;
}

.col-sm-12-3 .product-item-detail-info-section,
.col-sm-12-3 .product-item-detail-pay-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Адаптив: на планшетах и телефонах колонки идут друг под другом */
@media (max-width: 992px) {
    .row-flex-3 {
        flex-direction: column;
        gap: 24px;
    }
    .col-sm-12-1,
    .product-properties,
    .col-sm-12-3 {
        width: 100%;
    }
}

/* ============================================
   СЛАЙДЕР ИЗОБРАЖЕНИЙ
   ============================================ */

.product-item-detail-slider-container {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    overflow: visible;
}

.product-item-detail-slider-block {
    position: relative;
    flex: 1;
    background: #ffffff;
    width: 100%;
}

.product-item-detail-slider-block.product-item-detail-slider-block-square {
    padding-top: 100%;
}

.product-item-detail-slider-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-item-detail-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item-detail-slider-image.active {
    opacity: 1;
    z-index: 1;
}

.product-item-detail-slider-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Стрелки навигации */
.product-item-detail-slider-left,
.product-item-detail-slider-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-item-detail-slider-left:hover,
.product-item-detail-slider-right:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
}

.product-item-detail-slider-left:active,
.product-item-detail-slider-right:active {
    transform: translateY(-50%) scale(0.95);
}

.product-item-detail-slider-left::before,
.product-item-detail-slider-right::before {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid #1f2937;
    border-bottom: 2px solid #1f2937;
    display: block;
}

.product-item-detail-slider-left::before {
    transform: rotate(45deg);
    margin-left: 4px;
}

.product-item-detail-slider-right::before {
    transform: rotate(225deg);
    margin-right: 4px;
}

.product-item-detail-slider-left {
    left: 16px;
}

.product-item-detail-slider-right {
    right: 16px;
}

/* Прогресс-бар */
.product-item-detail-slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #4A6B5C;
    z-index: 20;
    transition: width 0.05s linear;
}

/* ============================================
ВЕРТИКАЛЬНЫЕ МИНИАТЮРЫ СО СТРЕЛКАМИ
   ============================================ */

.product-item-detail-slider-controls-block {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80px;
    flex-shrink: 0;
    overflow: hidden;           /* важно: скрываем переполнение, скролл не появляется */
    max-height: 280px;
}

.product-item-detail-slider-thumbs-wrapper {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-item-detail-slider-thumbs-wrapper::-webkit-scrollbar {
    display: none;
}

/* ============================================
   СТРЕЛКИ ДЛЯ ВЕРТИКАЛЬНЫХ МИНИАТЮР (повёрнутые)
   ============================================ */

.product-item-detail-thumb-arrow-up,
.product-item-detail-thumb-arrow-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 80px;
    background: #f5f5f7;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: center;   /* центрирование внутри flex-контейнера (колонка) */
    margin: 0 auto;       /* дополнительно для горизонтального центрирования */
}

.product-item-detail-thumb-arrow-up:hover,
.product-item-detail-thumb-arrow-down:hover {
    background: #e8e8ec;
}

.product-item-detail-thumb-arrow-up.disabled,
.product-item-detail-thumb-arrow-down.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Общий псевдоэлемент для обеих стрелок */
.product-item-detail-thumb-arrow-up::before,
.product-item-detail-thumb-arrow-down::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-left: 2px solid #4A6B5C;
    border-bottom: 2px solid #4A6B5C;
    transition: transform 0.2s ease;
}

/* Стрелка вверх (изначально смотрит влево, поворачиваем против часовой) */
.product-item-detail-thumb-arrow-up::before {
    transform: rotate(45deg);       /* стандартная стрелка вправо? нет, была 223deg, сейчас сделаем вверх */
    margin-left: 0;
}

/* Поворачиваем кнопку "наверх" так, чтобы она указывала вверх (против часовой на 90°) */
.product-item-detail-thumb-arrow-up {
    transform: rotate(90deg);      /* поворачиваем всю кнопку, а не только псевдоэлемент */
}

/* Стрелка вниз (поворачиваем по часовой) */
.product-item-detail-thumb-arrow-down::before {
    transform: rotate(45deg);       /* исходная стрелка вниз? */
    margin-right: 0;
}

.product-item-detail-thumb-arrow-down {
    transform: rotate(-90deg);       /* поворачиваем кнопку по часовой */
}

/* Чтобы при ховере кнопка не «дрожала» из-за поворота, добавим backface-visibility */
.product-item-detail-thumb-arrow-up,
.product-item-detail-thumb-arrow-down {
    backface-visibility: hidden;
}

.product-item-detail-slider-controls-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 2px solid transparent;
    background: #f9fafb;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-item-detail-slider-controls-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-item-detail-slider-controls-image:hover {
    transform: translateY(-2px);
    border-color: #4A6B5C;
}

.product-item-detail-slider-controls-image.active {
    border-color: #4A6B5C;
}

/* На мобильных горизонтальные миниатюры без стрелок */
@media (max-width: 768px) {
    .product-item-detail-slider-container {
        flex-direction: column;
    }
    .product-item-detail-slider-controls-block {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        order: 2;
    }
    .product-item-detail-slider-thumbs-wrapper {
        overflow-y: scroll;
        max-height: 396px;   /* 4,5 * 88px */
        scrollbar-width: none;      /* Firefox */
        -ms-overflow-style: none;   /* IE */
    }
    .product-item-detail-thumb-arrow-up,
    .product-item-detail-thumb-arrow-down {
        display: none;
    }
    .product-item-detail-slider-controls-image {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
}

/* ============================================
   ХАРАКТЕРИСТИКИ (ТАБЛИЦА)
   ============================================ */

.product-properties {
    border-top: 1px solid #eee;
    margin: 0;
    padding: 0;
}

.properties-table {
    width: 100%;
    border-collapse: collapse;
}

.properties-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.prop-name {
    width: 35%;
    padding: 8px 10px 8px 0;
    font-weight: 600;
    color: #333;
    vertical-align: top;
    word-break: break-word;      /* перенос длинных слов */
    overflow-wrap: break-word;   /* альтернативный вариант */
}

.prop-value {
    width: 65%;
    padding: 8px 0;
    color: #555;
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
    word-break: break-word;      /* перенос длинных слов */
    overflow-wrap: break-word;   /* альтернативный вариант */
}
/* ============================================
ПРАВАЯ КОЛОНКА (ИНФОРМАЦИЯ)
   ============================================ */

.product-item-detail-info-section,
.product-item-detail-pay-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* SKU секции */
.product-item-detail-info-container {
    margin-bottom: 0;
}

.product-item-detail-info-container-title {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

/* Сетка выбора SKU */
.product-item-scu-item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Цветовой вариант SKU */
.product-item-scu-item-color-container {
    cursor: pointer;
}

.product-item-scu-item-color-block {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-item-scu-item-color {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.product-item-scu-item-color-container:hover .product-item-scu-item-color-block {
    transform: scale(1.05);
    border-color: #4A6B5C;
}

.product-item-scu-item-color-container.selected .product-item-scu-item-color-block {
    border-color: #4A6B5C;
}

/* Текстовый вариант SKU */
.product-item-scu-item-text-container {
    cursor: pointer;
}

.product-item-scu-item-text-block {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    background: white;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.product-item-scu-item-text {
    color: #1f2937;
}

.product-item-scu-item-text-container:hover .product-item-scu-item-text-block {
    border-color: #4A6B5C;
    background: #f9fafb;
}

.product-item-scu-item-text-container.selected .product-item-scu-item-text-block {
    background: #4A6B5C;
    border-color: #4A6B5C;
    color: white;
}

.product-item-scu-item-text-container.selected .product-item-scu-item-text {
    color: white;
}

/* Свойства товара (в правой колонке) */
.product-item-detail-properties {
    margin: 0;
    padding: 0;
}

.product-item-detail-properties dt {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 4px;
}

.product-item-detail-properties dd {
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 12px;
}

/* ============================================
   БЛОК ЦЕНЫ
   ============================================ */

.product-item-detail-price-current {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    display: inline-block;
}

.product-item-detail-price-old {
    font-size: 14px;
    font-weight: 400;
    color: #6e6e73;
    text-decoration: line-through;
    margin-left: 10px;
    display: inline-block;
}

.product-item-detail-pay-block .product-item-detail-info-container:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================
   БЛОК КОЛИЧЕСТВА
   ============================================ */

.product-item-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
}

.product-item-quantity-btn {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    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: 0;
    margin: 0;
}

.product-item-quantity-btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.product-item-quantity-btn:hover {
    background: rgba(74, 107, 92, 0.1);
    color: #3A5A4B !important;
}

.product-item-quantity-btn:active {
    transform: scale(0.95);
}

.product-item-quantity-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-item-quantity-input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none;
}

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

.product-item-quantity-measure {
    font-size: 12px;
    color: #6e6e73;
}

.product-item-quantity-total {
    font-size: 14px;
    font-weight: 600;
    color: #4A6B5C;
    margin-top: 8px;
}

/* ============================================
   КНОПКИ ДЕЙСТВИЙ
   ============================================ */

.product-item-detail-info-container[data-entity="buttons-block"] {
    margin-top: 8px;
}

.product-item-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    padding: 10px 18px;
    background: linear-gradient(180deg, rgba(74, 107, 92, 0.05) 0%, #4A6B5C 100%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
    text-align: center;
    margin-bottom: 8px;
}

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

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

.product-item-buy-btn-primary {
    background: linear-gradient(180deg, rgba(33, 94, 79, 0.05) 0%, #215E4F 100%);
}

.product-item-buy-btn-primary:hover {
    background: linear-gradient(180deg, rgba(26, 75, 63, 0.05) 0%, #1A4B3F 100%);
}

/* ============================================
   СТАТУС НАЛИЧИЯ
   ============================================ */

.product-item-detail-info-container .in-stock {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(74, 107, 92, 0.15);
    color: #4A6B5C;
}

.product-item-detail-info-container .on-order {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(245, 166, 35, 0.15);
    color: #e67e22;
}

/* ============================================
   БЛОК ОПИСАНИЯ – ТОЛЬКО ДЛЯ ПРАВОЙ ПАНЕЛИ
   ============================================ */

/* Общие стили текста */
.detail-content-panel p,
.detail-content-panel ul,
.detail-content-panel ol {
    margin: 0 0 6px 0;   /* верх 0, низ 6px – очень компактно */
    font-size: 15px;
    line-height: 1.6;
    color: #2d2d2f;
}

/* Заголовки в правой панели */
.detail-content-panel h3,
.detail-content-panel h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.3px;
}

/* Последний элемент не должен иметь нижний отступ */
.detail-content-panel :last-child {
    margin-bottom: 0;
}

/* Дополнительно: убираем лишний верхний отступ у первого элемента */
.detail-content-panel :first-child {
    margin-top: 0;
}

.detail-content-panel h4:first-child {
    margin-top: 0;
}

/* Списки – компактные, с отступом слева */
.detail-content-panel ul,
.detail-content-panel ol {
    padding-left: 24px;
}

.detail-content-panel li {
    padding-left: 4px;            /* дополнительный внутренний отступ */
    position: relative;
}

/* Кастомные маркеры для ul (зелёные точки) ТОЛЬКО В ПРАВОЙ ПАНЕЛИ */
.detail-content-panel ul {
    list-style: none;
}
.detail-content-panel ul li::before {
    content: '•';
    color: #4A6B5C;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: -18px;
    top: -2px;
}

/* Для ol – цвет цифр */
.detail-content-panel ol li::marker {
    color: #4A6B5C;
    font-weight: 600;
}

/* Ссылки */
.detail-content-panel a {
    color: #4A6B5C;
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 107, 92, 0.3);
    transition: border-color 0.2s;
}
.detail-content-panel a:hover {
    border-bottom-color: #4A6B5C;
}

/* Таблицы */
.detail-content-panel table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}
.detail-content-panel th,
.detail-content-panel td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
}
.detail-content-panel th {
    background: #f9fafb;
    font-weight: 600;
    color: #1d1d1f;
}

.detail-content-panel > *:not(:last-child) {
    margin-bottom: 6px;   /* общий маленький отступ между любыми соседними блоками */
}
.detail-content-panel p {
    margin-bottom: 0;     /* уже управляется выше */
}

/* Сброс для левого меню – гарантия, что оно не пострадает */
.detail-nav-menu,
.detail-nav-menu ul,
.detail-nav-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.detail-nav-menu li::before {
    content: none !important;
}
.detail-nav-menu li {
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.detail-content-panel p {
    margin: 0 0 10px 0 !important;
}

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

.product-item-detail-short-card-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-item-detail-short-card-fixed.visible {
    transform: translateY(0);
}

.product-item-detail-short-card-content-container {
    max-width: 1280px;
    margin: 0 auto;
}

.product-item-detail-short-card-content-container table {
    width: 100%;
}

.product-item-detail-short-card-image img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.product-item-detail-short-title-text {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.product-item-detail-short-card-price {
    text-align: right;
}

.product-item-detail-short-card-btn {
    padding-left: 16px;
}

/* ============================================
КАСТОМНЫЙ ПОПАП (использует только CSS-классы)
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 2000;
}

.popup {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8f8fa);
    border-radius: 18px;
    max-width: 80vw;
    min-width: 40vw;
    width: auto;
    max-height: 80vw;
    min-height: 40vw;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
    transition: transform 0.6s ease;
}

.popup::after {
    content: '';
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 100px;
    height: 50px;
    background: url('/local/templates/elhard/img/Mainindex/Elhartlogo.svg') no-repeat center;
    background-size: contain;
    opacity: 0.7;
    pointer-events: none;
    z-index: 15;
    transition: opacity 0.2s ease;
}

.popup:hover::after {
    opacity: 1;
}

.popup img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 20px;
    padding: 40px 85px 40px 85px;
    animation: popupImageFadeIn 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.popup-close {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #4a6b5cae;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popup-close:hover {
    background: #4A6B5C;
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 4px 12px rgba(74, 107, 92, 0.4);
}

.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #4a6b5cae;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popup-nav:hover {
    background: #4A6B5C;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(74, 107, 92, 0.5);
}

.popup-prev {
    left: 24px;
}

.popup-next {
    right: 24px;
}

.popup-overlay.popup--opened {
    visibility: visible;
    opacity: 1;
}

/* Родительский контейнер – ряд */
.zoom-gallery {
    display: flex;
    flex-wrap: wrap;        /* перенос на следующую строку, если не влезают */
    justify-content: center; /* центрирование по горизонтали */
    gap: 20px;              /* расстояние между карточками */
    margin: 0;
    padding: 0;
}

/* Одна карточка (картинка + текст) */
.gallery-item {
    display: flex;
    flex-direction: column;  /* картинка над текстом */
    align-items: center;     /* центрирование по горизонтали */
    text-align: center;
    justify-content: flex-end; /* прижимает содержимое к низу */
}

.gallery-item a {
    display: block;
}

/* Ссылка – без рамок и подчёркиваний */
.gallery-item .js-popup-image {
    display: block;
    border: none;
    outline: none;
    text-decoration: none;
}

.gallery-item .js-popup-image:focus,
.gallery-item .js-popup-image:active {
    outline: none;
}

/* Картинка */
.gallery-item img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
}

/* Текст под картинкой */
.gallery-item span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #1d1d1f;        /* обычный цвет, не синий */
}

.zoom-gallery a,
.zoom-gallery a:visited,
.zoom-gallery a:focus,
.zoom-gallery a:active,
.zoom-gallery .js-popup-image:focus,
.zoom-gallery .js-popup-image:active,
.zoom-gallery .js-popup-image:focus-visible {
    border: none;
    outline: none;
    text-decoration: none;
}

@keyframes popupImageFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Адаптация попапа */
@media (max-width: 992px) {
    .popup {
        max-width: 85vw;
        border-radius: 20px;
    }
    .popup-nav {
        width: 46px;
        height: 46px;
        font-size: 28px;
    }
    .popup-prev {
        left: 16px;
    }
    .popup-next {
        right: 16px;
    }
}

@media (max-width: 768px) {
    .popup-overlay {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
    .popup {
        max-width: 94vw;
        border-radius: 18px;
    }
    .popup-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    .popup-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .popup-prev {
        left: 10px;
    }
    .popup-next {
        right: 10px;
    }
}

/* ============================================
УТИЛИТЫ
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   НАВИГАЦИЯ С ЯКОРЯМИ (30% / 70%)
   ============================================ */

.detail-nav-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0 20px;
}

/* Левая панель – 30% */
.detail-nav-panel {
    flex: 0 0 25%;
    max-width: 25%;
    position: sticky;
    top: 80px;           /* прилипает ниже хедера */
    align-self: flex-start;
}

/* Меню оглавления */
.detail-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Стили кнопок – в точности как .product-item-buy-btn */
.detail-nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 18px;
    background: linear-gradient(180deg, rgba(74, 107, 92, 0.05) 0%, #4A6B5C 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
    width: 100%;
    cursor: pointer;
}

/* Ховер – как у кнопки */
.detail-nav-link:hover {
    background: linear-gradient(180deg, rgba(58, 90, 75, 0.05) 0%, #3A5A4B 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* Активный пункт – более тёмный градиент или инверсия */
.detail-nav-link.active {
    background: linear-gradient(180deg, rgba(33, 94, 79, 0.05) 0%, #215E4F 100%);
    box-shadow: 0 4px 12px rgba(33, 94, 79, 0.3);
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
}

/* Правая панель – 70% */
.detail-content-panel {
    flex: 0 0 calc(75% - 30px);
    max-width: calc(75% - 30px);
}

/* ============================================
   ЗАМЕТНЫЕ ЗАГОЛОВКИ РАЗДЕЛОВ + РАССТОЯНИЯ
   ============================================ */

/* Стили заголовков разделов (h4) */
.detail-section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px 0;
    padding: 10px 0 10px 16px;
    border-bottom: 1px solid #4A6B5C;
    color: #1d1d1f;
    letter-spacing: -0.3px;
    scroll-margin-top: 80px;
    background: linear-gradient(90deg, rgba(74,107,92,0.15) 0%, rgba(255,255,255,0) 100%);
    transition: all 0.2s ease;
}

.detail-section-title h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    padding: 10px 0 10px 16px;
    border-bottom: 1px solid #4A6B5C;
    color: #1d1d1f;
    letter-spacing: -0.3px;
    scroll-margin-top: 80px;
}

/* Эффект при наведении на заголовок (дополнительная интерактивность) */
.detail-section-title:hover {
    border-left-color: #3A5A4B;
    background: linear-gradient(90deg, rgba(74,107,92,0.1) 0%, rgba(255,255,255,0) 100%);
}

/* Расстояние между разделами (для всех прямых потомков правой панели) */
.detail-content-panel > *:not(:last-child) {
    margin-bottom: 32px;            /* увеличиваем отступ между блоками */
    padding-left: 32px;           /* добавляем нижний отступ */
}

/* Для заголовка, идущего сразу после другого заголовка (редкий случай) */
.detail-section-title + .detail-section-title {
    margin-top: 16px;
}

/* Адаптив: на мобильных уменьшаем отступы и размер шрифта */
@media (max-width: 768px) {
    .detail-section-title {
        font-size: 20px;
        padding-left: 12px;
        margin: 24px 0 12px 0;
        scroll-margin-top: 60px;
    }
    .detail-content-panel > *:not(:last-child) {
        margin-bottom: 24px;
    }
}

/* ============================================
   КРАСИВАЯ ТАБЛИЦА В СТИЛЕ САЙТА
   ============================================ */

.custom-table {
    width: 100%;
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.custom-table thead tr {
    background: linear-gradient(135deg, #4A6B5C 0%, #3A5A4B 100%);
}

.custom-table th {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    padding: 14px 16px;
    text-align: left;
    background: linear-gradient(135deg, #4A6B5C 0%, #3A5A4B 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    text-align: center;
}

.custom-table td {
    font-size: 14px;
    color: #1d1d1f;
    padding: 12px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.custom-table tbody tr:last-child td {
    border-bottom: none;
}

/* Чередование строк (зебра) – лёгкий оттенок */
.custom-table tbody tr:nth-child(even) td {
    background-color: #f9fafb;
}

/* Эффект при наведении на строку */
.custom-table tbody tr:hover td {
    background-color: #e0ebe4;
    transition: background 0.2s ease;
}

/* Стили для объединённых ячеек (rowspan / colspan) */
.custom-table td[rowspan],
.custom-table td[colspan] {
    background-color: #ffffff;
}

/* Адаптив: на мобильных таблица может скроллиться */
@media (max-width: 768px) {
    .custom-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .custom-table th,
    .custom-table td {
        white-space: normal;
        min-width: 120px;
    }
}

/* 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 */


/* Start:/bitrix/components/bitrix/catalog.store.amount/templates/.default/style.css?17804774152802*/
div.catalog-detail { position: static; border: 1px solid; zoom:1;}
div.catalog-detail-hover div.catalog-admin-links  { display: block; }
div.catalog-detail-hover { position: relative;}

div.catalog-detail-line
{
    font-size:1px;
    height:1px;
    line-height:1px;
    margin:12px 0;
    overflow:hidden;
    padding:0;
    background: url(/bitrix/components/bitrix/catalog.store.amount/templates/.default/images/title-line.gif) no-repeat;
}
div.catalog-detail-properties { clear: both; padding: 1em 0 0;  overflow: hidden; width: 80%; }
div.catalog-detail-property { margin: 0 0 1em; border-bottom:1px dotted; float: left; width: 100%;}
div.catalog-detail-property b { float: right; position: relative; padding-left: 3px;  font-weight:normal; }
div.catalog-detail-property grey { color:grey;  font-weight:lighter; }
div.catalog-detail-property span { float: left; position: relative; padding-right: 3px; zoom: 1;}
div.catalog-detail-properties-title { font-size: 1em; font-weight: bold; margin: 2em 0 1em; }


.bx_storege {}
.bx_storege h4{
    margin-bottom: 0;
}
.bx_storege hr{
    background: #e5e5e5;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U1ZTVlNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2U1ZTVlNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left, #e5e5e5 0%, #e5e5e5 50%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e5e5e5), color-stop(50%,#e5e5e5), color-stop(100%,#ffffff));
    background: -webkit-linear-gradient(left, #e5e5e5 0%,#e5e5e5 50%,#ffffff 100%);
    background: -o-linear-gradient(left, #e5e5e5 0%,#e5e5e5 50%,#ffffff 100%);
    background: -ms-linear-gradient(left, #e5e5e5 0%,#e5e5e5 50%,#ffffff 100%);
    background: linear-gradient(to right, #e5e5e5 0%,#e5e5e5 50%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ffffff',GradientType=1 );
    border: none;
    height: 1px;
}
.bx_storege ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.bx_storege ul li{
    padding: 5px 0 20px;
    font-size: 12px;
    line-height: 17px;
}
.bx_storege ul li a{
    text-decoration: none;
    color: #2a65ae;
}
.bx_storege ul li a:hover{
    text-decoration: underline;
}
/* End */
/* /local/templates/elhard/components/bitrix/catalog/catalog/style.css?17804774224488 */
/* /local/templates/elhard/components/bitrix/catalog.element/.default/style.css?178047759035567 */
/* /bitrix/components/bitrix/catalog.store.amount/templates/.default/style.css?17804774152802 */
