/*
  Theme Name: Graphic Designer 
  Theme URI: https://www.graphic-designer.it/
  Version: 1.0.0
  Template: Divi
  Author URI: https://www.graphic-designer.it/
  Description: Template realizzato su misura per Stefano Balestra
  Text Domain: graphic-designer-TMP
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Stile per numero su carrello */
.menu-cart .et_pb_main_blurb_image {
    position: relative;
    display: inline-block;
}

.menu-cart .menu-cart-count {
    position: absolute;
    top: -6px;
    right: -16px;

    min-width: 20px;
    height: 20px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #485939;
    color: #fff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    border-radius: 999px;
    box-sizing: border-box;
}
.menu-cart .menu-cart-count.is-empty {
    display: none;
}


/* ==========================================
   CONTATORE PREFERITI - MENU
   ========================================== */

.menu-wishlist .et_pb_main_blurb_image {
    position: relative;
    display: inline-block;
}

.menu-wishlist .menu-wishlist-count {
    position: absolute;
    top: -6px;
    right: -16px;

    min-width: 20px;
    height: 20px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #485939;
    color: #fff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    border-radius: 999px;
    box-sizing: border-box;
}

.menu-wishlist .menu-wishlist-count.is-empty {
    display: none;
}

/* ==================================================
   PRODOTTI CONSIGLIATI HOME - CARD WOOCOMMERCE
   ================================================== */
/* ==================================================
   PRODOTTI CONSIGLIATI HOME - CARD WOOCOMMERCE
   ================================================== */


/* ------------------------------
   GRIGLIA PRODOTTI
   ------------------------------ */

.prodotti-home .woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Elimina gli pseudo-elementi WooCommerce/Divi */
.prodotti-home .woocommerce ul.products::before,
.prodotti-home .woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

.prodotti-home .woocommerce ul.products li.product {
    flex: 0 0 calc((100% - 40px) / 5) !important;
    width: calc((100% - 40px) / 5) !important;
    max-width: calc((100% - 40px) / 5) !important;
    min-width: 0 !important;

    display: flex !important;
    flex-direction: column;

    margin: 0 !important;
    padding: 0 0 14px 0 !important;

    float: none !important;
    clear: none !important;

    background: #fff;
    border: 1px solid #e2ded5;
    border-radius: 16px;
    overflow: hidden;

    box-sizing: border-box;
}


/* ------------------------------
   CONTENUTO CARD
   ------------------------------ */

.prodotti-home ul.products li.product .woocommerce-LoopProduct-link {
    flex-grow: 1;
}


/* ------------------------------
   IMMAGINE PRODOTTO
   ------------------------------ */

.prodotti-home .et_shop_image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.prodotti-home .et_shop_image img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 0 14px 0 !important;

    object-fit: contain;

    display: block;
    border-radius: 0;
}


/* ------------------------------
   BENESSERE
   ------------------------------ */

.prodotti-home .product-benessere {
    margin: 12px 16px 5px 16px;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;

    color: #222;
}


/* ------------------------------
   NOME PRODOTTO
   ------------------------------ */

.prodotti-home ul.products li.product .woocommerce-loop-product__title {
    margin: 0 16px 12px 16px !important;
    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1.35;
    font-weight: 400;

    color: #333;
}


/* ------------------------------
   PREZZO
   ------------------------------ */

.prodotti-home ul.products li.product .price {
    display: block;

    margin: 0 16px 9px 16px !important;

    font-size: 18px !important;
    line-height: 1.2;
    font-weight: 700;

    color: #111 !important;
}

.prodotti-home ul.products li.product .price del {
    opacity: 0.5;
    font-weight: 400;
}

.prodotti-home ul.products li.product .price ins {
    text-decoration: none;
    font-weight: 700;
}


/* ------------------------------
   VALUTAZIONE STELLE
   ------------------------------ */

.prodotti-home ul.products li.product .star-rating {
    margin: 0 16px 15px 16px !important;
    font-size: 15px;
}

.prodotti-home .star-rating span::before,
.prodotti-home .star-rating::before {
    color: #d59b27;
}


/* ------------------------------
   PULSANTE
   ------------------------------ */

.prodotti-home ul.products li.product .button {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: calc(100% - 28px);

    margin: auto 14px 0 14px !important;
    padding: 12px 10px !important;

    background: #485939 !important;
    color: #fff !important;

    border: none !important;
    border-radius: 8px !important;

    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;

    text-align: center;

    box-sizing: border-box;

    transition: background 0.2s ease;
}

.prodotti-home ul.products li.product .button:hover {
    background: #39482e !important;
    color: #fff !important;
    padding: 12px 10px !important;
}


/* Elimina eventuale icona/freccia Divi */
.prodotti-home ul.products li.product .button::after {
    display: none !important;
}


/* ------------------------------
   ICONA CARRELLO
   ------------------------------ */

.prodotti-home ul.products li.product .button::before {
    content: "\e015" !important;

    font-family: "ETmodules" !important;
    font-size: 18px !important;
    font-weight: normal !important;
    line-height: 1 !important;

    display: inline-block !important;
    position: static !important;

    margin: 0 8px 0 0 !important;

    color: #fff !important;

    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;

    opacity: 1 !important;
    transform: none !important;
}


/* ------------------------------
   BADGE "IN OFFERTA!"
   ------------------------------ */

.prodotti-home ul.products li.product .onsale {
    top: 14px !important;
    left: 14px !important;
    right: auto !important;

    min-width: auto !important;
    min-height: auto !important;

    padding: 12px 14px !important;

    background: #485939 !important;
    color: #fff !important;

    border: 1px solid #fff !important;
    border-radius: 999px !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ==================================================
   RESPONSIVE
   ================================================== */


/* ------------------------------
   TABLET - 3 PRODOTTI
   ------------------------------ */

@media (min-width: 768px) and (max-width: 980px) {

    .prodotti-home .woocommerce ul.products li.product {
        flex: 0 0 calc((100% - 20px) / 3) !important;
        width: calc((100% - 20px) / 3) !important;
        max-width: calc((100% - 20px) / 3) !important;
    }
}


/* ------------------------------
   SMARTPHONE - 2 PRODOTTI
   ------------------------------ */

@media (max-width: 767px) {

    .prodotti-home .woocommerce ul.products li.product {
        flex: 0 0 calc((100% - 10px) / 2) !important;
        width: calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
    }

    .prodotti-home .product-benessere {
        font-size: 14px;
        margin: 10px 10px 5px 10px;
    }

    .prodotti-home ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
        margin: 0 10px 10px 10px !important;
    }

    .prodotti-home ul.products li.product .price {
        font-size: 16px !important;
        margin: 0 10px 10px 10px !important;
    }

    .prodotti-home ul.products li.product .button {
        font-size: 12px !important;
        width: calc(100% - 20px);
        margin: auto 10px 0 10px !important;
        padding: 10px 5px !important;
    }

    .prodotti-home ul.products li.product .button:hover {
        padding: 10px 5px !important;
    }

    .prodotti-home ul.products li.product .button::before {
        font-size: 15px !important;
        margin-right: 5px !important;
    }

    .prodotti-home ul.products li.product .onsale {
        font-size: 10px !important;
        padding: 9px 10px !important;
        top: 10px !important;
        left: 10px !important;
    }
}


/* ==================================================
   FINE PRODOTTI CONSIGLIATI HOME
   ================================================== */
/* ==================================================
   FINE PRODOTTI CONSIGLIATI HOME
   ================================================== */




/* ==========================================
   SHOP OFFICINALE - MODULO WOO PRODUCTS
   Classe CSS: shop-officinale
   ========================================== */


/* ==========================================
   1. GRIGLIA PRODOTTI
   ========================================== */

.shop-officinale ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch;
    column-gap: 8px !important;
    row-gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Elimina gli elementi clearfix WooCommerce */

.shop-officinale ul.products::before,
.shop-officinale ul.products::after {
    display: none !important;
}


/* ==========================================
   2. SCHEDA PRODOTTO
   ========================================== */

.shop-officinale ul.products li.product {
    display: flex !important;
    flex-direction: column;
    position: relative;

    /* Quattro colonne con distanza 8px */
    width: calc((100% - 24px) / 4) !important;
    max-width: none !important;

    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 0 12px !important;

    height: auto;
    border: 1px solid #e8e6e0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}


/* ==========================================
   3. CONTENUTO SCHEDA
   ========================================== */

/* Il contenuto occupa lo spazio disponibile
   per mantenere i pulsanti allineati */

.shop-officinale ul.products li.product
.woocommerce-loop-product__link {
    display: block;
    flex: 1 1 auto;
}

/* Rientro laterale dei soli testi */

.shop-officinale ul.products li.product .product-benessere,
.shop-officinale ul.products li.product h2.woocommerce-loop-product__title,
.shop-officinale ul.products li.product .price,
.shop-officinale ul.products li.product .star-rating {
    margin-left: 12px !important;
    margin-right: 12px !important;
}

/* Spazio minimo sotto il prezzo */

.shop-officinale ul.products li.product .price {
    margin-bottom: 12px !important;
}


/* ==========================================
   4. PULSANTE AGGIUNGI AL CARRELLO
   ========================================== */

.shop-officinale ul.products li.product > a.button {
    display: block !important;
    width: calc(100% - 20px) !important;

    margin: auto 10px 0 !important;
    padding: 10px 8px !important;

    background: #4b5e3b !important;
    border: 1px solid #4b5e3b !important;
    border-radius: 5px !important;

    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: normal;

    box-sizing: border-box;
    transition: background 0.2s ease;
}

/* Elimina le icone automatiche Divi */

.shop-officinale ul.products li.product > a.button::before,
.shop-officinale ul.products li.product > a.button::after {
    display: none !important;
}

/* Hover pulsante */

.shop-officinale ul.products li.product > a.button:hover {
    background: #37472b !important;
    border-color: #37472b !important;
    color: #ffffff !important;
    padding: 10px 8px !important;
}


/* ==========================================
   5. BADGE PRODOTTI IN OFFERTA
   ========================================== */

.shop-officinale ul.products li.product .onsale {
    border-radius: 55px !important;
}


/* ==========================================
   6. CONTEGGIO RISULTATI
   ========================================== */

.shop-officinale .woocommerce-result-count {
    font-size: 13px !important;
    color: #777777 !important;
    line-height: 1.5;
    margin-bottom: 20px !important;
}


/* ==========================================
   7. ORDINAMENTO PRODOTTI
   ========================================== */

.shop-officinale .woocommerce-ordering {
    margin-bottom: 20px !important;
}

.shop-officinale .woocommerce-ordering select {
    background: #ffffff !important;
    border: 1px solid #e8e6e0 !important;
    border-radius: 6px !important;
    color: #555555 !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    cursor: pointer;
}

.shop-officinale .woocommerce-ordering select:hover {
    border-color: #4b5e3b !important;
}

.shop-officinale .woocommerce-ordering select:focus {
    outline: 1px solid #4b5e3b;
}


/* ==========================================
   8. RESPONSIVE
   ========================================== */

/* ==========================================
   8. RESPONSIVE
   ========================================== */

/* TABLET - 3 COLONNE */
@media (min-width: 768px) and (max-width: 980px) {

    .et_pb_shop.shop-officinale .woocommerce ul.products {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 16px 8px !important;
    }

    .et_pb_shop.shop-officinale .woocommerce ul.products li.product {
        flex: 0 0 calc((100% - 16px) / 3) !important;
        width: calc((100% - 16px) / 3) !important;
        max-width: calc((100% - 16px) / 3) !important;
        min-width: 0 !important;

        float: none !important;
        clear: none !important;
        margin: 0 !important;
    }
}

/* SMARTPHONE - 2 COLONNE */
@media (max-width: 767px) {

    .et_pb_shop.shop-officinale .woocommerce ul.products {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 16px 8px !important;
    }

    .et_pb_shop.shop-officinale .woocommerce ul.products li.product {
        flex: 0 0 calc((100% - 8px) / 2) !important;
        width: calc((100% - 8px) / 2) !important;
        max-width: calc((100% - 8px) / 2) !important;
        min-width: 0 !important;

        float: none !important;
        clear: none !important;
        margin: 0 !important;
    }
}

/* ELIMINA CLEARFIX WOOCOMMERCE */
@media (max-width: 980px) {

    .et_pb_shop.shop-officinale .woocommerce ul.products::before,
    .et_pb_shop.shop-officinale .woocommerce ul.products::after {
        display: none !important;
        content: none !important;
    }
}

/* ==========================================
   SHOP OFFICINALE - LARGHEZZA INTERA
   ========================================== */

/* Desktop - 4 colonne */
.shop-officinale-full ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Elimina clearfix */
.shop-officinale-full ul.products::before,
.shop-officinale-full ul.products::after {
    display: none !important;
    content: none !important;
}

/* Schede prodotto */
.shop-officinale-full ul.products li.product {
    display: flex !important;
    flex-direction: column;
    position: relative;

    flex: 0 0 calc((100% - 24px) / 4) !important;
    width: calc((100% - 24px) / 4) !important;
    max-width: calc((100% - 24px) / 4) !important;
    min-width: 0 !important;

    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 0 12px !important;

    border: 1px solid #e8e6e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

/* Tablet - 3 colonne */
@media (min-width: 768px) and (max-width: 980px) {

    .et_pb_shop.shop-officinale-full ul.products li.product {
        flex: 0 0 calc((100% - 16px) / 3) !important;
        width: calc((100% - 16px) / 3) !important;
        max-width: calc((100% - 16px) / 3) !important;
    }
}

/* Smartphone - 2 colonne */
@media (max-width: 767px) {

    .et_pb_shop.shop-officinale-full ul.products li.product {
        flex: 0 0 calc((100% - 8px) / 2) !important;
        width: calc((100% - 8px) / 2) !important;
        max-width: calc((100% - 8px) / 2) !important;
    }
}

/* ==========================================
   SHOP FULL - CORREZIONE RESPONSIVE
   ========================================== */

/* THEME BUILDER - TABLET E SMARTPHONE */

@media (max-width: 980px) {

    .et-db #et-boc .et-l
    .et_pb_shop.shop-officinale-full ul.products {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 16px 8px !important;
    }

    .et-db #et-boc .et-l
    .et_pb_shop.shop-officinale-full ul.products::before,
    .et-db #et-boc .et-l
    .et_pb_shop.shop-officinale-full ul.products::after {
        display: none !important;
        content: none !important;
    }
}

/* TABLET - 3 COLONNE */
@media (min-width: 768px) and (max-width: 980px) {

    .et-db #et-boc .et-l
    .et_pb_shop.shop-officinale-full
    ul.products li.product:nth-child(n) {
        flex: 0 0 calc((100% - 16px) / 3) !important;
        width: calc((100% - 16px) / 3) !important;
        max-width: calc((100% - 16px) / 3) !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }
}

/* SMARTPHONE - 2 COLONNE */
@media (max-width: 767px) {

    .et-db #et-boc .et-l
    .et_pb_shop.shop-officinale-full
    ul.products li.product:nth-child(n) {
        flex: 0 0 calc((100% - 8px) / 2) !important;
        width: calc((100% - 8px) / 2) !important;
        max-width: calc((100% - 8px) / 2) !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
    }
}


/* ==========================================
   9. Navigazione - spazio sotto
   ========================================== */

.shop-officinale nav.woocommerce-pagination {margin-top: 20px}


/* ==================================================
   FINE PRODOTTI in pagina SHOP
   ================================================== */


/* ==========================================
   GIARDINO OFFICINALE - FILTRI HUSKY
   Classe Divi: filtri-officinale
   ========================================== */

/* 1. STRUTTURA GENERALE */

.filtri-officinale .woof {
    color: #333333;
    font-size: 13px;
    line-height: 1.5;
}

/* Spazio tra le sezioni */

.filtri-officinale .woof_container {
    margin: 0 0 28px !important;
    padding: 0 !important;
    border: none !important;
}

/* 2. TITOLI DELLE SEZIONI */

.filtri-officinale .woof_container h4 {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333333 !important;
    text-transform: uppercase;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

/* Titolo Benessere, assente nell'HTML */

.filtri-officinale
.woof_container_inner_benessere::before {
    content: "BENESSERE";
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #333333;
    margin-bottom: 14px;
}

/* Titolo Prezzo */

.filtri-officinale
.woof_price_filter .woof_container_inner::before {
    content: "PREZZO";
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #333333;
    margin-bottom: 12px;
}

/* Titolo Promozioni */

.filtri-officinale
.woof_container_onsales .woof_container_inner::before {
    content: "PROMOZIONI";
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #333333;
    margin-bottom: 14px;
}

/* 3. ELENCO CHECKBOX BENESSERE */

.filtri-officinale .woof_list_checkbox {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.filtri-officinale .woof_list_checkbox li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 9px !important;
    padding: 0 !important;
    line-height: 1.4;
}

/* Etichette */

.filtri-officinale .woof_checkbox_label,
.filtri-officinale
.woof_container_onsales label {
    color: #454545 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. CHECKBOX ICHECK */

/* Elimina l'aspetto blu originale */

.filtri-officinale .icheckbox_square-blue {
    position: relative;
    display: inline-block !important;
    flex: 0 0 17px;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px;

    background: #ffffff !important;
    background-image: none !important;

    border: 1px solid #c9ccc4 !important;
    border-radius: 3px !important;
    box-sizing: border-box;
    cursor: pointer;
}

/* Stato selezionato */

.filtri-officinale
.icheckbox_square-blue.checked {
    background: #4b5e3b !important;
    border-color: #4b5e3b !important;
}

/* Segno di spunta */

.filtri-officinale
.icheckbox_square-blue.checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;

    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    pointer-events: none;
}

/* Hover checkbox */

.filtri-officinale
.icheckbox_square-blue:hover {
    border-color: #4b5e3b !important;
}

/* 5. CATEGORIE PRODOTTO - CHOSEN */

.filtri-officinale
.woof_container_product_cat .chosen-container {
    width: 100% !important;
    max-width: 100%;
    font-size: 13px;
}

/* Campo selezione */

.filtri-officinale
.chosen-container-single .chosen-single {
    display: flex !important;
    align-items: center;
    height: 38px !important;
    line-height: 38px !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 1px solid #e0e2dc !important;
    border-radius: 5px !important;
    box-shadow: none !important;

    color: #555555 !important;
    padding: 0 12px !important;
}

/* Freccia */

.filtri-officinale
.chosen-container-single .chosen-single div {
    top: 6px;
}

/* Menu aperto */

.filtri-officinale .chosen-drop {
    border: 1px solid #e0e2dc !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.filtri-officinale
.chosen-container .chosen-results li.highlighted {
    background: #4b5e3b !important;
    color: #ffffff !important;
}

/* 6. FILTRO PREZZO - ION RANGE SLIDER */

.filtri-officinale .irs--round {
    font-family: inherit;
    margin-top: 0;
}

/* Barra inattiva */

.filtri-officinale .irs--round .irs-line {
    height: 3px !important;
    background: #e0e3da !important;
    border-radius: 3px;
}

/* Barra selezionata */

.filtri-officinale .irs--round .irs-bar {
    height: 3px !important;
    background: #4b5e3b !important;
}

/* Cursori */

.filtri-officinale .irs--round .irs-handle {
    top: 29px;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #4b5e3b !important;
    border-radius: 50% !important;
    background: #4b5e3b !important;
    box-shadow: none !important;
    cursor: pointer;
}

/* Nasconde la scala numerica inferiore */

.filtri-officinale .irs-grid {
    display: none !important;
}

/* Valori sopra il cursore:
   grigi invece che blu */

.filtri-officinale .irs--round .irs-from,
.filtri-officinale .irs--round .irs-to,
.filtri-officinale .irs--round .irs-single {
    background: #f1f2ee !important;
    color: #4b5e3b !important;
    font-size: 11px !important;
    border-radius: 4px !important;
}

.filtri-officinale .irs--round .irs-from::before,
.filtri-officinale .irs--round .irs-to::before,
.filtri-officinale .irs--round .irs-single::before {
    border-top-color: #f1f2ee !important;
}

/* 7. FILTRO IN OFFERTA */

.filtri-officinale
.woof_container_onsales .woof_container_inner {
    font-size: 13px;
}

.filtri-officinale
.woof_container_onsales .icheckbox_square-blue {
    vertical-align: middle;
    margin-right: 8px;
}

.filtri-officinale
.woof_container_onsales label {
    vertical-align: middle;
}

/* 8. PULSANTE REIMPOSTA */

/* Si applica quando HUSKY mostra il reset */

.filtri-officinale .woof_reset_search_form {
    display: block;
    width: 100%;
    padding: 10px 12px !important;

    background: #ffffff !important;
    color: #4b5e3b !important;

    border: 1px solid #4b5e3b !important;
    border-radius: 6px !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer;
    transition: 0.2s ease;
}

.filtri-officinale
.woof_reset_search_form:hover {
    background: #4b5e3b !important;
    color: #ffffff !important;
}

/* 9. RESPONSIVE */

@media (max-width: 767px) {

    .filtri-officinale .woof_container {
        margin-bottom: 22px !important;
    }

    .filtri-officinale .woof {
        font-size: 13px;
    }

}

/* FILTRI HUSKY - ELIMINA FRECCIA HOVER DIVI */

.filtri-officinale .woof_reset_search_form::before,
.filtri-officinale .woof_reset_search_form::after {
    display: none !important;
    content: none !important;
}

/* Mantiene il padding invariato al passaggio del mouse */

.filtri-officinale .woof_reset_search_form,
.filtri-officinale .woof_reset_search_form:hover {
    padding: 10px 12px !important;
    font-size: 12px !important;
    letter-spacing: normal !important;
}




/* ==========================================
   SHOP OFFICINALE - FILTRI ATTIVI HUSKY
   ========================================== */

/* Contenitore generale */

.shop-officinale .woof_products_top_panel {
    margin: 0 0 20px !important;
    padding: 0 !important;
}

/* Elenco filtri attivi */

.shop-officinale .woof_products_top_panel_ul {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Singoli elementi */

.shop-officinale .woof_products_top_panel_ul > li {
    display: inline-flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ==========================================
   PULSANTE PULISCI TUTTO
   ========================================== */

.shop-officinale .woof_reset_button_2 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background: #ffffff !important;
    color: #4b5e3b !important;
    border: 1px solid #4b5e3b !important;
    border-radius: 30px !important;

    padding: 7px 13px !important;
    margin: 0 !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    cursor: pointer;
    box-shadow: none !important;
}

/* Hover */

.shop-officinale .woof_reset_button_2:hover {
    background: #4b5e3b !important;
    color: #ffffff !important;
}

/* Rimuove icone aggiunte da Divi */

.shop-officinale .woof_reset_button_2::before,
.shop-officinale .woof_reset_button_2::after {
    display: none !important;
    content: none !important;
}

/* ==========================================
   ETICHETTE FILTRI ATTIVI
   ========================================== */

.shop-officinale
.woof_products_top_panel_ul > li > a {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;

    background: #f5f6f2 !important;
    border: 1px solid #e0e5da !important;
    border-radius: 30px !important;

    padding: 7px 12px !important;
    margin: 0 !important;

    color: #4b5e3b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Testo dei filtri */

.shop-officinale
.woof_products_top_panel_ul > li > a span {
    color: inherit !important;
    font-size: inherit !important;
}

/* Hover etichette */

.shop-officinale
.woof_products_top_panel_ul > li > a:hover {
    background: #e9eee5 !important;
    border-color: #4b5e3b !important;
}

/* ==========================================
   ICONE RIMOZIONE FILTRI
   ========================================== */

/* Icone originali HUSKY */

.shop-officinale
.woof_products_top_panel_ul > li > a {
    background-image: none !important;
}

/* Nuova icona X realizzata con CSS */

.shop-officinale
.woof_products_top_panel_ul > li > a::after {
    content: "×";
    display: inline-block;

    color: #4b5e3b;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .shop-officinale .woof_products_top_panel_ul {
        gap: 6px;
    }

    .shop-officinale
    .woof_products_top_panel_ul > li > a,
    .shop-officinale .woof_reset_button_2 {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

}

/* ==========================================
  QUANTITÀ PRODOTTO - GOSM 
   ========================================== */



.single-product form.cart .gosm-quantity {
    display: inline-flex !important;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #deded8;
    border-radius: 8px;
    background: #fff;
    float: none !important;
    width: auto !important;
    margin-right: 12px !important;
}

/* Campo numerico */
.single-product .gosm-quantity input.qty {
    width: 48px !important;
    min-width: 48px;
    height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #333 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600;
    box-shadow: none !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Nasconde frecce native */
.single-product .gosm-quantity input.qty::-webkit-inner-spin-button,
.single-product .gosm-quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Pulsanti meno e più */
.single-product .gosm-quantity button.gosm-qty-minus,
.single-product .gosm-quantity button.gosm-qty-plus {
    width: 42px;
    height: 48px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8f7f3 !important;
    color: #465b3d !important;
    font-size: 22px !important;
    font-weight: 400;
    line-height: 1 !important;
    cursor: pointer;
    transition: background .2s ease;
}

/* Hover */
.single-product .gosm-quantity button.gosm-qty-minus:hover,
.single-product .gosm-quantity button.gosm-qty-plus:hover {
    background: #e8ecdf !important;
    color: #465b3d !important;
}


/* ==================================================
   OFFICINALE - SCHEDE PRODOTTI CORRELATI
   Stile condiviso:
   - Scheda singolo prodotto
   - Prodotti consigliati carrello
================================================== */

/* ==========================================
   OFFICINALE - PRODOTTI CONSIGLIATI CARRELLO
   Riprende lo stile originale delle schede
========================================== */

/* Titolo sezione */
.gosm-prodotti-consigliati .related.products > h2 {
    color: #465b3d;
    font-size: 28px;
    margin-bottom: 8px;
}

/* Contenitore prodotti */
.gosm-prodotti-consigliati ul.products {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Scheda prodotto */
.gosm-prodotti-consigliati ul.products li.product {
    display: flex !important;
    flex-direction: column;
    align-self: stretch;
    height: auto !important;
    min-width: 0;
    margin-right: 12px !important;
    margin-bottom: 20px !important;
    padding: 0 0 12px !important;
    background: #fff;
    border: 1px solid #e9e9e5;
    border-radius: 9px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    transition: box-shadow .25s ease;
}

/* Hover scheda */
.gosm-prodotti-consigliati ul.products li.product:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}

/* Link principale */
.gosm-prodotti-consigliati li.product
a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none;
}

/* Contenitore immagine */
.gosm-prodotti-consigliati li.product .et_shop_image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8f8f6;
    margin: 0 !important;
}

/* Immagine */
.gosm-prodotti-consigliati li.product .et_shop_image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    transition: transform .3s ease;
}

.gosm-prodotti-consigliati li.product:hover
.et_shop_image img {
    transform: scale(1.025);
}

/* Elimina overlay Divi */
.gosm-prodotti-consigliati .et_overlay {
    display: none !important;
}

/* Titolo prodotto */
.gosm-prodotti-consigliati h2.woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.35em !important;
    color: #333 !important;
    padding: 14px 12px 0 !important;
    margin: 0 0 8px !important;
    letter-spacing: 0;
}

/* Prezzo */
.gosm-prodotti-consigliati li.product .price {
    display: block !important;
    margin-top: auto !important;
    margin-bottom: 12px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4em !important;
    color: #333 !important;
}

/* Pulsante carrello */
.gosm-prodotti-consigliati li.product a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 43px;
    margin: 0 12px !important;
    padding: 10px 12px !important;
    background: #465b3d !important;
    border: 1px solid #465b3d !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3em !important;
    text-align: center;
    white-space: normal;
    box-shadow: none !important;
    transition: background .2s ease;
}

.gosm-prodotti-consigliati li.product a.button:hover {
    background: #34472c !important;
    border-color: #34472c !important;
    color: #fff !important;
    padding: 10px 12px !important;
}

/* Elimina icone pulsanti Divi */
.gosm-prodotti-consigliati li.product a.button::before,
.gosm-prodotti-consigliati li.product a.button::after {
    display: none !important;
    content: none !important;
}

/* Badge offerta */
.gosm-prodotti-consigliati li.product span.onsale {
    position: absolute !important;
    z-index: 5;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px 11px !important;
    background: #e52b25 !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2em !important;
    text-transform: uppercase;
}

/* Tassonomia benessere */
.gosm-prodotti-consigliati li.product .product-benessere {
    margin-left: 12px !important;
    margin-right: 12px !important;
    margin-top: 8px;
}

/* Stelline: solo margini, nessun colore imposto */
.gosm-prodotti-consigliati li.product .star-rating {
    margin-left: 12px !important;
    margin-right: 12px !important;
    margin-bottom: 8px !important;
}

/* Smartphone */
@media (max-width: 600px) {

    .gosm-prodotti-consigliati h2.woocommerce-loop-product__title {
        font-size: 14px !important;
        padding: 10px 9px 0 !important;
    }

    .gosm-prodotti-consigliati li.product .price {
        font-size: 13px !important;
        padding: 0 9px !important;
    }

    .gosm-prodotti-consigliati li.product a.button {
        margin: 0 8px !important;
        font-size: 12px !important;
    }
}




/* =========================================================
   CARRELLO - STILE GENERALE
   Modulo: et_pb_wc_cart_products_0
========================================================= */

.et_pb_wc_cart_products_0 .woocommerce-cart-form table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e4dfd3;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

/* RIGA INTESTAZIONE */
.et_pb_wc_cart_products_0 .woocommerce-cart-form table.shop_table thead th {
    background: #f7f4ec; /* stesso colore colonna dx */
    color: #3f4a35;
    font-size: 14px;
    font-weight: 600;
    padding: 26px 20px;
    border-bottom: 1px solid #e4dfd3;
    text-transform: none;
}

/* celle */
.et_pb_wc_cart_products_0 .woocommerce-cart-form table.shop_table td {
    padding: 26px 20px;
    border-top: 1px solid #ece7dc;
    vertical-align: middle;
    background: #fff;
    color: #4b4b4b;
    font-size: 12px;
}

/* prima riga dati senza bordo sopra */
.et_pb_wc_cart_products_0 .woocommerce-cart-form table.shop_table tbody tr:first-child td {
    border-top: none;
}

/* colonne */
.et_pb_wc_cart_products_0 .product-remove {
    width: 40px;
    text-align: center;
}

.et_pb_wc_cart_products_0 .product-thumbnail {
    width: 90px;
}

.et_pb_wc_cart_products_0 .product-thumbnail img {
    width: 58px;
    height: auto;
    border-radius: 8px;
    display: block;
}

.et_pb_wc_cart_products_0 .product-name {
    min-width: 320px;
}

.et_pb_wc_cart_products_0 .product-price,
.et_pb_wc_cart_products_0 .product-quantity,
.et_pb_wc_cart_products_0 .product-subtotal {
    text-align: center;
    white-space: nowrap;
}

/* link prodotto */
.et_pb_wc_cart_products_0 .product-name a {
    color: #3f4a35 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4em;
    text-decoration: none;
}

.et_pb_wc_cart_products_0 .product-name a:hover {
    color: #6c7b5b !important;
}

/* prezzo */
.et_pb_wc_cart_products_0 .product-price .amount,
.et_pb_wc_cart_products_0 .product-subtotal .amount {
    color: #2f3729;
    font-size: 14px;
    font-weight: 700;
}

/* icona rimozione */
.et_pb_wc_cart_products_0 a.remove {
    color: #b05b4d !important;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    background: transparent !important;
    border: none !important;
}

.et_pb_wc_cart_products_0 a.remove:hover {
    color: #8f463b !important;
    background: transparent !important;
}

/* quantità */
.et_pb_wc_cart_products_0 .quantity {
    display: flex;
    justify-content: center;
}

.et_pb_wc_cart_products_0 .quantity .qty {
    width: 88px;
    height: 54px;
    background: #f7f4ec;
    border: 1px solid #e4dfd3;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    color: #7d7a73;
    box-shadow: none;
    padding: 0 10px;
}

/* toglie le frecce input number dove possibile */
.et_pb_wc_cart_products_0 input.qty::-webkit-outer-spin-button,
.et_pb_wc_cart_products_0 input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.et_pb_wc_cart_products_0 input.qty[type=number] {
    -moz-appearance: textfield;
}

/* riga azioni coupon / aggiorna */
.et_pb_wc_cart_products_0 .shop_table td.actions {
    background: #fff;
    padding: 28px 16px 22px;
    border-top: 1px solid #ece7dc;
}

.et_pb_wc_cart_products_0 .coupon {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.et_pb_wc_cart_products_0 .coupon .input-text {
    width: 280px !important;
    min-width: 280px;
    height: 58px;
    background: #f7f4ec;
    border: 1px solid #e4dfd3 !important;
    border-radius: 10px;
    color: #7b786f;
    font-size: 17px;
    padding: 0 18px !important;
    box-shadow: none;
}

/* pulsanti */
.et_pb_wc_cart_products_0 .actions .button,
.et_pb_wc_cart_products_0 .coupon .button,
.et_pb_wc_cart_products_0 button[name="update_cart"] {
    height: 58px;
    border-radius: 10px !important;
    padding: 0 28px !important;
    font-size: 17px;
    font-weight: 500;
    box-shadow: none;
    transition: all .25s ease;
}

/* bottone coupon */
.et_pb_wc_cart_products_0 .coupon .button[name="apply_coupon"] {
    background: #ffffff !important;
    color: #3f4a35 !important;
    border: 1px solid #6c7b5b !important;
}

.et_pb_wc_cart_products_0 .coupon .button[name="apply_coupon"]:hover {
    background: #6c7b5b !important;
    color: #fff !important;
}

/* bottone aggiorna */
.et_pb_wc_cart_products_0 button[name="update_cart"] {
    float: right;
    background: #ffffff !important;
    color: #8b8880 !important;
    border: 1px solid #b8b1a4 !important;
}

.et_pb_wc_cart_products_0 button[name="update_cart"]:hover {
    background: #f7f4ec !important;
    color: #3f4a35 !important;
    border-color: #6c7b5b !important;
}

/* stato disabled più elegante */
.et_pb_wc_cart_products_0 button[name="update_cart"]:disabled {
    opacity: 1;
    cursor: not-allowed;
    color: #aaa59a !important;
    border-color: #d6d0c4 !important;
    background: #fff !important;
}

/* clearfix per il bottone aggiorna */
.et_pb_wc_cart_products_0 .actions::after {
    content: "";
    display: block;
    clear: both;
}

/* responsive */
@media (max-width: 980px) {

    .et_pb_wc_cart_products_0 .woocommerce-cart-form table.shop_table thead {
        display: none;
    }

    .et_pb_wc_cart_products_0 .woocommerce-cart-form table.shop_table td {
        padding: 16px;
    }

    .et_pb_wc_cart_products_0 .coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .et_pb_wc_cart_products_0 .coupon .input-text,
    .et_pb_wc_cart_products_0 .coupon .button,
    .et_pb_wc_cart_products_0 button[name="update_cart"] {
        width: 100% !important;
        min-width: 100%;
    }

    .et_pb_wc_cart_products_0 button[name="update_cart"] {
        float: none;
        margin-top: 14px;
    }
}

/* ==========================================
   CARRELLO - IMMAGINI PRODOTTO
========================================== */

.et_pb_wc_cart_products_0
.product-thumbnail {
    width: 125px !important;
    min-width: 125px;
}

.et_pb_wc_cart_products_0
.product-thumbnail img {
    width: 100px !important;
    max-width: 100px !important;
    height: auto !important;
    border-radius: 6px;
}


/* ==========================================
   CARRELLO - PULSANTI AZIONI
========================================== */

/* Impostazioni comuni */
.et_pb_wc_cart_products_0
.woocommerce-cart-form .actions button.button {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4em !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 6px !important;
    text-transform: none !important;
    box-shadow: none !important;
    white-space: nowrap;
}

/* Rimuove l'icona automatica di Divi */
.et_pb_wc_cart_products_0
.woocommerce-cart-form .actions button.button::after,
.et_pb_wc_cart_products_0
.woocommerce-cart-form .actions button.button::before {
    display: none !important;
    content: none !important;
}

/* Campo codice promozionale */
.et_pb_wc_cart_products_0
.coupon #coupon_code {
    width: 190px !important;
    min-width: 0 !important;
    height: 46px !important;
    font-size: 14px !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    background: #f7f4ec !important;
}

/* Pulsante applica codice */
.et_pb_wc_cart_products_0
.coupon button[name="apply_coupon"] {
    background: #3f4a35 !important;
    color: #ffffff !important;
    border: 1px solid #3f4a35 !important;
}

.et_pb_wc_cart_products_0
.coupon button[name="apply_coupon"]:hover {
    background: #59694d !important;
    border-color: #59694d !important;
    color: #ffffff !important;
}

/* Pulsante aggiorna carrello */
.et_pb_wc_cart_products_0
button[name="update_cart"] {
    background: #ffffff !important;
    color: #3f4a35 !important;
    border: 1px solid #3f4a35 !important;
}

.et_pb_wc_cart_products_0
button[name="update_cart"]:not(:disabled):hover {
    background: #3f4a35 !important;
    color: #ffffff !important;
}

/* Pulsante disabilitato */
.et_pb_wc_cart_products_0
button[name="update_cart"]:disabled {
    background: #f7f4ec !important;
    color: #a5a39d !important;
    border-color: #e4dfd3 !important;
    opacity: 1 !important;
}

/* Adattamento tablet e smartphone */
@media (max-width: 980px) {
    .et_pb_wc_cart_products_0
    .coupon #coupon_code {
        width: 100% !important;
    }

    .et_pb_wc_cart_products_0
    .woocommerce-cart-form .actions button.button {
        white-space: normal;
        height: auto !important;
        min-height: 46px !important;
        padding: 12px 18px !important;
    }
}

/* ==========================================
   OFFICINALE - RIEPILOGO CARRELLO
   Modulo Divi: et_pb_wc_cart_totals_0
========================================== */

/* Contenitore generale */
.et_pb_wc_cart_totals_0 .cart_totals {
    width: 100% !important;
    float: none !important;
}

/* Titolo */
.et_pb_wc_cart_totals_0 .cart_totals h2 {
    font-family: Georgia, serif;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1.3em;
    color: #343434 !important;
    margin: 0 0 28px;
    padding: 0 !important;
}

/* Tabella riepilogo */
.et_pb_wc_cart_totals_0 .cart_totals table.shop_table {
    width: 100%;
    border: none !important;
    border-radius: 0 !important;
    border-collapse: collapse !important;
    background: transparent !important;
    margin: 0 0 28px !important;
    box-shadow: none !important;
}

/* Righe */
.et_pb_wc_cart_totals_0 .cart_totals table.shop_table tr {
    background: transparent !important;
}

/* Celle */
.et_pb_wc_cart_totals_0 .cart_totals table.shop_table th,
.et_pb_wc_cart_totals_0 .cart_totals table.shop_table td {
    background: transparent !important;
    border: none !important;
    padding: 17px 0 !important;
    font-size: 16px !important;
    font-weight: 400;
    color: #4b4b4b !important;
    vertical-align: middle;
}

/* Allineamento prezzi */
.et_pb_wc_cart_totals_0 .cart_totals table.shop_table td {
    text-align: right !important;
}

/* Separatore tra subtotale e totale */
.et_pb_wc_cart_totals_0 .cart_totals tr.cart-subtotal {
    border-bottom: 1px solid #ded9ce !important;
}

/* Riga totale */
.et_pb_wc_cart_totals_0 .cart_totals tr.order-total th {
    font-size: 19px !important;
    font-weight: 500 !important;
    color: #343434 !important;
}

/* Importo totale */
.et_pb_wc_cart_totals_0 .cart_totals tr.order-total td,
.et_pb_wc_cart_totals_0 .cart_totals tr.order-total .amount {
    font-size: 25px !important;
    font-weight: 500 !important;
    color: #3f4a35 !important;
}

/* ==========================================
   PULSANTE CHECKOUT
========================================== */

.et_pb_wc_cart_totals_0 .wc-proceed-to-checkout {
    padding: 0 !important;
    margin-top: 12px;
}

/* Pulsante principale */
.et_pb_wc_cart_totals_0 .checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 54px;
    padding: 14px 20px !important;
    margin: 0 !important;

    background: #3f4a35 !important;
    color: #ffffff !important;
    border: 1px solid #3f4a35 !important;
    border-radius: 8px !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4em !important;
    text-align: center;

    box-shadow: none !important;
    transition: all 0.25s ease;
}

/* Hover */
.et_pb_wc_cart_totals_0 .checkout-button:hover {
    background: #59694d !important;
    border-color: #59694d !important;
    color: #ffffff !important;
    padding: 14px 20px !important;
}

/* Elimina icone automatiche Divi */
.et_pb_wc_cart_totals_0 .checkout-button::after,
.et_pb_wc_cart_totals_0 .checkout-button::before {
    display: none !important;
    content: none !important;
}

/* Responsive */
@media (max-width: 767px) {
    .et_pb_wc_cart_totals_0 .cart_totals h2 {
        font-size: 26px !important;
    }

    .et_pb_wc_cart_totals_0 .cart_totals tr.order-total td,
    .et_pb_wc_cart_totals_0 .cart_totals tr.order-total .amount {
        font-size: 22px !important;
    }
}

/* ==========================================
   OFFICINALE - QUANTITÀ CARRELLO
========================================== */

/* Nasconde colonna subtotale prodotti */
.et_pb_wc_cart_products_0
.woocommerce-cart-form th.product-subtotal,
.et_pb_wc_cart_products_0
.woocommerce-cart-form td.product-subtotal {
    display: none !important;
}

/* Contenitore quantità */
.et_pb_wc_cart_products_0
.product-quantity .gosm-quantity {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    background: #ffffff;
    border: 1px solid #ded9ce;
    border-radius: 7px;
    overflow: hidden;
}

/* Campo numero */
.et_pb_wc_cart_products_0
.product-quantity .gosm-quantity input.qty {
    width: 48px !important;
    min-width: 48px;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #30362c !important;
    -webkit-text-fill-color: #30362c;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
    opacity: 1 !important;
}

/* Pulsanti meno e più */
.et_pb_wc_cart_products_0
.gosm-quantity .gosm-qty-minus,
.et_pb_wc_cart_products_0
.gosm-quantity .gosm-qty-plus {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #3f4a35 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Separatori */
.et_pb_wc_cart_products_0
.gosm-qty-minus {
    border-right: 1px solid #ded9ce !important;
}

.et_pb_wc_cart_products_0
.gosm-qty-plus {
    border-left: 1px solid #ded9ce !important;
}

/* Hover */
.et_pb_wc_cart_products_0
.gosm-quantity .gosm-qty-minus:hover,
.et_pb_wc_cart_products_0
.gosm-quantity .gosm-qty-plus:hover {
    background: #f7f4ec !important;
}

/* Rimuove icone automatiche Divi */
.et_pb_wc_cart_products_0
.gosm-quantity button::after,
.et_pb_wc_cart_products_0
.gosm-quantity button::before {
    display: none !important;
    content: none !important;
}
/* ==========================================
   OFFICINALE - STELLE RECENSIONI
========================================== */

/* Colore delle stelle */
.gosm-prodotti-consigliati
.star-rating,
.gosm-prodotti-consigliati
.star-rating::before,
.gosm-prodotti-consigliati
.star-rating span::before {
    color: #FABB05 !important;
}

/* Mantiene il corretto posizionamento */
.gosm-prodotti-consigliati
li.product .star-rating {
    margin-left: 12px !important;
    margin-right: 12px !important;
    margin-bottom: 8px !important;
}



/* ==========================================
   OFFICINALE - RIEPILOGO CHECKOUT
   ========================================== */

/* Titolo */
.officinale-riepilogo h3,
.officinale-riepilogo h2 {
    color: #465b3d;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 18px;
}

/* Tabella */
.officinale-riepilogo table.shop_table {
    width: 100%;
    border: 0 !important;
    border-collapse: collapse;
    background: transparent !important;
    margin: 0 !important;
}

/* Celle */
.officinale-riepilogo table.shop_table th,
.officinale-riepilogo table.shop_table td {
    padding: 15px 5px !important;
    border: 0 !important;
    border-bottom: 1px solid #dedbd2 !important;
    background: transparent !important;
    font-size: 14px;
    line-height: 1.5;
}

/* Intestazioni */
.officinale-riepilogo thead th {
    color: #465b3d;
    font-weight: 600;
}

/* Nomi prodotti */
.officinale-riepilogo .product-name {
    color: #454545;
    font-weight: 400;
}

/* Prezzi */
.officinale-riepilogo .product-total,
.officinale-riepilogo .cart-subtotal td {
    text-align: right;
    white-space: nowrap;
}

/* Totale ordine */
.officinale-riepilogo .order-total th,
.officinale-riepilogo .order-total td {
    padding-top: 20px !important;
    border-bottom: 0 !important;
    color: #465b3d !important;
    font-size: 19px !important;
    font-weight: 600 !important;
}

/* Importo totale */
.officinale-riepilogo .order-total .amount {
    color: #465b3d !important;
    font-size: 22px;
    font-weight: 600;
}

/* Ultima riga senza bordo */
.officinale-riepilogo table.shop_table tr:last-child th,
.officinale-riepilogo table.shop_table tr:last-child td {
    border-bottom: 0 !important;
}

/* ==========================================
   OFFICINALE - IMMAGINI PRODOTTI colonna dx CHECKOUT
   ========================================== */

.officinale-riepilogo .osm-checkout-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.officinale-riepilogo .osm-checkout-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e3dfd6;
    background: #fff;
    flex-shrink: 0;
}

.officinale-riepilogo .osm-checkout-product-name {
    display: block;
    line-height: 1.45;
}

.officinale-riepilogo .product-name {
    vertical-align: top;
}

.officinale-riepilogo .product-name strong,
.officinale-riepilogo .product-name .quantity {
    color: #465b3d;
    font-weight: 600;
}



/* ==========================================
   OFFICINALE - CHECKOUT PAGAMENTO
   ========================================== */

/* Contenitore generale */
.officinale-pagamento #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Elenco metodi di pagamento */
.officinale-pagamento #payment ul.payment_methods {
    list-style: none !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Singolo metodo di pagamento */
.officinale-pagamento #payment .wc_payment_method {
    position: relative;
    background: #ffffff !important;
    border: 1px solid #dedbd2 !important;
    border-radius: 5px;
    margin: 0 0 10px !important;
    padding: 16px 18px !important;
    list-style: none !important;
}

/* Metodo selezionato */
/* Metodo di pagamento selezionato */
.officinale-pagamento #payment
.wc_payment_method.et_pb_checked {
    border-color: #465b3d !important;
    background: #faf9f5 !important;
}

/* Radio button */
.officinale-pagamento #payment
.wc_payment_method input[type="radio"] {
    accent-color: #465b3d;
    margin: 0 10px 0 0 !important;
    vertical-align: middle;
}

/* Nome del metodo */
.officinale-pagamento #payment
.wc_payment_method > label {
    display: inline;
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

/* Descrizione del metodo */
.officinale-pagamento #payment .payment_box {
    background: transparent !important;
    color: #666666 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 10px 0 0 25px !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Rimozione freccia WooCommerce */
.officinale-pagamento #payment
.payment_box:before {
    display: none !important;
}

/* Testo descrizione */
.officinale-pagamento #payment .payment_box p {
    color: #666666 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Area conferma ordine */
.officinale-pagamento #payment .place-order {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Testo privacy */
.officinale-pagamento
.woocommerce-privacy-policy-text {
    margin: 0 0 20px !important;
}

.officinale-pagamento
.woocommerce-privacy-policy-text p {
    color: #666666 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

/* Link privacy */
.officinale-pagamento
.woocommerce-privacy-policy-text a {
    color: #465b3d !important;
    text-decoration: underline;
}

/* Pulsante Effettua ordine */
.officinale-pagamento #place_order {
    display: block !important;
    width: 100% !important;
    float: none !important;
    background: #465b3d !important;
    color: #ffffff !important;
    border: 1px solid #465b3d !important;
    border-radius: 4px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Hover pulsante */
.officinale-pagamento #place_order:hover {
    background: #34472e !important;
    border-color: #34472e !important;
    color: #ffffff !important;
    padding: 16px 24px !important;
}

/* Rimuove icona freccia Divi */
.officinale-pagamento #place_order:after,
.officinale-pagamento #place_order:before {
    display: none !important;
}

/* Pulsante disabilitato */
.officinale-pagamento #place_order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Ottimizzazione smartphone */
@media (max-width: 767px) {
    .officinale-pagamento #payment
    .wc_payment_method {
        padding: 14px !important;
    }

    .officinale-pagamento #payment
    .payment_box {
        padding-left: 0 !important;
    }

    .officinale-pagamento #place_order {
        font-size: 15px !important;
    }
}


/* NATURA OFFICINALE - CONFERMA ORDINE */

.officinale-pagamento .woocommerce-order {
    color: #42483d;
    font-size: 15px;
    line-height: 1.7;
}

/* Messaggio conferma */
.officinale-pagamento .woocommerce-thankyou-order-received {
    background: #edf2e8 !important;
    color: #485939 !important;
    border: 1px solid #d6e1cf !important;
    border-radius: 10px;
    padding: 24px 24px 24px 66px !important;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    margin-bottom: 24px !important;
}

.officinale-pagamento .woocommerce-thankyou-order-received:before {
    content: "✓";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #485939;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 18px;
}

/* Riepilogo ordine */
.officinale-pagamento ul.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px !important;
    padding: 0 !important;
    list-style: none;
}

.officinale-pagamento ul.woocommerce-order-overview li {
    float: none !important;
    flex: 1 1 170px;
    min-width: 0;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #e8e6e0 !important;
    border-radius: 10px;
    background: #f7f4ec;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.5;
    text-transform: none;
}

.officinale-pagamento ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 6px;
    color: #485939;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-transform: none;
}

/* Messaggio metodo pagamento */
.officinale-pagamento .woocommerce-order-overview + p {
    background: #f7f4ec;
    border-left: 3px solid #485939;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin: 0 0 30px;
}

/* Titoli sezioni */
.officinale-pagamento .woocommerce-order-details__title,
.officinale-pagamento .woocommerce-column__title {
    color: #485939;
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e6e0;
}

/* Sezioni */
.officinale-pagamento .woocommerce-order-details,
.officinale-pagamento .woocommerce-customer-details {
    margin: 30px 0;
    padding: 24px;
    border: 1px solid #e8e6e0;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

/* Tabella ordine */
.officinale-pagamento table.woocommerce-table--order-details {
    width: 100%;
    border: 1px solid #e8e6e0 !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 !important;
    background: #fff;
}

.officinale-pagamento .woocommerce-table--order-details th,
.officinale-pagamento .woocommerce-table--order-details td {
    padding: 13px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #e8e6e0 !important;
    background: transparent;
    vertical-align: middle;
}

.officinale-pagamento .woocommerce-table--order-details thead th {
    background: #f7f4ec;
    color: #485939;
    font-weight: 600;
}

.officinale-pagamento .woocommerce-table--order-details a {
    color: #485939;
    text-decoration: none;
    font-weight: 500;
}

.officinale-pagamento .woocommerce-table--order-details a:hover {
    text-decoration: underline;
}

/* Totale evidenziato */
.officinale-pagamento .woocommerce-table--order-details tfoot tr:last-child th,
.officinale-pagamento .woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0 !important;
}

.officinale-pagamento .woocommerce-table--order-details tfoot tr:has(th) th {
    font-weight: 600;
}

.officinale-pagamento .woocommerce-table--order-details tfoot tr:has(th) td {
    color: #485939;
}

/* Indirizzo fatturazione */
.officinale-pagamento .woocommerce-customer-details address {
    background: #f7f4ec !important;
    border: 1px solid #e8e6e0 !important;
    border-radius: 8px;
    padding: 20px !important;
    color: #42483d;
    font-style: normal;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.officinale-pagamento .woocommerce-customer-details address p {
    margin-top: 8px;
    margin-bottom: 0;
}

/* Tablet e smartphone */
@media (max-width: 767px) {
    .officinale-pagamento ul.woocommerce-order-overview li {
        flex: 1 1 100%;
        width: 100%;
    }

    .officinale-pagamento .woocommerce-order-details,
    .officinale-pagamento .woocommerce-customer-details {
        padding: 16px;
    }

    .officinale-pagamento .woocommerce-thankyou-order-received {
        font-size: 17px;
        padding: 20px 16px 20px 58px !important;
    }

    .officinale-pagamento .woocommerce-thankyou-order-received:before {
        left: 16px;
    }

    .officinale-pagamento .woocommerce-table--order-details th,
    .officinale-pagamento .woocommerce-table--order-details td {
        padding: 10px !important;
        font-size: 13px;
    }
}

/* Conferma ordine: nasconde colonna destra */
/* Solo nella pagina di conferma ordine */

body.woocommerce-order-received .officinale-col-dx {
    display: none !important;
}

body.woocommerce-order-received .officinale-col-sx {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    float: none !important;
}



/* ==========================================
   OFFICINALE - ERRORI CHECKOUT
   ========================================== */

/* Riquadro errori */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error {
    background: #fcf6f3 !important;
    border: 1px solid #d5a79a !important;
    border-left: 4px solid #a65b47 !important;
    border-radius: 6px !important;
    padding: 20px 25px !important;
    margin: 0 0 25px !important;
    box-shadow: none !important;
    color: #4a4540 !important;
    list-style: none !important;
}

/* Rimuove eventuali icone predefinite */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error:before {
    display: none !important;
}

/* Singoli messaggi */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li {
    background: transparent !important;
    color: #4a4540 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 7px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    list-style: none !important;
}

/* Nessuno spazio sotto l'ultimo errore */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li:last-child {
    margin-bottom: 0 !important;
}

/* Link ai campi da correggere */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li a {
    color: #4a4540 !important;
    text-decoration: none !important;
    font-size: inherit !important;
    background: transparent !important;
}

/* Evidenzia il nome del campo */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li strong {
    color: #873f32 !important;
    font-weight: 600 !important;
}

/* Hover sui messaggi cliccabili */
body.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
ul.woocommerce-error li a:hover {
    color: #a65b47 !important;
    text-decoration: underline !important;
}

/* Ottimizzazione smartphone */
@media (max-width: 767px) {
    body.woocommerce-checkout
    .woocommerce-NoticeGroup-checkout
    ul.woocommerce-error {
        padding: 15px 18px !important;
    }
}

/* ==========================================
   OFFICINALE - AVVISI CHECKOUT
   ========================================== */

/* Banner codice promozionale */
.officinale-avvisi .woocommerce-info {
    position: relative;
    background: #f5f2ea !important;
    border: 1px solid #e1ddd2 !important;
    border-left: 3px solid #465b3d !important;
    border-radius: 5px !important;
    color: #465b3d !important;
    padding: 18px 22px !important;
    margin: 0 0 15px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
}

/* Elimina icona WooCommerce predefinita */
.officinale-avvisi .woocommerce-info:before {
    display: none !important;
}

/* Link apertura coupon */
.officinale-avvisi .woocommerce-info a {
    color: #465b3d !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    background: transparent !important;
}

/* Hover link */
.officinale-avvisi .woocommerce-info a:hover {
    color: #34472e !important;
}

/* Contenitore modulo coupon */
.officinale-avvisi form.checkout_coupon {
    background: #ffffff !important;
    border: 1px solid #e1ddd2 !important;
    border-radius: 5px !important;
    padding: 22px !important;
    margin: 0 0 25px !important;
    box-shadow: none !important;
}

/* Campo inserimento codice */
.officinale-avvisi form.checkout_coupon
input.input-text {
    width: 100% !important;
    min-height: 46px;
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #d7d9d0 !important;
    border-radius: 4px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
}

/* Campo attivo */
.officinale-avvisi form.checkout_coupon
input.input-text:focus {
    border-color: #465b3d !important;
    outline: none !important;
}

/* Pulsante applica coupon */
.officinale-avvisi form.checkout_coupon
button.button {
    background: #465b3d !important;
    color: #ffffff !important;
    border: 1px solid #465b3d !important;
    border-radius: 4px !important;
    padding: 12px 18px !important;
    min-height: 46px;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

/* Hover pulsante */
.officinale-avvisi form.checkout_coupon
button.button:hover {
    background: #34472e !important;
    border-color: #34472e !important;
    color: #ffffff !important;
    padding: 12px 18px !important;
}

/* Rimuove freccia Divi */
.officinale-avvisi form.checkout_coupon
button.button:after,
.officinale-avvisi form.checkout_coupon
button.button:before {
    display: none !important;
}

/* Ottimizzazione smartphone */
@media (max-width: 767px) {

    .officinale-avvisi .woocommerce-info {
        padding: 15px !important;
        font-size: 14px !important;
    }

    .officinale-avvisi form.checkout_coupon {
        padding: 15px !important;
    }

    .officinale-avvisi form.checkout_coupon
    .form-row {
        float: none !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .officinale-avvisi form.checkout_coupon
    button.button {
        width: 100% !important;
    }
}
/* ==========================================
   OFFICINALE - LOGIN CHECKOUT
   ========================================== */

/* Banner "Sei già un cliente?" */
.officinale-avvisi .woocommerce-form-login-toggle .woocommerce-info {
    position: relative;
    background: #f5f2ea !important;
    border: 1px solid #e1ddd2 !important;
    border-left: 3px solid #465b3d !important;
    border-radius: 5px !important;
    color: #465b3d !important;
    padding: 18px 22px !important;
    margin: 0 0 15px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
}

.officinale-avvisi .woocommerce-form-login-toggle .woocommerce-info:before {
    display: none !important;
}

.officinale-avvisi .woocommerce-form-login-toggle .woocommerce-info a {
    color: #465b3d !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    background: transparent !important;
}

.officinale-avvisi .woocommerce-form-login-toggle .woocommerce-info a:hover {
    color: #34472e !important;
}

/* Box login aperto */
.officinale-avvisi form.woocommerce-form-login,
.officinale-avvisi .woocommerce-form-login {
    background: #ffffff !important;
    border: 1px solid #e1ddd2 !important;
    border-radius: 5px !important;
    padding: 22px !important;
    margin: 0 0 25px !important;
    box-shadow: none !important;
}

/* Testo introduttivo */
.officinale-avvisi .woocommerce-form-login p:first-child {
    color: #555555 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 18px !important;
}

/* Label */
.officinale-avvisi .woocommerce-form-login label {
    display: block;
    color: #465b3d !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
}

/* Campi login */
.officinale-avvisi .woocommerce-form-login input.input-text {
    width: 100% !important;
    min-height: 46px;
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #d7d9d0 !important;
    border-radius: 4px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.officinale-avvisi .woocommerce-form-login input.input-text:focus {
    border-color: #465b3d !important;
    outline: none !important;
}

/* Riga pulsante e ricordami */
.officinale-avvisi .woocommerce-form-login .form-row {
    margin-bottom: 14px !important;
}

.officinale-avvisi .woocommerce-form-login .form-row-last,
.officinale-avvisi .woocommerce-form-login .form-row-first {
    margin-bottom: 16px !important;
}

/* Checkbox "Ricordami" */
.officinale-avvisi .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #555555 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-left: 12px !important;
}

.officinale-avvisi .woocommerce-form-login .woocommerce-form-login__rememberme input {
    accent-color: #465b3d;
}

/* Pulsante Accedi */
.officinale-avvisi .woocommerce-form-login button.button,
.officinale-avvisi .woocommerce-form-login .button {
    background: #465b3d !important;
    color: #ffffff !important;
    border: 1px solid #465b3d !important;
    border-radius: 4px !important;
    padding: 12px 18px !important;
    min-height: 46px;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.officinale-avvisi .woocommerce-form-login button.button:hover,
.officinale-avvisi .woocommerce-form-login .button:hover {
    background: #34472e !important;
    border-color: #34472e !important;
    color: #ffffff !important;
    padding: 12px 18px !important;
}

.officinale-avvisi .woocommerce-form-login button.button:before,
.officinale-avvisi .woocommerce-form-login button.button:after,
.officinale-avvisi .woocommerce-form-login .button:before,
.officinale-avvisi .woocommerce-form-login .button:after {
    display: none !important;
}

/* Link password dimenticata */
.officinale-avvisi .woocommerce-form-login .lost_password,
.officinale-avvisi .woocommerce-form-login .lost_password a {
    color: #465b3d !important;
    font-size: 14px !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 767px) {
    .officinale-avvisi .woocommerce-form-login {
        padding: 15px !important;
    }

    .officinale-avvisi .woocommerce-form-login .form-row-first,
    .officinale-avvisi .woocommerce-form-login .form-row-last {
        width: 100% !important;
        float: none !important;
    }

    .officinale-avvisi .woocommerce-form-login button.button,
    .officinale-avvisi .woocommerce-form-login .button {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .officinale-avvisi .woocommerce-form-login .woocommerce-form-login__rememberme {
        display: flex !important;
        margin-left: 0 !important;
    }
}
/* ==========================================
   OFFICINALE - CUORE PREFERITI SHOP
   ========================================== */

/* ==========================================
   OFFICINALE - CUORE PREFERITI SHOP
   ========================================== */

/* Scheda prodotto come riferimento */
.woocommerce ul.products li.product {
    position: relative;
}

/* Cuore in alto a destra dell'immagine */
.woocommerce ul.products li.product
.tinvwl-loop-button-wrapper.tinvwl-above_thumb-add-to-cart {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 20;
    width: auto !important;
    margin: 0 !important;
}

/* Aspetto del pulsante */
.woocommerce ul.products li.product
.tinvwl-loop-button-wrapper .officinale-wishlist {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #465b3d !important;
}

/* Colore icona */
.woocommerce ul.products li.product
.tinvwl-loop-button-wrapper .officinale-wishlist::before {
    color: #465b3d !important;
}

/* Hover */
.woocommerce ul.products li.product
.tinvwl-loop-button-wrapper .officinale-wishlist:hover {
    background: #465b3d !important;
}

.woocommerce ul.products li.product
.tinvwl-loop-button-wrapper .officinale-wishlist:hover::before {
    color: #ffffff !important;
}

/* ==========================================
   OFFICINALE - POPUP PREFERITI
   ========================================== */

/* ==========================================
   OFFICINALE - POPUP PREFERITI
   ========================================== */

/* Finestra popup */
.tinv-modal .tinv-modal-inner {
    border-radius: 12px !important;
}

/* Pulsanti Visualizza e Chiudi */
.tinv-modal .tinvwl-buttons-group button,
.tinv-modal .tinvwl-buttons-group .button {
    background: #465b3d !important;
    color: #ffffff !important;
    border: 1px solid #465b3d !important;
    border-radius: 6px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    text-transform: none !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

/* Rimuove gli effetti automatici di Divi */
.tinv-modal .tinvwl-buttons-group button::after,
.tinv-modal .tinvwl-buttons-group .button::after {
    display: none !important;
}

/* Hover pulsanti */
.tinv-modal .tinvwl-buttons-group button:hover,
.tinv-modal .tinvwl-buttons-group .button:hover {
    background: #364830 !important;
    color: #ffffff !important;
    border-color: #364830 !important;
    padding: 12px 20px !important;
}

/* Icone interne ai pulsanti */
.tinv-modal .tinvwl-buttons-group button i {
    color: inherit !important;
    font-size: 14px !important;
}



/* ==========================================
   NATURA OFFICINALE - PAGINA WISHLIST
   Classe modulo: wishlist-officinale
   ========================================== */

/* CONTENITORE */
.wishlist-officinale .tinv-wishlist {
    color: #333;
    font-size: 15px;
}

/* TITOLO */
.wishlist-officinale .tinv-header h2 {
    color: #465b3d;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 28px;
    padding-bottom: 15px;
    position: relative;
}



/* TABELLA */
.wishlist-officinale .tinvwl-table-manage-list {
    width: 100%;
    border: 1px solid #e2e7df;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    margin-bottom: 0;
}

/* LARGHEZZA COLONNE */
.wishlist-officinale th.product-cb {
    width: 4%;
}

.wishlist-officinale th.product-remove {
    width: 5%;
}

.wishlist-officinale th.product-thumbnail {
    width: 11%;
}

.wishlist-officinale th.product-name {
    width: 35%;
}

.wishlist-officinale th.product-price {
    width: 12%;
}

.wishlist-officinale th.product-stock {
    width: 14%;
}

.wishlist-officinale th.product-action {
    width: 19%;
}

/* INTESTAZIONI */
.wishlist-officinale .tinvwl-table-manage-list thead th {
    background: #eef1ea;
    color: #465b3d;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    padding: 17px 12px;
    border-bottom: 1px solid #dfe5da;
    vertical-align: middle;
}

/* RIGHE PRODOTTO */
.wishlist-officinale .tinvwl-table-manage-list tbody tr {
    background: #fff;
    border-bottom: 1px solid #e9ece7;
    transition: background .2s ease;
}

.wishlist-officinale .tinvwl-table-manage-list tbody tr:hover {
    background: #fafbf8;
}

.wishlist-officinale .tinvwl-table-manage-list tbody td {
    padding: 18px 12px;
    vertical-align: middle;
    border: 0;
    background: transparent;
    text-align: left;
}

/* CHECKBOX */
.wishlist-officinale .product-cb input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #465b3d;
    cursor: pointer;
}

/* RIMOZIONE PRODOTTO */
.wishlist-officinale .product-remove button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    padding: 0 !important;
    margin: 0;
    border: 1px solid #eceeeb !important;
    border-radius: 50% !important;
    background: #f6f7f5 !important;
    color: #666 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.wishlist-officinale .product-remove button:hover {
    color: #fff !important;
    background: #a54e43 !important;
    border-color: #a54e43 !important;
}

/* IMMAGINI */
.wishlist-officinale .product-thumbnail img {
    width: 95px !important;
    height: 95px !important;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    display: block;
}

/* NOMI PRODOTTI */
.wishlist-officinale .product-name a {
    color: #465b3d !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none !important;
}

.wishlist-officinale .product-name a:hover {
    color: #718761 !important;
}

/* PREZZI */
.wishlist-officinale td.product-price {
    color: #262626;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.wishlist-officinale .product-price .amount {
    color: #262626;
    font-weight: 600;
}

/* DISPONIBILITA */
.wishlist-officinale .product-stock p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #465b3d;
    font-size: 13px;
    line-height: 1.5;
}

.wishlist-officinale .product-stock .ftinvwl-check {
    color: #63874c;
    font-size: 17px;
}

/* PULSANTI AGGIUNGI AL CARRELLO */
.wishlist-officinale .product-action .button,
.wishlist-officinale .product-action button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto !important;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 14px !important;
    margin: 0 !important;
    background: #465b3d !important;
    border: 1px solid #465b3d !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    box-shadow: none !important;
    transition: background .2s ease;
}

.wishlist-officinale .product-action .button:hover,
.wishlist-officinale .product-action button:hover {
    background: #34472d !important;
    border-color: #34472d !important;
    color: #fff !important;
    padding: 11px 14px !important;
}

/* DISATTIVA FRECCIA AUTOMATICA DIVI */
.wishlist-officinale .tinv-wishlist .button:after,
.wishlist-officinale .tinv-wishlist button:after {
    display: none !important;
    content: none !important;
}

/* PIEDE TABELLA */
.wishlist-officinale .tinvwl-table-manage-list tfoot td {
    padding: 20px !important;
    background: #fafbf8;
    border-top: 1px solid #e2e7df;
}

/* PULSANTE AGGIUNGI SELEZIONATI */
.wishlist-officinale button[name="tinvwl-action-product_selected"] {
    display: inline-block !important;
    width: auto !important;
    min-height: 44px;
    padding: 12px 20px !important;
    background: #fff !important;
    border: 1px solid #465b3d !important;
    border-radius: 5px !important;
    color: #465b3d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.wishlist-officinale button[name="tinvwl-action-product_selected"]:hover {
    background: #465b3d !important;
    color: #fff !important;
    padding: 12px 20px !important;
}

/* CONDIVISIONE */
.wishlist-officinale .social-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 24px;
    color: #465b3d;
    font-size: 14px;
}

.wishlist-officinale .social-buttons ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wishlist-officinale .social-buttons li {
    margin: 0;
    padding: 0;
}

.wishlist-officinale .social-buttons a.social {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border-radius: 50%;
    background: #eef1ea;
    color: #465b3d !important;
    text-decoration: none;
    transition: background .2s ease;
}

.wishlist-officinale .social-buttons a.social:hover {
    background: #dce5d6;
    color: #34472d !important;
}

/* ==========================================
   TABLET
   ========================================== */
@media (min-width: 768px) and (max-width: 1100px) {

    .wishlist-officinale .tinv-wishlist form {
        overflow-x: auto;
    }

    .wishlist-officinale .tinvwl-table-manage-list {
        min-width: 850px;
    }

}

/* ==========================================
   SMARTPHONE - SCHEDE VERTICALI
   ========================================== */
@media (max-width: 767px) {

    .wishlist-officinale .tinv-header h2 {
        font-size: 28px;
    }

    .wishlist-officinale .tinvwl-table-manage-list,
    .wishlist-officinale .tinvwl-table-manage-list tbody,
    .wishlist-officinale .tinvwl-table-manage-list tfoot {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .wishlist-officinale .tinvwl-table-manage-list thead {
        display: none !important;
    }

    .wishlist-officinale .tinvwl-table-manage-list tbody tr.wishlist_item {
        display: grid !important;
        grid-template-columns: 24px 75px auto 30px;
        gap: 8px 12px;
        align-items: start;
        padding: 18px 12px !important;
        border-bottom: 1px solid #e2e7df;
    }

    .wishlist-officinale .tinvwl-table-manage-list tbody td {
        display: block !important;
        width: auto !important;
        min-width: 0;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        border: 0 !important;
    }

    .wishlist-officinale td.product-cb {
        grid-column: 1;
        grid-row: 1;
        padding-top: 5px !important;
    }

    .wishlist-officinale td.product-remove {
        grid-column: 4;
        grid-row: 1;
    }

    .wishlist-officinale td.product-thumbnail {
        grid-column: 2;
        grid-row: 1 / span 3;
    }

    .wishlist-officinale .product-thumbnail img {
        width: 75px !important;
        height: 75px !important;
    }

    .wishlist-officinale td.product-name {
        grid-column: 3;
        grid-row: 1;
    }

    .wishlist-officinale td.product-price {
        grid-column: 3;
        grid-row: 2;
        font-size: 15px;
    }

    .wishlist-officinale td.product-stock {
        grid-column: 3;
        grid-row: 3;
    }

    .wishlist-officinale td.product-action {
        grid-column: 2 / 5;
        grid-row: 4;
        margin-top: 8px !important;
    }

    .wishlist-officinale .product-name a {
        font-size: 14px;
    }

    .wishlist-officinale .product-action .button,
    .wishlist-officinale .product-action button {
        width: 100% !important;
    }

    .wishlist-officinale .tinvwl-table-manage-list tfoot tr,
    .wishlist-officinale .tinvwl-table-manage-list tfoot td {
        display: block !important;
        width: 100% !important;
    }

    .wishlist-officinale .tinvwl-table-manage-list tfoot td {
        padding: 15px !important;
    }

    .wishlist-officinale .tinvwl-to-right {
        float: none !important;
        width: 100%;
    }

    .wishlist-officinale button[name="tinvwl-action-product_selected"] {
        width: 100% !important;
    }

    .wishlist-officinale .social-buttons {
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================
   NATURA OFFICINALE - IL MIO ACCOUNT
   ========================================== */

/* STRUTTURA GENERALE */

.account-officinale .woocommerce-MyAccount-navigation {
    width: 27%;
    background: #f6f8f3;
    border: 1px solid #e2e8dc;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
}

.account-officinale .woocommerce-MyAccount-content {
    width: 69%;
    color: #444;
    line-height: 1.8;
}


/* MENU LATERALE */

.account-officinale .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.account-officinale .woocommerce-MyAccount-navigation li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e2e8dc;
}

.account-officinale .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.account-officinale .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    color: #465b3d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* HOVER */

.account-officinale .woocommerce-MyAccount-navigation li a:hover {
    background: #e9efe4;
    color: #35452b;
}

/* VOCE ATTIVA */

.account-officinale .woocommerce-MyAccount-navigation li.is-active a {
    background: #485939;
    color: #fff;
    font-weight: 600;
}


/* ==========================================
   ICONE FONT AWESOME
   ========================================== */

.account-officinale .woocommerce-MyAccount-navigation li a:before {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    font-style: normal;
    font-size: 16px;
    width: 20px;
    min-width: 20px;
    text-align: center;
    display: inline-block;
    color: inherit;
}

/* Bacheca */
.account-officinale .woocommerce-MyAccount-navigation-link--dashboard a:before {
    content: "\f0e4";
}

/* Ordini */
.account-officinale .woocommerce-MyAccount-navigation-link--orders a:before {
    content: "\f290";
}

/* Download */
.account-officinale .woocommerce-MyAccount-navigation-link--downloads a:before {
    content: "\f019";
}

/* Indirizzi */
.account-officinale .woocommerce-MyAccount-navigation-link--edit-address a:before {
    content: "\f3c5";
}

/* Dettagli account */
.account-officinale .woocommerce-MyAccount-navigation-link--edit-account a:before {
    content: "\f007";
}

/* Metodi di pagamento - Icona carta di credito */
.account-officinale
.woocommerce-MyAccount-navigation-link--payment-methods a:before {
    content: "\f09d";
}

/* Wishlist */
.account-officinale .woocommerce-MyAccount-navigation-link--wishlist a:before {
    content: "\f004";
}

/* Esci */
.account-officinale .woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content: "\f2f5";
}


/* ==========================================
   CONTENUTI
   ========================================== */

.account-officinale .woocommerce-MyAccount-content p {
    margin-bottom: 18px;
}

.account-officinale .woocommerce-MyAccount-content a {
    color: #485939;
    font-weight: 600;
}

.account-officinale .woocommerce-MyAccount-content a:hover {
    color: #35452b;
}

.account-officinale .woocommerce-MyAccount-content h2,
.account-officinale .woocommerce-MyAccount-content h3 {
    color: #465b3d;
    margin-bottom: 20px;
}


/* ==========================================
   PULSANTI
   ========================================== */

.account-officinale .woocommerce-MyAccount-content .button,
.account-officinale .woocommerce-MyAccount-content button.button {
    display: inline-block;
    background: #485939 !important;
    color: #fff !important;
    border: 1px solid #485939 !important;
    border-radius: 6px !important;
    padding: 12px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.account-officinale .woocommerce-MyAccount-content .button:hover,
.account-officinale .woocommerce-MyAccount-content button.button:hover {
    background: #35452b !important;
    color: #fff !important;
}

.account-officinale .woocommerce-MyAccount-content .button:after {
    display: none !important;
}


/* ==========================================
   TABELLE ORDINI
   ========================================== */

.account-officinale .woocommerce-MyAccount-content table.shop_table {
    border: 1px solid #e2e8dc;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.account-officinale .woocommerce-MyAccount-content table.shop_table th {
    background: #f6f8f3;
    color: #465b3d;
    padding: 14px;
}

.account-officinale .woocommerce-MyAccount-content table.shop_table td {
    padding: 14px;
    border-color: #e2e8dc;
}


/* ==========================================
   CAMPI MODULO
   ========================================== */

.account-officinale .woocommerce-MyAccount-content input.input-text,
.account-officinale .woocommerce-MyAccount-content select {
    width: 100%;
    background: #fff;
    border: 1px solid #d9e0d4;
    border-radius: 6px;
    padding: 12px;
    color: #444;
    font-size: 15px;
}

.account-officinale .woocommerce-MyAccount-content input.input-text:focus,
.account-officinale .woocommerce-MyAccount-content select:focus {
    border-color: #485939;
    outline: none;
}


/* ==========================================
   INDIRIZZI
   ========================================== */

.account-officinale .woocommerce-Addresses .woocommerce-Address {
    background: #fafbf8;
    border: 1px solid #e2e8dc;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 767px) {

    .account-officinale .woocommerce-MyAccount-navigation,
    .account-officinale .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }

    .account-officinale .woocommerce-MyAccount-navigation {
        margin-bottom: 30px;
    }

}

/* ==========================================
   OFFICINALE - ACCOUNT - CORREZIONI
   ========================================== */

/* 1. ICONA BACHECA */
.account-officinale
.woocommerce-MyAccount-navigation-link--dashboard a:before {
    content: "\f015" !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome !important;
    font-weight: 900 !important;
    display: inline-block !important;
    width: 20px;
    min-width: 20px;
    font-size: 16px;
    text-align: center;
}


/* 2. AVVISI WOOCOMMERCE */

.account-officinale .woocommerce-info,
.account-officinale .woocommerce-message {
    background: #f6f8f3 !important;
    color: #465b3d !important;
    border: 1px solid #e2e8dc !important;
    border-left: 4px solid #485939 !important;
    border-radius: 8px !important;
    padding: 22px 24px !important;
    margin-bottom: 25px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    box-shadow: none !important;
}

.account-officinale .woocommerce-info:before,
.account-officinale .woocommerce-message:before {
    display: none !important;
}

.account-officinale .woocommerce-info a,
.account-officinale .woocommerce-message a {
    color: #485939;
}

/* Pulsanti dentro gli avvisi */
.account-officinale .woocommerce-info .button,
.account-officinale .woocommerce-message .button {
    background: #485939 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 11px 18px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 8px 15px !important;
}

.account-officinale .woocommerce-info .button:hover,
.account-officinale .woocommerce-message .button:hover {
    background: #35452b !important;
}


/* 3. SCHEDE INDIRIZZI */

.account-officinale .woocommerce-Addresses
.woocommerce-Address {
    background: #fafbf8;
    border: 1px solid #e2e8dc;
    border-radius: 8px;
    padding: 25px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.account-officinale .woocommerce-Address-title {
    margin-bottom: 20px;
}

.account-officinale .woocommerce-Address-title h2,
.account-officinale .woocommerce-Address-title h3 {
    font-family: inherit !important;
    color: #465b3d !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
}

.account-officinale .woocommerce-Address-title a {
    font-size: 14px;
    font-weight: 600;
    color: #485939;
}

.account-officinale .woocommerce-Address address {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}


/* 4. CAMPI DETTAGLI ACCOUNT */

.account-officinale .woocommerce-MyAccount-content
.woocommerce-EditAccountForm input.input-text,
.account-officinale .woocommerce-MyAccount-content
.woocommerce-address-fields input.input-text {
    background: #fff !important;
    border: 1px solid #d9e0d4 !important;
    border-radius: 6px !important;
    padding: 14px 15px !important;
    color: #444 !important;
    font-size: 15px !important;
    box-shadow: none !important;
    height: auto !important;
}

.account-officinale .woocommerce-MyAccount-content
input.input-text:focus {
    border-color: #485939 !important;
    outline: none !important;
}

.account-officinale .woocommerce-MyAccount-content
.woocommerce-form-row label,
.account-officinale .woocommerce-MyAccount-content
.form-row label {
    color: #465b3d;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

.account-officinale .woocommerce-MyAccount-content
.form-row {
    margin-bottom: 20px;
}

.account-officinale .woocommerce-MyAccount-content
.form-row em {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}


/* 5. SEZIONE MODIFICA PASSWORD */

.account-officinale .woocommerce-EditAccountForm fieldset {
    border: 1px solid #e2e8dc !important;
    background: #fafbf8 !important;
    border-radius: 8px !important;
    padding: 25px !important;
    margin: 25px 0 !important;
}

.account-officinale .woocommerce-EditAccountForm legend {
    color: #465b3d !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    padding: 0 10px !important;
}


/* 6. MOBILE */

@media (max-width: 767px) {

    .account-officinale .woocommerce-info,
    .account-officinale .woocommerce-message {
        padding: 18px !important;
    }

    .account-officinale .woocommerce-info .button,
    .account-officinale .woocommerce-message .button {
        float: none !important;
        display: block !important;
        width: fit-content;
        margin: 12px 0 0 !important;
    }

    .account-officinale .woocommerce-Addresses
    .woocommerce-Address {
        padding: 20px;
    }

    .account-officinale .woocommerce-EditAccountForm fieldset {
        padding: 18px !important;
    }
}

/* ==========================================
   OFFICINALE - LOGIN ACCOUNT
   ========================================== */

/* Titolo Accedi */
.account-officinale #customer_login h2,
.account-officinale .woocommerce > h2 {
    color: #465b3d !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
}

/* Contenitore login */
.account-officinale .woocommerce-form-login {
    background: #f6f8f3 !important;
    border: 1px solid #e2e8dc !important;
    border-radius: 10px !important;
    padding: 30px !important;
    margin: 0 !important;
}

/* Etichette */
.account-officinale .woocommerce-form-login label {
    color: #465b3d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Campi username e password */
.account-officinale .woocommerce-form-login input.input-text {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #d9e0d4 !important;
    border-radius: 6px !important;
    padding: 13px 15px !important;
    color: #444 !important;
    font-size: 15px !important;
    height: auto !important;
    box-shadow: none !important;
}

/* Focus campi */
.account-officinale .woocommerce-form-login input.input-text:focus {
    border-color: #485939 !important;
    outline: none !important;
}

/* Distanze campi */
.account-officinale .woocommerce-form-login .form-row {
    margin-bottom: 20px !important;
}

/* Pulsante Accedi */
.account-officinale .woocommerce-form-login button.button {
    background: #485939 !important;
    color: #fff !important;
    border: 1px solid #485939 !important;
    border-radius: 6px !important;
    padding: 12px 26px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    transition: background 0.2s ease;
}

.account-officinale .woocommerce-form-login button.button:hover {
    background: #35452b !important;
    border-color: #35452b !important;
    color: #fff !important;
}

/* Rimuove freccia Divi */
.account-officinale .woocommerce-form-login button.button:after {
    display: none !important;
}

/* Ricordami */
.account-officinale .woocommerce-form-login
.woocommerce-form-login__rememberme {
    color: #465b3d !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-left: 15px;
}

.account-officinale .woocommerce-form-login
input[type="checkbox"] {
    accent-color: #485939;
    margin-right: 6px;
}

/* Password dimenticata */
.account-officinale .woocommerce-LostPassword {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

.account-officinale .woocommerce-LostPassword a {
    color: #485939 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none;
}

.account-officinale .woocommerce-LostPassword a:hover {
    color: #35452b !important;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {

    .account-officinale .woocommerce-form-login {
        padding: 22px !important;
    }

    .account-officinale .woocommerce-form-login
    .woocommerce-form-login__rememberme {
        margin-left: 10px;
    }

}

/* ==========================================
   OFFICINALE - RECUPERO PASSWORD
   ========================================== */

/* Contenitore */
.account-officinale .woocommerce-ResetPassword {
    background: #f6f8f3 !important;
    border: 1px solid #e2e8dc !important;
    border-radius: 10px !important;
    padding: 30px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Testo introduttivo */
.account-officinale .woocommerce-ResetPassword > p:first-child {
    color: #465b3d;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px !important;
}

/* Campo a larghezza completa */
.account-officinale .woocommerce-ResetPassword .form-row {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
}

/* Etichetta */
.account-officinale .woocommerce-ResetPassword label {
    display: block;
    color: #465b3d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 8px;
}

/* Campo email */
.account-officinale .woocommerce-ResetPassword input.input-text {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #d9e0d4 !important;
    border-radius: 6px !important;
    padding: 13px 15px !important;
    color: #444 !important;
    font-size: 15px !important;
    height: auto !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.account-officinale .woocommerce-ResetPassword input.input-text:focus {
    border-color: #485939 !important;
    outline: none !important;
}

/* Pulsante reset */
.account-officinale .woocommerce-ResetPassword button.button {
    background: #485939 !important;
    color: #fff !important;
    border: 1px solid #485939 !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    transition: background 0.2s ease;
}

.account-officinale .woocommerce-ResetPassword button.button:hover {
    background: #35452b !important;
    border-color: #35452b !important;
    color: #fff !important;
}

/* Elimina freccia Divi */
.account-officinale .woocommerce-ResetPassword button.button:after {
    display: none !important;
}

/* Mobile */
@media (max-width: 767px) {

    .account-officinale .woocommerce-ResetPassword {
        padding: 22px !important;
    }

}

/* ==========================================
   OFFICINALE - AVVISI DI ERRORE
   ========================================== */

.account-officinale .woocommerce-error {
    background: #fff7f5 !important;
    color: #9b4238 !important;
    border: 1px solid #efd5d0 !important;
    border-left: 4px solid #b85c50 !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    margin-bottom: 25px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    box-shadow: none !important;
    list-style: none !important;
}

/* Rimuove icone e pallini standard */
.account-officinale .woocommerce-error:before,
.account-officinale .woocommerce-error li:before {
    display: none !important;
}

.account-officinale .woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #9b4238 !important;
}

/* Eventuali link */
.account-officinale .woocommerce-error a {
    color: #9b4238 !important;
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================
   OFFICINALE - REGISTRAZIONE ACCOUNT
   ========================================== */

/* Contenitore registrazione */
.account-officinale .woocommerce-form-register {
    background: #f6f8f3 !important;
    border: 1px solid #e2e8dc !important;
    border-radius: 10px !important;
    padding: 30px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Titoli Accedi e Registrati */
.account-officinale #customer_login h2 {
    font-family: inherit !important;
    color: #465b3d !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
}

/* Etichette */
.account-officinale .woocommerce-form-register label {
    color: #465b3d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 7px;
}

/* Campi registrazione */
.account-officinale .woocommerce-form-register input.input-text {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #d9e0d4 !important;
    border-radius: 6px !important;
    padding: 13px 15px !important;
    color: #444 !important;
    font-size: 15px !important;
    height: auto !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.account-officinale .woocommerce-form-register input.input-text:focus {
    border-color: #485939 !important;
    outline: none !important;
}

/* Distanza campi */
.account-officinale .woocommerce-form-register .form-row {
    margin-bottom: 20px !important;
}

/* Testi informativi e privacy */
.account-officinale .woocommerce-form-register p,
.account-officinale .woocommerce-form-register
.woocommerce-privacy-policy-text {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.account-officinale .woocommerce-form-register
.woocommerce-privacy-policy-text a {
    color: #485939 !important;
    font-weight: 600;
    text-decoration: underline;
}

/* Pulsante Registrati */
.account-officinale .woocommerce-form-register button.button {
    background: #485939 !important;
    color: #fff !important;
    border: 1px solid #485939 !important;
    border-radius: 6px !important;
    padding: 12px 26px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    transition: background 0.2s ease;
}

.account-officinale .woocommerce-form-register button.button:hover {
    background: #35452b !important;
    border-color: #35452b !important;
    color: #fff !important;
}

/* Elimina freccia Divi */
.account-officinale .woocommerce-form-register button.button:after {
    display: none !important;
}

/* Responsive */
@media (max-width: 767px) {

    .account-officinale .woocommerce-form-register {
        padding: 22px !important;
    }

}

/* Avviso prodotti esauriti */

/* OFFICINALE - Avviso prodotti esauriti */
.officinale-esaurito {
    background: #fff5f3;
    color: #a94438;
    border: 1px solid #e8c5be;
    border-radius: 6px;
    padding: 8px 10px;
    margin: 10px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}



/* NATURA OFFICINALE - BARRA OMAGGIO */


/* NATURA OFFICINALE - BARRA OMAGGIO */

.gosm-barra-omaggio {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0 20px;
    margin: 0 0 15px;
    font-family: inherit !important;
    color: #444;
}

.gosm-barra-omaggio * {
    font-family: inherit !important;
}

.gosm-omaggio-titolo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #3e4d35;
    margin-bottom: 10px;
}

.gosm-gift-icon {
    font-size: 21px;
}

.gosm-omaggio-messaggio {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #555;
}

/* Barra avanzamento */

.gosm-progress-track {
    height: 9px;
    background: #ece9e2;
    border-radius: 20px;
    overflow: hidden;
}

.gosm-progress-fill {
    height: 100%;
    background: #c5ad85;
    border-radius: 20px;
    transition: width .4s ease, background .3s ease;
}

.gosm-progress-valori {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #777;
}

/* Prodotto omaggio */

.gosm-omaggio-prodotto {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e8e6e0;
    margin-top: 20px;
    padding-top: 18px;
}

.gosm-omaggio-foto {
    flex: 0 0 80px;
}

.gosm-omaggio-foto img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.gosm-omaggio-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gosm-omaggio-label {
    font-size: 11px;
    font-weight: 700;
    color: #66835c;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.gosm-omaggio-nome {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #3e4d35;
}

/* Responsive */

@media (max-width: 767px) {
    .gosm-barra-omaggio {
        padding: 5px 0 15px;
    }

    .gosm-omaggio-titolo {
        font-size: 16px;
    }

    .gosm-omaggio-prodotto {
        gap: 12px;
    }

    .gosm-omaggio-foto {
        flex-basis: 65px;
    }

    .gosm-omaggio-foto img {
        width: 65px;
        height: 65px;
    }
}

