/* The selectors stay inside the plugin's product template so Agntix cannot restyle its controls. */
.bp-store.bp-single .bp-buy-form { clear: both; }
.bp-store.bp-single .bp-buy-form form.cart,
.bp-store.bp-single .bp-buy-form .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  float: none !important;
}
.bp-store.bp-single .bp-buy-form form.variations_form { display: block !important; }
.bp-store.bp-single .bp-buy-form table.variations { display: table !important; width: 100% !important; margin: 0 0 18px !important; border: 0 !important; }
.bp-store.bp-single .bp-buy-form table.variations tbody,
.bp-store.bp-single .bp-buy-form table.variations tr { display: block !important; width: 100% !important; }
.bp-store.bp-single .bp-buy-form table.variations th,
.bp-store.bp-single .bp-buy-form table.variations td { display: block !important; width: 100% !important; padding: 0 !important; border: 0 !important; }
.bp-store.bp-single .bp-buy-form table.variations th label { display: block; margin: 14px 0 8px; font-size: 15px; font-weight: 700; color: #26221f; }
.bp-store.bp-single .bp-buy-form .bp-variation-enhanced select {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important;
  border: 0 !important; opacity: 0 !important;
}
.bp-store.bp-single .bp-variation-tiles { display: grid; grid-template-columns: repeat(auto-fit,minmax(116px,1fr)); gap: 10px; width: 100%; }
.bp-store.bp-single .bp-variation-tile {
  display: flex !important; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 66px; padding: 12px 15px !important; margin: 0 !important;
  text-align: left; color: #26221f !important; background: #fff !important;
  border: 1px solid #d8d1ca !important; border-radius: 16px !important;
  box-shadow: none !important; font-size: 15px; line-height: 1.2;
}
.bp-store.bp-single .bp-variation-tile.is-selected { background: #24472e !important; border-color: #24472e !important; color: #fff !important; }
.bp-store.bp-single.bp-single-krunchies .bp-variation-tile.is-selected { background: #842e28 !important; border-color: #842e28 !important; }
.bp-store.bp-single .bp-variation-tile:hover:not(:disabled) { border-color: #24472e !important; }
.bp-store.bp-single .bp-variation-tile:disabled { opacity: .45; cursor: not-allowed; }
.bp-store.bp-single .bp-variation-option-price { margin-top: 5px; font-size: 12px; opacity: .85; }
.bp-store.bp-single .bp-buy-form a.reset_variations { display: inline-block !important; margin: 10px 0; font-size: 12px; text-decoration: underline; }
.bp-store.bp-single .bp-buy-form .single_variation_wrap { clear: both; width: 100% !important; margin-top: 6px; }
.bp-store.bp-single .bp-buy-form .woocommerce-variation { width: 100%; }
.bp-store.bp-single .bp-buy-form .woocommerce-variation-availability .stock { margin: 6px 0 12px; }
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control {
  display: inline-flex !important; flex: 0 0 144px !important; align-items: center !important;
  justify-content: space-between !important; float: none !important;
  width: 144px !important; min-width: 144px !important; height: 58px !important;
  min-height: 58px !important; padding: 0 6px !important; margin: 0 !important;
  overflow: hidden !important; border: 1px solid #d8d1ca !important;
  border-radius: 999px !important; background: #fff !important; box-shadow: none !important;
}
/* Suppress theme-supplied steppers while keeping WooCommerce's own input intact. */
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control button:not(.bp-qty-minus):not(.bp-qty-plus),
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control input.minus,
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control input.plus,
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control .qty-button,
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control .quantity-button { display: none !important; }
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control input.qty {
  display: block !important; flex: 1 1 42px !important; min-width: 0 !important;
  width: 42px !important; max-width: 50px !important; height: 50px !important;
  min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  color: #26221f !important; background: transparent !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
  text-align: center !important; font-size: 17px !important; appearance: textfield;
}
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control input.qty::-webkit-inner-spin-button,
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control input.qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control .bp-qty-minus,
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control .bp-qty-plus {
  display: inline-grid !important; flex: 0 0 36px !important; place-items: center;
  width: 36px !important; height: 40px !important; min-width: 36px !important;
  padding: 0 !important; margin: 0 !important; line-height: 1 !important;
  border: 0 !important; border-radius: 50% !important; background: transparent !important;
  color: #26221f !important; box-shadow: none !important; font-size: 21px !important;
}
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control .bp-qty-minus:disabled,
.bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control .bp-qty-plus:disabled { opacity: .35; cursor: not-allowed; }
.bp-store.bp-single .bp-buy-form .single_add_to_cart_button {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  flex: 1 1 190px !important; float: none !important; width: auto !important;
  min-width: 180px !important; min-height: 58px !important;
  margin: 0 !important; padding: 14px 24px !important;
  color: #fff !important; background: var(--bp-accent) !important;
  border: 0 !important; border-radius: 999px !important; box-shadow: none !important;
  text-transform: uppercase !important; font-size: 13px !important;
}
.bp-store.bp-single .bp-buy-form .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 520px) {
  .bp-store.bp-single .bp-variation-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bp-store.bp-single .bp-buy-form .quantity.bp-quantity-control { flex-basis: 126px !important; width: 126px !important; min-width: 126px !important; }
}
