/* ==========================================================================
   БАЗОВЫЕ НАСТРОЙКИ И СБРОС СТИЛЕЙ
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: #e5e5e5;
  background: #0a0a0c;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Кастомный задний фон с затемнением (Универсальный оверлей) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  /* Для каждой страницы можно менять URL картинки прямо здесь */
  background: url("https://remontkomand.kz/img/blog/DktdNwn6_KXeJpZfuMQbpVfYp8kZdF8hAscnKomNhVrvN9eI5.jpg") center/cover no-repeat;
  filter: brightness(0.3);
}

/* ==========================================================================
   ШАПКА САЙТА (HEADER)
   ========================================================================== */
.glass-header {
  background: rgba(15, 12, 22, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 10;
  width: 100%;
}

.header-content {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1.5rem; /* Добавлено для правильного отступа при переносе элементов */
  flex-wrap: wrap; /* Позволяет меню переноситься на мобильных устройствах */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content h1 {
  font-family: "Forum", serif;
  font-size: 1.8rem;
  color: #ffd700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Стили навигационного меню, перенесённые из index.html */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
  text-decoration: none;
}

.main-nav a:hover {
  color: #ffd700;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ==========================================================================
   ОСНОВНОЙ КОНТЕНТ И СЕТКА (GRID)
   ========================================================================== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1.5rem;
}

/* Центральный контент-блок */
.main-window {
  width: 100%;
  max-width: 1100px;
  background: rgba(10, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Двухколоночный каркас */
.columns-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

/* Медиа-запрос для мобилок и планшетов */
@media (max-width: 820px) {
  .columns-container {
    grid-template-columns: 1fr;
  }
  
  /* Адаптация шапки под мобильные экраны */
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .main-nav ul {
    justify-content: center;
  }
}

/* ==========================================================================
   ЛЕВАЯ КОЛОНКА (МЕДИА: ФОТО / ВИДЕО)
   ========================================================================== */
.media-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-image-container img {
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивный контейнер для YouTube Player (16:9) */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   ПРАВАЯ КОЛОНКА (ИНФОРМАЦИЯ И ХАРАКТЕРИСТИКИ)
   ========================================================================== */
.info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-column h2 {
  font-family: "Forum", serif;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Блок цены */
.price-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 215, 0, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border-left: 4px solid #ffd700;
  width: fit-content;
}

.price {
  font-size: 1.6rem;
  color: #ffd700;
  font-weight: 700;
}

/* Статусы и бейджики */
.status-badge {
  background: #c5a059;
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Таблица технических данных */
.specs-table {
  border-collapse: collapse;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.specs-table th, 
.specs-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.specs-table th {
  background-color: rgba(197, 160, 89, 0.15);
  font-weight: 600;
  color: #ffd700;
}

/* ==========================================================================
   ЦЕНТРАЛЬНЫЙ БЛОК ОПИСАНИЯ, СУБТРЕКОВ И ЛИРИКИ
   ========================================================================== */
.centered-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 850px;
  margin: 0 auto;
}

.description {
  color: #d1d1d6;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
}

.description em {
  color: #ffd700;
}

.wiki-section-title {
  font-family: "Forum", serif;
  font-size: 1.7rem;
  color: #ffd700;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  padding-bottom: 0.4rem;
  margin-top: 1rem;
  text-align: center;
}

/* Список аудиозаписей / Сниппетов */
.audio-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.audio-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.audio-info {
  font-size: 0.95rem;
}

.audio-info span {
  display: block;
  font-size: 0.8rem;
  color: #8a8a93;
}

/* Маленькие кнопки "Слушать" */
.listen-btn {
  background: rgba(197, 160, 89, 0.2);
  color: #ffd700;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(197, 160, 89, 0.4);
  transition: all 0.2s;
}

.listen-btn:hover {
  background: #c5a059;
  color: #111;
}

/* Блок текста песни (Lyrics) */
.lyrics-container {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  text-align: center;
}

.lyrics-row {
  margin-bottom: 1.25rem;
}

.lyrics-row:last-child {
  margin-bottom: 0;
}

.lyrics-en {
  font-style: italic;
  color: #fff;
  font-weight: 600;
}

.lyrics-ru {
  color: #aaa;
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   КНОПКИ ДЕЙСТВИЯ (ИНТЕРФЕЙС КУПЛИ/ОБМЕНА)
   ========================================================================== */
.actions-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Основная кнопка (Золотая) */
.btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #c5a059;
  color: #111;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: #e5c17b;
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.5);
  transform: translateY(-1px);
}

/* Альтернативная кнопка (Про картошку / Скрытая) */
.btn-alt {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-alt:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}

/* Ссылка возврата на главную */
.back-link {
  text-align: center;
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* ==========================================================================
   ЛЕНТА ОТЗЫВОВ И КОММЕНТАРИЕВ (REVIEWS)
   ========================================================================== */
.reviews-section {
  max-width: 1100px;
  margin: 3.5rem auto 1rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

.reviews-section h3 {
  font-family: "Forum", serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffd700;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-comment {
  background: rgba(15, 12, 22, 0.7);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 5px solid #c5a059;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Красивый интерактивный сдвиг отзыва вправо при наведении */
.review-comment:hover {
  background: rgba(197, 160, 89, 0.1);
  border-left-color: #ffd700;
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(197, 160, 89, 0.15);
}

.review-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #d1d1d6;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.6rem;
}

.review-author {
  font-size: 0.95rem;
  color: #ffd700;
  font-weight: 600;
}

.review-author span {
  color: #8a8a93;
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

/* ==========================================================================
   ПОДВАЛ САЙТА (FOOTER)
   ========================================================================== */
.glass-footer {
  background: rgba(15, 12, 22, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #8a8a93;
  margin-top: auto; /* Фиксирует футер строго внизу страницы */
}




/* Уведомление о копировании */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #c5a059;
  color: #111;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: none;
  z-index: 100;
}