/* Resius Immobiliare — personalizzazioni */
/* Base: custom.css di Edilpellizzari (header, slider mobile, spaziature) + adattamenti della demo Real Estate allo stile di famiglia */

:root {
	--light-100: #f9f9f9 !important;
}

/* #Tipografia di famiglia: Montserrat (sovrascrive Poppins della demo) */
body,
h1, h2, h3, h4, h5, h6,
.btn, input, select, textarea {
	font-family: "Montserrat", sans-serif !important;
}

/* Titoli come Edilpellizzari (la demo Real Estate li porta a 600) */
h2, h3, h4 {
	font-weight: 700;
	letter-spacing: -0.05em;
}

/* #Header - Burger Menu */
#header .header-btn-collapse-nav {
	background: transparent;
	color: #777;
}

@media (max-width: 991px) {
	#header .header-btn-collapse-nav {
		display: flex;
		margin: 0 !important;
		align-items: center;
		justify-content: center;
	}

	#header .dropdown-item.active {
		background-color: var(--primary) !important;
		color: var(--light) !important;
	}
}

@media (max-width: 991px) {
	#header .header-row.pe-3 {
		padding-right: 1rem !important;
		justify-content: flex-end !important;
	}
}

@media (max-width: 575.98px) and (orientation: portrait) {
	#header .header-row.pe-3 {
		padding-right: 0 !important;
		justify-content: center !important;
	}
}

/* Logo Resius: 236x59 */
#header .header-logo img {
	width: auto;
	height: 59px;
}

/* #Home - Slider: altezza finestra meno l'header su mobile portrait */
@media (max-width: 767.98px) and (orientation: portrait) {
	#slider,
	#slider .owl-item {
		height: calc(100vh - 173px) !important;
		height: calc(100svh - 173px) !important;
	}

	#slider .owl-item {
		display: flex !important;
		align-items: center !important;
	}

	#slider .owl-item .container {
		height: auto !important;
	}
}

/* #Card immobili (demo Real Estate) con angoli vivi come il resto del sito */
.custom-card-info .card-body,
.custom-card-info.custom-card-info-shadow:before {
	border-radius: 0;
}

.custom-card-info .custom-card-info-header {
	border-bottom-color: var(--quaternary);
}

/* Etichetta "In evidenza" nello slider */
.custom-card-info .featured-tag {
	background-color: var(--primary);
}

/* #Page header (Chi siamo, Contatti) */
.page-header.page-header-modern h1 {
	letter-spacing: -0.05em;
}

/* #Footer: stesso fondo scuro di Edilpellizzari */
#footer {
	margin-top: 0px !important;
	background: var(--dark);
	border: 0;
}

#footer .footer-copyright {
	background: var(--dark);
	border-top: 1px solid #3a3a3a;
}

#footer .footer-copyright p,
#footer .footer-copyright a {
	color: #a8a8a8;
}

#footer .footer-copyright a:hover {
	color: var(--light);
}

/* #Mappa contatti */
.custom-map-iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

/* #Scala di spaziatura estesa (come Edilpellizzari) */
.pt-6 { padding-top: 80px !important; }
.pt-7 { padding-top: 96px !important; }
.pt-8 { padding-top: 112px !important; }
.pt-9 { padding-top: 128px !important; }
.pt-10 { padding-top: 144px !important; }

.pb-6 { padding-bottom: 80px !important; }
.pb-7 { padding-bottom: 96px !important; }
.pb-8 { padding-bottom: 112px !important; }
.pb-9 { padding-bottom: 128px !important; }
.pb-10 { padding-bottom: 144px !important; }

.mt-6 { margin-top: 80px !important; }
.mt-7 { margin-top: 96px !important; }
.mt-8 { margin-top: 112px !important; }
.mt-9 { margin-top: 128px !important; }
.mt-10 { margin-top: 144px !important; }

.mb-6 { margin-bottom: 80px !important; }
.mb-7 { margin-bottom: 96px !important; }
.mb-8 { margin-bottom: 112px !important; }
.mb-9 { margin-bottom: 128px !important; }
.mb-10 { margin-bottom: 144px !important; }

/* #Scheda immobile: riga prezzo nel verde pieno (senza l'ombreggiatura delle righe alterne) */
.table > tbody > tr > td.bg-color-primary {
	background-color: var(--primary) !important;
	box-shadow: none !important;
	--bs-table-bg-state: transparent;
	--bs-table-accent-bg: transparent;
}
