/* ============================================
   SIZE GUIDE PAGE STYLES
   ============================================ */

.sizeguide-page {
    padding: 40px 0 80px;
}

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.category-tab {
    padding: 10px 24px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.category-tab.active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* Size Guide Layout */
.sizeguide-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Diagram Section */
.size-diagram {
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.tshirt-svg {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tshirt-svg svg {
    max-width: 250px;
    width: 100%;
}

/* Measure Guide */
.measure-guide h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.measure-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.step-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.measure-step strong {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.measure-step p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Size Table */
.size-table-container {
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.unit-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: fit-content;
    overflow: hidden;
}

.unit-btn {
    padding: 10px 20px;
    background: white;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.unit-btn.active {
    background: var(--primary-dark);
    color: white;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
}

.size-table th,
.size-table td {
    padding: 14px 16px;
    text-align: center;
    font-size: 14px;
}

.size-table th {
    background: var(--bg-white);
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.size-table td {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
}

.size-table tbody tr:hover {
    background: var(--bg-white);
}

.size-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .sizeguide-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .size-table th,
    .size-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .sizeguide-page {
        padding: 24px 0 40px;
    }

    .sizeguide-page .page-title {
        font-size: 22px;
    }

    .category-tabs {
        margin-bottom: 28px;
    }

    .size-diagram,
    .size-table-container {
        padding: 20px 16px;
    }

    .size-table-container {
        overflow-x: auto;
    }

    .size-table {
        min-width: 500px;
    }
}
