/* ============================================
   PREMIUM SWIPER GALLERY (DIVI 5 SAFE VERSION)
   ============================================ */

/* --- Gallery wrapper --- */
.ppw-gallery {
  width: 100%;
  max-width: 900px;
  margin: auto;
  position: relative;
}

/* =============================================
   MAIN SLIDER - PERFECT SQUARE 1:1
   ============================================= */
.ppw-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  margin-bottom: 12px;
}

.ppw-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ppw-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* crop center */
  object-position: center;
  display: block;
}

/* =============================================
   THUMBNAILS - SQUARE + PREMIUM LOOK
   ============================================= */
.ppw-thumbs .swiper-slide {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .25s, transform .25s, box-shadow .25s;
}

.ppw-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 0 2px #fff;
}

.ppw-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =============================================
   PREMIUM ARROWS (Chrono24 Style)
   ============================================= */
.ppw-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .25s, opacity .25s;
  opacity: 0.85;
}

.ppw-arrow:hover {
  background: rgba(255,255,255,0.25);
  opacity: 1;
}

.ppw-arrow-left { left: 10px; }
.ppw-arrow-right { right: 10px; }

.ppw-arrow svg {
  width: 20px;
  height: 20px;
}