.wpt-container{margin:20px 0;}
.wpt-controls{display:flex;gap:10px;margin-bottom:15px;}
.wpt-controls input,.wpt-controls select{padding:8px;border:1px solid #ccc;border-radius:4px;}
.wpt-table{width:100%;border-collapse:collapse;font-size:15px;}
.wpt-table th,.wpt-table td{border:1px solid #eee;padding:10px;text-align:left;}
.wpt-table tr:nth-child(even){background:#fafafa;}
.wpt-table tr:hover{background:#f1f1f1;}
.wpt-add button,.ajax_add_to_cart{background:#3a3a3a;color:#fff;border:none;padding:8px 12px;border-radius:4px;cursor:pointer;}
.wpt-add button:hover,.ajax_add_to_cart:hover{background:#000;}
@media(max-width:768px){.wpt-table th,.wpt-table td{font-size:13px;} .wpt-controls{flex-direction:column;}}
#wpt-category {
  display: none !important;
}
/* 🔍 Add magnifying glass icon to search box */
#wpt-search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-4.35-4.35m2.35-5.65a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 12px center;
  padding-right: 38px;
}

/* Hide the Price column completely */
.wpt-table th:nth-child(3),
.wpt-table td:nth-child(3) {
  display: none !important;
}
/* Shorten and center the Qty input column */
.wpt-table td .qty {
  width: 80px;          /* reduce width (you can try 50–70px) */
  text-align: center;
  padding: 4px;
}

.wpt-table th:nth-child(4),
.wpt-table td:nth-child(4) {
  width: 120px;           /* controls column width in the table */
  text-align: center;
}

/* Hide WooCommerce "View cart" notices completely */
.woocommerce-message a[href*="cart"],
.wc-forward {
  display: none !important;
}
/* 📱 Hide Description column on mobile only */
@media (max-width: 768px) {
  /* Hide the Description header and cells */
  .wpt-table th:nth-child(2),
  .wpt-table td:nth-child(2) {
    display: none !important;
  }
}


/* 🛒 Hide the "View Cart" button in mini-cart or Elementor cart widget 
.woocommerce-mini-cart__buttons a[href*="cart"],
.elementor-menu-cart__footer-buttons a[href*="cart"] {
  display: none !important; 
}
*/


/* 🛒 Force EVERYTHING (name, qty, price) in mini-cart to align left */

/* Hide thumbnails */
.elementor-menu-cart__product-image,
.woocommerce-mini-cart__product-thumbnail,
.woocommerce-mini-cart-item img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Main product block layout */
.elementor-menu-cart__product,
.woocommerce-mini-cart-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;  /* ✅ left align */
  text-align: left !important;
  gap: 4px !important;
}

/* Make details, qty, and price left aligned */
.elementor-menu-cart__product-details,
.woocommerce-mini-cart__product-details,
.elementor-menu-cart__product-name,
.woocommerce-mini-cart__product-name,
.elementor-menu-cart__product-price,
.woocommerce-mini-cart__product-price,
.elementor-menu-cart__product-quantity,
.woocommerce-mini-cart__product-quantity,
.elementor-menu-cart__total,
.woocommerce-mini-cart__total {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* Remove bullets and left margin from list */
.woocommerce-mini-cart,
.woocommerce-mini-cart .mini_cart_item {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* 🔧 Force mini-cart PRICE to align left (Elementor Menu Cart) */
.elementor-menu-cart__products .elementor-menu-cart__product .elementor-menu-cart__product-price,
.elementor-menu-cart__product .elementor-menu-cart__product-price {
  margin-left: 0 !important;     /* override the auto-push to right */
  float: none !important;
  text-align: left !important;
  align-self: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;         /* optional: makes it full-width under name/qty */
}

/* (optional) keep QTY left too */
.elementor-menu-cart__product .elementor-menu-cart__product-quantity {
  margin-left: 0 !important;
  text-align: left !important;
  align-self: flex-start !important;
}


/* sub total in mini cart hide */
.elementor-menu-cart__subtotal {
    display: none;
}