/* -------------------------------------------------------------------------------------------------- */
/* -------------------------------------- WooCommerce Review Photos --------------------------------- */
/* -------------------------------------------------------------------------------------------------- */

.wpdsr-review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 20px;
}

.wpdsr-review-photo {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wpdsr-review-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wpdsr-review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Simple Lightbox */
.wpdsr-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.wpdsr-lightbox.active {
  display: flex;
}

.wpdsr-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.wpdsr-lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
}

.wpdsr-lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}

.wpdsr-lightbox-close:hover,
.wpdsr-lightbox-close:focus {
  color: #bbb;
}

.wpdsr-lightbox-prev,
.wpdsr-lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.5);
  z-index: 10000;
}

.wpdsr-lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.wpdsr-lightbox-prev {
  left: 0;
}

.wpdsr-lightbox-prev:hover,
.wpdsr-lightbox-next:hover {
  background-color: rgba(0,0,0,0.8);
}
