/**
 * Etnatribe — restyling conservativo (Fase 2 pilota home)
 * Tutte le regole sono circoscritte a .site-restyle
 * Versione: 20260622-22
 */

/*
 * Bootstrap 3 locale (/css2/bootstrap.css) in doctypetour e doctypeofferte
 * imposta html { font-size: 10px } per il sistema rem di BS3.
 * Le pagine con doctype.php (escursioni, home) usano Bootstrap 4 CDN (base 16px).
 * Ripristiniamo 16px su tutte le pagine .site-restyle per coerenza tipografica.
 */
html:has(body.site-restyle) {
	font-size: 16px;
}

.site-restyle {
	--restyle-primary: #2d6a4f;
	--restyle-primary-dark: #1b4332;
	--restyle-primary-light: #40916c;
	--restyle-accent: #d4a373;
	--restyle-bg: #f8f9fa;
	--restyle-surface: #ffffff;
	--restyle-text: #1a1a1a;
	--restyle-text-muted: #5c5c5c;
	--restyle-border: #e8e8e8;
	--restyle-radius: 10px;
	--restyle-radius-sm: 6px;
	--restyle-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--restyle-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.12);
	--restyle-space-xs: 0.5rem;
	--restyle-space-sm: 1rem;
	--restyle-space-md: 1.5rem;
	--restyle-space-lg: 2.5rem;
	--restyle-space-xl: 4rem;
	--restyle-max-width: 1200px;
	--restyle-font-base: 1rem;
	--restyle-line-height: 1.6;
	--restyle-header-height: auto;
}

/* ------------------------------------------------------------------ */
/* Base tipografia e layout                                           */
/* ------------------------------------------------------------------ */

body.site-restyle {
	font-size: 1rem;
	line-height: var(--restyle-line-height);
}

.site-restyle {
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: var(--restyle-font-base);
	line-height: var(--restyle-line-height);
	color: var(--restyle-text);
	background: var(--restyle-bg);
	-webkit-font-smoothing: antialiased;
}

.site-restyle .container {
	max-width: var(--restyle-max-width);
}

.site-restyle h1,
.site-restyle h2,
.site-restyle h3,
.site-restyle h4 {
	line-height: 1.3;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

.site-restyle p {
	line-height: var(--restyle-line-height);
	color: var(--restyle-text-muted);
}

/* ------------------------------------------------------------------ */
/* Preloader pagina                                                   */
/* ------------------------------------------------------------------ */

.site-restyle #preloader {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--restyle-bg);
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-restyle .restyle-preloader__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
	padding: 1.75rem 2.25rem;
	background: var(--restyle-surface);
	border: 1px solid var(--restyle-border);
	border-radius: calc(var(--restyle-radius) + 4px);
	box-shadow: var(--restyle-shadow);
}

.site-restyle .restyle-preloader__spinner,
.site-restyle #preloader [data-loader="circle-side"] {
	position: relative;
	top: auto;
	left: auto;
	margin: 0;
	width: 48px;
	height: 48px;
	border: 3px solid var(--restyle-border);
	border-top-color: var(--restyle-primary);
	border-right-color: var(--restyle-primary-light);
	border-bottom-color: rgba(45, 106, 79, 0.2);
	border-radius: 50%;
	-webkit-animation: restyle-preloader-spin 0.9s linear infinite;
	animation: restyle-preloader-spin 0.9s linear infinite;
}

.site-restyle .restyle-preloader__label {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--restyle-text-muted);
}

@-webkit-keyframes restyle-preloader-spin {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes restyle-preloader-spin {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/* ------------------------------------------------------------------ */
/* Header e navigazione                                               */
/* ------------------------------------------------------------------ */

.site-restyle #header_1 {
	background: var(--restyle-surface);
	box-shadow: 0 1px 0 var(--restyle-border);
}

.site-restyle #header_1 header {
	border-bottom: none;
}

.site-restyle #top_line {
	background: var(--restyle-primary-dark);
	font-size: 0.875rem;
}

.site-restyle #top_line a {
	color: #fff;
	text-decoration: none;
}

.site-restyle #logo_home h2 a {
	color: var(--restyle-primary);
	font-weight: 600;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.site-restyle nav .activem,
.site-restyle nav a.activem {
	background-color: var(--restyle-primary) !important;
	color: #fff !important;
	border-radius: var(--restyle-radius-sm);
}

.site-restyle .main-menu ul li a {
	transition: color 0.2s ease, background 0.2s ease;
}

.site-restyle .cmn-toggle-switch span {
	background: var(--restyle-primary);
}

/* ------------------------------------------------------------------ */
/* Hero home                                                          */
/* ------------------------------------------------------------------ */

.site-restyle .header-video {
	position: relative;
	overflow: hidden;
}

.site-restyle .header-video::after {
	content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* Aumentato l'altezza per dare più respiro alla sfumatura ed evitare l'effetto linea */
    height: 140px; 
    background: linear-gradient(
        to top,
        #f8f9fa 0%,
        rgba(248, 249, 250, 0.98) 8.5%,
        rgba(248, 249, 250, 0.92) 17.5%,
        rgba(248, 249, 250, 0.83) 27%,
        rgba(248, 249, 250, 0.71) 37%,
        rgba(248, 249, 250, 0.57) 47.5%,
        rgba(248, 249, 250, 0.43) 58.5%,
        rgba(248, 249, 250, 0.29) 70%,
        rgba(248, 249, 250, 0.17) 81.5%,
        rgba(248, 249, 250, 0.08) 92.5%,
        transparent 100% /* Usiamo transparent puro alla fine */
    );
    z-index: 1000;
    pointer-events: none;
}

@media (min-width: 769px) {
	.site-restyle .header-video {
		max-height: min(40vh, 400px);
	}

	.site-restyle .header-video .header-video--media {
		width: 100%;
		height: 100%;
		min-height: 100%;
		object-fit: cover;
		object-position: center 35%;
	}

	.site-restyle #hero_video {
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 100% !important;
	}

	.site-restyle #hero_video > div,
	.site-restyle #animate_intro {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: auto;
		vertical-align: middle;
	}

	.site-restyle #hero_video > div {
		padding: 1rem 1.25rem !important;
		font-size: 1.15rem;
	}
}

.site-restyle #hero_video h1 {
	font-weight: 600;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	letter-spacing: -0.02em;
}

.site-restyle #hero_video h2 {
	font-weight: 400;
	opacity: 0.95;
}

.site-restyle .littleflag {
	border-radius: var(--restyle-radius-sm);
	box-shadow: var(--restyle-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-restyle .littleflag:hover {
	transform: translateY(-2px);
	box-shadow: var(--restyle-shadow-hover);
}

/* ------------------------------------------------------------------ */
/* Titoli sezione                                                     */
/* ------------------------------------------------------------------ */

.site-restyle .main_title h2,
.site-restyle .main_title_2 h3,
.site-restyle .main_title h3 {
	color: var(--restyle-text);
	font-weight: 600;
}

.site-restyle .main_title h2 span,
.site-restyle .main_title_2 h3 span {
	color: var(--restyle-primary);
}

.site-restyle .main_title p,
.site-restyle .main_title_2 p {
	margin-top: var(--restyle-space-xs);
}

.site-restyle .divider_border,
.site-restyle .divider_border_gray {
	display: none !important;
}

.site-restyle .divider_border {
	border-color: var(--restyle-border);
}

/* ------------------------------------------------------------------ */
/* Card tour (home grid)                                              */
/* ------------------------------------------------------------------ */

.site-restyle .img_wrapper {
	border-radius: var(--restyle-radius);
	overflow: hidden;
	box-shadow: var(--restyle-shadow);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	background: var(--restyle-surface);
}

.site-restyle .img_wrapper:hover {
	box-shadow: var(--restyle-shadow-hover);
	transform: translateY(-3px);
}

.site-restyle .img_container img.img-responsive {
	object-fit: cover;
	transition: transform 0.35s ease;
}

.site-restyle .img_wrapper:hover .img_container img.img-responsive {
	transform: scale(1.03);
}

.site-restyle .short_info {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
	padding: var(--restyle-space-md) var(--restyle-space-sm) var(--restyle-space-sm);
}

.site-restyle .short_info h3 {
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 0.35rem;
}

.site-restyle .short_info p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.875rem;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.site-restyle .price_grid {
	background: var(--restyle-primary);
	color: #fff;
	border-radius: var(--restyle-radius-sm);
	font-weight: 600;
	padding: 0.35rem 0.6rem;
}

/* ------------------------------------------------------------------ */
/* Categorie home                                                     */
/* ------------------------------------------------------------------ */

.site-restyle .categorieimage .img_wrapper .short_info p {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Lista tour popolari                                                */
/* ------------------------------------------------------------------ */

.site-restyle .list_tours ul {
	list-style: none;
	padding: 0;
}

.site-restyle .list_tours ul li {
	border-bottom: 1px solid var(--restyle-border);
	padding: var(--restyle-space-sm) 0;
	transition: background 0.2s ease;
}

.site-restyle .list_tours ul li:hover {
	background: var(--restyle-bg);
	border-radius: var(--restyle-radius-sm);
}

.site-restyle .list_tours ul li a {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
	gap: var(--restyle-space-sm);
	flex-wrap: wrap;
}

.site-restyle .list_tours h4 {
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0;
	flex: 1 1 140px;
	min-width: 0;
	word-wrap: break-word;
}

.site-restyle .list_tours .price_list {
	color: var(--restyle-primary);
	font-weight: 600;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Pulsanti                                                           */
/* ------------------------------------------------------------------ */

.site-restyle a.btn_1,
.site-restyle .btn_1,
.site-restyle a.btn_outline,
.site-restyle .btn_outline {
	border-radius: var(--restyle-radius-sm);
	font-weight: 500;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.site-restyle a.btn_1,
.site-restyle .btn_1 {
	background: var(--restyle-primary);
	border-color: var(--restyle-primary);
}

.site-restyle a.btn_1:hover,
.site-restyle .btn_1:hover {
	background: var(--restyle-primary-dark);
	border-color: var(--restyle-primary-dark);
	box-shadow: var(--restyle-shadow);
	transform: translateY(-1px);
}

.site-restyle a.btn_outline,
.site-restyle .btn_outline {
	color: var(--restyle-primary);
	border: 2px solid var(--restyle-primary);
}

.site-restyle a.btn_outline:hover,
.site-restyle .btn_outline:hover {
	background: var(--restyle-primary);
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.site-restyle footer {
	background: var(--restyle-primary-dark);
	color: rgba(255, 255, 255, 0.9);
	padding-top: var(--restyle-space-lg);
}

.site-restyle footer h3 {
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: var(--restyle-space-sm);
}

.site-restyle footer a {
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.2s ease;
}

.site-restyle footer a:hover {
	color: #fff;
}

.site-restyle footer ul {
	list-style: none;
	padding-left: 0;
}

/* ------------------------------------------------------------------ */
/* UI brochure (con promoter) — hero escursioni                         */
/* ------------------------------------------------------------------ */

.site-restyle #animate_intro:has(#logoimg) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	padding: 0.75rem 1rem;
	max-width: 720px;
	margin: 0 auto;
}

.site-restyle .restyle-promoter-brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	border-radius: 14px;
	padding: 0.35rem 0.65rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.65);
}

.site-restyle #logoimg {
	display: block;
	max-height: 96px;
	max-width: min(220px, 42vw);
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	margin: 0;
}

.site-restyle #logoimg[src*="promoternull"] {
	max-height: 72px;
	max-width: 72px;
	padding: 0.15rem;
}

.site-restyle .restyle-lang-flags {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.75rem 1.15rem;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.site-restyle .restyle-lang-flags a {
	display: inline-flex;
	line-height: 0;
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-restyle .restyle-lang-flags a:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.site-restyle .restyle-lang-flags .littleflag {
	width: 36px !important;
	height: auto;
	margin: 0 !important;
	border: none;
	border-radius: 4px;
	box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* Escursioni — card tour (#loadtour)                                 */
/* ------------------------------------------------------------------ */

.site-restyle #loadtour.container {
	max-width: min(1440px, calc(100% - 1.25rem));
	width: 100%;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
}

.site-restyle #loadtour .row {
	row-gap: 0.5rem;
	margin-left: -0.5rem;
	margin-right: -0.5rem;
}

.site-restyle #loadtour [class*="col-"] {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.site-restyle #loadtour .img_wrapper {
	position: relative;
	margin: 0 0 1rem;
	border-radius: calc(var(--restyle-radius) + 4px);
	overflow: hidden;
	background: var(--restyle-surface);
	box-shadow: var(--restyle-shadow);
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s ease;
	will-change: transform;
}

.site-restyle #loadtour .img_wrapper:hover {
	transform: translateY(-10px);
	box-shadow:
		var(--restyle-shadow-hover),
		0 24px 48px rgba(0, 0, 0, 0.14);
}

.site-restyle #loadtour .img_container {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	min-height: 200px;
	overflow: hidden;
	background: #141414;
	border-radius: calc(var(--restyle-radius) + 4px);
}

.site-restyle #loadtour .img_container a {
	display: block;
	height: 100%;
	position: relative;
}

.site-restyle #loadtour .img_container a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.05) 0%,
		rgba(0, 0, 0, 0) 35%,
		rgba(0, 0, 0, 0.55) 100%
	);
	opacity: 0.85;
	transition: opacity 0.4s ease;
	pointer-events: none;
	z-index: 1;
}

.site-restyle #loadtour .img_wrapper:hover .img_container a::after {
	opacity: 1;
}

.site-restyle #loadtour .img_container img,
.site-restyle #loadtour .img-responsive-escursioni {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	opacity: 1 !important;
	transform: none !important;
	-webkit-transform: none !important;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.site-restyle #loadtour .img_wrapper:hover .img_container img,
.site-restyle #loadtour .img_wrapper:hover .img-responsive-escursioni,
.site-restyle #loadtour .img_container a:hover img,
.site-restyle #loadtour .img_container a:hover .img-responsive-escursioni {
	transform: scale(1.1) !important;
	-webkit-transform: scale(1.1) !important;
	opacity: 1 !important;
}

.site-restyle #loadtour .short_info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.9) 0%,
		rgba(0, 0, 0, 0.55) 48%,
		transparent 100%
	) !important;
	padding: 3rem 1.15rem 1.1rem;
	transition: padding 0.4s ease, background 0.4s ease;
}

.site-restyle #loadtour .img_wrapper:hover .short_info {
	padding-bottom: 1.35rem;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.94) 0%,
		rgba(0, 0, 0, 0.62) 55%,
		transparent 100%
	) !important;
}

.site-restyle #loadtour .short_info h3 {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.35rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
	transition: transform 0.35s ease;
}

.site-restyle #loadtour .img_wrapper:hover .short_info h3 {
	transform: translateY(-3px);
}

.site-restyle #loadtour .short_info p {
	display: block !important;
	opacity: 1 !important;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.8125rem;
	line-height: 1.5;
	margin: 0.4rem 0 0;
	word-wrap: break-word;
	overflow-wrap: break-word;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.site-restyle #loadtour .img_wrapper:hover .short_info p {
	transform: translateY(-2px);
}

.site-restyle #loadtour .short_info em {
	color: #9be8a8;
	font-style: normal;
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.01em;
}

.site-restyle #loadtour .price_grid {
	top: 1rem;
	right: 1rem;
	left: auto;
	border-radius: 999px;
	padding: 0.45rem 0.8rem;
	line-height: 1;
	font-size: 1.5rem;
	font-weight: 700;
	z-index: 3;
	background: rgba(27, 67, 50, 0.92) !important;
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.site-restyle #loadtour .img_wrapper:hover .price_grid {
	transform: scale(1.08) translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.site-restyle #loadtour .price_grid sup {
	font-size: 0.75em;
	top: -0.25em;
}

.site-restyle #loadtour [class*="ribbon"]:not(.ribbon_offerta):not(.ribbonfun) {
	z-index: 4;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.22));
	transition: transform 0.35s ease;
}

.site-restyle #loadtour .ribbon,
.site-restyle #loadtour .ribbon100,
.site-restyle #loadtour .ribbon200,
.site-restyle #loadtour .ribbon300,
.site-restyle #loadtour .ribbon400,
.site-restyle #loadtour .ribbon500,
.site-restyle #loadtour .ribbon_extra {
	position: absolute;
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	overflow: visible;
	text-align: left;
}

.site-restyle #loadtour .ribbon span,
.site-restyle #loadtour .ribbon100 span,
.site-restyle #loadtour .ribbon200 span,
.site-restyle #loadtour .ribbon300 span,
.site-restyle #loadtour .ribbon400 span,
.site-restyle #loadtour .ribbon500 span,
.site-restyle #loadtour .ribbon_extra span {
	position: relative;
	top: 0;
	left: 0;
	transform: none !important;
	-webkit-transform: none !important;
	width: auto;
	min-width: 5.75rem;
	padding: 0.45rem 1rem;
	border-radius: 0 0 calc(var(--restyle-radius) + 2px) 0;
	font-size: 0.6875rem;
	line-height: 1.25;
	letter-spacing: 0.06em;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.site-restyle #loadtour .ribbon_extra span {
	background: linear-gradient(135deg, #f5d76e 0%, #d4a017 55%, #b8860b 100%);
	color: #3d2e00;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.site-restyle #loadtour .ribbon span::before,
.site-restyle #loadtour .ribbon span::after,
.site-restyle #loadtour .ribbon100 span::before,
.site-restyle #loadtour .ribbon100 span::after,
.site-restyle #loadtour .ribbon200 span::before,
.site-restyle #loadtour .ribbon200 span::after,
.site-restyle #loadtour .ribbon300 span::before,
.site-restyle #loadtour .ribbon300 span::after,
.site-restyle #loadtour .ribbon400 span::before,
.site-restyle #loadtour .ribbon400 span::after,
.site-restyle #loadtour .ribbon500 span::before,
.site-restyle #loadtour .ribbon500 span::after,
.site-restyle #loadtour .ribbon_extra span::before,
.site-restyle #loadtour .ribbon_extra span::after {
	display: none;
}

.site-restyle #loadtour .img_wrapper:hover [class*="ribbon"]:not(.ribbon_offerta):not(.ribbonfun) {
	transform: translateY(-2px);
}

@media (min-width: 576px) {
	.site-restyle #loadtour.container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.site-restyle #loadtour .row {
		margin-left: -0.75rem;
		margin-right: -0.75rem;
		row-gap: 1rem;
	}

	.site-restyle #loadtour [class*="col-"] {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.site-restyle #loadtour .img_wrapper {
		margin-bottom: 1.5rem;
	}

	.site-restyle #loadtour .img_container {
		aspect-ratio: 16 / 9;
		min-height: 240px;
	}

	.site-restyle #loadtour .short_info h3 {
		font-size: 1.25rem;
	}
}

@media (min-width: 768px) {
	.site-restyle #loadtour.container {
		max-width: min(1440px, calc(100% - 2.5rem));
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		margin-top: 0.5rem;
	}

	.site-restyle #loadtour .col-md-4 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}

	.site-restyle #loadtour .col-sm-6 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}

	.site-restyle #loadtour .img_container {
		min-height: 220px;
	}

	.site-restyle #loadtour .short_info {
		padding: 3rem 1.25rem 1.15rem;
	}

	.site-restyle #loadtour .short_info h3 {
		font-size: 1.2rem;
	}

	.site-restyle #loadtour .ribbon span,
	.site-restyle #loadtour .ribbon100 span,
	.site-restyle #loadtour .ribbon200 span,
	.site-restyle #loadtour .ribbon300 span,
	.site-restyle #loadtour .ribbon400 span,
	.site-restyle #loadtour .ribbon500 span,
	.site-restyle #loadtour .ribbon_extra span {
		min-width: 6.5rem;
		padding: 0.5rem 1.15rem;
		font-size: 0.75rem;
	}
}

@media (min-width: 1200px) {
	.site-restyle #loadtour.container {
		max-width: min(1520px, calc(100% - 3rem));
	}

	.site-restyle #loadtour .row {
		margin-left: -1rem;
		margin-right: -1rem;
	}

	.site-restyle #loadtour [class*="col-"] {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.site-restyle #loadtour .img_container {
		min-height: 240px;
	}

	.site-restyle #loadtour .short_info h3 {
		font-size: 1.25rem;
	}
}

@media (max-width: 575px) {
	.site-restyle #loadtour.container {
		max-width: 100%;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.site-restyle #loadtour .col-sm-6,
	.site-restyle #loadtour .col-md-4 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.site-restyle #loadtour .img_wrapper {
		margin-bottom: 1.25rem;
	}

	.site-restyle #loadtour .img_container {
		aspect-ratio: 16 / 11;
		min-height: 220px;
	}

	.site-restyle #loadtour .img-responsive-escursioni {
		-webkit-transform: none !important;
		transform: none !important;
	}

	.site-restyle #loadtour .short_info h3 {
		font-size: 1.05rem;
	}

	.site-restyle #loadtour .short_info p {
		font-size: 0.78rem;
	}

	/* Tap feedback su mobile */
	.site-restyle #loadtour .img_wrapper:active {
		transform: translateY(-4px) scale(0.99);
	}
}

/* ------------------------------------------------------------------ */
/* Escursioni — filtri categoria (desktop)                            */
/* ------------------------------------------------------------------ */

.site-restyle .nascondisesmart .categoriasel {
	display: none !important;
}

@media (min-width: 481px) {
	.site-restyle .nascondisesmart.row {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		align-items: stretch;
		gap: 1rem;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 2rem !important;
	}

	.site-restyle .nascondisesmart [class*="col-"] {
		flex: 0 1 auto;
		width: auto;
		max-width: none;
		padding: 0;
	}

	.site-restyle .nascondisesmart .text-center {
		margin: 0;
		white-space: normal !important;
	}

	.site-restyle .nascondisesmart a[class*="btn_"] {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: relative;
		min-height: 44px;
		min-width: 9.5rem;
		padding: 0.6rem 1.15rem !important;
		border-radius: 999px !important;
		font-size: 0.8125rem !important;
		font-weight: 600 !important;
		line-height: 1.3 !important;
		text-align: center;
		white-space: normal;
		width: auto !important;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
		transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
		text-decoration: none;
		opacity: 0.78;
		filter: saturate(0.82);
	}

	.site-restyle .nascondisesmart a[class*="btn_"]:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
		filter: saturate(0.95) brightness(1.03);
		opacity: 0.92;
	}

	.site-restyle .nascondisesmart [class*="col-"]:has(.categoriasel[class*="btn_"]) a[class*="btn_"],
	.site-restyle .nascondisesmart [class*="col-"]:has(.categoriasel[class*="btn_"]) a[class*="btn_"]:hover {
		opacity: 1;
		filter: none;
		font-weight: 700 !important;
		box-shadow:
			0 0 0 2px #fff,
			0 0 0 4px currentColor,
			0 10px 28px rgba(0, 0, 0, 0.22);
		transform: translateY(-3px) scale(1.05);
	}

	.site-restyle .nascondisesmart [class*="col-"]:has(.categoriasel[class*="btn_"]) a[class*="btn_"]::after {
		content: "";
		position: absolute;
		bottom: 5px;
		left: 50%;
		transform: translateX(-50%);
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	}
}

/* ------------------------------------------------------------------ */
/* Escursioni — hero brochure responsive                              */
/* ------------------------------------------------------------------ */

@media (min-width: 481px) {
	.site-restyle #animate_intro:has(#logoimg) {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 1rem;
		padding: 1rem;
	}

	.site-restyle .restyle-promoter-brand {
		padding: 0.75rem 0.75rem;
	}

	.site-restyle #logoimg {
		max-height: 120px;
		max-width: min(280px, 50vw);
	}

	.site-restyle #logoimg[src*="promoternull"] {
		max-height: 88px;
		max-width: 88px;
	}

	.site-restyle .restyle-lang-flags .littleflag {
		width: 40px !important;
	}
}

@media (min-width: 769px) {
	.site-restyle #animate_intro:has(#logoimg) {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 1.5rem;
		padding: 0 1.5rem;
		max-width: 900px;
		margin: 0 auto;
	}

	.site-restyle #animate_intro:has(.restyle-lang-flags):not(:has(#logoimg)) {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 1rem;
	}

	.site-restyle .nascondisesmart.row {
		margin-bottom: 3.25rem !important;
		gap: 1.35rem;
	}

	.site-restyle #loadtour.container {
		margin-top: 1rem;
	}
}

@media (max-width: 480px) {
	.site-restyle #animate_intro:has(#logoimg) {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 0.5rem;
		padding: 0.75rem !important;
		max-width: 100%;
	}

	.site-restyle .restyle-promoter-brand {
		flex: 0 0 auto;
		padding: 0.5rem 0.65rem;
		border-radius: 12px;
	}

	.site-restyle #logoimg {
		max-height: 72px !important;
		max-width: 88px !important;
	}

	.site-restyle #logoimg[src*="promoternull"] {
		max-height: 64px !important;
		max-width: 64px !important;
	}

	.site-restyle .restyle-lang-flags {
		/* flex: 1 1 auto; */
		/* justify-content: flex-start; */
		gap: 0.3rem;
		padding: 0.35rem 0.5rem;
		border-radius: 12px;
	}

	.site-restyle .restyle-lang-flags .littleflag {
		width: 32px !important;
	}
}

/* ------------------------------------------------------------------ */
/* Utility sezioni                                                    */
/* ------------------------------------------------------------------ */

.site-restyle .pulsante_back .btn_full {
	border-radius: var(--restyle-radius-sm);
	background: var(--restyle-primary) !important;
}

.site-restyle .wrapper {
	position: relative !important;
	top: 0 !important;
	width: 100% !important;
	max-width: var(--restyle-max-width);
	margin: 0 auto !important;
	margin-bottom: 0 !important;
	padding: var(--restyle-space-lg) var(--restyle-space-md);
	background: var(--restyle-bg);
	box-shadow: none !important;
	border-radius: 0;
}

.site-restyle section.wrapper {
	padding-top: var(--restyle-space-md);
	padding-bottom: var(--restyle-space-xl);
}

.site-restyle section.wrapper > div[style*="width:90%"] {
	width: 100% !important;
	max-width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0;
}

/* Select categoria mobile */
.site-restyle .visibilesesmart select.form-control {
	border-radius: 999px;
	border: 2px solid var(--restyle-primary);
	font-weight: 600;
	color: var(--restyle-text);
	background-color: var(--restyle-surface);
	box-shadow: var(--restyle-shadow);
	padding: 0.65rem 1rem;
}

.site-restyle #toTop {
	background: var(--restyle-primary);
	border-radius: 50%;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
	.site-restyle #hero_video h1 {
		font-size: 1.75rem;
		padding: 0 var(--restyle-space-sm);
	}

	.site-restyle #hero_video h2 {
		font-size: 1rem !important;
		padding: 0 var(--restyle-space-sm);
	}

	.site-restyle .main_title h2,
	.site-restyle .main_title_2 h3 {
		font-size: 1.35rem;
	}

	.site-restyle .short_info h3 {
		font-size: 0.95rem;
	}

	.site-restyle a.btn_1,
	.site-restyle .btn_1 {
		display: inline-block;
		max-width: 100%;
		white-space: normal;
		text-align: center;
		line-height: 1.4;
		padding: 0.75rem 1.25rem;
	}

	.site-restyle .list_tours h4 {
		font-size: 0.875rem;
	}

	.site-restyle #header_menu img {
		max-width: 120px;
		height: auto;
	}
}

@media (max-width: 480px) {
	.site-restyle .col-xs-10,
	.site-restyle .categorieimage [class*="col-"] {
		padding-left: var(--restyle-space-xs);
		padding-right: var(--restyle-space-xs);
	}

	.site-restyle .littleflag {
		width: 28px !important;
	}
}

@media (min-width: 1024px) {
	.site-restyle .main-menu > ul > li > a {
		padding: 0.5rem 0.75rem;
	}
}

@media (min-width: 1400px) {
	.site-restyle {
		--restyle-max-width: 1360px;
	}

	.site-restyle #loadtour.container {
		max-width: min(1680px, calc(100% - 3rem));
	}

	.site-restyle .nascondisesmart.row {
		gap: 1.5rem;
	}
}

@media (min-width: 1600px) {
	.site-restyle {
		--restyle-max-width: 1540px;
	}

	.site-restyle #loadtour.container {
		max-width: min(1840px, calc(100% - 4rem));
	}

	.site-restyle section.wrapper {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1920px) {
	.site-restyle {
		--restyle-max-width: 1720px;
	}

	.site-restyle #loadtour.container {
		max-width: min(1960px, calc(100% - 5rem));
	}

	.site-restyle .nascondisesmart.row {
		gap: 1.75rem;
	}
}

/* ------------------------------------------------------------------ */
/* Tour detail — tour/tour.php                                         */
/* ------------------------------------------------------------------ */

.site-restyle .parallax_window_in {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: min(50vh, 400px);
	max-height: 420px;
	height: auto !important;
	overflow: hidden;
}

.site-restyle .parallax_window_in::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 72px;
	/* background: linear-gradient(to bottom, transparent, var(--restyle-bg)); */
    background: linear-gradient(
        to top,
        #f8f9fa 0%,
        rgba(248, 249, 250, 0.98) 8.5%,
        rgba(248, 249, 250, 0.92) 17.5%,
        rgba(248, 249, 250, 0.83) 27%,
        rgba(248, 249, 250, 0.71) 37%,
        rgba(248, 249, 250, 0.57) 47.5%,
        rgba(248, 249, 250, 0.43) 58.5%,
        rgba(248, 249, 250, 0.29) 70%,
        rgba(248, 249, 250, 0.17) 81.5%,
        rgba(248, 249, 250, 0.08) 92.5%,
        transparent 100% /* Usiamo transparent puro alla fine */
    );
	z-index: 2;
	pointer-events: none;
}

.site-restyle #sub_content_in {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: absolute !important;
	inset: 0;
	min-height: 100%;
	z-index: 1;
	width: 100%;
	padding: 1.5rem 1.25rem !important;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72)) !important;
	vertical-align: middle;
	text-align: center;
}

.site-restyle #sub_content_in #logoimg {
	display: block;
	max-height: 120px !important;
	height: auto !important;
	width: auto;
	max-width: min(280px, 50vw);
	object-fit: contain;
	margin: 0;
}

.site-restyle #sub_content_in #logoimg[src*="promoternull"] {
	max-height: 88px !important;
	max-width: 88px;
}

.site-restyle #sub_content_in #animate_intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.site-restyle #sub_content_in h1 {
	flex: 1 1 100%;
	width: 100%;
	color: #fff;
	font-weight: 700;
	text-transform: none;
	font-size: clamp(1.35rem, 3vw, 2.1rem);
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.site-restyle #sub_content_in h2 {
	flex: 1 1 100%;
	width: 100%;
}

.site-restyle .pulsante_back {
	max-width: 520px;
	margin: 0 auto;
	padding: 1rem 1.25rem 0.5rem;
}

.site-restyle .pulsante_back .btn_full,
.site-restyle .sezione_pulsanti_datotem .btn_full {
	border-radius: 999px;
	font-size: 1.1rem !important;
	font-weight: 600;
	padding: 0.95rem 1.65rem;
	top: 0 !important;
	position: relative !important;
	box-shadow: var(--restyle-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-restyle .pulsante_back .btn_full:hover,
.site-restyle .sezione_pulsanti_datotem .btn_full:hover {
	transform: translateY(-2px);
	box-shadow: var(--restyle-shadow-hover);
}

.site-restyle section.wrapper.restyle-tour-detail > .container,
.site-restyle .container.margin_30 {
	max-width: min(1440px, calc(100% - 1.25rem));
	width: 100%;
}

.site-restyle .restyle-tour-gallery {
	margin-bottom: 1.5rem;
}

.site-restyle .restyle-tour-gallery .restyle-gallery-stage {
	position: relative;
	border-radius: calc(var(--restyle-radius) + 4px);
	overflow: hidden;
	box-shadow: var(--restyle-shadow);
	background: #111;
}

.site-restyle .restyle-tour-gallery .restyle-gallery-stage .item {
	position: relative;
}

.site-restyle .restyle-tour-gallery .restyle-gallery-zoom {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	background: transparent;
	cursor: zoom-in;
	position: relative;
}

.site-restyle .restyle-tour-gallery .restyle-gallery-zoom::after {
	content: "";
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
	opacity: 0.9;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-restyle .restyle-tour-gallery .restyle-gallery-zoom:hover::after {
	opacity: 1;
	transform: scale(1.05);
}

.site-restyle .restyle-tour-gallery .restyle-gallery-stage .item img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.site-restyle .restyle-tour-gallery .owl-nav {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.site-restyle .restyle-tour-gallery .owl-nav button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
	border: none !important;
	margin: 0 !important;
	transition: transform 0.2s ease, background 0.2s ease;
}

.site-restyle .restyle-tour-gallery .owl-nav button:hover {
	transform: translateY(-50%) scale(1.06);
	background: #fff !important;
}

.site-restyle .restyle-tour-gallery .owl-nav .owl-prev {
	left: 0.85rem;
}

.site-restyle .restyle-tour-gallery .owl-nav .owl-next {
	right: 0.85rem;
}

.site-restyle .restyle-tour-gallery .restyle-gallery-nav {
	font-size: 1.75rem;
	line-height: 1;
	color: var(--restyle-primary-dark);
	font-weight: 700;
}

.site-restyle .restyle-gallery-thumbs-wrap {
	position: relative;
	margin-top: 0.85rem;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.35rem;
}

.site-restyle .restyle-gallery-thumbs-nav {
	flex: 0 0 auto;
	width: 2rem;
	height: 2.3rem;
	border: none;
	border-radius: 40%;
	background: var(--restyle-surface);
	color: var(--restyle-primary-dark);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	font-size: 2.5rem;
	line-height: 0.6;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.site-restyle .restyle-gallery-thumbs-nav:hover {
	background: #fff;
	transform: scale(1.05);
}

.site-restyle .restyle-gallery-thumbs-wrap .restyle-gallery-thumbs {
	margin-top: 0;
}

.site-restyle .restyle-gallery-thumbs {
	display: flex;
	gap: 0.55rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 0.25rem 0.15rem 0.5rem;
	scrollbar-width: thin;
	scrollbar-color: var(--restyle-primary-light) transparent;
}

.site-restyle .restyle-gallery-thumbs::-webkit-scrollbar {
	height: 6px;
}

.site-restyle .restyle-gallery-thumbs::-webkit-scrollbar-thumb {
	background: var(--restyle-primary-light);
	border-radius: 999px;
}

.site-restyle .restyle-gallery-thumb {
	flex: 0 0 auto;
	width: 7.25rem;
	height: 4.75rem;
	padding: 0;
	border: 2px solid transparent;
	border-radius: calc(var(--restyle-radius) - 2px);
	overflow: hidden;
	background: #111;
	cursor: pointer;
	opacity: 0.72;
	transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-restyle .restyle-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.site-restyle .restyle-gallery-thumb:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.site-restyle .restyle-gallery-thumb.is-active {
	opacity: 1;
	border-color: var(--restyle-primary);
	box-shadow: 0 4px 14px rgba(45, 106, 79, 0.28);
}

.site-restyle .restyle-tour-detail .owl-carousel:not(.restyle-gallery-stage) {
	border-radius: calc(var(--restyle-radius) + 4px);
	overflow: hidden;
	box-shadow: var(--restyle-shadow);
	margin-bottom: 1.5rem;
}

.site-restyle .restyle-tour-detail .owl-carousel:not(.restyle-gallery-stage) .item img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.site-restyle .restyle-tour-detail .nav-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border-bottom: none;
	margin-bottom: 1.25rem;
}

.site-restyle .restyle-tour-detail .nav-tabs > li {
	float: none;
	margin: 0;
}

.site-restyle .restyle-tour-detail .nav-tabs > li > a {
	border: none !important;
	border-radius: 999px !important;
	padding: 0.65rem 1.35rem !important;
	color: var(--restyle-text-muted);
	background: var(--restyle-surface);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	font-weight: 600;
	font-size: 1.05rem;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-restyle .restyle-tour-detail .nav-tabs > li.active > a,
.site-restyle .restyle-tour-detail .nav-tabs > li.active > a:hover,
.site-restyle .restyle-tour-detail .nav-tabs > li.active > a:focus {
	color: #fff !important;
	background: var(--restyle-primary) !important;
	box-shadow: 0 4px 14px rgba(45, 106, 79, 0.28);
}

.site-restyle .restyle-tour-detail .tab-content {
	background: var(--restyle-surface);
	border-radius: calc(var(--restyle-radius) + 2px);
	padding: 1.35rem 1.5rem;
	box-shadow: var(--restyle-shadow);
	font-size: 1.05rem;
	line-height: 1.65;
}

.site-restyle .restyle-tour-detail .tab-content p,
.site-restyle .restyle-tour-detail .tab-content li {
	font-size: 1.05rem;
	line-height: 1.65;
}

.site-restyle .restyle-tour-detail .tab-content h5 {
	color: var(--restyle-primary);
	font-weight: 700;
	font-size: 1.1rem;
	margin-top: 1.25rem;
	margin-bottom: 0.65rem;
}

.site-restyle .restyle-tour-detail .feature-box {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	background: var(--restyle-bg);
	border-radius: var(--restyle-radius);
	padding: 1.1rem 1.15rem;
	margin-bottom: 0.75rem;
	border: 1px solid var(--restyle-border);
}

.site-restyle .restyle-tour-detail .feature-box .feature-box-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 2px solid var(--restyle-primary-light);
	color: var(--restyle-primary);
	background: rgba(45, 106, 79, 0.1);
	margin: 0;
	padding: 0;
}

.site-restyle .restyle-tour-detail .feature-box .feature-box-icon i {
	display: block;
	font-size: 1.1rem;
	line-height: 1;
	margin: 0;
	width: auto;
}

.site-restyle .restyle-tour-detail .feature-box .feature-box-icon i::before {
	margin: 0;
	width: auto;
}

.site-restyle .restyle-tour-detail .feature-box .feature-box-info {
	flex: 1 1 auto;
	min-width: 0;
}

.site-restyle .restyle-tour-detail .feature-box .feature-box-info h4 {
	padding-top: 0.15rem;
	margin: 0 0 0.35rem;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--restyle-text);
}

.site-restyle .restyle-tour-detail .feature-box .feature-box-info p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--restyle-text-muted);
}

.site-restyle .restyle-tour-detail .box_style_1 {
	background: linear-gradient(135deg, var(--restyle-primary) 0%, var(--restyle-primary-dark) 100%);
	border-radius: calc(var(--restyle-radius) + 4px);
	padding: 1.35rem 1.5rem;
	box-shadow: var(--restyle-shadow);
}

.site-restyle .restyle-tour-detail .box_style_1 .price {
	border-bottom-color: rgba(255, 255, 255, 0.25);
}

.site-restyle .restyle-tour-detail .box_style_1 .price strong {
	font-weight: 700;
}

.site-restyle .restyle-tour-detail .box_style_2 {
	background: var(--restyle-surface);
	border-radius: calc(var(--restyle-radius) + 4px);
	padding: 0 1rem 1rem;
	box-shadow: var(--restyle-shadow);
	border: 1px solid var(--restyle-border);
	overflow: hidden;
}

.site-restyle .restyle-tour-detail .box_style_2 h3 {
	background: var(--restyle-primary-dark) !important;
	border-radius: 0;
	margin: 0 -1rem 1.25rem !important;
	font-size: 1.2rem;
	font-weight: 600;
	padding: 1rem 0.75rem !important;
}

.site-restyle .restyle-tour-detail .box_style_2 label,
.site-restyle .restyle-tour-detail .box_style_2 .form-control,
.site-restyle .restyle-tour-detail .box_style_2 select {
	font-size: 1.02rem;
}

.site-restyle .restyle-tour-detail .box_style_2 .btn_full,
.site-restyle .restyle-tour-detail .box_style_2 .btn_1,
.site-restyle .restyle-tour-detail .box_style_2 button[type="submit"] {
	font-size: 1.08rem !important;
	padding: 0.9rem 1.25rem !important;
}

.site-restyle .restyle-tour-detail #bloccoprezzo {
	position: sticky;
	top: 1rem;
	align-self: flex-start;
}

.site-restyle .restyle-tour-detail h3.second_title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--restyle-text);
	margin-bottom: 1.25rem;
	text-align: center;
}

/* Sezione Altri tour — allineata al blocco principale */
.site-restyle .restyle-related-section {
	padding-top: 0;
	padding-bottom: var(--restyle-space-xl);
}

.site-restyle .restyle-related-section > .container.margin_30 {
	margin-top: 0;
}

.site-restyle .restyle-related-carousel-wrap {
	position: relative;
	padding: 0 3.25rem;
}

.site-restyle .restyle-tour-related.owl-carousel {
	overflow: hidden;
}

.site-restyle .restyle-tour-related .owl-nav {
	display: none !important;
}

.site-restyle .restyle-related-nav-btn {
	position: absolute;
	top: 48%;
	transform: translateY(-50%);
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	border-radius: 40%;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-restyle .restyle-related-nav-btn:hover {
	transform: translateY(-50%) scale(1.06);
	background: #fff;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

.site-restyle .restyle-related-nav-prev {
	left: 0;
}

.site-restyle .restyle-related-nav-next {
	right: 0;
}

.site-restyle .restyle-related-nav {
	font-size: 2.75rem;
	line-height: 1;
	color: var(--restyle-primary-dark);
	font-weight: 700;
	pointer-events: none;
	top: -2px;
	position: relative;
}

/* Card correlate e servizi — stile allineato a escursioni */
.site-restyle .restyle-tour-related .img_wrapper,
.site-restyle .restyle-tour-detail .tab-content .img_wrapper {
	position: relative;
	margin-bottom: 1rem;
	border-radius: calc(var(--restyle-radius) + 4px);
	overflow: hidden;
	background: var(--restyle-surface);
	box-shadow: var(--restyle-shadow);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.site-restyle .restyle-tour-related .img_wrapper:hover,
.site-restyle .restyle-tour-detail .tab-content .img_wrapper:hover {
	transform: translateY(-8px);
	box-shadow: var(--restyle-shadow-hover), 0 20px 40px rgba(0, 0, 0, 0.12);
}

.site-restyle .restyle-tour-related .img_wrapper:hover {
	transform: none;
}

.site-restyle .restyle-tour-related .img_container,
.site-restyle .restyle-tour-detail .tab-content .img_container {
	position: relative;
	overflow: hidden;
	background: #141414;
}

.site-restyle .restyle-tour-detail .tab-content .img_container {
	aspect-ratio: 16 / 10;
}

/* Altri tour — card verticali più alte */
.site-restyle .restyle-tour-related .img_container {
	aspect-ratio: 3 / 4;
	min-height: 300px;
}

.site-restyle .restyle-tour-related .img_container > a,
.site-restyle .restyle-tour-detail .tab-content .img_container > a {
	display: block;
	position: relative;
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.site-restyle .restyle-tour-detail .tab-content .img_container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.site-restyle .restyle-tour-related .img_container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transform: none;
	filter: brightness(1.08) saturate(1.04);
	transition: transform 0.5s ease, filter 0.45s ease;
}

.site-restyle .restyle-tour-detail .tab-content .img_wrapper:hover img {
	transform: scale(1.08);
}

.site-restyle .restyle-tour-related .img_wrapper:hover .img_container img {
	transform: scale(1.40);
	transform-origin: center center;
	filter: brightness(1.40) saturate(0.66);
}

/* Tab servizi correlati — overlay centrato */
.site-restyle .restyle-tour-detail .tab-content .short_info {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.9) 0%,
		rgba(0, 0, 0, 0.5) 42%,
		rgba(0, 0, 0, 0.18) 72%,
		transparent 100%
	) !important;
	padding: 3.25rem 1rem 1.15rem !important;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}

/* Altri tour — testi in basso, immagine luminosa; scurisce solo al hover */
.site-restyle .restyle-tour-related .short_info {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.52) 24%,
		rgba(0, 0, 0, 0.22) 46%,
		transparent 72%
	) !important;
	padding: 3rem 1.15rem 1.25rem !important;
	overflow: hidden;
	transition: background 0.45s ease;
}

.site-restyle .restyle-tour-detail .tab-content .img_container a:hover .short_info {
	transform: translateY(-14%);
	padding-bottom: 1rem !important;
	/* background: linear-gradient(
		to top,
		rgba(255, 0, 0, 0.95) 0%,
		rgba(255, 0, 0, 0.72) 50%,
		rgba(255, 0, 0, 0.28) 78%,
		transparent 100%
	) !important; */
}

.site-restyle .restyle-tour-related .img_container a:hover .short_info {
	transform: none;
	padding-bottom: 1.25rem !important;
	/* background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.96) 0%,
		rgba(0, 0, 0, 0.92) 32%,
		rgba(0, 0, 0, 0.72) 58%,
		rgba(0, 0, 0, 0.38) 78%,
		rgba(0, 0, 0, 0.12) 90%,
		transparent 100%
	) !important; */
}

.site-restyle .restyle-tour-related .short_info h3,
.site-restyle .restyle-tour-detail .tab-content .short_info h3 {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.35rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: transform 0.35s ease;
}

.site-restyle .restyle-tour-related .short_info h3 {
	font-size: 1.1rem;
	-webkit-line-clamp: 2;
	transition: transform 0.35s ease;
}

.site-restyle .restyle-tour-related .img_container a:hover .short_info h3,
.site-restyle .restyle-tour-detail .tab-content .img_container a:hover .short_info h3 {
	transform: translateY(-3px);
}

.site-restyle .restyle-tour-related .short_info em,
.site-restyle .restyle-tour-detail .tab-content .short_info em {
	color: #9be8a8;
	font-style: normal;
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.01em;
}

.site-restyle .restyle-tour-detail .tab-content .short_info p {
	display: block !important;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin: 0 !important;
	padding: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.8125rem;
	line-height: 1.5;
	word-wrap: break-word;
	overflow-wrap: break-word;
	-webkit-line-clamp: unset;
	-webkit-box-orient: unset;
	transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease, transform 0.35s ease;
}

.site-restyle .restyle-tour-related .short_info p {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0.45rem 0 0 !important;
	padding: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.8125rem;
	line-height: 1.5;
	word-wrap: break-word;
	overflow-wrap: break-word;
	opacity: 0.95;
	transition: -webkit-line-clamp 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.site-restyle .restyle-tour-detail .tab-content .img_container a:hover .short_info p {
	max-height: 4.5rem;
	opacity: 1;
	margin-top: 0.5rem !important;
	transform: translateY(-2px);
}

.site-restyle .restyle-tour-related .img_container a:hover .short_info p {
	-webkit-line-clamp: 4;
	opacity: 1;
	transform: translateY(-3px);
}

.site-restyle .restyle-tour-related .price_grid,
.site-restyle .restyle-tour-detail .tab-content .price_grid {
	top: 0.85rem;
	right: 0.85rem;
	left: auto;
	border-radius: 999px;
	background: rgba(27, 67, 50, 0.92) !important;
	padding: 0.5rem 0.9rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: baseline;
	gap: 0.1rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	-webkit-border-radius: 999px;
	border-top-left-radius: 999px;
	border-bottom-left-radius: 999px;
	border-top-right-radius: 999px;
	border-bottom-right-radius: 999px;
}

.site-restyle .restyle-tour-related .price_grid sup,
.site-restyle .restyle-tour-detail .tab-content .price_grid sup {
	position: static;
	top: auto;
	font-size: 0.72em;
	font-weight: 700;
	line-height: 1;
	vertical-align: baseline;
}

.site-restyle .restyle-tour-related .ribbon,
.site-restyle .restyle-tour-related .ribbon100,
.site-restyle .restyle-tour-related .ribbon200,
.site-restyle .restyle-tour-related .ribbon300,
.site-restyle .restyle-tour-related .ribbon400,
.site-restyle .restyle-tour-related .ribbon500,
.site-restyle .restyle-tour-related .ribbon_extra,
.site-restyle .restyle-tour-detail .tab-content .ribbon,
.site-restyle .restyle-tour-detail .tab-content .ribbon100,
.site-restyle .restyle-tour-detail .tab-content .ribbon200,
.site-restyle .restyle-tour-detail .tab-content .ribbon300,
.site-restyle .restyle-tour-detail .tab-content .ribbon400,
.site-restyle .restyle-tour-detail .tab-content .ribbon500,
.site-restyle .restyle-tour-detail .tab-content .ribbon_extra {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 4;
	overflow: visible;
}

.site-restyle .restyle-tour-related .ribbon span,
.site-restyle .restyle-tour-related .ribbon100 span,
.site-restyle .restyle-tour-related .ribbon200 span,
.site-restyle .restyle-tour-related .ribbon300 span,
.site-restyle .restyle-tour-related .ribbon400 span,
.site-restyle .restyle-tour-related .ribbon500 span,
.site-restyle .restyle-tour-related .ribbon_extra span,
.site-restyle .restyle-tour-detail .tab-content [class*="ribbon"] span {
	position: relative;
	top: 0;
	left: 0;
	transform: none !important;
	width: auto;
	min-width: 6.5rem;
	padding: 0.55rem 1.1rem;
	border-radius: 0 0 calc(var(--restyle-radius) + 2px) 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.25;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.site-restyle .restyle-tour-related .ribbon_extra span,
.site-restyle .restyle-tour-detail .tab-content .ribbon_extra span {
	background: linear-gradient(135deg, #f5d76e 0%, #d4a017 55%, #b8860b 100%);
	color: #3d2e00;
}

.site-restyle .restyle-tour-related [class*="ribbon"] span::before,
.site-restyle .restyle-tour-related [class*="ribbon"] span::after,
.site-restyle .restyle-tour-detail .tab-content [class*="ribbon"] span::before,
.site-restyle .restyle-tour-detail .tab-content [class*="ribbon"] span::after {
	display: none;
}

/* Galleria — resta sotto overlay prenotazione */
.site-restyle .restyle-tour-gallery {
	position: relative;
	z-index: 1;
}

.site-restyle .restyle-tour-gallery .restyle-gallery-stage {
	z-index: 1;
}

body.restyle-booking-open {
	overflow: hidden;
}

body.restyle-booking-open .site-restyle .restyle-tour-gallery,
body.restyle-booking-open .site-restyle .restyle-gallery-thumbs-wrap,
body.restyle-booking-open .site-restyle .restyle-gallery-thumbs-nav,
body.restyle-booking-open .site-restyle .restyle-tour-gallery .owl-nav {
	z-index: 0 !important;
	pointer-events: none;
}

/* Overlay prenotazione — #dati / #daticontainer */
.site-restyle #dati {
	position: fixed !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 10200 !important;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba(15, 23, 20, 0.62) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow-y: auto;
	animation: restyleBookingOverlayIn 0.22s ease;
}

.site-restyle #dati[style*="display: block"],
.site-restyle #dati[style*="display:block"] {
	display: flex !important;
}

@keyframes restyleBookingOverlayIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.site-restyle #daticontainer {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
	z-index: 1;
	width: 100%;
	max-width: 480px;
	max-height: min(94vh, 780px);
	overflow: auto;
	margin: auto;
	padding: 1.15rem 1.25rem 0.95rem;
	border-radius: calc(var(--restyle-radius) + 6px);
	background: var(--restyle-surface);
	box-shadow: 0 28px 72px rgba(0, 0, 0, 0.35);
	border: 1px solid var(--restyle-border);
}

.site-restyle #daticontainer > p:first-of-type {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--restyle-text);
	margin: 0 0 0.85rem;
}

.site-restyle #daticontainer .form-group {
	margin-bottom: 0.6rem;
}

.site-restyle #daticontainer .form-group.add_bottom_30 {
	margin-bottom: 0.75rem;
}

.site-restyle #daticontainer label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--restyle-text);
	margin-bottom: 0.25rem;
}

.site-restyle #daticontainer .form-control {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--restyle-border);
	border-radius: var(--restyle-radius-sm);
	padding: 0.5rem 0.75rem;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--restyle-text);
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-restyle #daticontainer .form-control:focus {
	border-color: var(--restyle-primary-light);
	box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.16);
	outline: none;
}

.site-restyle #daticontainer .form-control.vuoto {
	border-color: #c0392b;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.site-restyle #daticontainer textarea.form-control {
	min-height: 3.25rem;
	resize: vertical;
}

.site-restyle #daticontainer .avviso {
	border-radius: var(--restyle-radius-sm);
	font-size: 0.85rem;
	line-height: 1.4;
}

.site-restyle #daticontainer #trattamento b,
.site-restyle #daticontainer .form-group > b {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--restyle-text);
	margin-bottom: 0.45rem;
}

.site-restyle #daticontainer #trattamento.vuotoAcconsento {
	padding: 0.55rem 0.65rem;
	border-radius: var(--restyle-radius-sm);
	border: 1px solid #c0392b;
	background: rgba(192, 57, 43, 0.06);
}

.site-restyle #daticontainer .restyle-consent-row {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0 0 0.5rem;
	cursor: pointer;
	font-weight: 400;
}

.site-restyle #daticontainer .restyle-consent-row--optional {
	opacity: 0.92;
}

.site-restyle #daticontainer .restyle-consent-checkbox {
	flex-shrink: 0;
	width: 0.95rem;
	height: 0.95rem;
	margin: 0.12rem 0 0;
	accent-color: var(--restyle-primary);
	cursor: pointer;
}

.site-restyle #daticontainer .restyle-consent-text {
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--restyle-text-muted);
}

.site-restyle #daticontainer .restyle-consent-text a {
	color: var(--restyle-primary);
	font-weight: 600;
	text-decoration: underline;
}

.site-restyle #daticontainer #trattamento input[type="checkbox"] {
	width: auto !important;
	height: auto !important;
	float: none !important;
	display: inline-block !important;
	margin: 0 !important;
}

.site-restyle #daticontainer #trattamento p {
	width: auto !important;
	overflow: hidden;
	margin: 0 0 0.5rem !important;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--restyle-text-muted);
}

.site-restyle #daticontainer #trattamento p a {
	color: var(--restyle-primary);
	font-weight: 600;
	text-decoration: underline;
}

.site-restyle #daticontainer .btn_full {
	border-radius: 999px;
	font-size: 0.95rem !important;
	font-weight: 600;
	padding: 0.75rem 1.15rem !important;
	margin-top: 0.2rem;
	box-shadow: var(--restyle-shadow);
}

.site-restyle #daticontainer > p[onclick] {
	color: var(--restyle-text-muted) !important;
	font-size: 0.8rem;
	font-weight: 600;
	text-align: center;
	padding: 0.45rem 0.5rem !important;
	margin: 0.15rem 0 0;
	cursor: pointer;
	letter-spacing: 0.05em;
	transition: color 0.2s ease;
}

.site-restyle #daticontainer > p[onclick]:hover {
	color: var(--restyle-primary-dark) !important;
}

/* Legal inline nel form prenotazione (#daticontainer) */
.site-restyle #daticontainer.restyle-daticontainer--legal {
	max-width: 560px;
	max-height: min(94vh, 820px);
	display: flex;
	flex-direction: column;
}

.site-restyle #daticontainer .restyle-booking-panel[hidden],
.site-restyle #daticontainer .restyle-legal-inline-panel[hidden] {
	display: none !important;
}

.site-restyle .restyle-legal-inline-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1;
}

.site-restyle .restyle-legal-inline-back {
	flex-shrink: 0;
	width: 100%;
	margin-bottom: 0.65rem;
	padding: 0.55rem 0.9rem !important;
	font-size: 0.82rem !important;
	font-weight: 600;
	text-align: left;
}

.site-restyle .restyle-legal-inline-body {
	overflow-y: auto;
	flex: 1;
	min-height: 0;
	max-height: calc(90vh - 7.5rem);
	padding-right: 0.15rem;
	-webkit-overflow-scrolling: touch;
}

.site-restyle .restyle-legal-inline-loading,
.site-restyle .restyle-legal-inline-error {
	font-size: 0.85rem;
	color: var(--restyle-text-muted);
	margin: 0.5rem 0;
}

.site-restyle .restyle-legal-inline-error {
	color: #c0392b;
}

.site-restyle #daticontainer .restyle-legal-inline-body h1,
.site-restyle #daticontainer .restyle-legal-inline-body .restyle-legal-embed-title {
	font-size: 1rem !important;
	font-weight: 700;
	color: var(--restyle-primary-dark);
	margin: 0 0 0.7rem !important;
	padding: 0;
	text-align: left !important;
	line-height: 1.3;
}

.site-restyle #daticontainer .restyle-legal-inline-body h2 {
	font-size: 0.86rem !important;
	font-weight: 700;
	color: var(--restyle-primary-dark);
	margin: 1rem 0 0.45rem !important;
	text-align: left !important;
}

.site-restyle #daticontainer .restyle-legal-inline-body h3,
.site-restyle #daticontainer .restyle-legal-inline-body h4 {
	font-size: 0.82rem !important;
	font-weight: 600;
	margin: 0.75rem 0 0.35rem !important;
	text-align: left !important;
}

.site-restyle #daticontainer .restyle-legal-inline-body p,
.site-restyle #daticontainer .restyle-legal-inline-body li {
	font-size: 0.78rem !important;
	line-height: 1.5 !important;
	color: var(--restyle-text-muted);
	margin: 0 0 0.55rem !important;
	text-align: left !important;
}

.site-restyle #daticontainer .restyle-legal-inline-body ul,
.site-restyle #daticontainer .restyle-legal-inline-body ol {
	margin: 0 0 0.65rem 1rem;
	padding: 0;
}

.site-restyle #daticontainer .restyle-legal-inline-body a {
	color: var(--restyle-primary);
	font-weight: 600;
	text-decoration: underline;
}

.site-restyle #daticontainer .restyle-consent-text a.restyle-legal-inline-link {
	cursor: pointer;
}

/* Overlay caricamento — verifica disponibilità tour */
.site-restyle .loading {
	position: fixed;
	inset: 0;
	z-index: 10060;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 20, 0.52) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	animation: restyleLoadingFadeIn 0.2s ease;
}

.site-restyle .loading[style*="display: block"],
.site-restyle .loading[style*="display:block"] {
	display: flex !important;
}

@keyframes restyleLoadingFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.site-restyle .restyle-loading-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-width: min(88vw, 280px);
	padding: 1.65rem 1.75rem;
	border-radius: calc(var(--restyle-radius) + 6px);
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.65);
}

.site-restyle .restyle-loading-spinner {
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	border: 3px solid rgba(45, 106, 79, 0.18);
	border-top-color: var(--restyle-primary);
	border-right-color: var(--restyle-primary-light);
	animation: restyleLoadingSpin 0.8s linear infinite;
}

@keyframes restyleLoadingSpin {
	to { transform: rotate(360deg); }
}

.site-restyle .restyle-loading-label {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--restyle-primary-dark);
	text-align: center;
}

/* Lightbox galleria tour */
body.restyle-lightbox-open {
	overflow: hidden;
}

.site-restyle .restyle-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 4.5rem;
	background: rgba(0, 0, 0, 0.92);
	cursor: zoom-out;
	animation: restyleLightboxIn 0.22s ease;
}

.site-restyle .restyle-lightbox-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: min(96vw, 1400px);
	max-height: 92vh;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: grab;
	user-select: none;
}

.site-restyle .restyle-lightbox-stage:active {
	cursor: grabbing;
}

.site-restyle .restyle-lightbox img {
	max-width: 100%;
	max-height: 92vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: calc(var(--restyle-radius) + 2px);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	cursor: grab;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-restyle .restyle-lightbox img.is-dragging {
	transition: none;
	cursor: grabbing;
}

.site-restyle .restyle-lightbox img.is-entering-left {
	animation: restyleLightboxFromLeft 0.22s ease;
}

.site-restyle .restyle-lightbox img.is-entering-right {
	animation: restyleLightboxFromRight 0.22s ease;
}

@keyframes restyleLightboxFromLeft {
	from { opacity: 0.4; transform: translateX(-28px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes restyleLightboxFromRight {
	from { opacity: 0.4; transform: translateX(28px); }
	to { opacity: 1; transform: translateX(0); }
}

.site-restyle .restyle-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.site-restyle .restyle-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.24);
	transform: translateY(-50%) scale(1.05);
}

.site-restyle .restyle-lightbox-prev {
	left: 1rem;
}

.site-restyle .restyle-lightbox-next {
	right: 1rem;
}

.site-restyle .restyle-lightbox-counter {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.45);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	pointer-events: none;
}

@keyframes restyleLightboxIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.site-restyle .restyle-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.75rem;
	height: 2.75rem;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.site-restyle .restyle-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.24);
	transform: scale(1.05);
}

@media (min-width: 769px) {
	.site-restyle #sub_content_in #animate_intro:has(#logoimg) {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: center;
		align-items: center;
		gap: 1rem 1.5rem;
	}

	.site-restyle #sub_content_in #animate_intro:has(#logoimg) .restyle-promoter-brand {
		grid-column: 1;
		grid-row: 1;
	}

	.site-restyle #sub_content_in #animate_intro:has(#logoimg) .restyle-lang-flags {
		grid-column: 2;
		grid-row: 1;
	}

	.site-restyle #sub_content_in #animate_intro:has(#logoimg) h1 {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.site-restyle section.wrapper.restyle-tour-detail > .container,
	.site-restyle .container.margin_30 {
		max-width: min(1440px, calc(100% - 2.5rem));
	}
}

@media (min-width: 1400px) {
	.site-restyle section.wrapper.restyle-tour-detail > .container,
	.site-restyle .container.margin_30 {
		max-width: min(1680px, calc(100% - 3rem));
	}
}

@media (min-width: 1600px) {
	.site-restyle section.wrapper.restyle-tour-detail > .container,
	.site-restyle .container.margin_30 {
		max-width: min(1840px, calc(100% - 4rem));
	}
}

@media (min-width: 1920px) {
	.site-restyle section.wrapper.restyle-tour-detail > .container,
	.site-restyle .container.margin_30 {
		max-width: min(1960px, calc(100% - 5rem));
	}
}

@media (max-width: 768px) {
	.site-restyle .parallax_window_in {
		min-height: 390px;
		max-height: 410px;
	}

	.site-restyle #sub_content_in {
		padding: 1rem !important;
	}

	.site-restyle #sub_content_in h1 {
		font-size: 1.2rem;
	}

	.site-restyle .restyle-tour-detail #bloccoprezzo {
		position: static;
		margin-top: 1.5rem;
	}

	.site-restyle .restyle-gallery-thumb {
		width: 5.75rem;
		height: 3.75rem;
	}

	.site-restyle .restyle-related-carousel-wrap {
		padding: 0 2.75rem;
	}

	.site-restyle .restyle-related-nav-btn {
		width: 2.35rem;
		height: 2.35rem;
	}

	.site-restyle .restyle-lightbox {
		padding: 1rem 3.25rem;
	}

	.site-restyle .restyle-lightbox-nav {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 1.65rem;
	}

	.site-restyle .restyle-lightbox-prev {
		left: 0.35rem;
	}

	.site-restyle .restyle-lightbox-next {
		right: 0.35rem;
	}

	.site-restyle #daticontainer {
		max-width: 100%;
		max-height: min(96vh, 720px);
		padding: 1rem 1rem 0.85rem;
	}

	.site-restyle #dati {
		padding: 0.75rem;
	}
}

/* Pagine legali — condizioni.php / privacy.php (standalone + embed) */
.site-restyle .restyle-legal-standalone {
	padding: 2rem 1rem 3rem;
	max-width: 760px;
	margin: 0 auto;
}

.site-restyle .restyle-legal-standalone #preloader {
	display: none !important;
}

.site-restyle .restyle-legal-standalone .restyle-legal-embed-body {
	padding: 1.75rem 1.5rem 2rem;
	border-radius: calc(var(--restyle-radius) + 4px);
	background: var(--restyle-surface);
	border: 1px solid var(--restyle-border);
	box-shadow: var(--restyle-shadow-sm);
}

.site-restyle .restyle-legal-embed-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--restyle-primary-dark);
	margin: 0 0 1rem;
	line-height: 1.3;
}

.site-restyle .restyle-legal-hero {
	min-height: min(38vh, 280px) !important;
	max-height: 320px;
	margin-bottom: 0;
}

.site-restyle .restyle-legal-hero #animate_intro h1 {
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	margin: 0;
	line-height: 1.2;
}

.site-restyle .restyle-legal-tagline {
	margin: 0.65rem 0 0;
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

.site-restyle .restyle-legal-page {
	padding: 2rem 0 3rem;
	background: var(--restyle-bg);
}

.site-restyle .restyle-legal-content {
	max-width: 760px;
	padding: 1.75rem 1.5rem 2rem;
	border-radius: calc(var(--restyle-radius) + 4px);
	background: var(--restyle-surface);
	border: 1px solid var(--restyle-border);
	box-shadow: var(--restyle-shadow-sm);
}

.site-restyle .restyle-legal-body h1,
.site-restyle .restyle-legal-body h2 {
	font-size: 1.15rem !important;
	font-weight: 700;
	color: var(--restyle-primary-dark);
	margin: 1.75rem 0 0.75rem !important;
	padding-bottom: 0;
	text-align: left !important;
	line-height: 1.35;
}

.site-restyle .restyle-legal-body h1:first-child,
.site-restyle .restyle-legal-body h2:first-child {
	margin-top: 0 !important;
}

.site-restyle .restyle-legal-body h3,
.site-restyle .restyle-legal-body h4 {
	font-size: 1rem !important;
	font-weight: 600;
	color: var(--restyle-text);
	margin: 1.25rem 0 0.55rem !important;
	text-align: left !important;
}

.site-restyle .restyle-legal-body p {
	font-size: 0.92rem !important;
	line-height: 1.65 !important;
	color: var(--restyle-text-muted);
	margin: 0 0 0.85rem !important;
	text-align: left !important;
}

.site-restyle .restyle-legal-body ul,
.site-restyle .restyle-legal-body ol {
	margin: 0 0 1rem 1.1rem;
	padding: 0;
}

.site-restyle .restyle-legal-body li {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--restyle-text-muted);
	margin-bottom: 0.45rem;
}

.site-restyle .restyle-legal-body a {
	color: var(--restyle-primary);
	font-weight: 600;
	text-decoration: underline;
}

.site-restyle .restyle-legal-body br {
	display: block;
	content: "";
	margin-top: 0.35rem;
}

@media (max-width: 767px) {
	.site-restyle .restyle-legal-content {
		padding: 1.25rem 1rem 1.5rem;
		border-radius: var(--restyle-radius);
	}
}

/* Dettagli prenotazione — dettagli_prenotazione.php / _qrcode.php */
.site-restyle .restyle-booking-hero {
	min-height: min(36vh, 260px) !important;
	max-height: 300px;
	margin-bottom: 0;
}

.site-restyle .restyle-booking-hero #animate_intro h1,
.site-restyle .restyle-booking-hero #animate_intro h3 {
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	margin: 0;
	line-height: 1.25;
	font-weight: 700;
}

.site-restyle .restyle-booking-details {
	padding: 2rem 0 3rem;
	background: var(--restyle-bg);
}

.site-restyle .restyle-booking-details .divider_border_gray {
	display: none;
}

.site-restyle .restyle-booking-details > .container > .row {
	row-gap: 1.25rem;
}

.site-restyle .restyle-booking-summary {
	padding: 1.35rem 1.4rem 1.5rem;
	border-radius: calc(var(--restyle-radius) + 4px);
	background: var(--restyle-surface);
	border: 1px solid var(--restyle-border);
	box-shadow: var(--restyle-shadow-sm);
}

.site-restyle .restyle-booking-summary h4 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--restyle-primary-dark);
	margin: 0 0 0.85rem;
}

.site-restyle .restyle-booking-summary .border-bottom {
	border-color: var(--restyle-border) !important;
}

.site-restyle .restyle-booking-summary .py-1 {
	padding-top: 0.55rem !important;
	padding-bottom: 0.55rem !important;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--restyle-text-muted);
}

.site-restyle .restyle-booking-summary strong {
	color: var(--restyle-text);
}

.site-restyle .restyle-booking-card {
	width: 100%;
	text-align: center;
	border: 1px solid var(--restyle-border) !important;
	border-radius: calc(var(--restyle-radius) + 4px) !important;
	background: var(--restyle-surface) !important;
	box-shadow: var(--restyle-shadow-sm);
	padding: 0.25rem 0;
}

.site-restyle .restyle-booking-card--success {
	border-color: var(--restyle-primary) !important;
	box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.site-restyle .restyle-booking-card .card-body {
	padding: 1.35rem 1.15rem 1.25rem;
}

.site-restyle .restyle-booking-card h3,
.site-restyle .restyle-booking-card h5,
.site-restyle .restyle-booking-card h6 {
	color: var(--restyle-text);
	line-height: 1.4;
}

.site-restyle .restyle-booking-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0.5rem 0;
}

.site-restyle .restyle-booking-card h3[style*="color:green"],
.site-restyle .restyle-booking-card h5[style*="color:green"],
.site-restyle .restyle-booking-card h6[style*="color:green"] {
	color: var(--restyle-primary) !important;
}

.site-restyle .restyle-booking-card a {
	color: var(--restyle-primary);
	font-weight: 600;
	text-decoration: underline;
}

.site-restyle .restyle-booking-card .avviso.red,
.site-restyle .restyle-booking-card p[style*="color:red"] {
	color: #c0392b !important;
	font-weight: 600;
}

.site-restyle .restyle-booking-details .btn_1,
.site-restyle .restyle-booking-search .btn_1 {
	display: inline-block;
	width: auto;
	min-width: 12rem;
	border-radius: 999px;
	font-weight: 600;
	padding: 0.8rem 1.35rem;
	box-shadow: var(--restyle-shadow);
}

.site-restyle .restyle-booking-details #clock {
	display: inline-block;
	margin: 0.75rem 0 0.35rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: rgba(45, 106, 79, 0.1);
	color: var(--restyle-primary-dark);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
}

.site-restyle .restyle-booking-search {
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

.site-restyle .restyle-booking-search-inner {
	max-width: 520px;
}

.site-restyle .restyle-booking-search-form {
	margin: 0;
	padding: 1.5rem 1.35rem 1.65rem;
	border-radius: calc(var(--restyle-radius) + 4px);
	background: var(--restyle-surface);
	border: 1px solid var(--restyle-border);
	box-shadow: var(--restyle-shadow-sm);
}

.site-restyle .restyle-booking-search-form label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--restyle-text);
	margin-bottom: 0.35rem;
}

.site-restyle .restyle-booking-search-form .form-control {
	border: 1px solid var(--restyle-border);
	border-radius: var(--restyle-radius-sm);
	padding: 0.65rem 0.85rem;
	font-size: 0.95rem;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.site-restyle .restyle-booking-search-form .form-control:focus {
	border-color: var(--restyle-primary-light);
	box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.16);
	outline: none;
}

.site-restyle .restyle-booking-search h4[style*="color:red"] {
	color: #c0392b !important;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.site-restyle .restyle-booking-details .vuoto,
.site-restyle .restyle-booking-summary .vuoto {
	border-color: #c0392b !important;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12) !important;
	background: #fff !important;
}

.site-restyle .restyle-booking-details .chiudidati_fatturazione {
	background: var(--restyle-primary);
	border-radius: var(--restyle-radius-sm);
}

/* Overlay dati di fatturazione */
.site-restyle .restyle-billing-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10050;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(18, 38, 32, 0.55);
	backdrop-filter: blur(2px);
}

.site-restyle .restyle-billing-panel {
	position: relative;
	width: min(640px, 100%);
	max-height: min(92vh, 900px);
	overflow: auto;
	background: #fff;
	border: 1px solid var(--restyle-border);
	border-radius: var(--restyle-radius);
	box-shadow: var(--restyle-shadow-lg);
	padding: 1.35rem 1.25rem 1.5rem;
}

.site-restyle .restyle-billing-close {
	position: absolute;
	top: 0.65rem;
	right: 0.75rem;
	border: 0;
	background: transparent;
	color: var(--restyle-text-muted);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.15rem 0.45rem;
}

.site-restyle .restyle-billing-close:hover {
	color: var(--restyle-primary-dark);
}

.site-restyle .restyle-billing-title {
	margin: 0 2rem 0.35rem 0;
	font-size: 1.15rem;
	color: var(--restyle-primary-dark);
}

.site-restyle .restyle-billing-lead {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	color: var(--restyle-text-muted);
}

.site-restyle .restyle-billing-errors {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: var(--restyle-radius-sm);
	background: #fdecea;
	border: 1px solid #f5c6cb;
	color: #922b21;
	font-size: 0.9rem;
}

.site-restyle .restyle-billing-fields label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--restyle-text);
}

.site-restyle .restyle-billing-fields .form-control,
.site-restyle .restyle-billing-form .form-control {
	border: 1px solid var(--restyle-border);
	border-radius: var(--restyle-radius-sm);
	padding: 0.6rem 0.8rem;
	font-size: 0.95rem;
}

.site-restyle .restyle-billing-fields .form-control:focus,
.site-restyle .restyle-billing-form .form-control:focus {
	border-color: var(--restyle-primary-light);
	box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.16);
	outline: none;
}

.site-restyle .restyle-field-hint {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.78rem;
	color: var(--restyle-text-muted);
	line-height: 1.35;
}

.site-restyle .restyle-fiscal-label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.88rem;
	font-weight: 600;
}

.site-restyle .restyle-fiscal-type {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-bottom: 0.55rem;
}

.site-restyle .restyle-fiscal-option {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
}

.site-restyle .restyle-field-error .form-control,
.site-restyle .restyle-field-error.restyle-fiscal-block .restyle-fiscal-input,
.site-restyle .restyle-billing-fields .vuoto,
.site-restyle .restyle-billing-form .vuoto {
	border-color: #c0392b !important;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12) !important;
	background: #fff !important;
}

.site-restyle .restyle-field-error .restyle-field-hint,
.site-restyle .restyle-field-error .restyle-fiscal-dynamic-hint {
	color: #c0392b;
}

.site-restyle .restyle-billing-submit {
	width: 100%;
	margin-top: 0.75rem;
}

.site-restyle .logelemento {
	position: relative;
	background: rgba(45, 106, 79, 0.12);
	color: var(--restyle-primary-dark);
	border: 1px solid var(--restyle-border);
	border-radius: var(--restyle-radius-sm);
	padding: 0.5rem 0.75rem;
	font-size: 0.82rem;
	top: 10px;
	left: 10px;
	width: auto;
	max-width: 320px;
	z-index: 9999;
}

@media (max-width: 767px) {
	.site-restyle .restyle-booking-details {
		padding: 1.25rem 0 2.25rem;
	}

	.site-restyle .restyle-booking-summary,
	.site-restyle .restyle-booking-search-form {
		padding: 1.1rem 1rem 1.2rem;
	}

	.site-restyle .restyle-booking-details .btn_1 {
		width: 100%;
	}
}
