.comparison-carousel {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 40px;
  border-radius: 12px;
}
.comparison-carousel h2 {
 text-align: center;
 margin-bottom: 30px;
 font-size: 32px;
 color: #333;
}
.comparison-carousel-wrapper {
 position: relative;
 overflow: hidden;
 background: #fff;
 border-radius: 8px;
}
.comparison-carousel-container {
 display: flex;
 transition: transform 0.5s ease;
}
.comparison-carousel-item {
  min-width: 100%;
  cursor: pointer;
  position: relative;
/*  aspect-ratio: 16/9;
  overflow: hidden;*/
}
.comparison-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.comparison-carousel-dots {
 display: flex;
 justify-content: center;
 gap: 8px;
 margin-top: 15px;
}
.comparison-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}
.comparison-dot.is-active {
 background: #667eea;
 width: 24px;
 border-radius: 5px;
}
/* Modal/Lightbox */
.comparison-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.comparison-modal.is-active {
 display: flex;
}
.comparison-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  width: 800px;
}
.comparison-image-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  user-select: none;
}
.comparison-slider-image {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
.comparison-slider-image img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 display: block;
}
.comparison-slider-before {
z-index: 1;
}
.comparison-slider-after {
z-index: 2;
clip-path: inset(0 0 0 50%);
}
.comparison-slider-handle {
 position: absolute;
 top: 0;
 left: 50%;
 width: 4px;
 height: 100%;
 background: #fff;
 cursor: ew-resize;
 z-index: 3;
 transform: translateX(-50%);
}
.comparison-slider-handle::before {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 50px;
 height: 50px;
 background: #fff;
 border-radius: 50%;
 transform: translate(-50%, -50%);
 box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.comparison-slider-handle::after {
 content: '⟷';
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 font-size: 24px;
 color: #333;
 z-index: 1;
}
.comparison-label {
 position: absolute;
 top: 20px;
 padding: 8px 16px;
 background: rgba(0, 0, 0, 0.7);
 color: #fff;
 font-size: 14px;
 font-weight: bold;
 border-radius: 4px;
 z-index: 4;
}
.comparison-label-before {
 left: 20px;
}
.comparison-label-after {
 right: 20px;
}
.comparison-modal-nav {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(255, 255, 255, 0.9);
 border: none;
 width: 50px;
 height: 50px;
 border-radius: 50%;
 cursor: pointer;
 font-size: 24px;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s;
 z-index: 10;
}
.comparison-modal-nav:hover {
 background: #fff;
 transform: translateY(-50%) scale(1.1);
}
.comparison-modal-prev {
 left: -70px;
}
.comparison-modal-next {
 right: -70px;
}
.comparison-modal-close {
 position: absolute;
 top: -49px;
 right: 0;
 background: rgba(255, 255, 255, 0.9);
 border: none;
 width: 45px;
 height: 45px;
 border-radius: 50%;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 22px;
 line-height: 1;
 padding: 0;
 transition: all 0.3s;
}
.comparison-modal-close:hover {
 background: #fff;
 transform: scale(1.1);
}
@media (max-width: 768px) {
.comparison-modal-prev {
  left: 10px;
}
.comparison-modal-next {
  right: 10px;
}
.comparison-modal-close {
 top: 10px;
 right: 10px;
}
}

