button {
	&.wc-buy-now-btn {
		cursor: pointer;
	}
}

/* Popup Checkout Modal Styles */
#wbnb-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999;
	display: none;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;

	&.wbnb-show {
		display: flex;
		opacity: 1;

		#wbnb-popup-content {
			transform: translateY(0);
		}
	}
}

#wbnb-popup-content {
	background: #fff;
	width: 90%;
	max-width: 800px;
	max-height: 80vh;
	padding: 30px;
	border-radius: 5px;
	position: relative;
	overflow-y: auto;
	margin: 0 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transform: translateY(-20px);
	transition: transform 0.3s ease;
}

.wbnb-popup-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	color: #333;
	z-index: 10;
	line-height: 1;

	&:hover {
		color: #d63638;
	}
}

/* Loader in popup */
.wbnb-loader {
	text-align: center;
	padding: 40px;
}

/* Ensure WooCommerce checkout fields look okay in restricted width */
#wbnb-popup-content {
	.woocommerce-checkout {
		padding-top: 10px;
	}

	.col2-set {

		.col-1,
		.col-2 {
			float: none;
			width: 100%;
		}
	}
}

@media (min-width: 768px) {
	#wbnb-popup-content {
		.col2-set {
			.col-1 {
				float: left;
				width: 48%;
			}

			.col-2 {
				float: right;
				width: 48%;
			}
		}
	}
}

/* Error State */
.wbnb-error {
	text-align: center;
	padding: 40px 20px;
	color: #d63638;
	background: #fff5f5;
	border: 1px solid #d63638;
	border-radius: 4px;
	margin: 20px 0;
}

.wbnb-fallback-btn {
	display: block;
	margin: 20px auto 0;
	padding: 12px 24px;
	background: #d63638;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.2s ease;

	&:hover {
		background: #b32d2e;
	}
}