﻿/* menu.css */
.main-menu {
    position: relative;
    display: flex;
    gap: 20px;
}

.menu-root {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
/* ... rest of menu styles ... */

/* Main menu root */
.main-menu {
    position: relative;
    background: #fff;
    display: flex;
    gap: 20px;
}

.menu-root {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
    padding: 15px 20px;
}

    .menu-item a {
        text-decoration: none;
        font-weight: 600;
        color: #333;
    }

/* Mega Menu Styling */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 400px; /* adjust as per design */
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    z-index: 10;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item:hover .mega-menu {
    display: grid;
}

.mega-menu a {
    font-weight: 400;
    color: #444;
    text-decoration: none;
}

    .mega-menu a:hover {
        color: #e74c3c;
        text-decoration: underline;
    }


    /* Category Features*/

.shop-by-category h2 {
    font-weight: 700;
}

.category-card {
    display: inline-block;
    text-align: center;
}

.category-img-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #900;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .category-img-wrap:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

.category-card a {
    text-decoration: none;
    color: inherit;
}