.topbar-shell {
    background-color: var(--brand-red, #df1217);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
    position: relative;
    z-index: 30;
}

.topbar {
    margin-bottom: 0;
    height: 70px;
    border: 0;
    border-radius: 0;
    background-color: transparent !important;
    position: relative;
    z-index: 31;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 70px;
}

.topbar-brand {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.topbar .navbar-header {
    display: flex;
    align-items: center;
    height: 70px;
    float: none;
}

.topbar .navbar-brand {
    float: none;
    display: flex;
    align-items: center;
    height: 44px;
    margin: 0;
    padding: 0;
    font-size: 18px !important;
    line-height: 1;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0;
}

.topbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
    padding-left: 12px;
    background: transparent !important;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.topbar-nav > li {
    float: none;
}

.topbar-nav > li > a {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    line-height: 1;
}

.topbar-nav > li > a:hover,
.topbar-nav > li > a:focus {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

.topbar-nav > .activ > a,
.topbar-nav > .activ > a:hover,
.topbar-nav > .activ > a:focus {
    background: var(--brand-navy, #211952) !important;
    color: #ffffff !important;
}

.topbar-nav .dropdown-menu {
    min-width: 250px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid rgba(20, 33, 61, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(20, 33, 61, 0.10);
    z-index: 40;
}

.topbar-nav .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    color: #24324a !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.topbar-nav .dropdown-menu > li > a:hover {
    background: rgba(33, 25, 82, 0.06) !important;
    color: var(--brand-red, #df1217) !important;
}

.topbar-nav .dropdown-menu > li:first-child > a {
    margin-bottom: 4px;
    background: rgba(223, 18, 23, 0.08);
    color: var(--brand-red, #df1217) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar-nav .dropdown-menu img {
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.08);
}

.topbar-nav .caret {
    margin-left: 6px;
}

.topbar-nav .glyphicon {
    margin-right: 6px;
}

.topbar .changecoul:hover {
    color: #ffffff;
}

.topbar-globe {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.topbar-globe img {
    width: 26px;
}

.topbar-search {
    display: flex;
    align-items: center;
    height: 44px;
    margin: 0;
    flex: 0 0 auto;
}

.topbar-search .input-group {
    width: 236px;
    height: 44px;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(20, 33, 61, 0.05);
    background: white;
}

.topbar-search .form-control {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 18px;
    border: 0;
    font-size: 14px;
    color: #4b5563;
    background: #fff;
    box-shadow: none;
}

.topbar-search .form-control::placeholder {
    color: #9aa3b2;
}

.topbar-search .input-group-btn {
    display: flex;
    flex: 0 0 64px;
    width: 64px;
    position: static;
}

.topbar-search .btn-success {
    width: 64px;
    height: 44px;
    min-width: 64px;
    padding: 0;
    border: 0;
    border-radius: 0 18px 18px 0;
    background: var(--brand-navy, #211952) !important;
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: none;
}

.topbar-search .btn-success:hover,
.topbar-search .btn-success:focus {
    background: #2c2170 !important;
}

.topbar .navbar-toggle {
    border: 0;
    border-radius: 14px;
    background-color: rgba(33, 25, 82, 0.95) !important;
    padding: 12px 13px;
    margin-right: 0;
}

.topbar .navbar-toggle .icon-bar {
    background-color: #ffffff;
    width: 24px;
    height: 3px;
    border-radius: 999px;
}

.topbar .navbar-toggle:hover,
.topbar .navbar-toggle:focus {
    background-color: #2c2170 !important;
}

.subnav-wrapper {
    background-color: #f8f9fe;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
    position: relative;
    z-index: 10;
}

.subnav {
    background-color: #f8f9fe;
    border: 0;
    margin-bottom: 0;
    min-height: 49px;
}

.subnav .navbar-header {
    display: flex;
    align-items: center;
}

.subnav .navbar-brand {
    color: var(--brand-navy, #211952) !important;
    text-decoration: none;
    font-size: 14px;
    height: auto;
    line-height: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.subnav-links {
    float: right;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.subnav-links > li {
    float: none;
}

.subnav-links > li > a {
    color: var(--brand-navy, #211952) !important;
    font-size: 12px;
    line-height: 20px;
    padding: 15px 12px;
    display: block;
    text-decoration: none;
}

.subnav-links > li > a:hover,
.subnav-links > li > a:focus {
    background-color: transparent;
    color: var(--brand-red, #df1217) !important;
}

.mobile-info-bar {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 13px;
    line-height: 1.35;
    color: #4b5563;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.mobile-info-bar .container {
    height: auto !important;
    padding: 0;
    font-size: inherit !important;
    line-height: inherit;
    text-align: center;
}

@media (max-width: 1199px) {
    .topbar .container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 0;
    }

    .topbar-collapse {
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 0;
        row-gap: 10px;
    }

    .topbar-search .input-group {
        width: 236px;
    }

    .topbar-search .form-control {
        width: auto;
        flex: 1 1 auto;
    }
}

@media (max-width: 767px) {
    .topbar {
        height: auto;
        min-height: 78px;
    }

    .topbar .container {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    .topbar .navbar-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 18px;
        min-height: 78px;
        padding: 0 18px;
    }

    .topbar .navbar-toggle {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 0;
        border: 0;
        border-radius: 16px;
        background: #211952 !important;
        padding: 14px 15px;
        box-shadow: 0 10px 24px rgba(33, 25, 82, 0.18);
    }

    .topbar .navbar-toggle .icon-bar {
        background: #fff;
        width: 24px;
        height: 3px;
        border-radius: 999px;
    }

    .topbar-brand {
        flex: 1;
        min-width: 0;
    }

    .topbar .navbar-brand {
        width: 100%;
        justify-content: center;
        padding-right: 58px;
        font-size: 25px !important;
    }

    .custom-burger {
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 8px;
        background: #211952;
        position: relative;
        padding: 0;
        cursor: pointer;
    }

    .custom-burger span {
        position: absolute;
        left: 9px;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: 0.25s ease;
    }

    .custom-burger span:nth-child(1) {
        top: 12px;
    }

    .custom-burger span:nth-child(2) {
        top: 19px;
    }

    .custom-burger span:nth-child(3) {
        top: 26px;
    }

    .custom-burger.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 19px;
    }

    .custom-burger.open span:nth-child(2) {
        opacity: 0;
    }

    .custom-burger.open span:nth-child(3) {
        transform: rotate(-45deg);
        top: 19px;
    }

    .topbar-collapse {
        display: none !important;
        width: 100%;
        background: #ffffff !important;
        border-radius: 18px;
        padding: 14px;
        margin-top: 10px;
        box-shadow: 0 14px 34px rgba(20, 33, 61, 0.10);
    }

    .topbar-collapse.collapse {
        display: none !important;
    }

    .topbar-collapse.in {
        display: block !important;
    }

    .topbar-nav {
        display: block;
        width: 100%;
    }

    .topbar-nav > li {
        width: 100%;
    }

    .topbar-nav > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px !important;
        border-radius: 12px;
        font-size: 14px;
        color: var(--brand-navy, #211952) !important;
    }

    .topbar-nav > li > a:hover,
    .topbar-nav > li > a:focus {
        background: rgba(33, 25, 82, 0.06) !important;
        color: var(--brand-red, #df1217) !important;
    }

    .topbar-nav > .activ > a,
    .topbar-nav > .activ > a:hover,
    .topbar-nav > .activ > a:focus {
        background: var(--brand-navy, #211952) !important;
        color: #ffffff !important;
    }

    .topbar-collapse .changecoul,
    .topbar-collapse .caret {
        color: inherit;
    }

    .topbar-collapse .dropdown-menu > li > a,
    .topbar-collapse .dropdown-menu .changecoul {
        color: #24324a !important;
    }

    .topbar-nav .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 6px;
        border-radius: 8px;
        box-shadow: none;
    }

    .topbar-search {
        width: 100%;
        height: auto;
        margin-top: 12px;
    }

    .topbar-search .input-group {
        width: 100%;
        display: flex;
        height: 46px;
        border-radius: 16px;
    }

    .topbar-search .form-control {
        width: 100%;
        padding: 0 16px;
        font-size: 15px;
    }

    .topbar-search .input-group-btn {
        flex: 0 0 88px;
        width: 88px;
    }

    .topbar-search .btn-success {
        width: 88px;
        min-width: 88px;
        padding: 0;
        border-radius: 0 16px 16px 0;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .topbar .navbar-header {
        gap: 14px;
        min-height: 74px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .topbar .navbar-toggle {
        padding: 12px 13px;
    }

    .topbar .navbar-brand {
        font-size: 25px !important;
        padding-right: 44px;
    }

    .topbar-nav > li > a {
        font-size: 13px;
    }
}
