.ba-inquiry-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.ba-inquiry-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba( 0, 0, 0, 0.6 );
}

.ba-inquiry-modal__content {
	position: relative;
	background: #fff;
	max-width: 480px;
	width: 90%;
	padding: 32px;
	border-radius: 8px;
	max-height: 85vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.2 );
}

.ba-inquiry-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #333;
}

.ba-inquiry-modal__product-name {
	font-weight: 600;
	margin-bottom: 16px;
	color: #555;
}

body.ba-modal-open {
	overflow: hidden;
}

.ba-mail-icon {
	font-size: 1.4em !important;
	line-height: 1;
	display: inline-block;
}

/* L'icona nella card prodotto non ha uno span con classe (il tema fa escaping
   dell'HTML), quindi la ingrandiamo puntando all'elemento <a> tramite l'href. */
a[href*="#ba-inquiry?"] {
	font-size: 1.4em !important;
}
