.ml-site-header,
.ml-site-header * {
    box-sizing: border-box;
    font-family: inherit;
}

/* Force icon fonts */
.ml-site-header .feather-menu,
.ml-site-header .feather-x,
.ml-site-header [class^="feather-"],
.ml-site-header [class*=" feather-"] {
    font-family: feather !important;
}

.ml-site-header [class^="jvic-"],
.ml-site-header [class*=" jvic-"] {
    font-family: jv-icons !important;
}

.ml-site-header {
    --ml-blue: #1e293b;
    --ml-gold: #f06292;
    --ml-gold-hover: #e91e63;
    --ml-gold-text: #64748b;
    --ml-navy: #1e293b;

    --ml-logo-width: 135px;
    --ml-logo-column: 150px;
    --ml-column-gap: 24px;

    --ml-tagline-size: 13px;
    --ml-action-label-size: 10px;
    --ml-action-button-size: 13px;
    --ml-action-button-height: 34px;
    --ml-action-button-padding: 12px;
    --ml-login-width: 105px;

    --ml-nav-size: 13px;
    --ml-nav-height: 36px;
    --ml-nav-gap-top: 10px;

    background: #ffffff;
    color: #334155;
    font-family: inherit;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid #eef2f7;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.ml-site-header a {
    text-decoration: none;
}

.ml-site-header__inner {
    display: grid;
    grid-template-columns: var(--ml-logo-column) minmax(0, 1fr);
    column-gap: var(--ml-column-gap);
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0;
    position: relative;
}

.ml-site-header__logo {
    display: block;
    width: var(--ml-logo-width);
    max-width: 100%;
    align-self: center;
}

.ml-site-header__logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ml-site-header__desktop {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ml-site-header__top {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.ml-site-header__tagline,
.ml-site-header__panel-tagline {
    margin: 0;
    color: #475569;
    font-size: var(--ml-tagline-size);
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    max-width: 420px;
}

.ml-site-header__tagline span,
.ml-site-header__panel-tagline span {
    display: inline;
}

.ml-site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    white-space: nowrap;
}

.ml-site-header__action {
    display: grid;
    gap: 5px;
}

.ml-site-header__action-label {
    color: #64748b;
    font-size: var(--ml-action-label-size);
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.ml-site-header__action-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
    margin: 0 2px;
}

.ml-site-header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--ml-action-button-height);
    padding: 0 var(--ml-action-button-padding);
    color: #1e293b;
    font-size: var(--ml-action-button-size);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ml-site-header__button:hover,
.ml-site-header__button:focus {
    color: #0f172a;
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.ml-site-header__button--login {
    min-width: var(--ml-login-width);
    border: none;
    border-radius: 8px;
    background: var(--ml-gold);
    color: #ffffff;
    margin-left: 4px;
}

.ml-site-header__button--login svg {
    color: rgba(255, 255, 255, 0.85);
}

.ml-site-header__button--login:hover,
.ml-site-header__button--login:focus {
    background: var(--ml-gold-hover);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(233, 30, 99, 0.22);
}

.ml-site-header__nav {
    margin-top: var(--ml-nav-gap-top);
}

.ml-site-header__menu,
.ml-site-header__mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ml-site-header__nav .ml-site-header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--ml-nav-height);
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
    gap: 6px;
}

.ml-site-header__nav .menu-item {
    position: relative;
    flex: 0 1 auto;
    margin: 0;
}

.ml-site-header__nav .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    color: #475569;
    font-size: var(--ml-nav-size);
    font-weight: 500;
    line-height: 1;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ml-site-header__nav .menu-item a:hover,
.ml-site-header__nav .menu-item a:focus {
    color: #0f172a;
    background: #f8fafc;
}

.ml-site-header__nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    min-width: 220px;
    margin: 8px 0 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.ml-site-header__nav .menu-item:hover > .sub-menu,
.ml-site-header__nav .menu-item:focus-within > .sub-menu {
    display: block;
}

.ml-site-header__nav .sub-menu .menu-item {
    display: block;
    width: 100%;
}

.ml-site-header__nav .sub-menu a {
    justify-content: flex-start;
    height: auto;
    padding: 10px 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    border-radius: 8px;
}

.ml-site-header__nav .sub-menu a:hover,
.ml-site-header__nav .sub-menu a:focus {
    color: var(--ml-blue);
    background: #f8fafc;
}

.ml-site-header__toggle,
.ml-site-header__panel {
    display: none;
}

@media (max-width: 1240px) {
    .ml-site-header {
        --ml-logo-width: 125px;
        --ml-logo-column: 140px;
        --ml-column-gap: 18px;
        --ml-nav-size: 12px;
        --ml-action-button-size: 12px;
        --ml-action-button-padding: 10px;
    }

    .ml-site-header__actions {
        gap: 8px;
    }

    .ml-site-header__nav .menu-item a {
        padding-inline: 9px;
    }
}

@media (max-width: 1060px) {
    .ml-site-header {
        --ml-logo-width: 118px;
        --ml-logo-column: 130px;
        --ml-column-gap: 14px;
    }

    .ml-site-header__top {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ml-site-header__tagline {
        max-width: none;
        text-align: center;
    }

    .ml-site-header__actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .ml-site-header {
        --ml-tagline-size: 14px;
        --ml-action-button-size: 14px;
        --ml-action-button-height: 40px;
        --ml-action-button-padding: 14px;
    }

    .ml-site-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 68px;
        width: 100%;
        padding: 10px 16px;
    }

    .ml-site-header__logo {
        width: 118px;
    }

    .ml-site-header__desktop {
        display: none;
    }

    .ml-site-header__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 40px;
        padding: 0;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background: #ffffff;
        color: #1e293b;
        cursor: pointer;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    }

    .ml-site-header__toggle-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        line-height: 1;
        color: #1e293b;
        transition: transform 0.22s ease, opacity 0.22s ease, color 0.22s ease;
    }

    .ml-site-header__toggle-icon--close {
        display: none;
    }

    .ml-site-header.is-menu-open .ml-site-header__toggle-icon--open {
        display: none;
    }

    .ml-site-header.is-menu-open .ml-site-header__toggle-icon--close {
        display: inline-flex;
    }

    .ml-site-header__toggle:hover .ml-site-header__toggle-icon,
    .ml-site-header__toggle:focus .ml-site-header__toggle-icon {
        color: #f06292;
        transform: scale(1.06);
    }

    .ml-site-header__panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        display: block;
        padding: 16px;
        background: #ffffff;
        border-top: 1px solid #eef2f7;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    }

    .ml-site-header__panel[hidden] {
        display: none;
    }

    .ml-site-header__panel-tagline {
        margin-bottom: 14px;
        font-size: var(--ml-tagline-size);
        text-align: center;
        max-width: none;
    }

    .ml-site-header__panel-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
    }

    .ml-site-header__panel-actions .ml-site-header__button {
        width: 100%;
    }

    .ml-site-header__panel-nav .ml-site-header__mobile-menu {
        display: grid;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
    }

    .ml-site-header__panel-nav .menu-item {
        margin: 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .ml-site-header__panel-nav .menu-item:last-child {
        border-bottom: 0;
    }

    .ml-site-header__panel-nav a {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 11px 14px;
        color: #334155;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
    }

    .ml-site-header__panel-nav a:hover,
    .ml-site-header__panel-nav a:focus {
        background: #f8fafc;
        color: #0f172a;
    }

    .ml-site-header__panel-nav .sub-menu {
        display: block;
        position: static;
        margin: 0;
        padding: 0 0 8px;
        list-style: none;
        background: #f8fafc;
        border: 0;
        box-shadow: none;
    }

    .ml-site-header__panel-nav .sub-menu .menu-item {
        border-bottom: 0;
    }

    .ml-site-header__panel-nav .sub-menu a {
        min-height: 34px;
        padding: 8px 14px 8px 28px;
        color: #475569;
        font-size: 13px;
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    .ml-site-header__inner {
        min-height: 64px;
        padding: 8px 12px;
    }

    .ml-site-header__logo {
        width: 105px;
    }

    .ml-site-header__toggle {
        width: 40px;
        height: 38px;
    }

    .ml-site-header__panel {
        padding: 12px;
    }
}