/* Brass Monkees – basket bits used on every page (side basket drawer + quantity boxes) */
/* quantity box (cart, product pages, side basket): − number + in one row.
   Written against the box's children in general, so it works whatever classes BeTheme gives the buttons. */
.woocommerce .quantity,.mfn-cart-holder .quantity,body.bms-shop .quantity{
  display:inline-flex !important;flex-wrap:nowrap !important;align-items:stretch !important;position:relative;width:auto !important;min-width:0;height:auto !important;
  border:1.5px solid #3a3a3a !important;border-radius:12px !important;background:#1f1f1f !important;overflow:hidden;padding:0 !important;}
.woocommerce .quantity > *,.mfn-cart-holder .quantity > *,body.bms-shop .quantity > *{
  position:static !important;inset:auto !important;transform:none !important;float:none !important;display:flex !important;align-items:center;justify-content:center;
  flex:0 0 42px;width:42px !important;height:auto !important;min-height:46px;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;
  background:transparent !important;color:#eea521 !important;box-shadow:none !important;opacity:1 !important;visibility:visible !important;cursor:pointer;text-decoration:none !important;}
.woocommerce .quantity > * *,.mfn-cart-holder .quantity > * *,body.bms-shop .quantity > * *{color:#eea521 !important;fill:#eea521;stroke:#eea521;}
.woocommerce .quantity > *::before,.woocommerce .quantity > *::after,.mfn-cart-holder .quantity > *::before,.mfn-cart-holder .quantity > *::after{color:#eea521 !important;background-color:#eea521;border-color:#eea521;}
/* the number */
.woocommerce .quantity > input,.mfn-cart-holder .quantity > input,body.bms-shop .quantity > input{
  order:1;flex:0 0 46px;width:46px !important;min-width:40px;cursor:text;color:#fff !important;-webkit-text-fill-color:#fff !important;font-size:16px !important;font-weight:800;text-align:center;
  -moz-appearance:textfield;appearance:textfield;background:transparent !important;}
.woocommerce .quantity > input::before,.woocommerce .quantity > input::after{display:none;}
.woocommerce .quantity > input::-webkit-outer-spin-button,.woocommerce .quantity > input::-webkit-inner-spin-button,
.mfn-cart-holder .quantity > input::-webkit-outer-spin-button,.mfn-cart-holder .quantity > input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
/* − before the number, + after it, whatever order they come in */
.woocommerce .quantity > :not(input):first-child,.mfn-cart-holder .quantity > :not(input):first-child,body.bms-shop .quantity > :not(input):first-child{order:0;}
.woocommerce .quantity > :not(input):last-child,.mfn-cart-holder .quantity > :not(input):last-child,body.bms-shop .quantity > :not(input):last-child{order:2;}
.woocommerce .quantity > [class*="minus"],.mfn-cart-holder .quantity > [class*="minus"],body.bms-shop .quantity > [class*="minus"]{order:0 !important;}
.woocommerce .quantity > [class*="plus"],.mfn-cart-holder .quantity > [class*="plus"],body.bms-shop .quantity > [class*="plus"]{order:2 !important;}
/* screen-reader label and hidden inputs stay out of the row */
.woocommerce .quantity > label,.mfn-cart-holder .quantity > label,body.bms-shop .quantity > label,
.woocommerce .quantity > input[type="hidden"],.mfn-cart-holder .quantity > input[type="hidden"]{position:absolute !important;width:1px !important;height:1px !important;min-height:0;overflow:hidden;clip:rect(0 0 0 0);flex:none;}
.woocommerce .quantity > :not(input):hover,.mfn-cart-holder .quantity > :not(input):hover{background:rgba(238,165,33,.12) !important;}
.woocommerce .quantity:focus-within,.mfn-cart-holder .quantity:focus-within{border-color:#eea521 !important;}
.woocommerce .quantity:has(> input[type="hidden"]:only-child){display:none !important;}

/* side basket drawer (BeTheme) */
.mfn-cart-holder{background:#1c1c1d !important;color:#cfcfcf !important;border-left:1px solid rgba(238,165,33,.35) !important;}
.mfn-cart-holder *{border-color:rgba(255,255,255,.09) !important;}
.mfn-cart-holder .mfn-ch-header,.mfn-cart-holder [class*="ch-header"]{background:#161617 !important;}
.mfn-cart-holder .mfn-ch-header *,.mfn-cart-holder [class*="close"]{color:#fff !important;}
.mfn-cart-holder .mfn-ch-header svg,.mfn-cart-holder [class*="close"] svg{fill:#fff;stroke:#fff;}
.mfn-cart-holder .mfn-ch-row,.mfn-cart-holder [class*="ch-row"],.mfn-cart-holder li.woocommerce-mini-cart-item{background:#262627 !important;border-radius:16px !important;}
.mfn-cart-holder .mfn-ch-row *{background-color:transparent;}
.mfn-cart-holder .mfn-ch-row .quantity{background:#1f1f1f !important;}
.mfn-cart-holder a:not(.button){color:#eea521 !important;}
.mfn-cart-holder h1,.mfn-cart-holder h2,.mfn-cart-holder h3,.mfn-cart-holder h4,.mfn-cart-holder h5,.mfn-cart-holder h6{color:#fff !important;}
.mfn-cart-holder dl,.mfn-cart-holder dt,.mfn-cart-holder dd,.mfn-cart-holder dd p,.mfn-cart-holder [class*="price"],.mfn-cart-holder p{color:#bdbdbd !important;}
.mfn-cart-holder .amount,.mfn-cart-holder bdi{color:#eea521 !important;}
.mfn-cart-holder [class*="remove"],.mfn-cart-holder [class*="remove"] *{color:#9a9a9a !important;fill:#9a9a9a;}
.mfn-cart-holder [class*="remove"]:hover,.mfn-cart-holder [class*="remove"]:hover *{color:#ff8a7d !important;fill:#ff8a7d;}
.mfn-cart-holder .mfn-ch-footer,.mfn-cart-holder [class*="ch-footer"]{background:#161617 !important;box-shadow:0 -20px 40px rgba(0,0,0,.35) !important;}
.mfn-cart-holder .mfn-ch-footer *{color:#ddd !important;}
.mfn-cart-holder .mfn-ch-footer .amount,.mfn-cart-holder .mfn-ch-footer bdi{color:#fff !important;}
.mfn-cart-holder .mfn-ch-footer [class*="total"] .amount,.mfn-cart-holder .mfn-ch-footer [class*="total"] bdi{color:#eea521 !important;}
.mfn-cart-holder .mfn-ch-footer a:not(.button){color:#eea521 !important;}
.mfn-cart-holder .button,.mfn-cart-holder a.button,.mfn-cart-holder .checkout{background:#eea521 !important;border-color:#eea521 !important;color:#232324 !important;border-radius:12px !important;}
.mfn-cart-holder .button *,.mfn-cart-holder a.button *{color:#232324 !important;}
.mfn-cart-holder input[type="text"]:not(.qty),.mfn-cart-holder input.input-text:not(.qty){background:#1f1f1f !important;color:#fff !important;border:1.5px solid #3a3a3a !important;border-radius:12px !important;}
.mfn-cart-holder [class*="empty"]{color:#ddd !important;}


/* the number, when BeTheme wraps it in its own box */
.woocommerce .quantity > :not(input):has(input),.mfn-cart-holder .quantity > :not(input):has(input),body.bms-shop .quantity > :not(input):has(input){order:1 !important;flex:0 0 50px;width:50px !important;cursor:text;}
.woocommerce .quantity input.qty,.mfn-cart-holder .quantity input.qty,body.bms-shop .quantity input.qty,
.woocommerce .quantity input[type="number"],.mfn-cart-holder .quantity input[type="number"],body.bms-shop .quantity input[type="number"]{
  width:100% !important;min-width:34px;height:100% !important;min-height:46px;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;
  color:#fff !important;-webkit-text-fill-color:#fff !important;opacity:1 !important;visibility:visible !important;text-indent:0 !important;font-size:16px !important;font-weight:800;text-align:center !important;line-height:1 !important;}
.woocommerce .quantity > input.qty,.mfn-cart-holder .quantity > input.qty,body.bms-shop .quantity > input.qty{flex:0 0 50px;width:50px !important;}

/* quantity number always white, whatever box it sits in (side basket, cart, product page) */
input.qty,input.qty:focus,input[name*="qty"],input[name*="quantity"],
[class*="quantity"] input[type="number"],[class*="quantity"] input[type="text"],[class*="qty"] input[type="number"],[class*="qty"] input[type="text"]{
  color:#fff !important;-webkit-text-fill-color:#fff !important;opacity:1 !important;visibility:visible !important;text-indent:0 !important;
  background-color:transparent !important;font-weight:800 !important;text-align:center !important;}
/* side basket: options under each item */
.mfn-cart-holder dl.variation{display:flex !important;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:4px 0 0 !important;font-size:13px;}
.mfn-cart-holder dl.variation dt,.mfn-cart-holder dl.variation dd{margin:0 !important;padding:0 !important;width:auto !important;min-width:0 !important;flex:0 0 auto;float:none !important;clear:none !important;}
.mfn-cart-holder dl.variation dd p{margin:0 !important;display:inline;}
.mfn-cart-holder dl.variation dd:not(:last-child)::after{content:"·";margin-left:6px;color:#eea521;}

/* side basket: the always-visible quantity number (added by bm-shop-global.js) */
.mfn-chp-quantity .quantity > .bms-qty-val,.mfn-cart-holder .quantity > .bms-qty-val{
  order:1 !important;display:flex !important;align-items:center;justify-content:center;flex:0 0 46px !important;width:46px !important;min-height:46px;
  color:#fff !important;-webkit-text-fill-color:#fff !important;font-size:16px !important;font-weight:800 !important;line-height:1 !important;cursor:default;background:transparent !important;}
html body .quantity input.bms-qty-src.bms-qty-src,html body .quantity .bms-qty-src.bms-qty-src{
  position:absolute !important;left:0 !important;top:0 !important;width:1px !important;height:1px !important;min-height:0 !important;opacity:0 !important;overflow:hidden !important;pointer-events:none !important;flex:none !important;padding:0 !important;border:0 !important;}
.mfn-chp-quantity .quantity{display:inline-flex !important;align-items:stretch !important;}
.mfn-chp-quantity .quantity > label{position:absolute !important;width:1px !important;height:1px !important;overflow:hidden;clip:rect(0 0 0 0);}
