.wc-ulp-google-attribution {
	color: #5e5e5e !important;
	font-family: Roboto, Arial, sans-serif !important;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.3;
	margin-top: 6px;
	text-align: right;
	text-transform: none !important;
	white-space: nowrap !important;
}

.wc-ulp-selected-attribution {
	color: #5e5e5e;
	font-family: Roboto, Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.3;
	margin: 0 0 10px;
	text-align: right;
	text-transform: none;
}

.wc-ulp-selected-attribution .wc-ulp-google-attribution {
	display: inline;
	margin: 0;
	text-align: inherit;
}

.wc-ulp-inline-error {
	background: #fff5f5;
	border: 1px solid #f3b7b7;
	border-radius: 8px;
	color: #8a1c1c;
	font-size: 14px;
	line-height: 1.4;
	margin: 4px 0 12px;
	padding: 10px 12px;
}

.wc-ulp-open-map {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: #2968c8;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	gap: 6px;
	margin: 4px 0 14px;
	min-height: 36px;
	padding: 6px 8px;
	text-decoration: none;
}

.wc-ulp-open-map::before {
	content: "";
	background: currentColor;
	clip-path: polygon(50% 100%, 15% 52%, 15% 31%, 25% 12%, 50% 3%, 75% 12%, 85% 31%, 85% 52%);
	display: block;
	height: 17px;
	width: 14px;
}

.wc-ulp-open-map:hover {
	background: #eef5ff;
	color: #1f56a6;
}

.wc-ulp-open-map:focus-visible,
.wc-ulp-dialog button:focus-visible {
	outline: 3px solid #111827;
	outline-offset: 2px;
}

body.wc-ulp-modal-open {
	overflow: hidden;
}

.wc-ulp-overlay[hidden] {
	display: none !important;
}

.wc-ulp-overlay {
	align-items: center;
	background: rgba(17, 24, 39, 0.62);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.wc-ulp-dialog {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
	color: #1f2937;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 24px;
	width: min(760px, 100%);
}

.wc-ulp-header {
	align-items: flex-start;
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

.wc-ulp-header h2 {
	color: #111827;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 6px;
}

.wc-ulp-header p {
	color: #5b6472;
	font-size: 15px;
	line-height: 1.45;
	margin: 0;
}

.wc-ulp-icon-button {
	align-items: center;
	appearance: none;
	background: #f3f4f6;
	border: 0;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font-family: Arial, sans-serif;
	font-size: 26px;
	font-weight: 300;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	width: 44px;
}

.wc-ulp-selected-address {
	background: #f5f8fc;
	border: 1px solid #dce6f4;
	border-radius: 10px;
	color: #25334a;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 18px 0 14px;
	padding: 12px 14px;
}

.wc-ulp-third-party-attribution {
	color: #5e5e5e;
	font-family: Roboto, Arial, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.3;
	margin: -8px 2px 10px;
	text-transform: none;
}

.wc-ulp-third-party-attribution[hidden] {
	display: none !important;
}

.wc-ulp-map-shell {
	background: #e5e7eb;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	height: clamp(300px, 46vh, 430px);
	overflow: hidden;
	position: relative;
}

.wc-ulp-map {
	height: 100%;
	width: 100%;
}

.wc-ulp-loading {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	color: #374151;
	display: flex;
	font-size: 15px;
	font-weight: 600;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: absolute;
	text-align: center;
	z-index: 5;
}

.wc-ulp-loading[hidden] {
	display: none !important;
}

.wc-ulp-nudges {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	display: grid;
	grid-template-columns: repeat(4, 42px);
	left: 12px;
	overflow: hidden;
	position: absolute;
	top: 12px;
	z-index: 4;
}

.wc-ulp-nudge {
	appearance: none;
	background: #fff;
	border: 0;
	border-right: 1px solid #e5e7eb;
	color: #1f2937;
	cursor: pointer;
	font-size: 20px;
	height: 42px;
	line-height: 1;
	padding: 0;
	width: 42px;
}

.wc-ulp-nudge:last-child {
	border-right: 0;
}

.wc-ulp-nudge:hover {
	background: #eef5ff;
}

.wc-ulp-status {
	color: #526071;
	font-size: 13px;
	line-height: 1.4;
	margin: 8px 2px 0;
	min-height: 19px;
}

.wc-ulp-footer {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 16px;
}

.wc-ulp-button {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 650;
	min-height: 46px;
	padding: 10px 18px;
}

.wc-ulp-button--secondary {
	background: #fff;
	border-color: #b8c2d0;
	color: #25334a;
}

.wc-ulp-button--primary {
	background: #2968c8;
	color: #fff;
}

.wc-ulp-button--primary:hover:not(:disabled) {
	background: #1f56a6;
}

.wc-ulp-button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.wc-ulp-visually-hidden {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	word-wrap: normal !important;
}

@media (max-width: 600px) {
	.wc-ulp-overlay {
		align-items: flex-end;
		padding: 0;
	}

	.wc-ulp-dialog {
		border-radius: 18px 18px 0 0;
		max-height: 94vh;
		padding: 20px 16px max(18px, env(safe-area-inset-bottom));
		width: 100%;
	}

	.wc-ulp-map-shell {
		height: min(42vh, 340px);
	}

	.wc-ulp-footer {
		flex-direction: column-reverse;
	}

	.wc-ulp-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wc-ulp-dialog,
	.wc-ulp-overlay {
		scroll-behavior: auto;
	}
}
