/* Avviso informativo ai consumatori — componente pop-up. */

.mric-overlay,
.mric-overlay *,
.mric-modal,
.mric-modal * { box-sizing: border-box; }

.mric-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	inset: 0;
	background: rgba(0,0,0,.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 99999;
}

/* Necessario: molti temi resettano [hidden]. Non rimuovere. */
.mric-overlay[hidden] { display: none; }

.mric-overlay .mric-modal {
	background: #fff;
	color: #000;
	max-width: 640px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	padding: 42px 46px;
	position: relative;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0,0,0,.30);
	font-family: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
}

.mric-overlay .mric-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 38px;
	height: 38px;
	min-width: 0;
	min-height: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #000;
	font-family: inherit;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	padding: 0;
	margin: 0;
}

.mric-overlay .mric-close:hover,
.mric-overlay .mric-close:focus { background: transparent; color: #000; }
.mric-overlay .mric-close:hover { opacity: .55; }
.mric-overlay .mric-close:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

.mric-overlay .mric-modal h2 {
	margin: 0 0 10px;
	padding: 0;
	color: #000;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .09em;
	border: 0;
}

.mric-overlay .mric-modal p.mric-salut {
	margin: 0 0 14px;
	padding: 0;
	color: #000;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: normal;
}

.mric-overlay .mric-modal p.mric-body {
	margin: 0 0 14px;
	padding: 0;
	color: #000;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.62;
	text-transform: none;
	letter-spacing: normal;
}

.mric-overlay .mric-modal p.mric-body:last-of-type { margin-bottom: 0; }

.mric-overlay .mric-modal:focus { outline: none; }

@media (max-width: 600px) {
	.mric-overlay .mric-modal { padding: 36px 22px; }
}
