

/* Start:/bitrix/templates/grandi_marchi/components/bitrix/catalog.element/gm_v2/style.css?178038534842870*/
/* ============================================
   Страница товара - стиль VIPAVENUE
   ============================================ */

.product-page {
    padding: 20px 0 60px;
    background: #fff;
}

/* Хлебные крошки */
.product-breadcrumb {
    margin-bottom: 20px;
}

.product-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.product-breadcrumb__link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.product-breadcrumb__link:hover {
    color: #000;
}

.product-breadcrumb__separator {
    color: #999;
}

/* Основной контейнер */
.product-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.product-main > .product-details-below-slider {
    grid-column: 1;
}

/* ============================================
   Галерея - стиль с миниатюрами под изображением
   ============================================ */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.product-item-detail-slider-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Контейнер миниатюр - горизонтальный ряд под изображением */
.product-gallery__thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
    justify-content: flex-start;
}

/* Контейнер миниатюр для каждого оффера */
.product-gallery__thumbs-offer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

/* Переопределяем стандартные стили Bitrix для контроллов слайдера */
.product-item-detail-slider-controls-block {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    text-align: left !important;
}

.product-item-detail-slider-controls-image {
    width: 70px !important;
    height: 90px !important;
    display: block !important;
    margin: 0 !important;
    outline: none !important;
    border: 2px solid transparent !important;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
    flex-shrink: 0;
    background: #f8f8f8;
    position: relative;
}

.product-item-detail-slider-controls-image.active {
    border-color: #000 !important;
}

.product-item-detail-slider-controls-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: static !important;
    transform: none !important;
}

.product-gallery__thumbs::-webkit-scrollbar {
    height: 3px;
}

.product-gallery__thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.product-gallery__thumbs::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

.product-gallery__thumbs::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

/* Миниатюра */
.product-gallery__thumb {
    width: 70px;
    height: 90px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
    flex-shrink: 0;
    background: #f8f8f8;
    position: relative;
}

.product-gallery__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
}

.product-gallery__thumb:hover::after {
    border-color: rgba(0,0,0,0.3);
}

.product-gallery__thumb.active::after {
    border-color: #000;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-gallery__thumb:hover img {
    transform: scale(1.03);
}

/* Контейнер основного изображения */
.product-gallery__main {
    flex: 1;
    position: relative;
    max-width: 100%;
    background: #fafafa;
    overflow: hidden;
}

/* Переопределяем стандартные стили Bitrix slider-container */

.product-item-detail-slider-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Полностью отключаем popup и magnifier режимы */
.product-item-detail-slider-container.popup {
    position: static !important;
    background: none !important;
}

.product-item-detail-slider-close {
    display: none !important;
}

/* Отключаем курсор увеличения */
.product-item-detail-slider-images-container {
    cursor: default !important;
}

.product-item-detail-slider-image img {
    cursor: default !important;
}

.product-item-detail-slider-block {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item-detail-slider-images-container {
    width: 100%;
    position: relative;
}

/* Слайд - объединённые стили для исходных и создаваемых Bitrix элементов */
.product-gallery__slide,
.product-item-detail-slider-image {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-gallery__slide.active,
.product-item-detail-slider-image.active {
    display: block;
    opacity: 1;
}

.product-gallery__slide img,
.product-item-detail-slider-image img {
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Навигационные стрелки */
.product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-gallery__main:hover .product-gallery__nav {
    opacity: 1;
}

.product-gallery__nav:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.product-gallery__nav svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.product-gallery__nav:hover svg {
    transform: scale(1.1);
}

.product-gallery__nav--prev {
    left: 16px;
}

.product-gallery__nav--prev:hover svg {
    transform: translateX(-2px);
}

.product-gallery__nav--next {
    right: 16px;
}

.product-gallery__nav--next:hover svg {
    transform: translateX(2px);
}

/* Бейджи на изображении */
.product-gallery__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.product-gallery__badge {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-gallery__badge--sale {
    background: #c62828;
    color: #fff;
}

.product-gallery__badge--new {
    background: #2e7d32;
    color: #fff;
}

/* Индикаторы (точки) для мобильной версии */
.product-gallery__dots {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
}

.product-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-gallery__dot.active,
.product-gallery__dot:hover {
    background: #000;
}

/* Zoom курсор */
.product-gallery__main.zoom-enabled {
    cursor: zoom-in;
}

.product-gallery__main.zoomed {
    cursor: zoom-out;
}

/* ============================================
   Информация о товаре
   ============================================ */

.product-info {
    padding-top: 0;
}

/* Бейджи */
.product-info__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge--special {
    background: #f5f5f5;
    color: #333;
}

.product-badge--discount {
    background: #d32f2f;
    color: #fff;
}

/* Название */
.product-info__title {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 16px;
    color: #000;
}

.product-info__title--has-brand {
    margin-bottom: 0;
}

.product-info__brand {
    display: block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 16px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Цены */
.product-info__prices {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-info__price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-info__price-current {
    font-size: 22px;
    font-weight: 500;
    color: #000;
}

.product-info__price-current--sale {
    color: #d32f2f;
}

/* Yandex Pay */
.product-info__yandex-pay {
    margin-bottom: 12px;
}

.yandex-pay-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    text-transform: lowercase;
    border-radius: 4px;
}

/* Бонусы */
.product-info__bonus {
    margin-bottom: 16px;
}

.product-info__bonus-text {
    font-size: 13px;
    color: #4caf50;
}

/* Промо */
.product-info__promo {
    margin-bottom: 20px;
    padding: 12px;
    background: #f9f9f9;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
}

.product-info__promo a {
    color: #000;
    text-decoration: underline;
}

.product-info__promo-link {
    margin-left: 5px;
}

/* ============================================
   Цвета
   ============================================ */

.product-info__colors {
    margin-bottom: 20px;
}

.product-info__colors-header,
.product-item-detail-info-container.product-info__colors .product-item-detail-info-container-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-info__colors-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info__colors-label span {
    font-weight: 400;
    text-transform: none;
}

.product-info__colors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-info__color {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-info__color:hover:not(.disabled):not(.notallowed),
.product-info__color.active,
.product-info__color.selected {
    border-color: #000;
}

.product-info__color.disabled,
.product-info__color.notallowed {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-info__color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.product-info__color-text {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333;
}

/* ============================================
   Размеры
   ============================================ */

.product-info__sizes {
    margin-bottom: 20px;
}

.product-info__sizes-header,
.product-item-detail-info-container.product-info__sizes .product-item-detail-info-container-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-info__sizes-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info__sizes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-info__size {
    min-width: 60px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.product-info__size:hover:not(.disabled):not(.notallowed),
.product-info__size.active,
.product-info__size.selected {
    border-color: #000;
    background: #000;
    color: #fff;
}

.product-info__size.disabled,
.product-info__size.notallowed {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ============================================
   Стандартные стили Bitrix SKU 
   ============================================ */

.product-item-detail-info-container {
    margin-bottom: 20px;
}

.product-item-detail-info-container-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-item-scu-container {
    margin: 0;
}

.product-item-scu-block {
    margin: 0;
}

.product-item-scu-list {
    margin: 0;
}

.product-item-scu-item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Текстовые варианты (размеры) */
.product-item-scu-item-text-container {
    min-width: 60px;
    height: 40px;
    padding: 0;
    border: 1px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item-scu-item-text-container:hover:not(.notallowed) {
    border-color: #000;
}

.product-item-scu-item-text-container.selected {
    border-color: #000;
    background: #000;
}

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

.product-item-scu-item-text-container.notallowed {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-item-scu-item-text-container.notallowed .product-item-scu-item-text {
    text-decoration: line-through;
}

.product-item-scu-item-text-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 16px;
}

.product-item-scu-item-text {
    font-size: 13px;
    color: #000;
    white-space: nowrap;
}

/* Цветовые варианты */
.product-item-scu-item-color-container {
    width: 36px;
    height: 36px;
    padding: 2px;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-item-scu-item-color-container:hover:not(.notallowed) {
    border-color: #000;
}

.product-item-scu-item-color-container.selected {
    border-color: #000;
}

.product-item-scu-item-color-container.notallowed {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-item-scu-item-color-block {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

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

/* ============================================
   Маркетплейс
   ============================================ */

.product-info__marketplace {
    margin-bottom: 20px;
    padding: 12px;
    background: #fffde7;
    font-size: 12px;
    line-height: 1.6;
}

.product-info__marketplace-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.product-info__marketplace-list {
    margin: 0;
    padding-left: 16px;
    color: #666;
}

.product-info__marketplace-list li {
    margin-bottom: 4px;
}

/* ============================================
   Кнопки действий
   ============================================ */

.product-info__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.product-info__btn {
    flex: 1;
    height: 48px;
    border: 1px solid #000;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-info__btn--callback,
.product-info__btn--oneclick {
    flex: 0 0 auto;
    padding: 0 20px;
}

.product-info__btn--callback:hover,
.product-info__btn--oneclick:hover {
    background: #f5f5f5;
}

.product-info__btn-icon {
    display: block;
    flex: 0 0 auto;
}

.product-info__btn-icon--phone {
    width: 18px;
    height: 18px;
}

.product-info__btn--mobile-action {
    display: none;
}

.product-info__btn--cart {
    background: #000;
    color: #fff;
}

.product-info__btn--cart:hover,
.product-info__btn--cart.product-info__btn--in-cart:hover {
    background: #333;
    color: #fff !important;
}

.product-info__btn--cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Заказ в 1 клик */
.product-info__oneclick {
    margin-bottom: 24px;
    text-align: center;
}

.product-info__oneclick-link {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
}

.product-info__oneclick-link:hover {
    color: #000;
}

/* ============================================
   Аккордеон
   ============================================ */

.product-accordion {
    border-top: 1px solid #e5e5e5;
}

.product-accordion__item {
    border-bottom: 1px solid #e5e5e5;
}

.product-accordion__header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 0;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    color: #000;
}

.product-accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.product-accordion__item.active .product-accordion__icon {
    transform: rotate(45deg);
}

.product-accordion__content {
    display: none;
    padding: 0 0 16px 28px;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
}

.product-accordion__description {
    margin-bottom: 16px;
}

.product-accordion__description p {
    text-indent: 1.5em;
}

.product-accordion__description ul,
.product-accordion__description ol {
    margin: 16px 0;
    padding-left: 20px;
}

.product-accordion__description ul {
    list-style: disc;
}

.product-accordion__description ol {
    list-style: decimal;
}

.product-accordion__description li + li {
    margin-top: 8px;
}

.product-accordion__specs {
    display: grid;
    gap: 8px;
}

.product-accordion__spec {
    display: flex;
    gap: 12px;
}

.product-accordion__spec-name {
    color: #666;
    min-width: 140px;
}

.product-accordion__spec-value {
    color: #000;
}

.product-accordion__link {
    color: #000;
    text-decoration: underline;
}

/* ============================================
   Поделиться
   ============================================ */

.product-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.product-share__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #666;
}

.product-share__links {
    display: flex;
    gap: 12px;
}

.product-share__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #666;
    transition: color 0.2s;
}

.product-share__link:hover {
    color: #000;
}

/* ============================================
   Ссылка на категорию
   ============================================ */

.product-category-link {
    padding: 20px 0;
}

.product-category-link a {
    font-size: 13px;
    color: #000;
    text-decoration: underline;
}

.product-category-link a:hover {
    text-decoration: none;
}

/* Блок «Больше товаров от бренда» (bitrix:catalog.section на /product/) */
.product-more-from-brand {
    margin-top: 48px;
    margin-bottom: 64px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}

.product-more-from-brand__title {
    margin: 0 0 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
}

.product-more-from-brand__inner.catalog-products .catalog-products__count {
    display: none;
}

.product-more-from-brand .catalog-products__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 0;
}

@media (max-width: 1399px) {
    .product-more-from-brand .catalog-products__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .product-more-from-brand .catalog-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-more-from-brand .catalog-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .product-more-from-brand {
        margin-top: 32px;
        margin-bottom: 40px;
        padding-top: 28px;
    }
}

/* ============================================
   Адаптивность
   ============================================ */

@media (max-width: 1200px) {
    .product-main {
        grid-template-columns: 1fr 380px;
        gap: 30px;
    }
    
    .product-gallery__thumb {
        width: 65px;
        height: 85px;
    }
}

@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        order: 1;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .product-info {
        order: 2;
    }

    .product-main > .product-details-below-slider {
        order: 3;
    }
    
    .product-item-detail-slider-block {
        min-height: 450px;
    }
    
    .product-gallery__thumb {
        width: 60px;
        height: 78px;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 15px 0 40px;
    }
    
    .product-gallery {
        max-width: 100%;
    }
    
    /* Миниатюры в ряд на мобильном - прокрутка */
    .product-gallery__thumbs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-gallery__thumb {
        width: 50px;
        height: 65px;
    }
    
    /* Точки-индикаторы скрыты когда есть миниатюры */
    .product-gallery__dots {
        display: none;
    }
    
    .product-item-detail-slider-block {
        min-height: 350px;
    }
    
    .product-gallery__slide img,
    .product-item-detail-slider-image img {
        max-height: 450px;
    }
    
    /* Стрелки всегда видны на мобильном */
    .product-gallery__nav {
        opacity: 1;
        width: 40px;
        height: 40px;
    }
    
    .product-gallery__nav--prev {
        left: 8px;
    }
    
    .product-gallery__nav--next {
        right: 8px;
    }
    
    .product-info__title {
        font-size: 18px;
    }

    .product-info__brand {
        font-size: 18px;
    }
    
    .product-info__prices {
        gap: 8px;
    }
    
    .product-info__price-current {
        font-size: 20px;
    }
    
    .product-info__actions {
        flex-direction: column;
    }
    
    .product-info__btn {
        width: 100%;
    }
    
    .product-info__btn--callback,
    .product-info__btn--oneclick {
        flex: 1;
    }

    .product-info__btn--desktop-action {
        display: none;
    }

    .product-info__btn--mobile-action {
        display: flex;
    }
    
    .product-accordion__spec {
        flex-direction: column;
        gap: 4px;
    }
    
    .product-accordion__spec-name {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .product-gallery__slide img,
    .product-item-detail-slider-image img {
        max-height: 380px;
    }
    
    .product-item-detail-slider-block {
        min-height: 300px;
    }
    
    .product-gallery__nav {
        width: 36px;
        height: 36px;
    }
    
    .product-gallery__nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .product-breadcrumb {
        margin-bottom: 15px;
    }
    
    .product-breadcrumb__item {
        font-size: 11px;
    }
    
    .product-info__badges {
        margin-bottom: 12px;
    }
    
    .product-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .product-info__size {
        min-width: 50px;
        height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }
    
    .product-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ============================================
   Интеграция со стандартным Bitrix JS
   ============================================ */

/* SKU элементы - состояния */
.product-info__size.selected,
.product-info__color.selected {
    border-color: #000;
    background: #000;
    color: #fff;
}

.product-info__color.selected {
    background: #fff;
}

.product-info__size.notallowed,
.product-info__color.notallowed {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.product-info__color.notallowed {
    text-decoration: none;
}

/* Контейнеры миниатюр для SKU */
.product-gallery__thumbs-offer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.product-gallery__thumbs-offer[style*="display: none"] {
    display: none !important;
}

.product-gallery__thumbs-offer .product-gallery__thumb {
    display: block;
}

/* Контейнер для простого товара */
.product-gallery__thumbs > div[id] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.product-item-detail-slider-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 100;
}

/* Кнопка недоступности */
.product-info__btn--not-available {
    background: #f5f5f5;
    color: #666;
    border-color: #e5e5e5;
    cursor: not-allowed;
    text-align: center;
    text-decoration: none;
}

/* Количество товара */
.product-item-detail-info-container {
    margin-bottom: 20px;
}

.product-item-detail-info-container-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-item-amount {
    display: flex;
    align-items: center;
}

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

.product-item-amount-field-btn-minus,
.product-item-amount-field-btn-plus {
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5e5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    user-select: none;
}

.product-item-amount-field-btn-minus:hover,
.product-item-amount-field-btn-plus:hover {
    border-color: #000;
}

.product-item-amount-field-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-item-amount-field {
    width: 60px;
    height: 40px;
    border: 1px solid #e5e5e5;
    text-align: center;
    font-size: 14px;
    -moz-appearance: textfield;
}

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

.product-item-amount-description-container {
    margin-left: 12px;
    font-size: 13px;
    color: #666;
}

/* Стикеры/лейблы - стиль VIPAVENUE */
.product-item-label-text {
    position: absolute;
    z-index: 5;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-item-label-text > div {
    display: inline-block;
}

.product-item-label-text span {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #333;
}

.product-item-label-left {
    left: 16px;
}

.product-item-label-top {
    top: 16px;
}

/* Бейдж скидки на изображении - стиль VIPAVENUE */
.product-item-label-ring {
    position: absolute;
    z-index: 5;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: #c62828;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-item-label-ring span {
    color: inherit;
}

/* Экономия */
.item_economy_price {
    font-size: 12px;
    color: #4caf50;
    margin-left: 10px;
}

/* SKU свойства в описании */
.product-item-detail-properties {
    display: grid;
    gap: 8px;
}

.product-item-detail-properties dt {
    color: #666;
    font-weight: normal;
}

.product-item-detail-properties dd {
    margin: 0;
    color: #000;
}

/* Попап корзины каталога: шаблон /css/basket-popup.css (после ShowHead) */

/* Скрытие служебных контейнеров */
.product-item-detail-slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #000;
    transition: width 0.1s linear;
}

/* Контейнеры миниатюр для предложений (SKU) - горизонтальный ряд */
.product-gallery__thumbs > div,
.product-gallery__thumbs-offer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}


/* Стили для попапа полноэкранного просмотра */
.product-item-detail-slider-container.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-item-detail-slider-container.popup .product-gallery__thumbs {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
    justify-content: center;
}

.product-item-detail-slider-container.popup .product-gallery__main {
    max-width: 80vw;
    max-height: 70vh;
}

.product-item-detail-slider-container.popup .product-gallery__slide img,
.product-item-detail-slider-container.popup .product-item-detail-slider-image img {
    max-height: 70vh;
    max-width: 100%;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-close {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-close::before,
.product-item-detail-slider-container.popup .product-item-detail-slider-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #333;
    transform-origin: center;
}

.product-item-detail-slider-container.popup .product-item-detail-slider-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.product-item-detail-slider-container.popup .product-item-detail-slider-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 768px) {
    .product-item-detail-slider-container.popup {
        padding: 20px;
    }
    
    .product-item-detail-slider-container.popup .product-gallery__thumbs {
        bottom: 10px;
    }
}

/* === gm_v2: основные характеристики, связанные товары, копирование артикула === */
.product-accordion__subheading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 20px 0 12px;
    color: #111;
}

.product-accordion__spec-value-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
}

.product-accordion__spec--article .product-accordion__spec-value-wrap {
    justify-content: flex-end;
}

.product-accordion__copy-article {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    line-height: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.product-accordion__copy-article:hover,
.product-accordion__copy-article:focus-visible {
    background: rgba(0, 0, 0, 0.06);
    color: #000;
    outline: none;
}

@media (max-width: 768px) {
    .product-details-below-slider .product-accordion__content {
        padding-left: 0;
    }

    .product-accordion__specs--main {
        gap: 14px;
    }

    .product-accordion__specs--main .product-accordion__spec {
        display: grid;
        grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
        column-gap: 12px;
        align-items: start;
    }

    .product-accordion__specs--main .product-accordion__spec-name {
        min-width: 0;
    }

    .product-accordion__specs--main .product-accordion__spec-value-wrap {
        min-width: 0;
        justify-content: flex-end;
        text-align: right;
    }

    .product-accordion__specs--main .product-accordion__spec-value {
        overflow-wrap: anywhere;
    }
}

.product-info__linked {
    margin-top: 20px;
    margin-bottom: 20px;
}

.product-info__linked-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}

.product-info__linked-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.product-info__linked-list--chips {
    gap: 8px;
}

.product-info__linked-item {
    display: block;
    width: 48px;
    height: 60px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-info__linked-item:hover {
    border-color: #999;
}

.product-info__linked-item.is-current {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
}

.product-info__linked-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info__linked-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 10px;
    padding: 4px;
    text-align: center;
    line-height: 1.2;
    color: #333;
}

.product-info__linked-chip {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #111;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.product-info__linked-chip:hover {
    border-color: #999;
}

.product-info__linked-chip.is-current {
    border-color: #111;
    background: #f5f5f5;
    font-weight: 600;
}

button.product-info__linked-chip {
    cursor: pointer;
    background: #fff;
    font-family: inherit;
    line-height: inherit;
    outline: none;
}

.product-info__btn--loading {
    pointer-events: none;
    opacity: 0.55;
}

/* Таблица размеров */
.product-info__size-chart {
    margin-top: 12px;
}

.product-info__size-chart-btn {
    display: inline-block;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 13px;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.product-info__size-chart-btn:hover {
    color: #444;
}

/* Остаток */
.product-info__stock {
    margin-top: 10px;
    font-size: 13px;
    color: #444;
}

.product-info__stock-label {
    margin-right: 6px;
}

/* Ссылка в характеристиках */
.product-accordion__spec-link {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-accordion__spec-link:hover {
    color: #444;
}

/* Модальные окна */
body.gm-modal-open {
    overflow: hidden;
}

.gm-modal[hidden] {
    display: none !important;
}

.gm-modal:not([hidden]) {
    display: block;
}

.gm-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
}

.gm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.gm-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 720px;
    max-height: 90vh;
    margin: 5vh auto;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.gm-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.gm-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.gm-modal__close {
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
}

.gm-modal__body {
    padding: 16px 20px 24px;
    overflow: auto;
}

.gm-oneclick-modal .gm-modal__dialog {
    max-width: 520px;
}

.gm-size-table-modal__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gm-size-table-modal__body th,
.gm-size-table-modal__body td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
}

/* Заказ в 1 клик */
.product-info__oneclick-link {
    font: inherit;
    font-size: 13px;
    border: none;
    background: none;
    padding: 0;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.product-info__oneclick-link:hover {
    color: #444;
}

.gm-oneclick-modal__product {
    font-weight: 500;
    margin-bottom: 12px;
}

.gm-oneclick-modal__phone {
    font-size: 18px;
    margin-top: 16px;
}

.gm-oneclick-modal__phone a {
    color: #111;
    text-decoration: none;
}

.gm-oneclick-modal__phone a:hover {
    text-decoration: underline;
}

.gm-oneclick-form__field {
    display: block;
    margin-bottom: 14px;
}

.gm-oneclick-form__field span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
}

.gm-oneclick-form__field input,
.gm-oneclick-form__field textarea {
    width: 100%;
    border: 1px solid #d7d7d7;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
}

.gm-oneclick-form__field textarea {
    resize: vertical;
}

.gm-oneclick-form__submit {
    width: 100%;
    height: 48px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.gm-oneclick-form__submit:disabled {
    opacity: 0.65;
    cursor: default;
}

.gm-oneclick-form__message {
    margin-top: 12px;
    font-size: 14px;
}

.gm-oneclick-form__message--ok {
    color: #1b7f3a;
}

.gm-oneclick-form__message--error {
    color: #b00020;
}

/* С чем носить */
.product-wear-with {
    margin-top: 48px;
    padding-bottom: 40px;
    border-top: 1px solid #eee;
    padding-top: 36px;
}

.product-wear-with__title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 600;
}


/* Рейтинг на карточке товара */
.gm-product-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 10px 0 16px;
    font-size: 14px;
    color: #333;
}

.gm-product-rating__stars {
    display: inline-flex;
    gap: 2px;
    letter-spacing: 0;
}

.gm-product-rating__text {
    color: #555;
}

.gm-star {
    font-size: 16px;
    line-height: 1;
    color: #d0d0d0;
}

.gm-star--on {
    color: #111;
}

.gm-star--off {
    color: #ddd;
}

/* Блок отзывов PDP */
.gm-reviews {
    margin-top: 0;
    padding-top: 36px;
    border-top: none;
    padding-bottom: 48px;
}

.gm-reviews__title {
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 600;
}

.gm-reviews__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.gm-reviews__item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.gm-reviews__item:last-child {
    border-bottom: none;
}

.gm-reviews__item:first-child {
    padding-top: 0;
}

.gm-reviews__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.gm-reviews__author {
    font-weight: 600;
    color: #111;
}

.gm-reviews__stars {
    margin-bottom: 10px;
}

.gm-reviews__text {
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

.gm-reviews__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.gm-reviews__photo-link {
    display: block;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.gm-reviews__photo {
    display: block;
    max-width: 120px;
    height: auto;
    vertical-align: middle;
}

.gm-reviews__empty {
    margin: 0 0 24px;
    font-size: 14px;
    color: #666;
}

.gm-reviews__pager {
    margin: 16px 0 24px;
    font-size: 14px;
}

.gm-reviews__form-wrap {
    max-width: 560px;
    padding-top: 8px;
}

.gm-reviews__form-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.gm-reviews__form-hint {
    margin: 0 0 16px;
    font-size: 13px;
    color: #666;
}

.gm-reviews__form-message {
    min-height: 1.2em;
    margin-bottom: 12px;
    font-size: 14px;
}

.gm-reviews__form-message--ok {
    color: #1a7f37;
}

.gm-reviews__form-message--error {
    color: #b42318;
}

.gm-reviews__field {
    margin-bottom: 14px;
}

.gm-reviews__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #333;
}

.gm-reviews__input,
.gm-reviews__textarea,
.gm-reviews__file {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
}

.gm-reviews__textarea {
    resize: vertical;
    min-height: 120px;
}

.gm-reviews__submit {
    margin-top: 8px;
}

/* End */


/* Start:/bitrix/components/bitrix/catalog.product.subscribe/templates/.default/style.min.css?17656325461413*/
.bx-catalog-subscribe-button{margin-bottom:6px;display:inline-block}.bx-catalog-popup-content{width:90%;max-width:280px}.bx-catalog-subscribe-form-container-label{font-size:13px;color:#5a6c77;padding-bottom:2px}.bx-catalog-subscribe-form-container-input{position:relative}.bx-catalog-subscribe-form-container-input input[type="text"]{display:block;width:100%;font-size:18px;height:38px;margin:0;padding:0 4px;border:1px solid #ccd5db;border-radius:2px;background:#f8fafc;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bx-catalog-subscribe-form-star-required{color:#d93333}.bx-catalog-subscribe-form-container .bx-captcha{margin-bottom:10px}.bx-catalog-popup-message{font-weight:bold;min-width:240px;margin:0}.bx-catalog-subscribe-alert{background-color:#edf6fc;color:#000;font-size:15px;min-height:45px;text-align:center;padding:12px 40px 12px 60px;position:relative;width:280px}.bx-catalog-subscribe-aligner{display:inline-block;height:45px;margin-left:-1px;vertical-align:middle;width:1px}.bx-catalog-subscribe-alert-text{display:inline-block;vertical-align:middle}.bx-catalog-subscribe-alert-footer{text-align:center}.bx-catalog-subscribe-alert-popup{background-color:#edf6fc!important;border:1px solid #edf6fc!important;border-radius:3px!important;-webkit-box-shadow:0 19px 24px rgba(88,112,118,0.17)!important;box-shadow:0 19px 24px rgba(88,112,118,0.17)!important}
/* End */


/* Start:/local/components/custom/gm.livechat/templates/.default/style.css?17905096175078*/
.gm-livechat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10000;
    font-family: Arial, sans-serif;
}

.gm-livechat__launcher {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.gm-livechat__launcher:hover {
    transform: translateY(-2px);
}

.gm-livechat__panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: 380px;
    height: 560px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.gm-livechat--open .gm-livechat__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.gm-livechat__header {
    min-height: 78px;
    padding: 18px 20px;
    border-bottom: 1px solid #ededed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gm-livechat__title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .06em;
}

.gm-livechat__subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

.gm-livechat__close {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

.gm-livechat__prechat {
    padding: 24px 20px;
    overflow-y: auto;
}

.gm-livechat__prechat-title {
    font-size: 18px;
    font-weight: 600;
}

.gm-livechat__prechat-text {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #666;
}

.gm-livechat__field {
    margin-top: 18px;
}

.gm-livechat__field label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    color: #555;
}

.gm-livechat__field input {
    width: 100%;
    height: 44px;
    border: 1px solid #d7d7d7;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.gm-livechat__field input:focus {
    border-color: #111;
}

.gm-livechat__prechat-error {
    min-height: 18px;
    margin-top: 10px;
    font-size: 12px;
    color: #b00020;
}

.gm-livechat__start {
    width: 100%;
    height: 46px;
    margin-top: 10px;
    border: 0;
    background: #000;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.gm-livechat__chat {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gm-livechat__chat[hidden] {
    display: none;
}
.gm-livechat__body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: #fafafa;
}

.gm-livechat__product {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #ededed;
}

.gm-livechat__product-image {
    width: 66px;
    height: 82px;
    flex: 0 0 66px;
    background: #f4f4f4;
    overflow: hidden;
}

.gm-livechat__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gm-livechat__product-name {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.gm-livechat__product-meta {
    margin-top: 5px;
    font-size: 11px;
    color: #777;
}

.gm-livechat__product-price {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}

.gm-livechat__welcome {
    margin-top: 16px;
    max-width: 85%;
    padding: 12px 14px;
    background: #fff;
    border-radius: 12px 12px 12px 2px;
    font-size: 13px;
    line-height: 1.45;
}

.gm-livechat__message {
    max-width: 82%;
    margin-top: 10px;
    padding: 11px 13px;
    font-size: 13px;
    line-height: 1.45;
}

.gm-livechat__message--user {
    margin-left: auto;
    background: #111;
    color: #fff;
    border-radius: 12px 12px 2px 12px;
}
.gm-livechat__message--operator {
    margin-right: auto;
    background: #fff;
    color: #111;
    border: 1px solid #ededed;
    border-radius: 12px 12px 12px 2px;
}
.gm-livechat__footer {
    padding: 12px;
    border-top: 1px solid #ededed;
    background: #fff;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.gm-livechat__input {
    flex: 1;
    min-height: 42px;
    max-height: 110px;
    resize: none;
    border: 1px solid #d9d9d9;
    padding: 11px 12px;
    font-size: 13px;
    outline: none;
}

.gm-livechat__send {
    width: 44px;
    height: 44px;
    border: 0;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 767px) {
    .gm-livechat {
        right: 14px;
        bottom: 14px;
    }

    .gm-livechat__launcher {
        width: 56px;
        height: 56px;
    }

    .gm-livechat__panel {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 80px;
        width: auto;
        height: min(560px, calc(100vh - 110px));
    }
}
/* End */


/* Start:/bitrix/templates/grandi_marchi/components/bitrix/catalog/gm/style.css?177877546541193*/
/* ============================================
   Каталог VipAvenue - Основные стили
   ============================================ */

/* Страница каталога */
.catalog-page {
    padding-top: 20px;
    padding-bottom: 80px;
}

.catalog-page__container {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 25px;
}

@media (max-width: 576px) {
    .catalog-page__container {
        padding: 0 15px;
    }
}

/* Хлебные крошки */
.catalog-page__breadcrumbs {
    margin-bottom: 20px;
    font-size: 13px;
    color: #999;
}

.catalog-page__breadcrumbs a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.catalog-page__breadcrumbs a:hover {
    color: #222;
}

/* Заголовок */
.catalog-page__title {
    font-family: "Jost", sans-serif;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .catalog-page__title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* Wrapper (sidebar + main) */
.catalog-page__wrapper {
    display: flex;
    gap: 30px;
}

@media (max-width: 992px) {
    .catalog-page__wrapper {
        flex-direction: column;
        gap: 0;
    }
}

/* ============================================
   Sidebar (фильтры)
   ============================================ */

.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .catalog-sidebar {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 85vh;
        background: #fff;
        z-index: 10001;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .catalog-sidebar--open {
        display: flex;
        flex-direction: column;
    }
}

.catalog-sidebar__inner {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

@media (max-width: 992px) {
    .catalog-sidebar__inner {
        padding: 20px;
        padding-bottom: 100px;
    }
}

/* Кнопка закрытия (мобильная) */
.catalog-sidebar__close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #222;
}

@media (max-width: 992px) {
    .catalog-sidebar__close {
        display: flex;
    }
}

/* Заголовок фильтров */
.catalog-sidebar__header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 992px) {
    .catalog-sidebar__header {
        display: flex;
    }
}

.catalog-sidebar__title {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.catalog-sidebar__reset {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

/* Футер фильтров (мобильный) */
.catalog-sidebar__footer {
    display: none;
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

@media (max-width: 992px) {
    .catalog-sidebar__footer {
        display: block;
    }
}

.catalog-sidebar__apply {
    width: 100%;
    padding: 15px;
    background: #222;
    color: #fff;
    border: none;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-sidebar__apply:hover {
    background: #333;
}

/* ============================================
   Фильтры
   ============================================ */

.catalog-filter {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

.catalog-filter:first-child {
    padding-top: 0;
}

.catalog-filter__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
    cursor: pointer;
    user-select: none;
}

.catalog-filter__arrow {
    transition: transform 0.2s ease;
}

.catalog-filter--open .catalog-filter__arrow {
    transform: rotate(180deg);
}

.catalog-filter__content {
    display: none;
    padding-top: 15px;
}

.catalog-filter--open .catalog-filter__content {
    display: block;
}

/* По умолчанию фильтры раскрыты на десктопе */
@media (min-width: 993px) {
    .catalog-filter__content {
        display: block;
    }
}

/* Чекбоксы */
.catalog-filter__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-filter__item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #222;
}

.catalog-filter__item--hidden {
    display: none;
}

.catalog-filter__checkbox {
    display: none;
}

.catalog-filter__item-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.catalog-filter__checkbox:checked + .catalog-filter__item-checkbox {
    border-color: #222;
    background: #222;
}

.catalog-filter__checkbox:checked + .catalog-filter__item-checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.catalog-filter__item-name {
    flex: 1;
}

.catalog-filter__item-count {
    color: #999;
    font-size: 12px;
}

.catalog-filter__show-more {
    background: none;
    border: none;
    color: #222;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 5px 0;
    margin-top: 5px;
}

/* Фильтр по цене */
.catalog-filter__price-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.catalog-filter__price-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-filter__price-input label {
    font-size: 13px;
    color: #999;
}

.catalog-filter__input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.catalog-filter__input:focus {
    border-color: #222;
}

/* Кнопка применения фильтра по цене */
.catalog-filter__price-apply {
    width: 100%;
    padding: 10px 15px;
    margin-top: 10px;
    background: #222;
    border: none;
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-filter__price-apply:hover {
    background: #333;
}

/* Фильтр по цветам */
.catalog-filter__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-filter__color {
    cursor: pointer;
    text-align: center;
}

.catalog-filter__color .catalog-filter__checkbox {
    display: none;
}

.catalog-filter__color-preview {
    display: block;
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    border-radius: 50%;
    margin-bottom: 5px;
    background-size: cover;
    background-position: center;
    transition: border-color 0.2s ease;
}

.catalog-filter__color--active .catalog-filter__color-preview,
.catalog-filter__color:hover .catalog-filter__color-preview {
    border-color: #222;
}

.catalog-filter__color-name {
    display: block;
    font-size: 11px;
    color: #666;
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Фильтр по размерам */
.catalog-filter__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-filter__size {
    cursor: pointer;
}

.catalog-filter__size .catalog-filter__checkbox {
    display: none;
}

.catalog-filter__size-value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #222;
    transition: all 0.2s ease;
}

.catalog-filter__size--active .catalog-filter__size-value,
.catalog-filter__size:hover .catalog-filter__size-value {
    border-color: #222;
    background: #222;
    color: #fff;
}

.catalog-filter__size--disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Кнопка открытия модального окна */
.catalog-filter__modal-btn {
    width: 100%;
    padding: 10px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #222;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-filter__modal-btn:hover {
    border-color: #222;
}

/* Кнопки управления фильтром */
.catalog-filter__actions {
    padding-top: 20px;
}

.catalog-filter__btn {
    width: 100%;
    padding: 12px;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-filter__btn--reset {
    background: none;
    border: 1px solid #ddd;
    color: #666;
}

.catalog-filter__btn--reset:hover {
    border-color: #222;
    color: #222;
}

/* ============================================
   Основной контент (товары)
   ============================================ */

.catalog-main {
    flex: 1;
    min-width: 0;
}

/* Шапка каталога */
.catalog-main__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .catalog-main__header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

.catalog-main__title {
    font-family: "Jost", sans-serif;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin: 0;
}

@media (max-width: 768px) {
    .catalog-main__title {
        font-size: 20px;
    }
}

.catalog-main__controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Кнопка фильтров (мобильная) */
.catalog-main__filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    color: #222;
    cursor: pointer;
    position: relative;
}

@media (max-width: 992px) {
    .catalog-main__filter-btn {
        display: flex;
    }
}

/* Badge с количеством активных фильтров */
.catalog-main__filter-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e00018;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    margin-left: 4px;
}

/* Сортировка */
.catalog-main__sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-main__sort-label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .catalog-main__sort-label {
        display: none;
    }
}

.catalog-main__sort-select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    color: #222;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23222' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* ============================================
   Сетка товаров
   ============================================ */

.catalog-products__count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.catalog-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .catalog-products__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .catalog-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .catalog-products__grid {
        gap: 10px;
    }
}

/* Пустой результат */
.catalog-products__empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.catalog-products__empty p {
    margin: 10px 0;
}

/* ============================================
   Карточка товара
   ============================================ */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card__image {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-card__image-link {
    display: block;
    position: relative;
    aspect-ratio: 3/4;
    background: #f5f5f5;
}

.product-card__slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.product-card__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-card__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.product-card__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Вертикальные зоны наведения (как на noone.ru): каждая колонка — своё фото */
.product-card__image-nav {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.product-card__slider--multiple .product-card__image-nav {
    pointer-events: auto;
}

.product-card__image-nav-link {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: default;
}

@media (hover: none) {
    .product-card__image-nav {
        display: none;
    }
}

.product-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-card__slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #222;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* На десктопе переключение зонами по hover — стрелки не нужны */
@media (hover: hover) and (pointer: fine) {
    .product-card__slider-nav {
        display: none;
    }
}

.product-card__slider-nav:hover {
    background: #fff;
    color: #000;
}

.product-card__slider-nav--prev {
    left: 8px;
}

.product-card__slider-nav--next {
    right: 8px;
}

.product-card__slider-dots {
    position: absolute;
    left: 50%;
    top: 12px;
    bottom: auto;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
    pointer-events: auto;
}

.product-card__slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.product-card__slider-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}


/* Лейблы */
.product-card__labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 3;
}

.product-card__label {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.product-card__label--new {
    background: #222;
}

.product-card__label--hit {
    background: #e00018;
}

.product-card__label--sale {
    background: #3f8041;
}

/* Кнопка в избранное */
.product-card__wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
}

.product-card:hover .product-card__wishlist {
    opacity: 1;
}

.product-card__wishlist:hover {
    background: #222;
    color: #fff;
}

.product-card__wishlist--active {
    opacity: 1;
    background: #e00018;
    color: #fff;
}

.product-card__wishlist--active:hover {
    background: #c00015;
    color: #fff;
}

/* Кнопка «Быстрый просмотр» */
.product-card__quick-view {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 999px;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #5a7a9a;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 3;
}

.product-card:hover .product-card__quick-view {
    opacity: 1;
}

.product-card__quick-view:hover {
    background: #fff;
    color: #222;
}

.product-card__quick-view-icon {
    flex-shrink: 0;
}

.product-card__quick-view-text {
    white-space: nowrap;
}

/* Информация о товаре */
.product-card__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align: center;
}

.product-card__brand {
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
    margin-bottom: 5px;
}

.product-card__name {
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #222;
    margin-bottom: 8px;
    text-decoration: none;
    line-height: 1.4;
}

.product-card__name:hover {
    color: #666;
}

.product-card__price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.product-card__price-current {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.product-card__price-old {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-card__sizes {
    font-size: 12px;
    color: #666;
}

.product-card__buy {
    margin-top: auto;
    padding-top: 12px;
}

.product-card__buy-row {
    margin-bottom: 10px;
}

.product-card__buy-row--sizes.is-hidden {
    display: block;
    min-height: 50px;
    visibility: hidden;
}

.product-card__buy-label {
    color: #666;
    font-size: 11px;
    line-height: 14px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.product-card__color-list,
.product-card__size-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.product-card__color {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    width: 34px;
}

.product-card__color img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-card__color span {
    color: #222;
    font-size: 10px;
    line-height: 12px;
    padding: 3px;
}

.product-card__color:hover,
.product-card__color.is-active {
    border-color: #222;
}

.product-card__size {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #222;
    cursor: pointer;
    font-family: "Jost", sans-serif;
    font-size: 12px;
    line-height: 16px;
    min-width: 38px;
    padding: 5px 8px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-card__size:hover,
.product-card__size.is-active {
    background: #222;
    border-color: #222;
    color: #fff;
}

.product-card__sizes-empty {
    color: #999;
    font-size: 12px;
}

.product-card__buy-btn {
    background: #222;
    border: 1px solid #222;
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    margin: 2px auto 0;
    max-width: 180px;
    padding: 9px 14px;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    width: 100%;
}

.product-card__buy-btn:hover:not(:disabled) {
    background: #000;
    border-color: #000;
}

.product-card__buy-btn:disabled {
    background: #f1f1f1;
    border-color: #e0e0e0;
    color: #888;
    cursor: default;
}

.product-card__buy-btn.is-loading {
    opacity: 0.75;
}

@media (max-width: 576px) {
    .product-card__buy {
        margin-top: auto;
        padding-top: 10px;
    }

    .product-card__buy-row--sizes {
        min-height: 72px;
    }

    .product-card__color-list,
    .product-card__size-list {
        gap: 5px;
    }

    .product-card__color {
        height: 38px;
        width: 30px;
    }

    .product-card__size {
        font-size: 11px;
        min-width: 34px;
        padding: 4px 6px;
    }

    .product-card__buy-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* ============================================
   Пагинация
   ============================================ */

.catalog-products__pagination {
    margin-top: 40px;
    margin-bottom: 40px;
    clear: both;
}

/* Штатная пагинация Bitrix (system.pagenavigation/.default — .bx-pagination) */
.catalog-products__pagination .bx-pagination {
    margin: 0;
}

.catalog-products__pagination .bx-pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.catalog-products__pagination .bx-pagination-container ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-products__pagination .bx-pagination-container li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-products__pagination .bx-pagination-container a,
.catalog-products__pagination .bx-pagination-container span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.catalog-products__pagination .bx-pagination-container a:hover {
    border-color: #222;
}

.catalog-products__pagination .bx-pagination-container .bx-active {
    font-weight: 600;
    border-color: #222;
    background: #222;
    color: #fff;
}

/* Пагинация (bitrix:system.pagenavigation, шаблон gm) */
.catalog-products__pagination .pagination {
    display: flex;
    justify-content: center;
}

.catalog-products__pagination .pagination__list {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-products__pagination .pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.catalog-products__pagination .pagination__link:hover {
    border-color: #222;
}

.catalog-products__pagination .pagination__link--active,
.catalog-products__pagination .pagination__item--active .pagination__link {
    font-weight: 600;
    border-color: #222;
    background: #222;
    color: #fff;
}

.catalog-products__pagination .pagination__dots {
    padding: 0 5px;
    color: #999;
}

.catalog-products__pagination .pagination__item--prev .pagination__link,
.catalog-products__pagination .pagination__item--next .pagination__link {
    border: none;
}

.catalog-products__pagination .pagination__item--prev .pagination__link:hover,
.catalog-products__pagination .pagination__item--next .pagination__link:hover {
    background: #f5f5f5;
}

@media (max-width: 576px) {
    .catalog-products__pagination .pagination__link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* ============================================
   Блок подписки
   ============================================ */

.catalog-subscribe {
    background: #f5f5f5;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

@media (max-width: 576px) {
    .catalog-subscribe {
        padding: 30px 20px;
    }
}

.catalog-subscribe__title {
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 10px;
}

.catalog-subscribe__text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.catalog-subscribe__text strong {
    color: #222;
}

.catalog-subscribe__form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.catalog-subscribe__input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 14px;
    outline: none;
}

.catalog-subscribe__input:focus {
    border-color: #222;
}

.catalog-subscribe__btn {
    padding: 12px 20px;
    background: #222;
    border: 1px solid #222;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-subscribe__btn:hover {
    background: #333;
}

/* ============================================
   SEO-текст
   ============================================ */

.catalog-seo {
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
}

.catalog-seo__content {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.catalog-seo__content h1,
.catalog-seo__content h2,
.catalog-seo__content h3 {
    font-family: "Jost", sans-serif;
    font-weight: 400;
    color: #222;
    margin-bottom: 15px;
}

.catalog-seo__content p {
    margin-bottom: 15px;
}

/* ============================================
   Overlay для мобильных фильтров
   ============================================ */

.catalog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.catalog-overlay--visible {
    display: block;
}

/* ============================================
   Модальные окна
   ============================================ */

.catalog-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.catalog-modal__content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.catalog-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.catalog-modal__title {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.catalog-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #222;
}

/* Модальное окно быстрого просмотра */
.catalog-modal--quickview .catalog-modal__content--quickview {
    width: 95%;
    max-width: 900px;
    height: 85vh;
    max-height: 700px;
    padding: 0;
    position: relative;
}

/* Крестик закрытия — справа от контента, не наезжает на полосу прокрутки */
.catalog-modal__close--quickview {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(12px, -50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.catalog-modal__close--quickview::before,
.catalog-modal__close--quickview::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: #222;
    border-radius: 1px;
}

.catalog-modal__close--quickview::before {
    transform: rotate(45deg);
}

.catalog-modal__close--quickview::after {
    transform: rotate(-45deg);
}

@media (max-width: 960px) {
    .catalog-modal__close--quickview {
        left: auto;
        right: 12px;
        top: 12px;
        transform: none;
    }
}

.catalog-quickview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 500px;
}

.catalog-modal__search {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.catalog-modal__search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}

.catalog-modal__search-input:focus {
    border-color: #222;
}

.catalog-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.catalog-modal__footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
}

.catalog-modal__btn {
    width: 100%;
    padding: 12px;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-modal__btn--apply {
    background: #222;
    border: none;
    color: #fff;
}

.catalog-modal__btn--apply:hover {
    background: #333;
}

/* Список брендов в модальном окне */
.catalog-modal__brands-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-modal__brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-radius: 4px;
}

.catalog-modal__brand-item:hover {
    background: #f5f5f5;
}

.catalog-modal__brand-item--active {
    background: #f0f0f0;
}

.catalog-modal__brand-checkbox {
    display: none;
}

.catalog-modal__brand-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.catalog-modal__brand-checkbox:checked + .catalog-modal__brand-checkbox-custom {
    border-color: #222;
    background: #222;
}

.catalog-modal__brand-checkbox:checked + .catalog-modal__brand-checkbox-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.catalog-modal__brand-name {
    flex: 1;
    font-size: 14px;
    color: #222;
}

.catalog-modal__brand-count {
    font-size: 12px;
    color: #999;
}

/* ============================================
   Заголовок в сайдбаре (десктоп)
   ============================================ */

.catalog-sidebar__main-title {
    font-family: "Jost", sans-serif;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin: 0 0 20px 0;
}

@media (max-width: 992px) {
    .catalog-sidebar__main-title {
        display: none;
    }
}

/* Заголовок на мобильном */
.catalog-main__title--mobile {
    display: none;
}

@media (max-width: 992px) {
    .catalog-main__title--mobile {
        display: block;
    }
}

/* ============================================
   Блок подписки в сайдбаре
   ============================================ */

.catalog-sidebar__subscribe {
    background: #f5f5f5;
    padding: 25px 20px;
    margin: 20px 0;
    text-align: center;
}

.catalog-sidebar__subscribe-title {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 8px;
}

.catalog-sidebar__subscribe-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.catalog-sidebar__subscribe-text strong {
    color: #222;
}

.catalog-sidebar__subscribe-form {
    display: flex;
    margin-bottom: 10px;
}

.catalog-sidebar__subscribe-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 13px;
    outline: none;
}

.catalog-sidebar__subscribe-form input:focus {
    border-color: #222;
}

.catalog-sidebar__subscribe-form button {
    padding: 10px 15px;
    background: #222;
    border: 1px solid #222;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-sidebar__subscribe-form button:hover {
    background: #333;
}

.catalog-sidebar__subscribe-note {
    font-size: 10px;
    color: #999;
    line-height: 1.4;
}

/* ============================================
   Выпадающий список сортировки
   ============================================ */

.catalog-main__sort-dropdown {
    position: relative;
}

.catalog-main__sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    color: #222;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.catalog-main__sort-btn:hover {
    border-color: #222;
}

.catalog-main__sort-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100;
}

.catalog-main__sort-dropdown--open .catalog-main__sort-list {
    display: block;
}

.catalog-main__sort-list li {
    padding: 10px 12px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-main__sort-list li:hover {
    background: #f5f5f5;
    color: #222;
}

.catalog-main__sort-list li.active {
    color: #222;
    font-weight: 500;
}

/* ============================================
   SEO-текст (улучшения)
   ============================================ */

.catalog-seo__title {
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #222;
    margin: 0 0 15px 0;
}

.catalog-seo__content p {
    margin: 0 0 15px 0;
}

.catalog-seo__content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Открытый фильтр по умолчанию
   ============================================ */

.catalog-filter__content--open {
    display: block;
}

/* ============================================
   Состояние загрузки при фильтрации
   ============================================ */

.catalog-products--loading {
    position: relative;
    pointer-events: none;
}

.catalog-products--loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.catalog-products--loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 2px solid #f0f0f0;
    border-top-color: #222;
    border-radius: 50%;
    z-index: 11;
    animation: catalog-loader 0.8s linear infinite;
}

@keyframes catalog-loader {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Активный фильтр (выбранные значения)
   ============================================ */

.catalog-filter--active .catalog-filter__title {
    color: #222;
    font-weight: 700;
}

.catalog-filter--active .catalog-filter__title::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #e00018;
    border-radius: 50%;
    margin-left: 8px;
}

/* ============================================
   Блок горизонтального фильтра
   ============================================ */

.catalog-main__filter {
    margin-bottom: 24px;
}

/* ============================================
   Sidebar с категориями (стиль vipavenue)
   ============================================ */

.catalog-sidebar--categories {
    width: 250px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .catalog-sidebar--categories {
        display: none;
    }
}

.catalog-sidebar__section-title {
    font-family: "Jost", sans-serif;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.3;
}

.catalog-sidebar__nav {
    margin-bottom: 30px;
}

.catalog-sidebar__nav-title {
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
    margin-bottom: 15px;
    /* Выравнивание с catalog-main__header */
    padding-top: 17px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* Стили для списка категорий */
.catalog-sidebar__nav .catalog-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-sidebar__nav .catalog-categories__item {
    margin-bottom: 0;
}

.catalog-sidebar__nav .catalog-categories__link {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.catalog-sidebar__nav .catalog-categories__link:hover {
    color: #000;
}

.catalog-sidebar__nav .catalog-categories__link--active {
    font-weight: 600;
    color: #000;
}

/* Вложенные категории */
.catalog-sidebar__nav .catalog-categories__submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 15px;
}

.catalog-sidebar__nav .catalog-categories__submenu .catalog-categories__link {
    font-size: 13px;
    padding: 6px 0;
    color: #666;
}

.catalog-sidebar__nav .catalog-categories__submenu .catalog-categories__link:hover {
    color: #222;
}

/* Детальная товар: блок «Больше товаров от бренда» (bitrix:catalog.section) */
.product-more-from-brand {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}

.product-more-from-brand__title {
    margin: 0 0 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
}

.product-more-from-brand__inner.catalog-products .catalog-products__count {
    display: none;
}

/* До 6 карточек в один ряд (просмотренные + тот же бренд), плотнее зазор */
.product-more-from-brand .catalog-products__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 0;
}

@media (max-width: 1399px) {
    .product-more-from-brand .catalog-products__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .product-more-from-brand .catalog-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-more-from-brand .catalog-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* сетка каталога — общие правила .catalog-products__grid выше */

/* End */
/* /bitrix/templates/grandi_marchi/components/bitrix/catalog.element/gm_v2/style.css?178038534842870 */
/* /bitrix/components/bitrix/catalog.product.subscribe/templates/.default/style.min.css?17656325461413 */
/* /local/components/custom/gm.livechat/templates/.default/style.css?17905096175078 */
/* /bitrix/templates/grandi_marchi/components/bitrix/catalog/gm/style.css?177877546541193 */
