.stone-page {
  padding-top: 32px;
  padding-bottom: 80px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--accent); }

.stone-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Галерея */
.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease;
}
.gallery-main video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-empty {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--border);
}
.gallery-zoom {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.gallery-zoom:hover { color: var(--accent); border-color: var(--accent); }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.thumb {
  width: 64px; height: 64px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  opacity: 0.75;
}
.thumb:hover, .thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

/* Инфо */
.stone-article {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.stone-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text);
}
.stone-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.stone-location {
  font-size: 13px;
  color: #2e7d32;
  margin-bottom: 24px;
}

.stone-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.stone-specs tr { border-bottom: 1px solid var(--border); }
.stone-specs tr:last-child { border-bottom: none; }
.spec-label {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  width: 45%;
  background: var(--bg3);
}
.spec-value {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,.3);
}
.lightbox-close { top: -14px; right: -14px; }
.lightbox-prev  { left: -54px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: -54px; top: 50%; transform: translateY(-50%); }

.thumb-video {
  width: 64px; height: 64px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: border-color var(--transition);
  opacity: 0.75;
  flex-shrink: 0;
}
.thumb-video.active, .thumb-video:hover { border-color: var(--accent); opacity: 1; }

@media (max-width: 900px) {
  .stone-layout { grid-template-columns: 1fr; gap: 32px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
