/* Image Magnifier/Zoom Effect */
.main-image {
  position: relative;
  cursor: crosshair;
}

.magnifier-lens {
  position: absolute;
  border: 3px solid #2563eb;
  border-radius: 50%;
  cursor: none;
  width: 150px;
  height: 150px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 15;
  background-repeat: no-repeat;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-image:hover .magnifier-lens {
  opacity: 1;
}

.magnifier-container {
  position: relative;
  overflow: hidden;
}

/* Zoom Result Container (Optional - for showing zoomed image separately) */
.zoom-result {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  height: 300px;
  border: 3px solid #2563eb;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
  z-index: 20;
}

.main-image:hover .zoom-result {
  display: block;
}

.zoom-result img {
  position: absolute;
  width: auto;
  height: auto;
}

/* Mobile - Disable magnifier */
@media (max-width: 768px) {
  .magnifier-lens,
  .zoom-result {
    display: none !important;
  }
  
  .main-image {
    cursor: default;
  }
}

/* Alternative Zoom Indicator */
.zoom-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.main-image:hover .zoom-indicator {
  opacity: 1;
}

.zoom-indicator i {
  font-size: 14px;
}
