/* 
   TABLA DE TALLES — rediseño full-width, mismo lenguaje visual que Categorías.
*/

#talles {
    background: #0a0a0a;
    padding: 0 80px 64px;
    text-align: left;
    position: relative;
}

.talles-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* ── Encabezado ── */
.talles-header {
    margin-bottom: 22px;
}

.talles-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b7b7b7;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.talles-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--red, #e8001d);
    flex-shrink: 0;
}

.talles-main-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.02;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px;
}

.talles-title-accent {
    color: var(--red, #e8001d);
}

.talles-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.talles-subtitle {
    font-size: 13px;
    color: #9a9a9a;
    line-height: 1.55;
    max-width: 640px;
    margin: 0;
}

.talles-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 10px;
    color: #8f8f8f;
    letter-spacing: .3px;
    padding-bottom: 2px;
}

.talles-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.talles-legend b {
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1px;
}

.lg-us { color: #fff; }
.lg-ar { color: #ff4b5c; }
.lg-cm { color: #b9b9b9; }

/* ── Tarjetas de tabla ── */
.talles-tables-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.talles-table-block {
    width: 100%;
}

.talles-glass-card {
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.talles-brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.talles-brand-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.talles-pill {
    border: 1px solid rgba(232, 0, 29, 0.55);
    background: rgba(232, 0, 29, 0.07);
    color: #ff4b5c;
    border-radius: 6px;
    padding: 3px 9px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.talles-table-meta {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    text-align: right;
}

.talles-table-kicker {
    font-family: 'Inter', sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #757575;
}

.talles-table-label {
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #e6e6e6;
}

/* ── Tabla ── */
.talles-table-v2 {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.talles-v2-col-hdr {
    width: 96px;
    padding: 0 16px;
    text-align: left;
    vertical-align: middle;
    font-family: 'Inter', sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #8a8a8a;
    white-space: nowrap;
}

.talles-v2-cell {
    padding: 9px 6px;
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid rgba(255, 255, 255, 0.035);
}

.talles-v2-row + .talles-v2-row td {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

/* Filas por tipo */
.talles-row-us td { background: #0f0f0f; }

.talles-row-ar td { background: rgba(232, 0, 29, 0.10); }

.talles-row-ar .talles-v2-col-hdr {
    background: rgba(232, 0, 29, 0.06);
}

.talles-row-cm td { background: #0f0f0f; }

/* Valores */
.tv2-arg {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .4px;
    color: #fff;
}

.tv2-us {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #ff5a63;
}

.tv2-cm {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    color: #b9b9b9;
}

/* ── Pie ── */
.talles-footer-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 11px;
    color: #8a8a8a;
    letter-spacing: .2px;
}

.talles-footer-tip svg {
    color: var(--red, #e8001d);
    opacity: .8;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    #talles {
        padding: 0 24px 64px;
    }

    .talles-inner {
        padding-top: 44px;
    }

    .talles-header {
        margin-bottom: 26px;
    }

    .talles-header-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .talles-brand-header {
        padding: 12px 16px;
    }

    .talles-table-meta {
        justify-content: flex-start;
        text-align: left;
    }

    .talles-v2-col-hdr {
        width: 80px;
        padding: 0 12px;
        font-size: 8px;
        letter-spacing: 1.6px;
    }

    .talles-v2-cell {
        padding: 9px 3px;
    }

    .tv2-arg { font-size: 15px; }
    .tv2-us { font-size: 12px; }
    .tv2-cm { font-size: 10.5px; }
}

@media (max-width: 600px) {
    #talles {
        padding: 0 18px 52px;
    }

    .talles-inner {
        padding-top: 38px;
    }

    .talles-main-title {
        font-size: 26px;
        letter-spacing: -.6px;
    }

    .talles-tables-wrap {
        gap: 22px;
    }

    .talles-pill {
        padding: 3px 9px;
        font-size: 8.5px;
    }

    .talles-table-kicker {
        display: none;
    }

    .talles-table-meta {
        width: 100%;
    }

    .talles-v2-col-hdr {
        width: 64px;
        padding: 0 9px;
        font-size: 7px;
        letter-spacing: 1.2px;
    }

    .talles-v2-cell {
        padding: 8px 2px;
    }

    .tv2-arg { font-size: 13px; }
    .tv2-us { font-size: 10px; letter-spacing: 0; }
    .tv2-cm { font-size: 8.5px; }

    .talles-footer-tip {
        align-items: flex-start;
        font-size: 10.5px;
    }
}
