/* ════════════════════════════════════════
   SECTION 7 — ПРИМЕРЫ ОБРАЗОВ
════════════════════════════════════════ */

.looks {
  position: relative;
  background: var(--forest);
  display: flex;
  justify-content: center;
  padding: 72px 24px 100px;
}

/* ── Контейнер ── */
.looks__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
  gap: 40px;
}

/* ── Заголовок ── */
.looks__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.looks__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: 0.04em;
  margin: 0;
}

.looks__divider {
  width: clamp(100px, 35%, 200px);
  opacity: 0.4;
  filter: invert(1);
}

/* ── Сетка образов ── */
.looks__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 769px) {
  .looks__inner {
    max-width: 900px;
  }
  .looks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ── Карточка образа ── */
.looks__card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--forest2);
  border: 1px solid rgba(176, 138, 74, 0.15);
}

/* Заглушка — фон пока пустой */
.looks__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Заглушка без фото */
.looks__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #3a3020, #1e1a10);
}

.looks__placeholder-icon {
  opacity: 0.2;
  color: var(--gold);
}

.looks__placeholder-icon svg {
  width: 48px;
  height: 48px;
}

/* ── Лейбл снизу ── */
.looks__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(30, 24, 14, 0.85), transparent);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(15px, 3vw, 18px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--parchment);
  text-align: center;
}

.looks__card {
  cursor: pointer;
}

.looks__card:hover .looks__label {
  color: var(--gold);
}

/* ════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 8, 4, 0.93);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

/* ── Контент ── */
.lightbox__content {
  position: relative;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox__img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(176, 138, 74, 0.2);
}

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

/* Заглушка в лайтбоксе */
.lightbox__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #3a3020, #1e1a10);
  color: var(--gold);
  opacity: 0.3;
}

.lightbox__placeholder svg {
  width: 64px;
  height: 64px;
}

.lightbox__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--parchment);
  text-align: center;
}

/* ── Кнопка закрыть ── */
.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(231, 217, 190, 0.6);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 4px 8px;
}

.lightbox__close:hover {
  color: var(--gold);
}

/* ── Стрелки навигации ── */
.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(231, 217, 190, 0.5);
  font-size: 36px;
  cursor: pointer;
  padding: 12px 16px;
  transition: color 0.2s;
  user-select: none;
}

.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--gold);
}

/* Счётчик */
.lightbox__counter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(231, 217, 190, 0.4);
}
