/* ==========================================================================
   Описания товаров IDS Drive N, N-NK, N-VB (N-Vector) — rospolus.ru
   Собственный файл: все классы начинаются с idsn-, от чужих стилей не зависят.
   Палитра и пропорции — как у карточек тепловых завес на сайте.
   Путь: /catalog/view/theme/default/stylesheet/ids-drive-n.css
   ========================================================================== */

.idsn { color: #1b1f23; font: 15px/1.4 Arial, sans-serif; margin: 12px 0; }
.idsn * { box-sizing: border-box; }
.idsn h2 { color: #1b1f23; font: bold 15px/1.35 Arial, sans-serif; text-align: center; margin: 0 0 9px; padding: 0; border: 0; }
.idsn p { margin: 0 0 8px; }
.idsn a { color: #176bb0; text-decoration: underline; text-underline-offset: 3px; }
.idsn a:hover { color: #123faa; }

/* --- Полоса документации --- */
.idsn .idsn-docs { margin: 0 0 10px; }
.idsn .idsn-doc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 5px;
  border: 1px solid #c8d9eb; border-radius: 6px; background: #f7f9fc;
}
.idsn a.idsn-doc { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding: 7px 10px; color: #1b1f23; text-decoration: none; }
.idsn a.idsn-doc + a.idsn-doc { border-left: 1px solid #d4e0ed; }
.idsn a.idsn-doc:hover { background: #eef4fb; }
.idsn .idsn-doc img { display: block; flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; margin: 0; }
.idsn .idsn-doc > span { display: block; min-width: 0; }
.idsn .idsn-doc strong { display: block; color: #123faa; font-size: 15px; line-height: 1.35; text-decoration: underline; }
.idsn .idsn-doc small { display: block; margin-top: 2px; color: #62758b; font-size: 13px; line-height: 1.35; }

/* --- Три ключевых параметра --- */
.idsn .idsn-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 10px;
  background: #dbe8f4; border: 1px solid #dbe8f4; border-radius: 6px; overflow: hidden;
}
.idsn .idsn-stats > div { background: #eef5fb; text-align: center; padding: 7px 6px; display: flex; flex-direction: column; justify-content: space-between; }
.idsn .idsn-stats span { display: block; color: #4a6479; font-size: 13px; }
.idsn .idsn-stats strong { display: block; color: #165b96; font-size: 21px; line-height: 1.2; margin-top: 2px; }
.idsn .idsn-stats small { font-size: 14px; font-weight: normal; white-space: nowrap; }

/* --- Блоки --- */
.idsn .idsn-block { border: 1px solid #d4e0ed; border-radius: 6px; padding: 11px 12px; margin: 0 0 10px; background: #fff; }
.idsn .idsn-features { margin: 0; padding: 0 0 0 20px; }
.idsn .idsn-features li { margin: 0 0 6px; padding-left: 3px; }
.idsn .idsn-features li:last-child { margin-bottom: 0; }
.idsn .idsn-features li::marker { color: #2383c7; }

/* --- Модельный ряд --- */
.idsn .idsn-comparison { padding: 0; overflow: hidden; }
.idsn .idsn-comparison > h2 { margin: 0; padding: 10px 8px; }
.idsn .idsn-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
.idsn table.idsn-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; line-height: 1.35; margin: 0; }
.idsn .idsn-table th, .idsn .idsn-table td { text-align: center; vertical-align: middle; padding: 5px 8px; border: 1px solid #dbe4eb; }
.idsn .idsn-table th { background: #eaf2f9; color: #224c70; font-weight: bold; white-space: nowrap; }
.idsn .idsn-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.idsn .idsn-table th:first-child, .idsn .idsn-table td:first-child { border-left: 0; }
.idsn .idsn-table th:last-child, .idsn .idsn-table td:last-child { border-right: 0; }
.idsn .idsn-table tbody tr:last-child td { border-bottom: 0; }
.idsn .idsn-table tbody tr:nth-child(even) { background: #fafcfd; }
.idsn .idsn-table tbody tr.idsn-cur { background: #eef5fb; }
.idsn .idsn-table tr.idsn-cur td:first-child { color: #165b96; }

/* --- Расшифровка обозначения: сегмент кода сверху, подпись под ним --- */
.idsn .idsn-decode { margin: 0 0 10px; }
.idsn .idsn-dec {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 5px;
  border: 1px solid #c8d9eb; border-radius: 6px; background: #f7f9fc;
}
.idsn .idsn-dec > div { text-align: center; padding: 6px 6px 7px; min-width: 0; }
.idsn .idsn-dec > div + div { border-left: 1px solid #d4e0ed; }
.idsn .idsn-dec b { display: block; color: #165b96; font: bold 20px/1.2 Arial, sans-serif; margin: 0 0 4px; }
.idsn .idsn-dec span { display: block; color: #4a6479; font-size: 13px; line-height: 1.35; }
.idsn .idsn-dec-note { margin: 6px 0 0; color: #62758b; font-size: 13px; text-align: center; }

/* --- Примечание --- */
.idsn .idsn-note { background: #f0f3f6; border-left: 3px solid #229ac8; padding: 10px 12px; margin: 0 0 16px; border-radius: 0 7px 7px 0; }
.idsn .idsn-note > strong { display: block; color: #24455f; margin-bottom: 4px; text-align: center; }
.idsn .idsn-note p { margin: 0; font-size: 14px; }

@media (max-width: 600px) {
  .idsn .idsn-doc-grid { grid-template-columns: 1fr; }
  .idsn a.idsn-doc + a.idsn-doc { border-left: 0; border-top: 1px solid #d4e0ed; }
  .idsn .idsn-stats span { font-size: 11px; }
  .idsn .idsn-stats strong { font-size: 20px; }
  .idsn .idsn-dec b { font-size: 16px; }
  .idsn .idsn-dec span { font-size: 11px; }
}
