
/* Container Styles */
.product-description,
.nutrition-info {
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Heading Styles */
.s-product-description h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.4em;
}

/* Ingredients Section */
.ingredients {
    margin-top: 15px;
}

.ingredients p {
    margin: 5px 0;
    padding-left: 10px;
}

/* Allergen Highlighting */
.allergen {
    color: #e74c3c;
    font-weight: bold;
    background-color: #ffe5e5;
    padding: 3px 8px;
    border-left: 3px solid #e74c3c;
    margin: 8px 0 !important;
}

/* Nutrition Info Section */
.nutrition-subtitle {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: -10px;
    margin-bottom: 15px;
    font-style: italic;
}

/* Nutrition Table */
.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.nutrition-table th {
    background-color: #3498db;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    font-size: 1em;
}

.nutrition-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #ecf0f1;
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

.nutrition-table tbody tr {
    transition: background-color 0.2s ease;
}

.nutrition-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Sub-rows (e.g., "davon gesättigte Fettsäuren") */
.nutrition-table .sub-row td {
    font-style: italic;
    color: #7f8c8d;
    font-size: 0.95em;
    padding-left: 30px;
}

/* Responsive Design */
@media (max-width: 600px) {


    .product-description,
    .nutrition-info {
        padding: 15px;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 1.2em;
    }

    .nutrition-table th,
    .nutrition-table td {
        padding: 8px;
        font-size: 0.9em;
    }

    .nutrition-table .sub-row td {
        padding-left: 20px;
    }
}

/* Print Styles */
@media print {

    .product-description,
    .nutrition-info {
        box-shadow: none;
        page-break-inside: avoid;
    }

    .nutrition-table tbody tr:hover {
        background-color: transparent;
    }
}