/* Стандарт с вариантами (вариант B): переключатели, матрица «диаметр × длина», выбор размера. */
.gkMatrix { margin: 24px 0 40px; }

.gkCard { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; margin-bottom: 28px; }
.gkCard__img img { max-width: 100%; height: auto; }
.gkCard__facts { width: 100%; border-collapse: collapse; font-size: 14px; }
.gkCard__facts th, .gkCard__facts td { padding: 7px 0; border-bottom: 1px solid #eef0f3; text-align: left; }
.gkCard__facts th { width: 45%; font-weight: 400; color: #6b7280; }
.gkCard__offer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.gkCard__price { font-size: 22px; font-weight: 600; }
.gkCard__price span { font-size: 14px; font-weight: 400; color: #6b7280; }
.gkCard__count { color: #6b7280; }
@media (max-width: 767px) { .gkCard { grid-template-columns: 1fr; gap: 16px; } }
.gkMatrix__analogs { color: #6b7280; margin-bottom: 16px; }
.gkMatrix__note { font-size: 13px; margin-top: 4px; }
.gkMatrix__label { font-size: 14px; color: #6b7280; margin-bottom: 8px; }

.gkMatrix__variants { margin-bottom: 24px; }
.gkMatrix__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gkMatrix__chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #d1d5db; border-radius: 6px; color: inherit; text-decoration: none; font-size: 14px; }
.gkMatrix__chip span { color: #9ca3af; font-size: 12px; }
.gkMatrix__chip:hover { border-color: #1d4ed8; }
.gkMatrix__chip.is-active { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }

.gkMatrix__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.gkMatrix__reset { border: 0; background: none; color: #1d4ed8; cursor: pointer; padding: 0; font-size: 14px; }
.gkMatrix__scroll { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 6px; }
.gkMatrix__table { border-collapse: collapse; font-size: 13px; }
.gkMatrix__table th, .gkMatrix__table td { border: 1px solid #eef0f3; min-width: 34px; height: 30px; text-align: center; padding: 0 4px; }
.gkMatrix__table thead th { position: sticky; top: 0; background: #f9fafb; font-weight: 500; }
.gkMatrix__table .gkMatrix__corner, .gkMatrix__d { position: sticky; left: 0; background: #f9fafb; font-weight: 500; white-space: nowrap; z-index: 1; }
.gkMatrix__d { cursor: pointer; }
.gkMatrix__d.is-active { background: #dbeafe; color: #1d4ed8; }
.gkMatrix__cell.is-on { background: #eff6ff; color: #1d4ed8; cursor: pointer; }
.gkMatrix__cell.is-on:hover, .gkMatrix__cell.is-on:focus { background: #bfdbfe; outline: none; }
.gkMatrix__cell.is-picked { background: #1d4ed8; color: #fff; }

.gkMatrix__pick { margin-top: 16px; border: 1px solid #e5e7eb; border-radius: 6px; padding: 12px 16px; }
.gkMatrix__pickTitle { font-weight: 600; margin-bottom: 8px; }
.gkMatrix__pickRow { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-top: 1px solid #f1f2f4; }
.gkMatrix__pickRow:first-of-type { border-top: 0; }

.gkMatrix__prices { margin-top: 24px; }
.gkMatrix__prices .productPrices__item.is-hidden { display: none; }
.gkMatrix__prices .productPrices__item.is-picked { background: #eff6ff; }
