.hero-section {
    display: flex;
    position: relative;
}

/* Categories */
.categories {
    width: 250px;
    position: relative;
    background: white;
}


.category-item {
    padding: 7px;
    cursor: pointer;
    background: #fff;
    position: relative;
}



.category-item:hover {
    background: #f7f7f7;
}

/* Mega Menu */


.mega-menu {
    left:100%;
    top:0;
    height:100%;
    min-height:350px;
    width: 750px;
    position:absolute;
    background:white;
    display:none;
    padding:40px;
    box-shadow:5 5px 15px rgba(0,0,0,.15);
    z-index: 999;
    pointer-events:auto;

}

.category-item:hover .mega-menu {
    display: grid;
    left: 100%;
    top: 0;
}


.mega-column.active{
    display:grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap:10px 40px;
}

.mega-column h4 {
    margin-bottom: 12px;
    color: #333;
}

.mega-column a {
    display: block;
    text-decoration: none;
    color: #666;
    margin-bottom:5px;
    top: 0;
    height: 100%;
     margin-bottom:10px;
    break-inside:avoid;

}

.mega-column a:hover {
    color: #ff9900;
    display: grid;
}

.categories {
    width: 250px;
}

.mega-panel {
    width: 100%;
    height: 100%;
    
}

.mega-panel {
    opacity: 0;
    transform: translateX(15px);
    transition: all .25s ease;
    pointer-events: none;
}

.categories-wrapper:hover .mega-panel {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* FIXED MEGA MENU */
.categories{
    position:relative;
}
.category-item{
    position:static;
}
.category-item:hover .mega-menu,
.mega-menu:hover{
    display:block;
}


