/**
 * Bombo · Inscripción Congreso — estilos del formulario de asistentes.
 * (Antes inline en el shortcode; ahora encolados con versión para cache-busting.)
 */

.bombo-asistentes {
	margin: 20px 0;
}

.bombo-asistentes .bombo-error {
	color: #c0392b;
	font-weight: 600;
	background: #fdecea;
	padding: 10px;
	border-radius: 6px;
}

.bombo-field-num {
	max-width: 240px;
}

#bombo-total {
	margin-top: 10px;
}

.bombo-asistente-block {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
	background: #fafafa;
}

.bombo-asistente-block legend {
	font-weight: 600;
	padding: 0 6px;
}

.bombo-field {
	margin-bottom: 12px;
}

.bombo-field label {
	display: block;
	font-size: 0.85em;
	font-weight: 600;
	margin-bottom: 4px;
}

.bombo-field input,
.bombo-field select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}

.bombo-field .bombo-radio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 18px;
	font-weight: 400;
}

.bombo-req {
	color: #c0392b;
}

.bombo-aviso {
	font-weight: 400;
	color: #666;
	font-style: italic;
}

.bombo-linea {
	margin: 3px 0;
	font-weight: 400;
}

.bombo-tachado {
	text-decoration: line-through;
	color: #999;
	font-weight: 400;
	margin-right: 6px;
}

.bombo-motivo {
	font-size: 0.8em;
	color: #2e7d32;
	font-weight: 400;
}

.bombo-total-final {
	margin-top: 10px;
	font-size: 1.2em;
}

.bombo-btn-disabled {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}

.bombo-btn {
	display: inline-block;
	margin-top: 16px;
	padding: 14px 32px;
	border: 0;
	border-radius: 8px;
	background: #8a9b5a;
	color: #fff;
	font-weight: 700;
	font-size: 1.05em;
	cursor: pointer;
	line-height: 1;
}

.bombo-btn:hover {
	filter: brightness(0.95);
}

.woocommerce-notices-wrapper:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/*
 * Oculta el botón/formulario nativo de WooCommerce y el widget de Elementor:
 * la inscripción SOLO se añade con el botón de este formulario.
 */
.elementor-widget-woocommerce-product-add-to-cart,
.elementor-widget-wc-add-to-cart,
.woocommerce div.product form.cart,
form.cart .single_add_to_cart_button {
	display: none !important;
}
