/* Выпадающее меню */
.menu_catalog {
    position: absolute; /* Под хедером */
    top: 100%; /* Под хедером */
    left: 0;
    max-height: 480px; /* Ограничиваем высоту меню */
    background-color: #fffffff2;
    color: #000;
    overflow-y: auto; /* Добавляем вертикальную прокрутку */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

/* Показать блок каталога */
.menu_catalog.open {
    opacity: 1;
    visibility: visible;
}

/* Стили для внутреннего контента */
.menu_catalog .container {
    justify-content: center;
}

.menu_catalog h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.menu_catalog .cat_links a {
    display: block;
    margin-bottom: 8px;
    padding: 7px 5px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.menu_catalog .cat_links a:hover {
    color: #aaa; /* Эффект наведения */
}

/* Скрываем хедер при скролле */
.site_header.hide-header {
    transform: translateY(-100%); /* Сдвигаем хедер вверх */
    transition: transform 0.3s linear;
}
.cart-header {
    position: relative;
}
.site_header.hide-header .cart-header .cart-items-count {
    opacity: 0; /* Скрываем количество товаров */
}
.site_header.hide-header .cart-header svg {
    opacity: 0; /* Скрываем иконки */
}
.site_header .menu-icon {
    display: none;
    cursor: pointer;
    line-height: 1;
    font-size: 30px;
}

/* Позиция иконок меню и корзины */
.header-icons {
    position: fixed;
    display: none;
    top: 15px;
    z-index: 1000;
}

.header-icons.show-icons {
    position: fixed;
    display: flex;
    right: 15px;
    top: 14px;
    align-items: center;
    gap: 15px;
}

.header-icons .menu-icon {
    position: relative;
    top: -5px;
}

#cart-toggle {
    border: none;
}
#cart-toggle > svg {
    width: 24px;
    height: 24px;
    stroke: #000;
}

.header-icons.show-icons svg {
    height: 24px;
    width: 24px;
}

.header-icons .menu-icon,
.header-icons .cart-toggle {
    cursor: pointer;
    color: #000;
    font-size: 30px;
    line-height: 1;
}
@media(max-width: 991px) {
    .site_header .brand .description {
        display: none;
    }
    .site_header .menu-icon {
        display: block;
    }
}
