/* tesla1618.com - correzioni e aggiunte al template Avana (05/12/2026). Caricato dopo style.css, responsive.css e layout.css. */

/* Open Sans sul nostro server (non piu' da Google Fonts): font variabile pesi 300-800, solo caratteri latini.
   Fonte: @fontsource-variable/open-sans 5 (licenza SIL OFL 1.1, vedi fonts/OpenSans-LICENZA-OFL.txt), scaricato il 05/12/2026. */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/OpenSans-latin-variabile.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap; src: url("../fonts/OpenSans-latin-variabile-corsivo.woff2") format("woff2"); }
body, button, input, textarea { font-family: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #404040; }

/* Link "Vai al contenuto" per tastiera e lettori di schermo */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #30a8e6; color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
a:focus-visible, button:focus-visible { outline: 3px solid #30a8e6; outline-offset: 2px; }

/* Testata: logo e pulsante del menu (ora e' un vero <button>) */
.site-header .container::after { content: ""; display: table; clear: both; }
.site-header nav #menu-button { background: none; border: 0; padding: 0; margin-top: 10px; }
.site-header nav ul.open { display: block; }
.site-header nav ul > li > a:focus-visible { outline-offset: -4px; }
body.menu-aperto { overflow: hidden; }

/* Titoli delle pagine: ora sono <h1> (prima <h2>) */
.page-title h1 { margin: 0; }
.page-title h1 span { line-height: 1.1; }

/* Griglie dei prodotti: sempre visibili (l'effetto a comparsa lasciava i riquadri trasparenti) */
.grid-lod, .schede { list-style: none; margin: 0; padding: 0; }
.grid-lod li { opacity: 1; margin-bottom: 30px; }
.grid figure.effect-oscar { margin-bottom: 30px; }
.grid figure.effect-oscar figcaption h2, .grid figure.effect-oscar figcaption h3 { font-size: 26px; line-height: 1.2; margin: 0; }
.grid figure.effect-oscar figcaption a { opacity: 0; }   /* il link copre tutto il riquadro: testo solo per i lettori di schermo */

/* Home */
.blog-details .post-details .bog-header .h3 { font-size: 30px; line-height: 1.3; }
.blog-details .post-details .benefici { font-size: 18px; line-height: 1.6; color: #555; max-width: 900px; margin: 10px auto 0; }
.logo-grande { width: 100%; height: auto; border: 1px solid #999; }
.titolo-blu { color: #30a8e6; font-size: 28px; font-weight: 800; margin: 30px 0 20px; }
.titolo-linee { clear: both; color: #fb5353; text-align: center; font-size: 40px; font-weight: 800; margin: 40px 15px 10px; }
.titolo-linea { clear: both; color: #30a8e6; text-align: center; font-size: 32px; font-weight: 800; margin: 30px 15px 25px; }
.titolo-sezione { clear: both; color: #404040; font-size: 30px; font-weight: 800; margin: 40px 15px 0; }

/* About: pubblicazioni */
.main-inner .thumbnails-pan section { margin-bottom: 30px; }
.main-inner .thumbnails-pan section figure { cursor: default; }
.main-inner .thumbnails-pan section figure figcaption { margin: 0 20px; padding: 16px 12px 20px; }
.main-inner .thumbnails-pan section figure figcaption h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.main-inner .thumbnails-pan section figure figcaption p { font-size: 12px; line-height: 1.4; margin: 0; }
.test-scientifici { clear: both; padding: 40px 15px 0; font-size: 17px; line-height: 1.6; }
.test-scientifici p { margin-bottom: 18px; }

/* Pagine misure */
.page-title.blog-header { padding-bottom: 60px; }
section.blog-content .scheda-testo { padding: 25px 30px; }
section.blog-content figure { cursor: default; }   /* l'immagine non e' un link: porta a Zavalos solo il pulsante */
section.blog-content .scheda-testo h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; color: inherit; }
section.blog-content .scheda-testo p { margin-bottom: 12px; }
section.blog-content .scheda-testo img { display: block; max-width: 100%; height: auto; margin: 10px 0; }
section.blog-content .nota-misura { font-size: 15px; line-height: 1.5; }
section.blog-content:hover .scheda-testo a { color: #fff; }
.grid-lod li .scheda-acquista a, .scheda-acquista a { display: inline-block; background: #fb5353; color: #fff; padding: 8px 20px; border-radius: 5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 3px 0 #c93d3d; transition: background-color .2s, transform .2s; }
section.blog-content:hover .scheda-acquista a { background: #fb5353; color: #fff; }
.grid-lod li .scheda-acquista a:hover, .grid-lod li .scheda-acquista a:focus-visible { background: #e84343; color: #fff; text-decoration: none; transform: translateY(-2px); }
.taglie-titolo { text-align: center; margin-top: 15px; }
.table.taglie { background: transparent; font-size: 15px; }
.table.taglie td, .table.taglie th { text-align: center; }
html { scroll-padding-top: 20px; }

/* Contatti */
.contatti-box { padding: 40px 0 60px; font-size: 18px; line-height: 1.6; }
.contatti-box img { float: right; margin: 0 0 15px 20px; }
.contatti-lista { list-style: none; padding: 0; margin: 0 0 25px; }
.contatti-lista li { margin-bottom: 10px; }
.contatti-box a { color: #30a8e6; }
.contatti-box address { margin-bottom: 10px; }

/* Pagine legali e 404 */
.pagina-legale { max-width: 900px; padding: 20px 15px 40px; font-size: 17px; line-height: 1.7; }
.pagina-legale h1 { font-size: 38px; font-weight: 800; color: #404040; margin: 30px 0 25px; }
.pagina-legale h2 { font-size: 24px; font-weight: 800; color: #30a8e6; margin: 30px 0 12px; }
.pagina-legale h3 { font-size: 19px; font-weight: 700; margin: 20px 0 8px; }
.pagina-legale p { margin-bottom: 14px; }
.pagina-legale a { color: #30a8e6; text-decoration: underline; }
.pagina-legale dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.pagina-legale dt { font-weight: 700; }
.pagina-legale dd { margin: 0; }
.bottone { display: inline-block; background: #fb5353; color: #fff !important; text-decoration: none !important; padding: 8px 18px; border-radius: 5px; margin: 5px 8px 5px 0; font-weight: 700; }
@media (max-width: 600px) { .pagina-legale dl { grid-template-columns: 1fr; } .pagina-legale dd { margin-bottom: 8px; } }

/* Fondo pagina */
.footer-shop { flex-direction: column; align-items: center; text-align: center; padding: 20px 15px; }
.footer-shop-title { font-size: 2rem; font-weight: 500; margin: 0; }
.footer-shop-buttons { display: flex; flex-wrap: wrap; justify-content: center; }
.footer-shop .button { text-align: center; }
.footer-shop .button:hover, .footer-shop .button:focus { color: #37474f; }
.footer-shop-reseller { font-size: 18px; margin: 5px 0 10px; }
.footer-shop-reseller a { color: #fff; text-decoration: underline; }
.site-footer { padding-top: 0; }
.site-footer .footer-nav { padding-top: 37px; }
.site-footer .footer-nav > ul { text-align: center; padding: 0; margin: 0 0 10px; list-style: none; }
.site-footer .footer-nav > ul > li { display: inline-block; text-transform: uppercase; font-size: 15px; margin: 0 13px 8px; }
.site-footer .footer-nav > ul > li > a { color: #767676; }
.site-footer .footer-nav > ul > li > a:hover { color: #fb5353; text-decoration: none; }
.site-footer .footer-nav .footer-legal > li { text-transform: none; font-size: 14px; }
.site-footer ul.social-icons { list-style: none; }
.site-footer .copy-right { color: #767676; line-height: 1.5; }
.site-footer .copy-right a { color: #767676; text-decoration: underline; }
