.product-replacement {
    background-color: var(--optris-blue);
    padding-block: 1.556rem;
    overflow-x: auto;
    margin-bottom: 2.22rem;
}

.product-replacement table {
    max-width: 1440px;
    margin: 0 auto;
    border-collapse: separate;
    min-width: 1080px;
}

.product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) {
    border-spacing: 1em 0;
}

.product-replacement thead {
    background-color: black;
    color: white;
    position: relative;
    /* top: 164px; */
}

.product-replacement thead:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: black;
    border-radius: 0.556rem;
}

.product-replacement thead th:first-child {
    border-top-left-radius: 0.556rem;
    border-bottom-left-radius: 0.556rem;
}

.product-replacement thead th:last-child {
    border-top-right-radius: 0.556rem;
    border-bottom-right-radius: 0.556rem;
}

.product-replacement th {
    padding: 1em;
    text-align: inherit;
    font-weight: 700;
    position: relative;
}

.product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) .table-spacer td {
    padding: 1em 0 0;
}

.product-replacement :not(.shop_table.cart#yith-ywrq-table-list) tbody tr:first-child td,table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:not(:first-child) td:first-child {
    font-weight: inherit;
}

.product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) .table-spacer,.product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:first-child, .product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:nth-child(even):not(:first-child) {
    background-color: transparent;
}

.product-replacement tbody {
    color: white;
}

.product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:not(:first-child) td {
    font-family: inherit;
}

.product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:not(:first-child) td:not(:first-child, :last-child),table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:nth-child(odd):not(:first-child) td:first-child,table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:nth-child(odd):not(:first-child) td:last-child {
    border: none;
}

.product-replacement table tbody tr:not(.table-spacer):nth-child(odd) td,table:not(.shop_table.cart#yith-ywrq-table-list) tbody tr:nth-child(odd):not(:first-child) {
    background-color: rgba(0,0,0,0.2);
}

.product-replacement :not(.shop_table.cart#yith-ywrq-table-list) tbody tr:not(.table-spacer):nth-child(odd) td:first-child {
    border-top-left-radius: 0.2556rem;
    border-bottom-left-radius: 0.2556rem;
}

.product-replacement :not(.shop_table.cart#yith-ywrq-table-list) tbody tr:not(.table-spacer):nth-child(odd) td:last-child {
    border-top-right-radius: 0.2556rem;
    border-bottom-right-radius: 0.2556rem;
}

.product-replacement table:not(.shop_table.cart#yith-ywrq-table-list) tr:not(.table-spacer) td {
    padding: 1ex 1em;
}