/* html {
  scroll-behavior: smooth;
  #003f71;
} */

.wrapper {
	overflow-x: hidden;
}

#logo {
	height: 65px;
	opacity: 0;
	transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scorre #logo {
	opacity: 1;
}

.main-content-section p {
  font-size: 1.4rem;
  text-align: justify;
}

.featured-image-container {
  height: 500px;
  overflow: hidden;
  position: relative;
}

.featured-image-container .featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
} 

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-content h1,
.hero-content h2,
.hero-content p {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Noto Sans', sans-serif;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Noto Sans', sans-serif;
}

.hero-content h1 {
  font-size: 3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  display: block;
  margin-bottom: 1.5rem;
  text-align: center;
}



.linee {
    position: relative;
}

.linee::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 3px;
    background-color: #003f71;
}

.cardServizio {
    text-align: center;
    padding: 2rem;
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

.cardServizio:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.iconaServizio {
    width: 80px;
    height: 80px;
    background-color: #e6f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.iconaServizio i {
    font-size: 2rem;
    color: #003f71;
}

.titoloServizio {
    font-family: 'Noto Sans';
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.testoServizio {
    font-family: 'Noto Sans';
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.modaleLink {
  color: white;
}

.modaleLink:hover {
  color: white;
  text-decoration: underline;
}


.headerCentrale {
    /*position: fixed;
    top: 0;
    left: 0;*/
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    display: flex;
    align-items: center;
}

.adminBar {
    margin-top: 32px;
}

/*.scorre {
    background-color: #003f71;
    background: rgb(118,70,56);
    background: -moz-linear-gradient(90deg, rgba(118,70,56,1) 15%, rgba(118,70,56,1) 70%);
    background: -webkit-linear-gradient(90deg, rgba(118,70,56,1) 15%, rgba(118,70,56,1) 70%);
    background: linear-gradient(90deg, rgba(118,70,56,1) 15%, rgba(118,70,56,1) 70%);
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}*/


.scorre {
    background-color: #003f71;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    height: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}


.bordoSezione {
	border: 1px solid #c0c0c0; 
}

.altezzaIcona {
	height: 110px;
} 


.altezzaLogoRegione {
	height: 120px;
} 

.bloccoIconaInterno {
background-color:#143508;
background: rgb(20,53,8);
background: -moz-linear-gradient(90deg, rgba(20,53,8,1) 15%, rgba(111,123,13,1) 70%);
background: -webkit-linear-gradient(90deg, rgba(20,53,8,1) 15%, rgba(111,123,13,1) 70%);
background: linear-gradient(90deg, rgba(20,53,8,1) 15%, rgba(111,123,13,1) 70%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#143508",endColorstr="#6f7b0d",GradientType=1);
border-radius: 30px 29px 0px 0px;
  -webkit-border-radius: 30px 29px 0px 0px;
  -moz-border-radius: 30px 29px 0px 0px;
  padding: 2.5rem;
}

.bloccoDettaglio {
	border: 1px solid #c0c0c0;
	box-shadow: 7px 8px 5px 0px rgba(192,192,192,0.55);
-webkit-box-shadow: 7px 8px 5px 0px rgba(192,192,192,0.55);
-moz-box-shadow: 7px 8px 5px 0px rgba(192,192,192,0.55);
}

.strisciaGrigia {
	background-color: #f3f3f3;
	padding: 2rem;
} 

.linkStriscia {
	font-family: "Noto Sans";
	color: #303310;
	font-size: 2rem;
}

.linkStriscia:hover {
	color: #303310;
	text-decoration: underline;
}

.coloreVerde {
	color: #003f71; 
}


/* sezione prodotti */

.sezioneProdotti {
    display: flex;
    flex-direction: column;
  padding-bottom: 2rem;
}

.strisciaProdotto {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.altre-piscine .strisciaProdotto {
	display: block;
}

.strisciaProdotto:hover {
    height: 350px;
}

.strisciaProdotto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.strisciaProdotto:hover img {
    transform: scale(1.1);
}

.titoloProdotto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-transform: uppercase;
    font-family: 'Noto Sans';
    font-size: 2.5rem;
    text-align: center;
    width: 100%;
    padding: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.altre-piscine .titoloProdotto {
	font-size: 1.7rem;
}

.overlayProdotto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.strisciaProdotto:hover .overlayProdotto {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.bottoneAttivo {
	border: 1px solid white;
	padding:.5rem;
	font-size: 1.2rem;
	color: white;
	margin-right: 2rem;
}

.titoloInterno {
	color:#bfcd3c;
}

.bloccoInterna {
	height: 45rem;
}

.testoBiancoInterno {
	color: white;
   font-size: 1rem;
   text-align: center;
}

.bloccoLineaSezioni {
	margin-top: -12%;
}

.bloccoCardInterna {
	position: relative;
}

.sfondoSezioneInterna {
	background-color: #303310;
	border-radius: 15px;
	position: absolute;
  width: 100%;
  top: 54%;
  padding-top: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
}

.iconaInterna {
	height: 100px;
	display: block;
	margin: auto;
	z-index: 99999;
	position: relative;
}

.btn-collap {
	background-color: #003f71;
	color:white;
	border:1px solid #003f71;
	border-radius: 0px;
	font-size: 1.3rem;
	font-family: "Noto Sans";
	text-transform: uppercase;
}

.bloccoTestatina {
	text-transform: uppercase;
}



.btn-collap:hover {
	background-color: #003f71;
	color:white;
	border:1px solid #003f71;
}

.menuInterno {
	list-style: none;
	padding: 1rem;
	margin-top: 2rem;
}

#menuMobile {
	min-width: 300px;
	max-width: 300px;
	height: 100vh;
	position: fixed;
	top: 0;
	left: -300px;
	/* top layer */
	z-index: 9999;
	transition: all 0.3s;
	background: #003f71;
	overflow-y: hidden;
  }

#menuMobile.active {
	left:0;
}

.menuInterno .nav-link {
	font-family: "Noto Sans";
  color: white;
  font-size: 1rem;
  position: relative;
  padding: 1rem;
  border-bottom: 2px solid white;
}

.overlay {
	display: none;
	position: fixed;
	/* full screen */
	width: 100vw;
	height: 100vh;
	/* transparent black */
	background: rgba(0, 0, 0, 0.7);
	/* middle layer, i.e. appears below the sidebar */
	z-index: 998;
	opacity: 0;
	/* animate the transition */
	transition: all 0.5s ease-in-out;
  }
  /* display .overlay when it has the .active class */
  .overlay.active {
	display: block;
	opacity: 1;
  }

  #dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #003f71;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    color:white;
}

.imgCorta {
	width: 92%;
	margin: auto;
}

#mappa {
  height: 500px;
  width: 100%;
}

.centraleFlex {
	  display: flex;
      align-items: center;
      justify-content: center;
}

.margineAltoMio {
	margin-top: 4rem;
}

.altezzaLogo {
	height: 70px;
}

.paddingNo {
	padding-left: 0px!important;
  padding-right: 0px!important;
}

.no-bg {
	background-color: transparent !important;
	border: none !important;
}

.rigaRossaLeggera {
	height: .2rem;
  background-color: #003f71;
  width: 100%;
  opacity: 1;
}

.altezzaCardCitta {
	height: 600px;
}

.bg-rosso-opaco {
	position: absolute;
  width: 100%;
  height: 100%;
  background: #003f71;
  opacity: .4;
}

.internoCitta {
	position: absolute;
	bottom: -30px;
	right: 0;
	background-color: white;
	padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 260px;
  text-align: center;
  -webkit-box-shadow: 5px 5px 10px 5px #B7B7B7; 
  box-shadow: 5px 5px 10px 5px #B7B7B7;
}

.linkCitta {
	color: #003f71;
	font-family: 'BarlowCondensedBold';
	text-decoration: none;
}

.rigaCitta {
	height: .2rem;
  background-color: #003f71;
  width: 40%;
  opacity: 1;
  display: block;
  margin: auto;
}

.widget {
	  margin-bottom: 1rem;
	  margin-top: 1rem;
}

.fissato {
	position: fixed;
  z-index: 9998;
  background: #f8f6f6;
  width: 100%;
  height: 80px;
  top:0;
  transition: height 0.5s;
  -webkit-transition: height 0.5s;
  -moz-transition: height 0.5s;
  }

  .fissato .logoMobile {
	height: 80px;
	transition: height 0.5s;
	-webkit-transition: height 0.5s;
	-moz-transition: height 0.5s;
  }

  .linkBianco {
	color: white;
  }

  .linkBianco:hover {
	color: white;
	text-decoration: underline;
  }

  .sidebar img {
	width: 100%;
  }

  


/* LOADER RICERCA */

#loader-wrapper {
	display: none;
}

#loader-wrapper {
	background-color: rgba(255, 255, 255, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
  }

  #loader {
	display: block;
	position: relative;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #202326;
	-webkit-animation: spin 2s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 2s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
  }

  #loader:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #202326;
	-webkit-animation: spin 3s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 3s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
  }

  #loader:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #202326;
	-webkit-animation: spin 1.5s linear infinite;
	/* Chrome, Opera 15+, Safari 5+ */
	animation: spin 1.5s linear infinite;
	/* Chrome, Firefox 16+, IE 10+, Opera */
  }

  @-webkit-keyframes spin {
	0% {
	  -webkit-transform: rotate(0deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(0deg);
	  /* IE 9 */
	  transform: rotate(0deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
	100% {
	  -webkit-transform: rotate(360deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(360deg);
	  /* IE 9 */
	  transform: rotate(360deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
  }
  @keyframes spin {
	0% {
	  -webkit-transform: rotate(0deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(0deg);
	  /* IE 9 */
	  transform: rotate(0deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
	100% {
	  -webkit-transform: rotate(360deg);
	  /* Chrome, Opera 15+, Safari 3.1+ */
	  -ms-transform: rotate(360deg);
	  /* IE 9 */
	  transform: rotate(360deg);
	  /* Firefox 16+, IE 10+, Opera */
	}
  }

body {
  font-family: 'Noto Sans', sans-serif;
  color: #5b5b5b;
  font-size: 1.1rem;
}

.paddingPagina {
	padding-top: 48px;
}

.container {
  max-width: 88%;
}

.paginaInterna {
  text-align: justify;
  font-size: 1rem;
}

.testoSlider h1 {
  font-family: 'Noto Sans';	
  font-size: 1.5rem;
  color: white;
}    

.contenutoSlider {
 font-family: 'Noto Sans';
 color:white;
}

.sottoTitoloPagina {
  font-family: 'Noto Sans';
  color: #303310;
}

.titoloPagina {
	color: #303310;
	font-family: 'Noto Sans';
}

.titoloPagina2 {
	color: #303310;
	font-family: 'Noto Sans';
}

.altezzaItinerari {
  height: 80px;
}

.itinerariGiallo {
	color:#2e4909;
	font-family: "Noto Sans";
	font-size: 1.5rem;
}

.vertical-center {
	display: flex;
	align-items: center;
	justify-content: center;
  }

.sfondoMarrone {
  background-color: #3b1508;
}

.paddingStriscia {
	padding: 1.9rem !important;
}


.titoloCeramista {
	font-family: 'Noto Sans';
	color: #003f71;
}

.titoloItinerario {
   font-family: 'Noto Sans';
	color: white;
}


.dueColonne {
  column-count: 2;
  column-gap: 40px;
}

.bloccoSfondoRosso {
	background-color: #003f71;
}

.bg-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.bottega {
  font-family: 'Noto Sans';
  color: #003f71;
  font-style: italic;
  font-weight: lighter!important;
}

.card-title {
	font-family: 'Noto Sans';
	color: #003f71;
	font-size: 1.5rem;
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 1.3rem;
}

.altezzaCard {
  height: 300px;
}

.box p {
 margin-bottom: 0px;
} 

.titoloSito {
	color: #003f71;
  border-bottom: 4px solid white;
  text-decoration: none;
  font-size: 1.4rem;
  padding-bottom: .5rem;
  font-family: "Noto Sans";
} 

.titoloSito:hover {
	color: #2e4909;
  border-bottom: 4px solid #2e4909;
  text-decoration: none;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Montserrat", sans-serif;
  color:white;
  font-size: 1rem;
  position: relative;
}


.navbar-light .navbar-nav li {
	padding-left: .5rem;
	padding-right: .5rem;
	position: relative;
	display: flex;
	align-items: center;
}

.navbar-light .navbar-nav .current_page_item > .nav-link {
  color: white;
}

.navbar-light .navbar-nav .nav-link:hover {
  color:white;
  text-decoration: underline;
}

.navbar-light .navbar-nav .nav-link:hover:before {
	width: 100%;
}

.navbar-light .navbar-nav .current_page_item > .nav-link:before {
	width: 100%;
}

.navbar-expand-xl .navbar-nav .nav-link {
  padding-right: .9rem;
  padding-left: .9rem;
  display: flex;
  align-items: center;
}

.navbar-light .navbar-nav .show > .nav-link {
  color:white;
  opacity: 1;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #003f71;
  z-index: 9999;
  width: 100%;
  list-style: none;
  padding-left: 0rem;
} 

.sub-menu li {
  display: block;
  text-align: left;
}

.sub-menu li a {
  color: white;
  font-family: 'Noto Sans';
  text-transform: uppercase;
  padding: 1rem;
}

.sub-menu li a:hover {
  color: #2e4909;
}

.menu-item-has-children > a:after {
  content: "\f107";
  font-family: FontAwesome;
  padding-left: 10px;
}

.menu-item-has-children:hover > .sub-menu {
  display: block;
}



.dropdown-menu {
  background-color: white;
  border: 1px solid black;
}

.dropdown-item {
  color: black;
  font-family: 'Noto Sans';
  text-transform: uppercase;
}

.linkAzzurro {
	  color: #003f71;
	  font-family: 'Noto Sans';
}


.dropdown-item:hover {
  color:#2e4909;
  background-color: #169f1d;
}

.active {
  color: #003f71!important;
}

.navbar .divider {
	background-color: white;
  border-right: 1px solid white;
  height: 25px;
  margin-top: 10%;
}

.active > .dropdown-item {
  color:#003f71;
}


.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #003f71;
  border-color: #003f71;
}

.pagination {
  font-size: 1rem;
}
.page-link {
  font-size: 1rem;
  color: #003f71;
}

a {
  color: #003f71;
  text-decoration: none;
}

a:hover {
  color: #003f71;
  text-decoration: underline;
}


.bloccoCardFrantoio {
  border: 1px solid #003f71;
  box-shadow: 7px 8px 5px 0px rgba(192,192,192,0.55);
  -webkit-box-shadow: 7px 8px 5px 0px rgba(192,192,192,0.55);
  -moz-box-shadow: 7px 8px 5px 0px rgba(192,192,192,0.55);
}

.bloccoInternoFrantoio {
  background-color: #303310;
  color: #5b5b5b;
  padding: 1rem;
  font-family: 'Noto Sans';
  padding:3rem;
  height: 230px;
}

.testoCardFrantoio {
	padding: 3rem;	
}

.titoloVerde {
	color: #bfcd3c;
  font-family: 'Noto Sans';
}
.coloreVerdeNormal {
	color: #bfcd3c;
	font-size: 1.5rem;
}

.altezzaTestaBase {
  height: 500px;
}

.altezzaLogoCitta {
	height: 250px;
}

.testoVedi {
  font-family: 'Noto Sans';
  color: #003f71;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.boxtag {
	border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding: 1rem;
text-align: center;
}

.linkTag {
  color: #2e4909;
  font-family: 'Noto Sans';
  margin-right: 1rem;
}

.sfondoEsperienza {
	background: #e39b5c;
  padding: 1rem;
  
}

.bold {
	font-family: 'Noto Sans';
}

.controlloMuseo {
	  font-family: 'Noto Sans';
  color: #003f71;
  cursor: pointer;
  font-weight: bold;
}

.controlloMuseo:hover {
	color: #003f71;
	text-decoration: underline;
}

.circle-with-title {
    display: flex; /* Utilizza flexbox per allineare i figli */
    align-items: center; /* Centra verticalmente i figli */
}

.circle {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: white;
	font-size: 11px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	padding: 0.3rem;
}

.coloreMarrone {
	background-color: #003f71;
}
.coloreGrigio {
	background-color: #adbfc1;
}

.coloreAzzurro {
	background-color: #003f71;
}

.altezzaPrimo {
	height: 500px;
}


.linkCeramista {
	color: #003f71;
	cursor: pointer;
}
.linkCeramista:hover {
	color: #003f71;
	text-decoration: underline;
}

.fontPiccolo {
	font-size: 1.2rem;
	padding: .6rem;
}

.bloccoTestoGuida p {
	margin-bottom: .3rem;
}

.sottotitoloOpera {
	font-family: 'Noto Sans';
  color: white;
  font-style: italic;
  font-weight: lighter !important;
  text-transform: none!important;
}

.sottotitoloNormale {
	font-family: 'Noto Sans';
  color: #003f71;
  font-style: italic;
  font-weight: lighter !important;
  text-transform: none!important;
}

.sfondoPrenota {
	background: #003f71;
	padding: .6 rem;
	text-transform: uppercase;
	font-family: 'Noto Sans';
}

.imgCerchio {
  border: 7px solid #003f71;
  border-radius: 50%;
  height: 200px;
  width: 200px;
  display: block;
  margin: auto;
}

.altezzaImgEsperienze {
	height: 500px;
}

.bloccoNomeFoto {
	background-color: #e39b5c;
	color:white;
	font-family: 'Noto Sans';
	padding: 1rem;
	text-align: center;
}

.bloccoDescrizioneFoto {
	font-family: 'Noto Sans';
}

.altezzaInterna {
	  height: 400px;
}

.popupItinerario {
  position: relative;
}

.bloccoInterno {
	background-color: #003f71;
  color: white;
  padding: 1rem;
  font-family: 'Noto Sans';
  position: absolute;
}

.videoIntero {
	object-fit: cover;
}

.pulsante {
	font-size: .9rem;
	text-transform: uppercase;
}

strong, b {
	color: #003f71;
}

.linea {
  position: relative;
}

.linea::after {
content: '';
width: 45px;
height: 2px;
position: absolute;
left: 0;
right: 0;
bottom: -10px;
background: #2e4909;
}

footer {
  background-color: #003f71;
}



.btn:disabled {
  background-color: #003f71;
  color:white;
  border:1px solid #003f71;
}

footer {
	font-size: 1rem;
}

footer p {
  padding-top: .2rem;
  padding-bottom: .2rem;
  margin-bottom: 0px;
  font-size: 1rem;
  color:white;
  font-family: "Montserrat", sans-serif;
}

.bianco {
  color: white;
}

.bianco:hover {
  color: white;
  text-decoration: underline;
}



.footerFinale {
	background-color: black;
	color:white;
}

.footerFinale p {
	color:white;
	font-size: .9rem;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.form-control::placeholder {
	color: #6c757d;
	opacity: 1;
	font-family: "Noto Sans";
}

.textarea {
	height: 130px;
}

.testoCittaCanino {
	color:#9f9d9d;
}

.linkVerde {
  color: #303310;
}

.linkVerde:hover {
  color: #303310;
  text-decoration: underline;
}

.biancoFooter {
  width: 80%;
  background-color: white;
  height: 2px;
}

.titoloFooter {
  font-family: 'Noto Sans';
  letter-spacing: 1px;
  padding-bottom: 1.3rem;
}

.altezzaComuni {
  height: 100px;
} 

.altezzaSlider {
  height: 500px;
  margin: 0 0 0rem;
  border-radius: 40px;
}
.bg-grigio {
  background-color: #ebeded;
} 

.prefooter{
  background-color: #ebeded;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.imgLogoCna {
	display: block;
	margin: auto;
}

.rigaRossa {
	height: .2rem;
	background-color: #003f71;
	width: 100%;
	opacity: 1;
	color: #003f71;
} 

.rigaBlu {
	height: .3rem;
	background-color: #003f71;
	width: 100%;
	opacity: 1;
	color:#003f71;
}

.chiudiMuseo {
	font-size: 3rem;
	color:white;
}
.chiudiMuseo:hover {
	color: #2e4909;
}

.footer-title {
	font-family: 'Noto Sans';
  font-size: 1.2rem;
  text-transform: uppercase;
  color: white;
}

.social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social a:hover {
    color: #003f71;
    transform: translateY(-2px);
}

.btn-primary, .woocommerce button.button.alt {
	background-color: #003f71;
	color:white;
	border:1px solid #003f71;
	padding-left: 2.3rem;
  padding-right: 2.3rem;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn:first-child:active, .woocommerce button.button.alt:hover, .woocommerce button.button.alt:active, .woocommerce button.button.alt:focus {
	background-color: white;
	color: #003f71;
	border:1px solid #003f71;
}


.btn-social {
	background-color: #003f71;
	color:white;
	border:1px solid #003f71;
	font-size: 1.4rem;
	margin-right: .5rem;
	margin-left: .5rem;
}

.btn-social:hover {
	background-color: white;
	color: #003f71;
	border:1px solid #003f71;
}


.btn-normale {
  background-color: #003f71;
  color: white;
  border: 1px solid #003f71;
  font-family: 'Noto Sans';
  text-transform: uppercase;
border-radius: 0px;
padding-top: 1rem;
padding-bottom: 1rem;
padding-right: 2rem;
padding-left: 2rem;
margin-left: 2rem;
margin-right: 2rem;
}



.btn-normale:hover {
  background-color: white;
  color: #003f71;
  border: 1px solid #003f71;
}

.btn-filtro {
	background-color: white;
  color: #003f71;
  border: 1px solid #003f71;
  font-family: 'Noto Sans';
  text-transform: uppercase;
  border-radius: 0px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 2rem;
  padding-left: 2rem;
}

.btn-filtro:hover {
	background-color: #003f71;
  color: white;
  border: 1px solid #003f71;
}


.attivo {
	background-color: #003f71;
	color:white;
	border:1px solid #003f71;
}



.marrone {
  color: #003f71;
}
.giallo {
	  color: #d68644;
}
.rosso {
	color: #a44f2c;
}

.marronescuro {
   color: #5b2f2d;
}

h1, h2, h3, h4 {
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.titoloSito {
	font-size: 3rem;
}

.altroTestoColore {
  color: #003f71;
} 

.card-body h3 {
	text-align: left;
}

.altezzaProgetti {
	height: 400px;
}

.linkNero {
	color:black;
}

.linkNero:hover {
	color:#2e4909;
	text-decoration: underline;
}

.linkCategoria {
	background: black;
	padding: .5rem;
	display: inline-block;
	margin-bottom: 1rem;
	color: white;
	font-size: .8rem;
	text-transform: uppercase;
}

.linkCategoria:hover {
	background: #2e4909;
	color: white;
}

.linkRosso {
	color: #303310;
text-decoration: none;
}

.linkRosso:hover {
	color: #303310;
text-decoration: underline;
}

.vertical-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

strong {
	font-family: 'Noto Sans';
}


.hamburger-inner, .hamburger-inner::after, .hamburger-inner::before {
  background-color: white;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::after, .hamburger.is-active .hamburger-inner::before {
    background-color: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}


.griglia {
	width:100%;
}

.gridElement, .grid-sizer {
	width: 33.33333333%;
}


.altezzaLogoFooter {
	height: 50px;
	margin-top: 1rem;
  margin-bottom: 1rem;
}



.galleria-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.strisciaMarrone {
	background-color: #e6f3ff;
	padding: 4rem 0;
	color: #003f71;
	position: relative;
}

.strisciaMarrone::before,
.strisciaMarrone::after {
	content: "\f10d";
	font-family: FontAwesome;
	font-size: 6rem;
	position: absolute;
	color: rgba(118, 70, 56, 0.1);
	line-height: 1;
}

.strisciaMarrone::before {
	top: 1rem;
	left: 2rem;
}

.strisciaMarrone::after {
	bottom: 0;
	right: 2rem;
	transform: rotate(180deg);
}

.strisciaMarrone p {
	font-family: 'Noto Sans';
	font-size: 1.3rem;
	margin-bottom: 0;
	text-align: center;
	position: relative;
	z-index: 1;
}

@media screen and (max-width: 768px) {
	.strisciaMarrone::before,
	.strisciaMarrone::after {
		font-size: 5rem;
	}
	
	.strisciaMarrone::before {
		left: 1rem;
	}
	
	.strisciaMarrone::after {
		right: 1rem;
	}
}

.cta-section {
    background: linear-gradient(135deg, #003f71 0%, #003f71 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.cta-section p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.cta-section .btn-normale {
    background-color: white;
    color: #003f71;
    border: 2px solid white;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-normale:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .btn-normale {
        margin: 0.5rem;
    }
}


@media screen and (min-width:1300px) {
	

}

@media screen and (max-width: 1500px) {

	.navbar-light .navbar-nav .nav-link {
		font-size: 1rem;
	}
}

@media screen and (max-width: 1024px) {

	.navbar-light .navbar-nav .nav-link {
		font-size: 1rem;
	}

}

@media screen and (max-width:768px) {
  
  
}

@media screen and (max-width: 767px) {

  .main-content-section p {
     text-align: center;
     font-size: 1.2rem;
  }
  
	.logo {
		margin-top: .5rem;
		height: 35px!important;
	}

	.scorre {
		height: 68px;
	}

  .titoloFooter {
	text-align: center;
	margin-top: 2rem;
  }

  .altezzaComuni {
	height: auto;
  }

  .altezzaCardCitta {
	height: 400px;
  }

  .margineAltoMio {
	margin-top: 0px;
}

.dueColonne {
	  column-count: 1;
}

.altezzaSlider {
	height: 230px;
}

.altezzaInterna {
	height: 250px;
}

.bloccoInterno {
  left: 0;
  margin-left: -27px;
}

.margineMenu {
	justify-content: center !important;
  margin: 0;
  height: 60px;
  display: flex;
  align-items: center;
}

.menuLingue {
	flex-direction: row;
}

.sub-menu {
	position: static;
	margin-left: 1rem;
	width: 80%;
}

.nav-link {
	text-transform: uppercase;
}

.nav-link:hover {
	color: white;
}

.sfondoSezioneInterna {
	position: static;
}

.bloccoInterna {
	height: auto;
}

.bloccoLineaSezioni {
	margin-top: auto;
}


}

@media screen and (max-width: 768px) {
    .fullscren-video {
        height: 60vh;
    }
    
    #video-background {
        object-position: center center;
    }


    .bottoneAttivo {
        font-size: 1.2rem;
        padding: 0.5rem;
        margin: 0 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .fullscren-video {
        /*height: 50vh;*/
		height: 32vh;
    }
}



@media screen and (max-width: 768px) {
    .hero-section {
        height: 80vh; /* Riduce l'altezza su mobile */
    }

    .hero-content {
        height: 80vh;
        padding: 0rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 1rem;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.5); /* Overlay più scuro su mobile per migliore leggibilità */
    }
}

@media screen and (max-width: 480px) {
    .hero-section {
        height: 70vh; /* Ancora più corto su schermi molto piccoli */
    }

    .hero-content {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}

.lavorazioni-section {
  padding: 4rem 0;
}

.lavorazioni-section h1 {
  color: #003f71;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.panel {
  background: white;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  height: 100%;
}

.panel:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.panel h3 {
  color: #003f71;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 4.5rem;
}

.panel .btn-primary {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.altezzaPrimo {
  height: 300px;
  overflow: hidden;
}

.altezzaPrimo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.panel:hover .altezzaPrimo img {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .lavorazioni-section {
      padding: 2rem 0;
  }

  .lavorazioni-section h1 {
      font-size: 2rem;
      margin-bottom: 2rem;
  }

  .panel {
      padding: 1rem;
  }

  .panel h3 {
      font-size: 1.3rem;
      min-height: 3rem;
  }

  .panel p {
      font-size: 0.9rem;
      min-height: 4rem;
  }

  .altezzaPrimo {
      height: 250px;
  }
}

/* Stili per la sezione Home */
.sezioneHome {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.sezioneHome .card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sezioneHome .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.sezioneHome .card-title {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 20px;
}

.sezioneHome .card-text {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: justify;
}

.sezioneHome .btn-primary {
  background-color: #003f71;
  border-color: #003f71;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sezioneHome .btn-primary:hover {
  background-color: white;
  border-color: #003f71;
  transform: translateY(-2px);
  color: #003f71;
}

.sezioneHome .sidebar {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}


/* Stili per card con altezza uniforme */
.sezioneHome .cardImgWrapper {
  height: 200px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.sezioneHome .cardImgWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.sezioneHome .card:hover .cardImgWrapper img {
  transform: scale(1.05);
}

.sezioneHome .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
  min-height: 2.6rem;
  display: -webkit-box;
 /* -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;*/
}

.sezioneHome .card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6c757d;
}

.sezioneHome .btn-primary {
  font-size: 1.1rem;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
}

.detail-icon {
  color: #003f71;
}

.text-primary {
  color: #003f71 !important;
}

.bg-primary {
  background-color: #003f71 !important;
}

@media (max-width: 768px) {
  .sezioneHome {
    padding: 40px 0;
  }
  
  .sezioneHome .sidebar {
    margin-top: 30px;
  }
  
  /* Su mobile disabilito il sticky per evitare problemi di spazio */
  .sidebar-sticky {
    position: relative;
    top: auto;
  }
}

/* ===============================
   STILI CAROUSEL HOME
   =============================== */

.homeCarousel {
  position: relative;
  margin-bottom: 0;
}

.homeCarousel .carousel-inner {
  border-radius: 0;
}

.homeCarousel .carousel-item {
  height: 600px;
  position: relative;
  overflow: hidden;
}

.homeCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-menu {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

.position-center {
   object-position: center;
}

.position-top {
   object-position: top;
}

.position-bottom {
   object-position: bottom;
}

.embed-responsive-item {
  width: 100%;
  height: 300px;
}

.videoInterno {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Overlay scuro per migliorare la leggibilità del testo */
.homeCarousel .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Stili per le caption */
.homeCarousel .carousel-caption {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 20px 30px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  width: 80%;
  z-index: 2;
}

.homeCarousel .carousel-caption h5 {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.3;
}

/* Posizionamento del testo - Sinistra */
.homeCarousel .carousel-caption.text-left {
  left: 50px;
  transform: none;
  text-align: left;
  max-width: 400px;
}

/* Posizionamento del testo - Destra */
.homeCarousel .carousel-caption.text-right {
  left: auto;
  right: 50px;
  transform: none;
  text-align: right;
  max-width: 400px;
}

/* Posizionamento del testo - Centro (default) */
.homeCarousel .carousel-caption.text-center {
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 80%;
}

/* Controlli del carousel */
.homeCarousel .carousel-control-prev,
.homeCarousel .carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.homeCarousel .carousel-control-prev:hover,
.homeCarousel .carousel-control-next:hover {
  opacity: 1;
}

.homeCarousel .carousel-control-prev-icon,
.homeCarousel .carousel-control-next-icon {
  width: 30px;
  height: 30px;
  background-size: 100%;
}

/* Indicatori 
.homeCarousel .carousel-indicators {
  bottom: 20px;
  margin-bottom: 0;
}

.homeCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.homeCarousel .carousel-indicators button.active {
  background-color: white;
  transform: scale(1.2);
}*/

/* Responsive */
@media (max-width: 768px) {
  .homeCarousel .carousel-item {
    height: 400px;
  }
  
  .homeCarousel .carousel-caption {
    bottom: 30px;
    padding: 15px 20px;
    max-width: 90%;
  }
  
  .homeCarousel .carousel-caption h5 {
    font-size: 1.3rem;
  }
  
  .homeCarousel .carousel-caption.text-left,
  .homeCarousel .carousel-caption.text-right {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    max-width: 90%;
  }
  
  .homeCarousel .carousel-control-prev,
  .homeCarousel .carousel-control-next {
    width: 10%;
  }
}

@media (max-width: 480px) {
  .homeCarousel .carousel-item {
    height: 300px;
  }
  
  .homeCarousel .carousel-caption {
    bottom: 20px;
    padding: 10px 15px;
  }
  
  .homeCarousel .carousel-caption h5 {
    font-size: 1.1rem;
  }
}

/* ================================
   PRODUCT/LIBRO TEMPLATE STYLES
   ================================ */

.product-section {
  padding: 80px 0;
}

.product-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.product-price .price {
  color: #003f71!important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  text-align: justify;
}

.product-short-description {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #003f71;
}

.product-short-description h5 {
  color: #003f71;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Accordion L'autore */
.accordion {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-item {
  border: none;
  background: #fff;
}

.accordion-item:not(:last-child) {
  border-bottom: 1px solid #e9ecef;
}

.accordion-button {
  background-color: #f8f9fa;
  color: #003f71;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 20px 25px;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #003f71;
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(118, 70, 56, 0.25);
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23764638'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-body {
  padding: 25px;
  background-color: #fff;
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

.accordion-body p {
  margin-bottom: 15px;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.product-add-to-cart {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
}

.variation-select .form-select {
  border: 2px solid #e9ecef;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.variation-select .form-select:focus {
  border-color: #003f71;
  box-shadow: 0 0 0 0.2rem rgba(118, 70, 56, 0.25);
}

.quantity-section .input-group {
  border-radius: 6px;
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #003f71!important;
  color: #003f71!important;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background-color: #003f71!important;
  color: white !important;
}

.quantity-section input[type="number"] {
  border: 2px solid #003f71;
  border-left: none;
  border-right: none;
  font-weight: 600;
  font-size: 1rem;
  height: 40px;
}

.quantity-section input[type="number"]:focus {
  box-shadow: none;
  border-color: #003f71;
}

.product-meta {
  font-size: 0.95rem;
  color: #666;
}

.product-meta strong {
  color: #333;
  font-weight: 600;
}

.product-meta a {
  color: #003f71;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-meta a:hover {
  color: #5a3429;
  text-decoration: underline;
}

.product-image-container .featured-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.product-image-container .featured-image-container:hover {
  transform: translateY(-5px);
}


.product-image-container .featured-image:hover {
  transform: scale(1.05);
}

.no-image-placeholder {
  border: 2px dashed #ddd;
}

.product-gallery .gallery-thumb {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-gallery .gallery-thumb:hover {
  transform: scale(1.05);
}

.product-gallery .gallery-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.product-gallery .gallery-thumb:hover img {
  filter: brightness(1.1);
}

/* Alert personalizzato */
.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
  border-radius: 8px;
  padding: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-section {
    padding: 40px 0;
  }
  
  .product-title {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .product-price {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .product-add-to-cart {
    margin-top: 30px;
    padding: 20px;
  }
  
  .quantity-section .row {
    justify-content: center;
  }
  
  .single_add_to_cart_button {
    width: 100%;
    padding: 18px;
  }
  
  .product-image-container {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .product-description {
    font-size: 1rem;
  }
  
  .product-short-description {
    padding: 15px;
    margin: 20px 0;
  }
  
  .product-gallery .gallery-thumb img {
    height: 60px;
  }
}

/* ================================
   WOOCOMMERCE CHECKOUT STYLES
   ================================ */

   .woocommerce-notices-wrapper .wc-forward {
    display: none!important;
   }

/* Wrapper principale checkout */
.woocommerce-checkout {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 40px 0;
}

.woocommerce form.checkout {
  background: transparent;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Container principale */
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Colonna sinistra - Dettagli fatturazione */
.checkout-billing {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
}

/* Colonna destra - Riepilogo ordine */
.checkout-order-review {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* Titoli sezioni */
.woocommerce .col2-set h3,
.woocommerce #order_review_heading,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  color: #003f71;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
  position: relative;
}

.woocommerce .col2-set h3::after,
.woocommerce #order_review_heading::after,
.woocommerce-billing-fields h3::after,
.woocommerce-shipping-fields h3::after,
.woocommerce-additional-fields h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #003f71;
}

/* Campi del form */
.woocommerce form .form-row {
  margin-bottom: 20px;
}

.woocommerce form .form-row label {
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
  font-family: 'Montserrat', sans-serif;
}

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
  font-family: 'Noto Sans', sans-serif;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
  border-color: #003f71;
  box-shadow: 0 0 0 3px rgba(0, 63, 113, 0.1);
  outline: none;
}

/* Campi richiesti */
.woocommerce form .required {
  color: #dc3545;
  font-weight: bold;
}

/* Checkbox e radio buttons */
.woocommerce form .form-row .input-checkbox {
  width: auto;
  margin-right: 8px;
  accent-color: #003f71;
}

.woocommerce .woocommerce-terms-and-conditions-checkbox-text {
  font-size: 0.9rem;
  color: #666;
}

/* Select personalizzati */
.woocommerce form select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23003f71' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

/* Riepilogo ordine */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  margin-bottom: 25px;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.woocommerce table.shop_table thead th {
  background: #003f71;
  color: white;
  padding: 15px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: none;
}

.woocommerce table.shop_table tbody td {
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
  border: none;
}

.woocommerce table.shop_table tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  padding: 15px;
  border-top: 2px solid #003f71;
  font-weight: 600;
  background: white;
  border-bottom: none;
}

.woocommerce table.shop_table .cart-subtotal th,
.woocommerce table.shop_table .shipping th,
.woocommerce table.shop_table .order-total th {
  color: #003f71;
  font-family: 'Montserrat', sans-serif;
}

.woocommerce table.shop_table .order-total {
  background: #f8f9fa;
  font-size: 1.1rem;
}

.woocommerce table.shop_table .order-total .amount {
  color: #003f71;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Metodi di spedizione */
.woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0;
}



.woocommerce-shipping-methods li label {
  font-weight: 600;
  color: #003f71;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0;
}

/* Metodi di pagamento */
.woocommerce-checkout-payment {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid #e9ecef;
}

.woocommerce-checkout-payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.woocommerce-checkout-payment .payment_method_paypal,
.woocommerce-checkout-payment .payment_method_stripe,
.woocommerce-checkout-payment .payment_method_bacs,
.woocommerce-checkout-payment .payment_method_cod {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.woocommerce-checkout-payment .payment_method_paypal:hover,
.woocommerce-checkout-payment .payment_method_stripe:hover,
.woocommerce-checkout-payment .payment_method_bacs:hover,
.woocommerce-checkout-payment .payment_method_cod:hover {
  border-color: #003f71;
  box-shadow: 0 2px 8px rgba(0,63,113,0.1);
}

.woocommerce-checkout-payment .payment_method_paypal label,
.woocommerce-checkout-payment .payment_method_stripe label,
.woocommerce-checkout-payment .payment_method_bacs label,
.woocommerce-checkout-payment .payment_method_cod label {
  padding: 15px;
  margin: 0;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: block;
  position: relative;
}

.woocommerce-checkout-payment .payment_method_paypal input,
.woocommerce-checkout-payment .payment_method_stripe input,
.woocommerce-checkout-payment .payment_method_bacs input,
.woocommerce-checkout-payment .payment_method_cod input {
  margin-right: 10px;
  accent-color: #003f71;
}

.woocommerce-checkout-payment .payment_box {
  background: #f8f9fa;
  border: none;
  border-radius: 0 0 8px 8px;
  padding: 20px;
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Stili per la rimozione prodotti nel checkout */
.checkout-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.checkout-remove-wrapper {
  flex-shrink: 0;
}

.checkout-product-name {
  flex: 1;
  font-weight: 500;
}

.checkout-remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
  border: none;
  cursor: pointer;
}

.checkout-remove-item:hover {
  background: #c82333;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
  color: white;
  text-decoration: none;
}

.checkout-remove-item:focus {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
  color: white;
  text-decoration: none;
}

.checkout-remove-item i {
  font-size: 10px;
  line-height: 1;
}

/* Animazione di rimozione */
.checkout-product-item.removing {
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.3s ease;
  pointer-events: none;
}

.checkout-product-item.removing .checkout-product-name {
  text-decoration: line-through;
}

/* Feedback di successo */
.checkout-remove-success {
  background: #d4edda;
  color: #155724;
  padding: 10px 15px;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  margin: 10px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-remove-success i {
  color: #28a745;
}

/* Stili responsivi per la rimozione prodotti */
@media (max-width: 768px) {
  .checkout-remove-item {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  
  .checkout-remove-item i {
    font-size: 8px;
  }
}

/* Pulsante conferma ordine */
.woocommerce #place_order {
  background: linear-gradient(135deg, #003f71 0%, #004d8a 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,63,113,0.3);
}

.woocommerce #place_order:hover {
  background: linear-gradient(135deg, #002d51 0%, #003d6b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,63,113,0.4);
}

.woocommerce #place_order:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Notice e messaggi */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border-radius: 8px;
  padding: 15px 20px 15px 50px;
  margin: 20px 0;
  border-left: 4px solid;
  font-family: 'Noto Sans', sans-serif;
  position: relative;
  line-height: 1.5;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Font Awesome 5 Free', 'FontAwesome';
  font-weight: 900;
  font-size: 1.1rem;
}

.woocommerce-error {
  background: #f8d7da;
  border-left-color: #dc3545;
  color: #721c24;
}

.woocommerce-error::before {
  content: '\f071';
  color: #dc3545;
}

.woocommerce-message {
  background: #d4edda;
  border-left-color: #28a745;
  color: #155724;
}

.woocommerce-message::before {
  content: '\f058';
  color: #28a745;
}

.woocommerce-info {
  background: #cce5ff;
  border-left-color: #003f71;
  color: #003f71;
}

.woocommerce-info::before {
  content: '\f05a';
  color: #003f71;
}

/* Login form nel checkout */
.woocommerce-form-login {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.woocommerce-form-login h3 {
  color: #003f71;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Coupon form */
.woocommerce-form-coupon {
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
  border: 1px solid #b3d9f2;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.woocommerce-form-coupon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #003f71, #0056b3);
}

.woocommerce-form-coupon p {
  margin-bottom: 20px;
  color: #003f71;
  font-weight: 500;
  font-size: 1rem;
}

.woocommerce-form-coupon .coupon-container {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.woocommerce-form-coupon input[type="text"] {
  flex: 1;
  min-width: 200px;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Noto Sans', sans-serif;
  transition: all 0.3s ease;
  background: white;
  color: #333;
}

.woocommerce-form-coupon input[type="text"]:focus {
  border-color: #003f71;
  box-shadow: 0 0 0 3px rgba(0, 63, 113, 0.1);
  outline: none;
}

.woocommerce-form-coupon input[type="text"]::placeholder {
  color: #999;
  font-style: italic;
}

.woocommerce-form-coupon .button,
.woocommerce-form-coupon button[name="apply_coupon"],
.woocommerce-form-coupon input[type="submit"] {
  background: linear-gradient(135deg, #003f71 0%, #004d8a 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 63, 113, 0.2);
  position: relative;
  overflow: hidden;
  min-width: 120px;
  white-space: nowrap;
}

.woocommerce-form-coupon .button::before,
.woocommerce-form-coupon button[name="apply_coupon"]::before,
.woocommerce-form-coupon input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.woocommerce-form-coupon .button:hover,
.woocommerce-form-coupon button[name="apply_coupon"]:hover,
.woocommerce-form-coupon input[type="submit"]:hover {
  background: linear-gradient(135deg, #002d51 0%, #003d6b 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 63, 113, 0.3);
}

.woocommerce-form-coupon .button:hover::before,
.woocommerce-form-coupon button[name="apply_coupon"]:hover::before,
.woocommerce-form-coupon input[type="submit"]:hover::before {
  left: 100%;
}

.woocommerce-form-coupon .button:active,
.woocommerce-form-coupon button[name="apply_coupon"]:active,
.woocommerce-form-coupon input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 63, 113, 0.2);
}

.woocommerce-form-coupon .button:disabled,
.woocommerce-form-coupon button[name="apply_coupon"]:disabled,
.woocommerce-form-coupon input[type="submit"]:disabled {
  background: #6c757d !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive per mobile */
@media (max-width: 576px) {
  .woocommerce-form-coupon {
    padding: 20px;
  }
  
  .woocommerce-form-coupon .coupon-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .woocommerce-form-coupon input[type="text"] {
    min-width: 100%;
  }
  
  .woocommerce-form-coupon .button {
    width: 100%;
    padding: 15px 24px;
    font-size: 1.1rem;
  }
}

/* Loading state */
.processing {
  opacity: 0.6;
  pointer-events: none;
}

.blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 8px;
}

/* Progress indicator */
.checkout-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 0 20px;
}

.checkout-progress .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.checkout-progress .step::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e9ecef;
  z-index: 1;
}

.checkout-progress .step:last-child::before {
  display: none;
}

.checkout-progress .step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.checkout-progress .step.active .step-number {
  background: #003f71;
  color: white;
}

.checkout-progress .step-label {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  font-weight: 500;
}

.checkout-progress .step.active .step-label {
  color: #003f71;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .checkout-order-review {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .woocommerce-checkout {
    padding: 20px 0;
  }
  
  .checkout-billing,
  .checkout-order-review {
    padding: 20px;
    margin: 0 15px;
  }
  
  .checkout-progress {
    padding: 0 10px;
    margin-bottom: 30px;
  }
  
  .checkout-progress .step-label {
    font-size: 0.8rem;
  }
  
  .woocommerce #place_order {
    padding: 15px 30px;
    font-size: 1rem;
  }
  
  .woocommerce table.shop_table thead th,
  .woocommerce table.shop_table tbody td,
  .woocommerce table.shop_table tfoot td,
  .woocommerce table.shop_table tfoot th {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .checkout-billing,
  .checkout-order-review {
    margin: 0 10px;
    padding: 15px;
  }
  
  .woocommerce .col2-set h3,
  .woocommerce #order_review_heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .woocommerce form .form-row {
    margin-bottom: 15px;
  }
  
  .woocommerce form .input-text,
  .woocommerce form select,
  .woocommerce form textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .checkout-progress .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
  
  .checkout-progress .step-label {
    font-size: 0.7rem;
  }
}

/* Stile per i prodotti nel carrello */
.woocommerce table.shop_table .product-name {
  font-weight: 600;
}

.woocommerce table.shop_table .product-name a {
  color: #003f71;
  text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover {
  text-decoration: underline;
}

.woocommerce table.shop_table .product-thumbnail img {
  border-radius: 6px;
  max-width: 60px;
  height: auto;
}

/* Stile quantity selector nel checkout */
.woocommerce table.shop_table .quantity input {
  width: 60px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
}

/* Fine stili checkout WooCommerce */

