/* Equal image box in every product card */
.shopengine-widget .shopengine-archive-products .products .product>a.woocommerce-LoopProduct-link{
    display:flex;
    align-items:center;
    gap:20px;
}
.shopengine-archive-mode-grid img,
.products li.product a img,.woocommerce ul.products li.product a img {
  max-width: 100%;
    height:310px;
  object-fit: contain;          /* crop nicely without distortion */
  object-position: center;    /* center the crop */
  display: block;
  margin: 0;
}

/* Keep cards aligned (title/price/button) */
.products li.product,
.shopengine-archive-mode-grid li.product {
  display: flex;
  flex-direction: column;
}
.products li.product .woocommerce-LoopProduct-link {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.products li.product .price { margin-top: auto; }

/* Badge/wishlist stay pinned and don't shift layout */
.products li.product { position: relative; }
.products li.product .onsale { position: absolute; top: .75rem; right: .75rem; z-index: 2; }

/* Responsive heights */
@media (max-width: 1024px) {
  .shopengine-archive-mode-grid img,
  .products li.product img { height: 280px; }
}
@media (max-width: 767px) {
        .shopengine-widget .shopengine-grid ul.products li.product img {
        margin-bottom: 10px !important;
    }
    
        .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
            margin:0;
        }
  .shopengine-archive-mode-grid img,
  .products li.product img {
      margin-bottom:10px !important;
      
  }
}

@media screen and (max-width: 481px) {
  .shopengine-widget .shopengine-archive-products .products .product>a.woocommerce-LoopProduct-link{
      display:flex;
      align-items:center;
  }
    .shopengine-widget .shopengine-grid ul.products li.product img {
        margin-bottom: 0px !important;
        height:200px;
        max-width:181px;
    }
    .shopengine-archive-mode-grid img,
  .products li.product img {
      margin-bottom:0px !important;
      
  }
  .yith-wcwl-add-to-wishlist svg.yith-wcwl-icon-svg, .yith-wcwl-add-to-wishlist .add_to_wishlist img {
   
    width: 20px !important;
   
}
.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist {
  
    top: 5px !important;
    left: 5px !important;
}
  .shopengine-archive-products .product .onsale {
      right:5px !important;
      top:5px !important;
      font-size: 11px !important;
    margin-left:auto !important;
  }
  .shopengine-archive-mode-grid img,
.products li.product a img,.woocommerce ul.products li.product a img {

  }
  .shopengine-archive-products .product .attachment-woocommerce_thumbnail {
  max-width:100%;
  height:200px !important;
  object-fit: contain;          /* crop nicely without distortion */
  object-position: center;    /* center the crop */
  margin: 0;
}
}
/*
 * Hide the "(ekskl. moms)" suffix on the header cart button.
 *
 * WooCommerce emits it in class-wc-cart.php:2327 as
 *   <small class="tax_label">…</small>
 * whenever the cart subtotal renders excluding tax. B2B users are tax-exempt
 * via B2BKing (rule 5704444169350, "everyone_registered_b2b"), so they get the
 * label; guests see the inc-VAT price and never do.
 *
 * Scoped to the Elementor Menu Cart toggle only, so the label still appears on
 * the cart page, the side-cart panel and checkout, where the ex-VAT
 * distinction genuinely matters. Hiding it here rather than filtering
 * woocommerce_countries_ex_tax_or_vat leaves the totals maths untouched.
 *
 * Note: B2BKing's "Modify VAT suffix automatically" setting does NOT control
 * this. It filters woocommerce_get_price_suffix (product prices) and, with
 * woocommerce_tax_display_shop = incl, appends "inc. VAT" to every B2C price
 * site-wide. Leave it off.
 */
.elementor-menu-cart__toggle .tax_label,
.elementor-menu-cart__toggle_button .tax_label {
	display: none;
}
