.wcsge-wrap {
  position: relative;
  width: 100%;
}

/* HARD reset for buttons (ikonları bozma!) */
.wcsge-btn {
  all: unset;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}

/* Font Awesome ikonlarını koru */
.wcsge-btn i {
  all: unset !important;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  line-height: 1;
  color: inherit;
  box-sizing: border-box !important;
}

/* Ana swiper */
.wcsge-main-swiper {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.wcsge-main-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wcsge-main-swiper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* +N badge */
.wcsge-count-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 50;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(17, 17, 17, 0.85);
}

/* FS button - sağ üst köşe, arka plansız */
.wcsge-fs-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 60;
  width: 32px;
  height: 32px;
  background: transparent; /* arka plan yok */
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wcsge-fs-btn i {
  color: #fff; /* beyaz ikon (görselin üzerinde görünür olur) */
  font-size: 18px;
  line-height: 1;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.wcsge-fs-btn:hover i {
  opacity: 1;
}

/* Thumbs */
.wcsge-thumbs-swiper {
  margin-top: 12px;
}
.wcsge-thumbs-swiper .swiper-slide {
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.9;
  background: #fff;
}
.wcsge-thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
}
.wcsge-thumbs-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Swiper arrows */
.wcsge-wrap .swiper-button-prev {
  left: 10px;
}
.wcsge-wrap .swiper-button-next {
  right: 10px;
}
.wcsge-wrap .swiper-button-prev,
.wcsge-wrap .swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}
.wcsge-wrap .swiper-button-prev:after,
.wcsge-wrap .swiper-button-next:after {
  font-size: 18px;
  color: #111;
}

/* Modal */
.wcsge-modal[hidden] {
  display: none !important;
}
.wcsge-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wcsge-modal .wcsge-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}
.wcsge-modal .wcsge-modal-inner {
  position: relative;
  background: transparent;
  width: auto;
  height: auto;
  border: none;
  box-shadow: none;
  max-width: 96vw;
  max-height: 94vh;
}
.wcsge-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.wcsge-close i {
  color: #fff;
  font-size: 18px;
}
.wcsge-modal .wcsge-modal-swiper {
  width: 100%;
  height: 100%;
}
.wcsge-modal .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: transparent;
}
.wcsge-modal .wcsge-zoom-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  cursor: grab;
  touch-action: none;
}
.wcsge-modal .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Prevent body scroll when modal open */
.wcsge-no-scroll,
.wcsge-no-scroll body {
  overflow: hidden !important;
}

/* Responsive */
@media (max-width: 600px) {
  .wcsge-fs-btn {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
  }
  .wcsge-fs-btn i {
    font-size: 16px;
  }
}
/* Swiper pagination aktif nokta rengi */
.wcsge-wrap .swiper-pagination-bullet-active {
  background-color: #111 !important; /* istediğin rengi gir (#111 = siyah) */
}
