/* ==========================================================
   MODORA MEGA MENU V2
   ========================================================== */

.modora-mega-v2 {
    --mm-black: #080808;
    --mm-panel: #101010;
    --mm-panel2: #171717;
    --mm-gold: #d4af37;
    --mm-gold-light: #efd576;
    --mm-white: #f7f7f3;
    --mm-muted: #aaa9a3;
    --mm-border: rgba(212,175,55,.20);

    position: relative;
    z-index: 10000;
    width: 100%;
    background: #080808;
    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid var(--mm-border);
}

.modora-mega-v2 *,
.modora-mega-v2 *:before,
.modora-mega-v2 *:after {
    box-sizing: border-box;
}

.mm-root {
    width: 100%;
    max-width: 1500px;
    height: 58px;

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

    margin: 0 auto;
    padding: 0 20px;

    list-style: none;
}

.mm-item {
    position: static;
    margin: 0;
    padding: 0;
}

.mm-item-top {
    height: 58px;
    display: flex;
    align-items: center;
}

.mm-top-link {
    height: 58px;
    display: flex;
    align-items: center;

    padding: 0 14px;

    color: #f3f3ef !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none !important;

    transition: color .18s ease;
}

.mm-top-link:hover,
.mm-item.mm-open .mm-top-link,
.mm-item:hover > .mm-item-top .mm-top-link {
    color: var(--mm-gold-light) !important;
}

.mm-toggle {
    width: 23px;
    height: 36px;

    margin-left: -9px;
    padding: 0;

    border: 0;
    background: transparent;
    color: #777;

    font-size: 15px;
    cursor: pointer;
}

.mm-item:hover .mm-toggle,
.mm-item.mm-open .mm-toggle {
    color: var(--mm-gold);
}


/* MEGA PANEL */

.mm-panel {
    position: absolute;

    left: 50%;
    top: 100%;

    width: min(1320px, calc(100vw - 32px));
    max-height: calc(100vh - 125px);

    padding: 30px 34px;
    overflow-y: auto;

    background:
        radial-gradient(circle at 85% 0%, rgba(212,175,55,.08), transparent 33%),
        #101010;

    border: 1px solid var(--mm-border);
    border-top: 2px solid var(--mm-gold);
    border-radius: 0 0 18px 18px;

    box-shadow: 0 30px 75px rgba(0,0,0,.60);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 9px);

    transition:
        opacity .17s ease,
        transform .17s ease,
        visibility .17s ease;
}

.mm-item:hover > .mm-panel,
.mm-item:focus-within > .mm-panel,
.mm-item.mm-open > .mm-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mm-panel-small {
    width: min(600px, calc(100vw - 32px));
}

.mm-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;

    margin-bottom: 26px;
    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mm-kicker {
    margin-bottom: 6px;

    color: var(--mm-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
}

.mm-panel-title {
    color: #fff;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 600;
}

.mm-view-all {
    color: var(--mm-gold-light) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mm-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 29px 26px;
}

.mm-group-title {
    display: block;

    margin-bottom: 11px;

    color: var(--mm-gold-light) !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.mm-sub-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-sub-links li {
    margin: 0;
    padding: 0;
}

.mm-sub-links a {
    display: block;
    padding: 5px 0;

    color: #c5c5c0 !important;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
    text-decoration: none !important;
}

.mm-sub-links a:hover {
    color: #fff !important;
}

.mm-sub-links .mm-sub-all {
    margin-top: 4px;
    color: var(--mm-gold) !important;
    font-weight: 700;
}

.mm-grid-flat {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.mm-flat-link {
    display: block;

    padding: 15px;

    background: #171717;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;

    color: #eee !important;
    font-weight: 600;
}

.mm-flat-link:hover {
    border-color: var(--mm-border);
    color: var(--mm-gold-light) !important;
}


/* MOBILE TOP BAR */

.mm-mobile-top {
    display: none;
    min-height: 54px;

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

    padding: 0 16px;
}

.mm-mobile-open {
    display: flex;
    align-items: center;
    gap: 11px;

    border: 0;
    background: transparent;

    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mm-burger {
    width: 23px;
    display: grid;
    gap: 5px;
}

.mm-burger i {
    display: block;
    width: 23px;
    height: 1px;
    background: var(--mm-gold-light);
}

.mm-mobile-brand {
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
}

.mm-mobile-head,
.mm-backdrop {
    display: none;
}


/* TABLET + MOBILE */

@media (max-width:1199px) {

    .mm-mobile-top {
        display: flex;
    }

    .mm-backdrop {
        position: fixed;
        inset: 0;
        z-index: 100001;

        background: rgba(0,0,0,.70);
        backdrop-filter: blur(3px);
    }

    .modora-mega-v2.mm-mobile-active .mm-backdrop {
        display: block;
    }

    .mm-nav {
        position: fixed;

        z-index: 100002;
        top: 0;
        bottom: 0;
        left: 0;

        width: min(460px, 94vw);

        overflow-y: auto;

        background:
            radial-gradient(circle at 15% 0%, rgba(212,175,55,.09), transparent 30%),
            #0a0a0a;

        border-right: 1px solid var(--mm-border);

        box-shadow: 30px 0 80px rgba(0,0,0,.6);

        transform: translateX(-104%);
        transition: transform .24s ease;
    }

    .modora-mega-v2.mm-mobile-active .mm-nav {
        transform: translateX(0);
    }

    .mm-mobile-head {
        position: sticky;
        z-index: 3;
        top: 0;

        min-height: 70px;

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

        padding: 0 19px;

        background: rgba(9,9,9,.97);
        border-bottom: 1px solid var(--mm-border);

        color: var(--mm-gold-light);
        letter-spacing: .16em;
    }

    .mm-close {
        width: 42px;
        height: 42px;

        border: 1px solid rgba(255,255,255,.10);
        border-radius: 50%;

        background: #141414;
        color: #fff;

        font-size: 25px;
        line-height: 1;
    }

    .mm-root {
        width: 100%;
        height: auto;

        display: block;

        margin: 0;
        padding: 8px 15px 35px;
    }

    .mm-item {
        border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .mm-item-top {
        width: 100%;
        min-height: 57px;
        height: auto;

        display: grid;
        grid-template-columns: minmax(0,1fr) 52px;
    }

    .mm-item:not(.mm-has-children) .mm-item-top {
        grid-template-columns: 1fr;
    }

    .mm-top-link {
        height: auto;
        min-height: 57px;

        padding: 15px 7px;

        font-size: 15px;
        text-transform: none;
        letter-spacing: .02em;
    }

    .mm-toggle {
        width: 52px;
        height: 49px;

        margin: 0;

        border-left: 1px solid rgba(255,255,255,.06);

        color: var(--mm-gold-light);
        font-size: 22px;
    }

    .mm-panel {
        position: static;

        width: auto;
        max-height: none;

        margin: 0;
        padding: 4px 8px 19px 18px;

        overflow: visible;

        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: none;

        display: none;
    }

    .mm-item.mm-open > .mm-panel {
        display: block;
    }

    .mm-panel-head {
        display: none;
    }

    .mm-grid,
    .mm-grid-flat {
        display: block;
    }

    .mm-group {
        padding: 8px 0 12px;
    }

    .mm-group-title {
        margin-bottom: 5px;
        padding: 5px 0;

        font-size: 14px;
    }

    .mm-sub-links a {
        padding: 7px 0;
        font-size: 13px;
    }

    .mm-flat-link {
        margin: 6px 0;
        padding: 12px;

        background: #141414;
    }

    body.mm-body-lock {
        overflow: hidden !important;
    }
}


@media (min-width:1200px) and (max-width:1400px) {

    .mm-top-link {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 12px;
    }

    .mm-grid {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
}


@media (max-width:600px) {

    .mm-nav {
        width: 95vw;
    }

    .mm-mobile-top {
        min-height: 50px;
        padding-left: 13px;
        padding-right: 13px;
    }
}


/* ==========================================================
   MODORA MEGA MENU V2 — PREMIUM POLISH
   ========================================================== */

/* Main navigation bar */
.modora-mega-v2 {
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.mm-root {
    max-width: 1540px;
    height: 62px;
    padding-left: 28px;
    padding-right: 28px;
}

.mm-item-top,
.mm-top-link {
    height: 62px;
}

/* Top navigation links */
.mm-top-link {
    position: relative;

    padding-left: 17px;
    padding-right: 17px;

    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .085em;
}

/* Elegant gold underline */
.mm-top-link:after {
    content: "";

    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #d4af37 22%,
        #f0d77a 50%,
        #d4af37 78%,
        transparent
    );

    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;

    transition:
        transform .22s ease,
        opacity .22s ease;
}

.mm-item:hover > .mm-item-top .mm-top-link:after,
.mm-item.mm-open > .mm-item-top .mm-top-link:after,
.mm-item:focus-within > .mm-item-top .mm-top-link:after {
    transform: scaleX(1);
    opacity: 1;
}

/* Cleaner toggle arrow */
.mm-toggle {
    width: 20px;
    margin-left: -10px;
    font-size: 13px;
    opacity: .8;

    transition:
        color .2s ease,
        transform .2s ease;
}

.mm-item:hover .mm-toggle,
.mm-item.mm-open .mm-toggle {
    color: #efd576;
}

.mm-item.mm-open > .mm-item-top .mm-toggle {
    transform: translateY(1px);
}


/* Mega panel */
.mm-panel {
    width: min(1380px, calc(100vw - 42px));

    padding: 34px 38px 38px;

    background:
        radial-gradient(
            circle at 82% -5%,
            rgba(212,175,55,.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 4% 110%,
            rgba(212,175,55,.035),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #121212 0%,
            #0d0d0d 100%
        );

    border-color: rgba(212,175,55,.20);
    border-top-width: 1px;

    box-shadow:
        0 34px 90px rgba(0,0,0,.68),
        inset 0 1px 0 rgba(255,255,255,.025);
}

/* Gold line along top */
.mm-panel:before {
    content: "";

    position: absolute;
    left: 32px;
    right: 32px;
    top: 0;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.7),
        transparent
    );
}


/* Panel heading */
.mm-panel-head {
    margin-bottom: 31px;
    padding-bottom: 20px;

    border-bottom-color: rgba(255,255,255,.075);
}

.mm-kicker {
    font-size: 9px;
    letter-spacing: .24em;
    color: rgba(212,175,55,.82);
}

.mm-panel-title {
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.mm-view-all {
    position: relative;
    padding-bottom: 5px;

    font-size: 11px;
    letter-spacing: .11em;
}

.mm-view-all:after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background: rgba(212,175,55,.65);
}


/* Mega columns */
.mm-grid {
    grid-template-columns: repeat(6, minmax(135px, 1fr));
    gap: 34px 30px;
}

.mm-group {
    min-width: 0;
}

.mm-group-title {
    position: relative;

    margin-bottom: 13px;
    padding-bottom: 9px;

    color: #f0d77a !important;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: .015em;
}

.mm-group-title:after {
    content: "";

    display: block;

    width: 24px;
    height: 1px;

    margin-top: 9px;

    background: rgba(212,175,55,.52);
}

.mm-sub-links a {
    padding: 5px 0;

    color: #babbb7 !important;

    font-size: 12.7px;
    line-height: 1.45;

    transition:
        color .15s ease,
        transform .15s ease;
}

.mm-sub-links a:hover {
    color: #fff !important;
    transform: translateX(3px);
}

.mm-sub-links .mm-sub-all {
    margin-top: 8px;

    color: #d4af37 !important;

    font-size: 11px;
    letter-spacing: .055em;
    text-transform: uppercase;
}


/* Compact/direct menu blocks */
.mm-grid-flat {
    gap: 11px;
}

.mm-flat-link {
    position: relative;

    padding: 16px 17px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.008)
        );

    border-color: rgba(255,255,255,.075);

    font-size: 13px;
    font-weight: 500;

    overflow: hidden;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        color .2s ease;
}

.mm-flat-link:hover {
    transform: translateY(-2px);

    background: rgba(212,175,55,.045);

    border-color: rgba(212,175,55,.35);

    color: #f0d77a !important;
}


/* Scrollbar inside very large mega menus */
.mm-panel {
    scrollbar-width: thin;
    scrollbar-color: #5d4a16 #111;
}

.mm-panel::-webkit-scrollbar {
    width: 6px;
}

.mm-panel::-webkit-scrollbar-track {
    background: #111;
}

.mm-panel::-webkit-scrollbar-thumb {
    background: #5d4a16;
    border-radius: 10px;
}


/* ==========================================================
   TABLET / MOBILE POLISH
   ========================================================== */

@media (max-width:1199px) {

    .modora-mega-v2 {
        border-bottom-color: rgba(212,175,55,.16);
    }

    .mm-mobile-top {
        min-height: 56px;

        padding-left: 18px;
        padding-right: 18px;

        background:
            linear-gradient(
                180deg,
                #0d0d0d 0%,
                #090909 100%
            );
    }

    .mm-mobile-open {
        min-height: 50px;

        color: #f6f6f2;

        font-size: 12px;
        letter-spacing: .11em;
    }

    .mm-mobile-open:hover {
        color: #efd576;
    }

    .mm-mobile-brand {
        color: rgba(240,215,122,.68);

        font-size: 10px;
        letter-spacing: .22em;
    }

    .mm-nav {
        background:
            radial-gradient(
                circle at 10% 0%,
                rgba(212,175,55,.11),
                transparent 26%
            ),
            linear-gradient(
                180deg,
                #0c0c0c 0%,
                #080808 100%
            );
    }

    .mm-mobile-head {
        min-height: 76px;

        padding-left: 22px;
        padding-right: 18px;

        font-size: 14px;
    }

    .mm-close {
        transition:
            border-color .2s ease,
            color .2s ease,
            transform .2s ease;
    }

    .mm-close:hover {
        border-color: #d4af37;
        color: #efd576;
        transform: rotate(90deg);
    }

    .mm-root {
        padding:
            11px
            18px
            calc(42px + env(safe-area-inset-bottom));
    }

    .mm-item {
        border-bottom-color: rgba(255,255,255,.065);
    }

    .mm-item-top {
        min-height: 61px;
    }

    .mm-top-link {
        min-height: 61px;

        padding: 16px 5px;

        font-size: 15px;
        font-weight: 500;
        letter-spacing: .01em;
    }

    .mm-top-link:after {
        display: none;
    }

    .mm-toggle {
        width: 54px;
        height: 50px;

        margin: 0;

        border-left-color: rgba(255,255,255,.055);

        font-size: 20px;
    }

    .mm-item.mm-open > .mm-item-top {
        background: rgba(212,175,55,.025);
    }

    .mm-item.mm-open > .mm-item-top .mm-top-link {
        color: #efd576 !important;
    }

    .mm-panel {
        padding:
            3px
            4px
            18px
            17px;
    }

    .mm-group {
        padding: 9px 0 13px;
    }

    .mm-group-title {
        padding-bottom: 3px;
        margin-bottom: 5px;

        font-size: 14px;
    }

    .mm-group-title:after {
        display: none;
    }

    .mm-sub-links {
        padding-left: 10px;
        border-left: 1px solid rgba(212,175,55,.17);
    }

    .mm-sub-links a {
        padding: 7px 0 7px 3px;

        color: #b9b9b5 !important;

        font-size: 13px;
    }

    .mm-sub-links a:hover {
        transform: none;
    }

    .mm-flat-link {
        margin: 7px 0;

        padding: 14px 15px;

        border-radius: 9px;
    }
}


/* Smaller phones */
@media (max-width:480px) {

    .mm-nav {
        width: 96vw;
    }

    .mm-mobile-top {
        padding-left: 14px;
        padding-right: 14px;
    }

    .mm-root {
        padding-left: 14px;
        padding-right: 14px;
    }

    .mm-top-link {
        font-size: 14px;
    }
}


/* Laptop widths */
@media (min-width:1200px) and (max-width:1370px) {

    .mm-root {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mm-top-link {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 11.5px;
        letter-spacing: .055em;
    }

    .mm-top-link:after {
        left: 9px;
        right: 9px;
    }

    .mm-grid {
        grid-template-columns: repeat(5, minmax(130px,1fr));
        gap: 27px 23px;
    }
}


/* Large desktop */
@media (min-width:1650px) {

    .mm-top-link {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mm-top-link:after {
        left: 20px;
        right: 20px;
    }

    .mm-panel {
        width: 1420px;
    }
}
