/* BD Product CTA — minimal styles. Buttons reuse the theme/Elementor
 * `.elementor-button` base class; color/hover comes from an inline
 * <style> block generated from plugin settings (see bdcta_button_css()). */

.bdcta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

li.product .bdcta-buttons {
	justify-content: center;
}

/* Native <button> reset so it inherits the .elementor-button look
 * instead of the browser's default button chrome. */
.bdcta-btn {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, filter 0.2s ease;
}

.bdcta-btn:focus-visible {
	outline: 2px solid #061033;
	outline-offset: 2px;
}

/* Form page ([bd_cta_form]) */
.bdcta-page-form {
	max-width: 560px;
}

.bdcta-type-toggle {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
}

.bdcta-type-btn {
	flex: 1;
	appearance: none;
	border: 2px solid #e0e0e0;
	background: #fff;
	color: #061033;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.bdcta-type-btn.is-active {
	border-color: #1D71B8;
	background: #1D71B8;
	color: #fff;
}

.bdcta-field {
	display: block;
	margin-bottom: 16px;
}

.bdcta-field span {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	color: #171717;
}

.bdcta-field input,
.bdcta-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.bdcta-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bdcta-form__note {
	font-size: 12px;
	color: #666;
	margin: 0 0 16px;
}

.bdcta-form__error {
	color: #c0392b;
	font-size: 13px;
	margin: 0 0 16px;
	display: none;
}

.bdcta-form__error.is-visible {
	display: block;
}

.bdcta-form__submit {
	width: 100%;
}

.bdcta-form__submit[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.bdcta-form__success {
	text-align: center;
	color: #061033;
	max-width: 560px;
}
