/*
 * HMB isolation CSS.
 * Скасовує конкретні WP reset стилі що конфліктують з HB меню.
 */

/* Скасувати WP reset для кнопок - border #c36, color #c36 */
.hmb-wrapper button,
.hmb-wrapper [type="button"],
.hmb-wrapper [type="submit"],
.hmb-wrapper [type="reset"] {
    background-color: unset !important;
    border: unset !important;
    border-radius: unset !important;
    color: unset !important;
    font-size: unset !important;
    font-weight: unset !important;
    padding: unset !important;
    text-align: unset !important;
    transition: unset !important;
    white-space: unset !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Скасувати WP reset hover/focus стани кнопок */
.hmb-wrapper button:hover,
.hmb-wrapper button:focus,
.hmb-wrapper [type="button"]:hover,
.hmb-wrapper [type="button"]:focus,
.hmb-wrapper [type="submit"]:hover,
.hmb-wrapper [type="submit"]:focus {
    background-color: unset !important;
    color: unset !important;
    text-decoration: none !important;
}

/* Скасувати WP reset для посилань - тільки прибрати обводку, не чіпати колір/шрифт */
.hmb-wrapper a,
.hmb-wrapper a:hover,
.hmb-wrapper a:focus,
.hmb-wrapper a:visited {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Бургер - показувати тільки на мобільних як в HB */
.hmb-wrapper .navbar-toggler,
.hmb-wrapper .top-nav__burger,
.hmb-wrapper [class*="toggler"],
.hmb-wrapper [class*="burger"],
.hmb-wrapper [class*="hamburger"] {
    display: none !important;
}

@media (max-width: 991.98px) {
    .hmb-wrapper .navbar-toggler,
    .hmb-wrapper .top-nav__burger,
    .hmb-wrapper [class*="toggler"],
    .hmb-wrapper [class*="burger"],
    .hmb-wrapper [class*="hamburger"] {
        display: flex !important;
    }
}

/* SVG іконки - відновити видимість після all: revert */
.hmb-wrapper svg,
.hmb-wrapper svg * {
    visibility: visible !important;
    opacity: 1 !important;
}


.hmb-wrapper,
.hmb-wrapper * {
    font-family: 'Inter', 'DM Sans', sans-serif !important;
}

