.compare-page{padding:26px 0 70px}

.compare-wrap{
    border-radius:18px;
    border:1px solid rgba(19,34,80,.08);
    background:rgba(255,255,255,.92);
    overflow:hidden;
}

.comparison-table-wrap{
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    max-width:100%;
}

.comparison-table{
    margin:0;
    background:transparent;
    border:0;
    min-width:720px; /* чтобы был смысл скроллить */
}

.comparison-table th,
.comparison-table td{
    vertical-align:top;
    padding:12px 12px;
    border-color:rgba(19,34,80,.08);
    background:rgba(255,255,255,.0);
}

/* Sticky первый столбец */
.comparison-table th:first-child,
.comparison-table td:first-child{
    position:sticky;
    left:0;
    z-index:2;
    background:rgba(255,255,255,.92);
    box-shadow:8px 0 18px rgba(16,26,68,.06);
}

.comparison-product-link{
    color:var(--ns-blue);
    font-weight:900;
}
.comparison-product-link:hover{text-decoration:underline}

.comparison-product-card{
    display:flex;
    flex-direction:column;
    gap:8px;
    align-items:flex-start;
    min-width:180px; /* чтобы карточка в заголовке не сжималась */
}
.comparison-product-thumb{
    width:160px;
    height:110px;
    border-radius:14px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border:1px solid rgba(19,34,80,.08);
    background-color:rgba(245,248,255,.9);
    user-select:none;
    -webkit-user-drag:none;
}
.comparison-product-thumb.is-empty{
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(129,140,175,.9);
    font-size:22px;
}
.comparison-product-title{
    font-weight:900;
    color:var(--ns-text-main);
    line-height:1.25;
}
.comparison-product-meta{
    font-size:12px;
    font-weight:800;
    color:var(--ns-text-muted);
}
.comparison-price{
    font-weight:900;
    color:var(--ns-blue);
}
.comparison-key{
    font-weight:900;
    color:var(--ns-text-main);
}

/* Mobile tweaks */
@media (max-width: 575.98px){
    .comparison-table{min-width:620px}
    .comparison-product-card{min-width:160px}
    .comparison-product-thumb{width:140px;height:96px}
    .comparison-table th:first-child,
    .comparison-table td:first-child{
        min-width:180px;
    }
}
