	.card-container {
		max-width: 1140px;
	}
	.card-ristorante-body {
		margin-top: 10px;
	}
	.card {
		margin-bottom: 10px;
		background-color: #fff;
		border: 1px solid rgba(0,0,0,.125);
		border-radius:0px;
		border:0;
	}
	.card-title {
		font-family: sans-serif;
		font-weight: 300;
		font-size: 15px;
		color:#EC7205;
		line-height: 1.5;
		margin-bottom: 0;
		padding: 15px 20px;
		border-bottom: 1px solid rgba(77,82,89,0.07);
	}
	.card-body {
		padding:1.2rem!important;
	}
	.card-shadowed {
		-webkit-box-shadow: 0 0 25px rgba(0,0,0,0.07);
		box-shadow: 0 0 25px rgba(0,0,0,0.07);
	}
	.card-ristorante-box {
		margin-top: 5px;
	}
	/* BOX ORARI */
	#box_orari h5 {
		font-size: 19px;
		font-weight: 400;
		color:#EC7205;
	}
	.list-iconic {
		list-style: none;
		padding: 2px;
		margin-bottom: 0px;
	}
	.list-iconic i {
		padding-right:10px;
		font-size: 14px;
		color:#333;
	}
	.list-iconic > li {
		font-family:sans-serif;
		font-size:16px;
		line-height:1.6;
	}
	.list-iconic > li > strong {
		color: #333;
		font-weight: 400;
	}
	/* FINE BOX ORARI */
	
	/* VALUTAZIONI SITI */
	.card-valutazioni-body {
		padding:0px!important;
	}
	.riga-valutazione {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.icona-sito {
		height: 36px;
		width:36px;
		max-width:none!important;
		line-height: 36px;
		border-radius: 100%;
		background-color: #f5f6f7;
		color: #8b95a5;
		text-transform: uppercase;
		margin-left:15px;
	}
	.card-valutazioni-nome-sito {
		font-size:16px;
		font-family:sans-serif;
		font-weight:bolder;
	}
	.card-valutazioni-data-aggiornamento {
		font-style:italic;
		font-size:12px;
		font-family:sans-serif;
	}
	.card-valutazioni-voto {
		font-family:sans-serif;
		font-size:22px;
	}
	.card-valutazioni-n {
		font-family:sans-serif;
		font-size:10px;
	}
	.div-icona{
		width:60px;
		min-width: 60px;
		max-width: 60px;
		max-height: 36px;
		text-align:center;
	}
	.icona-sigla {
		border-radius: 100%;
		height: 36px;
		width: 36px;
		max-width:36px;
		max-height:36px;
		min-width:36px;
		min-height:36px;
		padding-top: 7px;
		font-family: sans-serif;
		color: white;
		font-weight: bold;
		font-size: 14px;
		margin-left: 14px;
	}
	.color-grigio {
		background-color: #FCFDFE;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	/* Comparatore */
		.comp-scr-scroller-nuovo {
			overflow-x: scroll;
			overflow-y: visible;
			width: 30%;
			float: right;
			/*border-left: 1px solid rgba(77,82,89,0.07);*/
			padding-right: 0px;
			margin-right: 5px;
		}
		/*.comp-strong h2 {
			font-size: 14px !important;
			line-height: 33px !important;
			margin: 0px 0;
			font-weight: 600;
			color: #333;
			font-family: sans-serif;
		}*/
		.comp-strong h2 {
			font-size: 14px !important;
			line-height: 33px !important;
			margin: 0px 0;
			font-weight: 600 !important;
			color: #333;
			font-family: sans-serif;
			margin-bottom: 23px;
			font-style: normal;
			line-height: 24px !important;
		}
		.comp-r-fixed, .comp-r-fixed td {
			height: auto;
		}
		.comp-scr-table .comp-scr-col {
			left: 0;
			position: absolute;
			top: auto;
			text-align: left;
			overflow: hidden;
			padding-right: 5px;
			font-family: sans-serif;
			font-size: 15px;
			font-weight:bolder;
			color:#707070;
			margin-left: 15px;
			width: calc(70% - 29px);
		}
		.comp-scr-col a {
			font-family: sans-serif;
			font-size: 15px;
			color:#707070;
		}
		.direction {
			position: relative;
			width: 9px;
			height: 10px;
			top: 8px;
			float: right;
			right: 7px;
		}
		.direction i {
			font-size: 30px;
			color: #e1e1e1;
		}
		.direction2 {
			position: relative;
			width: 9px;
			height: 10px;
			top: 8px;
			float: left;
			left:calc(70% - 30px);
		}
		.direction2 i {
			font-size: 30px;
			color: #e1e1e1;
		}
		.comp-scr-table tbody td {
			padding: 8px 10px;
			/*padding: 10px 35px;*/
			white-space: nowrap;
			text-align: center;
			font-family: sans-serif;
			font-size: 15px;
		}
		.comp-scr-table tbody tr td:nth-child(1){
			
		}
		.comp-scr-table tbody tr td:nth-child(2){
			background-color: #ffffd6;
		}
		.container-comparatore {
			padding-left: 0px;
			padding-right: 0px;
		}
		.color-grigio-scuro {
			background-color: #fafafa;
			padding-top: 10px;
			padding-bottom: 10px;
		}
		@media (max-width: 1000px) {
			.comp-scr-col a {
				font-size: 14px;
			}
		}
		@media (max-width: 500px) {
			.comp-scr-col a {
				font-size: 3.0vw;
			}
			.comp-strong h2 {
				font-size: 3.2vw!important;
			}
		}
		/* Card servizi */
		.card-servizi-body {
			padding:0px!important;
			padding-bottom:10px!important;
		}
		.card-servizi-nome-sito {
			font-size:14px;
			font-family:sans-serif;
			font-weight:bolder;
			padding-top:6px;
		}
		.card-icona-destra {
			position: absolute;
			right: 30px;
			top: 24px;
			z-index: 1;
		}
		.card-icona-destra i {
			font-size:25px;
			color:#EC7205;
		}
		
		
		.card-prodotti-body {
			padding:0px!important;
			padding-top: 5px!important;
			padding-bottom:10px!important;
		}
		.card-cucina-body {
			padding:0px!important;
			padding-top: 5px!important;
			padding-bottom:10px!important;
		}
		.card-cucina-nome-feature {
			font-size:18px;
			font-family:sans-serif;
			/*font-weight:bolder;*/
		}
		.card-cucina-elenco-tag {
			padding-top: 0px;
    padding-bottom: 5px;
    /* margin-left: 28px; */
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%; 
    display: inline-block;
		}
		.card-link-sluurpy {
			color:#EC7205;
		}
		.badge-sluurpy {
			background-color: #000;
		}
		.badge {
		    display: inline-block;
		    padding: .25em .4em;
		    font-size: 75%;
		    font-weight: 700;
		    line-height: 1;
		    text-align: center;
		    white-space: nowrap;
		    vertical-align: baseline;
		    border-radius: .25rem;
		    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
		}
		.badge {
			border-radius: 3px;
			font-weight: 301;
			line-height: 1.3;
			font-size: 85%;
			color:#FFF;
			max-width: 80%;
			
		}
		.card-piatti-chef {
			padding: 15px;
			line-height: 2;
		}
		/* ISTOGRAMMA AFFLUENZA */
		.istogramma-giorni {
			border: 1px solid rgba(77,82,89,0.07);
			border-top-left-radius: 4px;
			border-top-right-radius: 4px;
			width:100%;
			height:25px;
			display:flex;
			text-align: center;
			font-family: sans-serif;
			font-size: 13px;
			font-weight: bolder;
			padding-top: 2px;
		}
		.istogramma {
			border: 1px solid rgba(77,82,89,0.07);
			border-top:none;
			border-bottom:none;
			padding-top: 20px;
		}
		.istogramma-svg {
			width: 100%;
			height: 100px;
			transform: scale(1, -1);
			stroke-width: 1;
			stroke: #FFF;
			padding-left: 4%;
		}
		.istogramma-fasceorarie {
			border: 1px solid rgba(77,82,89,0.07);
			border-bottom-left-radius: 4px;
			border-bottom-right-radius: 4px;
			width:100%;
			height:25px;
			display:flex;
			text-align: center;
			font-family: sans-serif;
			font-size: 10px;
			font-weight: bolder;
			padding-top: 3px;
		}
		.istogramma-giorno {
			width: 14.28%;
			height: 100%;
			cursor:pointer;
		}
		.istogramma-giorno.active {
			color:#EC7205!important;
		}
		.istogramma-fascia {
			width: 12.5%;
			height: 100%;
		}
		/* CARD Recensioni fb*/
		.card-recensioni-fb-autore {
			font-size: 16px;
			font-family: sans-serif;
			font-weight: bolder;
			padding-top: 0px;
		}
		.card-recensioni-fb-voto {
			font-size: 12px;
			font-family: sans-serif;
		}
		.card-recensioni-fb-testo {
			font-style:italic;
			font-size:16px;
			font-family:sans-serif;
			padding-left:10px;
			padding-right:10px;
			padding-top: 2px;
			padding-bottom: 0px;
		}
		.card-recensioni-data {
			font-size:10px;
			font-family:sans-serif;
			padding-left:10px;
			padding-right:10px;
			text-align:right;
		}
		.badge-voto {
			font-weight: 400;
			line-height: 1.3;
			font-size: 12px;
			border-radius: 10rem;
			padding-right: .6em;
			padding-left: .6em;
			color:#FFF;
			padding-top: 1px;
			padding-bottom: 1px;
		}
		.badge-voto-fb {
			background-color: #3A5897;
		}
		.badge-voto-zomato {
			background-color: #DD3F4F;
		}
		.badge-voto-yelp {
			background-color: #DB4949;
		}
		.badge-voto-google {
			background-color: #DD4B39;
		}
		.card-recensioni-fb-icona {
			width: 60px;
			min-width: 60px;
			max-width: 60px;
			max-height: 36px;
			padding-top: 5px !important;
			padding-left: 0px !important;
		}
		.badge-stellina {
			font-size: 11px;
			padding-left: 1px;
		}
		/* CARD BEST DISH */
		.container-dish {
			padding-left:19px!important;
			padding-right:16px!important;
		}
		.form-dish {
			padding-top: 20px;
		}
		.colonna-pulsante-dish {
			padding-left: 8px!important;
		}
		.btn-sluurpy {
			background-color: #EC7205!important;
			color:#FFF;
			border:none;
		}
		.btn-sluurpy:hover {
			background-color: #EC7305!important;
			color:#FFF;
			border:none;
		}
		.btn-sluurpy:active {
			background-color: #EC7205!important;
			color:#FFF;
			border:none;
		}
		.btn-sluurpy:focus{
			background-color: #EC7205!important;
			color:#FFF;
			border:none;
		}
		.input-dish {
			padding-right: 0px !important;
		}
		.thanks-dish {
			text-align:center;
			padding-top: 20px;
			padding-bottom: 20px;
		}
		.thanks-dish h3 {
			font-family:sans-serif;
			font-size:22px;
			color:green;
			padding-bottom:15px;
		}
		.thanks-dish h5 {
			font-family:sans-serif;
			font-size:13px;
		}
		/* CARD MENU CONSIGLIATO DAGLI UTENTI SLUURPY */
		.sluurpy-color {
			color:#EC7205!important;
		}
		.lista-piatti {
			padding-left: 1rem;
			margin-bottom: 0;
			padding-top:10px;
		}
		.riga-piatto {
			display:flex;
			margin-top:5px;
		}
		.nome-piatto {
			max-width:75%;max-height:40px;overflow:hidden;white-space: nowrap;
			word-wrap: unset;
		}
		.nome-piatto{
			font-weight: 300;
			font-size: 13px;
		}
		.prezzo-piatto {
		}
		.dots {
			border-bottom: 1px dotted rgba(77,82,89,1);
			flex: 1;
			margin-bottom: 8px;
			margin-left: 2px;
			margin-right: 2px;
		}
		.link-piatto-menu-utenti {
			color:#707070;
			font-weight: bold;
			padding-top:2px;
			font-size:18px;
		}
		.card-box-chef {
			word-wrap: unset;
		}
		/* Card Carousel menu */
		.swiper-carousel-menu {
			background-color:#FFF!important;
			padding:0px!important;
			position: relative;
			overflow: hidden;
			list-style: none;
		}
		.swiper-slide-carousel-menu {
			padding-top: 30px !important;
			padding-bottom: 45px !important;
			text-align:center;
			
		}
		.swiper-slide-carousel-menu img {
			width:40%;
			cursor:pointer;
		}
		.swiper-slide-carousel-menu {
			text-align: center;
			padding-top: 25px;
			font-size: 21px;
			font-family: Sans-serif;
			text-transform: uppercase;
		}
		.swiper-pagination-carousel-menu {
			position: absolute;
			text-align: center;
			transition: .3s opacity;
			transform: translate3d(0,0,0);
			z-index: 10000;
		}
		.swiper-pagination-bullet-active {
			background:#EC7205!important;
			background-color:#EC7205!important;
		}
		

/* Container principale */
.piatti-container {
    padding: 10px;
}

/* Info piatti */
.piatti-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Lista piatti */
.lista-piatti {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Singolo piatto */
.riga-piatto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.riga-piatto:hover {
    background-color: #f8f9fa;
}

/* Piatti nascosti (oltre il 10°) */
.piatto-nascosto {
    display: none;
}

/* Nome piatto */
.nome-piatto {
    flex: 1;
    padding-right: 10px;
}

.link-piatto-menu-utenti {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.link-piatto-menu-utenti:hover {
    color: #ec7205;
    text-decoration: underline;
}

/* Pulsante aggiungi */
.tag_aggiungi_da_menu_class {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8f9fa;
    text-align: center;
    line-height: 36px;
    transition: background-color 0.2s ease;
}

.tag_aggiungi_da_menu_class:hover {
    background-color: #ec7205;
}

.tag_aggiungi_da_menu_class img {
    vertical-align: middle;
}

/* Pulsante mostra tutti */
.btn-mostra-tutti {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background-color: #ec7205;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-mostra-tutti:hover {
    background-color: #d66500;
}

/* Responsive */
@media (max-width: 576px) {
    .riga-piatto {
        padding: 10px 0;
    }
    
    .link-piatto-menu-utenti {
        font-size: 14px;
    }
    
    .tag_aggiungi_da_menu_class {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}

/* Animazione fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.riga-piatto {
    animation: fadeIn 0.3s ease;
}

/* Focus per accessibilità */
.link-piatto-menu-utenti:focus,
.tag_aggiungi_da_menu_class:focus,
.btn-mostra-tutti:focus {
    outline: 2px solid #ec7205;
    outline-offset: 2px;
}

	.listing-titlebar-title {
	  padding-top: 5px;
	}
	.dett_h1 {
	  opacity: 1;
	  font-size: 24px !important;
	  float: left;
	  font-weight: bold !important;
	  color: #222;
	}
	.listing-titlebar-title a {
	  color: #333;
	}
	
	.listing-titlebar-title a.button {
	  background-color: #ec7205;
	  top: 0;
	  padding: 9px 20px;
	  color: #fff;
	  position: relative;
	  font-size: 15px;
	  font-weight: 600;
	  display: inline-block;
	  transition: all 0.2s ease-in-out;
	  cursor: pointer;
	  margin-right: 6px;
	  overflow: hidden;
	  border: none;
	  border-radius: 50px;
	  margin-top:6px;
	  margin-bottom:6px;
	}
	/* menu tripadvisor */
	.iframe_cont_ext{
	  display:none;
	  width:100%;
	  height:100%;
	  position:fixed;
	  top:0;
	  left:0;
	  z-index: 9999999999!important;
	}
	.iframe_cont{
	  width:100%;
	  height:100%;
	  position:fixed;
	  top:45px;
	  left:0;
	  z-index:9999;
	  overflow:hidden;
	  background-color:white;
	  background-image:url('../../images/loading.gif');
	  background-position: center center;
	  background-repeat: no-repeat;
	  
	}
	.iframe_cont iframe{
	  overflow:hidden;
	  width: 100%;
	  width: -webkit-calc(100% + 18px);
	  width: -moz-calc(100% + 18px);
	  width: calc(100% + 18px);
	  height:100%;
	  height: -webkit-calc(100% - 50px);
	  height: -moz-calc(100% - 50px);
	  height: calc(100% - 50px);
	  border:none;
	}
	.iframe_bar{
	  background-color:#ec7205;
	  color:white;
	  z-index:999999;
	  top:0;
	  left:0;
	  height:45px;
	  width:100%;
	  position: fixed;
	}
	.close-btn-iframe{
	  top:6px;
	  right:10px;
	  cursor:pointer;
	  font-size:20px;
	  z-index:99999;
	  position: fixed;
	  color:white!important;
	}
	a.sfoglia-link-ext{
	  color:white!important;
	}
	.iframe_banner_cont{
	  width:100%;
	  bottom:0;
	  left:0;
	  z-index:9999999;
	  position: fixed;
	}
	.menu-single-container {
	  background-size: cover;
	  background-position: right top;
	  padding: 5px;
	}
	.menu-single-container {
	  height: 200px;
	  line-height: 200px;
	  overflow: hidden;
	}
	.menu-single-container img {
	  max-height: 100%;
	  max-width: 100%;
	  vertical-align: middle;
	  border-style: none;
	}
	.icona-pulsante {
	  padding-left: 7px;
	  vertical-align: top;
	  margin-top: 4px;
	}
	.icona-profilo-verificato {
	  color: #ec7205;
	  padding-left:4px;
	}
	.icona-profilo-non-verificato {
	  padding-left:4px;
	  color: #444346;
	}
	.box-info-pre {
	  display:none!important;
	}
/* Rating Container Semplice */
.rating-simple {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Contenitore Stelle */
.stars-svg {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Stellette SVG */
.stars-svg svg {
    width: 120px;
    height: 24px;
}

.star-background {
    fill: #e0e0e0;
}

.star-filled {
    fill: #ff6b35;
}

/* Maschera per riempimento parziale */
.star-mask {
    transition: transform 1s ease-out;
}

/* Voto Numerico */
.rating-score {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.rating-score .score-value {
    color: #ff6b35;
    font-size: 20px;
}

.rating-score .score-max {
    color: #999;
    font-size: 16px;
    font-weight: 400;
}

/* Versione con recensioni */
.rating-with-reviews {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.review-count {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.review-count:hover {
    color: #ff6b35;
}

/* Animazione iniziale */
@keyframes fillStars {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.stars-animated .star-mask {
    transform: scaleX(0);
    transform-origin: left center;
    animation: fillStars 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

/* Versione Compatta */
.rating-simple.compact {
    gap: 8px;
}

.rating-simple.compact .stars-svg svg {
    width: 90px;
    height: 18px;
}

.rating-simple.compact .rating-score {
    font-size: 16px;
}

.rating-simple.compact .rating-score .score-value {
    font-size: 18px;
}

/* Versione Grande */
.rating-simple.large {
    gap: 15px;
}

.rating-simple.large .stars-svg svg {
    width: 150px;
    height: 30px;
}

.rating-simple.large .rating-score {
    font-size: 22px;
}

.rating-simple.large .rating-score .score-value {
    font-size: 26px;
}

/* Mobile */
@media (max-width: 480px) {
    .rating-simple {
        gap: 10px;
    }
    
    .stars-svg svg {
        width: 100px;
        height: 20px;
    }
    
    .rating-score {
        font-size: 16px;
    }
    
    .rating-score .score-value {
        font-size: 18px;
    }
}

/* Hover effect sulle stelle */
.stars-svg:hover .star-filled {
    filter: brightness(1.1);
}

/* Loading state */
.rating-loading {
    opacity: 0.5;
    pointer-events: none;
}

.rating-loading .stars-svg svg {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

    /* Layout galleria completamente rinnovato */
    .photo-gallery {
        position: relative;
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
        max-width: 1140px;
    }

    /* Layout a griglia esplicito con dimensioni fisse */
    .photo-grid {
        display: grid;
        grid-template-columns: 50% 25% 25%;
        grid-template-rows: 50% 50%;
        grid-template-areas:
            "main top-right-1 top-right-2"
            "main bottom-right-1 bottom-right-2";
        height: 100%;
        width: 100%;
        gap: 2px;
        padding: 0;
        margin: 0;
    }
    .gallery-section .container-fluid {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

    /* Posizionamento esplicito nella griglia */
    .photo-item:nth-child(1) { grid-area: main; }
    .photo-item:nth-child(2) { grid-area: top-right-1; }
    .photo-item:nth-child(3) { grid-area: top-right-2; }
    .photo-item:nth-child(4) { grid-area: bottom-right-1; }
    .photo-item:nth-child(5) { grid-area: bottom-right-2; }

    /* Stile per gli elementi della griglia */
    .photo-item {
        list-style: none;
        position: relative;
        overflow: hidden;
        border: 1px solid #fff;
        box-sizing: border-box;
        background-color: #f0f0f0;
    }

    /* Stile link per ogni foto */
    .photo-link {
        display: block;
        width: 100%;
        height: 100%;
    }

    /* Contenitore immagine più sicuro */
    .photo-img-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
    }

    /* Styling delle immagini */
    .photo-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }
    
    /* Effetto hover leggero (facoltativo) */
    .photo-link:hover .photo-img {
        transform: scale(1.05);
    }

    /* Overlay "più foto" */
    .more-photos-badge {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        z-index: 5;
    }

    /* Versione mobile della griglia */
    @media (max-width: 768px) {
        .photo-gallery {
            height: 240px;
        }
    }

    @media (max-width: 500px) {
        .photo-gallery {
            height: 180px;
        }
    }

/* Contenitore principale per i pulsanti */
.action-buttons-container {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.button-wrapper {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    justify-content: center; /* Centra i pulsanti */
}

/* Stile del pulsante telefono verde */
.btn-phone-green {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
    background-color: #28a745;
    color: white !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    width: 95%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-phone-green:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
    color: white !important;
    text-decoration: none;
}

.btn-phone-green:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.btn-phone-green i {
    font-size: 20px;
}

.phone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.phone-number {
    font-size: 16px;
    font-weight: 600;
}

/* Aggiustamenti per il pulsante dinner già esistente */
.dinner-button {
    background-color: #b30010 !important; 
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    box-shadow: 0 4px 8px rgba(179, 0, 16, 0.3);
    transition: all 0.3s ease;
    gap: 12px;
}

.dinner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(179, 0, 16, 0.4);
    background-color: #990010 !important;
}

.dinner-button-icon {
    margin-right: 0 !important;
    font-size: 20px;
}

/* Media queries per responsive design */
@media (max-width: 768px) {
    .action-buttons-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-wrapper {
        min-width: 100%;
        max-width: 100%;
    }
    
    .btn-phone-green,
    .dinner-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-phone-green i,
    .dinner-button-icon {
        font-size: 18px;
    }
    
    .phone-number {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .button-wrapper {
        min-width: 250px;
    }
}

/* Per schermi molto grandi */
@media (min-width: 1200px) {
    .action-buttons-container {
        max-width: 900px;
        margin: 20px auto;
    }
}

/* CSS per il Modal */
#cenaDinamicaModal {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.cena-modal-content {
    position: relative;
    background: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cena-modal-header {
    margin-bottom: 20px;
    text-align: center;
}

.cena-modal-header h2 {
    margin: 0;
    color: #4f7c0b;
    font-size: 24px;
}

.cena-modal-body {
    margin-bottom: 20px;
}

.cena-form-group {
    margin-bottom: 15px;
}

.cena-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.cena-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.cena-modal-footer {
    text-align: center;
}

.cena-btn {
    background-color: #4f7c0b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.cena-btn:hover {
    background-color: #3e6209;
}

.cena-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.cena-close:hover {
    color: #000;
}

.cena-ristorante-info {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-align: center;
}

.cena-ristorante-info p {
    margin: 5px 0;
    font-weight: 500;
}	

/* Menu Card Styles */
.menu-card-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.menu-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Header Section */
.menu-card-header {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8255 100%);
    color: white;
    padding: 20px;
    position: relative;
}

.menu-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-card-title i {
    font-size: 24px;
}

.menu-card-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Menu Body */
.menu-card-body {
    padding: 0;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 8px;
    padding: 15px 20px 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    background: #f5f5f5;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.category-tab.active {
    background: #ff6b35;
    color: white;
}

.category-tab:hover:not(.active) {
    background: #e0e0e0;
}

/* Menu Items Container */
.menu-items-container {
    padding: 10px 20px 20px;
}

/* Category Section */
.menu-category {
    margin-bottom: 20px;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    width: 24px;
    height: 24px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

/* Menu Item */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.menu-item:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.menu-item-info {
    flex: 1;
}

.menu-item-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
    text-decoration: none;
    display: block;
}

.menu-item-name:hover {
    color: #ff6b35;
}

.menu-item-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-indicator {
    color: #ff6b35;
    font-weight: 600;
}

.menu-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    white-space: nowrap;
}

/* Popular Items Highlight */
.popular-section {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.popular-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #e65100;
    margin-bottom: 10px;
}

/* View Full Menu Button */
.view-full-menu {
    display: block;
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 15px;
}

.view-full-menu:hover {
    background: #ff6b35;
    color: white;
}

.view-full-menu i {
    margin-left: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-card-wrapper {
        width: 100%;
    }
    
    .menu-card-header {
        padding: 16px;
    }
    
    .menu-card-title {
        font-size: 18px;
    }
    
    .category-tabs {
        padding: 12px 16px 8px;
    }
    
    .menu-items-container {
        padding: 8px 16px 16px;
    }
    
    .menu-item {
        padding: 10px 12px;
    }
    
    .menu-item-name {
        font-size: 14px;
    }
    
    .menu-item-price {
        font-size: 16px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.menu-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Badge Styles */
.item-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
}

.badge-new {
    background: #4caf50;
    color: white;
}

.badge-hot {
    background: #ff5252;
    color: white;
}

.badge-veg {
    background: #8bc34a;
    color: white;
}

.restaurant-update-info {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.update-date-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.update-label {
  color: #6c757d;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.update-label i {
  font-size: 16px;
}

time.updated {
  font-size: 16px;
  color: #212529;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

time.updated strong {
  font-size: 20px;
  color: #0066cc;
}

time.updated .month {
  text-transform: capitalize;
}

time.updated .year {
  color: #6c757d;
  font-size: 14px;
}

.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.freshness-badge.fresh {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.freshness-badge.recent {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.freshness-badge.needs-update {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* Responsive */
@media (max-width: 576px) {
  .restaurant-update-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .update-date-wrapper {
    width: 100%;
  }
  
  .freshness-badge {
    align-self: flex-start;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .restaurant-update-info {
    background-color: #1a1a1a;
    border-color: #333;
  }
  
  .update-label {
    color: #adb5bd;
  }
  
  time.updated {
    color: #f8f9fa;
  }
  
  time.updated strong {
    color: #4dabf7;
  }
  
  time.updated .year {
    color: #adb5bd;
  }
      /* Stili per la sezione di analisi */
      .analisi-sezione {
        margin-bottom: 20px;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        background-color: #fff;
      }
      
      .analisi-header {
        margin-bottom: 10px;
        border-bottom: 2px solid #f5f5f5;
        padding-bottom: 8px;
      }
      
      .analisi-titolo {
        font-size: 18px;
        color: #333;
        margin: 0 0 8px 0;
        font-weight: 600;
      }
      
      .analisi-contenuto {
        font-size: 15px;
        line-height: 1.5;
        color: #555;
      }
      
      .analisi-lista {
        list-style: none;
        padding: 0;
        margin: 10px 0;
      }
      
      .analisi-punto {
        display: flex;
        margin-bottom: 10px;
        align-items: flex-start;
      }
      
      .analisi-numero {
        background-color: #ec7205;
        color: #fff;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        font-weight: bold;
        flex-shrink: 0;
      }
      
      .pro-section {
        border-left: 4px solid #4CAF50;
      }
      
      .contro-section {
        border-left: 4px solid #FF5722;
      }
      
      .analisi-footer {
        font-size: 12px;
        color: #777;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid #eee;
        text-align: center;
      }
      
      .analisi-data {
        font-style: italic;
        margin-bottom: 5px;
      }
      
      .analisi-disclaimer {
        margin: 0;
      }
      
      .analisi-links {
        margin-top: 15px;
      }
      
      @media (max-width: 768px) {
        .analisi-titolo {
          font-size: 16px;
        }
        
        .analisi-contenuto {
          font-size: 14px;
        }
      }

}
/* Stili per il form inline (nomi di classi diversi per evitare conflitti) */
.organize-dinner-section {
  margin: 30px 0;
}

.inline-cena-header {
  margin-bottom: 20px;
}

.inline-cena-subtitle {
  font-size: 16px;
  color: #666;
  margin: 5px 0 15px;
}

/* Nuovo stile per la sezione "Come funziona" */
.inline-cena-how-it-works {
  margin-bottom: 20px;
  background-color: #fff8f8;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #fde8e8;
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.step-number {
  background-color: #b30010;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 12px;
  color: #555;
  max-width: 80px;
  text-align: center;
}

.step-arrow {
  color: #999;
  margin: 0 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.inline-cena-info {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.inline-cena-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.inline-cena-info-item:last-child {
  margin-bottom: 0;
}

.inline-cena-info-item i {
  color: #b30010;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.inline-form-row {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.inline-form-group {
  flex: 1;
  min-width: 0;
  position: relative;
}

.half-width {
  flex-basis: calc(50% - 8px);
  flex-grow: 0;
}

.inline-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: #444;
}

.inline-input-icon {
  position: relative;
}

.inline-input-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  z-index: 1;
  width: 16px;
  text-align: center;
}

.textarea-icon i {
  top: 15px;
  transform: none;
}

.inline-form-group input,
.inline-form-group select,
.inline-form-group textarea {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: white;
}

.inline-form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.inline-form-group input:focus,
.inline-form-group select:focus,
.inline-form-group textarea:focus {
  border-color: #b30010;
  outline: none;
  box-shadow: 0 0 0 3px rgba(179, 0, 16, 0.1);
}

.inline-form-group input.error {
  border-color: #e74c3c;
}

.inline-error-msg {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.inline-form-footer {
  margin-top: 20px;
  text-align: center;
}

.inline-submit-btn {
  background-color: #b30010;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(179, 0, 16, 0.25);
  min-width: 200px;
}

.inline-submit-btn:hover {
  background-color: #950000;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(179, 0, 16, 0.3);
}

.inline-submit-btn i {
  margin-left: 8px;
  font-size: 14px;
}

.inline-form-disclaimer {
  color: #777;
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Nuovo stile per l'avviso "questo non è una prenotazione" */
.not-reservation-notice {
  color: #b30010;
  font-size: 12px;
  font-style: italic;
  margin: 0;
}

#inline-cena-success {
  text-align: center;
  padding: 20px 0;
}

.inline-success-icon {
  color: #4CAF50;
  font-size: 60px;
  margin-bottom: 15px;
}

#inline-cena-success h3 {
  color: #333;
  margin-bottom: 10px;
}

#inline-cena-success p {
  color: #666;
}

/* Responsive adjustments - IMPROVED FOR MOBILE */
@media (max-width: 767px) {
  .half-width {
    flex-basis: 100%;
  }
  
  .inline-form-row {
    gap: 10px;
  }
  
  /* FIX: Aumentare la padding sinistra per prevenire sovrapposizioni */
  .inline-form-group input,
  .inline-form-group select,
  .inline-form-group textarea {
    font-size: 16px; /* Dimensione testo maggiore su mobile */
    padding: 12px 12px 12px 40px; /* Padding maggiore a sinistra */
    -webkit-appearance: none; /* Per Safari su iOS */
    appearance: none; /* Stile consistente */
  }
  
  /* FIX: Migliorare il posizionamento delle icone */
  .inline-input-icon i {
    left: 14px;
    font-size: 16px; /* Icone leggermente più grandi */
  }
  
  /* FIX: Per il campo data */
  input[type="date"],
  input[type="time"] {
    min-height: 44px; /* Aumentare altezza per tocco su mobile */
  }
  
  /* FIX: Per il dropdown del numero di persone */
  select {
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-right: 30px !important; /* Spazio per l'icona dropdown */
  }
  
  /* Riduzione spaziatura per mobile */
  .inline-form-group {
    margin-bottom: 8px;
  }
  
  .inline-form-group label {
    margin-bottom: 4px;
  }
  
  /* Ottimizzato per Safari */
  @supports (-webkit-touch-callout: none) {
    .inline-form-group select {
      padding-right: 30px;
      background-color: white;
    }
    
    input[type="date"],
    input[type="time"] {
      line-height: normal;
    }
  }
  
  /* Posizionamento più preciso delle icone nei campi speciali */
  .inline-input-icon i.fa-calendar,
  .inline-input-icon i.fa-clock-o {
    left: 15px;
    top: 50%;
  }
  
  .inline-input-icon i.fa-users {
    top: 50%;
  }
  
  /* FIX: Assicurarsi che il testo nel select non si sovrapponga all'icona */
  #inline_n_persone {
    text-indent: 5px;
  }
  
  /* Modifiche a come funziona per mobile */
  .steps-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-item {
    flex-direction: row;
    width: 100%;
    margin-bottom: 8px;
    padding: 0;
  }
  
  .step-number {
    margin-right: 10px;
    margin-bottom: 0;
  }
  
  .step-desc {
    text-align: left;
    max-width: none;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: 5px 0;
    align-self: center;
  }
  
  /* Display per dispositivi molto piccoli */
  @media (max-width: 350px) {
    .inline-form-group input,
    .inline-form-group select,
    .inline-form-group textarea {
      font-size: 14px;
      padding-left: 36px;
    }
    
    .inline-input-icon i {
      left: 12px;
    }
  }
}

.faq-list {
    margin-bottom: 20px;
}
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.faq-icon {
    color: #ec7205;
    margin-right: 10px;
    transition: transform 0.3s ease;
    margin-top: 5px;
    flex-shrink: 0;
}
.faq-question.active .faq-icon {
    transform: rotate(90deg);
}
.faq-date {
    font-size: 13px;
    color: #888;
    font-weight: normal;
    margin-left: 10px;
    flex-shrink: 0;
}
.faq-answer {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    display: none;
    margin-left: 25px;
}
.faq-empty {
    text-align: center;
    padding: 30px 15px;
}
.no-faq-message {
    color: #666;
    font-size: 15px;
    margin: 0;
}
.no-faq-message i {
    color: #ec7205;
    margin-right: 8px;
}
.faq-footer {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}
.btn-faq-more {
    background-color: #ec7205;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
    align-self: center;
    text-decoration: none;
}
.btn-faq-more:hover {
    background-color: #d66705;
    color: white;
    text-decoration: none;
}
.faq-ask-container {
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.faq-ask-container h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
}
.faq-input-container {
    display: flex;
    margin-bottom: 10px;
}
.faq-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}
.btn-faq-ask {
    background-color: #19c37d;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.btn-faq-ask:hover {
    background-color: #16ad6f;
}
.suggested-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.suggested-question {
    background-color: #f0f9f5;
    color: #19c37d;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #e0f2ea;
    transition: all 0.2s ease;
}
.suggested-question:hover {
    background-color: #e0f2ea;
}

@media (max-width: 768px) {
    .faq-input-container {
        flex-direction: column;
    }
    .faq-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    .btn-faq-ask {
        border-radius: 4px;
        width: 100%;
        padding: 10px;
    }
    .suggested-questions {
        flex-direction: column;
    }
    .faq-question {
        flex-wrap: wrap;
    }
    .faq-date {
        width: 100%;
        margin-left: 35px;
        margin-top: 5px;
    }
}

	.sluurpometro_cont {
	  border: 5px solid #ec7205;
	  padding: 5px;
	  max-width: 600px;
	  margin: auto;
	  text-align: center;
	}
	.sluurpometro_cont label {
	  background-color: #fff;
	  margin-top: -20px;
	  position: relative;
	  overflow: hidden;
	  width: auto;
	  padding-left: 10px;
	  padding-right: 10px;
	  font-size: 20px;
	  color: #ec7205;
	  font-weight: 700;
	  text-align: center;
	  display: table;
	  margin-bottom: 8px;
	}
	.sluurpometro_cont .rating_sl_2 {
	  font-size: 80px;
	  display: inline-block;
	  color: #ec7205;
	  font-weight: 700;
	  line-height: 80px;
	  overflow: hidden;
	}
	.star_rating_cont {
	  color: #888;
	  opacity: 1;
	  position: relative;
	  overflow: hidden;
	  margin: 20px auto;
	  text-align: center;
	  display: table;
	  clear: both;
	}
	.star-rating {
	  display: inline-block;
	  overflow: hidden;
	  top: 1px;
	  position: relative;
	  background: url('/star_big.png') no-repeat -4px -6px;
	  height: 13px;
	  width: 65px;
	}
	.star-vote {
	  display: block;
	  background: url('/star_big.png') no-repeat -4px -21px;
	  height: 13px;
	}
	
.community-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 25px 0;
    overflow: hidden;
}

.community-widget-header {
    background-color: #4f7c0b;
    color: white;
    padding: 12px 15px;
}

.community-widget-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.community-widget-header h3 i {
    margin-right: 8px;
}

.community-widget-header p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.post-type-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.post-type-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.post-type-tab i {
    margin-right: 5px;
}

.post-type-tab:hover {
    background-color: #f9f9f9;
}

.post-type-tab.active {
    color: #ec7205;
    border-bottom: 2px solid #ec7205;
}

.post-content {
    padding: 15px;
}

#quickPostMessage {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

#quickPostMessage:focus {
    border-color: #4f7c0b;
    outline: none;
}

.quick-username-field {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 5px 10px;
}

.quick-username-field i {
    color: #666;
    margin-right: 10px;
}

.quick-username-field input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
}

.quick-username-field input:focus {
    outline: none;
}

#quickPostSubmit {
    display: block;
    width: 100%;
    background-color: #ec7205;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

#quickPostSubmit:hover {
    background-color: #d76500;
}

/* Top Communities Section */
.top-communities-section {
    background-color: #f9f9f9;
    padding: 25px 15px;
    border-radius: 8px;
    margin: 30px 0;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-header h3 i {
    margin-right: 10px;
    color: #4f7c0b;
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.community-card {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 12px 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.community-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.community-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4f7c0b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.community-icon i {
    color: white;
    font-size: 18px;
}

.community-info {
    flex: 1;
}

.community-info h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.community-info p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #777;
}

.community-arrow {
    color: #999;
}

.view-all-communities {
    grid-column: 1 / -1;
    text-align: center;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.view-all-communities:hover {
    background-color: #ebebeb;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .communities-grid {
        grid-template-columns: 1fr;
    }
    
    .community-widget-header h3 {
        font-size: 16px;
    }
    
    .post-type-tab {
        font-size: 13px;
        padding: 8px 5px;
    }
}

.consiglia-container {
    padding: 20px;
}

.consiglia-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.consiglia-text-question {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.consiglia-buttons {
    display: flex;
    gap: 10px;
}

.btn-consiglia {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-si {
    background-color: #ec7205;
    color: white;
}

.btn-si:hover {
    background-color: #d66705;
}

.btn-no {
    background-color: #e0e0e0;
    color: #666;
}

.btn-no:hover {
    background-color: #cacaca;
}

.consiglia-grazie {
    text-align: center;
    color: #19c37d;
    font-size: 16px;
    padding: 15px;
}

.ultimo-consiglio-seo {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.info-consigli {
    color: #666;
}

.info-consigli time {
    color: #ec7205;
    font-weight: 500;
}

@media (max-width: 768px) {
    .consiglia-content {
        flex-direction: column;
        text-align: center;
    }
    
    .consiglia-buttons {
        width: 100%;
        justify-content: center;
    }
}

.floating-consiglia-btn {
  position: fixed;
  bottom: 120px;
  right: 20px;
  background: linear-gradient(135deg, #ec7205 0%, #ff8a00 100%);
  color: white;
  border-radius: 30px;
  padding: 12px 20px;
  box-shadow: 0 4px 15px rgba(236, 114, 5, 0.4);
  cursor: pointer;
  z-index: 9996;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 4px 15px rgba(236, 114, 5, 0.4);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 0 6px 20px rgba(236, 114, 5, 0.6);
  }
}

.floating-consiglia-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(236, 114, 5, 0.5);
}

.fab-icon {
  font-size: 20px;
}

.fab-text {
  font-weight: 600;
  font-size: 16px;
}

.fab-badge {
  background: white;
  color: #ec7205;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Top Sticky Banner */
.top-consiglia-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #ec7205 0%, #ff8a00 100%);
  color: white;
  padding: 10px 15px;
  z-index: 9995;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.bar-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.bar-text {
  font-size: 15px;
}

.bar-text strong {
  font-weight: 700;
}

.bar-btn-consiglia {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid white;
  padding: 8px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.bar-btn-consiglia:hover {
  background: white;
  color: #ec7205;
}

/* Exit Intent Modal */
.exit-intent-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}

.exit-intent-modal.show {
  display: flex;
}

.exit-modal-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  text-align: center;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0.8); opacity: 0; }
  80% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.exit-modal-body h3 {
  margin: 0 0 15px;
  font-size: 24px;
  color: #333;
}

.exit-modal-body p {
  margin: 0 0 25px;
  color: #666;
  font-size: 16px;
}

.exit-modal-buttons {
  display: flex;
  gap: 15px;
}

.exit-modal-buttons button {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.exit-btn-si {
  background: #ec7205;
  color: white;
}

.exit-btn-si:hover {
  background: #d66705;
}

.exit-btn-no {
  background: #f5f5f5;
  color: #666;
}

/* Animazioni aggiuntive */
.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px) rotate(-5deg); }
  75% { transform: translateX(10px) rotate(5deg); }
}

/* Animazione zoom in per interstitial */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Checkmark Animation */
.checkmark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #fff;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #fff;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #fff;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-consiglia-btn {
    bottom: 140px;
    right: 15px;
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .fab-icon {
    font-size: 18px;
  }
  
  .fab-text {
    font-size: 14px;
  }
  
  .fab-badge {
    font-size: 11px;
    padding: 2px 5px;
  }
  
  .top-consiglia-bar {
    padding: 8px 10px;
  }
  
  .bar-content {
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
  }
  
  .bar-text {
    font-size: 13px;
    flex: 1 1 100%;
  }
  
  .bar-btn-consiglia {
    flex: 1 1 100%;
  }
  
  .exit-modal-content {
    margin: 20px;
    padding: 30px 20px;
  }
  
  .exit-modal-body h3 {
    font-size: 20px;
  }
  
  .exit-modal-body p {
    font-size: 14px;
  }
}

/* Integrazione con Sticky Footer (se presente) */
.btn-consiglia-inline {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-si-inline {
  background: #19c37d;
  color: white;
}

.btn-si-inline:hover {
  background: #16ad6f;
  transform: scale(1.1);
}

.btn-no-inline {
  background: #f5f5f5;
  color: #666;
}

.btn-no-inline:hover {
  background: #e8e8e8;
}
/* Interstitial Ottimizzato per AdSense */
/* Interstitial Ottimizzato per AdSense con pulsanti modificati */
.consiglia-interstitial {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 999999;
  backdrop-filter: blur(10px);
}

.consiglia-interstitial.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.interstitial-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 728px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: zoomIn 0.4s ease;
}

/* Header ridotto */
.interstitial-header {
  background: linear-gradient(135deg, #19c37d 0%, #16ad6f 100%);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.success-animation {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
}

.checkmark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #fff;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #fff;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 30px #fff; }
}

@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

.interstitial-header h2 {
  margin: 0 0 5px;
  font-size: 22px;
  font-weight: 700;
}

.interstitial-header p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  display: none;
}

/* Container AdSense espanso */
.interstitial-ad-container {
  padding: 20px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  position: relative;
}

/* Loading spinner per AdSense */
.interstitial-ad-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ec7205;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.interstitial-ad-container ins {
  min-width: 300px;
  min-height: 250px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer compatto */
.interstitial-footer {
  padding: 15px 20px;
  background: white;
  border-top: 1px solid #eee;
}

.countdown-container {
  text-align: center;
}

#countdownText {
  color: #666;
  font-size: 14px;
  display: block;
  margin-bottom: 15px;
}

#countdownNumber {
  font-weight: bold;
  color: #ec7205;
  font-size: 18px;
}

/* Container pulsanti */
.interstitial-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

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

/* Pulsante grande Sfoglia Menù */
.btn-sfoglia-menu-big {
  background: #ec7205;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(236, 114, 5, 0.3);
}

.btn-sfoglia-menu-big:hover {
  background: #d66705;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 114, 5, 0.4);
  color: white;
  text-decoration: none;
}

.btn-sfoglia-menu-big i {
  font-size: 20px;
}

/* Icona chiudi */
.btn-close-icon {
  background: #f5f5f5;
  color: #666;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-close-icon:hover {
  background: #e8e8e8;
  color: #333;
  transform: translateY(-50%) rotate(90deg);
}

.btn-close-icon i {
  font-size: 18px;
}

/* Mobile adjustments con banner più grande */
@media (max-width: 768px) {
  .interstitial-content {
    width: 95%;
    margin: 20px;
  }
  
  .interstitial-header {
    padding: 15px;
  }
  
  .interstitial-header h2 {
    font-size: 18px;
  }
  
  .success-animation {
    width: 40px;
    height: 40px;
  }
  
  .checkmark {
    width: 40px;
    height: 40px;
  }
  
  /* Container AdSense mobile più grande */
  .interstitial-ad-container {
    min-height: 400px; /* Più spazio per banner mobile */
    padding: 15px;
  }
  
  .interstitial-ad-container ins {
    min-width: 320px;
    min-height: 320px; /* Banner quadrato su mobile */
  }
  
  .interstitial-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-sfoglia-menu-big {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    font-size: 16px;
    padding: 14px 30px;
  }
  
  .btn-close-icon {
    position: static;
    transform: none;
  }
  
  #countdownText {
    font-size: 13px;
  }
  
  #countdownNumber {
    font-size: 16px;
  }
}

/* Banner mobile specifico per schermi molto piccoli */
@media (max-width: 480px) {
  .interstitial-ad-container {
    min-height: 350px;
  }
  
  .interstitial-ad-container ins {
    min-width: 300px;
    min-height: 250px;
  }
}

.mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .mobile-only {
        display: block;
    }
}

/* Rimuovi il vecchio stile del pulsante */
.btn-close-interstitial {
  display: none !important;
}