.bgs-order-selector{width:100%;min-width:0;color:inherit;font:inherit;font-variant-numeric:tabular-nums}
.bgs-order-selector [hidden],.bgs-order-form--b2b>.quantity,.bgs-order-form--d2c>.quantity{display:none!important}
.bgs-order-form--b2b{display:flex!important;flex-wrap:wrap!important;gap:14px!important}
.bgs-order-form--b2b>.single_add_to_cart_button{width:100%!important;margin:0!important}
.bgs-order-form--d2c{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:start;gap:8px!important}
.bgs-order-form--d2c>.bgs-order-selector{grid-column:1/-1;grid-row:1}
.bgs-order-form--d2c>.single_add_to_cart_button{grid-column:1/-1;grid-row:2;margin:0!important;width:100%!important;min-height:46px}
.bgs-order-selector__units{display:flex;gap:0;border:1px solid #8b8172;border-radius:24px;overflow:hidden;margin:0 0 18px;padding:3px}
.bgs-order-selector__units button{flex:1;min-width:0;min-height:42px;padding:8px 10px;border:0;border-radius:22px;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:1.25;font-weight:600;cursor:pointer}
.bgs-order-selector__units button[aria-pressed=true]{background:#302214;color:#fff}
.bgs-order-selector__units button:hover:not([aria-pressed=true]){background:#e5e0d3}
.bgs-order-selector__label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:14px}
.bgs-order-selector__label label{font-weight:600}
.bgs-order-selector__label span{font-size:12px}
.bgs-order-selector__counter{display:flex;width:100%;min-width:0;min-height:46px;align-items:center;border:1px solid #8b8172;border-radius:24px;overflow:hidden}
.bgs-order-selector__counter button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;cursor:pointer}
.bgs-order-selector__counter svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.bgs-order-selector__counter button:hover:enabled{background:#e5e0d3}
.bgs-order-selector__counter button:disabled{color:#857f72;cursor:default;opacity:.65}
.bgs-order-selector__counter output{flex:1;min-width:0;text-align:center;font-size:20px;font-weight:600;line-height:1.3;padding:6px 2px;overflow-wrap:anywhere}
.bgs-order-selector.is-d2c .bgs-order-selector__counter button{flex-basis:36px}
.bgs-order-selector.is-d2c .bgs-order-selector__counter output{font-size:16px;font-weight:400}
.bgs-order-selector__help{font-size:12px;line-height:1.5;margin:8px 0 0!important}
.bgs-order-selector__summary{display:flex;gap:0;margin:18px 0 0!important;padding:14px 0;border-top:1px solid #c4bdaf;border-bottom:1px solid #c4bdaf}
.bgs-order-selector__summary>div{flex:1;min-width:0;padding:0 10px;text-align:center}
.bgs-order-selector__summary>div+div{border-left:1px solid #c4bdaf}
.bgs-order-selector__summary dt{font-size:12px;line-height:1.4;margin:0 0 5px}
.bgs-order-selector__summary dd{font-size:20px;font-weight:600;line-height:1.3;margin:0;overflow-wrap:anywhere}
.bgs-order-selector__total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-top:14px;font-size:14px}
.bgs-order-selector__total strong{font-size:23px;font-weight:600;text-align:right}
.bgs-order-selector.is-d2c{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:end}
.bgs-order-selector.is-d2c .bgs-order-selector__selection{grid-column:1;grid-row:1}
.bgs-order-selector.is-d2c .bgs-order-selector__counter{width:112px;max-width:100%}
.bgs-order-selector.is-d2c .bgs-order-selector__total{grid-column:2;grid-row:1;min-height:46px;padding:0;flex-direction:column;justify-content:center;align-items:flex-end;gap:0}
.bgs-order-selector.is-d2c .bgs-order-selector__total>span{font-size:12px}
.bgs-order-selector.is-d2c .bgs-order-selector__message{grid-column:1/-1}
.bgs-order-selector__message:empty{display:none}
.bgs-order-selector__message{margin:10px 0 0!important;font-size:13px;line-height:1.5}
.bgs-order-selector button:focus-visible{outline:2px solid #302214;outline-offset:-4px}
.bgs-order-form--b2b>.single_add_to_cart_button:disabled,.bgs-order-form--d2c>.single_add_to_cart_button:disabled{opacity:.55;cursor:default}
@media(max-width:480px){.bgs-order-selector__units button{padding:8px 5px;font-size:13px}.bgs-order-selector__summary>div{padding:0 5px}.bgs-order-selector__summary dd{font-size:18px}.bgs-order-selector__summary dt{font-size:11px}.bgs-order-selector__label{gap:8px}.bgs-order-selector__label span{font-size:11px}}

/* The existing Elementor template uses !important cart/button rules. Keep
   this adapter inside the purchase component, preserving the rest of the page. */
body .bgs-product-template .bgs-purchase form.cart.bgs-order-form--d2c{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important}
body .bgs-product-template .bgs-purchase form.cart.bgs-order-form--b2b{display:flex!important;flex-wrap:wrap!important}
body .bgs-product-template .bgs-purchase form.cart[class*="bgs-order-form--"] .quantity[hidden]{display:none!important}
body .bgs-product-template .bgs-purchase form.cart[class*="bgs-order-form--"] .single_add_to_cart_button{width:100%!important;min-height:46px!important;margin:0!important;white-space:normal}
body .bgs-product-template .bgs-purchase .bgs-order-selector button{min-width:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;font:inherit!important;color:#302214!important;border:0!important}
body .bgs-product-template .bgs-purchase .bgs-order-selector__counter button{width:44px!important;height:44px!important;min-height:44px!important;flex:0 0 44px!important;padding:0!important;border-radius:0!important;background:transparent!important}
body .bgs-product-template .bgs-purchase .is-d2c .bgs-order-selector__counter button{width:36px!important;flex-basis:36px!important}
body .bgs-product-template .bgs-purchase .bgs-order-selector__counter button:disabled{color:#857f72!important}
body .bgs-product-template .bgs-purchase .bgs-order-selector__units button{flex:1!important;padding:8px 10px!important;min-height:42px!important;border-radius:22px!important;background:transparent!important;font-size:14px!important;line-height:1.25!important;font-weight:600!important}
body .bgs-product-template .bgs-purchase .bgs-order-selector__units button[aria-pressed=true]{background:#302214!important;color:#fff!important}
body .bgs-product-template .bgs-purchase .bgs-order-selector button:hover:enabled:not([aria-pressed=true]){background:#e5e0d3!important}
body .bgs-product-template .bgs-purchase .bgs-order-selector svg{fill:none!important;stroke:currentColor!important;color:inherit!important;width:18px!important;height:18px!important}
@media(max-width:480px){body .bgs-product-template .bgs-purchase .bgs-order-selector__units button{padding:8px 5px!important;font-size:13px!important}}
