/* Save this as hover-effects.css */
/* Base styles for hover effects */
.columns {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.column {
  transition: opacity 0.3s ease;
  flex: 1;
  min-width: 250px;
  position: relative;
}

.column.dimmed {
  opacity: 0.3;
}

/* Create container for preview images */
.preview-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
}

.preview-left, .preview-right {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.preview-container.active .preview-left img,
.preview-container.active .preview-right img {
  opacity: 1;
}

.preview-image {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Payment container repositioning */
#payment-container {
  margin: 20px auto;
  text-align: center;
  max-width: 300px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }
  
  .column {
    width: 100%;
  }
  
  .preview-left, .preview-right {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}