/* === Modifiche Poggio Trevvalle - 20/11/2026 === */

/* B1 - Selettore della lingua piu' visibile, con icona mappamondo */
#_desktop_language_selector .language-selector button,
#_desktop_language_selector .language-selector .expand-more {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  letter-spacing: .08em;
}
#_desktop_language_selector .language-selector .expand-more::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0ac";
  margin-right: 7px;
}
#_desktop_language_selector .language-selector button i {
  color: #222;
  font-weight: 700;
}

/* B2 - Fascia "Tutti i vini - Non solo vino" (vale per italiano e inglese) */
/* Pagina Prodotti: fascia nascosta */
body.category-id-5 .p3v-boxcategpage-col-sx,
body.category-id-5 .p3v-boxcategpage-col-dx { display: none !important; }
body.category-id-5 section.elementor-element:has(.p3v-boxcategpage-col-sx) { display: none !important; }
/* Pagina Vino: resta solo "Non solo vino" (porta all'olio) */
body.category-id-3 .p3v-boxcategpage-col-sx { display: none !important; }
body.category-id-3 .p3v-boxcategpage-col-dx { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
/* stesso grigio scuro dell'altra meta', per leggere bene la scritta bianca */
body.category-id-3 .p3v-boxcategpage-col-dx > .elementor-column-wrap { background-color: #595959 !important; }
/* Pagina Olio: resta solo "Tutti i vini" */
body.category-id-4 .p3v-boxcategpage-col-dx { display: none !important; }
body.category-id-4 .p3v-boxcategpage-col-sx { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }

/* B3 - Pulsante "torna su" piu' grande e visibile anche sul fondo nero */
html body #back-top a {
  width: 58px !important;
  height: 58px !important;
  line-height: 58px !important;
  font-size: 26px !important;
  opacity: 1 !important;
  background: #f3efe6;
  color: #222;
  border: 1px solid rgba(0, 0, 0, .2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
html body #back-top a:hover { background: #fff; color: #000; }
/* sul cellulare un po' piu' piccolo, per non coprire i contenuti */
@media (max-width: 767px) {
  html body #back-top a {
    width: 46px !important;
    height: 46px !important;
    line-height: 46px !important;
    font-size: 22px !important;
  }
}

/* Banda nera "Ha un ristorante..." nascosta sotto le pagine narrative (Poggio Trevvalle, Territorio, Vigneti, Cantina, Bio e Biodinamico) */
body.cms-id-12 section.nob2b,
body.cms-id-13 section.nob2b,
body.cms-id-14 section.nob2b,
body.cms-id-15 section.nob2b,
body.cms-id-16 section.nob2b { display: none !important; }
