/* ===== Compare table (FIXED z-index) ===== */

.rc-compare-wrap{
  width:100%;
  position: relative;
  z-index: 1; /* таблица НИЖЕ хедера */
}

.rc-compare-loading,
.rc-compare-empty{
  padding:14px 12px;
  border:1px dashed #bbb;
  border-radius:12px;
}

.rc-table-scroll{
  overflow:auto;
  border:1px solid #e6e6e6;
  border-radius:14px;
  position: relative;
  z-index: 1;
}

.rc-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:720px;
  background:#fff;
}

/* обычные ячейки */
.rc-th,
.rc-td{
  padding:12px;
  border-bottom:1px solid #eee;
  vertical-align:top;
  background:#fff;
}

/* ===== Sticky header ===== */
.rc-th{
  position: sticky;
  top: 0;
  z-index: 2; /* ВАЖНО: ниже хедера сайта */
  background:#fafafa;
  font-weight:600;
}

/* первая колонка */
.rc-param{
  width:240px;
}

/* ===== Sticky first column ===== */
.rc-th--sticky,
.rc-td--sticky{
  position: sticky;
  left: 0;
  z-index: 2;
  background:#fff;
  border-right:1px solid #eee;
}

/* пересечение header + first column */
.rc-th.rc-th--sticky{
  z-index: 3; /* максимум внутри таблицы */
  background:#fafafa;
}

/* шапка ракеты */
.rc-rocket-head{
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* кнопка "убрать" */
.rc-mini-remove{
  align-self:flex-start;
  font: inherit;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #111;
  background:#fff;
  cursor:pointer;
}

.rc-mini-remove:hover{
  background:#111;
  color:#fff;
}
