.product-selector {
    text-align: center;
    margin-bottom: 20px;
}

#productContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#productContainer label {
    margin: 5px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;

}

.nutrient-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.nutrient-table th, .nutrient-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.nutrient-table th {
    background-color: #f2f2f2;
}

.nutrient-table td {
    text-transform: capitalize;
}

.product-checkbox input {
    position: absolute;
    opacity: 0;
}

.product-checkbox label {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-checkbox input:checked + label {
    background-color: #ea9d3e;
    color: #000000;
    border-color: #28a745; 
}

.product-checkbox input:checked + label:hover {
    background-color: #ea9d3e; 
}

.product-checkbox label:hover {
    background-color: #f0f0f0; 
}

.category-selector {
    text-align: center;
    margin-bottom: 20px;
}

.category-selector label {
   margin-bottom: 0.5em;
}

.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-buttons button {
    margin: 5px;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.category-buttons button:hover {
    background-color: #e0e0e0;
}

.category-buttons button.active-category {
    background-color: #ea9d3e;
    color: #000000;
}

.category-buttons button.active-category:hover {
    background-color: #ea9d3e;
}

.product-selector label {
    margin-bottom: 0.5em;
}

