/* Omnia GeoFence — Frontend
 * Estilos del texto sustituto del precio y del bloque "Solicitar presupuesto".
 */

.omnia-geofence-price-hidden {
	display: inline-block;
	font-size: 0.95em;
	font-style: italic;
	color: #555;
}

.omnia-geofence-quote {
	margin: 12px 0;
}

.omnia-geofence-quote--loop {
	margin: 8px 0 0;
}

.omnia-geofence-quote__btn.button {
	display: inline-block;
	background: #2A2ACA;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.3;
	transition: background 0.15s ease;
}

.omnia-geofence-quote__btn.button:hover,
.omnia-geofence-quote__btn.button:focus {
	background: #2222a8;
	color: #fff;
}

.omnia-geofence-banner {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 20px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	position: relative;
	z-index: 9999;
}

/* Placeholder del precio mientras se resuelve por AJAX (modo cache) */
.omnia-geofence-pending {
	display: inline-block;
	min-height: 1em;
	min-width: 3ch;
	opacity: 0.5;
}

/* ===== Modal Solicitar presupuesto ===== */
.omnia-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
}
.omnia-modal.is-open { display: block; }
.omnia-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20,20,58,0.55);
}
.omnia-modal__dialog {
	position: relative;
	background: #fff;
	max-width: 460px;
	width: calc(100% - 40px);
	margin: 6vh auto 0;
	border-radius: 12px;
	padding: 28px 26px 22px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	max-height: 88vh;
	overflow-y: auto;
}
.omnia-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: none;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #888;
}
.omnia-modal__close:hover { color: #222; }
.omnia-modal__title {
	margin: 0 0 6px;
	font-size: 20px;
	color: #14143a;
}
.omnia-modal__product {
	font-size: 13px;
	color: #555;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #eee;
}
.omnia-modal__product span { display: block; color: #999; }

.omnia-quote-form p { margin: 0 0 12px; }
.omnia-quote-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #333;
}
.omnia-quote-form input,
.omnia-quote-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 11px;
	border: 1px solid #ccc;
	border-radius: 7px;
	font-size: 14px;
}
.omnia-quote-form input:focus,
.omnia-quote-form textarea:focus {
	border-color: #2A2ACA;
	outline: none;
}
.omnia-quote-form__actions { margin-top: 6px; }
.omnia-quote-form__actions .button { width: 100%; }
.omnia-quote-form__msg {
	margin: 12px 0 0;
	font-size: 14px;
	text-align: center;
}
.omnia-quote-form__msg.is-success { color: #1a7f37; font-weight: 600; }
.omnia-quote-form__msg.is-error { color: #b32d2e; font-weight: 600; }
