/* ==========================================================================
   Desktop Mega Menu Styles
   ========================================================================== */

/* --- Trigger Button --- */
.ourproducts {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    background: #fff;
    cursor: pointer;
    width: 90px;
    line-height: 1;
    top: 19px;
    position: absolute;
    font-size: 16px;
    font-family: 'Encode Sans', sans-serif;
    font-weight: 500;
}

.ourproducts .fa-angle-down {
    font-size: 10px;
    margin-left: 4px;
    position: relative;
    top: 1px;
    transition: transform 0.3s ease;
}

.ourproducts .fa-angle-down.rotated {
    transform: rotate(180deg);
    top: 5px;
}

.ourproducts.productsmoblhide {
    display: inline-block;
    vertical-align: middle;
    margin: 26px 10px 0 0;
}

.ourproducts.productsmoblhide + .ourproducts.productsmoblhide {
    margin-left: 25px;
}

/* --- Mega Menu Wrapper --- */
.ourproducts-megamenu-wrapper {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 1160px;
    max-width: 1319px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    border: 1px solid black;
    border-radius: 10px;
    height: 435px;
}

/* --- Container Boxes --- */
.container-box {
    width: 565px;
    text-align: left;
}

/* --- Right Panel Tabs --- */
#product11,
#product12 {
    position: absolute;
    top: 10px;
    right: 36px;
    width: 41%;
    text-align: left;
}

h5.collab-platform-title {
    margin-top: 5px;
}

/* --- Button Widths --- */
.custombuttonhvr {
    width: 33px;
}

/* --- Custom Submenu Charm --- */
.custom-submenu-charm {
    position: absolute;
    top: 30px;
    right: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 9999;
    min-width: 200px;
}

.custom-submenu-charm ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-submenu-charm li {
    padding: 10px 0;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.custom-submenu-charm li:last-child {
    border-bottom: none;
}

.custom-submenu-charm a {
    color: #333;
    text-decoration: none;
}

/* --- Link Animations --- */
.newmblmenu1 a {
    display: flex;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s forwards;
    line-height: 1.8;
}

.newmblmenu1.animate a:nth-child(1)  { animation-delay: 0.1s; }
.newmblmenu1.animate a:nth-child(2)  { animation-delay: 0.2s; }
.newmblmenu1.animate a:nth-child(3)  { animation-delay: 0.3s; }
.newmblmenu1.animate a:nth-child(4)  { animation-delay: 0.4s; }
.newmblmenu1.animate a:nth-child(5)  { animation-delay: 0.5s; }
.newmblmenu1.animate a:nth-child(6)  { animation-delay: 0.6s; }
.newmblmenu1.animate a:nth-child(7)  { animation-delay: 0.7s; }
.newmblmenu1.animate a:nth-child(8)  { animation-delay: 0.8s; }
.newmblmenu1.animate a:nth-child(9)  { animation-delay: 0.9s; }
.newmblmenu1.animate a:nth-child(10) { animation-delay: 1.0s; }
.newmblmenu1.animate a:nth-child(11) { animation-delay: 1.1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mobile-toggle-btn {
        display: none;
    }
/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
    .ourproducts-megamenu-wrapper {
        max-width: 100%;
        left: 0;
        transform: none;
        padding: 15px;
    }

    .mobile-toggle-btn {
        display: block;
    }

    .page-id-17573 .mobile-toggle-btn,
    .page-id-18117 .mobile-toggle-btn,
    .page-id-18165 .mobile-toggle-btn,
    .page-id-22114 .mobile-toggle-btn {
        display: none;
    }

    .headercols {
        width: 325px;
        margin-left: -67px;
    }

    .ourproducts {
        display: none;
        opacity: 1;
    }
}
