/* Product Lifestyle Images Section */
.product-lifestyle-images-section {
  position: relative;
}

.lifestyle-images-header {
  text-align: center;
  margin-bottom: 2rem;
}

.lifestyle-images-title {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.lifestyle-images-subtitle {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9em;
}

.lifestyle-images-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.lifestyle-images-grid {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1rem;
  will-change: transform;
}

.lifestyle-image-item {
  flex: 1;
  width: 100%;
}

.lifestyle-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f5f5f5;
}

.lifestyle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lifestyle-image:hover {
  transform: scale(1.02);
}

.lifestyle-video {
  position: relative;
  background: #000;
}

.lifestyle-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lifestyle-video:hover .lifestyle-video-overlay {
  opacity: 1;
}

.lifestyle-video-play {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lifestyle-video-play:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lifestyle-video-play svg {
  color: #000;
  margin-left: 3px;
}

.lifestyle-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.lifestyle-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.lifestyle-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.lifestyle-nav--prev {
  left: 10px;
}

.lifestyle-nav--next {
  right: 10px;
}

.lifestyle-nav svg {
  color: #333;
  width: 20px;
  height: 20px;
}

.lifestyle-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.lifestyle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.lifestyle-dot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.3s ease;
}

.lifestyle-dot:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

.lifestyle-dot.active {
  transform: scale(1.2);
}

.lifestyle-dot:hover {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .lifestyle-nav {
    width: 35px;
    height: 35px;
  }
  
  .lifestyle-nav--prev {
    left: 5px;
  }
  
  .lifestyle-nav--next {
    right: 5px;
  }
  
  .lifestyle-nav svg {
    width: 16px;
    height: 16px;
  }
  
  .lifestyle-video-play {
    width: 50px;
    height: 50px;
  }
}

/* Loading state - disabled to prevent blocking images */
.lifestyle-image-wrapper::before {
  display: none;
}

.lifestyle-image-wrapper.loaded::before {
  display: none;
}

/* Loading animation removed */

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .lifestyle-images-grid {
    transition: none;
  }
  
  .lifestyle-image {
    transition: none;
  }
  
  .lifestyle-video-overlay {
    transition: none;
  }
  
  .lifestyle-nav {
    transition: none;
  }
  
  .lifestyle-dot {
    transition: none;
  }
}

/* Focus states for accessibility */
.lifestyle-nav:focus,
.lifestyle-dot:focus,
.lifestyle-video-play:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .lifestyle-nav {
    background: white;
    border: 2px solid #000;
  }
  
  .lifestyle-dot {
    border: 1px solid #000;
  }
  
  .lifestyle-video-play {
    background: white;
    border: 2px solid #000;
  }
}
