/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.scheda-info h2 {
    font-size: 20px;
}
/* === Tabella valori nutrizionali === */
.scheda-tabella {
    margin-top: 20px;
    overflow-x: auto;
}

.scheda-tabella table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 10px 0 0 !important;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1.4;
}

/* Intestazione */
.scheda-tabella th {
    text-align: left !important;
    padding: 10px 12px !important;
    background: #f3f3f3 !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #ddd;
}

/* Celle: corregge anche le righe con "solid:#eee" (bordo mancante) */
.scheda-tabella td {
    padding: 7px 12px !important;
    border-bottom: 1px solid #eee !important;
    vertical-align: top;
}

.scheda-tabella tr:last-child td {
    border-bottom: none !important;
}

/* Valori allineati a destra */
.scheda-tabella td:last-child {
    text-align: right;
    white-space: nowrap;
}

/* Righe alternate */
.scheda-tabella tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Pulizia di <br> e <p> aggiunti da wpautop */
.scheda-tabella br {
    display: none;
}
.scheda-tabella p:empty {
    display: none;
}
.scheda-tabella td p,
.scheda-tabella th p {
    margin: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .scheda-tabella table { font-size: 13px; }
    .scheda-tabella td:last-child { white-space: normal; }
}