/* =============================================
   Guia de Tallas - Styles
   Fajas Intimos
   ============================================= */

/* Hero Section */
.size-hero {
    background: linear-gradient(135deg, #FFE8F2 0%, #FFF5F9 50%, #FFFFFF 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.size-hero__content {
    max-width: 700px;
    margin: 0 auto;
}

.size-hero__title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #3D4E51;
    margin-bottom: 1rem;
}

.size-hero__subtitle {
    font-size: 1.125rem;
    color: #5F7578;
    line-height: 1.7;
}

/* Size Guide Section */
.size-guide {
    padding: 60px 0 80px;
}

/* Tabs Navigation */
.size-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 8px;
    background: #F8F9FA;
    border-radius: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.size-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #5F7578;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-tab svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.size-tab:hover {
    background: #FFFFFF;
    color: #E71D73;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.size-tab:hover svg {
    opacity: 1;
    stroke: #E71D73;
}

.size-tab.active {
    background: #FFFFFF;
    color: #E71D73;
    box-shadow: 0 4px 15px rgba(231, 29, 115, 0.15);
}

.size-tab.active svg {
    opacity: 1;
    stroke: #E71D73;
}

/* Tab Content */
.size-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.size-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.size-content__header {
    text-align: center;
    margin-bottom: 40px;
}

.size-content__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #3D4E51;
    margin-bottom: 12px;
}

.size-content__description {
    font-size: 1rem;
    color: #5F7578;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Size Table */
.size-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    min-width: 600px;
}

.size-table thead {
    background: linear-gradient(135deg, #E71D73 0%, #B91659 100%);
}

.size-table th {
    padding: 18px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-table th:first-child {
    border-radius: 16px 0 0 0;
}

.size-table th:last-child {
    border-radius: 0 16px 0 0;
}

.size-table tbody tr {
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.2s ease;
}

.size-table tbody tr:hover {
    background: #FFF5F9;
}

.size-table tbody tr:last-child {
    border-bottom: none;
}

.size-table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #3D4E51;
}

.size-label {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #FFE8F2 0%, #FFF0F6 100%);
    color: #E71D73;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Size Tips */
.size-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.size-tip {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #F8F9FA;
    border-radius: 16px;
    border-left: 4px solid #E71D73;
}

.size-tip--highlight {
    background: linear-gradient(135deg, #FFE8F2 0%, #FFF5F9 100%);
    border-left-color: #25D366;
}

.size-tip__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.size-tip__icon svg {
    stroke: #E71D73;
}

.size-tip--highlight .size-tip__icon svg {
    stroke: #25D366;
}

.size-tip__content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #3D4E51;
    margin-bottom: 8px;
}

.size-tip__content p {
    font-size: 0.9rem;
    color: #5F7578;
    line-height: 1.6;
    margin: 0;
}

.size-tip__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 20px;
    background: #25D366;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.size-tip__cta:hover {
    background: #128C7E;
    transform: translateX(4px);
}

/* Measure Guide */
.measure-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.measure-step {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.measure-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.measure-step__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E71D73 0%, #B91659 100%);
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.measure-step__content {
    flex: 1;
}

.measure-step__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #3D4E51;
    margin-bottom: 8px;
}

.measure-step__text {
    font-size: 0.9rem;
    color: #5F7578;
    line-height: 1.6;
    margin-bottom: 16px;
}

.measure-step__image {
    background: #FFF5F9;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

/* CTA Section */
.size-cta {
    background: linear-gradient(135deg, #3D4E51 0%, #2A3638 100%);
    padding: 80px 0;
    text-align: center;
}

.size-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.size-cta__title {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.size-cta__subtitle {
    font-size: 1.1rem;
    color: #C5D5D7;
    margin-bottom: 32px;
    line-height: 1.7;
}

.size-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.size-cta__buttons .btn--primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.size-cta__buttons .btn--secondary {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.size-cta__buttons .btn--secondary:hover {
    background: #FFFFFF;
    color: #3D4E51;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .size-hero {
        padding: 100px 0 40px;
    }

    .size-hero__title {
        font-size: 1.75rem;
    }

    .size-hero__subtitle {
        font-size: 1rem;
    }

    .size-tabs {
        gap: 4px;
        padding: 6px;
    }

    .size-tab {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .size-tab span {
        display: none;
    }

    .size-tab svg {
        width: 24px;
        height: 24px;
    }

    .size-content__title {
        font-size: 1.5rem;
    }

    .size-table th,
    .size-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .measure-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .size-tips {
        grid-template-columns: 1fr;
    }

    .size-tip {
        flex-direction: column;
        align-items: flex-start;
    }

    .size-cta__title {
        font-size: 1.5rem;
    }

    .size-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .size-hero__title {
        font-size: 1.5rem;
    }

    .size-tab {
        padding: 10px 14px;
    }

    .size-table-wrapper {
        margin: 0 -16px 40px;
        border-radius: 0;
    }

    .measure-guide {
        gap: 20px;
    }

    .measure-step {
        padding: 20px;
    }
}
