/* Hide default dropdown */
/*.menu-item-has-children > .sub-menu {
    display: none !important;
}*/

/* Mega Wrapper */
.custom-mega-menu {
    position: absolute;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    display: none;
    z-index: 9999;
}

/* Show on hover */
/*.menu-item:hover > .custom-mega-menu {*/
.mega-menu-item:hover > .custom-mega-menu {
    display: block;
}

/* Container */
.custom-mega-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 60px;
}

/* Layout */
.custom-mega-inner {
    display: flex;
    gap: 40px;
}

/* Left Side */
.custom-mega-left {
    display: flex;
    flex: 1;
    gap: 40px;
}

.custom-mega-column {
    min-width: 240px;
}

/* Heading with icon */
.custom-mega-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.custom-mega-heading a {
    text-decoration: none;
    color: #000;
}

.custom-mega-heading a:hover {
    color: #0d6efd;
}

/* Category icon */
.custom-mega-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-mega-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Sub categories */
.custom-mega-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-mega-sublist li {
    margin-bottom: 10px;
}

.custom-mega-sublist a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: 0.3s;
}

.custom-mega-sublist a:hover {
    color: #0d6efd;
    padding-left: 4px;
}

/* Right Side Trending */
.custom-mega-right {
    width: 420px;
    background: #f7f9fc;
    padding: 30px;
    border-radius: 8px;
}

.custom-mega-trending-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Product */
.custom-mega-product {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.custom-mega-product-image img {
    width: 110px;
}

.custom-mega-product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
}

.custom-mega-product-sku {
    font-size: 12px;
    margin: 0 0 6px;
    color: #888;
}

.custom-mega-product-price {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}
