/* Zignature Selling Points Carousel Widget Styles */

.zignature-selling-points-carousel {
  position: relative;
  width: 100%;
}

.zignature-selling-points-carousel .swiper-container {
  width: 100%;
  height: auto;
  position: relative;
}

.zignature-selling-points-carousel .swiper-slide {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zignature-selling-point-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zignature-selling-point-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.zignature-selling-point-image {
  width: 100%;
  max-width: 200px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.zignature-selling-point-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.zignature-selling-point-slide:hover .zignature-selling-point-image img {
  transform: scale(1.05);
}

.zignature-selling-point-quip {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.zignature-selling-point-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Navigation arrows */
.zignature-selling-points-carousel .swiper-button-next,
.zignature-selling-points-carousel .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-top: -20px;
}

.zignature-selling-points-carousel .swiper-button-next:hover,
.zignature-selling-points-carousel .swiper-button-prev:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.zignature-selling-points-carousel .swiper-button-next::after,
.zignature-selling-points-carousel .swiper-button-prev::after {
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

/* Pagination dots */
.zignature-selling-points-carousel .swiper-pagination {
  position: relative;
  margin-top: 2rem;
  bottom: 0;
}

.zignature-selling-points-carousel .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.zignature-selling-points-carousel .swiper-pagination-bullet-active {
  background: #007cba;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .zignature-selling-point-slide {
    padding: 1.5rem;
  }

  .zignature-selling-point-image {
    max-width: 180px;
    height: 135px;
  }

  .zignature-selling-point-quip {
    font-size: 1rem;
  }

  .zignature-selling-point-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .zignature-selling-point-slide {
    padding: 1.5rem;
  }

  .zignature-selling-point-image {
    max-width: 150px;
    height: 120px;
  }

  .zignature-selling-point-quip {
    font-size: 1rem;
  }

  .zignature-selling-point-text {
    font-size: 0.9rem;
  }

  .zignature-selling-points-carousel .swiper-button-next,
  .zignature-selling-points-carousel .swiper-button-prev {
    width: 35px;
    height: 35px;
  }

  .zignature-selling-points-carousel .swiper-button-next::after,
  .zignature-selling-points-carousel .swiper-button-prev::after {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .zignature-selling-point-slide {
    padding: 1rem;
    gap: 1rem;
  }

  .zignature-selling-point-image {
    max-width: 120px;
    height: 100px;
  }

  .zignature-selling-point-quip {
    font-size: 0.95rem;
  }

  .zignature-selling-point-text {
    font-size: 0.85rem;
  }

  .zignature-selling-points-carousel .swiper-button-next,
  .zignature-selling-points-carousel .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .zignature-selling-points-carousel .swiper-button-next::after,
  .zignature-selling-points-carousel .swiper-button-prev::after {
    font-size: 12px;
  }

  .zignature-selling-points-carousel .swiper-pagination {
    margin-top: 1.5rem;
  }
}

/* Elementor editor styles */
.elementor-editor-active .zignature-selling-points-carousel {
  min-height: 200px;
}

.elementor-editor-active .zignature-selling-point-slide {
  min-height: 150px;
}

/* Loading state */
.zignature-selling-points-carousel.loading {
  opacity: 0.7;
  pointer-events: none;
}

.zignature-selling-points-carousel.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Accessibility improvements */
.zignature-selling-points-carousel .swiper-button-next:focus,
.zignature-selling-points-carousel .swiper-button-prev:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.zignature-selling-points-carousel .swiper-pagination-bullet:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .zignature-selling-point-slide {
    border: 2px solid #000;
  }

  .zignature-selling-points-carousel .swiper-button-next,
  .zignature-selling-points-carousel .swiper-button-prev {
    border: 2px solid #000;
  }

  .zignature-selling-points-carousel .swiper-pagination-bullet {
    border: 1px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .zignature-selling-point-slide,
  .zignature-selling-point-slide:hover,
  .zignature-selling-point-image img,
  .zignature-selling-point-slide:hover .zignature-selling-point-image img,
  .zignature-selling-points-carousel .swiper-button-next,
  .zignature-selling-points-carousel .swiper-button-prev,
  .zignature-selling-points-carousel .swiper-button-next:hover,
  .zignature-selling-points-carousel .swiper-button-prev:hover,
  .zignature-selling-points-carousel .swiper-pagination-bullet,
  .zignature-selling-points-carousel .swiper-pagination-bullet-active {
    transition: none;
    transform: none;
  }
}
