/* ===== КНОПКА ===== */

.header-menu__button {
    width: 170px;
    height: 40px;
    /*background: #282e6a;*/
    background: #167f2b;
    border-radius: 999px;
    /*border: none;*/
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    cursor: pointer;
    transition: 0.2s;

    /* Добавьте это, чтобы убрать любую тень */
    box-shadow: none !important; 
    outline: none;    
}

.header-menu__button:hover {
    /*background: #343c85;*/
    background: #459d57;
}

/* текст */
.header-menu__text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    letter-spacing: normal; 
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    padding-bottom:5px;
}

/* бургер */
.header-menu__burger {
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
}

.header-menu__burger::before,
.header-menu__burger::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    left: 0;
    transition: 0.2s;
}

.header-menu__burger::before {
    top: -6px;
}

.header-menu__burger::after {
    top: 6px;
}

/* крестик */
.header-menu__button.active .header-menu__burger {
    background: transparent;
}

.header-menu__button.active .header-menu__burger::before {
    transform: rotate(45deg);
    top: 0;
}

.header-menu__button.active .header-menu__burger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* стрелка */
.header-menu__arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    transition: 0.2s;
}

.header-menu__button.active .header-menu__arrow {
    transform: rotate(180deg);
}


/* --- ЕДИНЫЙ СТИЛЬ ШАПКИ (v2gh-) --- */

/* 1. Основной контейнер */
.v2gh-sticky-container {
    background: #167f2b;
    position: sticky;
    top: 0;
    z-index: 100000;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
    padding: 5px 0;
}

@media (max-width: 600px) {
    .v2gh-sticky-container {
        display: none !important;
    }
}

.v2gh-line {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    height: 40px !important;
    gap: 15px;
}

/* 2. Логотип */
.v2gh-logo {
    flex: 0 0 200px; 
    height: 40px; 
    display: flex;
    align-items: center; 
    justify-content: center;
    text-decoration: none;
}

.v2gh-logo-img {
    height: 50px; 
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* 5. Общие блоки */
.v2gh-t-block-t,
.v2gh-m-block-m {
    height: 30px; 
    display: flex;
    align-items: center;    /* Центрирование по вертикали */
    justify-content: flex-end; /* Прижимает содержимое вправо */
    flex: 0 0 auto;         /* Убрали фиксированные 10px, чтобы влезла иконка */
}

/* Стили для самих иконок */
.v2gh-t-img-t {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: all 0.3s ease; /* Плавность для тени и увеличения */
    cursor: pointer;
    margin: 0; 
}



.v2gh-m-img-m {
    height: 25px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: all 0.3s ease; /* Плавность для тени и увеличения */
    cursor: pointer;
    margin-right: 20px; 
}



/* Эффекты при наведении (Hover) */
.v2gh-t-img-t:hover,
.v2gh-m-img-m:hover {
    transform: scale(1.2); /* Увеличение на 20% */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)); /* Тень (свечение) для SVG */
    animation: shake 0.5s ease-in-out infinite; /* Запуск покачивания */
}

/* Анимация покачивания */
@keyframes shake {
    0% { transform: scale(1.2) rotate(0deg); }
    25% { transform: scale(1.2) rotate(5deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    75% { transform: scale(1.2) rotate(-5deg); }
    100% { transform: scale(1.2) rotate(0deg); }
}

@media (max-width: 951px) {
    .v2gh-phone-img {
        display: none !important;
    }
}


/* 3. Центр */
.v2gh-line-middle {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 910px;
    height: 40px;
    min-width: 0;
    padding: 0 50px;
}

@media (max-width: 951px) {
    .v2gh-line-middle {
        padding: 0 0px !important;
    }
}

/* Только позиционирование кнопки (стили внешнего вида в другом вашем файле) */
.v2gh-catalog-btn-fixed {
    flex: 0 0 170px !important;
    margin: 0 !important;
}

/* 4. Навигация (Упрощенная структура без ul/li) */
.v2gh-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 25px);
    height: 40px;
}

@media (max-width: 951px) {
    .v2gh-nav-links {
        display: none !important;
    }
}


.v2gh-nav-item {
    color: white;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 400;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
    transition: opacity 0.2s;
}

.v2gh-nav-item:hover {
    opacity: 0.8;
}


.v2gh-t-link {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    line-height: 1;
}

@media (max-width: 659px) {
    .v2gh-t-link  {
        font-size: 18px !important;
    }
}

.v2gh-t-link.v2gh-js-t {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
    transition: all 0.3s ease;
}
