/* ─────────────────────────────────────────────────────
   Bee1 Mini Cart Qty Controls  –  pill-style +/- widget
   Works in: WooCommerce mini-cart widget, Elementor
   Menu Cart (side/floating cart).
   ───────────────────────────────────────────────────── */

/* Container pill */
.bee1-mini-qty {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  overflow: hidden;
  height: 34px;
  vertical-align: middle;
  background: #fff;
  flex-shrink: 0;
  flex-wrap: nowrap !important;
  white-space: nowrap;
}

/* Buttons */
.bee1-mini-qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  outline: none;
  transition: opacity 0.15s ease;
  float: none !important;
}

.bee1-mini-qty-btn[aria-disabled="true"] {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

.bee1-mini-qty-btn:not([aria-disabled="true"]):hover {
  background: rgba(0, 0, 0, .05) !important;
}

/* Number input */
.bee1-mini-qty-input {
  display: inline-block !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 34px !important;
  border: 0 !important;
  border-left: 1px solid rgba(0, 0, 0, .08) !important;
  border-right: 1px solid rgba(0, 0, 0, .08) !important;
  text-align: center;
  outline: none;
  padding: 0 2px !important;
  margin: 0 !important;
  background: transparent !important;
  font-weight: 600;
  font-size: inherit;
  color: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
  float: none !important;
}

.bee1-mini-qty-input::-webkit-outer-spin-button,
.bee1-mini-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Elementor side-cart / Menu Cart + WooCommerce overrides ────── */

/* Quantity wrapper — always inline-flex on same line */
.woocommerce-mini-cart-item .quantity,
.elementor-menu-cart__container .woocommerce-mini-cart-item .quantity,
.elementor-menu-cart__product .quantity {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  gap: 0 !important;
}

/* Force the pill inline-flex inside Elementor too */
.elementor-menu-cart__container .bee1-mini-qty,
.elementor-menu-cart__product .bee1-mini-qty {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}

/* Elementor themes force borders on inputs */
.elementor-menu-cart__container .bee1-mini-qty-input {
  border-top: 0 !important;
  border-bottom: 0 !important;
}
