/* BOX NOW Locker — checkout styles */

.bnlwc-container {
	margin: 12px 0;
	padding: 14px;
	border: 1px solid #d8dadc;
	border-radius: 6px;
	background: #fafbfc;
	font-size: 14px;
	line-height: 1.45;
}

.bnlwc-container .bnlwc-selected {
	margin-bottom: 10px;
	padding: 10px 12px;
	background: #f1f9e7;
	border-left: 3px solid #7BC832;
	border-radius: 4px;
}

.bnlwc-container .bnlwc-selected-label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
	color: #4F8418;
}

.bnlwc-container .bnlwc-selected-name {
	font-weight: 600;
	color: #1a1a1a;
}

.bnlwc-container .bnlwc-selected-address {
	color: #555;
	margin-top: 2px;
	font-size: 13px;
}

.bnlwc-container .bnlwc-pick-button {
	display: inline-block;
	margin-top: 4px;
	background: #7BC832;
	color: #ffffff;
	border: 1px solid #6AB024;
	padding: 9px 18px;
	font-weight: 600;
	cursor: pointer;
	border-radius: 4px;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.bnlwc-container .bnlwc-pick-button:hover,
.bnlwc-container .bnlwc-pick-button:focus {
	background: #6AB024;
	border-color: #5C9A1E;
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(106, 176, 36, 0.25);
}

.bnlwc-container .bnlwc-pick-button:active {
	background: #5C9A1E;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.bnlwc-container .bnlwc-find-locker-info {
	color: #555;
	font-style: italic;
	font-size: 13px;
}

.bnlwc-block-container {
	margin: 16px 0;
}

/* Customer-facing display on order details / thank-you / emails */
.bnlwc-customer-locker {
	margin-top: 24px;
	padding: 14px;
	background: #f1f9e7;
	border-left: 3px solid #7BC832;
	border-radius: 6px;
}

.bnlwc-customer-locker h2 {
	margin-top: 0;
	font-size: 16px;
	color: #4F8418;
}

/* ----- Modal overlay (BoxNow widget host) ----- */

.bnlwc-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.bnlwc-modal.is-open {
	display: flex;
}

.bnlwc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.bnlwc-modal-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 960px;
	height: 85vh;
	max-height: 760px;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
}

.bnlwc-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #4a4a4a;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bnlwc-modal-close svg {
	display: block;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bnlwc-modal-close:hover {
	background: #ffffff;
	color: #d6302c;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
	transform: scale(1.06);
}

.bnlwc-modal-close:hover svg {
	transform: rotate(90deg);
}

.bnlwc-modal-close:active {
	transform: scale(0.95);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.bnlwc-modal-close:focus-visible {
	outline: 2px solid #7BC832;
	outline-offset: 3px;
}

.bnlwc-widget-host {
	flex: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.bnlwc-widget-host iframe {
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
}

body.bnlwc-modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.bnlwc-modal { padding: 0; }
	.bnlwc-modal-card { height: 100vh; max-height: 100vh; border-radius: 0; }
}
