.acx-store-header-location[hidden] {
	display: none !important;
}

.acx-store-header-location {
	background: var(--acx-white);
	border-top: 1px solid rgba(0, 0, 0, 0.07);
	padding: 8px var(--acx-gutter);
	width: 100%;
}

.acx-store-header-location__inner {
	align-items: center;
	background: rgba(212, 233, 226, 0.3);
	border: 1px solid rgba(0, 117, 74, 0.28);
	border-radius: 14px;
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin-inline: auto;
	max-width: var(--acx-content-xl);
	min-height: 54px;
	padding: 7px 10px;
}

.acx-store-header-location__icon {
	align-items: center;
	background: var(--acx-green-light);
	border-radius: 50%;
	color: var(--acx-green-brand);
	display: flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.acx-store-header-location__icon .lucide,
.acx-store-header-location__icon > i {
	height: 16px;
	width: 16px;
}

.acx-store-header-location__copy {
	display: grid;
	gap: 0;
	min-width: 0;
}

.acx-store-header-location__copy span {
	color: var(--acx-text-soft);
	font-size: 11px;
	line-height: 1.2;
}

.acx-store-header-location__copy strong {
	font-size: var(--acx-text-2);
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.acx-store-header-location__action {
	gap: 6px;
	min-height: 34px;
	padding: 5px 12px;
}

.acx-store-header-location__action .lucide {
	height: 14px;
	width: 14px;
}

body.acx-has-header-location .acx-store-header {
	height: auto;
}

body.acx-has-header-location .acx-store-header > .acx-store-header__inner {
	height: 64px;
}

.acx-store-location-pending body::before {
	background: var(--acx-neutral-warm, #f4f1ec);
	content: "";
	inset: 0;
	position: fixed;
	z-index: 99998;
}

.acx-store-location-modal {
	inset: 0;
	position: fixed;
	z-index: 99999;
}

.acx-store-location-modal__backdrop {
	background: rgba(15, 38, 32, 0.72);
	inset: 0;
	position: absolute;
}

.acx-store-location-dialog {
	background: var(--acx-white);
	border-radius: var(--acx-radius-card);
	box-shadow: 0 24px 80px rgba(9, 36, 29, 0.28);
	left: 50%;
	max-height: calc(100vh - 32px);
	max-width: 640px;
	overflow: auto;
	padding: clamp(24px, 5vw, 40px);
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.acx-store-location-dialog__close {
	position: absolute;
	right: 16px;
	top: 16px;
}

.acx-store-location-dialog.is-required .acx-store-location-dialog__close {
	display: none;
}

.acx-store-location-dialog__icon {
	align-items: center;
	background: var(--acx-green-mist);
	border-radius: 50%;
	color: var(--acx-green-brand);
	display: flex;
	height: 48px;
	justify-content: center;
	margin-bottom: var(--acx-space-4);
	width: 48px;
}

.acx-store-location-dialog__icon svg {
	height: 23px;
	width: 23px;
}

.acx-store-location-dialog header {
	margin-bottom: var(--acx-space-5);
	padding-right: 28px;
}

.acx-store-location-dialog h2 {
	font-size: clamp(28px, 5vw, 40px);
	margin-bottom: var(--acx-space-2);
}

.acx-store-location-dialog header p {
	color: var(--acx-text-soft);
	font-size: var(--acx-text-3);
	margin: 0;
}

.acx-store-location-status {
	background: var(--acx-neutral-warm);
	border-radius: var(--acx-radius-field);
	color: var(--acx-text-soft);
	padding: 14px 16px;
}

.acx-store-location-status.is-error {
	background: var(--acx-danger-tint);
	color: var(--acx-danger);
}

.acx-store-location-search {
	position: relative;
}

.acx-store-location-search > label {
	display: block;
	font-size: var(--acx-text-2);
	font-weight: 700;
	margin-bottom: 8px;
}

.acx-store-location-input {
	align-items: center;
	border: 1px solid var(--acx-border);
	border-radius: var(--acx-radius-field);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	padding-inline: 14px;
}

.acx-store-location-input:focus-within {
	border-color: var(--acx-green-accent);
	box-shadow: 0 0 0 1px var(--acx-green-accent);
}

.acx-store-location-input svg {
	color: var(--acx-text-soft);
	height: 20px;
	width: 20px;
}

.acx-store-location-input input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--acx-text);
	font: inherit;
	min-height: 52px;
	outline: 0;
	padding: 12px;
	width: 100%;
}

.acx-store-location-suggestions {
	background: var(--acx-white);
	border: 1px solid var(--acx-border);
	border-radius: var(--acx-radius-card);
	box-shadow: 0 16px 40px rgba(21, 48, 40, 0.16);
	left: 0;
	margin-top: 6px;
	max-height: 300px;
	overflow-y: auto;
	position: absolute;
	right: 0;
	z-index: 4;
}

.acx-store-location-suggestion {
	align-items: start;
	background: var(--acx-white);
	border: 0;
	border-bottom: 1px solid var(--acx-divider);
	color: var(--acx-text);
	cursor: pointer;
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr);
	padding: 14px 16px;
	text-align: left;
	width: 100%;
}

.acx-store-location-suggestion:hover,
.acx-store-location-suggestion.is-active {
	background: var(--acx-green-mist);
}

.acx-store-location-suggestion span {
	display: grid;
	gap: 2px;
}

.acx-store-location-suggestion small {
	color: var(--acx-text-soft);
}

.acx-store-location-suggestions__empty,
.acx-store-location-suggestions__attribution {
	color: var(--acx-text-soft);
	font-size: var(--acx-text-1);
	padding: 12px 16px;
}

.acx-store-location-suggestions__attribution {
	text-align: right;
}

.acx-store-location-actions {
	display: grid;
	gap: var(--acx-space-3);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--acx-space-3);
}

.acx-store-location-map {
	position: relative;
}

.acx-store-location-map > p {
	color: var(--acx-text-soft);
	font-size: var(--acx-text-2);
}

.acx-store-location-map__canvas {
	border-radius: var(--acx-radius-card);
	height: 330px;
	overflow: hidden;
}

.acx-store-location-map__pin {
	color: var(--acx-green-brand);
	height: 38px;
	left: 50%;
	pointer-events: none;
	position: absolute;
	top: calc(50% - 8px);
	transform: translate(-50%, -50%);
	width: 38px;
	z-index: 2;
}

.acx-store-location-map__actions {
	display: flex;
	gap: var(--acx-space-3);
	justify-content: flex-end;
	margin-top: var(--acx-space-3);
}

body.acx-store-location-open {
	overflow: hidden;
}

@media (max-width: 599px) {
	.acx-store-header-location__inner {
		min-height: 50px;
	}

	.acx-store-header-location__copy span {
		display: none;
	}

	.acx-store-header-location__action .lucide {
		display: none;
	}

	.acx-store-location-dialog {
		border-radius: var(--acx-radius-card) var(--acx-radius-card) 0 0;
		bottom: 0;
		left: 0;
		max-height: 92vh;
		padding: 28px 20px;
		top: auto;
		transform: none;
		width: 100%;
	}

	.acx-store-location-actions {
		grid-template-columns: 1fr;
	}

	.acx-store-location-map__canvas {
		height: 280px;
	}

	.acx-store-location-map__actions .acx-btn {
		flex: 1;
	}
}

@media (min-width: 480px) {
	body.acx-has-header-location .acx-store-header > .acx-store-header__inner {
		height: 72px;
	}
}

@media (min-width: 768px) {
	body.acx-has-header-location .acx-store-header {
		height: 83px;
	}

	body.acx-has-header-location .acx-store-header > .acx-store-header__inner {
		gap: 14px;
		height: 100%;
	}

	body.acx-has-header-location .acx-store-header__actions {
		margin-left: 0;
	}

	body.acx-has-header-location .acx-store-header-location {
		background: transparent;
		border-top: 0;
		flex: 1 1 320px;
		margin-left: auto;
		max-width: 440px;
		min-width: 180px;
		padding: 0;
		width: auto;
	}

	body.acx-has-header-location .acx-store-header-location__inner {
		gap: 9px;
		margin: 0;
		max-width: none;
		min-height: 48px;
		padding: 6px 8px;
	}

	body.acx-has-header-location .acx-store-header-location__icon {
		height: 32px;
		width: 32px;
	}

	body.acx-has-header-location .acx-store-header-location__copy span {
		display: none;
	}

	body.acx-has-header-location .acx-store-header-location__copy strong {
		font-size: 13px;
	}

	body.acx-has-header-location .acx-store-header-location__action {
		border-radius: var(--acx-radius-pill);
		height: auto;
		min-height: 34px;
		padding: 5px 12px;
		width: auto;
	}

	body.acx-has-header-location .acx-store-header-location__action span {
		display: inline;
	}
}

@media (min-width: 1024px) {
	body.acx-has-header-location .acx-store-header {
		height: 99px;
	}

	body.acx-has-header-location .acx-store-header > .acx-store-header__inner {
		gap: var(--acx-space-4);
	}

	body.acx-has-header-location .acx-store-header-location {
		max-width: 500px;
	}

	body.acx-has-header-location .acx-store-header-location__inner {
		gap: 10px;
	}

	body.acx-has-header-location .acx-store-header-location__copy span {
		display: block;
	}

	body.acx-has-header-location .acx-store-header-location__copy strong {
		font-size: var(--acx-text-2);
	}

	body.acx-has-header-location .acx-store-header-location__action {
		border-radius: var(--acx-radius-pill);
		height: auto;
		min-height: 34px;
		padding: 5px 12px;
		width: auto;
	}

	body.acx-has-header-location .acx-store-header-location__action span {
		display: inline;
	}
}
