.wca-location-bar {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 3px 12px;
	background: #111;
	color: #fff;
	font-size: 12px;
	line-height: 1.2;
}

.wca-location-bar--footer {
	position: sticky;
	bottom: 0;
	z-index: 40;
}

.wca-location-trigger {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
}

.wca-location-slot {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.wca-location-pin {
	display: inline-flex;
	line-height: 0;
}

.wca-location-pin svg {
	width: 16px;
	height: 16px;
	display: block;
}

.wca-location-bar .wca-location-trigger {
	color: #fff;
}

.wca-modal[hidden] {
	display: none;
}

.wca-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	font-size: 13px;
}

.wca-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.55);
}

.wca-modal__dialog {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: calc(100% - 24px);
	max-width: 340px;
	margin: 10vh auto 0;
	background: #fff;
	padding: 14px 14px 12px;
	border-radius: 10px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.wca-modal__dialog h2 {
	margin: 0 28px 4px 0;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 700;
}

.wca-modal__close {
	position: absolute;
	top: 6px;
	right: 8px;
	border: 0;
	background: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.wca-modal__hint,
.wca-modal__error {
	margin: 0 0 8px;
	font-size: 12px;
	line-height: 1.3;
	color: #5c5c5c;
}

.wca-modal__error {
	color: #b32d2e;
}

.wca-modal__search,
.wca-modal__cascade select {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: 34px;
	margin: 0 0 6px;
	padding: 4px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.3;
	color: #1d2327;
	background: #fff;
	text-indent: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wca-modal__cascade select {
	display: block;
	padding: 4px 28px 4px 8px;
	-webkit-appearance: menulist;
	appearance: auto;
}

.wca-modal__cascade label {
	display: block;
	margin: 0;
}

.wca-modal__cascade label span {
	display: block;
	margin: 0 0 2px;
	font-size: 11px;
	line-height: 1.2;
	color: #646970;
}

.wca-modal__results {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	max-height: 140px;
	overflow: auto;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.wca-modal__results button {
	width: 100%;
	text-align: left;
	border: 0;
	background: #fff;
	padding: 6px 8px;
	font-size: 13px;
	cursor: pointer;
}

.wca-modal__results button:hover,
.wca-modal__results button:focus {
	background: #f0f0f1;
}

.wca-modal__empty {
	padding: 8px;
	color: #646970;
	font-size: 12px;
}

.wca-modal__confirm {
	width: 100%;
	margin-top: 4px;
	border: 0;
	background: #111;
	color: #fff;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.wca-shipping-badge {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 16px 0;
	padding: 12px 14px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #fafafa;
}

.wca-shipping-badge__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #eef6ef;
	color: #2f6b3a;
}

.wca-shipping-badge__icon .wca-icon-cargo {
	display: none;
}

.wca-shipping-badge--agency .wca-icon-truck {
	display: none;
}

.wca-shipping-badge--agency .wca-icon-cargo {
	display: block;
}

.wca-shipping-badge--agency .wca-shipping-badge__icon {
	background: #f7f1e6;
	color: #8a5a00;
}

.wca-shipping-badge__body {
	min-width: 0;
	flex: 1;
}

.wca-shipping-badge__title {
	display: block;
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.wca-shipping-badge__cost,
.wca-shipping-badge__eta {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 400;
}

.wca-shipping-badge__change {
	display: inline-block;
	margin-top: 6px;
	border: 0;
	background: none;
	padding: 0;
	color: #1d2327;
	text-decoration: underline;
	cursor: pointer;
}

.wca-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

body.wca-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.wca-modal__dialog {
		margin: 8vh 12px 0;
		max-width: none;
	}
}
