.pigment-table-wrapper {
    width: 100%;
    max-width: 900px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pigment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    font-family: inherit;
    min-width: 700px;
}

.pigment-table thead tr {
    border-bottom: 3px solid #d43317;
}

.pigment-table thead th {
    padding: 8px 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pigment-table thead th.col-color {
    text-align: left;
    width: 130px;
}
.pigment-table thead th.col-center {
    text-align: center;
}

.pigment-table thead th .unit {
    display: block;
    font-weight: 400;
    font-size: 0.7rem;
    color: #777;
}

.pigment-table tbody tr {
    border-bottom: 1.5px solid #d43317;
}


.pigment-table td,
.pigment-table th {
    vertical-align: middle;
}

.pigment-table td {
    padding: 6px 12px;
}

.pigment-table td.col-center {
    text-align: center;
}

.pigment-table td.col-grey {
    background-color: #c3c3c3;
    text-align: center;
}

.pigment-swatch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pigment-swatch span.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.pigment-table th {
    vertical-align: top;
    text-align: center;
}

.th-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.th-title {
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
}

.unit {
    font-size: 0.8rem;
    line-height: 1;
    color: #666;
}

.unit.invisible {
    visibility: hidden;
}

/* LISTA */
.itaca-list li::marker {
    color: var(--principal);
}


@media (max-width: 640px) {
    .pigment-table {
        min-width: unset;
    }

    .pigment-table thead {
        display: none;
    }

    .pigment-table tbody,
    .pigment-table tr,
    .pigment-table td {
        display: block;
        width: 100%;
    }

    .pigment-table tbody tr {
        margin-bottom: 12px;
        border: 1.5px solid #d43317;
        border-radius: 4px;
        overflow: hidden;
    }

    .pigment-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 12px;
        text-align: right;
        background: transparent !important;
        border-bottom: 1px solid #e8e8e8;
    }

    .pigment-table td:last-child {
        border-bottom: none;
    }


    .pigment-table td.td-color {
        justify-content: flex-start;
        font-weight: 600;
        border-bottom: 2px solid #d43317;
        padding: 8px 12px;
    }

    .pigment-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        text-align: left;
        flex: 1;
        padding-right: 8px;
    }

    .pigment-table td.td-color::before {
        display: none;
    }


    .pigment-table td:nth-child(even) {
        background-color: #f5f5f5 !important;
    }
}
