.nutrition-card{
    /* display: flex; */
    max-width: fit-content;
    /* gap: 10px; */
    /* background-color: #f0f0f0; */
    align-items: center;
    /* padding: 8px; */
    /* border-radius: 6px; */
 }

 .nutrition-card .nutrition-icon{
    /* width: 20px; */
    /* height: 20px; */
 }

 .item-nut-info {
    display: grid;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
}

.item-nut-info > div {
    display: flex;
    align-items: center;
    gap: .25rem;
    /* border: 1px solid #ccc; */
    /* padding: 6px; */
    /* grid-column: -1/1; */
}

i.fi.fi-rr-flame {
    color: red;
}

i.fi.fi-rr-candy {
    color: #3F51B5;
}

i.fi {
    position: relative;
    top: 2px;
}

i.fi.fi-rr-triangle-warning {
    color: orange;
}

.allergen-warning-card {
    grid-column: -1/1;
}

/* Nutrition Guidelines Section Styling */
.nutrition-guidelines-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.guidelines-header {
    margin-bottom: 2rem;
}

.guidelines-title {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.guidelines-title i {
    color: #e74c3c;
    font-size: 2rem;
}

.guidelines-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guideline-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.guideline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, currentColor, transparent);
    opacity: 0.3;
}

.guideline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.card-content p {
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.card-content strong {
    color: #2c3e50;
    font-weight: 700;
}

/* Specific card styling */
.calories-adult {
    border-left-color: #3498db;
}

.calories-adult .card-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.calories-children {
    border-left-color: #9b59b6;
}

.calories-children .card-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.salt-limit {
    border-left-color: #e67e22;
}

.salt-limit .card-icon {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.salt-warning {
    border-left-color: #e74c3c;
}

.salt-warning .card-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.warning-emoji {
    font-size: 1.8rem !important;
}

.sugar-adult {
    border-left-color: #f39c12;
}

.sugar-adult .card-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.sugar-children {
    border-left-color: #e91e63;
}

.sugar-children .card-icon {
    background: linear-gradient(135deg, #e91e63, #c2185b);
}

.sugar-free {
    border-left-color: #27ae60;
}

.sugar-free .card-icon {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.caffeine-limit {
    border-left-color: #795548;
}

.caffeine-limit .card-icon {
    background: linear-gradient(135deg, #795548, #6d4c41);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nutrition-guidelines-section {
        padding: 1.5rem;
        margin: 1rem 0;
        border-radius: 15px;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guidelines-title {
        font-size: 1.5rem;
    }
    
    .guideline-card {
        padding: 1.25rem;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .nutrition-guidelines-section {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .guidelines-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .guideline-card {
        padding: 1rem;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
}