.wpcb-price-table {
	position: relative;
	max-width: 100%;
	font-size: 16px;

	.wpcb-price-table-head {
		margin-bottom: 20px;
	}

	.wpcb-price-table-row {
		display: flex;
	}

	p,
	strong {
		margin: 0;
	}
	
	dl {
		font-size: 15px;
		margin-bottom: 10px;
		padding-bottom: 10px;

		dt {
			display: flex;
			justify-content: space-between;
			font-weight: 700;
		}

		dd {
			margin: 0 12px;
		}

		&:not(:last-of-type) {
			border-bottom: 1px dashed $template_border;
		}
	}
	
	.wpcb-price-table-col:last-child {
		text-align: right;
	}

	.wpcb-price-table-col {
		padding: 8px;
	}

	.wpcb-price-table-col:first-child {
		flex: 1;
	}

	.wpcb-price-table-totals {
		background-color: $template_accent;
		padding: 6px;
		border-radius: 6px;
	}
}

.wpcb-tiered-price-table {
	position: relative;
	max-width: 100%;
	font-size: 15px;
	margin-top: 30px;

	.wpcb-tiered-price-table-row {
		display: flex;

		&:not(:last-of-type) {
			border-bottom: 1px dotted $template_border;
		}
	}

	.wpcb-tiered-price-table-col {
		flex: 0 0 50%;
		padding: 6px;
	}
}

.wpcb-border-square .wpcb-price-table-totals {
	border-radius: 0;
}
.wpcb-border-pill .wpcb-price-table-totals {
	border-radius: 20px;
}

.wpcb-wishlist-table {

	.wpcb-wishlist-table-row {
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid $template_border;
	}

	.wpcb-wishlist-table-item-heading {
		display: flex;
		align-items: flex-start;
		gap: 20px;
	}

	.wpcb-wishlist-table-item-details {
		display: flex;
		align-items: flex-start;
		gap: 20px;

		@media (max-width: 479px) {
			display: flex;
			flex-wrap: wrap;
		}

		p,
		dl {
			margin: 0;
		}
	}

	.wpcb-wishlist-table-item-heading {
		margin-bottom: 20px;
		
		p {
			margin: 0;
		}
	}

	.wpcb-wishlist-table-item-title {
		flex: 0 0 200px;

		@media (max-width: 479px) {
			flex: 1;
		}
	}

	.wpcb-wishlist-table-item-image {
		flex: 0 0 200px;

		@media (max-width: 479px) {
			flex: 0 0 100%;
		}

		img {
			max-width: 100%;
			height: auto;
		}
	}

	.wpcb-wishlist-table-item-options {
		flex: 1;

		dl {
			font-size: 15px;

			dt {
				display: flex;
				justify-content: space-between;
			}

			dd {
				margin-bottom: 0;
			}

			&:not(:last-of-type) {
				border-bottom: 1px dashed $template_border;
				margin-bottom: 10px;
				padding-bottom: 10px;
			}
		}
	}

	div.wpcb-wishlist-table-item-actions {
		display: flex;
		flex: 1;
		justify-content: flex-end;
		align-items: flex-start;
		gap: 12px;

		a.wpcb-wishlist-action {
			position: relative;
			display: block;
			border: 1px solid $template_border;
			background-color: $template_accent;
			border-radius: 8px;
			padding: 8px;
			cursor: pointer;
	
			img {
				display: block;
				margin: 0;
				padding: 0;
				width: 20px;
				height: 20px;
			}
		}
	}
}