:root {
    --mh-navy: #172450;
    --mh-navy-soft: #22346d;
    --mh-gold: #ecd9a9;
    --mh-cream: #fff7e8;
    --mh-line: #d6dde6;
}

table.mh-modern-header {
    background: #1c2b5d !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0;
    border: 0;
    box-shadow: 0 2px 8px rgba(20, 34, 72, 0.10);
    overflow: visible;
}

table.mh-modern-header td {
    color: var(--mh-cream);
}

.mh-modern-header > tbody > tr:nth-child(2) > td {
    padding-top: 14px;
    padding-bottom: 14px;
}

.mh-modern-header .mh-nav-cell {
    padding: 0 24px;
}

.mh-modern-header :is(.mh-brand-cell, .mh-tools-cell) {
    width: 1%;
    white-space: nowrap;
}

.mh-modern-header .mh-brand-cell {
    padding-left: 28px;
    text-align: left;
}

.mh-modern-header .mh-tools-cell {
    padding-right: 28px;
    text-align: right;
}

.mh-brand-logo {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 0;
}

.mh-brand-logo img {
    display: block;
    max-width: 230px;
    height: auto;
    vertical-align: middle;
}

.mh-modern-header .mh-brand-cell,
.mh-modern-header .mh-nav-cell,
.mh-modern-header .mh-tools-cell {
    vertical-align: middle;
}

.mh-nav-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    overflow: visible;
}

.mh-nav-row > a.headerhype {
    flex: 0 0 auto;
    justify-content: center;
}

a.headerhype {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 2px !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--mh-cream) !important;
    font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    line-height: 1 !important;
    text-transform: none;
    text-decoration: none !important;
    transition: color 0.2s ease;
    white-space: nowrap;
}

a.headerhype::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 2px;
    background: var(--mh-gold);
    transition: left 0.2s ease, right 0.2s ease;
}

a.headerhype:hover {
    background: transparent;
    color: var(--mh-gold) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

a.headerhype:hover::after,
a.headerhype.is-active::after {
    left: 0;
    right: 0;
}

a.headerhype.is-active {
    color: var(--mh-gold) !important;
}

.mh-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--mh-cream) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.mh-header-phone i {
    font-size: 11px;
    color: var(--mh-gold);
}

.mh-header-phone:hover {
    color: var(--mh-gold) !important;
    text-decoration: none;
    background: rgba(226, 187, 116, 0.08);
}

.mh-header-phone-text {
    line-height: 1;
}

.mh-account-menu {
    position: relative;
    margin-left: 0;
    flex: 0 0 auto;
}

.mh-account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    min-width: 210px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--mh-line);
    background: #fff;
    box-shadow: 0 12px 32px -12px rgba(23, 36, 80, 0.35),
                0 2px 8px rgba(23, 36, 80, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0.12s;
}

.mh-account-dropdown::before {
    content: "";
    position: absolute;
    top: -14px;
    right: 0;
    left: 0;
    height: 14px;
    background: transparent;
}

.mh-account-menu:hover .mh-account-dropdown,
.mh-account-menu:focus-within .mh-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.mh-account-dropdown::after {
    content: "";
    position: absolute;
    top: -6px;
    right: 14px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-top: 1px solid var(--mh-line);
    border-left: 1px solid var(--mh-line);
    transform: rotate(45deg);
}

.mh-account-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--mh-navy) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease;
}

.mh-account-item + .mh-account-item {
    margin-top: 2px;
}

.mh-account-item:hover,
.mh-account-item:focus-visible {
    background: rgba(236, 217, 169, 0.35);
    color: var(--mh-navy) !important;
    text-decoration: none !important;
}

.mh-account-item > i,
.mh-account-item > .fa,
.mh-account-item > .fas,
.mh-account-item > .far,
.mh-account-item > .fa-regular,
.mh-account-item > .fa-solid {
    color: var(--mh-navy-soft);
    font-size: 13px;
    width: 14px;
    text-align: center;
}

.mh-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.mh-cart-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.mh-cart-hidden {
    display: none;
}

.mh-cart-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    border: 0;
    color: var(--mh-cream) !important;
    text-decoration: none;
}

.mh-cart-pill-link:hover {
    text-decoration: none;
}

.mh-cart-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.mh-cart-icon {
    font-size: 15px;
}

.mh-cart-badge {
    position: absolute;
    right: -5px;
    bottom: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--mh-gold);
    color: var(--mh-navy) !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(10, 18, 45, 0.22);
}

.mh-account-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mh-account-tool:hover {
    text-decoration: none;
}

.mh-account-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.mh-account-icon {
    font-size: 13px;
    color: var(--mh-cream);
}

.mh-cart-box .mh-cart-pill-meta {
    display: none;
}

.mh-cart-pill-link:hover .mh-cart-icon-wrap,
.mh-account-tool:hover .mh-account-icon-wrap,
.mh-account-menu:focus-within .mh-account-icon-wrap {
    background: rgba(255, 255, 255, 0.18);
}

.mh-cart-extra a {
    color: var(--mh-cream) !important;
    font-size: 10px;
    line-height: 1.2;
    opacity: 0.82;
}

@media (max-width: 1188px) {
    .mh-modern-header .mh-brand-cell {
        padding-left: 18px;
    }

    .mh-modern-header .mh-tools-cell {
        padding-right: 18px;
    }
}

@media (max-width: 1024px) {
    table.mh-modern-header > tbody > tr:nth-child(2) > td {
        display: block;
        width: auto !important;
    }

    .mh-modern-header .area_top {
        padding: 20px 24px 4px;
    }

    .mh-modern-header > tbody > tr:nth-child(2) > td:last-child {
        padding: 0 24px 12px;
    }
}

@media (max-width: 720px) {
    .mh-nav-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .mh-nav-row > a.headerhype {
        flex: 0 0 auto;
        justify-content: center;
    }

    .mh-header-tools {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
