body {
  position: relative;
  font-family: 'Roboto', sans-serif;
  padding-top: 4.5rem;
  padding-bottom: 70px;
  overflow-x: hidden;
  overflow-y: scroll; /* предотвращаем скачки из-за скролла */
}

/* Приглушённый фон */
/*body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/fruit_background_920x1080.webp") center center / cover no-repeat fixed;
  opacity: 0.25;
  z-index: -1;
}*/

/* 🔄 СТИЛИ ДЛЯ БАННЕРА / ПРОМО-КАРУСЕЛІ */
#promoCarousel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
  width: 100%;
  height: auto;          /* высота подстраивается по пропорциям */
  max-height: 360px;     /* при желании ограничиваем максимальную высоту */
  object-fit: contain;   /* показываем всё изображение целиком */
  display: block;
}

@media (max-width: 576px) {
  .carousel-item img {
    height: auto;
    max-height: 200px;    /* мобильный лимит высоты */
    object-fit: contain;
  }
}

.carousel-caption {
  bottom: 10%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 12px 20px;
  border-radius: 8px;
  color: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}

/* 🔘 Кнопки категорий */
.catalog-button,
.catalog-button:visited,
.catalog-button:hover,
.catalog-button:focus,
.catalog-button:active {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #198754;
  color: #198754;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  margin: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  text-decoration: none !important;
  transition: background-color 0.3s, color 0.3s;
}

.catalog-button:hover {
  background-color: #198754;
  color: white;
}

/* 📦 Белый блок описания и отзывов */
.product-description-box {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid #eee;
}

/* 📱 Адаптив — мобильные устройства (до 576px) */
@media (max-width: 576px) {
  .catalog-button {
    font-size: 0.95rem;
    padding: 6px 12px;
    margin: 4px;
  }

  .product-description-box {
    padding: 16px;
  }

  h1, h2, h4 {
    font-size: 1.25rem;
    text-align: center;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* 📲 Адаптив — планшеты (577px–768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .catalog-button {
    font-size: 1rem;
    padding: 8px 14px;
    margin: 5px;
  }

  .product-description-box {
    padding: 18px;
  }

  h1, h2 {
    font-size: 1.6rem;
  }
}

/* 💻 Адаптив — десктопы (от 992px) */
@media (min-width: 992px) {
  .catalog-button {
    font-size: 1.1rem;
    padding: 10px 18px;
    margin: 8px;
  }

  .product-description-box {
    padding: 24px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

/* 🆘 Наведение на кнопку помощи */
#helpBtn:hover {
  transform: scale(1.1);
  transition: 0.3s ease;
}

/* 🔢 Убираем стрелки у input[type=number] */
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 📞 Плавающая кнопка "Позвонить" на мобильных */
.call-btn-mobile {
  position: fixed;
  /* поднимаем кнопку выше нижнего меню */
  bottom: calc(env(safe-area-inset-bottom, 0px) + 150px);
  right: 20px;
  z-index: 1200; /* выше всех элементов интерфейса */
}

/* Скрываем подпись баннера в промо-карусели */
#promoCarousel .carousel-caption {
  display: none !important;
}

/* 🎉 Страница благодарности */
.thanks-container {
  max-width: 720px;
  margin: 60px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.thanks-container h1 {
  font-size: 2rem;
  color: #198754;
  margin-bottom: 20px;
}

.thanks-container p {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #333;
}

.thanks-logo {
  max-width: 120px;
  margin-bottom: 20px;
}

/* 🔥 Видеофон лендинга */
.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-content {
  z-index: 1;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.4); /* затемнение фона */
  border-radius: 12px;
}

@media (max-width: 768px) {
  .video-hero {
    height: 75vh;
  }
  .video-content h1 {
    font-size: 1.8rem;
  }
  .video-content p {
    font-size: 1rem;
  }
}
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: url('/static/img/greenhouse-bg.jpg') center/cover no-repeat;
}

.bug {
  position: absolute;
  width: 40px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.8;
}

/* 🐜 Тля */
.aphid {
  top: 80%;
  left: 5%;
  animation: crawl 30s linear infinite;
}

/* 🦟 Білокрилка */
.whitefly {
  top: 10%;
  left: -10%;
  animation: fly-across 18s linear infinite;
}

/* 🐛 Трипс */
.trip {
  top: 60%;
  left: 95%;
  animation: crawl-reverse 28s linear infinite;
}

@keyframes crawl {
  0%   { left: 5%; top: 80%; }
  50%  { left: 30%; top: 75%; }
  100% { left: 70%; top: 85%; }
}

@keyframes crawl-reverse {
  0%   { left: 95%; top: 60%; }
  50%  { left: 70%; top: 55%; }
  100% { left: 10%; top: 65%; }
}

@keyframes fly-across {
  0%   { left: -10%; top: 10%; }
  100% { left: 110%; top: 15%; }
}

/* ✅ Исправление скачка при загрузке карусели */
#promoCarousel .carousel-inner {
  min-height: 360px;
  background-color: #f8f9fa; /* светлый фон как заглушка */
}

@media (max-width: 576px) {
  #promoCarousel .carousel-inner {
    min-height: 200px;
  }
}

.checkout-step {
  padding: 20px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin-bottom: 20px;
  background: #fff;
}

/* Reviews: star rating */
.rating-stars{display:inline-flex;flex-direction:row-reverse;gap:4px}
.rating-stars input{display:none}
.rating-stars label{font-size:28px;line-height:1;cursor:pointer;color:#cbd5e1}
.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label{color:#f59e0b}
