/* Quantity / price table, sitting under the price on the single product page */

.jds-qty-price {
	width: 100%;
	border-collapse: collapse;
	margin: 1.25em 0 1.75em;
	font-size: 1rem;
}

.jds-qty-price thead th {
	text-align: left;
	font-weight: 700;
	font-size: 1.05em;
	padding: 0 1em .65em 1em;
	border: none;
	background: none;
}

.jds-qty-price tbody td {
	padding: .85em 1em;
	border: none;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.jds-qty-price tbody tr:last-child td {
	border-bottom: none;
}

.jds-qty-price tbody tr.jds-active td {
	background: #2c3fd6;
	color: #fff;
	font-weight: 600;
}

.jds-qty-price tbody tr.jds-active td .amount,
.jds-qty-price tbody tr.jds-active td .woocommerce-Price-amount {
	color: #fff;
}

.jds-qty-price tbody tr:hover:not(.jds-active) td {
	background: rgba(0, 0, 0, .03);
}

.jds-qty-price td:last-child,
.jds-qty-price th:last-child {
	text-align: left;
}

/* Gallery images streamed from Cloudinary */

.woocommerce-product-gallery__image.jds-cloud-image img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 600px) {
	.jds-qty-price {
		font-size: .95rem;
	}

	.jds-qty-price tbody td,
	.jds-qty-price thead th {
		padding-left: .6em;
		padding-right: .6em;
	}
}

/* Running line total under the table */

.jds-line-total {
	margin: -.5em 0 1.25em;
	font-weight: 600;
	font-size: 1.05em;
}

/* Volume hint on catalogue listings */

.jds-from {
	display: block;
	font-size: .8em;
	opacity: .75;
	font-weight: 400;
}

.jds-qty-price tbody tr {
	transition: background-color .12s ease;
}
