.npwc-checkout {
	margin: 0 0 20px;
	width: 100%;
	max-width: 100%;
	clear: both;
}

.npwc-checkout[style*="display: none"] {
	margin: 0;
}

.npwc-results {
	position: relative;
	z-index: 30;
	display: block;
}

.npwc-result {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-top: 0;
	background: #fff;
	color: #1f2937;
	text-align: left;
	cursor: pointer;
}

.npwc-result:hover,
.npwc-result:focus {
	background: #f3f4f6;
}

.npwc-result.is-empty {
	cursor: default;
	color: #6b7280;
}

.npwc-card {
	clear: both;
	box-sizing: border-box;
	width: 100%;
	padding: 28px;
	border: 1px solid #dce3ed;
	border-radius: 8px;
	background: #fff;
}

.npwc-city-row {
	position: relative;
}

.npwc-brand {
	margin-bottom: 18px;
	color: #e1261c;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
}

.npwc-subtitle {
	margin-bottom: 24px;
	color: #334155;
	font-size: 18px;
	line-height: 1.35;
}

.npwc-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 22px;
	border-radius: 8px;
	background: #f0f0f2;
}

.npwc-tab {
	min-height: 52px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #334155;
	font-size: 18px;
	cursor: pointer;
}

.npwc-tab.is-active {
	background: #fff;
	box-shadow: 0 0 0 2px #eceff3 inset;
	color: #e1261c;
}

.npwc-search-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 88px;
	gap: 14px;
	margin: 0 0 20px;
	align-items: start;
	width: 100%;
}

.npwc-search-field {
	position: relative;
	min-width: 0;
	width: 100%;
	float: none;
	clear: none;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

.npwc-search-field .npwc-results,
.npwc-city-row .npwc-results {
	position: absolute;
	right: 0;
	left: 0;
}

.npwc-search-field input.input-text {
	box-sizing: border-box;
	width: 100%;
	min-height: 58px;
	padding: 0 28px;
	border-color: #e5e7eb;
	background: #f8f9fb;
	font-size: 18px;
}

.npwc-map-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	width: 88px;
	border: 0;
	border-radius: 8px;
	background: #35bd78;
	color: #fff;
	cursor: pointer;
}

.npwc-map-button svg {
	display: block;
	width: 38px;
	height: 38px;
	color: #fff;
}

.npwc-map {
	overflow: hidden;
	height: 540px;
	border: 1px solid #dce3ed;
	border-radius: 8px;
	background: #f7f9fb;
}

.npwc-map[hidden] {
	display: none;
}

.npwc-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.npwc-map-sdk {
	width: 100%;
	height: 100%;
}

.npwc-debug {
	margin-top: 16px;
	border: 1px solid #d7dde7;
	border-radius: 8px;
	background: #101828;
	color: #e6edf7;
	overflow: hidden;
}

.npwc-debug__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.npwc-debug__head span {
	color: #98a2b3;
	font-size: 13px;
}

.npwc-debug pre {
	box-sizing: border-box;
	max-height: 360px;
	margin: 0;
	padding: 14px;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-word;
	color: #d1fadf;
	background: transparent;
	font-size: 12px;
	line-height: 1.45;
}

.custom-shipping-option[data-rate-id^="nova_poshta"] {
	visibility: hidden;
}

@media (max-width: 640px) {
	.npwc-card {
		padding: 18px;
	}

	.npwc-brand {
		font-size: 24px;
	}

	.npwc-subtitle,
	.npwc-tab {
		font-size: 16px;
	}

	.npwc-search-row {
		grid-template-columns: 1fr 64px;
		gap: 10px;
	}

	.npwc-search-field input.input-text {
		min-height: 52px;
		padding: 0 16px;
		font-size: 16px;
	}

	.npwc-map-button {
		width: 64px;
		min-height: 52px;
	}

	.npwc-map {
		height: 360px;
	}
}
