
/* استایل جدول اندازه‌گیری */
.wc-size-table-wrapper {
    margin: 20px 0;
    font-family: Tahoma, Arial, sans-serif;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wc-size-table-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.wc-size-table-header:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
}

.wc-size-table-header .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.wc-size-table-header.active .arrow {
    transform: rotate(180deg);
}

.wc-size-table-content {
    display: none;
    padding: 20px;
    background: #fff;
    animation: slideDown 0.4s ease-out;
}

.wc-size-table-content.show {
    display: block;
}

.wc-size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.wc-size-table th,
.wc-size-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
}

.wc-size-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: bold;
    color: #495057;
    font-size: 14px;
}

.wc-size-table td:first-child {
    font-weight: 600;
    color: #495057;
}

.wc-size-table td:last-child {
    color: #007cba;
    font-weight: bold;
}

.wc-size-table tr:hover {
    background: #f8f9ff;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* استایل جدول سایزبندی */
.wc-size-table.multi-size th:first-child {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.wc-size-table.multi-size td:first-child {
    background: #e8f5e8;
    font-weight: bold;
    color: #155724;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .wc-size-table-header {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .wc-size-table-content {
        padding: 15px;
    }
    
    .wc-size-table th,
    .wc-size-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
}
        