
   /* ============================================
   СТИЛИ ДЛЯ СТРАНИЦ ИЗДЕЛИЙ
   ============================================ */

/* Стили для интерактивной галереи книг */
.gates-gallery-section {
  padding: 3rem 0;
}

.gates-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .gates-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding: 0 1rem;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gates-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.gate-book {
  position: relative;
  height: 420px;
  perspective: 1500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.gate-book:hover {
  transform: translateY(-5px);
}

.book-cover, .book-page {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
}

.book-cover {
  background: var(--metal-gradient);
  z-index: 2;
  transform-origin: left center;
  border: 2px solid rgba(218, 165, 32, 0.3);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.book-cover:hover {
  border-color: var(--bronze-medium);
}

.gate-book.flipped .book-cover {
  transform: rotateY(-180deg);
}

.book-page {
  background: var(--metal-dark);
  z-index: 1;
  padding: 1.5rem;
  overflow-y: auto;
  border: 2px solid rgba(218, 165, 32, 0.2);
  transform: rotateY(180deg);
  cursor: default;
}

.gate-book.flipped .book-page {
  transform: rotateY(0deg);
}

.cover-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

.cover-content {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cover-title {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
 /* overflow: hidden; */
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cover-price {
  background: var(--bronze-gradient);
  color: white;
  padding: 0.15rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 0.1rem;
  align-self: flex-start;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.cover-tag {
  display: inline-block;
  background: rgba(218, 165, 32, 0.1);
  color: var(--gold-light);
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  font-size: 0.8rem;
  line-height: 1.2;
}

.book-page-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-page-content h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(218, 165, 32, 0.2);
  line-height: 1.3;
}

.book-page-content p {
  color: #ddd;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex: 1;
}

.book-page-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.book-page-content li {
  padding: 0.3rem 0;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

.book-page-content li i {
  color: var(--gold-light);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.book-controls {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.book-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(218, 165, 32, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.book-btn:hover {
  background: var(--bronze-gradient);
  color: white;
  transform: scale(1.1);
}

.book-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(218, 165, 32, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 11;
  transition: var(--transition);
}

.book-close:hover {
  background: rgba(218, 165, 32, 0.2);
  transform: rotate(90deg);
}

/* Стили для видео секции */
.gates-video-section {
  padding: 3rem 0;
  background: rgba(26, 26, 26, 0.5);
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(218, 165, 32, 0.3);
}

.video-container iframe {
  width: 100%;
  height: 500px;
  display: block;
}

@media (max-width: 768px) {
  .video-container iframe {
    height: 300px;
  }
}

.video-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .video-placeholder {
    height: 300px;
  }
}

.video-placeholder i {
  font-size: 3rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.video-placeholder h3 {
  color: var(--gold-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.video-placeholder p {
  color: #ddd;
  max-width: 600px;
  line-height: 1.6;
}

/* Стили для сравнения типов ворот */
.gates-comparison-section {
  padding: 3rem 0;
}

.comparison-table {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--border-radius);
  background: var(--metal-dark);
  border: 1px solid rgba(218, 165, 32, 0.2);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.comparison-table th {
  background: rgba(218, 165, 32, 0.2);
  color: var(--gold-light);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ddd;
}

.comparison-table tr:hover {
  background: rgba(218, 165, 32, 0.05);
}

.comparison-table .highlight {
  background: rgba(218, 165, 32, 0.1);
  color: var(--gold-light);
  font-weight: 600;
}

/* Стили для детальной информации */
.gates-detail-section {
  padding: 3rem 0;
}

.gates-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.detail-card {
  background: var(--metal-gradient);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid rgba(218, 165, 32, 0.2);
  transition: var(--transition);
}

.detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--bronze-medium);
  box-shadow: var(--shadow-glow);
}

.detail-icon {
  font-size: 2.5rem;
  color: var(--steel-light);
  margin-bottom: 1rem;
  text-align: center;
}

.detail-title {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.detail-list {
  list-style: none;
  padding-left: 0;
}

.detail-list li {
  padding: 0.5rem 0;
  color: #ddd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-list li i {
  color: var(--gold-light);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .gate-book {
    height: 380px;
  }
  
  .cover-image {
    height: 200px;
  }
  
  .cover-title {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
  }
  
  .cover-price {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
  
  .cover-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .book-page {
    padding: 1rem;
  }
  
  .book-page-content h3 {
    font-size: 1.1rem;
  }
  
  .book-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .book-close {
    width: 26px;
    height: 26px;
    top: 0.6rem;
    right: 0.6rem;
  }
  
  .gates-detail-grid {
    padding: 0 1rem;
    gap: 1.5rem;
  }
  
  .detail-card {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .gate-book {
    height: 360px;
  }
  
  .cover-image {
    height: 180px;
  }
  
  .cover-title {
    font-size: 1rem;
  }
  
  .cover-price {
    font-size: 0.95rem;
  }
}

/* Добавьте эти стили в существующие для перелистования*/

.book-page {
  background: var(--metal-dark);
  z-index: 1;
  padding: 1.5rem;
  overflow-y: auto;
  border: 2px solid rgba(218, 165, 32, 0.2);
  transform: rotateY(180deg);
  cursor: pointer; /* Меняем курсор на pointer для всей страницы */
}

.book-page-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none; /* Отключаем события для контента */
}

.book-page-content * {
  pointer-events: none; /* Отключаем события для всех элементов внутри */
}

/* Добавляем индикатор перелистывания */
.book-page::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--gold-light);
  font-size: 0.8rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Меняем курсор для кнопок на default */
.book-btn, .book-close {
  cursor: pointer;
  pointer-events: auto; /* Включаем события для кнопок */
}

/* ============================================
    СТИЛИ ДЛЯ АДАПТИВНЫХ ТАБЛИЦ
    ============================================ */
    
    /* Основные стили для таблиц */
    .responsive-table-container {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 20px 0;
      border-radius: var(--border-radius);
      border: 1px solid rgba(218, 165, 32, 0.2);
      background: var(--metal-dark);
    }
    
    .responsive-table-container table {
      width: 100%;
      min-width: 600px; /* Минимальная ширина для таблицы */
      border-collapse: collapse;
      color: #ddd;
    }
    
    .responsive-table-container th {
      background: rgba(218, 165, 32, 0.2);
      color: var(--gold-light);
      padding: 12px 15px;
      text-align: left;
      font-weight: 600;
      border-bottom: 2px solid rgba(218, 165, 32, 0.3);
      white-space: nowrap;
    }
    
    .responsive-table-container td {
      padding: 12px 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      vertical-align: top;
    }
    
    .responsive-table-container tr:hover {
      background: rgba(218, 165, 32, 0.05);
    }
    
    .responsive-table-container .highlight {
      background: rgba(218, 165, 32, 0.1);
      color: var(--gold-light);
      font-weight: 600;
    }
    
    /* Стили для таблицы в сравнении */
    .comparison-table {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 0 auto;
      border-radius: var(--border-radius);
      background: var(--metal-dark);
      border: 1px solid rgba(218, 165, 32, 0.2);
    }
    
    .comparison-table table {
      width: 100%;
      min-width: 800px;
      border-collapse: collapse;
    }
    
    .comparison-table th {
      background: rgba(218, 165, 32, 0.2);
      color: var(--gold-light);
      padding: 1rem;
      text-align: left;
      font-weight: 600;
      border-bottom: 2px solid rgba(218, 165, 32, 0.3);
      white-space: nowrap;
    }
    
    .comparison-table td {
      padding: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      color: #ddd;
    }
    
    .comparison-table tr:hover {
      background: rgba(218, 165, 32, 0.05);
    }
    
    .comparison-table .highlight {
      background: rgba(218, 165, 32, 0.1);
      color: var(--gold-light);
      font-weight: 600;
    }
    
    /* Медиазапросы для улучшения отображения на очень маленьких экранах */
    @media (max-width: 480px) {
      .responsive-table-container th,
      .responsive-table-container td,
      .comparison-table th,
      .comparison-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
      }
    }
    
    /* Дополнительные стили для таблиц в SEO контенте */
    .seo-article table {
      width: 100%;
      min-width: 600px;
      border-collapse: collapse;
      margin: 20px 0;
      color: #ddd;
    }
    
    .seo-article .responsive-table-container table {
      min-width: 600px;
    }
    
    /* ============================================
       ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ АДАПТИВНЫХ БЛОКОВ
       ============================================ */
    
    /* Стили для карточек сравнения - КОМПАКТНЫЕ */
    .comparison-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    
    .comparison-card {
      background: var(--metal-gradient);
      border-radius: var(--border-radius);
      padding: 1.5rem;
      border: 2px solid rgba(218, 165, 32, 0.2);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .comparison-card:hover {
      transform: translateY(-3px);
      border-color: var(--bronze-medium);
      box-shadow: var(--shadow-glow);
    }
    
    .comparison-card.highlight {
      border-color: var(--bronze-medium);
      background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(26, 26, 26, 0.95));
      position: relative;
      overflow: hidden;
    }
    
    .comparison-card.highlight::before {
      content: '★';
      position: absolute;
      top: 0;
      right: 0;
      background: var(--bronze-gradient);
      color: white;
      padding: 0.4rem 1rem;
      font-size: 0.8rem;
      font-weight: 600;
      border-bottom-left-radius: 8px;
      z-index: 1;
    }
    
    .comparison-card-header {
      text-align: center;
      margin-bottom: 1.2rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(218, 165, 32, 0.3);
    }
    
    .comparison-card-title {
      color: var(--gold-light);
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
      font-weight: 600;
      line-height: 1.2;
    }
    
    .comparison-card-price {
      background: var(--bronze-gradient);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 25px;
      font-weight: 700;
      font-size: 1.2rem;
      display: inline-block;
      margin-bottom: 0.5rem;
    }
    
    .comparison-card-subtitle {
      color: #aaa;
      font-size: 0.9rem;
      font-weight: 400;
    }
    
    .comparison-card-features {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }
    
    .comparison-feature {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }
    
    .feature-label {
      color: var(--steel-light);
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    
    .feature-label i {
      color: var(--gold-light);
      font-size: 0.85rem;
      min-width: 16px;
    }
    
    .feature-value {
      color: #ddd;
      line-height: 1.4;
      font-size: 0.9rem;
      padding-left: 1.4rem;
    }
    
    .feature-value.highlight {
      color: var(--gold-light);
      font-weight: 600;
      background: rgba(218, 165, 32, 0.1);
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
      margin-top: 0.2rem;
    }
    
    /* Стили для размеров ворот */
    .size-specs {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.2rem;
      margin-top: 1.2rem;
    }
    
    .size-spec {
      background: rgba(26, 26, 26, 0.6);
      border-radius: var(--border-radius);
      padding: 1rem;
      border: 1px solid rgba(218, 165, 32, 0.1);
    }
    
    .size-spec-title {
      color: var(--gold-light);
      font-size: 1rem;
      margin-bottom: 0.6rem;
      font-weight: 600;
    }
    
    .size-details {
      color: #ddd;
      font-size: 0.9rem;
      line-height: 1.4;
    }
    
    .size-details strong {
      color: var(--steel-light);
      font-weight: 600;
    }
    
    /* Стили для таблицы стоимости (переделанной в блоки) */
    .price-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.2rem;
      margin: 1.5rem 0;
    }
    
    .price-card {
      background: var(--metal-gradient);
      border-radius: var(--border-radius);
      padding: 1.3rem;
      border: 2px solid rgba(218, 165, 32, 0.2);
      transition: var(--transition);
    }
    
    .price-card.featured {
      border-color: var(--bronze-medium);
      background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(26, 26, 26, 0.95));
      transform: scale(1.02);
    }
    
    .price-card-header {
      text-align: center;
      margin-bottom: 1rem;
    }
    
    .price-card-type {
      color: var(--gold-light);
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
    }
    
    .price-card-amount {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--bronze-medium);
      margin-bottom: 0.8rem;
    }
    
    .price-feature-list {
      color: #ddd;
      font-size: 0.9rem;
      line-height: 1.4;
    }
    
    .price-feature {
      margin-bottom: 0.4rem;
      padding-left: 0;
      position: relative;
    }
    
    .price-feature:last-child {
      margin-bottom: 0;
    }
    
    /* Стили для FAQ с компактными блоками */
    .faq-specs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.2rem;
      margin-top: 1rem;
    }
    
    .faq-spec-card {
      background: rgba(26, 26, 26, 0.6);
      border-radius: var(--border-radius);
      padding: 1rem;
      border: 1px solid rgba(218, 165, 32, 0.1);
    }
    
    .faq-spec-title {
      color: var(--gold-light);
      font-size: 1rem;
      margin-bottom: 0.6rem;
      font-weight: 600;
    }
    
    .faq-spec-details {
      color: #ddd;
      font-size: 0.9rem;
      line-height: 1.4;
    }
    
    .faq-spec-detail {
      margin-bottom: 0.3rem;
    }
    
    .faq-spec-detail:last-child {
      margin-bottom: 0;
    }
    
    .faq-spec-detail strong {
      color: var(--steel-light);
      font-weight: 600;
    }
    
    /* Адаптивность */
    @media (max-width: 768px) {
      .comparison-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.2rem;
      }
      
      .comparison-card {
        padding: 1.2rem;
      }
      
      .comparison-card.highlight::before {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
      }
      
      .comparison-card-title {
        font-size: 1.2rem;
      }
      
      .comparison-card-price {
        font-size: 1.1rem;
        padding: 0.4rem 0.9rem;
      }
      
      .price-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
      
      .price-card.featured {
        transform: none;
      }
      
      .price-card {
        padding: 1.1rem;
      }
      
      .price-card-amount {
        font-size: 1.2rem;
      }
      
      .size-specs {
        grid-template-columns: 1fr;
        gap: 0.9rem;
      }
      
      .faq-specs-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
      }
    }
    
    @media (max-width: 480px) {
      .comparison-card {
        padding: 1rem;
      }
      
      .comparison-card-title {
        font-size: 1.1rem;
      }
      
      .comparison-card-price {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
      }
      
      .price-card {
        padding: 1rem;
      }
      
      .price-card-amount {
        font-size: 1.1rem;
      }
      
      .feature-value {
        padding-left: 1.2rem;
        font-size: 0.85rem;
      }
    }
    
    /* Десктопная компактность */
    @media (min-width: 1024px) {
      .comparison-card {
        padding: 1.3rem;
      }
      
      .comparison-card-features {
        gap: 0.7rem;
      }
      
      .comparison-feature {
        gap: 0.2rem;
      }
      
      .feature-label {
        font-size: 0.85rem;
      }
      
      .feature-value {
        font-size: 0.85rem;
      }
      
      .price-card {
        padding: 1.2rem;
      }
      
      .price-card-amount {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
      }
      
      .price-feature-list {
        font-size: 0.85rem;
      }
    }
    
    @media (min-width: 1200px) {
      .comparison-cards {
        gap: 1.2rem;
      }
      
      .price-cards {
        gap: 1rem;
      }
    }
    
  /* ============================================
   КНОПКА "ХОЧУ" - ИДЕНТИЧНА ЦЕНЕ ПО ВЫСОТЕ
   ============================================ */

/* Контейнер - строго в одну строку */
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0.8rem;
    flex-wrap: nowrap;
    min-height: 40px; /* Фиксируем минимальную высоту строки */
}

/* Стили цены - оставляем как есть, но убираем лишние отступы */
.cover-price {
    background: var(--bronze-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    height: 40px; /* ФИКСИРОВАННАЯ ВЫСОТА */
    box-sizing: border-box;
    margin: 0;
    flex-shrink: 0;
}

/* Кнопка "Хочу" - ТОЧНО ТАКАЯ ЖЕ ВЫСОТА */
.btn-gs-want {
    background: linear-gradient(45deg, #c9a03d, #daa520, #ffd700, #daa520, #c9a03d);
    background-size: 300% 300%;
    color: #1a1a1a;
    border: none;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    animation: gs-gradient-shift 3s ease infinite;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1.2;
    height: 40px; /* ТА ЖЕ ФИКСИРОВАННАЯ ВЫСОТА */
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.btn-gs-want i {
    font-size: 0.9rem;
}

.btn-gs-want:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.5);
    color: #000;
}

@keyframes gs-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   АДАПТАЦИЯ ДЛЯ РАЗНЫХ ЭКРАНОВ
   ============================================ */

/* Планшеты и маленькие десктопы */
@media (max-width: 1024px) {
    .cover-price,
    .btn-gs-want {
        padding: 6px 14px;
        height: 44px;
        font-size: 1.1rem;
    }
    .price-row {
        gap: 10px;
        min-height: 44px;
    }
    .btn-gs-want i {
        font-size: 1.1rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .cover-price,
    .btn-gs-want {
        padding: 5px 12px;
        height: 46px;
        font-size: 1.2rem;
        border-radius: 20px;
    }
    .price-row {
        gap: 8px;
        min-height: 46px;
    }
    .btn-gs-want i {
        font-size: 1.2rem;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .cover-price,
    .btn-gs-want {
        padding: 4px 10px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 18px;
    }
    .price-row {
        gap: 6px;
        min-height: 44px;
    }
    .btn-gs-want i {
        font-size: 1.1rem;
    }
}

/* Очень широкие экраны - увеличиваем */
@media (min-width: 1400px) {
    .cover-price,
    .btn-gs-want {
        padding: 10px 15px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 28px;
    }
    .price-row {
        gap: 11px;
        min-height: 38px;
    }
    .btn-gs-want i {
        font-size: 1.1rem;
    }
}

/* ============================================
   МОДАЛЬНОЕ ОКНО "ХОЧУ" (компактное)
   ============================================ */

#gsWantModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#gsWantModal.open {
    visibility: visible;
    opacity: 1;
}

#gsWantModal .modal-content {
    max-width: 450px;
    width: 90%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    border: 2px solid rgba(218, 165, 32, 0.3);
    padding: 0;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

#gsWantModal .modal-content::-webkit-scrollbar {
    width: 4px;
}

#gsWantModal .modal-content::-webkit-scrollbar-track {
    background: #2a2a2a;
}

#gsWantModal .modal-content::-webkit-scrollbar-thumb {
    background: var(--gold-light, #daa520);
    border-radius: 4px;
}

#gsWantModal .modal-close {
    position: sticky;
    top: 8px;
    right: 8px;
    float: right;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: var(--gold-light, #daa520);
    cursor: pointer;
    z-index: 10;
    margin: 8px;
    transition: all 0.3s ease;
}

#gsWantModal .modal-close:hover {
    background: rgba(218, 165, 32, 0.3);
    transform: rotate(90deg);
}

#gsWantModal .modal-title {
    text-align: center;
    color: var(--gold-light, #daa520);
    font-size: 1.4rem;
    margin: 0 0 0.8rem 0;
    padding-top: 0.3rem;
    clear: both;
}

.gs-modal-form {
    padding: 0 1.2rem 1.2rem 1.2rem;
}

.gs-form-group {
    margin-bottom: 0.7rem;
}

.gs-form-group label {
    display: block;
    color: #ddd;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.8rem;
}

.gs-form-group label .required {
    color: #dc3545;
    margin-left: 3px;
}

.gs-form-control {
    width: 100%;
    padding: 0.55rem 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.gs-form-control:focus {
    outline: none;
    border-color: var(--gold-light, #daa520);
    box-shadow: 0 0 3px rgba(218, 165, 32, 0.5);
}

.gs-form-control.error {
    border-color: #dc3545;
}

textarea.gs-form-control {
    resize: vertical;
    min-height: 55px;
}

/* File upload */
.gs-file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.gs-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gs-file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.55rem 0.8rem;
    background: rgba(218, 165, 32, 0.1);
    border: 1px dashed rgba(218, 165, 32, 0.5);
    border-radius: 8px;
    color: var(--gold-light, #daa520);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-family: inherit;
}

.gs-file-upload-label:hover {
    background: rgba(218, 165, 32, 0.2);
    border-color: var(--gold-light, #daa520);
}

.gs-file-info {
    font-size: 0.6rem;
    color: #888;
    margin-top: 0.2rem;
}

/* Checkbox */
.gs-form-agreement {
    margin: 0.7rem 0;
}

.gs-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    color: #bbb;
}

.gs-checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--gold-light, #daa520);
}

.gs-checkbox-label a {
    color: var(--gold-light, #daa520);
    text-decoration: underline;
}

/* Submit button */
.gs-btn-submit {
    width: 100%;
    background: linear-gradient(45deg, #c9a03d, #daa520, #ffd700, #daa520, #c9a03d);
    background-size: 300% 300%;
    color: #1a1a1a;
    border: none;
    padding: 0.7rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: gs-gradient-shift 3s ease infinite;
    margin-top: 0.3rem;
    font-family: inherit;
}

.gs-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(218, 165, 32, 0.4);
}

.gs-btn-submit:active {
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    #gsWantModal .modal-title {
        font-size: 1.3rem;
    }
    .gs-modal-form {
        padding: 0 1rem 1rem 1rem;
    }
    .gs-form-control {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    #gsWantModal .modal-title {
        font-size: 1.2rem;
    }
    .gs-form-group {
        margin-bottom: 0.6rem;
    }
}