
.pm-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  min-height: 470px;
  margin: 0 auto;
  overflow: hidden;
}

.pm-carousel-stage {
  position: relative;
  width: 100%;
  height: 470px;
}

.pm-carousel-loading,
.pm-carousel-empty,
.pm-carousel-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: #fff;
  font-family: Cabin, Arial, sans-serif;
  letter-spacing: 0.04em;
}

.pm-product-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(310px, 78vw);
  min-height: 390px;
  padding: 1.25rem;
  border: 1px solid rgba(216, 183, 134, 0.34);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(244, 234, 220, 0.98), rgba(231, 213, 189, 0.94));
  color: #21140e;
  box-shadow: 0 22px 60px rgba(0,0,0,0.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition: transform 0.48s ease, opacity 0.48s ease, filter 0.48s ease;
  z-index: 1;
}

.pm-product-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.06);
  z-index: 4;
}

.pm-product-card.is-prev {
  opacity: 0.82;
  transform: translate(-145%, -50%) scale(0.76);
  filter: saturate(0.8) brightness(0.92);
  z-index: 3;
}

.pm-product-card.is-next {
  opacity: 0.82;
  transform: translate(45%, -50%) scale(0.76);
  filter: saturate(0.8) brightness(0.92);
  z-index: 3;
}

.pm-product-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 205px;
  margin-bottom: 1rem;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(216, 183, 134, 0.22), transparent 58%),
    #f7efe5;
  overflow: hidden;
}

.pm-product-img-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pm-product-title {
  min-height: 48px;
  margin-bottom: 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: #21140e;
}

.pm-product-price {
  margin-bottom: 1rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #6f4328;
}

.pm-product-link {
  border-radius: 999px;
  padding: 0.55rem 1rem;
  border-color: rgba(111, 67, 40, 0.78);
  background: transparent;
  color: #4a2d1f !important;
  font-family: "Montserrat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pm-product-link:hover,
.pm-product-link:focus {
  border-color: #4a2d1f;
  background: #4a2d1f;
  color: var(--pm-cream, #f4eadc) !important;
}

.pm-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  background: rgba(14,24,9,0.78);
  color: #fff;
  font-size: 1.75rem;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.pm-carousel-btn:hover,
.pm-carousel-btn:focus {
  background: rgba(14,24,9,0.95);
  transform: translateY(-50%) scale(1.05);
}

.pm-carousel-btn-prev {
  left: 0.5rem;
}

.pm-carousel-btn-next {
  right: 0.5rem;
}

@media (max-width: 991.98px) {
  .pm-product-card.is-prev {
    transform: translate(-125%, -50%) scale(0.68);
  }

  .pm-product-card.is-next {
    transform: translate(25%, -50%) scale(0.68);
  }
}

@media (max-width: 767.98px) {
  .pm-carousel-wrapper,
  .pm-carousel-stage {
    min-height: 455px;
    height: 455px;
  }

  .pm-product-card {
    width: min(300px, 76vw);
  }

  .pm-product-card.is-active {
    transform: translate(-50%, -50%) scale(1);
  }

  .pm-product-card.is-prev,
  .pm-product-card.is-next {
    opacity: 0;
    pointer-events: none;
  }

  .pm-carousel-btn-prev {
    left: 0;
  }

  .pm-carousel-btn-next {
    right: 0;
  }
}
