/* Bulk Cart UX */
.bcux-floating-toggle,
.bcux-inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.bcux-floating-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9997;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.bcux-cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #22a447;
  color: #fff;
  font-size: 12px;
}
.bcux-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}
.bcux-sidecart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .25s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,.12);
}
.bcux-sidecart.is-open {
  transform: translateX(0);
}
.bcux-sidecart__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bcux-sidecart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e9e9e9;
  font-size: 13px;
}
.bcux-sidecart__close {
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.bcux-sidecart__progress,
.bcux-cart-progress {
  padding: 12px 16px;
  border-bottom: 1px solid #efefef;
}
.bcux-progress-wrapper {
  display: grid;
  gap: 10px;
}
.bcux-progress-card {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
.bcux-progress-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.bcux-mini-line {
  font-size: 12px;
  color: #666;
}
.bcux-mini-line .is-success {
  color: #1b9b40;
  font-weight: 700;
}
.bcux-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #f0f0f0;
  overflow: hidden;
}
.bcux-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1fa542, #38d161);
}
.bcux-progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  color: #8a8a8a;
}
.bcux-progress-steps span.is-active {
  color: #1b9b40;
  font-weight: 700;
}
.bcux-sidecart__body {
  flex: 1;
  overflow: auto;
  padding: 0 16px;
}
.bcux-sidecart__footer {
  border-top: 1px solid #eee;
  padding: 14px 16px 18px;
  background: #fff;
}
.bcux-sidecart__subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}
.bcux-sidecart__actions {
  display: grid;
  gap: 8px;
}
.bcux-sidecart__actions .button {
  width: 100%;
  text-align: center;
  margin: 0;
}
.bcux-checkout.button {
  background: #20a943 !important;
  border-color: #20a943 !important;
  color: #fff !important;
}
.bcux-view-cart.button {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}
.bcux-sidecart .woocommerce-mini-cart-item {
  display: grid !important;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 12px 0 !important;
  border-bottom: 1px solid #f0f0f0;
}
.bcux-sidecart .woocommerce-mini-cart__buttons,
.bcux-sidecart .woocommerce-mini-cart__total {
  display: none !important;
}
.bcux-sidecart .quantity {
  font-size: 12px;
}
@media (max-width: 640px) {
  .bcux-sidecart {
    width: 100%;
  }
}
