/* Buy on Laybuy button — sits on its own line below the price, aligned left. */
.wlb-buy-wrap {
	margin: 12px 0 8px;
	text-align: left;
	width: 100%;
	flex-basis: 100%;
	clear: both;
}

.button.wlb-buy-button {
	cursor: pointer;
	transition: opacity .15s ease;
}

.button.wlb-buy-button.wlb-loading {
	opacity: .55;
	pointer-events: none;
}

.wlb-buy-sub {
	display: block;
	margin-top: 6px;
	font-size: .82em;
	color: #666;
}

.wlb-buy-note {
	color: #b32d2e;
	font-size: .9em;
	margin-top: 8px;
}

/* Breakdown popover */
.wlb-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
}

.wlb-modal {
	position: relative;
	background: #fff;
	color: #111;
	max-width: 420px;
	width: 100%;
	border-radius: 10px;
	padding: 26px 24px 22px;
	box-shadow: 0 12px 44px rgba(0, 0, 0, .25);
	font-size: 15px;
	max-height: 90vh;
	overflow: auto;
}

.wlb-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #777;
	cursor: pointer;
}

.wlb-modal-title {
	margin: 0 0 4px;
	font-size: 1.25em;
}

.wlb-modal-sub {
	margin: 0 0 16px;
	color: #555;
	font-size: .9em;
}

.wlb-rows {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.wlb-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid #eee;
}

.wlb-row-label {
	flex: 1;
	font-weight: 500;
}

.wlb-row-meta {
	color: #999;
	font-size: .82em;
	white-space: nowrap;
}

.wlb-row-amt {
	font-weight: 600;
	white-space: nowrap;
}

.wlb-row-deposit {
	background: #f7f4ec;
	margin: 0 -8px;
	padding: 9px 8px;
	border-radius: 6px;
	border-bottom: none;
}

.wlb-modal-total {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
	font-size: 1.05em;
	padding: 12px 0 16px;
	border-top: 2px solid #111;
}

.button.wlb-continue {
	display: block;
	width: 100%;
	text-align: center;
	background: #111;
	color: #fff;
	border: 2px solid #111;
	padding: 13px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}

.button.wlb-continue:hover {
	background: #fff;
	color: #111;
}

.wlb-modal-note {
	margin: 12px 0 0;
	color: #999;
	font-size: .8em;
	text-align: center;
}

.wlb-learn {
	color: #111;
	text-decoration: underline;
	white-space: nowrap;
}
