/* Main Grid of Mega Menu */
.mega-menu-grid {
    display: flex;
    flex-direction: row;
    padding: 18px;
    background: #fff;
    border-radius: 8px;

    /* spacing between columns */
    gap: 28px;
}

/* Each Column */
.mega-col {
    display: flex;
    flex-direction: column;
    gap: 18px; /* vertical spacing between items */
}

/* Individual category box */
.mega-cat-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 8px;
    background: #fafafa;
    text-decoration: none;
    color: inherit;
    transition: background .18s ease, transform .12s ease;
}

.mega-cat-box:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Image wrapper */
.cat-img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Title */
.cat-title {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* View All button position inside last column */
.view-all-col {
    align-self: start; /* keeps it aligned with column items */
}

.view-all-btn {
    color: #ff6b5b;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}
