body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    width: 100%;
    padding-top: 80px;
    /* Increased space below fixed nav */
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    /* Adjust for nav (~60px) and footer (~60px) */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4DB6AC;
    margin: 0.5rem 0;
}

.product-card button {
    background-color: #4DB6AC;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.product-card button:hover {
    background-color: #FF7043;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.filters select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 1rem;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #1A202C !important;
    color: white;
    width: 100%;
    flex-shrink: 0;
}

footer h3 {
    margin: 0;
    font-size: 1.5rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FF7043;
}

/* Menu Styles */
nav .container {
    max-width: 1200px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4DB6AC;
}

nav ul li ul {
    min-width: 150px;
    top: 100%;
    left: 0;
    z-index: 20;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

nav ul li ul.is-active {
    opacity: 1;
    visibility: visible;
}

nav ul li ul li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

nav ul li ul li a:hover {
    background-color: #2D3748;
}