/* ================= МОДАЛКА ================= */

.size-guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.size-guide-modal-content {
    background: #fff;
    padding: 25px 20px;
    border-radius: 6px;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    margin: 0 auto;
}

/* Заголовок */
.size-guide-modal-body h3 {
    text-align: center;
    margin: 0 0 20px;
    color: #222;
    font-size: 18px;
    font-weight: 600;
}

/* Кнопка закрытия */
.size-guide-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    padding: 0;
}

.size-guide-close:hover {
    color: #000;
}

/* ================= ТАБЛИЦА ================= */

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #222;

    border: 2px solid #000;
    border-radius: 8px;
    overflow: hidden;
}

/* Ячейки */
.size-guide-table th,
.size-guide-table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #000; /* всё чёрное */
}

/* Заголовки */
.size-guide-table th {
    font-weight: 600;
    border: 2px solid #000;
}

/* Нижняя граница шапки */
.size-guide-table thead th {
    border-bottom: 2px solid #000;
}

/* Первая колонка */
.size-guide-table td:first-child {
    font-weight: 500;
}

/* Hover */
.size-guide-table tr:hover td {
    background: #f5f5f5;
}