/* Контейнер всієї секції */
.tour-nutrition-section {
    max-width: 1200px;
    margin: 30px auto;
    font-family: 'Montserrat', sans-serif;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Заголовок "ХАРЧУВАННЯ В ТУРІ" */
.nutrition-header {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: left;
    color: #1a1a1a;
}

/* Головний контейнер для блоків - вирівнює все в один ряд */
.nutrition-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important; /* Робить всі картки однакової висоти */
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Стиль самої плашки */
.nutrition-card {
    flex: 1; /* Кожна картка займає рівну частину простору */
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 15px !important;
    padding: 12px 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 70px !important;
    margin: 0 !important; /* Прибирає зміщення */
    box-sizing: border-box !important;
}

/* Кругла підкладка під іконку */
.icon-sphere {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border: 2px solid #00562b !important;
}

/* Кольори фону іконок */
.bg-tour-yellow { background-color: #ffcc00 !important; }
.bg-tour-green { background-color: #006b33 !important; }

/* Текстовий блок всередині картки */
.nutrition-text-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Назва (Сніданок, Обід, Вечеря) */
.nutrition-main-label {
    font-weight: 800 !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* Опис під назвою */
.nutrition-sub-label {
    font-weight: 400 !important;
    font-size: 11px !important;
    color: #444 !important;
    margin-top: 2px !important;
    line-height: 1.3 !important;
}

.tour_cover_with_price{
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 32px;
  border-radius: 28px;
  overflow: hidden;
  line-height: 0;
}

.tour_cover_with_price img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.tour_price_badge{
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 10;

  min-width: 190px;
  padding: 16px 18px 18px;
  border-radius: 20px;

  text-align: center;
  line-height: 1.15;

  background: linear-gradient(180deg, rgba(33,58,50,0.88) 0%, rgba(20,38,33,0.82) 100%);
  border: 1px solid rgba(245,190,0,0.45);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.10);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tour_price_label{
  display: block;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5d36a;
}

.tour_price_value{
  display: block;
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  color: #fff6d9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

@media (max-width: 991px){
  .tour_price_badge{
    top: 16px;
    right: 16px;
    min-width: 165px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .tour_price_label{
    margin-bottom: 8px;
    font-size: 15px;
  }

  .tour_price_value{
    font-size: 30px;
  }
}

@media (max-width: 767px){
  .tour_cover_with_price,
  .tour_cover_with_price img{
    border-radius: 18px;
  }

  .tour_price_badge{
    top: auto;
    right: 10px;
    bottom: 10px;

    min-width: auto;
    padding: 9px 12px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: rgba(20,38,33,0.82);
    border: 1px solid rgba(245,190,0,0.38);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  }

  .tour_price_label{
    margin: 0;
    font-size: 11px;
    line-height: 1;
  }

  .tour_price_value{
    font-size: 20px;
    line-height: 1;
  }
}

@media (max-width: 480px){
  .tour_price_badge{
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
    gap: 6px;
  }

  .tour_price_label{
    font-size: 10px;
  }

  .tour_price_value{
    font-size: 18px;
  }
}

@media (max-width: 900px) {
    .nutrition-grid {
        flex-direction: column !important; /* На смартфонах стають один під одним */
    }
    .nutrition-card {
        width: 100% !important;
    }
}