/* Landkeuze in de webshop, zie classes/WooCommerce/CountrySelector.php */

.sn-country-button {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 44px;
	margin: 0 18px 0 0;
	padding: 0 4px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 15px;
	line-height: 1;
	letter-spacing: .02em;
	cursor: pointer;
	transition: opacity .2s;
}

.sn-country-button:hover {
	opacity: .6;
}

.sn-country-button__flag,
.sn-country__flag {
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #e9e6df;
	outline: 1px solid rgba(0, 0, 0, .1);
	outline-offset: -1px;
}

.sn-country-button__code {
	position: relative;
	top: .5px;
}

/* Productpagina */

.product-single__vat {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 18px;
	color: #6f6f6f;
}

.product-single__vat a {
	color: #000;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

/* Winkelmand en checkout: btw onder het totaal */

.sn-vat-note {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 18px;
	font-weight: 400;
	color: #6f6f6f;
	text-align: left;
}

/* Popup */

.sn-country {
	box-sizing: border-box;
	width: 520px;
	max-width: calc(100% - 40px);
	max-height: calc(100% - 40px);
	margin: auto;
	padding: 0;
	border: 0;
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 20px;
	overflow: visible;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .22s ease, transform .22s ease;
}

.sn-country.is-visible {
	opacity: 1;
	transform: none;
}

.sn-country::backdrop {
	background: rgba(14, 14, 14, 0);
	transition: background-color .3s ease;
}

.sn-country.is-visible::backdrop {
	background: rgba(14, 14, 14, .45);
}

.sn-country__panel {
	position: relative;
	padding: 44px 48px 40px;
}

.sn-country__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	cursor: pointer;
	transition: opacity .2s;
}

.sn-country__close:hover {
	opacity: .6;
}

.sn-country__close svg {
	display: block;
	margin: auto;
	stroke: currentColor;
	stroke-width: 1;
}

.sn-country__title {
	margin: 0;
	padding-right: 40px;
	font-weight: 400;
	font-size: 30px;
	line-height: 35px;
	text-transform: none;
	letter-spacing: 0;
}

.sn-country__intro {
	margin: 16px 0 0;
	text-wrap: pretty;
}

.sn-country__field-wrap {
	position: relative;
	margin-top: 28px;
}

.sn-country__label {
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 18px;
}

.sn-country__field {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	box-sizing: border-box;
	border: 1px solid rgba(0, 0, 0, .22);
	border-radius: 0;
	background: #fff;
	color: #000;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s;
}

.sn-country__field:hover,
.sn-country__field[aria-expanded="true"] {
	border-color: #000;
}

.sn-country__field .sn-country__flag,
.sn-country__option .sn-country__flag {
	width: 20px;
	height: 20px;
}

.sn-country__field-name,
.sn-country__option-name {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sn-country__chevron {
	display: block;
	flex: none;
	stroke: currentColor;
	stroke-width: 1;
	transition: transform .2s;
}

.sn-country__field[aria-expanded="true"] .sn-country__chevron {
	transform: rotate(180deg);
}

.sn-country__dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(26px + 52px - 1px);
	z-index: 5;
	background: #fff;
	border: 1px solid #000;
	box-shadow: 0 12px 32px rgba(14, 14, 14, .08);
}

.sn-country__dropdown[hidden] {
	display: none;
}

.sn-country__search {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 16px;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.sn-country__search svg {
	display: block;
	flex: none;
	stroke: #6f6f6f;
	stroke-width: 1;
}

.sn-country__search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: none;
	color: #000;
	font: inherit;
	font-size: 16px;
	box-shadow: none;
}

.sn-country__list {
	max-height: 264px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sn-country__option {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	box-sizing: border-box;
	cursor: pointer;
}

.sn-country__option[hidden],
.sn-country__empty[hidden] {
	display: none;
}

.sn-country__option::before {
	display: none;
}

.sn-country__option--pinned {
	border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.sn-country__option.is-active {
	background: #f3f0ea;
}

.sn-country__option[aria-selected="true"] .sn-country__option-name {
	font-weight: 500;
}

.sn-country__option-hint {
	flex: none;
	font-size: 13px;
	line-height: 16px;
	color: #6f6f6f;
}

.sn-country__check {
	display: block;
	flex: none;
	stroke: #000;
	stroke-width: 1;
	opacity: 0;
}

.sn-country__option[aria-selected="true"] .sn-country__check {
	opacity: 1;
}

.sn-country__empty {
	margin: 0;
	padding: 13px 16px;
	font-size: 14px;
	line-height: 18px;
	color: #6f6f6f;
}

.sn-country__info {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 18px;
	text-wrap: pretty;
}

.sn-country__footer {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, .12);
}

.sn-country__footer p {
	margin: 0;
	font-size: 14px;
	line-height: 18px;
	color: #6f6f6f;
}

.sn-country__save {
	display: block;
	width: 100%;
	height: 52px;
	margin-top: 20px;
	padding: 0;
	border: 0;
	background: #0e0e0e;
	color: #fff;
	font: inherit;
	font-size: 16px;
	cursor: pointer;
	transition: opacity .2s;
}

.sn-country__save:hover {
	opacity: .85;
}

/* Mobiel: schuift van onderen in */

@media (max-width: 899px) {
	.sn-country {
		width: 100%;
		max-width: 100%;
		max-height: 92%;
		margin: auto 0 0;
		overflow-y: auto;
		opacity: 1;
		transform: translateY(100%);
		transition: transform .38s cubic-bezier(.2, .7, .2, 1);
	}

	.sn-country__panel {
		padding: 26px 20px 24px;
	}

	.sn-country__close {
		top: 12px;
		right: 8px;
	}

	.sn-country__title {
		font-size: 24px;
		line-height: 28px;
	}

	/* Op mobiel schuift de lijst de popup open in plaats van eroverheen te zweven. */
	.sn-country__dropdown {
		position: relative;
		top: auto;
		margin-top: -1px;
		box-shadow: none;
	}

	.sn-country-button {
		margin-right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sn-country,
	.sn-country::backdrop {
		transition: none;
	}
}
