.adp {
	--adp-red: #bf1c1f;
	--adp-red-dark: #9f171a;
	--adp-black: #111111;
	--adp-gray-50: #f6f6f6;
	--adp-gray-100: #eeeeee;
	--adp-gray-300: #c9c9c9;
	--adp-gray-500: #777777;
	--adp-white: #ffffff;
	position: relative;
	font-family: var(--font-family, "Onest", sans-serif);
	color: var(--adp-black);
}

.adp *,
.adp *::before,
.adp *::after {
	box-sizing: border-box;
}

.adp button,
.adp input {
	font: inherit;
	letter-spacing: 0;
}

.home-delivery-points {
	margin-top: 5rem;
	margin-bottom: 5rem;
}

.adp-page-title--hidden {
	display: none !important;
}

.adp__topbar {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 0 1.5rem;
	text-align: center;
}

.adp__primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 3.5625rem;
	border: 1px solid var(--adp-red);
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.adp__primary-button {
	width: min(100%, 24rem);
	padding: 0 1.5rem;
	background: var(--adp-red);
	color: var(--adp-white);
}

.adp__primary-button:hover,
.adp__primary-button:focus-visible {
	background: var(--adp-white);
	color: var(--adp-red);
}

.adp__primary-button:disabled {
	cursor: wait;
	opacity: 0.55;
}

.adp__primary-button svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.text .adp__loading,
.adp__loading {
	margin: 0.875rem 0 0;
	font-size: 0.9375rem;
	color: var(--adp-gray-500);
	text-align: center;
}

.adp__error {
	padding: 1.25rem;
	margin: 0 0 2rem;
	border-left: 4px solid var(--adp-red);
	background: #fff1f1;
}

.adp__error strong,
.adp__error span {
	display: block;
}

.adp__error span {
	margin-top: 0.25rem;
}

.adp__error button {
	padding: 0;
	margin-top: 0.75rem;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: transparent;
	color: var(--adp-red);
	cursor: pointer;
}

.adp__workspace {
	padding-bottom: 0;
	scroll-margin-top: 1.5rem;
}

.alterpost-delivery-points-page .text.container {
	padding-bottom: 0;
}

.alterpost-delivery-points-page .footer {
	margin-top: 6.25rem;
}

.adp__eyebrow {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	line-height: 1.3;
	color: var(--adp-gray-500);
}

.adp-modal__search {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	height: 3.125rem;
	border: 1px solid var(--adp-gray-300);
	border-radius: 5px;
	background: var(--adp-white);
}

.adp-modal__search:focus-within {
	border-color: var(--adp-red);
	box-shadow: 0 0 0 3px rgba(191, 28, 31, 0.12);
}

.adp-modal__search svg {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: var(--adp-gray-500);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.adp-modal__search input {
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 1rem;
	color: var(--adp-black);
}

.adp-modal__search input::placeholder {
	color: #8a8a8a;
	opacity: 1;
}

.adp__map-shell {
	position: relative;
	width: 100%;
	height: clamp(45rem, 86vh, 60rem);
	overflow: hidden;
	border: 1px solid var(--adp-gray-300);
	border-radius: 5px;
	background: var(--adp-gray-100);
}

.adp__map {
	width: 100%;
	height: 100%;
}

.adp-map-balloon p {
	margin: 0 0 0.375rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

.adp-map-balloon p:last-child {
	margin-bottom: 0;
}

.adp__map-message {
	position: absolute;
	top: 1rem;
	left: 1rem;
	right: 1rem;
	z-index: 2;
	padding: 0.75rem 1rem;
	border: 1px solid #dfb5b6;
	background: var(--adp-white);
	font-size: 0.875rem;
	line-height: 1.4;
}

.adp__map-shell--error .adp__map {
	display: none;
}

.adp__map-shell--error .adp__map-message {
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	border: 0;
	background: transparent;
	font-size: 1rem;
	text-align: center;
}

@media (min-width: 62rem) {
	.alterpost-delivery-points-page .text.container {
		padding-top: 0;
		margin-top: -0.5rem;
	}

	.adp__primary-button {
		width: auto;
		height: 3.125rem;
		min-height: 3.125rem;
		padding-inline: 2rem;
	}
}

.adp-modal[hidden],
.adp [hidden] {
	display: none !important;
}

body.adp-modal-open {
	overflow: hidden;
}

.adp-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.adp-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: rgba(0, 0, 0, 0.58);
	cursor: default;
}

.adp-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(100%, 58rem);
	max-height: min(48rem, calc(100vh - 3rem));
	padding: 2rem;
	border-radius: 6px;
	background: var(--adp-white);
	box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.22);
}

.adp-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.adp-modal__header h2 {
	margin: 0;
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
}

.adp-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--adp-gray-300);
	border-radius: 50%;
	background: var(--adp-white);
	color: var(--adp-black);
	cursor: pointer;
}

.adp-modal__close:hover,
.adp-modal__close:focus-visible {
	border-color: var(--adp-red);
	background: var(--adp-red);
	color: var(--adp-white);
}

.adp-modal__close svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.adp-modal__search {
	flex: none;
	padding: 0 1rem;
}

.text .adp-modal__summary,
.adp-modal__summary {
	margin: 0.875rem 0 0.5rem;
	font-size: 0.875rem;
	line-height: 1.3;
	color: var(--adp-gray-500);
	text-align: left;
}

.adp-modal__list {
	overflow-y: auto;
	margin-right: -0.5rem;
	padding-right: 0.5rem;
	overscroll-behavior: contain;
}

.adp-modal__city {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.75rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--adp-gray-100);
	background: var(--adp-white);
	color: var(--adp-black);
	text-align: left;
	cursor: pointer;
}

.adp-modal__city:hover,
.adp-modal__city:focus-visible {
	background: var(--adp-gray-50);
	color: var(--adp-red);
	outline: none;
}

.adp-modal__city-name {
	font-weight: 500;
}

.adp-modal__city-count {
	flex: none;
	font-size: 0.875rem;
	color: var(--adp-gray-500);
}

.text .adp-modal__empty,
.adp-modal__empty {
	margin: 2rem 0;
	font-size: 1rem;
	color: var(--adp-gray-500);
	text-align: center;
}

.adp__visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 61.99875rem) {
	.adp__map-shell {
		height: clamp(32rem, 68vh, 42rem);
	}
}

@media (max-width: 47.99875rem) {
	.home-delivery-points {
		margin-top: 3.75rem;
		margin-bottom: 3.75rem;
	}

	.alterpost-delivery-points-page .footer {
		margin-top: 5rem;
	}

	.adp-modal__header h2 {
		font-size: 1.5rem;
	}

	.adp__map-shell {
		height: 70vh;
		min-height: 28rem;
		max-height: 38rem;
	}

	.adp-modal {
		align-items: flex-end;
		padding: 0;
	}

	.adp-modal__dialog {
		width: 100%;
		max-height: 92vh;
		padding: 1.25rem;
		border-radius: 6px 6px 0 0;
	}

	.adp-modal__city {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.25rem;
		padding-inline: 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.adp *,
	.adp *::before,
	.adp *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
