
    .product-hero {
      padding: 60px 0;
      background: linear-gradient(135deg, var(--secondary) 0%, var(--bg) 100%);
      border-bottom: 1px solid var(--border);
    }
    
    .product-hero .container {
      display: flex;
      gap: 50px;
      align-items: center;
      flex-wrap: wrap;
    }
    
    .product-hero-image {
      flex: 1 1 200px;
      border-radius: var(--radius-2xl);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      border: 3px solid var(--primary);
    }
    
    .product-hero-image img {
      width: 100%;
      height: auto;
      display: block;
      transition: var(--transition);
    }
    
    .product-hero-image:hover img {
      transform: scale(1.05);
    }
    
    .product-hero-content {
      flex: 1 1 400px;
    }
    
    .product-hero-content h1 {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 20px;
      line-height: 1.2;
    }
    
    .product-meta {
      display: flex;
      gap: 30px;
      margin: 25px 0;
      flex-wrap: wrap;
    }
    
    .product-meta-item {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-light);
    }
    
    .product-meta-item i {
      font-size: 1.25rem;
      color: var(--primary);
    }
    
    .product-price-tag {
      font-size: 2rem;
      font-weight: 700;
      color: var(--primary);
      margin: 20px 0;
    }
    
    .product-actions {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }
    
    .product-btn {
      padding: 15px 35px;
      border-radius: var(--radius-lg);
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    
    .product-btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: var(--shadow-md);
    }
    
    .product-btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }
    
    .product-btn-secondary {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }
    
    .product-btn-secondary:hover {
      background: var(--primary);
      color: white;
    }
    
    /* Секции продукта */
    .product-section {
      margin-bottom: 60px;
      scroll-margin-top: 100px;
    }
    
    .product-section-title {
      font-size: 2rem;
      color: var(--text);
      margin-bottom: 30px;
      padding-bottom: 15px;
      border-bottom: 2px solid var(--border);
      position: relative;
    }
    
    .product-section-title::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 80px;
      height: 2px;
      background: var(--primary);
    }
    
   
    
    /* Для миниатюр в таблице */
    .table-img-container {
      display: flex;
      gap: 5px;
      flex-wrap: wrap;
    }
    
    .table-thumb {
      width: 60px;
      height: 60px;
      object-fit: contain;
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      cursor: pointer;
      transition: var(--transition);
      background: var(--surface);
    }
    
    .table-thumb:hover {
      border-color: var(--primary);
      transform: scale(1.1);
      box-shadow: var(--shadow-sm);
    }
    
    /* КАРУСЕЛЬ */
    .carousel-outer {
      margin: 30px 0;
      overflow-x: auto;
      padding: 15px 0 25px;
      -webkit-overflow-scrolling: touch;
      max-width: 100%;
      cursor: grab;
      scroll-behavior: smooth;
    }
    
    .carousel-outer:active {
      cursor: grabbing;
    }
    
    .carousel-outer::-webkit-scrollbar {
      height: 8px;
    }
    
    .carousel-outer::-webkit-scrollbar-track {
      background: var(--surface);
      border-radius: 4px;
    }
    
    .carousel-outer::-webkit-scrollbar-thumb {
      background: var(--primary);
      border-radius: 4px;
    }
    
    .carousel-outer::-webkit-scrollbar-thumb:hover {
      background: var(--primary-dark);
    }
    
    .carousel-wrapper {
      display: flex;
      gap: 15px;
      width: max-content;
    }
    
    .img-container {
      width: 200px;
      height: 200px;
      border-radius: var(--radius-lg);
      overflow: hidden;
      cursor: pointer;
      border: 2px solid var(--border);
      transition: var(--transition);
      flex-shrink: 0;
      background: var(--surface);
    }
    
    .img-container:hover {
      border-color: var(--primary);
      transform: scale(1.05);
      box-shadow: var(--shadow-md);
    }
    
    .img-container img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: var(--surface);
    }
    
    /* Image row */
    .image-row {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin: 30px 0;
    }
    
    .image-row img {
      max-width: 100%;
      max-height: 300px;
      width: auto;
      border-radius: var(--radius-lg);
      cursor: pointer;
      box-shadow: var(--shadow-lg);
      border: 2px solid var(--border);
      object-fit: contain;
      background: var(--surface);
      transition: var(--transition);
    }
    
    .image-row img:hover {
      border-color: var(--primary);
      transform: scale(1.02);
      box-shadow: var(--shadow-lg);
    }
    
    /* Feature list */
    .feature-list {
      margin: 20px 0 20px 30px;
      color: var(--text-light);
    }
    
    .feature-list li {
      margin-bottom: 10px;
      position: relative;
      list-style-type: none;
    }
    
    .feature-list li::before {
      content: "▹";
      color: var(--primary);
      position: absolute;
      left: -20px;
      font-size: 1.2rem;
    }
    
    /* Модальное окно */
    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.95);
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    .modal.active {
      display: flex;
    }
    
    .modal-image {
      max-width: 90%;
      max-height: 80vh;
      object-fit: contain;
      border-radius: 8px;
    }
    
    .modal-controls {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding: 0 30px;
      pointer-events: none;
    }
    
    .modal-control {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      border: 2px solid white;
      color: white;
      font-size: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      pointer-events: auto;
      transition: var(--transition);
    }
    
    .modal-control:hover {
      background: white;
      color: black;
    }
    
    .modal-close {
      position: absolute;
      top: 20px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      border: 2px solid white;
      color: white;
      font-size: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10001;
      transition: var(--transition);
    }
    
    .modal-close:hover {
      background: #dc2626;
      border-color: #dc2626;
    }
    
    .thumbnail-container {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 20px;
      padding: 10px;
      overflow-x: auto;
      max-width: 90%;
      background: rgba(0,0,0,0.3);
      border-radius: 50px;
    }
    
    .thumbnail {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 6px;
      cursor: pointer;
      opacity: 0.6;
      border: 2px solid transparent;
      transition: var(--transition);
    }
    
    .thumbnail:hover,
    .thumbnail.active {
      opacity: 1;
      border-color: white;
    }
    
    .modal-counter {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      background: rgba(0,0,0,0.6);
      padding: 8px 20px;
      border-radius: 30px;
      font-size: 16px;
    }
    
    /* Адаптивность */
    @media (max-width: 992px) {
      .product-hero .container {
        flex-direction: column;
      }
      
      .layout-grid {
        grid-template-columns: 1fr;
      }
      
      .modern-sidebar {
        position: static;
        margin-bottom: 30px;
      }
    }
    
    @media (max-width: 768px) {
      .product-hero-content h1 {
        font-size: 2rem;
      }
      
      .product-table {
        font-size: 0.9rem;
      }
      
      .product-table th,
      .product-table td {
        padding: 12px 15px;
      }
      
      .img-container {
        width: 150px;
        height: 150px;
      }
      
      .modal-controls {
        padding: 0 10px;
      }
      
      .modal-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
      }
      
      .modal-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
      }
      
      .thumbnail {
        width: 60px;
        height: 60px;
      }
    }

    .content-main {
      max-width: 100%;
      overflow-x: hidden;
    }
    
    .product-description {
      margin-bottom: 20px;
      line-height: 1.8;
      color: var(--text-light);
    }
    
    .product-section h3 {
      color: var(--primary);
      margin: 40px 0 20px;
      font-size: 1.75rem;
    }
    
    .product-section h4 {
      color: var(--text);
      margin: 30px 0 15px;
      font-size: 1.25rem;
    }
    
    .product-section .TY {
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 15px;
    }
    
    /* Стиль для примечания таблицы */
    .product-table tfoot td {
      background: var(--surface);
      font-size: 0.9rem;
      padding: 20px;
      line-height: 1.6;
    }


.product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;
  background: var(--bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  
  /* Добавляем для работы процентных ширин */
  table-layout: fixed;
}

/* Процентное распределение колонок - применяем к заголовкам */
.product-table th:nth-child(1) { width: 8%; }  /* Фото */
.product-table th:nth-child(2) { width: 11%; }  /* Сокращенное обозначение */
.product-table th:nth-child(3) { width: 10%; }   /* Обозначение КД */
.product-table th:nth-child(4) { width: 9%; }   /* Номин. напряжение */
.product-table th:nth-child(5) { width: 8%; }   /* Ток электромагнита */
.product-table th:nth-child(6) { width: 8%; }   /* Длительный ток */
.product-table th:nth-child(7) { width: 8%; }   /* Типовое исполнение */
.product-table th:nth-child(8) { width: 8%; }   /* Кратковременный ток */
.product-table th:nth-child(9) { width: 8%; }   /* Степень защиты */
.product-table th:nth-child(10) { width: 8%; }  /* Цвет чехла */
.product-table th:nth-child(11) { width: 8%; }  /* Цена */

.product-table thead tr {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.product-table th {
  padding: 18px 20px;
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-left: 1px solid var(--bg);
}

.product-table th:first-child {
  border-top-left-radius: var(--radius-xl);
}

.product-table th:last-child {
  border-top-right-radius: var(--radius-xl);
}

.product-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  border-left: 1px solid var(--border);
  word-wrap: break-word;
  overflow-wrap: break-word;
  vertical-align: middle;
}

/* Стили для контейнера с изображениями */
.table-img-container {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.table-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}

.table-thumb:hover {
  transform: scale(1.1);
}


/* Стили для ячеек с rowspan */
.product-table td[rowspan] {
  background-color: rgba(var(--primary-rgb), 0.02);
  vertical-align: middle;
  font-weight: 500;
}

.product-table tbody tr:last-child td {
  border-bottom: none;
}

.product-table tbody tr:hover td {
  background: var(--surface);
}

.product-table caption {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--primary);
  text-align: left;
  padding: 0 5px;
}

/* ===== ПЛАВНАЯ АДАПТАЦИЯ ДЛЯ РАЗНЫХ ЭКРАНОВ ===== */

/* От 1200px до 1300px - небольшое уменьшение */
@media screen and (max-width: 1300px) and (min-width: 1201px) {
  .product-table th {
    padding: 16px 15px;
    font-size: 0.95rem;
  }
  
  .product-table td {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .table-thumb {
    width: 38px;
    height: 38px;
  }
}

/* От 992px до 1200px - среднее уменьшение */
@media screen and (max-width: 1200px) and (min-width: 993px) {
  .product-table th {
    padding: 14px 12px;
    font-size: 0.9rem;
  }
  
  .product-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .product-table th:nth-child(1) { width: 8%; }
  .product-table th:nth-child(2) { width: 12%; }
  .product-table th:nth-child(3) { width: 11%; }
  .product-table th:nth-child(4) { width: 9%; }
  .product-table th:nth-child(5) { width: 9%; }
  .product-table th:nth-child(6) { width: 9%; }
  .product-table th:nth-child(7) { width: 9%; }
  .product-table th:nth-child(8) { width: 9%; }
  .product-table th:nth-child(9) { width: 8%; }
  .product-table th:nth-child(10) { width: 8%; }
  .product-table th:nth-child(11) { width: 8%; }
  
  .table-thumb {
    width: 35px;
    height: 35px;
  }
}

/* От 768px до 992px - планшеты и маленькие ноутбуки */
@media screen and (max-width: 992px) and (min-width: 769px) {
  .product-table {
    table-layout: fixed;
  }
  
  .product-table th {
    padding: 12px 8px;
    font-size: 0.85rem;
    white-space: normal;
    word-break: break-word;
  }
  
  .product-table td {
    padding: 10px 6px;
    font-size: 0.8rem;
    white-space: normal;
    word-break: break-word;
  }
  
  /* Перераспределяем ширины для планшетов */
  .product-table th:nth-child(1) { width: 7%; }  /* Фото - меньше */
  .product-table th:nth-child(2) { width: 13%; }  /* Сокращенное обозначение - больше */
  .product-table th:nth-child(3) { width: 13%; }   /* Обозначение КД - больше */
  .product-table th:nth-child(4) { width: 8%; }   /* Номин. напряжение */
  .product-table th:nth-child(5) { width: 8%; }   /* Ток электромагнита */
  .product-table th:nth-child(6) { width: 8%; }   /* Длительный ток */
  .product-table th:nth-child(7) { width: 9%; }   /* Типовое исполнение - больше */
  .product-table th:nth-child(8) { width: 9%; }   /* Кратковременный ток - больше */
  .product-table th:nth-child(9) { width: 7%; }   /* Степень защиты */
  .product-table th:nth-child(10) { width: 7%; }  /* Цвет чехла */
  .product-table th:nth-child(11) { width: 7%; }  /* Цена */
  
  .table-thumb {
    width: 30px;
    height: 30px;
  }
  
  .table-img-container {
    gap: 3px;
  }
}

/* Для мобильных устройств - горизонтальный скролл */
@media screen and (max-width: 768px) {
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    
    /* Визуальная подсказка о прокрутке */
    background: 
      linear-gradient(to right, var(--bg) 30%, rgba(255,255,255,0)),
      linear-gradient(to right, rgba(0,0,0,0.05), rgba(0,0,0,0)) 100% 0;
    background-repeat: no-repeat;
    background-size: 40px 100%, 20px 100%;
    background-attachment: scroll, scroll;
    background-position: 0 0, 100% 0;
  }
  
  .product-table {
    min-width: 1000px;
    width: auto;
    margin: 0;
    border-radius: 0;
    border: none;
    table-layout: auto;
  }
  
  .product-table th,
  .product-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  .product-table th:nth-child(1),
  .product-table th:nth-child(2),
  .product-table th:nth-child(3),
  .product-table th:nth-child(4),
  .product-table th:nth-child(5),
  .product-table th:nth-child(6),
  .product-table th:nth-child(7),
  .product-table th:nth-child(8),
  .product-table th:nth-child(9),
  .product-table th:nth-child(10),
  .product-table th:nth-child(11) {
    width: auto;
    min-width: 70px;
  }
  
  .product-table th:nth-child(2),
  .product-table th:nth-child(3) {
    min-width: 120px;
  }
  
  .product-table th:nth-child(1) {
    min-width: 80px;
  }
  
  .product-table th:first-child,
  .product-table td:first-child {
    border-top-left-radius: 0;
  }
  
  .product-table th:last-child,
  .product-table td:last-child {
    border-top-right-radius: 0;
  }
  
  .table-thumb {
    width: 30px;
    height: 30px;
  }
  
  .product-table td[rowspan] {
    background-color: transparent;
  }
}

/* Для очень маленьких экранов (до 500px) */
@media screen and (max-width: 500px) {
  .table-wrapper {
    margin: 15px 0;
    border-radius: var(--radius-md);
    background: none;
  }
  
  .product-table {
    min-width: 950px;
  }
  
  .product-table th,
  .product-table td {
    padding: 8px 5px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  .product-table th:nth-child(2),
  .product-table th:nth-child(3) {
    min-width: 110px;
  }
  
  .product-table th:nth-child(1),
  .product-table th:nth-child(4),
  .product-table th:nth-child(5),
  .product-table th:nth-child(6),
  .product-table th:nth-child(7),
  .product-table th:nth-child(8),
  .product-table th:nth-child(9),
  .product-table th:nth-child(10),
  .product-table th:nth-child(11) {
    min-width: 55px;
  }
  
  .table-thumb {
    width: 25px;
    height: 25px;
  }
  
  .table-thumb:hover {
    transform: none;
  }
  
  .product-table tbody tr:hover td {
    background: inherit;
  }
}

/* Для экранов меньше 400px */
@media screen and (max-width: 400px) {
  .product-table {
    min-width: 900px;
  }
  
  .product-table th,
  .product-table td {
    padding: 6px 4px;
    font-size: 0.7rem;
  }
  
  .product-table th:nth-child(2),
  .product-table th:nth-child(3) {
    min-width: 100px;
  }
  
  .table-thumb {
    width: 22px;
    height: 22px;
  }
}

/* Для альбомной ориентации */
@media screen and (max-width: 900px) and (orientation: landscape) {
  .product-table {
    min-width: 1000px;
  }
  
  .product-table th,
  .product-table td {
    padding: 8px 6px;
    font-size: 0.8rem;
  }
}