/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Apr 29 2026 | 21:28:43 */
/* Обертка таблицы */
.custom-size-chart-wrapper {
    font-family: inherit;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto; /* Прокрутка на мобильных, если таблица не влезает */
}

/* Кнопки табов */
.size-chart-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    color: #555;
    transition: all 0.3s ease;
    border-radius: 2px;
    letter-spacing: 1px;
}

.tab-btn:hover {
    color: #a68b6c;
}

.tab-btn.active {
    background-color: #a68b6c;
    color: #ffffff;
}

/* Скрытие неактивных табов */
.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Сама таблица */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    min-width: 600px; /* Минимальная ширина, чтобы на мобильном можно было скроллить горизонтально */
}

.size-table th {
    background-color: #f9f9f9;
    color: #1a1a1a;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap; /* Заголовки не переносятся */
}

.size-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    white-space: nowrap; /* Данные не переносятся */
}

.size-table tr:last-child td {
    border-bottom: none;
}

.size-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .size-chart-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 30%;
        text-align: center;
        padding: 8px 5px;
        font-size: 12px;
    }
    
    .size-table th, .size-table td {
        padding: 8px 5px;
        font-size: 12px;
    }
}