.namasteearth-carousel {
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
}

.namasteearth-swiper {
  border-radius: 0;
  overflow: hidden;
  background: #1f1f1f;
}

.carousel-item {
  position: relative;
  min-height: 550px;
  background: #111;
  overflow: hidden;
}

.carousel-item-media {
  position: absolute;
  inset: 0;
  background: #0f0f0f;
}

.carousel-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-item-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.6) 100%);
}

.carousel-item-placeholder {
  width: 100%;
  height: 100%;
  min-height: 550px;
  background: linear-gradient(135deg, #c6ddd1, #a3c4b5);
}

.carousel-item-body {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 36px;
  max-width: 680px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.carousel-item-title {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.carousel-item-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  max-width: 560px;
}

.carousel-item-text p {
  margin: 0 0 10px;
}

.carousel-item-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 18px;
}

.carousel-item-cta:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.namasteearth-swiper .namasteearth-swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.namasteearth-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: width 0.25s ease, background-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.namasteearth-swiper .swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
}

.namasteearth-swiper .swiper-pagination-bullet-active {
  width: 34px;
  background: rgba(255, 255, 255, 0.28);
}

.namasteearth-swiper .swiper-pagination-bullet-active::before {
  animation: namasteearthDotProgress var(--dot-progress-duration, 4.5s) linear forwards;
}

@keyframes namasteearthDotProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* --- Prev / Next navigation buttons --- */
.namasteearth-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.40);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.namasteearth-swiper-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) scale(1.08);
}

.namasteearth-swiper-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.namasteearth-swiper-prev {
  left: 18px;
}

.namasteearth-swiper-next {
  right: 18px;
}

.namasteearth-swiper-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}
