@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap");

.outer {
  padding: 0;
  margin: 0;
  color: white;
}

.container-sl {
  width: 100%;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper .swiper-slide {
  position: relative;
  width: 300px;
  height: 400px;
  filter: grayscale(80%);
  transition: all 0.8s cubic-bezier(0.25, 0.4, 0.45, 1.4);
  border-radius: 0;
  /* Sharp corners */
  background: #DE9D9B;
  /* User requested color */
  overflow: hidden;
}

.swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper .swiper-slide .info {
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 10;
  padding: 20px;
  /* Lighter gradient closer to the theme color or just dark overlay for contrast */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  text-align: center;
  /* Center the text */
  font-family: 'Playfair Display', serif;
  /* Classy font */
}

.swiper .swiper-slide .info h4 {
  margin: 0;
  padding-bottom: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.swiper .info h4 a {
  text-decoration: none;
  color: inherit;
}

/* Price Styling */
.swiper .swiper-slide .info .type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 16px;
  color: #f0f0f0;
  font-family: 'Playfair Display', serif;
  /* Inherit classy font */
}

/* Ensure regular price (del) is above sale price (ins) if they exist */
.swiper .swiper-slide .info .type del {
  opacity: 0.8;
  font-size: 0.9em;
  order: 1;
  /* Make sure it appears first */
  font-family: 'Playfair Display', serif;
}

.swiper .swiper-slide .info .type ins {
  font-weight: 600;
  color: #DE9D9B;
  /* Highlight sale price with theme color */
  background: #fff;
  padding: 2px 8px;
  order: 2;
  font-family: 'Playfair Display', serif;
}

/* If there is no sale, simple price is often just a span or text node, 
   but this flex setup handles most WC structures decently. */

.swiper .swiper-slide-active {
  filter: none;
}



.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  top: 50%;
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid #DE9D9B;
  color: #DE9D9B;
  font-weight: 700;
  outline: 0;
  transition: all 0.3s ease;
  display: none !important;
}

/* Clickable Card Overlay */
.full-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  /* Higher than image, lower than info buttons if needed, but usually we want it to cover everything */
  cursor: pointer;
}

.swiper .swiper-button-prev:hover,
.swiper .swiper-button-next:hover {
  background: #DE9D9B;
  color: white;
}

.swiper .swiper-button-prev::after,
.swiper .swiper-button-next::after {
  font-size: 20px;
}

.swiper .swiper-button-prev:after {
  position: relative;
  left: -2px;
}

.swiper .swiper-button-next:after {
  position: relative;
  left: 2px;
}

.swiper .swiper-button-prev,
.swiper .swiper-container-rtl .swiper-button-next {
  left: 10px;
  right: auto;
}

.swiper .swiper-button-next,
.swiper .swiper-container-rtl .swiper-button-prev {
  right: 10px;
  left: auto;
}

.swiper .swiper-button-prev.swiper-button-disabled,
.swiper .swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}