/**
 * Custom Product Additional Information Table Styles
 * Diseño limpio y profesional que respeta el estilo de Ferreterías América
 */

/* Tabla de información adicional del producto */
.woocommerce table.shop_attributes {
    border: 2px solid #1e3a78;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    margin-bottom: 2em;
    margin-top: 1em;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(30, 58, 120, 0.1);
}

/* Filas de la tabla */
.woocommerce table.shop_attributes tr {
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce table.shop_attributes tr:last-child {
    border-bottom: none;
}

/* Celdas de encabezado (label) */
.woocommerce table.shop_attributes th {
    background-color: transparent;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    padding: 14px 18px;
    border-right: 1px solid #e0e0e0;
    width: 35%;
    font-size: 15px;
    vertical-align: top;
}

/* Celdas de valor */
.woocommerce table.shop_attributes td {
    padding: 14px 18px;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.7;
    vertical-align: top;
}

/* Responsive - pantallas pequeñas */
@media screen and (max-width: 768px) {
    /* Tabla responsive */
    .woocommerce table.shop_attributes {
        border-width: 1px;
    }

    .woocommerce table.shop_attributes th,
    .woocommerce table.shop_attributes td {
        padding: 12px 14px;
        font-size: 14px;
        display: block;
        width: 100%;
        border: none;
    }

    .woocommerce table.shop_attributes th {
        font-weight: 700;
        padding-bottom: 6px;
        border-bottom: none;
    }

    .woocommerce table.shop_attributes td {
        padding-top: 0;
        padding-bottom: 12px;
    }

    .woocommerce table.shop_attributes tr {
        border-bottom: 1px solid #e0e0e0;
        padding: 8px 0;
    }
}

/* Mejora de accesibilidad y legibilidad */
.woocommerce table.shop_attributes p {
    margin: 0;
    line-height: 1.7;
}
