/* FGD Slider Styles */
.fgd-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.fgd-swiper {
  height: var(--fgd-height, 420px);
  overflow: visible;
}
.fgd-swiper .swiper-wrapper {
  align-items: center;
}

/* UX Builder placeholder styling */
.fgd-card.uxb-no-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: #f5f5f5;
  border: 2px dashed #ccc;
  color: #999;
  font-size: 14px;
  text-align: center;
}
.fgd-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fgd-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.fgd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

/* Ensure images load in UX Builder */
.ux-builder-active .fgd-card img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Core effect:
   - Center slide: 125% scale, full opacity, no blur
   - Prev/Next slides: 70% scale, blurred, lower opacity
   - Other slides: hidden (opacity 0)
   - Blur level is configurable via CSS variable
*/
.fgd-swiper .swiper-slide {
  transition: transform 300ms ease, filter 300ms ease, opacity 300ms ease;
  transform: scale(0.7);
  filter: blur(var(--fgd-blur, 2px));
  opacity: 0;
  pointer-events: none;
}
.fgd-swiper .swiper-slide.swiper-slide-active {
  transform: scale(1.25);
  filter: none;
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.fgd-swiper .swiper-slide.swiper-slide-prev,
.fgd-swiper .swiper-slide.swiper-slide-next {
  transform: scale(0.7);
  filter: blur(var(--fgd-blur, 2px));
  opacity: 0.5;
  pointer-events: none;
}

/* Show only active slide mode - hide all side slides */
.show-only-active .fgd-swiper .swiper-slide.swiper-slide-prev,
.show-only-active .fgd-swiper .swiper-slide.swiper-slide-next {
  opacity: 0;
  visibility: hidden;
}

/* Reposition arrows to edges when showing only active slide */
.show-only-active .fgd-swiper .fgd-prev {
  left: 8px;
}
.show-only-active .fgd-swiper .fgd-next {
  right: 8px;
}

/* Navigation arrows positioned on top of the blurred left and right slides */
.fgd-swiper .swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
}
.fgd-swiper .fgd-prev { left: calc(16.666% - 24px); }
.fgd-swiper .fgd-next { right: calc(16.666% - 24px); }

/* Draw chevrons with CSS */
.fgd-swiper .swiper-button::before,
.fgd-swiper .swiper-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #111;
  transform-origin: left center;
}
.fgd-swiper .fgd-prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.fgd-swiper .fgd-prev::after  { transform: translate(-30%, -50%) rotate(-45deg); }
.fgd-swiper .fgd-next::before { transform: translate(-70%, -50%) rotate(135deg); }
.fgd-swiper .fgd-next::after  { transform: translate(-70%, -50%) rotate(-135deg); }

/* Pagination bullets (optional) */
.fgd-swiper .swiper-pagination {
  bottom: 10px !important;
}

/* Arrow color variations */
.arrow-color-light .swiper-button {
  background: rgba(255,255,255,0.85);
}
.arrow-color-light .swiper-button::before,
.arrow-color-light .swiper-button::after {
  background: #111;
}

.arrow-color-dark .swiper-button {
  background: rgba(0,0,0,0.6);
}
.arrow-color-dark .swiper-button::before,
.arrow-color-dark .swiper-button::after {
  background: #fff;
}

/* Arrow style variations */
/* Simple style - no background, just the arrow */
.arrow-style-simple .swiper-button {
  background: transparent;
  box-shadow: none;
}
.arrow-style-simple .swiper-button::before,
.arrow-style-simple .swiper-button::after {
  width: 16px;
  height: 3px;
}

/* Square style */
.arrow-style-square .swiper-button {
  border-radius: 8px;
}

/* Circle style (default) - already defined above */

/* Arrow size variations */
/* Thin arrows - thinner chevron lines */
.arrow-size-thin .swiper-button::before,
.arrow-size-thin .swiper-button::after {
  width: 10px;
  height: 1px;
}

/* Disabled arrow state */
.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive: on small screens show 1 slide and place arrows at edges */
@media (max-width: 767px) {
.fgd-card img { width: 80%; height: 80%;margin:0 auto;}	
  .fgd-swiper .fgd-prev {
    left: -8px;
    width: 56px;
    height: 56px;
  }
  .fgd-swiper .fgd-next {
    right: -8px;
    margin-right: 0;
    width: 56px;
    height: 56px;
  }

  /* Bigger arrows on mobile */
  .fgd-swiper .swiper-button::before,
  .fgd-swiper .swiper-button::after {
    width: 16px;
    height: 2.5px;
  }
}

/* ==========================================================
   CAROUSEL PRODUCT HERO (aligned columns, with dividers)
   ========================================================== */

.carousel-product {
  text-align: center;
  padding: 40px 20px;
  font-family: "Poppins", sans-serif;
  display: none; /* Hidden by default, shown by JS when content exists */
  opacity: 0;
  transition: opacity 400ms ease;
}

/* Title */
.carousel-product__title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 25px;
  color: #fff;
}

/* Feature columns container */
.carousel-product__features {
  display: flex;
  justify-content: center;
  align-items: stretch; /* ensures equal height */
  flex-wrap: wrap;
  max-width: 900px; /* optional for consistent layout */
  margin: 0 auto 30px auto;
  gap: 0; /* dividers will create visual separation */
}

/* Individual feature columns */
.carousel-product__feature {
  flex: 1 1 33.33%;
  max-width: 300px;
  min-width: 240px;
  text-align: left;
  padding: 0 25px;
  position: relative;
  box-sizing: border-box;
}

/* Vertical divider between columns (first and second only) */
.carousel-product__feature:nth-child(1)::after,
.carousel-product__feature:nth-child(2)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 45px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0.35), rgba(255,255,255,0.15));
}

/* Feature title */
.carousel-product__feature-title {
  font-weight: 500;
  font-size: 12px;
  color: #ccc;
  margin-bottom: -2px;
  white-space: nowrap;
}

/* Feature description */
.carousel-product__feature-text {
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* CTA area */
.carousel-product__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Button */
.carousel-product__btn {
  background-color: #00B4D8;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 16px 24px;
  text-transform: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.carousel-product__btn:hover {
  background-color: #0096b8;
  transform: translateY(-2px);
}

/* Price */
.carousel-product__price {
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}

/* Mobile styles for product section */
@media (max-width: 767px) {
  .carousel-product__feature {
    padding: 0 12px;
    margin-bottom: 15px;
  }

  /* Hide dividers on mobile */
  .carousel-product__feature:nth-child(1)::after,
  .carousel-product__feature:nth-child(2)::after {
    display: none;
  }
}
