/**
Theme Name: Hanami Astra Child
Author: Roberto Roselli
Author URI: http://wpastra.com/about/
Description: Tema child di Astra personalizzato per Hanami Secrets
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hanami-astra-child
Template: astra
*/

/* ==========================================================
   FIX HANAMI — spostati qui dal Personalizza per sicurezza
   (non possono essere sovrascritti salvando dal pannello)
   ========================================================== */

/* === HANAMI-CART-FIX-STATO: il side-cart parte chiuso e si chiude con la X === */
.elementor-widget-woocommerce-menu-cart:not(.elementor-menu-cart--shown) .elementor-menu-cart__container{
    opacity:0 !important; visibility:hidden !important; pointer-events:none !important;
}
.elementor-widget-woocommerce-menu-cart.elementor-menu-cart--shown .elementor-menu-cart__container{
    opacity:1 !important; visibility:visible !important; pointer-events:auto !important;
}

/* === HANAMI-CARD-ALIGN: prezzo e bottone allineati nelle card prodotto === */
ul.products li.product{ display:flex !important; flex-direction:column !important; }
ul.products li.product .astra-shop-summary-wrap{ display:flex !important; flex-direction:column !important; flex:1 1 auto !important; }
ul.products li.product .astra-shop-summary-wrap .price{ margin-top:auto !important; }

/* === HANAMI-CART-PILL-BADGE: il badge quantita' non copre l'icona === */
.elementor-menu-cart__toggle .elementor-button-icon{ font-size:20px !important; }
.elementor-menu-cart__toggle .elementor-button-icon-qty{
    width:16px !important; height:16px !important; line-height:16px !important;
    font-size:10px !important; top:-10px !important; right:-14px !important;
    left:auto !important; bottom:auto !important;
}

/* === HANAMI-SEARCH-FIT: la ricerca non sormonta il carrello === */
.elementor-widget-fibosearch .dgwt-wcas-search-wrapp{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    margin-right:0 !important;
}
