/* ========================================
   SWIPER PAGINATION FIXES
   ========================================
   Виправлення позиціювання пагінації Swiper 
   для service та інших секцій де точки заходять на слайди
======================================== */

/* Загальне виправлення позиціювання пагінації Swiper */
.service-pagination,
.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  top: auto !important;
  margin-top: 30px !important;
  margin-bottom: 20px !important;
  padding: 15px 0 !important;
  text-align: center;
  z-index: 10;
}

/* Для конкретної пагінації сервісів */
.service-pagination {
  margin-top: 40px !important;
  margin-bottom: 30px !important;
}

/* Переконуємося що пагінація не накладається на контент */
.swiper-container {
  padding-bottom: 60px !important;
}

/* Додатковий відступ для swiper wrapper */
.swiper-wrapper {
  margin-bottom: 40px;
}

/* Стилі для bullet пагінації */
.service-pagination .swiper-pagination-bullet,
.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #e0e0e0;
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-pagination .swiper-pagination-bullet-active,
.swiper-pagination .swiper-pagination-bullet-active {
  background: var(--theme-3, #41C575);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(65, 197, 117, 0.4);
}

/* Виправлення для горизонтальних слайдерів */
.swiper-pagination-horizontal {
  bottom: 0 !important;
  position: relative !important;
  margin-top: 25px;
}

/* Виправлення для секцій з service класом */
.service-section .swiper-pagination,
.service-area .swiper-pagination {
  margin-top: 50px !important;
  padding: 20px 0 !important;
}

/* Забезпечуємо що контейнер має достатньо місця */
.service-section,
.service-area {
  padding-bottom: 40px !important;
}

/* Responsive поправки */
@media (max-width: 768px) {
  .service-pagination,
  .swiper-pagination {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
  }
  
  .swiper-container {
    padding-bottom: 50px !important;
  }
  
  .service-pagination .swiper-pagination-bullet,
  .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

@media (max-width: 480px) {
  .service-pagination,
  .swiper-pagination {
    margin-top: 20px !important;
  }
}

/* Специфічні виправлення для різних типів слайдерів */
.team-slider .swiper-pagination {
  margin-top: 35px !important;
}

.testimonial-slider .swiper-pagination {
  margin-top: 40px !important;
}

.hero-slider .swiper-pagination {
  position: absolute !important;
  bottom: 30px !important;
}

/* Переконуємося що пагінація завжди видима */
.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}

.swiper-pagination-bullet:hover {
  background: var(--theme-4, #79B900);
  transform: scale(1.1);
}

/* ========================================
   HOMEPAGE DISCOUNT BADGE FIXES
   ========================================
   Стилі для discount badge на головній сторінці
   у секції "Вигідні ціни цього тижня"
======================================== */

/* Спеціальні стилі для discount badge на головній сторінці */
.pricing-section .team-box-items-style-1 .discount-badge-custom {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 80px !important;
  height: 35px !important;
  background: #dc3545 !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border-radius: 20px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
  text-align: center !important;
  z-index: 5 !important;
}

/* Активний стан для другого товару */
.pricing-section .team-box-items-style-1.active .discount-badge-custom {
  background: #ff6b35 !important;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4) !important;
}

/* Hover ефект */
.pricing-section .team-box-items-style-1 .discount-badge-custom:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4) !important;
  transition: all 0.3s ease !important;
}

/* Responsive для мобільних пристроїв */
@media (max-width: 768px) {
  .pricing-section .team-box-items-style-1 .discount-badge-custom {
    width: 70px !important;
    height: 30px !important;
    font-size: 14px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
}

@media (max-width: 480px) {
  .pricing-section .team-box-items-style-1 .discount-badge-custom {
    width: 60px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
}