@media (max-width: 1199.98px) {
    .header-nav {
        position: relative;
        z-index: 10000;
    }

    .header-nav .navbar {
        min-height: 74px;
    }

    .header-nav .navbar-brand {
        max-width: calc(100% - 66px);
    }

    .header-nav .navbar-brand img {
        width: auto;
        max-width: 180px;
        height: 56px;
    }

    .header-nav .navbar-toggler {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(40, 40, 50, .1);
        border-radius: 10px !important;
        box-shadow: 0 5px 16px rgba(40, 40, 50, .08);
    }

    .header-nav .navbar-collapse {
        top: 80px;
        width: calc(100% - 24px);
        max-height: calc(100dvh - 96px);
        padding: 12px;
        border: 1px solid rgba(250, 176, 40, .22);
        border-radius: 16px;
        left: 12px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 22px 55px rgba(40, 40, 50, .18);
        -webkit-overflow-scrolling: touch;
    }

    .header-nav .navbar .navbar-nav {
        width: 100%;
        margin: 0;
        gap: 3px;
    }

    .header-nav .navbar .nav-item {
        width: 100%;
    }

    .header-nav .navbar .nav-link {
        position: relative;
        display: flex;
        width: 100%;
        min-height: 46px;
        align-items: center;
        padding: 11px 14px !important;
        border-radius: 10px;
        color: #282832;
        font-size: 15px;
        font-weight: 650;
        line-height: 1.25;
        transition: color .2s ease, background-color .2s ease, transform .2s ease;
    }

    .header-nav .navbar .nav-link:hover,
    .header-nav .navbar .nav-link:focus,
    .header-nav .navbar .nav-item.active > .nav-link {
        color: #282832;
        background: rgba(250, 176, 40, .15);
        text-decoration: none;
    }

    .header-nav .navbar .nav-item.active > .nav-link::before {
        width: 4px;
        height: 20px;
        margin-right: 9px;
        border-radius: 4px;
        background: #fab028;
        content: "";
    }

    .header-nav .navbar .dropdown-toggle {
        padding-right: 46px !important;
    }

    .header-nav .navbar .dropdown-toggle::after {
        position: absolute;
        top: 50%;
        right: 17px;
        display: block;
        width: 8px;
        height: 8px;
        margin: -6px 0 0;
        border: 0;
        border-right: 2px solid #8c742f;
        border-bottom: 2px solid #8c742f;
        content: "";
        transform: rotate(45deg);
        transition: transform .2s ease, margin .2s ease;
    }

    .header-nav .navbar .dropdown.show > .dropdown-toggle::after {
        margin-top: -2px;
        transform: rotate(225deg);
    }

    .header-nav .navbar .dropdown-menu {
        width: 100%;
        max-height: 42vh;
        margin: 3px 0 7px;
        padding: 5px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid rgba(250, 176, 40, .18);
        border-radius: 10px;
        background: #fffaf0;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
        -webkit-overflow-scrolling: touch;
    }

    .header-nav .navbar .dropdown-item {
        display: flex;
        min-height: 42px;
        align-items: center;
        padding: 9px 12px;
        border-bottom: 1px solid rgba(40, 40, 50, .06);
        border-radius: 7px;
        color: #3a3a43;
        font-size: 14px;
        font-weight: 550;
        line-height: 1.25;
        white-space: normal;
    }

    .header-nav .navbar .dropdown-item:last-child {
        border-bottom: 0;
    }

    .header-nav .navbar .dropdown-item:hover,
    .header-nav .navbar .dropdown-item:focus,
    .header-nav .navbar .dropdown-item.active {
        color: #282832;
        background: rgba(250, 176, 40, .19);
    }

    .header-nav .navbar-button {
        width: 100%;
        margin: 10px 0 0;
        padding-top: 10px;
        border-top: 1px solid rgba(40, 40, 50, .08);
    }

    .header-nav .navbar-button a,
    .header-nav .navbar-button .btn {
        display: block;
        width: 100%;
    }

    .header-nav .navbar-button .btn {
        min-height: 48px;
        border-radius: 12px;
        color: #282832;
        background: linear-gradient(110deg, #f8a812, #ffd66b);
        box-shadow: 0 8px 20px rgba(250, 176, 40, .2);
        font-size: 15px;
        font-weight: 750;
    }
}

@media (max-width: 359.98px) {
    .header-nav .navbar-brand img {
        max-width: 155px;
        height: 50px;
    }

    .header-nav .navbar-collapse {
        top: 75px;
    }
}
