/* ==================================================
   MY JAT — HEADER
   ================================================== */

.myjat-header {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;

    position: sticky;
    top: 0;
    z-index: 1000;

    border-radius: var(--myjat-radius-1);
}


/* ==================================================
   HEADER INNER — 3 ZONES
   ================================================== */

.myjat-header-inner {
    width: min(1200px, 92%);
    min-height: 40px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}



/* ==================================================
   LEFT — BRAND
   ================================================== */

/* LEFT */

.myjat-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 35px;
    width: auto;
    flex: 0 0 auto;
    padding: 0 14px;
    border-radius: var(--myjat-radius-1);
}

.myjat-brand {
    position: relative;

    display: inline-block;

    transform: translateY(6px);

    text-decoration: none;

    font-size: 20px;
    font-weight: 800;

    white-space: nowrap;
}

.myjat-brand-mere {
    color: #222;
}

.myjat-brand-jat {
    color: red;
}

.myjat-brand::after {
    content: "";

    display: block;

    width: 34px;
    height: 2px;

    margin-top: 5px;
}


/* ==================================================
   CENTER — NAVIGATION
   ================================================== */
/* CENTER */

.myjat-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    width: auto;
    flex: 0 0 auto;
    gap: 24px;
    padding: 0 14px;
    border-radius: var(--myjat-radius-1);

}

.myjat-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 35px;
    padding: 0 8px;

    text-decoration: none;

    font-size: 0.98rem;
    font-weight: 600;

    border-radius: var(--myjat-radius-1);

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.myjat-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 2px;

    background: red;

    border-radius: var(--myjat-radius-1);

    transform: translateX(-50%);

    transition: width 0.25s ease;
}

.myjat-nav a:hover {
    color: red;
}

.myjat-nav a:hover::after,
.myjat-nav a.active::after {
    width: 22px;
}

.myjat-nav a.active {
    color: #d9650d;
}


/* ==================================================
   RIGHT — USER / LOGIN
   ================================================== */
/* RIGHT */

.myjat-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 35px;
    flex: 0 0 auto;
    width: auto;
    flex: 0 0 auto;
    gap: 8px;
    padding: 0 24px;
    border-radius: var(--myjat-radius-1);

    white-space: nowrap;
}

.myjat-header-right img {
    width: 25px;
    height: 25px;

    border-radius: var(--myjat-radius-1);

    object-fit: cover;

    display: block;
}

.myjat-header-right span {
    font-size: 0.95rem;
    font-weight: 600;
}



.myjat-header-right a {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: var(--myjat-radius-1);
    background: rgba(255, 255, 255, 0.55);
    color: red;
    white-space: nowrap;
}

.myjat-header-right a:hover {
    color: #b00000;
}


/* ==================================================
   MOBILE MENU BUTTON
   ================================================== */

.myjat-menu-toggle {
    display: none;

    width: 35px;
    height: 35px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 4px;
}

.myjat-menu-toggle span {
    display: block;

    width: 22px;
    height: 1px;

    background: black;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* ==================================================
   TABLET
   ================================================== */






/* ==================================================
   MENU TOGGLE ANIMATION
   ================================================== */

.myjat-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.myjat-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.myjat-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}