/**
 * Pharma product attributes table - single product summary
 */
.pharma-attributes {
    margin: 20px 0;
    clear: both;
}

.pharma-attributes-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #F4f4f4;
    font-size: 14px;
    line-height: 1.5;
}

.pharma-attributes-table .pharma-attribute-row {
    border-bottom: 1px solid #F4f4f4;
}

.pharma-attributes-table .pharma-attribute-row:last-child {
    border-bottom: none;
}

.pharma-attributes-table .pharma-attribute-row:nth-child(even) {
    background-color: #f9f9f9;
}

.pharma-attributes-table .pharma-attribute-label,
.pharma-attributes-table .pharma-attribute-value {
    padding: 10px 15px;
    text-align: left;
    vertical-align: top;
}

.pharma-attributes-table .pharma-attribute-label {
    width: 35%;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.pharma-attributes-table .pharma-attribute-value {
    color: #555;
}

/* RTL support */
.rtl .pharma-attributes-table .pharma-attribute-label,
.rtl .pharma-attributes-table .pharma-attribute-value {
    text-align: right;
}

/* Mobile - keep label/value side by side in a row */
@media (max-width: 768px) {
    .pharma-attributes-table,
    .pharma-attributes-table tbody {
        display: block;
        width: 100%;
    }

    .pharma-attributes-table .pharma-attribute-row {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 8px 0;
    }

    .pharma-attributes-table .pharma-attribute-label,
    .pharma-attributes-table .pharma-attribute-value {
        display: block;
        width: 50%;
        white-space: normal;
        border: none;
        padding: 4px 10px;
    }
}
