.woocommerce,
.shop_table,
.product {
	table {

		th,
		td {
			border: 1px solid $color_32;
			color: blacck;
		}

		&.woocommerce-checkout-review-order-table {

			tr,
			th:not(.product-total) {
				text-align: left;
			}
		}

		&.woocommerce-table--order-details {
			tbody {
				text-align: center;
			}
		}

		td.product-name {
			color: black;

			a {
				color: inherit;
			}
		}
	}
}

.variations_form.cart {
	.form-select:focus {
		box-shadow: none;
	}
}

table.shop_table_responsive {

	thead {
		display: none;
	}

	tbody {

		th {
			display: none;
		}
	}

	tr {
		vertical-align: middle;

		td {
			display: block;
			text-align: right;
			clear: both;

			&::before {
				content: attr(data-title) ": ";
				float: left;
			}

			&.product-remove {

				a {
					text-align: left;
				}

				&::before {
					display: none;
				}
			}

			&.actions,
			&.download-actions {

				&::before {
					display: none;
				}
			}

			&.download-actions {

				.button {
					display: block;
					text-align: center;
				}
			}
		}
	}
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive {

		thead {
			display: table-header-group;
		}

		tbody {

			th {
				display: table-cell;
			}
		}

		tr {

			th,
			td {
				text-align: left;
			}

			td {
				display: table-cell;

				&::before {
					display: none;
				}
			}
		}
	}
}