/* Puste komunikaty nie rezerwują miejsca nad produktem ani koszykiem. */
.single-product .woocommerce-notices-wrapper:empty,.woocommerce-cart .woocommerce-notices-wrapper:empty,.woocommerce-checkout .woocommerce-notices-wrapper:empty{display:none!important;margin:0!important;padding:0!important}
@media(max-width:768px){
 .single-product .main-single-product{margin-top:20px!important}
 #bwp-footer img[src*="Kwiaciarnia-Magnolia-Logo-Stopka"]{width:140px!important;max-width:45vw!important;height:auto!important}
}

/* 1.18.4: delikatny odstęp stopki od krawędzi, bez zmiany jej siatki. */
#bwp-footer>.elementor>.elementor-section>.elementor-container{box-sizing:border-box;padding-left:10px!important;padding-right:10px!important}
@media(max-width:768px){
 /* Magnolia poleca: wysokość wynika z treści, bez pustego rozciągnięcia pod CTA. */
 body.home .elementor-element-d49eccb .product-wapper{height:auto!important;min-height:0!important;margin-bottom:0!important}
 body.home .elementor-element-d49eccb .products-content{flex:0 0 auto!important;padding:14px 12px 0!important}
 body.home .elementor-element-d49eccb .products-content .contents{min-height:0!important;height:auto!important;flex:0 0 auto!important}
 body.home .elementor-element-d49eccb .btn-atc{margin-bottom:0!important;padding-bottom:0!important}
 body.home .elementor-element-d49eccb .btn-atc .button{height:auto!important;min-height:44px!important;line-height:1.35!important;padding:12px 8px!important}
}

@media(max-width:768px){body.home .elementor-element-d49eccb .product-wapper{align-self:flex-start!important}}

/* Mini-koszyk: widoczne nazwy, jednoznaczne przyciski i bezpieczna wysokość panelu. */
.mini-cart .cart-popup .mini_cart_item{display:grid!important;grid-template-columns:60px minmax(0,1fr) 30px;column-gap:12px;row-gap:5px;align-items:start;position:relative;padding:14px 0!important;min-height:0!important}
.mini-cart .cart-popup .mini_cart_item>a.product-image{grid-column:1;grid-row:1/4;float:none!important;width:60px!important;margin:0!important}
.mini-cart .cart-popup .mini_cart_item>a.product-image img{width:60px!important;height:60px!important;object-fit:cover}
.mini-cart .cart-popup .mini_cart_item>a.product-name{display:block!important;grid-column:2;grid-row:1;float:none!important;width:auto!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1.45!important;color:#302820!important;white-space:normal!important;overflow-wrap:anywhere;min-width:0}
.mini-cart .cart-popup .mini_cart_item>.quantity,.mini-cart .cart-popup .mini_cart_item>.price{grid-column:2;float:none!important;width:auto!important;margin:0!important;padding:0!important;line-height:1.5!important}
.mini-cart .cart-popup .mini_cart_item>.quantity{grid-row:2}.mini-cart .cart-popup .mini_cart_item>.price{grid-row:3}
.mini-cart .cart-popup .mini_cart_item>a.remove_from_cart_button{grid-column:3;grid-row:1;position:static!important;width:30px!important;height:30px!important;line-height:30px!important;display:flex!important;align-items:center;justify-content:center;margin:0!important;color:#302820!important;z-index:2}
.mini-cart .cart-popup .mini_cart_item.magnolia-removing{opacity:.5;pointer-events:none}
@media(max-width:768px){.mini-cart .cart-popup{max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 130px)!important;max-height:calc(100dvh - 130px)!important;overflow-y:auto!important;box-sizing:border-box}}
