/* Breen Price List CTA — front-end styles */

.bpl-cta-button {
	display: inline-block;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	background-color: #c8102e; /* Breen red — adjust to brand */
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, transform 0.05s ease;
}

.bpl-cta-button:hover,
.bpl-cta-button:focus {
	background-color: #a50d26;
	color: #fff;
}

.bpl-cta-button:active {
	transform: translateY(1px);
}

.bpl-block.has-text-align-center { text-align: center; }
.bpl-block.has-text-align-right { text-align: right; }

/* Overlay */
.bpl-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.6);
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.bpl-overlay.bpl-visible {
	opacity: 1;
}

.bpl-overlay[hidden] {
	display: none;
}

/* Modal */
.bpl-modal {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	border-radius: 8px;
	padding: 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: translateY(10px);
	transition: transform 0.2s ease;
}

.bpl-overlay.bpl-visible .bpl-modal {
	transform: translateY(0);
}

.bpl-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 4px;
}

.bpl-close:hover,
.bpl-close:focus {
	color: #222;
}

.bpl-heading {
	margin: 0 0 8px;
	font-size: 22px;
	color: #1a1a1a;
}

.bpl-desc {
	margin: 0 0 20px;
	color: #555;
	font-size: 15px;
	line-height: 1.5;
}

.bpl-field {
	margin-bottom: 16px;
}

.bpl-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
	color: #333;
}

.bpl-field input[type="text"],
.bpl-field input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.bpl-field input:focus {
	border-color: #c8102e;
	outline: none;
	box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.15);
}

.bpl-req {
	color: #c8102e;
}

/* Consent */
.bpl-field-consent .bpl-consent-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 13px;
	color: #555;
	cursor: pointer;
}

.bpl-field-consent input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
}

/* Honeypot — visually and from-screen hidden, but not display:none (some bots skip those) */
.bpl-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
}

/* Message */
.bpl-message {
	margin-bottom: 16px;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 14px;
}

.bpl-message[hidden] {
	display: none;
}

.bpl-message.bpl-error {
	background: #fdecea;
	color: #a3271c;
	border: 1px solid #f5c6c0;
}

.bpl-message.bpl-success {
	background: #e7f6ec;
	color: #1d6b3a;
	border: 1px solid #b6e0c4;
}

/* Submit */
.bpl-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #c8102e;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.bpl-submit:hover:not(:disabled) {
	background: #a50d26;
}

.bpl-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.bpl-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bpl-spin 0.6s linear infinite;
}

.bpl-spinner[hidden] {
	display: none;
}

@keyframes bpl-spin {
	to { transform: rotate(360deg); }
}

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