/* Product Slider — WPBakery element */
.pr-product-slider-section {
  width: 100%;
  margin-bottom: 40px;
}

.pr-product-slider.swiper {
  position: relative;
  padding: 0 36px;
  overflow: hidden;
}

.pr-product-slider .swiper-slide {
  height: auto;
}

.pr-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.pr-product-card__image {
  border: 5px solid var(--voicey-el-border, var(--voicey-lavender-bar));
  background: var(--voicey-el-bg-card, #fff);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.pr-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-top: 14px;
}

.pr-product-card__title {
  margin: 0 0 6px;
  font-family: var(--voicey-font-playfair, "Playfair Display", Georgia, serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--voicey-el-text, #000);
}

.pr-product-card__subtitle {
  margin: 0 0 14px;
  font-family: var(--voicey-font-playfair, "Playfair Display", Georgia, serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--voicey-el-text-muted, #333);
}

.pr-product-card__btn {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 12px 16px;
  background: var(--voicey-el-btn-bg, var(--voicey-lavender));
  color: var(--voicey-el-btn-text, #000);
  font-family: var(--voicey-font-funnel, "Funnel Sans", sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pr-product-card__btn:hover,
.pr-product-card__btn:focus-visible {
  background: var(--voicey-el-btn-hover-bg, var(--voicey-purple));
  color: var(--voicey-el-btn-hover-text, #fff);
  text-decoration: none;
}

.pr-product-card__btn.is-disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.85;
}

.pr-product-slider .swiper-button-next,
.pr-product-slider .swiper-button-prev {
  top: 38%;
  width: 36px;
  height: 72px;
  margin-top: -36px;
  background: var(--voicey-el-nav-bg, rgba(230, 217, 245, 0.92));
  border-radius: 0;
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.pr-product-slider .swiper-button-prev {
  left: 0;
}

.pr-product-slider .swiper-button-next {
  right: 0;
}

.pr-product-slider .swiper-button-next::after,
.pr-product-slider .swiper-button-prev::after {
  color: var(--voicey-el-nav-color, #000);
  font-size: 18px;
  font-weight: 700;
}

.pr-product-slider .swiper-button-disabled {
  opacity: 0.35 !important;
}

@media (max-width: 768px) {
  .pr-product-slider.swiper {
    padding: 0 28px;
  }

  .pr-product-card__title {
    font-size: 18px;
  }

  .pr-product-card__subtitle {
    font-size: 16px;
  }

  .pr-product-card__btn {
    font-size: 13px;
    padding: 10px 12px;
  }

  .pr-product-slider .swiper-button-next,
  .pr-product-slider .swiper-button-prev {
    width: 28px;
    height: 56px;
    margin-top: -28px;
  }
}

/* Dark theme */
body.voicey-theme-dark {
  --voicey-el-text: #fff;
  --voicey-el-text-muted: #e8e8e8;
  --voicey-el-bg-card: #131414;
  --voicey-el-border: #7a5f96;
  --voicey-el-btn-bg: #a97ae6;
  --voicey-el-btn-text: #111;
  --voicey-el-btn-hover-bg: #6d0aff;
  --voicey-el-btn-hover-text: #fff;
  --voicey-el-nav-bg: rgba(109, 80, 128, 0.92);
  --voicey-el-nav-color: #fff;
}

body.voicey-theme-dark .pr-product-card__title,
body.voicey-theme-dark .pr-product-card__subtitle {
  color: var(--voicey-el-text) !important;
}

body.voicey-theme-dark .pr-product-card__subtitle {
  color: var(--voicey-el-text-muted) !important;
}

body.voicey-theme-dark .pr-product-card__image {
  background: var(--voicey-el-bg-card);
}

body.voicey-theme-dark .pr-product-card__btn {
  background: var(--voicey-el-btn-bg);
  color: var(--voicey-el-btn-text);
}

body.voicey-theme-dark .pr-product-card__btn:hover,
body.voicey-theme-dark .pr-product-card__btn:focus-visible {
  background: var(--voicey-el-btn-hover-bg);
  color: var(--voicey-el-btn-hover-text);
}

body.voicey-theme-dark .pr-product-slider .swiper-button-next,
body.voicey-theme-dark .pr-product-slider .swiper-button-prev {
  background: var(--voicey-el-nav-bg);
}

body.voicey-theme-dark .pr-product-slider .swiper-button-next::after,
body.voicey-theme-dark .pr-product-slider .swiper-button-prev::after {
  color: var(--voicey-el-nav-color);
}
