/* --- Соцсети: MAX --- */
.socials-entry.max-messenger .caption {
    display: none !important;
}

.socials-entry.max-messenger:before {
    content: "" !important;
    display: block !important;
    background: url('/images/max-icon.svg') 50% no-repeat !important;
    background-size: contain !important;
    height: 2.4rem !important;
    width: 2.4rem !important;
    transition: all .25s ease;
}

/* При наведении делаем иконку синей (используем фильтр для смены цвета с черного на #0c8fc7) */
.socials-entry.max-messenger:hover:before {
    filter: invert(41%) sepia(85%) saturate(1900%) hue-rotate(170deg) brightness(95%) contrast(90%) !important;
}

@media (max-width: 1024px) {
    .socials-entry.max-messenger:before {
        height: 1.6rem !important;
        width: 1.6rem !important;
    }
}

/* --- Кнопка Согласен для Cookies --- */
.cookie-notify__accept {
    background: #202537; /* Темно-синий цвет, как в футере */
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    transition: background-color 0.25s ease;
}

.cookie-notify__accept:hover {
    background: #0c8fc7; /* Синий цвет при наведении */
}

/* Скрываем блок с упаковкой груза (flag_1) */
fieldset.form-fieldset:has(input[name*="flag_1"]) {
    display: none !important;
}