/* ============================================
   NUTRITION & ALLERGY INFO CARD - UNIVERSAL STYLES
   4 Columns: Calories, Time to consume, Salt, Fat
   ============================================ */

.nutrition-card {
  background: linear-gradient(145deg, #ffffff 0%, #fef8f0 100%);
  border-radius: 42px;
  padding: 2rem 1.8rem;
  margin: 2rem auto;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(230, 180, 100, 0.2);
  transition: all 0.2s ease;
  /* font-family: 'Rubik', 'Roboto', sans-serif; */
}

.nutrition-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 40px -14px rgba(0, 0, 0, 0.15);
}
.nutrition-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #5b0c27;
  display: flex;
  align-items: center;
  gap: 12px;
  
  padding-left: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 15;
  background: transparent;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 0 20px 20px 0;
}

.nutrition-card h3 ion-icon {
  font-size: 28px;
  color: #e7a74e;
}

/* Stats Grid - 2 columns on each row */
.nutrition-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px dashed #f0dbb2;
  padding-bottom: 1.5rem;
}

.stat-item {
  background: #fff6ea;
  border-radius: 28px;
  padding: 1rem 0.8rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: scale(1.02);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  /* color: #b45f2b; */
   color: #5b0c27;
  margin-bottom: 8px;
  display: block;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #2c1a12;
  line-height: 1.2;
}

.stat-unit {
  font-size: 0.9rem;
  font-weight: 500;
  /* color: #7e5a40; */
  color: #5b0c27;
}

.stat-note {
  font-size: 12px;
  /* color: #a05e32; */
  color: #5b0c27;
  display: block;
  margin-top: 5px;
}

/* Allergen Section */
.allergen-section {
  background: #fff3e4;
  border-radius: 32px;
  padding: 1.2rem 1.5rem;
  margin-top: 0.8rem;
}

.allergen-title {
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  /* color: #a12544; */
  color: #5b0c27;
  margin-bottom: 14px;
}

.allergen-title ion-icon {
  font-size: 22px;
}

.allergen-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
}

.allergen-badge {
  background: white;
  border-radius: 60px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #5b2e1a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3d9b5;
  transition: all 0.2s;
}

.allergen-badge strong {
  font-weight: 700;
  color: #c13b2b;
}

.time-notice {
  margin-top: 14px;
  font-size: 0.85rem;
  background: #fff0e0;
  border-radius: 40px;
  padding: 6px 12px;
  display: inline-block;
  width: auto;
}

.fine-print {
  margin-top: 1.2rem;
  font-size: 0.7rem;
  /* color: #9b7b62; */
  color: #5b0c27;
  text-align: center;
  border-top: 1px solid #f1e2cf;
  padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 540px) {
  .nutrition-card {
    padding: 1.5rem;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .nutrition-stats {
    gap: 0.8rem;
  }
}


/*------*/
.allergen-details{
  font-size: 1.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  /* color: #b45f2b; */
   color: #5b0c27;
  margin-bottom: 8px;
  display: block;
}

/* Hide the nutrition icon before the heading */
.nutrition-card h3 ion-icon {
  display: none;
}