/*--------------------------------------------------------------
# Section: Что входит в домокомплект
--------------------------------------------------------------*/

.domokomplekt-section {
  padding: 80px 0;
  background: var(--surface-color, #ffffff);
}

.domokomplekt-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color, #1a1a1a);
  margin-bottom: 20px;
}

.domokomplekt-lead {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color, #666), transparent 20%);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Карточки: Входит / Не входит */
.domokomplekt-card {
  background: var(--background-color, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.domokomplekt-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color, #1a1a1a);
  margin-bottom: 20px;
}

.domokomplekt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.domokomplekt-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color, #666), transparent 10%);
}

/* Маркер для "Входит" */
.domokomplekt-card-included .domokomplekt-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: #22c55e;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Маркер для "Не входит" */
.domokomplekt-card-excluded .domokomplekt-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 10px;
  color: color-mix(in srgb, var(--default-color, #666), transparent 50%);
  font-weight: 400;
  font-size: 1.2rem;
}

.domokomplekt-card-excluded {
  background: color-mix(in srgb, var(--surface-color, #ffffff), black 2%);
}

/* Галерея: Desktop Grid */
.domokomplekt-gallery {
  position: relative;
}

.domokomplekt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.domokomplekt-grid-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #f5f5f5;
}

.domokomplekt-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.domokomplekt-grid-item:hover img {
  transform: scale(1.02);
}

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

.domokomplekt-grid-item:hover .domokomplekt-overlay {
  opacity: 1;
}

.domokomplekt-overlay i {
  color: #ffffff;
  font-size: 2rem;
}

/* Mobile Slider (<992px) */
.domokomplekt-slider {
  display: none;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.domokomplekt-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.domokomplekt-slide {
  min-width: 100%;
  aspect-ratio: 4/3;
  position: relative;
}

.domokomplekt-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Индикаторы слайдера */
.domokomplekt-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.domokomplekt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: color-mix(in srgb, var(--default-color, #666), transparent 70%);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.domokomplekt-dot.active {
  background: var(--accent-color, #0066cc);
}

.domokomplekt-dot:hover {
  background: color-mix(in srgb, var(--accent-color, #0066cc), transparent 30%);
}

/* Кнопки навигации слайдера */
.domokomplekt-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--heading-color, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.domokomplekt-slider-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.domokomplekt-slider-prev {
  left: 10px;
}

.domokomplekt-slider-next {
  right: 10px;
}

.domokomplekt-slider-btn i {
  font-size: 1.2rem;
}

/* Подпись под галереей */
.domokomplekt-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color, #666), transparent 30%);
  line-height: 1.6;
  font-style: italic;
}

/* CTA Buttons */
.domokomplekt-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.domokomplekt-actions .btn-format {
  flex: 1;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.domokomplekt-actions .btn-format i {
  font-size: 1.1rem;
}

/* Lightbox */
.domokomplekt-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.domokomplekt-lightbox.active {
  display: flex;
}

.domokomplekt-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.domokomplekt-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.domokomplekt-lightbox-caption {
  margin-top: 15px;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  max-width: 600px;
}

.domokomplekt-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.domokomplekt-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.domokomplekt-lightbox-close i {
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 991px) {
  .domokomplekt-grid {
    display: none;
  }

  .domokomplekt-slider {
    display: block;
  }

  .domokomplekt-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .domokomplekt-section {
    padding: 60px 0;
  }

  .domokomplekt-title {
    font-size: 1.75rem;
  }

  .domokomplekt-card {
    padding: 20px;
  }

  .domokomplekt-lightbox-close {
    top: -40px;
  }

  .domokomplekt-actions {
    flex-direction: column;
  }

  .domokomplekt-actions .btn-format {
    width: 100%;
    min-width: 100%;
  }
}
