/* Champion Power Nova Poshta Branch Map 1.0.0 */
.npbm-address-row,
.npbm-modal {
	--npbm-accent: #ffe001;
	--npbm-accent-hover: #efd200;
	--npbm-danger: #d9232e;
	--npbm-line: #e1e4e8;
	--npbm-muted: #60656d;
	--npbm-soft: #f5f6f8;
	--npbm-text: #1a1918;
}

.npbm-address-row {
	align-items: center;
	display: grid !important;
	grid-template-columns: minmax(118px, 145px) minmax(0, 1fr) auto;
	column-gap: 10px;
	row-gap: 6px;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
}

.npbm-address-row > label {
	float: none !important;
	grid-column: 1;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	text-align: right !important;
	width: auto !important;
}

.npbm-city-row > .npbm-city-input-holder {
	float: none !important;
	grid-column: 2 / 4;
	max-width: none !important;
	min-width: 0;
	padding: 0 !important;
	width: auto !important;
}

.npbm-branch-row > .npbm-input-holder {
	float: none !important;
	grid-column: 2;
	max-width: none !important;
	min-width: 0;
	padding: 0 !important;
	width: auto !important;
}

.npbm-city-row > .npbm-city-input-holder .form-control,
.npbm-branch-row > .npbm-input-holder .form-control {
	width: 100% !important;
}

.npbm-branch-row > .npbm-actions {
	grid-column: 3;
}

.npbm-actions {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin: 0;
	min-width: 0;
}

.npbm-open {
	align-items: center;
	background: var(--npbm-accent);
	border: 1px solid var(--npbm-accent);
	border-radius: 8px;
	box-shadow: 0 2px 7px rgba(26, 25, 24, .08);
	color: var(--npbm-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 750;
	gap: 7px;
	line-height: 1;
	min-height: 44px;
	white-space: nowrap;
	padding: 8px 13px;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.npbm-open:hover,
.npbm-open:focus {
	background: var(--npbm-accent-hover);
	border-color: var(--npbm-accent-hover);
	color: var(--npbm-text);
	outline: 0;
}

.npbm-open:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 224, 1, .3);
}

.npbm-open:disabled {
	background: #f5f6f8;
	border-color: #d9dce1;
	color: #90959c;
	cursor: not-allowed;
}

.npbm-pin {
	border: 2px solid currentColor;
	border-radius: 50% 50% 50% 0;
	display: inline-block;
	height: 13px;
	position: relative;
	transform: rotate(-45deg);
	width: 13px;
}

.npbm-pin:after {
	background: currentColor;
	border-radius: 50%;
	content: '';
	height: 3px;
	left: 3px;
	position: absolute;
	top: 3px;
	width: 3px;
}

.npbm-result {
	color: #287a43;
	font-size: 12px;
	font-weight: 600;
}

body.npbm-lock {
	overflow: hidden !important;
}

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

.npbm-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 2147483000;
}

.npbm-backdrop {
	background: rgba(20, 23, 28, .68);
	inset: 0;
	position: absolute;
}

.npbm-dialog {
	background: #fff;
	border: 1px solid var(--npbm-line);
	border-top: 4px solid var(--npbm-accent);
	border-radius: 14px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
	display: flex;
	flex-direction: column;
	height: min(820px, calc(100vh - 48px));
	max-width: 1180px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.npbm-header {
	align-items: center;
	border-bottom: 1px solid var(--npbm-line);
	display: flex;
	flex: 0 0 auto;
	justify-content: space-between;
	min-height: 68px;
	padding: 12px 18px 12px 22px;
}

.npbm-title-row {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.npbm-logo {
	flex: 0 0 34px;
	height: 34px;
	object-fit: contain;
	width: 34px;
}

.npbm-header h2 {
	color: var(--npbm-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.npbm-header p {
	color: var(--npbm-muted);
	font-size: 13px;
	margin: 4px 0 0;
}

.npbm-close {
	align-items: center;
	background: var(--npbm-soft);
	border: 0;
	border-radius: 50%;
	color: var(--npbm-text);
	cursor: pointer;
	display: flex;
	font-size: 27px;
	height: 40px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	width: 40px;
}

.npbm-close:hover,
.npbm-close:focus {
	background: var(--npbm-accent);
	color: var(--npbm-text);
	outline: 0;
}

.npbm-map-wrap {
	background: var(--npbm-soft);
	flex: 1 1 auto;
	min-height: 0;
	position: relative;
}

.npbm-map {
	background: #fff;
	display: block;
	height: 100%;
	width: 100%;
}

.npbm-marker-wrap {
	background: transparent;
	border: 0;
}

.npbm-marker {
	background: var(--npbm-danger);
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 0;
	box-shadow: 0 3px 9px rgba(0, 0, 0, .3);
	display: block;
	height: 25px;
	transform: rotate(-45deg);
	width: 25px;
}

.npbm-popup {
	color: var(--npbm-text);
	font-size: 13px;
	line-height: 1.35;
	min-width: 210px;
}

.npbm-popup strong {
	display: block;
	font-weight: 700;
	margin-bottom: 10px;
}

.npbm-select {
	background: var(--npbm-accent);
	border: 0;
	border-radius: 6px;
	color: var(--npbm-text);
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	min-height: 36px;
	padding: 8px 12px;
	width: 100%;
}

.npbm-select:hover,
.npbm-select:focus {
	background: var(--npbm-accent-hover);
	outline: 0;
}

.npbm-loading {
	align-items: center;
	background: #fff;
	color: var(--npbm-muted);
	display: flex;
	font-size: 14px;
	gap: 10px;
	inset: 0;
	justify-content: center;
	position: absolute;
	z-index: 3;
}

.npbm-loading[hidden] {
	display: none;
}

.npbm-loading span {
	animation: npbm-spin .8s linear infinite;
	border: 3px solid #e4e6e9;
	border-radius: 50%;
	border-top-color: var(--npbm-accent);
	height: 25px;
	width: 25px;
}

.npbm-notice {
	border-radius: 8px;
	display: none;
	font-size: 13px;
	font-weight: 600;
	left: 50%;
	max-width: calc(100% - 32px);
	padding: 10px 14px;
	position: absolute;
	top: 12px;
	transform: translateX(-50%);
	z-index: 4;
}

.npbm-notice.is-working,
.npbm-notice.is-error {
	display: block;
}

.npbm-notice.is-working {
	background: #eef6ff;
	border: 1px solid #c9e1fb;
	color: #245c8f;
}

.npbm-notice.is-error {
	background: #fff1f3;
	border: 1px solid #f4bdc6;
	color: #a50f27;
}

@keyframes npbm-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 680px) {
	body.scd-checkout-page .scd-form .npbm-address-row,
	.npbm-address-row,
	body.scd-checkout-page .scd-form .npbm-branch-row,
	.npbm-branch-row {
		align-items: center;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 44px;
		column-gap: 8px;
		row-gap: 6px;
	}

	body.scd-checkout-page .scd-form .npbm-address-row > label,
	.npbm-address-row > label,
	body.scd-checkout-page .scd-form .npbm-branch-row > label,
	.npbm-branch-row > label {
		grid-column: 1 / -1;
		text-align: left !important;
		width: 100% !important;
	}

	body.scd-checkout-page .scd-form .npbm-city-row > .npbm-city-input-holder,
	.npbm-city-row > .npbm-city-input-holder {
		grid-column: 1 / -1;
		max-width: none !important;
		min-width: 0;
		width: auto !important;
	}

	body.scd-checkout-page .scd-form .npbm-branch-row > .npbm-input-holder,
	.npbm-branch-row > .npbm-input-holder {
		grid-column: 1;
		max-width: none !important;
		min-width: 0;
		width: auto !important;
	}

	body.scd-checkout-page .scd-form .npbm-branch-row > .npbm-actions,
	.npbm-branch-row > .npbm-actions {
		grid-column: 2;
		width: 44px !important;
	}

	.npbm-actions {
		justify-content: flex-end;
	}

	.npbm-open {
		justify-content: center;
		min-width: 44px;
		padding: 8px;
		width: 44px !important;
	}

	.npbm-open-label {
		display: none;
	}

	.npbm-result:empty {
		display: none;
	}

	.npbm-modal {
		padding: 0;
	}

	.npbm-dialog {
		border-left: 0;
		border-radius: 0;
		border-right: 0;
		border-bottom: 0;
		height: 100%;
		max-width: none;
	}

	.npbm-header {
		min-height: 62px;
		padding: 10px 12px 10px 16px;
	}

	.npbm-header h2 {
		font-size: 18px;
	}

	.npbm-logo {
		flex-basis: 30px;
		height: 30px;
		width: 30px;
	}

	.npbm-close {
		height: 38px;
		width: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.npbm-open {
		transition: none;
	}
}
