.header__left {
    position: relative;
}
  
.header__logo--wrap {
    display: flex;
    align-items: center;
}

.header__logo-btn {
    margin-left: 12px;
    cursor: pointer;
}

.header__logo-btn-img {
    display: block;
    width: 30px;
    height: auto;
    max-width: 100%;
    transition: .2s;
}

.header__logo-btn.is-active .header__logo-btn-img {
    transform: rotate(180deg);
}

.header__left .cities_dd {
    position: absolute;
    display: flex;
    width: 450px;
    z-index: 99;
    top: 100%;
    background: #323967;
    flex-direction: column;
    justify-content: space-between;
    padding: 21px 18px;
    transition: .4s;

    opacity: 0;
    visibility: hidden;
    transform: translateY(32px);
}

.header__left .cities_dd.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__left .cities_dd a{
    color:#ffffff85;
    transition: all 0.2s ease-in-out;
}

.header__left .cities_dd a:hover{
    color:#fff;
}
.item__left .item__images .item__image.swiper-slide .product-item__images-btn {
    position: absolute;
    top: 0;
    border-radius: 0;
}
/* Баннер согласия на куки */
.cookie-banner {
    box-sizing: border-box;
    position: fixed;
    /* Вместо bottom: 0 используем жесткую привязку, учитывающую безопасную зону мобилок */
    bottom: env(safe-area-inset-bottom, 0px);
    left: 0;
    right: 0;
    background: #1e233f;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2147483647;
    font-family: inherit;
    font-size: 14px;
    color: #ffffff;

    /* Исправляет баг пересчета координат при скрытии панели адреса */
    will-change: transform;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

/* Показанное состояние */
.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
}

.cookie-banner p {
    margin: 0;
    padding: 0;
}

.cookie-banner a {
    color: #3b82f6;
    text-decoration: underline;
}

.cookie-btn {
    position: relative;
    background: transparent;
    border: 1px solid #3b82f6;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    padding: 8px 24px;
    color: #3b82f6;
    font-weight: 600;
    outline: none;
    white-space: nowrap; /* Запрет переноса текста в кнопке */
}

.cookie-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(59, 130, 246, 0.15);
    width: 100%;
    z-index: 1;
}

.cookie-banner.is-visible .cookie-btn-bg {
    animation: shrinkBg 7s linear forwards; /* Таймер для отладки */
}

@keyframes shrinkBg {
    from { width: 100%; }
    to { width: 0%; }
}

.cookie-btn-text {
    position: relative;
    z-index: 2;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        padding: 15px;
        text-align: center;
        gap: 12px;
    }
    .cookie-btn {
        width: 100%;
    }
}