/* =========================================================================
   Tagoo Header e Footer 1.0.2 — tema figlio Tagoo Giardino & Casa
   [tg_header] e [tg_footer] nel modello globale del Theme Builder di Divi
   ========================================================================= */

/* ---------- Token ---------- */
.tgh,
.tgh-spazio,
.tgf {
	--tgh-crema: #f4f0e8;
	--tgh-crema-2: #ebe5d9;
	--tgh-inchiostro: #1a1814;
	--tgh-nero: #0e0d0b;
	--tgh-oro: #c9a45c;             /* pulsanti e link su scuro */

	/* Header: barra, megamenu e pannello da telefono (neri come la barra del sito) */
	--tgh-fondo: var(--tgh-nero);
	--tgh-testo: var(--tgh-crema);
	--tgh-accento: var(--tgh-oro);
	--tgh-linea: rgba(244, 240, 232, .14);
	--tgh-tenue: rgba(244, 240, 232, .64);
	--tgh-fondo-foto: #1d1a16;
	--tgh-font: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--tgh-ease: cubic-bezier(.22, .7, .18, 1);
	--tgh-alta: 88px;               /* altezza della barra in cima */
	--tgh-bassa: 68px;              /* altezza della barra scorrendo */
	--tgh-larghezza: 90%;
	--tgh-max: 1366px;
}

@media (max-width: 1179px) {
	.tgh,
	.tgh-spazio {
		--tgh-alta: 68px;
		--tgh-bassa: 60px;
	}
}

/* ---------- Divi: niente spazi intorno ai moduli del Theme Builder ---------- */
.et-l--header .et_pb_section:has(.tgh-spazio),
.et-l--header .et_pb_row:has(.tgh-spazio),
.et-l--header .et_pb_column:has(.tgh-spazio),
.et-l--header .et_pb_module:has(.tgh-spazio),
.et-l--footer .et_pb_section:has(.tgf),
.et-l--footer .et_pb_row:has(.tgf),
.et-l--footer .et_pb_column:has(.tgf),
.et-l--footer .et_pb_module:has(.tgf) {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
}

/* ---------- Spazio al posto della barra ---------- */
.tgh-spazio {
	display: block;
	height: var(--tgh-alta);
}
body.tg-home .tgh-spazio[data-sopra="1"] {
	display: none;
}
/* Home con la barra nera da subito: tagoo-home usa --tg-header per l'altezza della hero e per
   la distanza delle colonne ferme, quindi prende l'altezza vera della barra */
html body.tg-home:has(.tgh-spazio[data-sopra="0"]) {
	--tg-header: 88px;
}
@media (max-width: 1179px) {
	html body.tg-home:has(.tgh-spazio[data-sopra="0"]) {
		--tg-header: 68px;
	}
}

/* ---------- Utilità ---------- */
.tgh-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.tgh-salta {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100001;
	padding: 14px 20px;
	background: var(--tgh-crema);
	color: var(--tgh-nero) !important;
	font: 500 15px/1 var(--tgh-font);
	text-decoration: none !important;
	transform: translateY(-160%);
	transition: transform .2s;
}
.tgh-salta:focus {
	transform: none;
}
#tgh-contenuto:focus,
#main-content:focus,
#et-main-area:focus {
	outline: none;
}
.tgh :focus-visible {
	outline: 2px solid var(--tgh-accento);
	outline-offset: 3px;
}
.tgh button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.tgh svg {
	display: block;
}
html.tgh-bloccato,
html.tgh-bloccato body {
	overflow: hidden !important;
}

/* =========================================================================
   Barra
   ========================================================================= */
.tgh {
	--tgh-h: var(--tgh-alta);
	font-family: var(--tgh-font);
}
.tgh.is-stretto {
	--tgh-h: var(--tgh-bassa);
}
.tgh-barra {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9990;
	height: var(--tgh-h);
	background: var(--tgh-fondo);
	color: var(--tgh-testo);
	border-bottom: 1px solid var(--tgh-linea);
	-webkit-font-smoothing: antialiased;
	transition:
		height .4s var(--tgh-ease),
		background-color .35s,
		color .35s,
		border-color .35s,
		transform .45s var(--tgh-ease);
}
.tgh.is-nascosto .tgh-barra {
	transform: translateY(calc(-100% - 2px));
}
.admin-bar .tgh-barra {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .tgh-barra {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .tgh-barra {
		top: 0;
	}
}

.tgh-in {
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 48px);
	width: var(--tgh-larghezza);
	max-width: var(--tgh-max);
	height: 100%;
	margin: 0 auto;
}

/* Logo */
.tgh-logo {
	flex: none;
	display: flex;
	align-items: center;
	height: 100%;
	color: inherit !important;
	text-decoration: none !important;
}
.tgh-logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 160px;
	max-height: 60px;
	transition: max-height .4s var(--tgh-ease);
}
.tgh.is-stretto .tgh-barra .tgh-logo img {
	max-height: 48px;
}
@media (max-width: 1179px) {
	.tgh-logo img { max-height: 50px; }
	.tgh.is-stretto .tgh-barra .tgh-logo img { max-height: 44px; }
}
.tgh-logo__chiaro {
	display: none !important;
}
.tgh-logo__nome {
	font: 400 20px/1 var(--tgh-font);
	letter-spacing: .01em;
}
.tgh-logo-negativo {
	filter: brightness(0) invert(1);
}

/* Voci */
.tgh-nav {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	display: flex;
	justify-content: center;
}
.tgh-voci {
	flex: none;
	display: flex;
	align-items: stretch;
	gap: clamp(20px, 2.1vw, 34px);
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	white-space: nowrap;
}
.tgh-voce {
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgh-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 0 !important;
	color: inherit !important;
	font: 400 16px/1.2 var(--tgh-font) !important;
	letter-spacing: .01em;
	text-decoration: none !important;
}
.tgh-link .tgh-testo {
	position: relative;
}
.tgh-link .tgh-testo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .45s var(--tgh-ease);
}
.tgh-link:hover .tgh-testo::after,
.tgh-voce.is-corrente > .tgh-link .tgh-testo::after,
.tgh-voce.is-aperto > .tgh-link .tgh-testo::after {
	transform: scaleX(1);
	transform-origin: left;
}
.tgh-freccia {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 32px;
	margin-left: 1px !important;
}
.tgh-freccia svg {
	width: 11px;
	height: 11px;
	transition: transform .35s var(--tgh-ease);
}
.tgh-freccia--voce {
	display: inline-flex;
	width: auto;
	height: auto;
}
.tgh-voce.is-aperto .tgh-freccia svg {
	transform: rotate(180deg);
}

/* Telefono e pulsante del menu */
.tgh-azioni {
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}
.tgh-tel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 42px;
	padding: 0 16px;
	border: 1px solid rgba(244, 240, 232, .3);
	color: inherit !important;
	font: 400 15px/1 var(--tgh-font);
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .3s, color .3s, border-color .3s;
}
.tgh-tel svg {
	flex: none;
	width: 17px;
	height: 17px;
}
.tgh-tel:hover {
	background: var(--tgh-crema);
	border-color: var(--tgh-crema);
	color: var(--tgh-nero) !important;
}
@media (max-width: 1439px) {
	.tgh-tel {
		width: 42px;
		padding: 0;
	}
	.tgh-tel__numero {
		display: none;
	}
}

.tgh-burger {
	display: none !important;
	align-items: center;
	gap: 12px;
	height: 44px;
	padding: 0 4px 0 10px !important;
	font: 400 15px/1 var(--tgh-font) !important;
	letter-spacing: .02em;
}
.tgh-burger__linee {
	position: relative;
	display: block;
	width: 24px;
	height: 13px;
}
.tgh-burger__linee i {
	position: absolute;
	left: 0;
	right: 0;
	height: 1.5px;
	background: currentColor;
}
.tgh-burger__linee i:nth-child(1) { top: 0; }
.tgh-burger__linee i:nth-child(2) { top: 6px; width: 70%; }
.tgh-burger__linee i:nth-child(3) { top: 12px; }

/* Modalità pannello: sotto i 1180 px, oppure quando le voci non stanno nella barra (il js aggiunge .tgh--burger) */
@media (max-width: 1179px) {
	.tgh-nav { display: none; }
	.tgh-burger { display: inline-flex !important; }
	.tgh-tel { width: 42px; padding: 0; }
	.tgh-tel__numero { display: none; }
}
.tgh--burger .tgh-nav { display: none; }
.tgh--burger .tgh-burger { display: inline-flex !important; }
.tgh--burger .tgh-tel { width: 42px; padding: 0; }
.tgh--burger .tgh-tel__numero { display: none; }

@media (max-width: 767px) {
	.tgh-tel { display: none; }   /* al telefono c'è già la barra Chiama / Scrivi / Raggiungici */
	.tgh-logo img { max-height: 48px; }
	.tgh.is-stretto .tgh-barra .tgh-logo img { max-height: 42px; }
}
@media (max-width: 380px) {
	.tgh-burger__testo { display: none; }
}

/* ---------- Barra trasparente sopra la hero della home ('sopra_la_hero' => true), nera appena la hero esce ---------- */
body.tg-home .tgh[data-sopra="1"]:not(.is-solido):not(.is-mega) .tgh-barra {
	background: transparent;
	border-bottom-color: transparent;
	color: var(--tgh-crema);
}
body.tg-home .tgh[data-sopra="1"] .tgh-barra::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	z-index: -1;
	background: linear-gradient(rgba(14, 13, 11, .55), rgba(14, 13, 11, 0));
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s;
}
body.tg-home .tgh[data-sopra="1"]:not(.is-solido):not(.is-mega) .tgh-barra::before {
	opacity: 1;
}
body.tg-home .tgh[data-sopra="1"]:not(.is-solido):not(.is-mega) .tgh-barra .tgh-logo__scuro {
	display: none !important;
}
body.tg-home .tgh[data-sopra="1"]:not(.is-solido):not(.is-mega) .tgh-barra .tgh-logo__chiaro {
	display: block !important;
}

/* =========================================================================
   Megamenu
   ========================================================================= */
.tgh-velo {
	position: fixed;
	inset: 0;
	z-index: 9980;
	background: rgba(14, 13, 11, .45);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s, visibility 0s .35s;
}
.tgh.is-mega .tgh-velo,
.tgh.is-mobile .tgh-velo {
	opacity: 1;
	visibility: visible;
	transition: opacity .35s, visibility 0s;
}

.tgh-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--tgh-h) - 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--tgh-fondo);
	color: var(--tgh-testo);
	border-top: 1px solid var(--tgh-linea);
	white-space: normal;
	cursor: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-10px);
	transition:
		opacity .3s var(--tgh-ease),
		transform .45s var(--tgh-ease),
		visibility 0s .45s;
}
.tgh-voce.is-aperto > .tgh-mega,
.tgh:not(.tgh--js) .tgh-voce--mega:hover > .tgh-mega,
.tgh:not(.tgh--js) .tgh-voce--mega:focus-within > .tgh-mega {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition:
		opacity .3s var(--tgh-ease),
		transform .45s var(--tgh-ease),
		visibility 0s;
}
.tgh-mega__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: start;
	gap: clamp(40px, 6vw, 112px);
	width: var(--tgh-larghezza);
	max-width: var(--tgh-max);
	margin: 0 auto;
	padding: clamp(36px, 4vw, 56px) 0 clamp(40px, 4.5vw, 64px);
}
.tgh-mega--senza-foto .tgh-mega__in {
	grid-template-columns: minmax(0, 1fr);
}
.tgh-mega__voci {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 32px;
	min-width: 0;
}

/* Elenco delle sottopagine */
.tgh-mega__lista {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-top: 1px solid var(--tgh-linea);
}
.tgh-mega__lista li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	break-inside: avoid;
}
.tgh-mega__link {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--tgh-linea);
	color: inherit !important;
	font: 300 clamp(22px, 1.9vw, 28px)/1.2 var(--tgh-font) !important;
	text-decoration: none !important;
	transition: color .3s, gap .45s var(--tgh-ease);
}
.tgh-mega__link::before {
	content: "";
	flex: none;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: width .45s var(--tgh-ease);
}
.tgh-mega__link:hover,
.tgh-mega__link:focus-visible,
.tgh-mega__link[aria-current] {
	gap: 16px;
	color: var(--tgh-accento) !important;
}
.tgh-mega__link:hover::before,
.tgh-mega__link:focus-visible::before,
.tgh-mega__link[aria-current]::before {
	width: 28px;
}
.tgh-mega__lista--fitta {
	column-count: 2;
	column-gap: 40px;
	border-top: 0;
}
.tgh-mega__lista--fitta .tgh-mega__link {
	padding: 11px 0;
	font-size: 20px !important;
}
.tgh-mega--senza-foto .tgh-mega__lista {
	column-count: 3;
	column-gap: 48px;
	border-top: 0;
}

/* Gruppi (terzo livello) */
.tgh-mega__gruppi {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 40px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgh-mega--senza-foto .tgh-mega__gruppi {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tgh-mega__gruppo,
.tgh-mega__sotto li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgh-mega__titolo {
	display: block;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--tgh-linea);
	color: inherit !important;
	font: 400 19px/1.25 var(--tgh-font) !important;
	text-decoration: none !important;
	transition: color .3s;
}
.tgh-mega__sotto {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgh-mega__sotto-link {
	display: block;
	padding: 5px 0;
	color: var(--tgh-tenue) !important;
	font: 400 16px/1.4 var(--tgh-font) !important;
	text-decoration: none !important;
	transition: color .3s;
}
.tgh-mega__titolo:hover,
.tgh-mega__sotto-link:hover,
.tgh-mega__titolo[aria-current],
.tgh-mega__sotto-link[aria-current] {
	color: var(--tgh-accento) !important;
}

/* Vai alla pagina madre */
.tgh-mega__tutto {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 14px;
	padding: 4px 0;
	color: var(--tgh-testo) !important;
	font: 400 15px/1.3 var(--tgh-font) !important;
	letter-spacing: .01em;
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 6px;
	text-decoration-color: rgba(244, 240, 232, .4) !important;
	transition: color .3s;
}
.tgh-mega__tutto svg {
	width: 20px;
	height: 12px;
	transition: transform .35s var(--tgh-ease);
}
.tgh-mega__tutto:hover {
	color: var(--tgh-accento) !important;
	text-decoration-color: currentColor !important;
}
.tgh-mega__tutto:hover svg {
	transform: translateX(4px);
}

/* Foto */
.tgh-mega__foto {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	max-height: min(58vh, 560px);
	overflow: hidden;
	background: var(--tgh-fondo-foto);
}
.tgh-mega__foto img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity .55s var(--tgh-ease), transform 1.1s var(--tgh-ease);
}
.tgh-mega__foto img.is-attiva {
	opacity: 1;
	transform: none;
}

/* =========================================================================
   Pannello da telefono e tablet
   ========================================================================= */
.tgh-mobile {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	background: var(--tgh-fondo);
	color: var(--tgh-testo);
	font-family: var(--tgh-font);
	-webkit-font-smoothing: antialiased;
	transform: translateX(100%);
	transition: transform .5s var(--tgh-ease);
}
.tgh-mobile[hidden] {
	display: none !important;
}
.tgh-mobile.is-aperto {
	transform: none;
}
@media (min-width: 600px) {
	.tgh-mobile {
		left: auto;
		width: min(460px, 100%);
		border-left: 1px solid var(--tgh-linea);
	}
}
.tgh-mobile__testa .tgh-logo img {
	max-height: 50px;
}
.tgh-mobile__testa {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 68px;
	padding: 0 5vw;
	border-bottom: 1px solid var(--tgh-linea);
}
.tgh-mobile__chiudi {
	display: grid !important;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-right: -10px !important;
}
.tgh-mobile__chiudi svg {
	width: 22px;
	height: 22px;
}
.tgh-mobile__corpo {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 8px 5vw calc(40px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 600px) {
	.tgh-mobile__testa,
	.tgh-mobile__corpo {
		padding-left: 36px;
		padding-right: 36px;
	}
}
.tgh-m-lista {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgh-m-voce {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgh-m-voce--l1 {
	border-bottom: 1px solid var(--tgh-linea);
}
.tgh-m-riga {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.tgh-m-link {
	flex: 1 1 auto;
	min-width: 0;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0 !important;
	color: inherit !important;
	font: 300 26px/1.2 var(--tgh-font) !important;
	text-align: left;
	text-decoration: none !important;
}
.tgh-m-voce--l2 > .tgh-m-riga .tgh-m-link {
	padding: 10px 0 !important;
	font: 400 17px/1.35 var(--tgh-font) !important;
}
.tgh-m-voce--l3 > .tgh-m-riga .tgh-m-link,
.tgh-m-voce--l4 > .tgh-m-riga .tgh-m-link {
	padding: 7px 0 !important;
	color: var(--tgh-tenue) !important;
	font: 400 16px/1.35 var(--tgh-font) !important;
}
.tgh-m-link[aria-current] {
	color: var(--tgh-accento) !important;
}
.tgh-m-piu {
	flex: none;
	display: grid !important;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-right: -14px !important;
}
.tgh-m-piu.tgh-m-link {
	display: flex !important;
	width: auto;
	height: auto;
	margin-right: 0 !important;
}
.tgh-m-segno {
	position: relative;
	flex: none;
	width: 16px;
	height: 16px;
}
.tgh-m-segno::before,
.tgh-m-segno::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1.3px;
	margin-top: -.65px;
	background: currentColor;
	transition: transform .4s var(--tgh-ease);
}
.tgh-m-segno::after {
	transform: rotate(90deg);
}
.tgh-m-voce.is-aperto > .tgh-m-riga .tgh-m-segno::after {
	transform: rotate(0deg);
}
.tgh-m-voce--l2 .tgh-m-segno {
	width: 13px;
	height: 13px;
}
.tgh-m-sotto {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows .45s var(--tgh-ease), visibility 0s .45s;
}
.tgh-m-voce.is-aperto > .tgh-m-sotto {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows .45s var(--tgh-ease), visibility 0s;
}
.tgh-m-sotto__in {
	min-height: 0;
	overflow: hidden;
}
.tgh-m-lista--l2 {
	padding: 0 0 16px !important;
}
.tgh-m-lista--l3,
.tgh-m-lista--l4 {
	padding: 0 0 8px 16px !important;
}

.tgh-mobile__contatti {
	margin-top: 36px;
	font: 400 16px/1.5 var(--tgh-font);
}
.tgh-mobile__contatti p {
	margin: 0 0 10px !important;
	padding: 0 !important;
}
.tgh-mobile__store {
	font-size: 18px;
}
.tgh-mobile__mappa {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--tgh-accento) !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 6px;
}
.tgh-mobile__mappa svg {
	width: 20px;
	height: 12px;
}
.tgh-mobile__recapiti {
	display: grid;
	gap: 10px;
	margin: 24px 0 0 !important;
	padding: 20px 0 0 !important;
	list-style: none !important;
	border-top: 1px solid var(--tgh-linea);
}
.tgh-mobile__recapiti li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgh-mobile__recapiti span {
	min-width: 84px;
	color: var(--tgh-tenue);
	font-size: 14px;
}
.tgh-mobile__recapiti a {
	color: inherit !important;
	text-decoration: none !important;
	font-variant-numeric: tabular-nums;
}

/* =========================================================================
   Footer
   ========================================================================= */
.tgf {
	--tgf-tenue: rgba(244, 240, 232, .62);
	--tgf-linea: rgba(244, 240, 232, .14);
	padding-bottom: var(--tgf-spazio-sotto, 0px);
	background: var(--tgh-nero);
	color: var(--tgh-crema);
	font: 400 16px/1.6 var(--tgh-font) !important;
	-webkit-font-smoothing: antialiased;
}
.tgf p {
	margin: 0 !important;
	padding: 0 !important;
}
.tgf ul,
.tgf li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.tgf a {
	color: var(--tgh-crema) !important;
	text-decoration: none !important;
	transition: color .25s, background-color .3s, border-color .3s;
}
.tgf a:hover {
	color: var(--tgh-oro) !important;
}
.tgf :focus-visible {
	outline: 2px solid var(--tgh-oro);
	outline-offset: 3px;
}
.tgf svg {
	display: block;
}
.tgf-in {
	width: var(--tgh-larghezza);
	max-width: var(--tgh-max);
	margin: 0 auto;
	padding: clamp(64px, 8vw, 120px) 0 28px;
}

/* Invito allo store */
.tgf-alto {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 32px 64px;
	padding-bottom: clamp(48px, 6vw, 88px);
	border-bottom: 1px solid var(--tgf-linea);
}
.tgf .tgf-invito {
	max-width: 17ch;
	color: var(--tgh-crema);
	font: 300 clamp(32px, 4.4vw, 64px)/1.06 var(--tgh-font) !important;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.tgf .tgf-indirizzo {
	margin-top: 22px !important;
	color: var(--tgf-tenue);
	font-size: 17px !important;
}
.tgf-azioni {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.tgf .tgf-pulsante {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid var(--tgh-oro);
	color: var(--tgh-oro) !important;
	font: 500 15px/1 var(--tgh-font) !important;
	letter-spacing: .02em;
	white-space: nowrap;
}
.tgf .tgf-pulsante:hover {
	background: var(--tgh-oro);
	color: var(--tgh-nero) !important;
}
.tgf .tgf-pulsante--pieno {
	background: var(--tgh-oro);
	color: var(--tgh-nero) !important;
}
.tgf .tgf-pulsante--pieno:hover {
	background: var(--tgh-crema);
	border-color: var(--tgh-crema);
	color: var(--tgh-nero) !important;
}

/* Colonne */
.tgf-colonne {
	display: grid;
	gap: 40px;
	padding: clamp(48px, 5vw, 72px) 0;
}
.tgf-colonne--2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.tgf-colonne--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tgf-colonne--4 { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }

.tgf-logo {
	display: inline-block;
}
.tgf-logo img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 180px !important;
	max-height: 90px;
}
.tgf .tgf-marchio {
	max-width: 34ch;
	margin-top: 20px !important;
	color: var(--tgf-tenue);
}
.tgf .tgf-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px !important;
}
.tgf-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--tgf-linea);
}
.tgf-social a:hover {
	border-color: var(--tgh-oro);
}
.tgf-social svg {
	width: 18px;
	height: 18px;
}
.tgf .tgf-tit {
	margin-bottom: 16px !important;
	color: var(--tgf-tenue);
	font-size: 14px !important;
	letter-spacing: .02em;
}
.tgf .tgf-lista li + li {
	margin-top: 8px !important;
}
.tgf .tgf-recapiti li + li,
.tgf .tgf-orari li + li {
	margin-top: 14px !important;
}
.tgf-recapiti li,
.tgf-orari li {
	display: flex;
	flex-direction: column;
}
.tgf-recapiti span,
.tgf-orari span {
	color: var(--tgf-tenue);
	font-size: 13px;
	line-height: 1.4;
}
.tgf-recapiti a {
	font-variant-numeric: tabular-nums;
}
.tgf .tgf-menu li + li {
	margin-top: 0 !important;
}
.tgf .tgf-menu li {
	padding: 4px 0 !important;
	break-inside: avoid;
}
.tgf-menu--due {
	column-count: 2;
	column-gap: 32px;
}
.tgf-menu a[aria-current] {
	color: var(--tgh-oro) !important;
}

/* Dati aziendali e link legali */
.tgf-basso {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 32px;
	padding-top: 24px;
	border-top: 1px solid var(--tgf-linea);
	color: var(--tgf-tenue);
	font-size: 14px !important;
	line-height: 1.5;
}
.tgf-dati span {
	display: block;
}
.tgf .tgf-legali a {
	color: var(--tgf-tenue) !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 4px;
}
.tgf .tgf-legali a:hover {
	color: var(--tgh-oro) !important;
}

@media (max-width: 980px) {
	.tgf-alto {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}
	.tgf-colonne--3,
	.tgf-colonne--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tgf-colonne--3 .tgf-col--marchio,
	.tgf-colonne--4 .tgf-col--marchio {
		grid-column: 1 / -1;
	}
}
@media (max-width: 600px) {
	.tgf-colonne--2,
	.tgf-colonne--3,
	.tgf-colonne--4 {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
	.tgf .tgf-pulsante {
		flex: 1 1 100%;
	}
	.tgf-basso {
		flex-direction: column;
	}
}

/* =========================================================================
   Movimento ridotto
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	.tgh *,
	.tgh *::before,
	.tgh *::after,
	.tgh-barra,
	.tgf * {
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
		animation: none !important;
	}
	.tgh-mega__foto img {
		transform: none;
	}
}
