/*
 * Region choice modal (template-parts/region-modal.php).
 * Header and colours come from the theme's modal style (style.css), as in the store list modal.
 */

.region-modal .modal-title {
	text-transform: uppercase;
}

.region-modal .close {
	color: #fff;
	font-size: 24px;
	line-height: 1;
}

/* The theme limits .modal-body to 450px for the long store list; this one is short. */
.region-modal .modal-body {
	max-height: none;
	overflow: visible;
	padding: 20px 24px 24px;
	color: #fff;
}

.region-modal__text {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.4;
}

.region-modal__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.region-modal__region {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, .15);
}

.region-modal__name {
	font-family: "BlenderPro-Bold", sans-serif;
	font-size: 18px;
	text-transform: uppercase;
}

.region-modal__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.region-modal .region-modal__link {
	display: inline-block;
	padding: 10px 20px;
	min-width: 120px;
	text-align: center;
}

.region-modal .region-modal__link:hover,
.region-modal .region-modal__link:focus {
	background-color: #d4b26e;
	border-color: #d4b26e;
}

@media (max-width: 480px) {
	.region-modal .modal-body {
		padding: 16px;
	}

	.region-modal__region {
		flex-direction: column;
		align-items: stretch;
	}

	.region-modal .region-modal__link {
		flex: 1;
		min-width: 0;
	}
}
