/* ===========================
   Stile card promo home
=========================== */


  .richiedi-promo-btn {
    background-color:#003366;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;   
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  .richiedi-promo-btn:hover {
    background-color: #4a85b4;
    transform: scale(1.05);
  }

  .immagini_home .zoom-inner {
    transition: transform 0.4s ease;
    will-change: transform;
    height: 100%;
  }

  .immagini_home:hover .zoom-inner {
    transform: scale(1.05);
  }

  .btn-prezzo-camera {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #fefefe, #e0e0e0); 
    padding: 15px 80px 7px 80px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: pulse 3s infinite;
    cursor: pointer;
    border: 2px solid #ccc;
    position: relative;
  }

  .btn-prezzo-camera strong {
    color: #004d74;
    font-size: 11px;
    font-weight: bold;
    padding-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .btn-prezzo-camera p {
    font-size: 22px;
    color: #d42180;
    font-weight: bold;
    margin: -4px 0 -6px 0;
  }

  .btn-prezzo-camera .euro-big {
    font-size: 30pt;
  }

  .btn-prezzo-camera .euro-small {
    font-size: 20pt;
    margin-left: -4px;
  }

  .btn-prezzo-camera:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border-color: #d42180;
  }

  @keyframes pulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(1px); }
    52% { transform: translateX(-1px); }
    54% { transform: translateX(1px); }
    56% { transform: translateX(-1px); }
    58% { transform: translateX(0); }
  }

  .localita-mobile {
    display: none;
  }

  .localita-desktop {
    display: block;
  }

  .linea-rosa-localita {
    background-color: #f0f4f8;
    text-align: center;
  }

  .linea-rosa-localita .linea-rosa-inner {
    width: 50%;
    height: 1.5px;
    background-color: #d00a77;
    margin: 0 auto;
    border-radius: 1.5px;
  }

  @media (max-width: 768px) {
    .localita-mobile {
      display: block !important;
    }
    .localita-desktop {
      display: none !important;
    }
     .linea-rosa-localita {
    background-color: #f0f4f8;
    text-align: center;
       padding-top:1rem
  }
  }

/*====================
Fine senzione card promo 
=======================*/

/* ===========================
   STILE MENU DESKTOP
=========================== */
:root {
  --cassiopeia-color-primary: #fff;
  --cassiopeia-color-hover: #fff;
}
/* Header Cassiopeia */
.container-header,
.container-header .navbar {
  background-color: #fff !important;
  border-color: #fff !important;
  background-image: linear-gradient(360deg, var(--cassiopeia-color-primary) 0%, #ffffff 100%);
}
.countdown-timer{
  margin-bottom: -2px;
}
.container-menufrancesco {
    background: linear-gradient(to right, #d42180, #e54295);
    padding: 0.2rem 0;
    max-width: 100% !important;
    margin-bottom: 2px;
    position: sticky!important;
    top: 0!important;
    z-index: 1050!important;
}
.rating-section{
  text-align: center;
  margin-bottom: 8px;
  margin-top:8px;
}
.village-city{
  color: #6d757e;
  margin-bottom:-3px; 
  text-align: center;
}
@media screen and (max-width: 767px) {
  #stella1,
  #stella2,
  #stella3,
  #stella4 {
    height: 16px !important;
  }
.village-city{
  color: #6d757e;
  margin-bottom:-3px; 
  text-align: center;
  margin-top:-20px;
}
  .title-calabria{
    font-size: 20pt;
    text-align: center;
  }
}
.card-village{
  background-color:#f1f1f1 !important;
  margin-top: -0.5rem;
}
.com-content-article__body{
  background-color:#f1f1f1;
}
.mod-custom-119{
  background-color:#fff;
}
.offerte-grey{
  background-color:#f1f1f1 !important;
}
/* Font personalizzati */
.nunito { font-family: 'Nunito', sans-serif; }
.roboto { font-family: 'Roboto', sans-serif; }

/* Menu principale */
ul.mod-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
  flex-direction: row;
}
ul.mod-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 9999;
    color: #fff;
    font-size: 17px;
}
ul.mod-menu > li > a {
    display: inline-block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
 
    font-size: 17px;
    transition: all 0.3s ease;
}
ul.mod-menu > li:last-child > a {
    border-right: none;
}
ul.mod-menu > li.current > a,
ul.mod-menu > li.active > a,
ul.mod-menu > li > a:hover {
    background-color: #fff;
    color: #d42180;
    font-weight: bold;
    border-radius: 5px;
}

/* Dropdown (sub-menu) */
li.deeper.parent {
    position: relative;
    padding: 10px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}
li.deeper.parent:hover {
    background-color: #fff;
    color: #d42180;
    font-weight: bold;
    border-radius: 5px;
}
li.deeper.parent > a::after {
    content: " ▼";
    font-size: 0.75em;
    margin-left: 4px;
    color: inherit;
}
ul.mod-menu__sub {
    display: none;
    position: absolute;
    top: 115%;
    left: 0;
    min-width: 200px;
    background: #fbe0ec;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
li.deeper.parent:hover > ul.mod-menu__sub {
    display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}
ul.mod-menu__sub li a {
    display: block;
    padding: 10px 15px;
    margin: 3px 8px;
    color: #fff;
    background-color: #e54295;
    font-size: 1rem;
    border-radius: 5px;
    transition: 0.2s ease;
}
ul.mod-menu__sub li a:hover {
    background-color: #fff;
    color: #d42180;
    font-weight: bold;
}
.blog-featured {
    background-color:#f1f1f1
}
.columns-3{
    background-color:#f1f1f1;
    margin-bottom:-0.5rem;
}
.slider-alt-container{
      background-color:#f1f1f1 !important;
}

/* ===========================
   TIMER CUSTOM
=========================== */

.container-timer-speciale {
  text-align: center;
  background-color:#f1f1f1;
}

.container-timer-speciale .timer-container {
  background-color: #009688; 
  padding: 10px 40px;
  color:#fff;
  display: inline-block;
  border-radius: 8px;
  margin-top: -30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container-timer-speciale .countdown-card{
 background-color:#fff;
}
/* ===========================
   PROMO HOME
=========================== */
.sezione-top-a-custom{
   border:none !important;
   background-color: #f1f1f1 !important;
}

/* ===========================
   MENU MOBILE
=========================== */
.menu-toggle {
    display: none;
}

/* ===========================
   Slider
=========================== */
.n2-style-7061c59b6aa0e1e57e254e0da9a2dfd9-simple{
  text-align: center;
}
/* Blur automatico per tutti gli slider Smart Slider */
.n2-ss-slide {
  position: relative;
  overflow: hidden;
}

.n2-ss-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--blur-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 1;
}

.n2-ss-slide .n2-ss-layer {
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {

  .n2-font-8063f355b53e28587bdc302cb93223bc-simple{
  font-size: 23px !important;
}
  .n2-font-4bec4531e77e35597828c33108fa3fcd-simple{
    font-size: 13px !important;
  }
  
}

/* ===========================
   MEDIA QUERY
=========================== */

/* Tasto visibile solo su mobile */
.menu-toggle {
    display: none;
}

/* Regole mobile */
@media (max-width: 1050px) {
    .menu-toggle {
        display: block;
        background-color: #000;
        color: #fff;
        padding: 6px 12px;
        font-size: 1.2rem;
        border: 2px solid #fff;
        border-radius: 5px;
        margin:0rem 0.3rem;
        z-index: 1001;
        position: relative;
    }

    ul.mod-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #e54295;
        margin-top: 0.5rem;
    }

    ul.mod-menu.show {
        display: flex;
    }

    ul.mod-menu > li {
        width: 100%;
    }

    ul.mod-menu > li > a {
        display: block;
        width: 100%;
        text-align: left;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding: 10px 15px;
    }

    li.deeper.parent > ul.mod-menu__sub {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #fbe0ec;
        padding-left: 1rem;
    }

    li.deeper.parent.show-submenu > ul.mod-menu__sub {
        display: block;
    }

    li.deeper.parent > a::after {
        float: right;
        content: " ▼";
        font-size: 0.75em;
        margin-left: 4px;
        color: inherit;
    }
}
/* ===========================
   RESPONSIVE HEADER / SIDEBAR
=========================== */

@media (max-width: 1014px) {
    .navbar-brand {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-inline: auto;
        text-align: center;
    }
    .navbar-brand img {
        max-width: 100%;
        height: auto;
    }
    .site-description { text-align: center; }

  .image-title{
    top: 0;
    font-size: 0.5rem !important;
    height: 30%;
  
  }
}
@media (max-width: 991px) {
    .container-sidebar-right { display: none !important; }
}

/* ===========================
   HEADER INFO ORARI
=========================== */

.header-orari {
    padding: 0.5rem 1rem;
    font-size: 15px;
    color: #003366;
    line-height: 0.9;
}
.header-orari i { color: #003366; margin-right: 5px; }
.header-orari .telefono {
    display: block;
    font-size: 1.9rem;
    font-weight: bold;
    color: #d42180;
    margin-top: 0.9rem;
}
@media (max-width: 1015px) {
    .header-orari { display: none !important; }
} 

/* FORZA MODULI IN VERTICALE SOLO PER LE POSIZIONI STANDARD */
.container-top-a,
.container-top-b,
.container-bottom-a,
.container-bottom-b {
    display: block !important;
  
}
.container-top-a{
  background-color:#f1f1f100 !important;
  margin-top: -2.4rem;
  margin-bottom: -1.5rem;
}
.container-top-a > *,
.container-top-b > *,
.container-bottom-a > *,
.container-bottom-b > * {
    display: block !important;
    width: 100% !important;
  background-color: #f1f1f1;
}
.footer
{
    background: #D42180;
    margin: 0px auto 0;
    position: relative;
    color: #FFFFFF;
    text-align: center;
    margin-left: -2%;
    margin-right: -1%;
    margin-bottom: -1.5%;
    padding: 0;
    
      /* IE10 */
    background-image: -ms-linear-gradient(bottom, #571268 1%, #D42180 35%);
/* Mozilla Firefox */
    background-image: -moz-linear-gradient(bottom, #571268 1%, #D42180 35%);
/* Opera */
    background-image: -o-linear-gradient(bottom, #571268 1%, #D42180 35%);
/* Webkit (Safari/Chrome 10) */

/* Webkit (Chrome 11+) */
    background-image: -webkit-linear-gradient(bottom, #571268 1%, #D42180 35%);
/* Regola standard */
    background-image: linear-gradient(to bottom, #571268 10%, #D42180 75%);
}

/* ===========================
   REGOLE CSS ARTICOLI VILLAGGI
=========================== */
.card-container{
  width: 100%;
  max-width: 1000px;
  height: 330px;
  margin: auto;
  border: 1px solid #ddd;
  border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  background-color: #fff;
}
.image-title{
  position: absolute;
  bottom: 0; 
  left: 0; 
  width: 100%;
  background: #215d8fe0; 
  color: #fff;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}
.image-section{
  flex: 0 0 37%;
  height: 100%;
  overflow: hidden; 
  position: relative;
}
.content-section{
  flex: 1; 
  padding-right: 3px;
  margin-left: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sa-pulsanti09{
  color: #ffffff;
    background-color: #d42180;
    padding: 8px 5px;
    border-radius: 6px;
    text-decoration: none;
  font-weight: bold;
}
    
    
}

  .sa-pulsanti09:hover{
  color:gold;
}
.slider-title{
  background-color:  rgb(0 0 0 / 63%);
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  font-family: 'Futura', Arial, sans-serif; /* Imposta il font Futura */
  color: #ffffff; /* Colore del testo bianco */
  font-size: 36px; /* Dimensione del titolo */
  font-weight: bold; /* Grassetto */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Aggiunge un'ombra al testo */
  padding: 10px 0; /* Ridotto il padding per rendere la barra più stretta */
  width: 100%; /* La barra copre tutta la larghezza */
}

 /* Container per lo slider */
  .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
  }

  /* Overlay con titolo */
  .slider-overlay {
    position: absolute;
    top: 0;  /* Posiziona il titolo in alto */
    left: 0;
    width: 100%;
    z-index: 2;
  }
.tab-content{
margin-bottom:-16px;
}

.contenitore-schede > .sfondo-moduli:nth-child(odd) {
  background-color: #E44094 !important;
  box-shadow: 0 0 6px #E44094;
}

.contenitore-schede > .sfondo-moduli:nth-child(even){
  background-color: #009688 !important;
  box-shadow: 0 0 6px #009688;
}
  /* Contenuto dello slider */
  .slider-content {
    width: 100%;
    position: relative;
    z-index: 1;
  }

@media (max-width: 1014px) {
    .image-title{
    top: 0;
    height: 19%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .image-section{
    flex: 0 0 50%;
  }
  .sa-pulsanti09{
  font-size: 12px;
}


    .slider-title{
        font-size:22px;
    }
}
/* ===========================
   REGOLE CSS SLIDER VILLAGGI 
=========================== */

.slider-alt-container {
  border: none;
}



.slider-alt-wrapper {
  max-width: 1320px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  height: 750px;
}

.slider-alt-cards {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
  padding-top: 1rem;
  
}

.slider-alt-card {
  flex: 0 0 auto;
  width: 426px;
  border-radius: 15px;
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid #E43F93;
  overflow: hidden;
  background-color: #fff;
  margin: 0;
  font-family: 'Arial', sans-serif;
}

.slider-alt-image {
  width: 100%;
  height: 280px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  position: relative;
}

.slider-alt-zoom {
  transition: transform 0.4s ease;
  will-change: transform;
  height: 100%;
}

.slider-alt-image:hover .slider-alt-zoom {
  transform: scale(1.05);
}

.slider-alt-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.7);
  color: #D00A77;
  font-size: 28px;
  line-height: 45px;
  text-align: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  font-weight: bold;
}

.slider-alt-location {
  background-color: #f0f4f8;
  color: #333;
  text-align: center;
  padding: 15px 0 5px;
  margin-top: -8px;
  position: relative;
}

.slider-alt-location p {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #7f9db7;
}

.slider-alt-underline {
  width: 50%;
  height: 2px;
  background-color: #d00a77;
  margin: 10px auto 0;
  border-radius: 2px;
}

.slider-alt-details {
  background-color: #f0f4f8;
  color: #003366;
  padding: 10px 20px;
  font-size: 15px;
}

.slider-alt-details p {
  text-align: left;
  margin-bottom: 6px;
}

.slider-alt-price {
  padding: 10px;
  background-color: #d9dee4;
  border-radius: 0 0 15px 15px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
margin-bottom: 11px;
}

.slider-alt-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #fefefe, #e0e0e0);
  
  padding: 15px 85px 7px;
  text-decoration: none;

  animation: pulse 3s infinite;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.slider-alt-btn strong {
  color: #004d74;
  font-size: 11px;
  font-weight: bold;
  padding-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slider-alt-btn p {
  font-size: 22px;
  color: #d42180;
  font-weight: bold;
  margin: -4px 0 -6px;
}

.euro-big {
  font-size: 30pt;
}

.euro-small {
  font-size: 20pt;
  margin-left: -4px;
}

.slider-alt-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  border-color: #d42180;
}

@keyframes pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(1px); }
  52% { transform: translateX(-1px); }
  54% { transform: translateX(1px); }
  56% { transform: translateX(-1px); }
  58% { transform: translateX(0); }
}

.slider-alt-scroll {
  position: absolute;
  top: 39%;
  transform: translateY(-50%);
  background-color: #d42180;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
}

.slider-alt-scroll:hover {
  background-color: #a91a62;
  color: #F4C542;
}

.scroll-left { left: 10px; top: 290px;}
.scroll-right { right: 10px; top: 290px; }

.slider-alt-controls-desktop {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0px 0px 20px 0px;
}

.slider-alt-controls-desktop button {
    background-color: #d42180;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    width: auto;
    min-width: 150px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-alt-controls-desktop button:hover {
    background-color: #b51b6c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.slider-alt-controls-desktop button:active {
    transform: scale(0.98);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}


@media (max-width: 767px) {
  .slider-alt-wrapper {
    overflow-x: auto;
    padding: 0 5px;
    
  }
  .rating-section img {
    height: 16px;
  }
.card-body{
padding:0rem!important;
}

  .slider-alt-cards {
    flex-wrap: nowrap;
    gap: 6px;
padding:0;
    width: max-content;
  }

  .slider-alt-card {
    width: 90vw;
    
    flex: 0 0 auto;
  }

  .slider-alt-controls-desktop {
    display: none !important;
  }


  .slider-alt-scroll {
    display: flex !important;
    top: 39%;
    transform: translateY(-50%);
  }
}

/* DESKTOP: Mostra bottoni sotto, nascondi frecce laterali */
@media (min-width: 768px) {
  .slider-alt-scroll {
    display: none !important;
  }

  .slider-alt-controls-desktop {
    display: flex !important;
  }
}


/* regole slider offerte facebook */
  .custom-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: calc(350px * 5);
    margin: 0 auto;
    padding: 0;
background-color:#f1f1f1;
  }

  .custom-slider-cards {
    display: flex;
    transition: transform 0.4s ease;
    padding: 0;
    background-color:#f1f1f1;
    margin-top: 1.5rem;
  }

  .custom-slider-card {
    position: relative;
    width: 360px;
    height: 330px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 16px;
  }

  .custom-slider-card:last-child {
    margin-right: 0;
  }

  .custom-slider-card:hover {
    transform: translateY(-5px);
  }

  .custom-slider-image {
    width: 100%;
    height: 100%;
    }

  .custom-slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }

  .custom-slider-card:hover .custom-slider-overlay {
    transform: translateY(0%);
  }

  .custom-slider-offer-btn {
    background-color: #d42180;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }

  .custom-slider-offer-btn:hover {
    background-color: #a91a62;
    color: #f4c542;
  }

  .custom-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d42180;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s ease;
  }

  .custom-slider-btn:hover {
    background-color: #a91a62;
    color: #f4c542;
  }

  .custom-slider-left {
    left: 10px;
  }

  .custom-slider-right {
    right: 10px;
  }

  @media (max-width: 768px) {

    
    .custom-slider-wrapper {
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; 
    }
    
  .custom-slider-wrapper::-webkit-scrollbar {
    display: none; /* nasconde la barra su Chrome/Safari */
  }
     .custom-slider-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content; /* forza larghezza superiore allo schermo */
    scroll-behavior: smooth;
  }

      .custom-slider-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 85vw; /* adatta alla larghezza del telefono */
    max-width: 360px;
  }

    .custom-slider-btn {
      display: none;
    }
.custom-slider-cards {
  will-change: transform;
}
    .custom-carousel-indicators {transform: translate(calc(-50% - 0rem), 0)!important;}
  }
/* regole offerte mensili */

.sfondo-moduli{
  text-align: center;
  padding: 0.5rem; 
  border-radius: 7px;
  background-color:#dfe3e7!important;
}

.Valutazione-face{
  Color:#E33F93;
  font-size:20px;
}
/* sezioni foto camere */
  .camera-button {
    width: 95%;
    margin: 10px auto;
    padding: 10px;
    text-align: center;
    font-size: 16pt;
    background: linear-gradient(to right, #d42180, #f06a9b);
    color: #ffffff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, 'Arial Unicode MS', Helvetica, sans-serif;
    position: relative;
  }
  .camera-button .indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14pt;
    transition: transform 0.3s ease;
  }
  .camera-button.open .indicator {
    transform: translateY(-50%) rotate(180deg);
  }
  .camera-content {
    width: 95%;
    margin: 0px auto 20px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

.carousel-inner {
    height:300px;
  box-shadow: 0px 3px 15px 0px  #6d757e6e;
}

.carousel-inner img {   
    height:300px;
}
.custom-carousel-indicators {transform: translate(calc(-50% - 3rem), 0)!important;}
/* sezione regole slider villaggi home */

.slider-alt-container {
  border: none;
}



.slider-alt-wrapper {
  max-width: 1320px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  height: 705px;
}

.slider-alt-cards {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
  padding-top: 1rem;
  
}

.slider-alt-card {
  flex: 0 0 auto;
  width: 426px;
  border-radius: 15px;
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid #E43F93;
  overflow: hidden;
  background-color: #fff;
  margin: 0;
  font-family: 'Arial', sans-serif;
}

.slider-alt-image {
  width: 100%;
  height: 280px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  position: relative;
}

.slider-alt-zoom {
  transition: transform 0.4s ease;
  will-change: transform;
  height: 100%;
}

.slider-alt-image:hover .slider-alt-zoom {
  transform: scale(1.05);
}

.slider-alt-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #D00A77;
  font-size: 28px;
  line-height: 45px;
  text-align: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  font-weight: bold;
}

.slider-alt-location {
  background-color: #f0f4f8;
  color: #333;
  text-align: center;
  padding: 15px 0 5px;
  margin-top: -8px;
  position: relative;
}

.slider-alt-location p {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #7f9db7;
}

.slider-alt-underline {
  width: 50%;
  height: 2px;
  background-color: #d00a77;
  margin: 10px auto 0;
  border-radius: 2px;
}

.slider-alt-details {
  background-color: #f0f4f8;
  color: #003366;
  padding: 10px 20px;
  font-size: 15px;
}

.slider-alt-details p {
  text-align: left;
  margin-bottom: 6px;
}

.slider-alt-price {
  padding: 10px;
  background-color: #d9dee4;
  border-radius: 0 0 15px 15px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
margin-bottom: 11px;
}

.slider-alt-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #fefefe, #e0e0e0);
  border-radius: 12px;
  padding: 15px 85px 7px;
  text-decoration: none;
  box-shadow: 0 6px 0 #aaa, 0 8px 15px rgba(0, 0, 0, 0.2);
  animation: pulse 3s infinite;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.slider-alt-btn strong {
  color: #004d74;
  font-size: 11px;
  font-weight: bold;
  padding-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slider-alt-btn p {
  font-size: 22px;
  color: #d42180;
  font-weight: bold;
  margin: -4px 0 -6px;
}

.euro-big {
  font-size: 30pt;
}

.euro-small {
  font-size: 20pt;
  margin-left: -4px;
}

.slider-alt-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  border-color: #d42180;
}

@keyframes pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(1px); }
  52% { transform: translateX(-1px); }
  54% { transform: translateX(1px); }
  56% { transform: translateX(-1px); }
  58% { transform: translateX(0); }
}

.slider-alt-scroll {
  position: absolute;
  top: 39%;
  transform: translateY(-50%);
  background-color: #d42180;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
}

.slider-alt-scroll:hover {
  background-color: #a91a62;
  color: #F4C542;
}

.scroll-left { left: 10px; top: 290px;}
.scroll-right { right: 10px; top: 290px; }

.slider-alt-controls-desktop {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0px 0px 20px 0px;
}

.slider-alt-controls-desktop button {
    background-color: #d42180;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    width: auto;
    min-width: 150px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-alt-controls-desktop button:hover {
    background-color: #b51b6c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.slider-alt-controls-desktop button:active {
    transform: scale(0.98);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}


@media (max-width: 767px) {
  .slider-alt-wrapper {
    overflow-x: auto;
    padding: 0 5px;
    
  }

.card-body{
padding:0rem!important;
}

  .slider-alt-cards {
    flex-wrap: nowrap;
    gap: 6px;
padding:0;
    width: max-content;
  }

  .slider-alt-card {
    width: 90vw;
    
    flex: 0 0 auto;
  }

  .slider-alt-controls-desktop {
    display: none !important;
  }


  .slider-alt-scroll {
    display: flex !important;
    top: 39%;
    transform: translateY(-50%);
  }
}

/* DESKTOP: Mostra bottoni sotto, nascondi frecce laterali */
@media (min-width: 768px) {
  .slider-alt-scroll {
    display: none !important;
  }

  .slider-alt-controls-desktop {
    display: flex !important;
  }
}
/* --- Smart Slider (Nextend) - contieni gli slide fuori schermo --- */
.n2-ss-slider,
.n2-ss-slider .n2-ss-slider-wrapper,
.n2-ss-slider .n2-ss-slide-backgrounds,
.n2-ss-slider .n2-ss-layers-container {
  overflow: hidden !important;
}

/* Evita che immagini/layer interni forzino larghezze strane */
.n2-ss-slider img,
.n2-ss-slider picture,
.n2-ss-slider .n2-ss-slide-background-image {
  max-width: 100%;
  height: auto;
}

/* --- Custom cards slider (quello con "Scopri l'offerta") --- */
/* Assicurati che il wrapper esterno esista, altrimenti creane uno */
.custom-slider,
.custom-slider-wrap,
#custom-slider-cards-parent {
  position: relative;
  overflow: hidden; /* il track può traslare, ma niente sborda la viewport */
}

/* Il track che si muove: niente dimensioni “infinite” tramite width fissa */
#custom-slider-cards {
  display: flex;
  will-change: transform;
}

/* Le card non devono superare il contenitore su view piccole */
.custom-slider-card {
  flex: 0 0 clamp(240px, 80vw, 360px);
  max-width: 100%;
}
/* Footer: non usare 100vw, tieni dentro la viewport */
footer.container-footer.footer.full-width {
  width: 102% !important;
  overflow-x: hidden;          /* se qualcosa tenta di uscire, lo tagli */
}



  .gv-accordion { border: 1px solid #d42180; border-radius: 8px; background:#f9f9f9; box-shadow:0 4px 12px rgba(0,0,0,.1); }
  .gv-accordion .hdr { display:flex; align-items:center; justify-content:space-between; width:100%; background:#fff; color:#003366;
    font-weight:700; font-size:15pt; padding:12px 16px; border:0; cursor:pointer; border-bottom:1px solid #eee; text-align:left }
  .gv-accordion .hdr:focus { outline:2px solid #d42180; outline-offset:2px }
  .gv-accordion .panel { display:none; padding:12px 16px; color:#003366; font-size:10pt }
  .gv-accordion .item.is-open .panel { display:block }
  .gv-accordion .chev { transition:transform .2s ease }
  .gv-accordion .item.is-open .chev { transform:rotate(180deg) }
  /* Bottoni camere (toggle interni) */
  .camera-button { margin:10px 0; padding:10px 12px; background:#fff; border:1px solid #d42180; border-radius:6px; cursor:pointer;
    display:flex; justify-content:space-between; align-items:center; color:#003366; font-weight:600 }
  .camera-content { display:none; margin:8px 0 0 }
  .camera-content.is-open { display:block }


.section-button {
  font-size: 15pt;
  font-weight: bold;
  color: #d42180;
  cursor: pointer;
  margin: 10px 0;
}

.section-content {
  display: none; /* chiuso di default */
  margin-top: 10px;
}

.banner-nome-struttura {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color:#E44093;
    color:#fff;
    font-size: 28px;
    line-height: 45px;
    text-align: center;
    font-weight: bold;
}
.immagini_home{
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

  .toggle-box {
    border:#d42180;
    margin: 10px 0;
    border-radius: 6px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
.toggle-header {
    cursor: pointer;
    border: solid #d42180 1px;
    background-color: #fff;
    color: #003366;
    padding: 15px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    border-radius: 7px;
}
  .toggle-content {
    display: none;
    background-color: #edece8;
    padding: 15px;
    text-align: center;
  }
  .toggle-content iframe {
    border: 0;
    width: 100%;
    height: 430px;
    border-radius: 0 0 6px 6px;
  }
