/* Переопределение Grid layout когда корзина отключена */
.cart-disabled .product-main {
    grid-template-columns: 40% 1fr !important;
}

.cart-disabled .product-main__content {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
}

/* Расширение блока артикулов когда корзина отключена */
.cart-disabled .product-skus-radio {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
}

.cart-disabled .product-skus-radio__item {
    padding: 20px 0 !important; /* больше отступов */
    gap: 30px !important; /* больше пространства между элементами */
}

.cart-disabled .product-skus-radio__item .sku-info {
    gap: 25px !important; /* больше пространства между названием, артикулом и ценой */
}

.cart-disabled .sku-buy-button {
    padding: 10px 20px !important; /* увеличенные кнопки */
    min-height: 40px !important;
    font-size: 15px !important;
}

/* Плавные переходы */
.product-skus-radio,
.product-skus-radio__item,
.sku-buy-button {
    transition: all 0.3s ease !important;
}

/* Дополнительные улучшения для отключенной корзины */
.cart-disabled .product-skus-radio__item .skus__name {
    font-size: 17px !important; /* увеличенный размер названия */
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

.cart-disabled .product-skus-radio__item .skus__sku {
    font-size: 14px !important; /* увеличенный размер артикула */
    padding: 4px 8px !important;
    border-radius: 6px !important;
}

.cart-disabled .skus__price {
    font-size: 20px !important; /* увеличенная цена */
    min-width: 140px !important; /* больше места для цены */
}

.cart-disabled .skus__price .price {
    font-size: 20px !important;
}

.cart-disabled .skus__price .currency {
    font-size: 16px !important;
}

/* Улучшенные разделители между артикулами */
.cart-disabled .product-skus-radio__item {
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
}

.cart-disabled .product-skus-radio__item:last-child {
    border-bottom: none !important;
}

/* Темная тема для отключенной корзины */
.dark-theme.cart-disabled .product-skus-radio__item {
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

.dark-theme.cart-disabled .product-skus-radio__item .skus__sku {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* zhirov Стили для выравнивания цены по правому краю в блоке SKU */
.skus__price{
    font-size: 18px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    text-align: right !important;
    float: none !important;
    color: var(--bs-color, #007bff) !important;
    min-width: 120px !important;
    margin-left: auto !important;
}

/* Скрываем мобильную цену на десктопе */
@media (min-width: 768px) {
    .sku-price-mobile {
        display: none !important;
    }
}

.skus__price .price-wrapper {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 2px !important;
}

.skus__price .price {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--bs-color, #007bff) !important;
}

.skus__price .currency {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--bs-color, #007bff) !important;
}

.skus__price .ruble {
    font-family: 'Arial', sans-serif !important;
    font-weight: 600 !important;
}

/* Стили для элементов артикулов с кнопками "Купить" */
.product-skus-radio__item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.product-skus-radio__list .product-skus-radio__item.hide { display: none !important; }

.product-skus-radio__item:last-child {
    border-bottom: none !important;
}

.product-skus-radio__item .sku-info {
    flex: 1 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.product-skus-radio__item .sku-info .skus__name {
    font-weight: 600 !important;
    color: var(--body-text-color, #333) !important;
    flex: 1 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.product-skus-radio__item .sku-info .skus__sku {
    font-size: 12px !important;
    font-style: italic !important;
}

.product-skus-radio__item .sku-info .skus__price {
    flex: 0 0 auto !important;
    text-align: right !important;
    float: none !important;
}

/* Темная тема для элементов SKU */
.dark-theme .product-skus-radio__item {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .product-skus-radio__item .sku-info .skus__name {
    color: var(--body-text-color, #fff) !important;
}

.dark-theme .product-skus-radio__item .sku-info .skus__sku {
    color: var(--body-text-color, #ccc) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Стили для кнопок "Купить" напротив каждого артикула */
.sku-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    padding: 8px 16px;
    background: var(--button-color-bg, var(--bs-color, #007bff));
    color: var(--bs-bg-color-font, #fff);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 0 0 auto;
    min-height: 36px;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.sku-buy-button:hover {
    background: var(--bs-bg-color, #0056b3);
    color: var(--bs-bg-color-font, #fff);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.sku-buy-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.sku-buy-button:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sku-buy-button.added {
    background: #28a745;
    color: #fff;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

/* Мобильные стили для элементов артикулов */
@media (max-width: 768px) {
    .product-skus-radio__item {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 8px 0 !important;
    }

    /* Стили для первой строки (артикул и название) */
    .product-skus-radio__item .sku-info {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
        flex-wrap: wrap !important;
    }

    .product-skus-radio__item .sku-info .skus__name {
        flex: 1 !important;
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-right: 0 !important;
    }

    .product-skus-radio__item .sku-info .skus__sku {
        font-size: 11px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Скрываем цену в первой строке на мобильных */
    .product-skus-radio__item .sku-info .skus__price,
    .product-skus-radio__item .sku-info .price-wrapper {
        display: none !important;
    }

    /* Стили для второй строки с ценой и кнопкой */
    .sku-price-button-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-top: 0 !important;
        gap: 15px !important;
    }

    /* Стили для цены на мобильных */
    .sku-price-mobile {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: var(--bs-color, #007bff) !important;
        padding: 8px 0 !important;
        background: none !important;
        border: none !important;
        flex: 1 !important;
        text-align: left !important;
    }

    /* Стили для кнопки на мобильных */
    .sku-price-button-row .sku-buy-button,
    .product-skus-radio__item .sku-price-button-row .sku-buy-button {
        flex: 0 0 auto !important;
        width: auto !important;
        min-height: 30px !important;
        height: 30px !important;
        padding: 6px 16px !important;
        background: var(--bs-color, #007bff) !important;
        box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2) !important;
        border: none !important;
        max-width: 150px !important;
    }

    /* Темная тема для цены */
    .dark-theme .sku-price-mobile {
        color: var(--bs-color, #007bff) !important;
    }

    .sku-buy-button {
        font-size: 16px !important;
        border-radius: 10px !important;
        min-height: 30px !important;
        height: 30px !important;
    }

    /* Стили для ссылок "Уведомить о поступлении" на мобильных */
    .product-sku__notify-link,
    .product-tile__notify-link {
        font-size: 16px !important;
        padding: 4px 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: underline !important;
        font-weight: 500 !important;
        color: var(--bs-color, #007bff) !important;
    }

    /* Контейнер для кнопок уведомления на мобильных */
    .product-sku__zero-price-block {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
    }

    .product-sku__zero-price-block .product-sku__title {
        margin: 0 !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .dark-theme .product-skus-radio__item .sku-info .skus__sku {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--body-text-color, #ccc) !important;
    }

    /* Переопределяем стили отключенной корзины для мобильных */
    .cart-disabled .product-skus-radio__item {
        padding: 8px 0 !important;
        gap: 0 !important;
    }

    .cart-disabled .product-skus-radio__item .sku-info {
        gap: 0 !important;
    }

    /* Переопределение стиля корзины для мобильных */
    .product-main__cart {
        padding: 10px !important;
        border-radius: 0 0 30px 30px !important;
        border: 0 1px 1px 1px solid #ebebeb !important;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .product-skus-radio__item {
        padding: 8px 0 !important;
    }

    .product-skus-radio__item .sku-info {
        gap: 8px !important;
    }

    .product-skus-radio__item .sku-info .skus__name {
        font-size: 14px !important;
    }

    .product-skus-radio__item .sku-info .skus__sku {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }

    .sku-buy-button {
        padding: 6px 16px !important;
        min-height: 30px !important;
        height: 30px !important;
        font-size: 15px !important;
    }

    /* Стили для ссылок "Уведомить о поступлении" на очень маленьких экранах */
    .product-sku__notify-link,
    .product-tile__notify-link {
        padding: 4px 0 !important;
        font-size: 15px !important;
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: underline !important;
        font-weight: 500 !important;
        color: var(--bs-color, #007bff) !important;
    }

    /* Контейнер для кнопок уведомления на очень маленьких экранах */
    .product-sku__zero-price-block {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        margin: 0 !important;
    }

    .product-sku__zero-price-block .product-sku__title {
        margin: 0 !important;
        flex: 1 !important;
        min-width: 0 !important;
        font-size: 14px !important;
    }

    /* Переопределяем стили отключенной корзины для очень маленьких экранов */
    .cart-disabled .product-skus-radio__item {
        padding: 8px 0 !important;
        gap: 0 !important;
    }

    .cart-disabled .product-skus-radio__item .sku-info {
        gap: 0 !important;
    }

    /* Переопределение стиля корзины для очень маленьких экранов */
    .product-main__cart {
        padding: 10px !important;
        border-radius: 0 0 30px 30px !important;
        border: 0 1px 1px 1px solid #ebebeb !important;
    }
}




/* Выпадающий список брендов */
.brands-dropdown {
    margin: 30px 0;
    position: relative;
    z-index: 49;
}

/* Уменьшаем отступы для мобильных устройств */
@media (max-width: 768px) {
    .brands-dropdown {
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .brands-dropdown {
        margin: 10px 0;
    }
}

.brands-dropdown__header {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    gap: 20px;
}

/* Уменьшаем отступ снизу для мобильных устройств */
@media (max-width: 768px) {
    .brands-dropdown__header {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .brands-dropdown__header {
        margin-bottom: 10px;
    }
}

.brands-dropdown__hits {
    background: var(--ac-bg-color);
    color: var(--ac-bg-color-font);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}
.brands-dropdown__hits span a {
    text-decoration: none;
}
.brands-dropdown__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.brands-dropdown__letter {
    display: inline-block;
    padding: 6px 10px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.brands-dropdown__letter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.brands-dropdown__letter:hover::before {
    left: 100%;
}

.brands-dropdown__letter:hover,
.brands-dropdown__letter.active {
    background: var(--bs-bg-color);
    color: var(--bs-bg-color-font);
    border-color: var(--bs-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.brands-dropdown__letter.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
}

.brands-dropdown__all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--bs-color);
    color: var(--bs-bg-color-font);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--bs-color);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.brands-dropdown__all:before {
    content: '→';
    font-size: 12px;
    font-weight: bold;
}

.brands-dropdown__all:hover {
    background: var(--bs-bg-color);
    color: var(--bs-bg-color-font);
    border-color: var(--bs-bg-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Убираем стили для активного состояния, так как кнопка теперь просто ссылка */

.brands-dropdown__content {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    max-width: none;
    max-height: 75vh;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    margin-top: 8px;
    background: #fff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.brands-dropdown__content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    z-index: 1002;
}

.brands-dropdown__section {
    display: none;
}

.brands-dropdown__section.active {
    display: block;
}

.brands-dropdown__list {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.brands-dropdown__item {
    display: inline-block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 0 auto;
}

.brands-dropdown__item:hover {
    background: var(--bs-bg-color);
    color: var(--bs-bg-color-font);
    border-color: var(--bs-color);
    text-decoration: none;
}

.brands-dropdown__item:hover {
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
}

/* Темная тема */
.dark-theme .brands-dropdown__header {
    background: var(--wrap-bg-color);
}

.dark-theme .brands-dropdown__letter {
    background: var(--input-bg-color);
    color: var(--body-text-color);
    border-color: var(--input-border-color);
}

.dark-theme .brands-dropdown__letter:hover,
.dark-theme .brands-dropdown__letter.active {
    background: var(--bs-bg-color);
    color: var(--bs-bg-color-font);
    border-color: var(--bs-color);
}

.dark-theme .brands-dropdown__all {
    background: var(--bs-color);
    color: var(--bs-bg-color-font);
    border-color: var(--bs-color);
}

.dark-theme .brands-dropdown__all:hover {
    background: var(--bs-bg-color);
    border-color: var(--bs-bg-color);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.dark-theme .brands-dropdown__content {
    background: var(--popup-bg-color);
    border-color: var(--popup-border-elements);
}

.dark-theme .brands-dropdown__item {
    color: var(--popup-text-color);
    border-color: var(--popup-border-elements);
    background: var(--input-bg-color);
}

.dark-theme .brands-dropdown__item:hover {
    background: var(--bs-bg-color);
    color: var(--bs-bg-color-font);
    border-color: var(--bs-color);
}

/* Индикатор прокрутки для мобильных устройств */
.brands-dropdown__nav {
    position: relative;
}

/* Принудительное отображение в одну строку для мобильных */
@media (max-width: 768px) {
    .brands-dropdown__nav {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
    }
    
    .brands-dropdown__letter {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .brands-dropdown__nav {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
    }
    
    .brands-dropdown__letter {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}

.brands-dropdown__nav::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 0 8px 8px 0;
}

.brands-dropdown__nav.can-scroll::after {
    opacity: 1;
}

.dark-theme .brands-dropdown__nav::after {
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.9));
}

/* Дополнительные стили для темной темы на мобильных */
@media (max-width: 768px) {
    .dark-theme .brands-dropdown__letter {
        background: var(--input-bg-color);
        color: var(--body-text-color);
        border-color: var(--input-border-color);
    }
    
    .dark-theme .brands-dropdown__letter:hover,
    .dark-theme .brands-dropdown__letter.active {
        background: var(--bs-bg-color);
        color: var(--bs-bg-color-font);
        border-color: var(--bs-color);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    }
    
    .dark-theme .brands-dropdown__all {
        background: transparent;
        color: var(--bs-color);
        border-color: var(--bs-color);
    }
    
    .dark-theme .brands-dropdown__all:hover {
        background: var(--bs-color);
        color: var(--bs-bg-color-font);
        border-color: var(--bs-color);
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    }
}

/* Адаптивность для выпадающего списка */
@media (max-width: 768px) {
    .brands-dropdown__header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
        position: relative;
    }
    
    .brands-dropdown__hits {
        align-self: flex-start;
        margin-bottom: 5px;
    }
    
    .brands-dropdown__nav {
        display: flex;
        flex-wrap: nowrap !important; /* Принудительно запрещаем перенос */
        gap: 8px;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding: 4px 0;
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        position: relative;
        min-height: 48px; /* Немного уменьшаем минимальную высоту */
    }
    
    .brands-dropdown__letter {
        scroll-snap-align: center;
        flex-shrink: 0 !important; /* Запрещаем сжатие букв */
        white-space: nowrap !important; /* Запрещаем перенос текста */
    }
    
    .brands-dropdown__nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .brands-dropdown__letter {
        padding: 8px 12px;
        font-size: 16px;
        min-width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0 !important; /* Принудительно запрещаем сжатие */
        border-radius: 8px;
        font-weight: 600;
        touch-action: pan-x;
        -webkit-tap-highlight-color: transparent;
    }
    
    .brands-dropdown__all {
        width: auto;
        text-align: left;
        padding: 7px 10px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 6px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        align-self: flex-start;
        margin-top: 8px;
        margin-left: 0;
        background: transparent;
        color: var(--bs-color);
        border: 1px solid var(--bs-color);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    
    .brands-dropdown__all:hover {
        background: var(--bs-color);
        color: var(--bs-bg-color-font);
        text-decoration: none;
    }
    
    .brands-dropdown__all:before {
        content: '→';
        font-size: 12px;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .brands-dropdown__header {
        padding: 10px;
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
        position: relative;
    }
    
    .brands-dropdown__hits {
        font-size: 13px;
        padding: 8px 16px;
        text-align: center;
        align-self: center;
    }
    
    .brands-dropdown__nav {
        flex-wrap: nowrap !important; /* Принудительно запрещаем перенос */
        gap: 6px;
        padding: 6px 0;
        margin: 0 -10px;
        padding-left: 10px;
        padding-right: 10px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        position: relative;
        min-height: 42px; /* Немного уменьшаем минимальную высоту */
    }
    
    .brands-dropdown__letter {
        scroll-snap-align: center;
        flex-shrink: 0 !important; /* Запрещаем сжатие букв */
        white-space: nowrap !important; /* Запрещаем перенос текста */
    }
    
    .brands-dropdown__letter {
        padding: 6px 10px;
        font-size: 14px;
        min-width: 36px;
        height: 36px;
        border-radius: 6px;
        touch-action: pan-x;
        -webkit-tap-highlight-color: transparent;
        flex-shrink: 0 !important; /* Принудительно запрещаем сжатие */
    }
    
    .brands-dropdown__all {
        font-size: 13px;
        padding: 5px 8px;
        border-radius: 5px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        margin-top: 6px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    
    .brands-dropdown__all:before {
        content: '→';
        font-size: 11px;
        font-weight: bold;
    }
}

.notify-availability-dialog{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:10000;display:none;}
.notify-availability-dialog__inner{background:#fff;max-width:520px;margin:8vh auto;padding:24px;border-radius:4px;}
.notify-availability-dialog__head{font-size:20px;margin-bottom:12px;font-weight:600;}
.notify-availability-dialog__row{margin-bottom:12px;display:flex;flex-direction:column;}
.notify-availability-dialog__row input{height:40px;padding:8px 12px;border:1px solid #ddd;border-radius:4px;}
.notify-availability-dialog__actions{text-align:right;margin-top:16px;}
.product-tile__notify-link{display:inline-block;color:var(--bs-color, #007bff);text-decoration:underline;font-size:14px;font-weight:500;transition:all 0.3s ease;padding:4px 0;position:relative}
.product-sku__notify-link{display:inline-flex;color:var(--bs-color, #007bff);text-decoration:underline;font-size:14px;font-weight:500;transition:all 0.3s ease;padding:4px 0;vertical-align:middle;align-items:center;position:relative}

/* Hover эффекты для ссылок в стиле темы */
.product-tile__notify-link:hover,
.product-sku__notify-link:hover {
    color: var(--bs-color, #007bff);
    text-decoration: none;
    transform: translateY(-1px);
}

.product-tile__notify-link:active,
.product-sku__notify-link:active {
    color: var(--bs-color, #007bff);
    text-decoration: none;
    transform: translateY(0);
}

/* Стили для темной темы */
.dark-theme .product-tile__notify-link,
.dark-theme .product-sku__notify-link {
    color: var(--bs-color, #007bff);
}

.dark-theme .product-tile__notify-link:hover,
.dark-theme .product-sku__notify-link:hover {
    color: var(--bs-color, #007bff);
    border-bottom-color: var(--bs-color, #007bff);
}

/* Контейнер для кнопок уведомления - выравнивание с кнопками "В корзину" */
.product-sku__zero-price-block {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-sku__zero-price-block .product-sku__title {
    margin: 0;
    flex: 1;
    min-width: 0;
}

/* Стили для статического баннера */
.static-banner{
    position: relative;
    margin: 0 -20px 70px -20px;
    width: calc(100% + 40px);
}

.static-banner .slider-banner{
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
}

.static-banner .slider-item{
    opacity: 1 !important;
    width: 100%;
    margin: 0;
    flex: 1 0 auto;
    display: inline-flex;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: none;
}

.static-banner .slider-banner .slider-item{
    flex: 1 1 auto;
    width: 100%;
}

.static-banner .slider-banner .slider-item img,
.static-banner .slider-banner .slider-item picture{
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.static-banner .slider-banner .slider-item .slider-promo,
.static-banner .slider-banner .slider-item .slider-photo,
.static-banner .slider-banner .slider-item .slider-product{
    width: 100%;
    max-width: 100%;
    display: block;
}

.static-banner .slider-banner .slider-item .slider-promo__image,
.static-banner .slider-banner .slider-item .slider-photo__image,
.static-banner .slider-banner .slider-item .slider-product__image{
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1024px){
    .static-banner{
        margin: 0 0 50px 0;
        width: 100%;
    }
    
    .static-banner .slider-item{
        border-radius: 15px;
    }
}

@media (max-width: 359px){
    .static-banner{
        margin: 0 0 50px 0;
        width: 100%;
    }
    
    .static-banner .slider-item{
        border-radius: 10px;
    }
}