
.savings-table--header {
	margin: 0 auto 60px auto;
	max-width: 794px;
	text-align: center;
}

.savings-table--heading {
	color: #080709;
	font-size: 40px !important;
	line-height: 1.3 !important;
	margin: 0 0 24px 0;
}

.savings-table--content {
	color: #4b5260;
	font-weight: var(--wp--custom--body--typography--font-weight);
	font-size: 20px;
	line-height: 1.6;
}

.savings-table--edit-procedures {
	margin-top: 30px;
}

.savings-table--table {
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 auto 60px;
	max-width: 1000px;
	width: 100%;
}

.savings-table--table th,
td {
	text-align: left;
}

.savings-table--table thead th {
	color: #080709;
	font-size: 14px;
	font-weight: var(--wp--custom--heading--typography--font-weight);
	padding: 24px 0px;
}

.savings-table--table thead {
	vertical-align: bottom;
}

.savings-table--table thead th:first-child {
	font-size: 16px;
}

.savings-table--table thead th:last-child span {
	display: block;
	max-width: 120px;
	margin: 0 auto 16px auto;
}

.savings-table--table tbody tr[qty="0"] {
	display: none;
}

.savings-table--table tbody td {
	background: #f9f9f9;
	border-top: 2px solid var(--wp--preset--color--secondary-pearl);
	color: #4b5260;
	font-size: 14px;
	font-weight: var(--wp--custom--body--typography--font-weight);
	padding: 24px 0px;
}

.savings-table--table tbody td:first-child {
	color: #080709;
}

.savings-table--table tbody td:last-child {
	color: #080709;
	font-weight: var(--wp--custom--heading--typography--font-weight);
}

.savings-table--table thead th:nth-child(1),
.savings-table--table tbody td:nth-child(1) {
	padding-left: 30px;
	width: 290px;
}

.savings-table--table thead th:nth-child(2),
.savings-table--table tbody td:nth-child(2) {
	width: 60px;
	text-align: center;
}

.savings-table--table thead th:nth-child(3),
.savings-table--table tbody td:nth-child(3) {
	width: 100px;
	text-align: center;
}

.savings-table--table thead th:nth-child(4),
.savings-table--table tbody td:nth-child(4),
.savings-table--table tfoot td:nth-child(4) {
	padding-inline: 25px;
	text-align: center;
	width: 150px;
}

.savings-table--table thead th:nth-child(5),
.savings-table--table tbody td:nth-child(5),
.savings-table--table tfoot td:nth-child(5) {
	padding-inline: 15px;
	text-align: center;
	width: 150px;
}

.savings-table--table tfoot td {
	padding-top: 8px;
}

.savings-table--table thead th:last-child {
	border-top: 2px solid var( --wp--preset--color--primary, #2445EA );
	border-right: 2px solid var( --wp--preset--color--primary, #2445EA );
	border-left: 2px solid var( --wp--preset--color--primary, #2445EA );
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
}

.savings-table--table tbody td:last-child {
	border-right: 2px solid var( --wp--preset--color--primary, #2445EA );
	border-left: 2px solid var( --wp--preset--color--primary, #2445EA );
}

.savings-table--table tfoot td:last-child {
	border-bottom: 2px solid var( --wp--preset--color--primary, #2445EA );
	border-right: 2px solid var( --wp--preset--color--primary, #2445EA );
	border-left: 2px solid var( --wp--preset--color--primary, #2445EA );
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

.savings-table--footer {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: flex-start;
}

.savings-calculator--subheading {
	font-size: 20px !important;
	line-height: 1.6 !important;
	margin: 0;
}

.savings-table-procedures {
	display: none;
}

.»show-procedures .savings-table-procedures {
	display: block;
}

/* Also found in ../savings-calculator/savings-calculator.css */
.savings-calculator--list {
	background: var(--wp--preset--color--secondary-pearl);
	border-radius: 16px;
	display: grid;
	gap: 16px;
	padding: 24px 32px;
}

.savings-calculator--actions {
	display: flex;
	gap: 16px;
}

.savings-calculator-items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-bottom: 24px;
}

.savings-calculator-item {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.savings-calculator-item--label {
	color: #4b5260;
	flex: 1;
	font-size: 16px;
	font-weight: var(--wp--custom--body--typography--font-weight);
}

.savings-calculator-item--input {
	appearance: none;
	background: none;
	color: #080709;
	border: none;
	font-family: var(--wp--custom--body--typography--font-family);
	font-size: 20px;
	font-weight: var(--wp--custom--heading--typography--font-weight);
	line-height: inherit;
	padding: 0;
	position: relative;
	top: 3px;
	text-align: center;
	width: 32px;
}

.savings-calculator-item:nth-child(odd) {
	padding-right: 16px;
	border-right: 1px solid #4b526015;
}

.savings-calculator-item:nth-child(even) {
	padding-left: 16px;
	border-left: 1px solid #4b526015;
}

.savings-calculator-item--minus,
.savings-calculator-item--plus {
	appearance: none;
	background: none;
	border: none;
	line-height: 0;
	padding: 0;
}

.savings-calculator-item--minus svg,
.savings-calculator-item--plus svg {
	fill: var( --wp--preset--color--primary, #2445EA );
	height: 25px;
	width: 25px;
}

.savings-calculator--inputs {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr 1fr;
}

.savings-calculator--action {
	display: flex;
	justify-content: center;
}

@media screen and (max-width: 640px) {
	.savings-table {
		padding-inline: 20px;
	}

	.savings-table thead,
	.savings-table tfoot {
		display: none;
	}

	.savings-table tbody {
		display: grid;
		gap: 24px;
	}

	.savings-table tbody tr {
		display: grid;
		grid-template-columns: 1fr;
	}

	.savings-table tbody tr td {
		align-items: center;
		display: grid;
		grid-template-columns: 1fr auto;
		border: none;
		font-size: 14px !important;
		text-align: right;
		position: relative;
		padding: 20px 20px !important;
		width: 100% !important;
	}

	.savings-table tbody tr td:before {
		color: #080709;
		content: attr(data-col-title);
		font-weight: var(--wp--custom--heading--typography--font-weight);
		text-align: left;
		max-width: 130px;
	}

	.savings-table tbody tr td:not(:first-child):not(:last-child):after {
		background-color: #08070926;
		content: " ";
		height: 2px;
		left: 20px;
		position: absolute;
		right: 20px;
		top: -1px;
	}

	.savings-table tbody tr td:last-child {
		background-color: transparent !important;
		border: 2px solid var( --wp--preset--color--primary, #2445EA );
		border-radius: 8px;
	}

	.savings-table tbody tr td:last-child:after {
		background: linear-gradient(180deg, #b44684 0%, #2445ea 100%);
		bottom: 15px;
		content: " ";
		left: 160px;
		position: absolute;
		top: 15px;
		width: 10px;
	}

	.savings-calculator-items {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.savings-calculator-item:nth-child(odd) {
		padding-right: 0;
		border: none;
	}

	.savings-calculator-item:nth-child(even) {
		padding-left: 0;
		border: none;
	}
}
