/* ================== WHEELZ-LIGHTBOX MODAL ================== */
.wheelz-lightbox-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 99 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.wheelz-lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.wheelz-lightbox-content {
  background: #fff;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.wheelz-lightbox-modal.open .wheelz-lightbox-content {
  transform: scale(1);
}

.wheelz-lightbox-header {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 10px 15px;
  background: white;
  font-size: 16px;
  flex-shrink: 0;
  height: 50px;
}

.wheelz-lightbox-close {
  cursor: pointer;
  font-size: 16px;
  color: #03a2a2;
}
.wheelz-lightbox-body {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}
.wheelz-lightbox-footer {
	height: 50px;
}
/* Arrows */
.wheelz-lightbox-arrow {
  width: 40px;
  height: 40px;
  background: #03a2a2;
  border: solid 1px #03a2a2;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  line-height: 36px;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  transition-duration: 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07)
}
.wheelz-lightbox-arrow:hover {
	background-color: white;
	color: #03a2a2;
}
	
.arrow-left {
  left: 10px;
}
.arrow-right {
  right: 10px;
}

/* Main Image Container */
.wheelz-lightbox-main-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  
  overflow: hidden; 
  cursor: zoom-in;  
}
.wheelz-lightbox-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

/* Thumbnails */
.wheelz-lightbox-thumbs {
  width: 20%;
  background: #f9f9f9;
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.wheelz-lightbox-thumb {
  cursor: pointer;
  border: 2px solid transparent;
  width: 100%;
  transition-duration: 0.1s;
}
.wheelz-lightbox-thumb:nth-child(3n+2), 
.wheelz-lightbox-thumb:nth-child(3n+3) {
	width: calc(50% - 3px) !important;
}

.wheelz-lightbox-thumb.active {
  border-color: #03a2a2;
  padding: 2px;
  border-radius: 2px;
}
.wheelz-lightbox-thumb img {
  width: 100%;
  height: auto;
  display: block;
}


.wheelz-lightbox-main-image.zoom-active {
  cursor: crosshair;
}
.wheelz-lightbox-main-image.zoom-active img {
  transform: scale(2.75);
}
