.sdt-spec-table-wrap {
    margin: 0;
    padding: 0;
}

.sdt-spec-table-title {
    margin-bottom: 20px;
}

.sdt-spec-table-title h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 500;
    color: #0f3054;
}

.sdt-spec-table-title p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #777;
}

.sdt-mobile-hint {
    display: none;
    margin: 0 0 10px;
    font-size: 13px;
    color: #777;
}

.sdt-table-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.sdt-spec-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    color: #333;
}

.sdt-spec-table th,
.sdt-spec-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #eeeeee;
    vertical-align: middle;
    text-align: center;
    line-height: 1.4;
}

.sdt-spec-table th:last-child,
.sdt-spec-table td:last-child {
    border-right: none;
}

/* Шапка: назви характеристик (по горизонталі) */
.sdt-spec-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #0f3054;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: none;
    border-right-color: rgba(255, 255, 255, 0.16);
}

/* Перша колонка = «Розмір», липка при горизонтальному скролі */
.sdt-spec-table th:first-child,
.sdt-spec-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    font-weight: 600;
    min-width: 90px;
}

.sdt-spec-table tbody td:first-child {
    background: #fff;
    color: #0f3054;
}

.sdt-spec-table thead th:first-child {
    z-index: 4;
}

/* Смугасті рядки */
.sdt-spec-table tbody tr:nth-child(even) td {
    background: #f5f7fa;
}

.sdt-spec-table tbody tr:nth-child(even) td:first-child {
    background: #eef2f7;
}

.sdt-spec-table tbody tr:hover td {
    background: #e9eff6;
}

.sdt-spec-table tbody tr:hover td:first-child {
    background: #dfe7f1;
}

.sdt-spec-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .sdt-spec-table-title h2 {
        font-size: 22px;
    }

    .sdt-spec-table-title p {
        font-size: 14px;
    }

    .sdt-mobile-hint {
        display: block;
    }

    .sdt-table-scroll {
        border-radius: 12px;
    }

    .sdt-spec-table {
        min-width: 520px;
        font-size: 12px;
    }

    .sdt-spec-table th,
    .sdt-spec-table td {
        padding: 10px 8px;
        line-height: 1.35;
    }

    .sdt-spec-table th:first-child,
    .sdt-spec-table td:first-child {
        min-width: 74px;
    }
}

@media (max-width: 480px) {
    .sdt-spec-table th:first-child,
    .sdt-spec-table td:first-child {
        min-width: 64px;
    }
}
