/* RITO · Garanzia legale e recesso online. Nero RITO #161514 su bianco, carattere del sito, niente oro. */

.rgr-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* L'avviso: il file ufficiale intero, alle sue proporzioni. Su uno schermo stretto resta leggibile alla grandezza di
 * partenza e scorre di lato dentro il suo riquadro (linee guida della Commissione, 2.3). */
.rgr-avviso {
	display: block; /* il tema fa di ogni figure un flex che taglia cio' che esce: il riquadro non scorrerebbe */
	overflow: visible;
	max-width: 800px;
	margin: 0 auto;
}
.rgr-avviso__scorri {
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.rgr-avviso__scorri:focus-visible {
	outline: 2px solid #161514;
	outline-offset: 2px;
}
.rgr-avviso .rgr-avviso__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	background: #fff;
}
.rgr-avviso__stretto {
	display: none;
}
@media (max-width: 760px) {
	.rgr-avviso .rgr-avviso__img {
		width: 720px;
		max-width: none;
	}
	.rgr-avviso__stretto {
		display: block;
		margin: 0 0 10px;
		font-size: 14px;
		line-height: 1.5;
	}
}
.rgr-avviso__link {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}
/* I collegamenti del plugin sempre sottolineati: «body» davanti, se no vince «.elementor a» (Elementor li toglie). */
body .rgr-avviso__link a,
body .rgr-riga-garanzia a,
body .rgr-cassa a,
body .rgr-recesso a,
body .rgr-box-recesso a,
body .rgr-modulo-tipo a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Richiami nella scheda del profumo e nella cassa. */
.rgr-riga-garanzia {
	margin: 14px 0 12px;
	font-size: 14px;
	line-height: 1.5;
}
.rgr-cassa {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
}
.rgr-cassa p {
	margin: 0 0 8px;
}

/* La finestra sopra la pagina. */
.rgr-dialogo {
	width: min(92vw, 820px);
	max-width: none;
	max-height: 92vh;
	margin: auto;
	padding: 0;
	border: 0;
	background: #fff;
	color: #161514;
	overflow: auto;
	box-shadow: 0 24px 64px rgba(22, 21, 20, 0.35);
}
.rgr-dialogo::backdrop {
	background: rgba(22, 21, 20, 0.6);
}
.rgr-dialogo__barra {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	margin: 0;
	background: #fff;
}
.rgr-dialogo .rgr-dialogo__chiudi,
.rgr-dialogo .rgr-dialogo__chiudi:hover,
.rgr-dialogo .rgr-dialogo__chiudi:focus {
	appearance: none;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: #161514 !important;
	font-size: 30px;
	line-height: 1;
	padding: 10px 18px;
	cursor: pointer;
}
.rgr-dialogo .rgr-dialogo__chiudi:focus-visible {
	outline: 2px solid #161514;
	outline-offset: -6px;
}
.rgr-dialogo .rgr-avviso {
	padding: 0 20px 20px;
}
@media (max-width: 760px) {
	.rgr-dialogo {
		width: 100vw;
		max-width: 100vw;
		height: 100dvh;
		max-height: 100dvh;
		margin: 0;
	}
	.rgr-dialogo .rgr-avviso {
		padding: 0 12px 16px;
	}
}

/* La pagina del recesso. Campi e bottoni come quelli della cassa: il tema altrimenti li fa bianchi su bianco
 * e grigi. */
.rgr-recesso-pagina,
.rgr-recesso {
	max-width: 640px;
	margin: 0 auto;
}
.rgr-recesso-pagina .rgr-titolo-pagina {
	margin: 0 0 20px;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
}
.rgr-recesso .rgr-titolo {
	margin: 0 0 20px;
}
.rgr-recesso .rgr-modulo p {
	margin: 0 0 22px;
}
.rgr-recesso label {
	display: block;
	margin: 0 0 6px;
	font-weight: 500;
}
.rgr-recesso .rgr-modulo input[type="text"],
.rgr-recesso .rgr-modulo input[type="email"],
.rgr-recesso .rgr-modulo textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #949494 !important;
	border-radius: 4px;
	background: #fff !important;
	color: #161514;
}
.rgr-recesso .rgr-modulo input[type="text"]:focus,
.rgr-recesso .rgr-modulo input[type="email"]:focus,
.rgr-recesso .rgr-modulo textarea:focus {
	border-color: #161514 !important;
}
.rgr-recesso .rgr-modulo button.button {
	border: 0 !important;
	border-radius: 4px;
	background: #0b0b0b !important;
	color: #fff !important;
	padding: 14px 32px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
}
.rgr-recesso .rgr-modulo button.button:hover,
.rgr-recesso .rgr-modulo button.button:focus-visible {
	background: #3a3937 !important;
}
.rgr-facoltativo {
	font-weight: 400;
}
.rgr-aiuto {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: #57534e;
}
.rgr-privacy {
	font-size: 13px;
	color: #57534e;
}
.rgr-errori {
	margin: 0 0 22px;
	padding: 12px 16px;
	border: 1px solid #a3261c;
	color: #a3261c;
}
.rgr-errori p {
	margin: 0 0 6px;
}
.rgr-errori p:last-child {
	margin: 0;
}
.rgr-dichiarazione {
	margin: 0 0 28px;
	padding: 4px 0 4px 16px;
	border-left: 2px solid #161514;
	line-height: 1.6;
}
.rgr-bottoni {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}
.rgr-recesso .rgr-modifica,
.rgr-recesso .rgr-modifica:hover,
.rgr-recesso .rgr-modifica:focus {
	appearance: none;
	padding: 0;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.rgr-trappola {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Il riquadro sul recesso online nelle pagine legali e il modulo tipo in fondo alla pagina del recesso. */
.rgr-box-recesso {
	margin: 0 0 1.5em;
	padding: 4px 0 4px 16px;
	border-left: 2px solid #161514;
}
.rgr-box-recesso p {
	margin: 0 0 10px;
}
.rgr-box-recesso p:last-child {
	margin: 0;
}
.rgr-modulo-tipo {
	max-width: 640px;
	margin: 40px auto 0;
	padding: 16px 0 0;
	border-top: 1px solid #d6d3d1;
}
.rgr-modulo-tipo summary {
	cursor: pointer;
	font-weight: 500;
}
.rgr-modulo-tipo > p {
	margin: 12px 0 0;
}
.rgr-modulo-tipo__testo {
	margin: 16px 0 0;
	padding: 4px 0 4px 16px;
	border-left: 2px solid #161514;
}
.rgr-modulo-tipo__testo ul {
	margin: 0 0 12px 18px;
	padding: 0;
}
.rgr-modulo-tipo__testo li {
	margin: 0 0 6px;
}

@media print {
	.rgr-no-stampa {
		display: none !important;
	}
}
