/* Контейнер таблицы */
.cmp-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0 50px;
}

/* Таблица */
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #e5e5e5;
    background: #fff;
}

/* Общие стили ячеек (шапка и тело) */
.cmp-table th,
.cmp-table td {
    border: 1px solid #e5e5e5;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
}

/* Стили шапки (верхняя строка) */
.cmp-table thead th {
    background: #111 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
}

/* Подсветка строки при наведении */
.cmp-table tbody tr:hover td {
    background-color: rgba(0, 0, 0, 0.04) !important;
    transition: background-color 0.2s ease;
}

/* Первая колонка (Критерии) */
.cmp-table td:first-child {
    font-weight: 600;
    text-align: left;
    background-color: #fcfcfc;
}

/* КАРТИНКИ (Размер 140x100) */
.cmp-cell-img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
}

.cmp-cell-img:hover {
    transform: scale(1.05);
}

.cmp-cell-text {
    font-size: 14px;
    font-weight: 500;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .cmp-table th, .cmp-table td {
        padding: 8px;
        font-size: 13px;
    }
    .cmp-cell-img {
        width: 100px;
        height: 75px;
    }
}

/* МОДАЛЬНОЕ ОКНО */
.zynto-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 50px;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.zynto-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
}

.zynto-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}