/* CE Back In Stock Notifications — frontend styles */

.ce-bis-form {
	margin: 20px 0;
}

.ce-bis-title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

/* ---- Inline email + button row ---- */

.ce-bis-form-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.ce-bis-email {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	height: auto;
}

.ce-bis-submit {
	flex-shrink: 0;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #fff !important;
	background: #f58220 !important;
	border: 0;
	border-radius: 5px !important;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1;
	transition: background 0.15s ease;
}

.ce-bis-submit:hover,
.ce-bis-submit:focus {
	background: #fff !important;
	color: #f58220 !important;
	border: 1px solid #f58220 !important;
}

.ce-bis-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* ---- Response message ---- */

.ce-bis-message {
	margin-top: 10px;
	font-size: 14px;
	min-height: 1.4em;
}

/* ---- Preorder separator ---- */

.ce-bis-preorder-separator {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0;
	color: #777;
	font-size: 14px;
}

.ce-bis-preorder-separator span {
	flex: 1;
	height: 1px;
	background: #ddd;
}

.ce-bis-preorder-separator strong {
	font-weight: 700;
	white-space: nowrap;
	font-size: 18px;
}

/* ---- Responsive: stack on narrow screens ---- */

@media (max-width: 480px) {
	.ce-bis-form-row {
		flex-direction: column;
	}

	.ce-bis-email,
	.ce-bis-submit {
		width: 100%;
		box-sizing: border-box;
	}
}
