/* MAJARA_HEADER_V3_LOGO */

.site-header.mj-header-v2 {
    position: sticky;
    z-index: 9990;
    top: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 92px;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
    background: #171717;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.admin-bar .site-header.mj-header-v2 {
    top: 32px;
}

.mj-header-v2 .mj-header-v2__inner {
    display: flex;
    width: min(1440px, calc(100vw - 72px)) !important;
    min-height: 92px;
    max-width: 1440px !important;
    margin: 0 auto !important;
    align-items: center;
    gap: 32px;
    direction: rtl;
}

.mj-header-v2__brand {
    display: inline-flex;
    flex: 0 0 auto;
    width: 171px;
    height: 54px;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
}

.mj-header-v2__logo {
    display: block;
    width: 171px;
    max-width: 100%;
    height: 54px;
    object-fit: contain;
    object-position: right center;
}

.mj-header-v2__nav {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.mj-header-v2__nav .menu,
.mj-header-v2__nav .primary-nav__fallback {
    display: flex !important;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(17px, 1.85vw, 34px);
    list-style: none;
}

.mj-header-v2__nav li {
    margin: 0;
    padding: 0;
}

.mj-header-v2__nav a {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    color: rgba(255,255,255,.74);
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}

.mj-header-v2__nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--mj-accent, #C51127);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}

.mj-header-v2__nav a:hover,
.mj-header-v2__nav .current-menu-item > a,
.mj-header-v2__nav .current-menu-ancestor > a {
    color: #fff;
}

.mj-header-v2__nav a:hover::after,
.mj-header-v2__nav .current-menu-item > a::after,
.mj-header-v2__nav .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.mj-header-v2__actions {
    display: flex;
    flex: 0 0 145px;
    align-items: center;
    justify-content: flex-end;
}

.mj-header-v2__cta,
.mj-header-v2__mobile-cta {
    display: inline-flex;
    min-height: 48px;
    padding: 10px 23px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--mj-accent, #C51127);
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.mj-header-v2__cta:hover,
.mj-header-v2__mobile-cta:hover {
    background: var(--mj-accent-dark, #9E0E1F);
    color: #fff;
    transform: translateY(-2px);
}

.mj-header-v2__cta:focus-visible,
.mj-header-v2__mobile-cta:focus-visible {
    outline: 3px solid rgba(197, 17, 39, .35);
    outline-offset: 2px;
}

.mj-header-v2__mobile-cta,
.mj-header-v2__toggle {
    display: none;
}

@media (max-width: 1100px) {
    .mj-header-v2 .mj-header-v2__inner {
        gap: 20px;
    }

    .mj-header-v2__brand {
        width: 148px;
    }

    .mj-header-v2__logo {
        width: 148px;
        height: 48px;
    }

    .mj-header-v2__nav .menu,
    .mj-header-v2__nav .primary-nav__fallback {
        gap: 15px;
    }

    .mj-header-v2__nav a {
        font-size: .79rem;
    }

    .mj-header-v2__actions {
        flex-basis: 126px;
    }

    .mj-header-v2__cta {
        padding-inline: 17px;
    }
}

@media (max-width: 900px) {
    .site-header.mj-header-v2 {
        min-height: 74px;
    }

    .mj-header-v2 .mj-header-v2__inner {
        position: relative;
        width: calc(100vw - 32px) !important;
        min-height: 74px;
        gap: 12px;
    }

    .mj-header-v2__brand {
        width: 135px;
        height: 43px;
    }

    .mj-header-v2__logo {
        width: 135px;
        height: 43px;
    }

    .mj-header-v2__actions {
        display: none;
    }

    .mj-header-v2__toggle {
        display: inline-grid !important;
        width: 44px;
        height: 44px;
        margin-right: auto;
        padding: 0;
        place-items: center;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 11px;
        background: transparent;
        color: #fff;
    }

    .mj-header-v2__toggle span {
        display: block;
        width: 19px;
        height: 1px;
        margin: 3px auto;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease;
    }

    .mj-header-v2.is-open .mj-header-v2__toggle span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .mj-header-v2.is-open .mj-header-v2__toggle span:nth-child(2) {
        opacity: 0;
    }

    .mj-header-v2.is-open .mj-header-v2__toggle span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .mj-header-v2__nav {
        position: absolute;
        top: 100%;
        right: -16px;
        left: -16px;
        display: none;
        padding: 12px 16px 18px;
        border-top: 1px solid rgba(255,255,255,.09);
        background: #171717;
        box-shadow: 0 20px 35px rgba(0,0,0,.25);
    }

    .mj-header-v2.is-open .mj-header-v2__nav {
        display: block;
    }

    .mj-header-v2__nav .menu,
    .mj-header-v2__nav .primary-nav__fallback {
        display: grid !important;
        gap: 0;
    }

    .mj-header-v2__nav li {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .mj-header-v2__nav a {
        width: 100%;
        min-height: 48px;
        padding: 0 6px;
        justify-content: flex-start;
        color: rgba(255,255,255,.88);
    }

    .mj-header-v2__nav a::after {
        display: none;
    }

    .mj-header-v2__mobile-cta {
        display: inline-flex;
        width: 100%;
        margin-top: 16px;
    }

    body.mj-header-v2-open {
        overflow: hidden;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header.mj-header-v2 {
        top: 46px;
    }
}

/* MAJARA_HIDE_MOBILE_CTA_ON_DESKTOP_V1 */
.mj-header-v2__nav > .mj-header-v2__mobile-cta {
    display: none !important;
}

@media (max-width: 900px) {
    .mj-header-v2__nav > .mj-header-v2__mobile-cta {
        display: inline-flex !important;
        width: 100%;
        margin-top: 16px;
    }
}
