
body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    background: #fdfcf8; 
}

.header-logo img { 
    max-height: 80px; 
    margin: 10px auto; 
    display: block; 
}

.navbar { 
    background: #5d4037; 
    padding: 10px 0; 
    text-align: center;
    margin-top: 20px; /* Moves the navbar below the logo */
}

.navbar .nav-links { 
    list-style: none; 
    display: flex; 
    justify-content: center; 
    margin: 0; 
    padding: 0; 
    gap: 16px; 
}

.navbar .nav-links a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: bold; 
}

.navbar .nav-links a:hover { 
    color: #d7ccc8; 
}

h1 { 
    text-align: center; 
    margin: 18px 0; 
    color: #2e7d32; 
}

.notice { 
    text-align: center; 
    margin-bottom: 10px; 
    font-size: .95em; 
    color: #666; 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(1, minmax(0,1fr)); 
    gap: 16px; 
    padding: 16px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

@media (min-width: 640px) { 
    .grid { 
        grid-template-columns: repeat(2, minmax(0,1fr)); 
    } 
}

@media (min-width: 1024px) { 
    .grid { 
        grid-template-columns: repeat(4, minmax(0,1fr)); 
    } 
}

.card { 
    background: #e8f5e9; 
    border: 1px solid #c8e6c9; 
    border-radius: 12px; 
    box-shadow: 0 2px 6px rgba(0,0,0,.08); 
    padding: 12px; 
    text-align: center; 
}

.card h3 { 
    margin: 8px 0 6px; 
    color: #2e7d32; 
}

.card p { 
    margin: 0 0 10px; 
    font-size: .95em; 
    color: #444; 
}

.actions { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    flex-wrap: wrap; 
}

.actions label { 
    font-size: .9em; 
}

.qty-input { 
    width: 56px; 
    text-align: center; 
    padding: 6px; 
    border: 1px solid #c8e6c9; 
    border-radius: 8px; 
    background: #fff; 
}

.btn { 
    display: inline-block; 
    padding: 8px 14px; 
    border-radius: 8px; 
    text-decoration: none; 
    cursor: pointer; 
    border: none; 
}

.btn.primary { 
    background: #2e7d32; 
    color: #fff; 
    font-weight: 600; 
}

.btn.primary:hover { 
    filter: brightness(0.95); 
}

/* Green Navbar Full-Width Fix */
.category-nav { 
    background-color: #a5d6a7; 
    text-align: center; 
    padding: 12px; 
    width: 100%;  /* Ensures it spans the full width */
    color: black; 
    position: relative; 
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}
.category-nav a { 
    color: black; 
    font-size: 1.2em; 
    font-weight: bold; 
    text-decoration: none; 
    display: inline-block; 
    text-align: center; 
}
