/* =========================================
   1. IMPOSTAZIONI BASE E COLORI TEMA
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* Azzurro chiarissimo estivo */
    font-family: 'Montserrat', sans-serif;
    color: #2b2d42;
}

h1, h2, h3, h4, .nome-bnb, .titolo-top-servizi {
    font-family: 'Playfair Display', serif;
    color: #0077b6; /* Azzurro Oltremare */
}

.divgenerale {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: transparent;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* =========================================
   2. HEADER E BANDIERE
========================================= */
.header-struttura {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    position: relative; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nome-bnb { margin: 0; font-size: 2.8rem; color: #0077b6; }
.sottotitolo-bnb { margin: 5px 0 0 0; color: #666; font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase; font-family: 'Montserrat', sans-serif;}

.stelle-intestazione { display: flex; justify-content: center; gap: 6px; margin: 10px 0; color: #d4af37; }
.stelle-intestazione svg { width: 22px; height: 22px; }

.selettore-lingua { position: absolute; top: 20px; right: 30px; display: flex; gap: 8px; z-index: 100; }
.btn-lingua { display: flex; align-items: center; gap: 6px; color: #444; font-weight: bold; font-size: 0.85rem; padding: 6px 12px; background: #fdfdfd; border: 1px solid #eaeaea; border-radius: 20px; transition: 0.3s; }
.btn-lingua.attivo { background: #ffffff; border-color: #d4af37; color: #d4af37; box-shadow: 0 2px 10px rgba(212,175,55,0.15); }
.bandiera-img { width: 20px; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }

/* =========================================
   3. MENU PRINCIPALE (Corretto Overflow)
========================================= */
.menu-principale { 
    background: #ffffff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    padding: 20px 0; /* Aumentato per non far sbordare i tasti */
    transition: 0.4s; 
}
.menu-principale.menu-ridotto { 
    padding: 12px 0; /* Ridotto ma non troppo, per mantenere l'aria attorno ai tasti */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
}

.lista-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 30px; }
.lista-menu li a:not(.btn-menu-prenota) { color: #444; font-weight: bold; padding: 8px 18px; border-radius: 30px; transition: 0.3s; }
.lista-menu li a:not(.btn-menu-prenota):hover { color: #d4af37; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* Tasto Prenota con animazione a respiro */
.btn-menu-prenota { 
    background: #ffffff; 
    color: #0077b6 !important; 
    border: 2px solid #0077b6; 
    padding: 10px 25px; 
    border-radius: 30px; 
    font-weight: bold; 
    transition: 0.3s; 
    animation: respiro 3s infinite ease-in-out;
    display: inline-block;
}
.btn-menu-prenota:hover { 
    background: #0077b6; 
    color: #ffffff !important; 
    transform: scale(1.05); 
    animation: none;
}

.contenitore-tendina { position: relative; margin: 0 10px; }
.tendina-sconto { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 20px); background: #ffffff; padding: 12px 20px; border-radius: 8px; border: 1px solid #d4af37; box-shadow: 0 10px 25px rgba(0,0,0,0.15); font-size: 0.95rem; white-space: nowrap; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1001; }
.tendina-sconto::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border-width: 8px; border-style: solid; border-color: transparent transparent #d4af37 transparent; }
.contenitore-tendina:hover .tendina-sconto { opacity: 1; visibility: visible; transform: translate(-50%, 10px); }

/* =========================================
   4. ANIMAZIONI GLOBALI (Respiro)
========================================= */
@keyframes respiro {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}
.animazione-respiro { animation: respiro 3s infinite ease-in-out; }
.animazione-respiro:hover { animation: none; transform: scale(1.05); }

/* =========================================
   5. TABELLE E COPERTINA
========================================= */
.divtabella { width: 100%; border-collapse: collapse; margin-top: 20px; background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow: hidden; }
.divtabella th { font-weight: normal; text-align: center; padding: 30px; line-height: 1.8; font-size: 1.05rem; }
.contenitore-copertina { padding: 0 !important; position: relative; }
.link-galleria { display: block; position: relative; background: #000; }
.link-galleria img { width: 100%; max-height: 500px; object-fit: cover; transition: 0.4s; }
.testo-hover { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 1.8rem; font-weight: bold; opacity: 0; transition: 0.4s; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
.link-galleria:hover img { opacity: 0.6; transform: scale(1.03); }
.link-galleria:hover .testo-hover { opacity: 1; }

/* Bottoni Call to Action Grandi */
.contenitore-cta-prenota { width: 100%; margin: 50px 0; }
.btn-prenota-full { display: flex; justify-content: center; align-items: center; width: 100%; height: 75px; background: #d4af37; color: #fff !important; border-radius: 40px; font-size: 1.3rem; font-weight: bold; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(212,175,55,0.4); transition: 0.3s; }
.btn-prenota-full:hover { transform: translateY(-4px); background: #c5a030; box-shadow: 0 8px 25px rgba(212,175,55,0.6); }
.testo-cta-1, .testo-cta-2 { position: absolute; width: 100%; text-align: center; padding: 0 20px; box-sizing: border-box; }
.testo-cta-1 { animation: slide1 8s infinite; }
.testo-cta-2 { animation: slide2 8s infinite; opacity: 0; }
@keyframes slide1 { 0%, 40% { opacity: 1; transform: translateY(0); } 45%, 95% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slide2 { 0%, 40% { opacity: 0; transform: translateY(20px); } 45%, 95% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } }

/* =========================================
   6. SEZIONE LUOGHI (POI)
========================================= */
.scheda-luoghi { background: #fff; border-top: 5px solid #0077b6; border-radius: 30px 30px 0 0; padding: 40px 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin: 50px 0; }
.intestazione-luoghi { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 30px; border-bottom: 1px solid #f0f0f0; padding-bottom: 25px; }
.item-chiave-centro { background: #d4af37; color: #fff; padding: 12px 30px; border-radius: 30px; display: flex; align-items: center; gap: 15px; font-weight: bold; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); white-space: nowrap;}
.sottotitolo-luoghi { border-left: 4px solid #d4af37; padding-left: 10px; margin: 30px 0 20px 0; color: #222; font-size: 1.2rem; font-weight: bold;}
.griglia-luoghi { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.item-luogo { display: flex; align-items: center; gap: 12px; background: #fdfdfd; border: 1px solid #eaeaea; padding: 12px 18px; border-radius: 30px; transition: 0.3s; font-weight: 600;}
.item-luogo i { color: #0077b6; font-size: 1.2rem; width: 25px; text-align: center; }
.item-luogo:hover { transform: translateY(-5px); border-color: #0077b6; box-shadow: 0 6px 15px rgba(0,119,182,0.15); color: #0077b6; }
.dist-km { color: #888; margin-left: auto; font-size: 0.85rem; font-weight: 400;}

/* =========================================
   7. SERVIZI
========================================= */
.scheda-servizi-top { background: #fff; border-top: 5px solid #d4af37; border-radius: 12px; padding: 40px 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 40px; }
.griglia-top-servizi { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.item-top { display: flex; align-items: center; gap: 10px; background: #f9f9f9; padding: 12px 20px; border-radius: 30px; border: 1px solid #eaeaea; font-weight: bold; transition: 0.3s; white-space: nowrap;}
.item-top i { color: #d4af37; font-size: 1.2rem; }
.item-top:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.contenitore-btn-servizi { text-align: center; margin-top: 30px; }
.btn-scopri-servizi { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #0077b6; border: 2px solid #0077b6; padding: 12px 30px; border-radius: 30px; font-weight: bold; transition: 0.3s; }
.btn-scopri-servizi:hover { background: #0077b6; color: #fff; transform: translateY(-3px); }

.titolo-sezione-generale { 
    text-align: center; 
    font-size: 2rem; 
    margin: 40px 0; 
    color: #0077b6; /* Titolo principale in blu come le recensioni */
    font-family: 'Playfair Display', serif;
}

.titolo-top-servizi { 
    font-size: 1.5rem; 
    margin-top: 0; 
    margin-bottom: 18px; /* Spazio anomalo rimosso */
    color: #0077b6; /* Testo in blu */
    text-align: center; /* Testo centrato all'interno del banner */
}

.animazione-respiro-scheda {
    animation: respiro-scheda 4s infinite ease-in-out;
}

@keyframes respiro-scheda {
    0% { transform: scale(1); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
    50% { transform: scale(1.015); box-shadow: 0 8px 25px rgba(0, 119, 182, 0.12); } /* Aggiunge un leggerissimo glow azzurro */
    100% { transform: scale(1); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
}
.griglia-categorie-servizi { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.card-servizio { background: #fff; border-radius: 12px; padding: 25px; border: 1px solid #eaeaea; flex: 1 1 calc(33.333% - 25px); min-width: 300px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; }
.card-servizio:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.titolo-categoria { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; margin-top: 0; color: #222;}
.titolo-categoria i { color: #d4af37; font-size: 1.4rem; width: 30px; text-align: center;}
.lista-servizi { list-style: none; padding: 0; margin: 0; }
.lista-servizi li { position: relative; padding: 8px 0 8px 20px; font-size: 0.95rem; color: #555; line-height: 1.4;}
.lista-servizi li::before { content: "•"; position: absolute; left: 0; color: #0077b6; font-size: 1.5rem; top: 0px; }

/* =========================================
   8. RECENSIONI (Stile Uniformato al Tema)
========================================= */
.riepilogo-recensioni { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 40px; border: 1px solid #eaeaea;}
.intestazione-riepilogo { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.badge-voto { background: #0077b6; color: #fff; font-size: 1.5rem; padding: 10px 15px; border-radius: 8px; font-weight: bold; } /* Tolsi i bordi tagliati di Booking */
.testo-voto strong { font-size: 1.3rem; color: #333; }
.titolo-categorie { font-size: 1rem; font-weight: bold; margin-bottom: 15px; }
.griglia-categorie { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 40px; }
.dettagli-categoria { display: flex; justify-content: space-between; margin-bottom: 5px; font-weight: 600; font-size: 0.95rem;}
.barra-sfondo { width: 100%; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.barra-valore { height: 100%; background: #0077b6; border-radius: 4px; } /* Uniformato all'azzurro */

.griglia-recensioni { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 40px;}
.card-recensione {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    transition: 0.3s;
}
.intestazione-recensione { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
/* Allineamento nome e bandiera */
.nome-ospite { 
    font-weight: bold; 
    font-size: 1.1rem; 
    color: #0077b6; 
    display: flex; 
    align-items: center; 
    gap: 8px; /* Spazio tra la bandiera e il nome */
}

/* Stile della bandierina delle recensioni */
.bandiera-recensione {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: block;
}
.voto-struttura { background: #d4af37; color: #fff; padding: 4px 10px; border-radius: 8px; font-weight: bold; } /* Uniformato all'oro */
.data-soggiorno { font-size: 0.85rem; color: #888; margin-bottom: 15px; font-style: italic;}
.titolo-recensione { font-weight: bold; font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; color: #222;}
.testo-recensione { font-size: 0.95rem; line-height: 1.6; color: #444; margin: 0;}
.contenitore-btn-recensioni { text-align: center; margin: 40px 0 30px 0; width: 100%;}
.btn-recensioni { display: inline-block; background: #0077b6; color: #fff; padding: 15px 35px; border-radius: 30px; font-weight: bold; transition: 0.3s; }
.btn-recensioni:hover { background: #005f92; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,119,182,0.3); }
/* --- TASTO TRADUZIONE RECENSIONI (SUPER-REATTIVO PER MOBILE) --- */
.btn-traduci {
    background: transparent;
    border: none;
    color: #0077b6;
    font-weight: 600;
    font-size: 1rem; /* Più grande per leggibilità */
    cursor: pointer;
    /* Creiamo un'area cliccabile ENORME per i pollici, compensata dai margini negativi */
    padding: 15px 20px; 
    margin-top: 10px;
    margin-left: -20px; /* Lo tiene allineato a sinistra visivamente, ma il tasto sfora verso sinistra per farsi cliccare */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 10; /* Assicura che NIENTE gli stia sopra a bloccare il clic */
    transition: transform 0.1s ease, opacity 0.1s ease;
}

/* Animazione visiva ISTANTANEA quando il dito tocca lo schermo */
.btn-traduci:active {
    opacity: 0.4;
    /* Rimosso il transform: scale(0.95) che annullava il click su mobile */
}

/* Hover solo per i PC col mouse */
@media (hover: hover) {
    .btn-traduci:hover {
        color: #d4af37;
        text-decoration: underline;
    }
}

.testo-nascosto {
    display: none !important; 
}

/* =========================================
   9. CONTATTI E REGOLE (Prenotazione)
========================================= */
.scheda-contatti { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); max-width: 650px; margin: 50px auto; text-align: center; border: 1px solid #eaeaea;}
.titolo-contatti { font-size: 1.8rem; margin-bottom: 10px; color: #222; margin-top: 0;}
.sottotitolo-contatti { color: #666; margin-bottom: 35px; font-size: 1.05rem; line-height: 1.5; }
.griglia-recapiti { display: flex; flex-direction: column; gap: 20px; }
.recapito-box { background: #fcfcfc; padding: 25px; border-radius: 8px; border: 1px solid #f0f0f0; transition: 0.3s; display: flex; flex-direction: column; align-items: center;}
.recapito-box:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.04); }
.etichetta-recapito { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.valore-recapito { font-size: 1.5rem; font-weight: bold; color: #222; transition: 0.3s; }
.valore-recapito:hover { color: #555; text-decoration: underline; }

.scheda-regole { background: #fff; border-radius: 12px; padding: 30px; margin: 40px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eaeaea; }
.titolo-regole { font-size: 1.4rem; margin-bottom: 25px; margin-top: 0; color: #222;}
.riga-regola { display: grid; grid-template-columns: 30% 70%; gap: 20px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.riga-regola:last-child { border-bottom: none; padding-bottom: 0;}
.titolo-regola { font-weight: bold; font-size: 1.05rem; display: flex; align-items: flex-start; gap: 10px; color: #0077b6; }
.dettaglio-regola { font-size: 1rem; line-height: 1.5; }
.nota-regola { font-size: 0.9rem; color: #666; display: block; margin-top: 8px;}
.nota-recensioni-verificate {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 20px;
    padding: 0 20px;
}

/* Host */
.scheda-host { background: #fff; border-top: 5px solid #d4af37; border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin: 40px 0; border: 1px solid #eaeaea; }
.intestazione-host { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; margin-bottom: 25px; }
.profilo-host { display: flex; align-items: center; gap: 15px; }
.avatar-host { width: 65px; height: 65px; background: #d4af37; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);}
.info-nome-host { display: flex; flex-direction: column; gap: 5px;}
.nome-host { margin: 0; font-size: 1.4rem; color: #222; }
.badge-privato { background: #f4f4f4; padding: 4px 10px; border-radius: 6px; font-size: 0.85rem; color: #666; font-weight: bold; display: inline-block; width: fit-content;}
.punteggio-host { display: flex; align-items: center; gap: 12px; text-align: right; }
.testo-punteggio-host { display: flex; flex-direction: column; text-align: right; }
.giudizio-host { font-weight: bold; font-size: 1.05rem; color: #333;}
.recensioni-host { font-size: 0.85rem; color: #777;}
/* Uniformato lo stile Host al tema, via il booking blue */
.badge-voto-host { background: #0077b6; color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 1.4rem; font-weight: bold; display: flex; align-items: center; justify-content: center;} 
.corpo-host { display: flex; flex-direction: column; gap: 15px; }
.titolo-sezione-host { margin: 10px 0 5px 0; font-size: 1.1rem; color: #222;}
.descrizione-host { margin: 0; line-height: 1.6; font-size: 0.95rem; color: #444; }
.lingue-host { display: flex; flex-wrap: wrap; gap: 10px;}
.pillola-lingua { background: #fdfdfd; border: 1px solid #eaeaea; padding: 8px 16px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; color: #555; display: flex; align-items: center; gap: 8px; transition: 0.3s;}
.pillola-lingua:hover { background: #fff; border-color: #d4af37; color: #d4af37; }
.pillola-lingua::before { content: "💬"; font-size: 0.9rem;}

/* =========================================
   10. GALLERIA FOTOGRAFICA
========================================= */
.gallery-container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 20px auto; 
    padding: 0; /* Rimosso padding che causava overflow laterale */
    background: transparent;
}

.row { 
    display: flex; 
    flex-wrap: wrap; /* Permette il corretto incastro */
    justify-content: space-between; 
    margin-bottom: 2%; 
    width: 100%;
    gap: 2%;
}

.photo-box { 
    overflow: hidden; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    box-sizing: border-box; /* Essenziale per non rompere i bordi */
}

.photo-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.4s; 
}
.photo-box a { display: block; width: 100%; height: 100%; transition: 0.3s ease; }
.photo-box a:hover { transform: scale(1.02); opacity: 0.9; }

/* Classi proporzioni Desktop */
.w-100 { width: 100%; } .w-60 { width: 60%; max-width: 800px;} .w-38 { width: 38%; max-width: 500px;} .w-32 { width: 32%; max-width: 400px;} .w-63 { width: 63%; max-width: 850px;} .w-35 { width: 35%; max-width: 450px;} .w-48 { width: 48%; max-width: 600px;}

/* =========================================
   11. FOOTER E BANNER FLUTTUANTI
========================================= */
.footer-struttura { background: #ffffff; border-top: 5px solid #d4af37; border-radius: 30px 30px 0 0; padding: 50px 20px 20px 20px; margin-top: 60px; box-shadow: 0 -5px 25px rgba(0,0,0,0.04); }
.contenitore-footer { max-width: 1200px; margin: 0 auto; }
.griglia-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.colonna-footer { flex: 1 1 250px; }
.nome-bnb-footer { font-size: 1.7rem; margin: 0 0 10px 0; color: #222; font-family: 'Playfair Display', serif;}
.slogan-footer { color: #777; font-size: 0.95rem; font-style: italic;}
.titolo-colonna { color: #d4af37; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem; margin-bottom: 20px; }
.testo-footer { line-height: 1.7; color: #444; font-size: 0.95rem; margin-bottom: 10px; }
.link-privacy-footer { color: #d4af37; font-weight: bold; text-decoration: underline; transition: 0.3s;}
.link-privacy-footer:hover { color: #b8952d;}
.codice-cin { background-color: #f9f9f9; padding: 3px 10px; border: 1px solid #eee; border-radius: 6px; font-family: monospace; font-size: 0.9rem;}
.link-footer { list-style: none; padding: 0; margin: 0; }
.link-footer li { margin-bottom: 10px; }
.link-footer a { color: #555; transition: 0.3s; text-decoration: none; font-size: 0.95rem;}
.link-footer a:hover { color: #d4af37; padding-left: 5px; }
.barra-copyright { text-align: center; border-top: 1px solid #f2f2f2; margin-top: 40px; padding-top: 25px; color: #aaa; font-size: 0.85rem; }

/* Fluttuante WhatsApp */
.whatsapp-fluttuante { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: #fff; padding: 15px 25px; border-radius: 30px; display: flex; align-items: center; justify-content: center; gap: 12px; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.3s; text-decoration: none; height: 60px; width: auto; box-sizing: border-box;}
.whatsapp-fluttuante svg { width: 32px; height: 32px; flex-shrink: 0;}
.testo-whatsapp { font-size: 1.05rem; font-weight: bold; white-space: nowrap;}
.whatsapp-fluttuante:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* Banner Booking Fluttuante (Mantiene i colori Booking originali perché è il loro widget) */
.booking-float-banner { position: fixed; top: 20px; left: 20px; z-index: 1100; display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #003b95; padding: 8px 15px; border-radius: 50px; box-shadow: 0 4px 15px rgba(0,59,149,0.2); transition: 0.3s; text-decoration: none !important;}
.booking-float-banner:hover { transform: scale(1.05); background: #f0f4fa; box-shadow: 0 6px 20px rgba(0, 59, 149, 0.3);}
.badge-voto-float { background: #003b95; color: #fff; font-weight: bold; font-size: 1.1rem; padding: 6px 8px; border-radius: 8px 8px 8px 0; line-height: 1;}
.testo-voto-float { display: flex; flex-direction: column; justify-content: center; line-height: 1.1;}
.stelle-booking-float { display: flex; gap: 2px; margin: 2px 0;}
.stelle-booking-float i { color: #003b95; font-size: 0.75rem; }
.giudizio-booking-float { color: #333; font-size: 0.9rem; font-weight: 600; }
.brand-booking { color: #003b95; font-size: 0.85rem; font-weight: bold; letter-spacing: -0.3px;}

/* =========================================
   12. ADATTAMENTO SMARTPHONE (MOBILE)
========================================= */
@media (max-width: 768px) {
   .divgenerale { 
       overflow-x: hidden; 
   }
    .menu-principale { padding: 10px 0 !important; }
    .lista-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 4px; padding: 5px 10px; }
    .lista-menu li a:not(.btn-menu-prenota) { font-size: 0.9rem; padding: 6px 5px; text-align: center; display: block; margin: 0;}
    .lista-menu li { text-align: center; }
    .lista-menu .voce-speciale { grid-column: 1 / -1; order: 3; margin: 2px auto 0 auto; }
    .btn-menu-prenota { padding: 6px 20px !important; font-size: 0.95rem; }
    
    .selettore-lingua { position: relative; top: 0; right: 0; justify-content: center; margin-bottom: 20px; }
    .header-struttura { padding-top: 25px; }
    .nome-bnb { font-size: 2.2rem; }
    
    .scheda-contatti { padding: 30px 20px; }
    .valore-recapito { font-size: 1.2rem; }
    
    .riga-regola { grid-template-columns: 1fr; gap: 8px; padding: 15px 0;}
    .scheda-regole { padding: 20px; }
    
    .intestazione-host { flex-direction: column; align-items: flex-start; gap: 20px; }
    .punteggio-host { width: 100%; justify-content: flex-end; }
    .scheda-host { padding: 20px; }
    
    .row { 
        flex-direction: column; 
        margin-bottom: 0; 
        gap: 15px;
    }
    
    .photo-box { 
        width: 100% !important; 
        max-width: none !important;
        margin-bottom: 5px;
    }
    
    .btn-prenota-full { font-size: 0.95rem; height: 65px; }
    
    .whatsapp-fluttuante { bottom: 20px; right: 20px; width: 55px; height: 55px; padding: 0; border-radius: 50%; gap: 0;}
    .testo-whatsapp { display: none; }
    .whatsapp-fluttuante svg { width: 32px; height: 32px; margin: 0; }
    
    .booking-float-banner { top: auto; bottom: 15px; left: 15px; transform: scale(0.9); padding: 8px 12px; display: flex !important;}
    .stelle-booking-float { display: flex !important; }
    .giudizio-booking-float { display: none; }
    
    .footer-struttura { text-align: center; border-radius: 20px 20px 0 0; }
    .griglia-footer { flex-direction: column; gap: 35px; }

    .fancybox__nav, .fancybox__counter, .fancybox__toolbar__items--left { 
        display: none !important; /* Rimuove frecce e contatore */
    }
    
    .fancybox__content { 
        max-width: 95vw !important; /* Forza il centraggio */
        margin: auto !important;
    }

    .fancybox__backdrop { background: rgba(0,0,0,0.9); }

    .photo-box a {
        pointer-events: none; /* Impedisce l'apertura del visualizzatore */
        cursor: default;
    }
    
    /* Nota recensioni verificate (stile unificato) */
    .nota-recensioni-verificate {
        text-align: center;
        font-size: 0.85rem;
        color: #666;
        font-style: italic;
        margin-top: 20px;
        padding: 0 15px;
        line-height: 1.4;
    }

    /* CORREZIONE OVERFLOW SCHEDA LUOGHI SU MOBILE */
    .scheda-luoghi { 
        padding: 25px 15px; /* Riduce i margini interni giganteschi su mobile */
    }
    
    .griglia-luoghi { 
        grid-template-columns: 1fr; /* Forza i blocchi ad adattarsi perfettamente alla larghezza dello schermo */
    }
    
    .item-chiave-centro { 
        white-space: normal; /* Permette al testo di andare a capo se il telefono è molto stretto */
        text-align: center;
        padding: 12px 20px;
    }
    
    .item-luogo {
        padding: 12px 15px; /* Adatta il padding interno dei bottoni */
    }
}