/* BOX NOW Lockers (Custom) — checkout, order page and map popup. Loaded only on those pages. */

.bnlc-locker {
	margin: 8px 0 4px;
	font: inherit;
	text-align: left;
}

.bnlc-locker [hidden] {
	display: none !important;
}

.bnlc-locker .bnlc-locker__button {
	display: inline-block;
	margin: 4px 0 0;
	padding: 9px 16px;
	border: 0;
	border-radius: 6px;
	background: var(--bnlc-btn, #44b72f);
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
	color: #fff;
	font: inherit;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.bnlc-locker .bnlc-locker__button:hover,
.bnlc-locker .bnlc-locker__button:focus-visible {
	filter: brightness(0.92);
	color: #fff;
}

.bnlc-locker .bnlc-locker__button:focus-visible {
	outline: 2px solid #1f2933;
	outline-offset: 2px;
}

.bnlc-locker__selected {
	box-sizing: border-box;
	max-width: 420px;
	margin: 6px 0 8px;
	padding: 8px 12px;
	border: 2px solid #44b72f;
	border-radius: 6px;
	background: #f3fbef;
}

.bnlc-locker__title {
	margin: 0 0 2px !important;
	padding: 0 !important;
	color: #2f8f20;
	font-weight: 600;
	font-size: 0.9em;
}

.bnlc-locker__lines {
	margin: 0 !important;
	padding: 0 !important;
}

.bnlc-locker__line {
	display: block;
	font-size: 0.95em;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.bnlc-locker__line:first-child {
	font-weight: 600;
}

.bnlc-locker__status {
	margin: 4px 0 0 !important;
	padding: 0 !important;
	font-size: 0.9em;
}

.bnlc-locker__status:empty {
	display: none;
}

.bnlc-locker__status--error {
	color: #b42318;
}

.bnlc-locker__map {
	position: relative;
	height: min(var(--bnlc-map-h, 600px), 80vh);
	min-height: 320px;
	margin: 8px 0 0;
	overflow: hidden;
	border: 1px solid #d8dee7;
	border-radius: 8px;
	background: #f6f7f7;
}

.bnlc-map__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.bnlc-test-note {
	display: block;
	margin-top: 4px;
	color: #9a6700;
	font-size: 0.8em;
}

/* Popup */
html.bnlc-modal-open,
html.bnlc-modal-open body {
	overflow: hidden !important;
}

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

.bnlc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.bnlc-modal__box {
	position: relative;
	width: min(1100px, 100%);
	height: min(820px, 100%);
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.bnlc-modal__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.bnlc-modal .bnlc-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
	color: #1f2933;
	font: 600 24px/36px sans-serif;
	text-align: center;
	cursor: pointer;
}

@media (max-width: 600px) {
	.bnlc-modal {
		padding: 0;
	}

	.bnlc-modal__box {
		width: 100%;
		height: 100%;
		border-radius: 0;
	}
}

/* Order page (thank-you / My Account) */
.bnlc-order {
	margin: 0 0 2em;
}

.bnlc-order__notice {
	padding: 8px 12px;
	border-left: 4px solid #d97706;
	background: #fff7ed;
}

.bnlc-order__lines .bnlc-locker__line:first-child {
	font-weight: 600;
}
