/* Keep the hotel pricing tables aligned after the option list was shortened. */
#home_price .ai-price-lower {
	align-items: stretch;
}

#home_price .ai-price-table {
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	width: 100%;
}

#home_price .ai-price-table th,
#home_price .ai-price-table td {
	border: 0 !important;
	border-bottom: 1px solid #d4e0f1 !important;
	border-right: 1px solid #d4e0f1 !important;
	box-sizing: border-box;
	display: table-cell !important;
}

#home_price .ai-price-table tr > :last-child {
	border-right: 0 !important;
}

#home_price .ai-price-table tbody tr:last-child > td {
	border-bottom: 0 !important;
}

#home_price .ai-price-usage {
	align-self: stretch;
	border: 0;
	border-radius: 0;
	display: flex;
	flex-direction: column;
	margin-top: 40px;
	padding: 0;
}

#home_price .ai-price-usage__grid {
	border: 1px solid #efc9c9;
	border-radius: 6px;
	display: grid;
	flex: 1 1 auto;
	gap: 0;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	overflow: hidden;
}

#home_price .ai-price-usage__grid div,
#home_price .ai-price-usage__grid div + div {
	border: 0 !important;
	border-radius: 0 !important;
	height: auto !important;
	min-height: 0;
}

#home_price .ai-price-usage__grid div + div {
	border-top: 1px solid #efc9c9 !important;
}

@media (min-width: 768px) {
	#home_price .ai-price-table td:first-child img {
		display: inline-block;
		margin-right: 12px;
		vertical-align: middle;
	}

	#home_price .ai-price-table td:first-child span {
		vertical-align: middle;
	}
}

@media (max-width: 1100px) {
	#home_price .ai-price-lower {
		grid-template-columns: 1fr;
	}

	#home_price .ai-price-usage {
		margin-top: 0;
	}

	#home_price .ai-price-usage__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: none;
	}
}

@media (max-width: 767px) {
	#home_price .ai-price-usage__grid {
		grid-template-columns: 1fr;
	}
}
