.contenitoreimmagini .c_immagineprod img {
    border-radius: 10px;
}

.contenitoreimmagini .c_immagineprod {
    width: 49%;
    overflow: hidden;
}

.contenitoreimmagini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: wrap;
}

/**VIDEO**/

.contenitore_video {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.contenitore_video .col_video_testi {
    width: 32%;
}

.contenitore_video h3 {
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
}

.elementor-element.elementor-element-10e05ed .elementor-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.78%;
    /* 16:9 → invertito per 9:16 */
    overflow: hidden;
    border-radius: 12px;
    /* opzionale */
}

.elementor-element.elementor-element-10e05ed video {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}


/** FAQ **/
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: 'Poppins', sans-serif;
}

.faq-item {
    border: 1px solid #ec671b;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 1);
}

.faq-item.active {
    background: #fffaf5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #3a2f22;
    background: transparent;
    border: none;
    transition: color 0.3s ease;
}

button.faq-question h3 {
    font-family: 'Lato', sans-serif;
    margin: 0;
    color: #000;
    font-size: 24px;
    font-weight: bold;
}

.faq-question:hover,
.faq-question:focus {
    background: #fff;
    color: #000;
}

.faq-toggle {
    font-size: 22px;
    font-weight: 700;
    color: #ec671b;
    display: inline-block;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer-wrapper {
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: rgba(0, 0, 0, 0.9);
}

.faq-answer {
    padding: 20px 24px 20px 24px;
    font-size: 1rem;
    color: #fff;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

/** Recensioni **/
.recensione-form h3 a {
    text-align: center;
    display: block;
    font-family: 'Lato', SANS-SERIF;
    font-size: 24px;
    color: #ec671b;
    text-decoration: underline;
    font-style: italic;
}

h2.woocommerce-Reviews-title {
    text-align: center;
    font-family: 'Medel', sans-serif;
    font-size: 30px;
    font-weight: 900;
}

h2.woocommerce-Reviews-title span {
    text-transform: uppercase;
    background: #fff;
    padding: 0 0 10px 0;
    display: inline-block;
    border-radius: 10px;
    color: #ec671b;
}

ol.commentlist img.avatar {
    display: none;
}

ol.commentlist .comment-text {
    margin: 0 !important;
    background: #fff !important;
    padding: 30px !important;
    border-radius: 10px !important;
    border: 1px solid #eee !important;
}

ol.commentlist {
    max-width: 890px;
    margin: 0 auto !important;
    display: block !important;
    padding-left: 0 !important;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p {
    margin: 10px 0 0 0;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
    font-family: 'Lato', sans-serif;
    color: #ec671b;
    font-style: italic;
}

.woocommerce .star-rating span::before {
    color: #ffba00;
}

/* Badge "Verificato" accanto al nome */
.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f7ec;
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1;
    margin-top: 0;
}

.review-verified svg {
    width: 14px;
    height: 14px;
}


/* --- FORM RECENSIONI --- */
#review_form_wrapper {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    max-width: 890px;
    margin: 40px auto;
    font-family: "Lato", sans-serif;
}

/* Titolo */
#review_form_wrapper #reply-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

/* Stelle rating */
#review_form_wrapper .stars {
    display: inline-flex;
    gap: 6px;
    font-size: 0;
    cursor: pointer;
    margin: 0.5rem 0 1.2rem;
}

#review_form_wrapper .stars a {
    display: inline-block;
    width: 28px;
    height: 28px;
    transition: transform .15s ease, background .2s ease;
    color: #ffba00;
}

#review_form_wrapper .stars a:hover,
#review_form_wrapper .stars a:hover~a {
    transform: scale(1.1);
}



/* Label e textarea */
#review_form_wrapper label {
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    display: block;
}

#review_form_wrapper textarea,
#review_form_wrapper select,
#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

#review_form_wrapper textarea:focus,
#review_form_wrapper input:focus,
#review_form_wrapper select:focus {
    border-color: #EC671B;
    outline: none;
}

/* Pulsante */
#review_form_wrapper .form-submit input[type="submit"] {
    background: #EC671B;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
}

#review_form_wrapper .form-submit input[type="submit"]:hover {
    background: #d95c17;
    transform: translateY(-2px);
}

/* Piccole ottimizzazioni */
#review_form_wrapper .comment-form-comment {
    margin-bottom: 20px;
}

#review_form_wrapper .required {
    color: #EC671B;
}

#review_form_wrapper input#submit {
    font-family: "Lato", sans-serif;
    font-size: 20px !important;
    text-transform: uppercase;
    border-radius: 5px 5px 5px 5px !important;
    padding: 25px 15px 25px 15px !important;
    background-color: #ec671b !important;
    transition: all .2s;
    width: 100%;
    color: #fff !important;
}

/* media recensioni */
/* --- MEDIA RECENSIONI --- */
.recensioni-wrapper {
    max-width: 650px;
    margin: 0 auto 40px;
    background: #fffdf9;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 25px 25px 35px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.recensioni-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.recensioni-media .star-rating {
    color: #EC671B;
    font-size: 22px;
}

.recensioni-media .rating-text {
    font-size: 16px;
    color: #444;
    font-weight: 600;
}

/* Form recensione (come prima) */
.recensione-form h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.recensione-form {
    padding-top: 15px;
}


.prerec {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.recensione-form h3 {
    margin: 0;
}



/* valori nutrizionali */
.tabella-nutrizionale {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tabella-nutrizionale thead {
    background: linear-gradient(135deg, #ec671b, #ec671b);
}

.tabella-nutrizionale thead th {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid #ec671b;
}

.tabella-nutrizionale thead th:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.tabella-nutrizionale tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.tabella-nutrizionale tbody tr:last-child {
    border-bottom: none;
}

.tabella-nutrizionale tbody td {
    padding: 14px 20px;
    color: #333333;
    vertical-align: top;
}

.tabella-nutrizionale tbody td:first-child {
    font-weight: 500;
    border-right: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.tabella-nutrizionale tbody td:last-child {
    font-weight: 400;
    text-align: right;
    background-color: #ffffff;
}

.tabella-nutrizionale tbody td[style*="padding-left: 20px"] {
    color: #666666;
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
}

.tabella-nutrizionale tbody td[style*="padding-left: 20px"]:before {
    content: "• ";
    color: #ec671b;
    font-weight: bold;
    margin-right: 5px;
}

/* Versione compatta per mobile */
@media (max-width: 768px) {
    .tabella-nutrizionale {
        font-size: 13px;
    }

    .tabella-nutrizionale thead th,
    .tabella-nutrizionale tbody td {
        padding: 12px 15px;
    }

    .tabella-nutrizionale thead th {
        font-size: 15px;
    }
}