/* Alarte & Cruz – barra de contacto móvil */
.acc-bar { display: none; }

@media (max-width: 767px) {
	.acc-bar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9990;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: #3A3F4B;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
	}
	.acc-bar--3 { grid-template-columns: repeat(3, 1fr); }
	.acc-bar--1 { grid-template-columns: 1fr; }

	.acc-bar__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 46px;
		border-radius: 6px;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.1;
		text-decoration: none !important;
		text-align: center;
		transition: opacity .15s ease;
	}
	.acc-bar__btn:active { opacity: .85; }
	.acc-bar__btn--call    { background: #B8963E; color: #fff !important; }
	.acc-bar__btn--wa      { background: #F5F2EE; color: #3A3F4B !important; }
	.acc-bar__btn--contact { background: transparent; color: #F5F2EE !important; border: 1px solid #C4B49A; }

	/* Espacio para que la barra no tape el final de la página */
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }

	/* Botón "volver arriba" del tema por encima de la barra */
	.scrollup, #scrollUp, .back-to-top, #back-to-top { bottom: 80px !important; }
}

/* La pestaña "Gestionar cookies" de Complianz por encima de la barra en móvil */
@media (max-width: 767px) {
	#cmplz-manage-consent .cmplz-manage-consent,
	.cmplz-manage-consent { bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
}
