
@media (max-width: 992px) {
    /* Hide desktop nav */
    #mobile-menu { display: none !important; }
    /* Hide desktop CTA column */
    .col-xl-2.col-lg-3.d-none.d-lg-block { display: none !important; }

    .main-menu{
        padding-top: 0;
    }
}
@media (min-width: 993px) {
    /* Hide mobile hamburger area on desktop */
    .sset-mobile-nav-wrap { display: none !important; }
    .sset-mobile-overlay  { display: none !important; }
}


/* =================================================================
   DESKTOP MEGA MENU — ≥ 993px
   ================================================================= */
@media (min-width: 993px) {

    /* Overflow fix */
    .menu-area, .second-menu, .main-menu,
    #mobile-menu, #mobile-menu > ul {
        overflow: visible !important;
    }

    /* Products li — static so panel can span */
    .main-menu ul li.mega-menu-parent {
        position: static !important;
    }

    /* Kill old nested ul (safety net) */
    .mega-menu-parent > ul { display: none !important; }

    /* ── Kill ALL theme style leaks ── */
    .mega-menu-panel *::after,
    .mega-menu-panel *::before {
        content: none !important;
        display: none !important;
    }
    .mega-menu-panel ul li,
    .mega-menu-panel li {
        float: none !important;
        border-bottom: none !important;
        width: auto !important;
        margin-left: 0 !important;
        display: block !important;
        padding: 10px 6px !important;
    }
    .mega-menu-panel ul li a,
    .mega-menu-panel li a {
        padding: 0 !important;
        display: flex !important;
    }
    .header-three .mega-menu-panel a,
    .mega-menu-panel a {
        color: #444 !important;
    }

    /* ── PANEL CONTAINER ── */
    .mega-menu-panel {
        position: absolute;
        top: 100%;
        left: 57%;
        width: 960px;
        max-width: 87vw;
        background: #ffffff;
        border-top: 3px solid #ff5e15;
        box-shadow: 0 20px 70px rgba(0,23,60,0.16);
        z-index: 99999;
        border-radius: 0 0 8px 8px;
        display: grid !important;
        grid-template-columns: 210px 1fr;
        grid-template-rows: 1fr auto;
        grid-template-areas:
            "sidebar content"
            "footer  footer";
        visibility: hidden;
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        pointer-events: none;
    }
    .mega-menu-parent:hover .mega-menu-panel {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: all;
    }

    /* ── SIDEBAR ── */
    .mega-menu__sidebar {
        grid-area: sidebar;
        background: #f5f7fc;
        border-right: 1px solid #e8ebf4;
        padding: 18px 0;
        overflow-y: auto;
        max-height: 72vh;
    }
    .mega-menu__sidebar-label {
        display: block;
        font-family: "Rubik", sans-serif;
        font-size: 11px !important;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #9099b8;
        padding: 0 16px 10px 16px;
        margin: 0 0 8px 0;
        border-bottom: 1px solid #e4e8f2;
    }
    .mega-menu__tabs {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .mega-tab {
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        padding: 10px 16px !important;
        cursor: pointer;
        font-family: "Rubik", sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: #4a5270;
        border-left: 3px solid transparent;
        border-bottom: none !important;
        transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
        line-height: 1.35;
        width: 100%;
        float: none !important;
        margin: 0 !important;
    }
    .mega-tab i {
        font-size: 13px;
        color: #bec5da;
        flex-shrink: 0;
        width: 14px;
        text-align: center;
        transition: color 0.15s ease;
    }
    .mega-tab span { flex: 1; line-height: 1.3; }
    .mega-tab:hover { background: #eceff7; color: #ff5e15; border-left-color: rgba(255,94,21,0.35); }
    .mega-tab:hover i { color: #ff5e15; }
    .mega-tab.active { background: #ffffff; color: #ff5e15; border-left-color: #ff5e15; font-weight: 600; }
    .mega-tab.active i { color: #ff5e15; }

    /* ── CONTENT ── */
    .mega-menu__content {
        grid-area: content;
        overflow-y: auto;
        max-height: 72vh;
        overflow-x: hidden;
        background: #fff;
    }
    .mega-panel { display: none; flex-direction: column; animation: mmFadeIn 0.16s ease; }
    .mega-panel.active { display: flex; }
    @keyframes mmFadeIn {
        from { opacity: 0; transform: translateX(5px); }
        to   { opacity: 1; transform: translateX(0); }
    }
    .mega-panel__header {
        padding: 18px 26px 14px;
        border-bottom: 1px solid #eff1f8;
        background: linear-gradient(to bottom, #fafbff, #ffffff);
    }
    .mega-panel__header h4 {
        font-family: "Rubik", sans-serif;
        font-size: 17px;
        font-weight: 700;
        color: #00173c;
        margin-bottom: 3px;
        line-height: 1.2;
    }
    .mega-panel__header p {
        font-size: 12.5px;
        color: #a0a8c0;
        margin-bottom: 0;
        line-height: 1.5;
        font-family: "Roboto", sans-serif;
    }
    .mega-panel__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 14px 18px 6px;
    }
    .mega-panel__grid.mega-panel__grid--single { grid-template-columns: 1fr; }
    .mega-panel__col { padding: 0 8px; }
    .mega-col-label {
        display: block !important;
        font-family: "Rubik", sans-serif;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #ff5e15;
        margin-bottom: 6px;
        padding-bottom: 7px;
        border-bottom: 1px solid #f2f4fa;
        text-align: left;
        padding-inline: 17px;
    }
    .mega-item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 8px;
        padding: 7px 10px !important;
        font-family: "Roboto", sans-serif;
        font-size: 13px;
        color: #3a4060 !important;
        line-height: 1.4;
        border-radius: 4px;
        transition: background 0.14s ease, color 0.14s ease, padding-left 0.14s ease;
        text-decoration: none !important;
        margin-bottom: 1px;
        border-bottom: none !important;
        width: 100%;
        float: none !important;
        text-align: left !important;
    }
    .mega-item i {
        font-size: 9px;
        color: #c8cedd;
        flex-shrink: 0;
        margin-top: 4px;
        transition: color 0.14s ease, transform 0.14s ease;
        line-height: 1;
    }
    .mega-item:hover { background: #fff3ee; color: #ff5e15 !important; padding-left: 13px !important; }
    .mega-item:hover i { color: #ff5e15; transform: translateX(3px); }
    .mega-panel__cta {
        padding: 12px 26px 14px;
        border-top: 1px solid #eff1f8;
        margin-top: 6px;
        background: #fafbff;
        text-align: center;
    }
    .mega-cta-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        font-family: "Rubik", sans-serif;
        font-size: 11.5px;
        font-weight: 800;
        color: #555e80 !important;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        transition: color 0.18s ease, gap 0.18s ease;
    }
    .mega-cta-btn i { font-size: 13px; color: #ff5e15 !important; transition: transform 0.18s ease; flex-shrink: 0; }
    .mega-cta-btn:hover { color: #ff5e15 !important; gap: 13px; }
    .mega-cta-btn:hover i { transform: translateX(5px); }

    /* ── FOOTER STRIP ── */
    .mega-menu__footer {
        grid-area: footer;
        background: #00173c;
        padding: 13px 26px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    .mega-footer__left {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: "Roboto", sans-serif;
        font-size: 13px;
        color: rgba(255,255,255,0.6);
    }
    .mega-footer__left i { color: #ff5e15; font-size: 16px; flex-shrink: 0; }
    .mega-footer__left strong { color: #ffffff; font-weight: 600; }
    .mega-footer__btn {
        display: inline-flex !important;
        align-items: center;
        gap: 9px;
        font-family: "Rubik", sans-serif;
        font-size: 12.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #ffffff !important;
        background: #ff5e15;
        padding: 11px 28px !important;
        border-radius: 2px;
        white-space: nowrap;
        flex-shrink: 0;
        transition: background 0.18s ease;
    }


    .header-three .mega-menu-panel .mega-footer__btn{
        color: #fff !important;
    }
    .mega-footer__btn i { font-size: 13px; color: #fff !important; transition: transform 0.18s ease; }
    .mega-footer__btn:hover { background: #d94e0a; color: #fff !important; }
    .mega-footer__btn:hover i { transform: translateX(4px); }

    /* ── Scrollbars ── */
    .mega-menu__sidebar::-webkit-scrollbar,
    .mega-menu__content::-webkit-scrollbar { width: 3px; }
    .mega-menu__sidebar::-webkit-scrollbar-thumb,
    .mega-menu__content::-webkit-scrollbar-thumb { background: #d8dce8; border-radius: 10px; }
    .mega-menu__sidebar::-webkit-scrollbar-thumb:hover,
    .mega-menu__content::-webkit-scrollbar-thumb:hover { background: #ff5e15; }

} /* end @media (min-width: 993px) */


/* =================================================================
   MOBILE NAV — ≤ 992px
   Custom meanmenu-style accordion nav, zero library dependency
   ================================================================= */

/* ── Hamburger button ── */
.sset-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: #ff5e15;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    float: right;
    margin: 8px 0;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.sset-hamburger:hover { background: #d94e0a; }
.sset-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.25s ease;
    transform-origin: center;
}
/* Animated X state */
.sset-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.sset-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.sset-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile overlay panel ── */
.sset-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 88888;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}
.sset-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ── Mobile drawer ── */
.sset-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 88vw;
    height: 100%;
    background: #00173c;
    z-index: 99999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
}
.sset-mobile-nav.is-open {
    transform: translateX(0);
}

/* ── Drawer header (logo + close) ── */
.sset-mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.sset-mobile-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.sset-mobile-nav__logo img {
    height: 36px;
    width: auto;
}
.sset-mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}
.sset-mobile-nav__close:hover {
    background: #ff5e15;
    border-color: #ff5e15;
}

/* ── Nav list ── */
.sset-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
}

/* Level 0: top-level items */
.sset-mobile-nav__list > li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sset-mobile-nav__list > li:last-child {
    border-bottom: none;
}

/* Generic item row */
.sset-mnav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sset-mnav-row a {
    flex: 1;
    display: block;
    padding: 12px 20px;
    color: #ffffff !important;
    font-family: "Rubik", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.18s ease, background 0.18s ease;
    line-height: 1.4;
}
.sset-mnav-row a:hover {
    color: #ff5e15 !important;
    background: rgba(255,255,255,0.04);
}

/* Expand toggle button (+/−) */
.sset-mnav-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 42px;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    font-weight: 300;
    border-left: 1px solid rgba(255,255,255,0.08);
    transition: color 0.18s ease, background 0.18s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    line-height: 1;
    padding-bottom: 2px;
}
.sset-mnav-toggle:hover {
    color: #ff5e15;
    background: rgba(255,255,255,0.04);
}
.sset-mnav-toggle.is-open {
    color: #ff5e15;
}

/* Level 1: sub-list (Products categories) */
.sset-mnav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(0,0,0,0.18);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}
.sset-mnav-sub.is-open {
    max-height: 2000px; /* large enough for any content */
}

.sset-mnav-sub > li {
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Level 1 link */
.sset-mnav-sub .sset-mnav-row a {
    padding: 10px 20px 10px 36px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.85) !important;
    opacity: 1;
}
.sset-mnav-sub .sset-mnav-row a:hover {
    color: #ff5e15 !important;
    background: rgba(255,255,255,0.03);
    padding-left: 42px;
}

/* Level 1 toggle button */
.sset-mnav-sub .sset-mnav-toggle {
    height: 38px;
    font-size: 14px;
}

/* Level 2: sub-sub-list (individual products) */
.sset-mnav-sub2 {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(0,0,0,0.15);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}
.sset-mnav-sub2.is-open {
    max-height: 2000px;
}
.sset-mnav-sub2 > li {
    border-top: 1px solid rgba(255,255,255,0.04);
}
.sset-mnav-sub2 .sset-mnav-row a {
    padding: 9px 20px 9px 52px;
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(255,255,255,0.65) !important;
}
.sset-mnav-sub2 .sset-mnav-row a:hover {
    color: #ff5e15 !important;
    padding-left: 58px;
    background: rgba(255,255,255,0.02);
}

/* ── Mobile nav footer (CTA) ── */
.sset-mobile-nav__footer {
    flex-shrink: 0;
    padding: 18px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.sset-mobile-nav__footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #ff5e15;
    color: #ffffff !important;
    font-family: "Rubik", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none !important;
    border-radius: 2px;
    transition: background 0.2s ease;
}
.sset-mobile-nav__footer a:hover { background: #d94e0a; }

/* ── Scrollbar inside mobile nav ── */
.sset-mobile-nav::-webkit-scrollbar { width: 3px; }
.sset-mobile-nav::-webkit-scrollbar-thumb { background: rgba(255,94,21,0.5); border-radius: 10px; }
