/* =========================================================
   BOOKMYBARCODE CHECKOUT EXPERIENCE v1.2
   Light / sharp / readable / responsive
========================================================= */

.bmb-ce,
.bmb-ce *{box-sizing:border-box}

.bmb-ce{
    --bmb-navy:#071d45;
    --bmb-dark:#03142f;
    --bmb-blue:#0866e8;
    --bmb-cyan:#20a8ff;
    --bmb-text:#425168;
    --bmb-muted:#6f7d90;
    --bmb-line:#dbe4ee;
    --bmb-soft:#f5f8fc;
    --bmb-white:#fff;
    width:100%;
    margin:0;
    padding:52px 20px 72px;
    background:#f7faff;
    color:var(--bmb-text);
    font-family:"IBM Plex Sans",Arial,sans-serif;
    font-size:16px;
    line-height:1.5;
}

.bmb-ce a{text-decoration:none}
.bmb-ce button,.bmb-ce input,.bmb-ce select,.bmb-ce textarea{font:inherit}

.bmb-ce-head,
.bmb-ce-form,
.bmb-ce > .woocommerce,
.bmb-ce-empty-card{width:100%;max-width:1350px;margin-left:auto;margin-right:auto}

/* HEADER */
.bmb-ce-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:28px}
.bmb-ce-head-copy{max-width:720px}
.bmb-ce-kicker{display:flex;align-items:center;gap:9px;margin:0 0 9px;color:var(--bmb-blue);font-family:"Manrope",sans-serif;font-size:13px;font-weight:600;letter-spacing:1.05px;text-transform:uppercase}
.bmb-ce-kicker span{width:28px;height:2px;background:var(--bmb-blue);display:block}
.bmb-ce-head h1{margin:0;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:44px;line-height:1.08;font-weight:600;letter-spacing:-1px}
.bmb-ce-head p{margin:10px 0 0;font-size:17px;line-height:1.55;color:var(--bmb-text)}
.bmb-ce-trust-row{display:flex;align-items:center;gap:0;border:1px solid var(--bmb-line);background:#fff}
.bmb-ce-trust-row>div{min-height:58px;padding:0 17px;display:flex;align-items:center;gap:9px;color:var(--bmb-navy);font-size:14px;font-weight:500;white-space:nowrap;border-right:1px solid var(--bmb-line)}
.bmb-ce-trust-row>div:last-child{border-right:0}
.bmb-ce-trust-row i{color:var(--bmb-blue);font-size:14px}

/* WOOCOMMERCE NOTICES */
.bmb-ce .woocommerce-notices-wrapper,
.bmb-ce .woocommerce-NoticeGroup,
.bmb-ce .woocommerce-NoticeGroup-checkout{max-width:1350px;margin:0 auto 18px!important}
.bmb-ce .woocommerce-error,
.bmb-ce .woocommerce-message,
.bmb-ce .woocommerce-info{
    position:relative!important;
    margin:0 0 14px!important;
    padding:15px 18px 15px 48px!important;
    list-style:none!important;
    border:1px solid var(--bmb-line)!important;
    border-left:4px solid var(--bmb-blue)!important;
    border-radius:0!important;
    background:#fff!important;
    color:var(--bmb-navy)!important;
    font-size:14.5px!important;
    line-height:1.55!important;
    box-shadow:none!important;
}
.bmb-ce .woocommerce-error{border-left-color:#d34242!important}
.bmb-ce .woocommerce-error::before,
.bmb-ce .woocommerce-message::before,
.bmb-ce .woocommerce-info::before{top:16px!important;left:18px!important;color:var(--bmb-blue)!important}
.bmb-ce .woocommerce-error::before{color:#d34242!important}
.bmb-ce .woocommerce-error li{margin:3px 0!important}
.bmb-ce .woocommerce-error li::marker{content:""}
.bmb-ce .woocommerce-message .button,
.bmb-ce .woocommerce-info .button{display:none!important}
.bmb-ce .woocommerce-form-login,
.bmb-ce .woocommerce-form-coupon{max-width:1350px;margin:0 auto 16px!important;border:1px solid var(--bmb-line)!important;border-radius:0!important;background:#fff!important;padding:18px!important}

/* LAYOUT */
.bmb-ce-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(450px,.74fr);gap:20px;align-items:start}
.bmb-ce-panel,.bmb-ce-summary-inner,.bmb-ce-help-card{background:#fff;border:1px solid var(--bmb-line)}
.bmb-ce-details-panel{padding:30px}
.bmb-ce-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;padding-bottom:21px;margin-bottom:24px;border-bottom:1px solid var(--bmb-line)}
.bmb-ce-panel-head>div,.bmb-ce-summary-title-row>div{display:flex;align-items:center;gap:11px}
.bmb-ce-step{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:var(--bmb-navy);color:#fff;font-family:"Manrope",sans-serif;font-size:12px;font-weight:600}
.bmb-ce-panel-head h2,.bmb-ce-summary-title-row h2{margin:0;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:23px;line-height:1.2;font-weight:600}
.bmb-ce-panel-head p{max-width:300px;margin:3px 0 0;color:var(--bmb-muted);font-size:14px;line-height:1.45;text-align:right}

/* CUSTOMER FIELDS */
.bmb-ce-fields-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px}
.bmb-ce-fields-heading h3,
.bmb-ce .woocommerce-billing-fields>h3,
.bmb-ce .woocommerce-shipping-fields>h3,
.bmb-ce .bmb-ce-account-fields>h3,
.bmb-ce .bmb-ce-required-order-fields h3{margin:0;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:19px;line-height:1.3;font-weight:600}
.bmb-ce-fields-heading p{margin:0;color:var(--bmb-muted);font-size:13.5px;line-height:1.45}
.bmb-ce .woocommerce-billing-fields__field-wrapper,
.bmb-ce .woocommerce-shipping-fields__field-wrapper,
.bmb-ce .woocommerce-additional-fields__field-wrapper,
.bmb-ce .bmb-ce-account-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 13px}
.bmb-ce .form-row{width:auto!important;margin:0!important;padding:0!important;float:none!important}
.bmb-ce .form-row-wide,
.bmb-ce .address-field,
.bmb-ce #billing_country_field,
.bmb-ce #billing_address_1_field,
.bmb-ce #billing_address_2_field,
.bmb-ce #billing_email_field,
.bmb-ce #billing_phone_field,
.bmb-ce #shipping_country_field,
.bmb-ce #shipping_address_1_field,
.bmb-ce #shipping_address_2_field,
.bmb-ce #order_comments_field{grid-column:1/-1}
.bmb-ce .form-row label{display:block;margin:0 0 7px;color:var(--bmb-navy);font-size:14px;line-height:1.35;font-weight:600}
.bmb-ce .form-row .required{color:#d93025}
.bmb-ce .input-text,
.bmb-ce input[type="text"],
.bmb-ce input[type="email"],
.bmb-ce input[type="tel"],
.bmb-ce input[type="number"],
.bmb-ce input[type="password"],
.bmb-ce select,
.bmb-ce textarea,
.bmb-ce .select2-container .select2-selection--single{width:100%;min-height:52px!important;padding:0 14px!important;border:1px solid #c7d4e2!important;border-radius:0!important;background:#fff!important;color:var(--bmb-navy)!important;box-shadow:none!important;font-size:15px!important;outline:none!important}
.bmb-ce textarea{padding:13px!important;min-height:96px!important;resize:vertical}
.bmb-ce .input-text:focus,.bmb-ce input:focus,.bmb-ce select:focus,.bmb-ce textarea:focus,.bmb-ce .select2-container--open .select2-selection--single{border-color:var(--bmb-blue)!important}
.bmb-ce .select2-container{width:100%!important}
.bmb-ce .select2-selection__rendered{line-height:50px!important;padding-left:0!important;color:var(--bmb-navy)!important;font-size:15px!important}
.bmb-ce .select2-selection__arrow{height:50px!important}
.bmb-ce .bmb-ce-account-fields,
.bmb-ce .woocommerce-shipping-fields,
.bmb-ce .bmb-ce-required-order-fields{margin-top:25px;padding-top:23px;border-top:1px solid var(--bmb-line)}
.bmb-ce .bmb-ce-account-fields>h3{margin-bottom:15px}
.bmb-ce .bmb-ce-account-fields>h3 span{margin-left:6px;color:var(--bmb-muted);font-family:"IBM Plex Sans",sans-serif;font-size:12px;font-weight:500}
.bmb-ce #ship-to-different-address{margin:0 0 17px!important;font-size:15px!important}
.bmb-ce #ship-to-different-address label{display:flex;align-items:center;gap:8px;color:var(--bmb-navy);font-size:15px;font-weight:600}
.bmb-ce #ship-to-different-address-checkbox{width:17px!important;height:17px!important;min-height:17px!important}

/* HELP STRIP */
.bmb-ce-help-card{margin-top:15px;padding:17px 18px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px}
.bmb-ce-help-icon{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#edf5ff;color:var(--bmb-blue);font-size:16px}
.bmb-ce-help-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.bmb-ce-help-copy strong{color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:15px;font-weight:600}
.bmb-ce-help-copy span{color:var(--bmb-muted);font-size:13.5px}
.bmb-ce-help-actions{display:flex;align-items:center;gap:7px}
.bmb-ce-help-actions a{min-height:41px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--bmb-line);color:var(--bmb-navy);background:#fff;font-size:13px;font-weight:600}
.bmb-ce-help-actions a:hover{border-color:var(--bmb-blue);color:var(--bmb-blue)}

/* SUMMARY */
.bmb-ce-summary{position:relative}
.bmb-ce-summary-inner{position:sticky;top:110px;padding:24px}
.bmb-ce-summary-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:19px;margin-bottom:2px;border-bottom:1px solid var(--bmb-line)}
.bmb-ce-add-more{min-height:42px;padding:0 14px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--bmb-blue);border-radius:0;background:#fff;color:var(--bmb-blue);font-size:13px;font-weight:600;cursor:pointer}
.bmb-ce-add-more:hover{background:var(--bmb-blue);color:#fff}

/* CART ITEMS */
.bmb-ce-cart-list{display:flex;flex-direction:column}
.bmb-ce-cart-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--bmb-line)}
.bmb-ce-cart-image{width:76px;height:76px;padding:5px;background:var(--bmb-soft);border:1px solid var(--bmb-line);overflow:hidden}
.bmb-ce-cart-image img{width:100%;height:100%;object-fit:contain;display:block}
.bmb-ce-cart-copy{min-width:0}
.bmb-ce-cart-name{display:block;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:14.5px;line-height:1.4;font-weight:600}
.bmb-ce-cart-name:hover{color:var(--bmb-blue)}
.bmb-ce-cart-price{margin-top:6px;color:var(--bmb-text);font-size:14.5px;font-weight:500}
.bmb-ce-cart-controls{display:flex;align-items:center;gap:7px}
.bmb-ce-qty{display:grid;grid-template-columns:34px 42px 34px;height:38px;border:1px solid #cbd7e4;background:#fff}
.bmb-ce-qty button{padding:0;border:0;background:#f7faff;color:var(--bmb-navy);cursor:pointer;font-size:11px}
.bmb-ce-qty button:hover{background:#edf5ff;color:var(--bmb-blue)}
.bmb-ce-qty input{width:42px!important;min-height:36px!important;height:36px!important;padding:0!important;border:0!important;border-left:1px solid var(--bmb-line)!important;border-right:1px solid var(--bmb-line)!important;text-align:center!important;font-size:13.5px!important;font-weight:600!important;-moz-appearance:textfield}
.bmb-ce-qty input::-webkit-outer-spin-button,.bmb-ce-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.bmb-ce-remove{width:38px;height:38px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--bmb-line);background:#fff;color:#8290a2;cursor:pointer;font-size:12px}
.bmb-ce-remove:hover{border-color:#df5d5d;color:#c43d3d}
.bmb-ce-cart-item.is-loading{opacity:.5;pointer-events:none}
.bmb-ce-cart-empty{padding:30px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--bmb-muted)}
.bmb-ce-cart-empty i{margin-bottom:10px;color:var(--bmb-blue);font-size:25px}
.bmb-ce-cart-empty strong{color:var(--bmb-navy);font-size:16px}
.bmb-ce-cart-empty span{margin-top:4px;font-size:13px}

/* ORDER TOTALS */
.bmb-ce-order-totals{margin:22px 0 0;padding:0;border-top:1px solid var(--bmb-line);border-bottom:1px solid var(--bmb-line);background:#fff}
.bmb-ce-totals-head{padding:17px 0 9px;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:16px;font-weight:600}
.bmb-ce-total-row{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--bmb-text);font-size:14.5px;line-height:1.35}
.bmb-ce-total-row>span{font-weight:400}
.bmb-ce-total-row>strong{color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:15px;font-weight:600;text-align:right}
.bmb-ce-discount-row>strong{color:#168454}
.bmb-ce-grand-total{min-height:66px;margin-top:4px;border-top:1px solid var(--bmb-line)}
.bmb-ce-grand-total>span{color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:18px;font-weight:600}
.bmb-ce-grand-total>strong{color:var(--bmb-navy);font-size:25px;font-weight:700}

/* Native WooCommerce review table stays in the DOM for compatibility, but the
   checkout shows the cleaner totals component above instead. */
.bmb-ce-native-review{margin-top:0}
.bmb-ce-native-review .woocommerce-checkout-review-order-table{display:none!important}

/* PAYMENT HEADER */
.bmb-ce-payment-head{margin-top:20px;padding-top:20px;display:flex;align-items:flex-end;justify-content:space-between;gap:15px;border-top:1px solid var(--bmb-line)}
.bmb-ce-payment-head>div{display:flex;align-items:center;gap:10px}
.bmb-ce-payment-head h3{margin:0;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:20px;line-height:1.2;font-weight:600}
.bmb-ce-payment-head p{margin:0;color:var(--bmb-muted);font-size:13.5px;line-height:1.45;text-align:right}

/* PAYMENT */
.bmb-ce #payment{margin-top:14px!important;padding-top:0!important;border-top:0!important;background:transparent!important;border-radius:0!important}
.bmb-ce #payment ul.payment_methods{padding:0!important;margin:0!important;border:0!important;list-style:none!important}
.bmb-ce #payment ul.payment_methods li{padding:0 0 13px!important;margin:0!important;list-style:none!important}
.bmb-ce #payment ul.payment_methods li>label{color:var(--bmb-navy);font-size:14.5px;font-weight:600}
.bmb-ce #payment input.input-radio{margin-right:7px!important}
.bmb-ce #payment div.payment_box{margin:10px 0 14px!important;padding:13px 14px!important;border-radius:0!important;background:#f4f8fc!important;color:var(--bmb-text)!important;font-size:13.5px!important;line-height:1.55!important}
.bmb-ce #payment div.form-row{padding:0!important;margin:0!important}
.bmb-ce #payment #place_order{width:100%!important;min-height:57px!important;padding:0 19px!important;border:1px solid var(--bmb-blue)!important;border-radius:0!important;background:var(--bmb-blue)!important;color:#fff!important;font-family:"Manrope",sans-serif!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important;text-transform:none!important}
.bmb-ce #payment #place_order:hover{background:var(--bmb-navy)!important;border-color:var(--bmb-navy)!important}
.bmb-ce #payment .woocommerce-privacy-policy-text,.bmb-ce #payment .woocommerce-terms-and-conditions-wrapper{font-size:12.5px;line-height:1.55;color:var(--bmb-muted)}
.bmb-ce #payment .woocommerce-privacy-policy-text a,.bmb-ce #payment .woocommerce-terms-and-conditions-wrapper a{color:var(--bmb-blue)}
.bmb-ce .woocommerce-no-available-payment-methods-message{font-size:14px!important;line-height:1.55!important;color:var(--bmb-text)!important}

/* MODAL */
.bmb-ce-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:20px}
.bmb-ce-modal.is-open{display:flex}
.bmb-ce-modal-backdrop{position:absolute;inset:0;background:rgba(3,20,47,.62);backdrop-filter:blur(2px)}
.bmb-ce-modal-dialog{position:relative;z-index:2;width:min(860px,100%);max-height:min(84vh,780px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--bmb-line);box-shadow:0 30px 80px rgba(3,20,47,.28)}
.bmb-ce-modal-head{padding:23px 23px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--bmb-line)}
.bmb-ce-modal-head .bmb-ce-kicker{font-size:11px;margin-bottom:6px}
.bmb-ce-modal-head h2{margin:0;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:25px;line-height:1.2;font-weight:600}
.bmb-ce-modal-head p{margin:6px 0 0;color:var(--bmb-muted);font-size:14px}
.bmb-ce-modal-close{width:42px;height:42px;padding:0;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--bmb-line);color:var(--bmb-navy);cursor:pointer}
.bmb-ce-modal-close:hover{background:var(--bmb-navy);border-color:var(--bmb-navy);color:#fff}
.bmb-ce-product-tools{padding:15px 23px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--bmb-line);background:#f9fbfe}
.bmb-ce-search{position:relative;display:block;flex:1;max-width:380px}
.bmb-ce-search i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--bmb-muted);font-size:13px}
.bmb-ce-search input{width:100%!important;height:44px!important;min-height:44px!important;padding:0 13px 0 37px!important;border:1px solid var(--bmb-line)!important;border-radius:0!important;background:#fff!important;font-size:14px!important}
.bmb-ce-filter-tabs{display:flex;align-items:center;gap:0;border:1px solid var(--bmb-line);background:#fff}
.bmb-ce-filter-tabs button{min-height:42px;padding:0 13px;border:0;border-right:1px solid var(--bmb-line);background:#fff;color:var(--bmb-text);font-size:12.5px;font-weight:600;cursor:pointer}
.bmb-ce-filter-tabs button:last-child{border-right:0}
.bmb-ce-filter-tabs button.is-active{background:var(--bmb-navy);color:#fff}
.bmb-ce-products-grid{padding:17px 23px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:auto;overscroll-behavior:contain}
.bmb-ce-product-card{min-width:0;min-height:108px;padding:11px;display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--bmb-line);background:#fff}
.bmb-ce-product-card.is-hidden{display:none}
.bmb-ce-product-image{width:82px;height:82px;padding:5px;display:flex;align-items:center;justify-content:center;background:var(--bmb-soft);overflow:hidden}
.bmb-ce-product-image img{width:100%;height:100%;object-fit:contain}
.bmb-ce-product-info{min-width:0}
.bmb-ce-product-info h3{margin:0;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:14px;line-height:1.4;font-weight:600}
.bmb-ce-product-price{margin-top:6px;color:var(--bmb-blue);font-size:14.5px;font-weight:600}
.bmb-ce-product-add{min-width:68px;min-height:39px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--bmb-blue);border-radius:0;background:#fff;color:var(--bmb-blue);font-size:12px;font-weight:600;cursor:pointer}
.bmb-ce-product-add:hover{background:var(--bmb-blue);color:#fff}
.bmb-ce-product-add.is-loading{opacity:.5;pointer-events:none}
.bmb-ce-product-add.is-added{background:#eaf7ef;border-color:#59a970;color:#2e7d45}
.bmb-ce-product-options{min-width:82px}
.bmb-ce-modal-foot{padding:14px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--bmb-line);background:#f9fbfe}
.bmb-ce-modal-foot span{color:var(--bmb-muted);font-size:12.5px}
.bmb-ce-modal-foot span i{margin-right:5px;color:var(--bmb-blue)}
.bmb-ce-modal-foot button{min-height:41px;padding:0 17px;border:0;background:var(--bmb-navy);color:#fff;font-size:12.5px;font-weight:600;cursor:pointer}
body.bmb-ce-modal-open{overflow:hidden}

/* EMPTY */
.bmb-ce-empty{min-height:55vh;display:flex;align-items:center}
.bmb-ce-empty-card{max-width:650px!important;padding:44px 26px;text-align:center;background:#fff;border:1px solid var(--bmb-line)}
.bmb-ce-empty-card>i{font-size:36px;color:var(--bmb-blue)}
.bmb-ce-empty-card h2{margin:15px 0 7px;color:var(--bmb-navy);font-family:"Manrope",sans-serif;font-size:28px;font-weight:600}
.bmb-ce-empty-card p{margin:0 0 20px;color:var(--bmb-text);font-size:15px}
.bmb-ce-empty-card a{min-height:48px;padding:0 18px;display:inline-flex;align-items:center;gap:8px;background:var(--bmb-blue);color:#fff;font-size:14px;font-weight:600}

/* Remove theme checkout layout interference */
.bmb-ce .col2-set,.bmb-ce .woocommerce-billing-fields,.bmb-ce .woocommerce-shipping-fields,.bmb-ce .woocommerce-additional-fields{width:100%!important;float:none!important}
.bmb-ce #order_review_heading{display:none!important}

@media(max-width:1100px){
    .bmb-ce{padding:46px 18px 62px}
    .bmb-ce-head{align-items:flex-start}
    .bmb-ce-trust-row{display:grid;grid-template-columns:1fr}
    .bmb-ce-trust-row>div{min-height:41px;border-right:0;border-bottom:1px solid var(--bmb-line)}
    .bmb-ce-trust-row>div:last-child{border-bottom:0}
    .bmb-ce-layout{grid-template-columns:minmax(0,1fr) minmax(400px,.78fr)}
    .bmb-ce-details-panel{padding:25px}
    .bmb-ce-help-card{grid-template-columns:44px 1fr}
    .bmb-ce-help-actions{grid-column:1/-1;margin-left:58px}
}

@media(max-width:850px){
    .bmb-ce-head{display:block}
    .bmb-ce-head h1{font-size:38px}
    .bmb-ce-trust-row{margin-top:20px;grid-template-columns:repeat(3,1fr)}
    .bmb-ce-trust-row>div{border-bottom:0;border-right:1px solid var(--bmb-line)}
    .bmb-ce-layout{grid-template-columns:1fr}
    .bmb-ce-summary{grid-row:1}
    .bmb-ce-summary-inner{position:static}
}

@media(max-width:767px){
    .bmb-ce{padding:32px 15px 50px;font-size:15px}
    .bmb-ce-head{margin-bottom:20px}
    .bmb-ce-kicker{font-size:12px}
    .bmb-ce-head h1{font-size:33px;line-height:1.13}
    .bmb-ce-head p{font-size:15px}
    .bmb-ce-trust-row{margin-top:16px;grid-template-columns:1fr 1fr}
    .bmb-ce-trust-row>div{min-height:47px;padding:0 11px;font-size:13px}
    .bmb-ce-trust-row>div:nth-child(3){display:none}
    .bmb-ce-panel-head{display:block;margin-bottom:19px;padding-bottom:17px}
    .bmb-ce-panel-head>div{margin-bottom:7px}
    .bmb-ce-panel-head h2,.bmb-ce-summary-title-row h2{font-size:20px}
    .bmb-ce-panel-head p{max-width:none;text-align:left;font-size:13px}
    .bmb-ce-details-panel{padding:20px 17px}
    .bmb-ce-fields-heading{display:block;margin-bottom:16px}
    .bmb-ce-fields-heading h3,.bmb-ce .bmb-ce-account-fields>h3,.bmb-ce .bmb-ce-required-order-fields h3{font-size:18px}
    .bmb-ce-fields-heading p{margin-top:4px;font-size:13px}
    .bmb-ce .woocommerce-billing-fields__field-wrapper,.bmb-ce .woocommerce-shipping-fields__field-wrapper,.bmb-ce .woocommerce-additional-fields__field-wrapper,.bmb-ce .bmb-ce-account-fields-grid{grid-template-columns:1fr;gap:13px}
    .bmb-ce .form-row{grid-column:1!important}
    .bmb-ce .form-row label{font-size:13.5px}
    .bmb-ce .input-text,.bmb-ce input[type="text"],.bmb-ce input[type="email"],.bmb-ce input[type="tel"],.bmb-ce input[type="number"],.bmb-ce input[type="password"],.bmb-ce select,.bmb-ce textarea,.bmb-ce .select2-container .select2-selection--single{min-height:50px!important;font-size:15px!important}
    .bmb-ce-summary-inner{padding:18px 15px}
    .bmb-ce-summary-title-row{padding-bottom:15px}
    .bmb-ce-add-more{min-height:39px;padding:0 10px;font-size:12.5px}
    .bmb-ce-cart-item{grid-template-columns:64px minmax(0,1fr);gap:11px;padding:14px 0}
    .bmb-ce-cart-image{width:64px;height:64px}
    .bmb-ce-cart-name{font-size:14px}
    .bmb-ce-cart-price{font-size:14px}
    .bmb-ce-cart-controls{grid-column:2;justify-content:flex-start;margin-top:-1px}
    .bmb-ce-qty{grid-template-columns:32px 40px 32px;height:37px}
    .bmb-ce-qty input{width:40px!important;height:35px!important;min-height:35px!important;font-size:13px!important}
    .bmb-ce-remove{width:37px;height:37px}
    .bmb-ce-help-card{padding:15px;grid-template-columns:40px 1fr}
    .bmb-ce-help-icon{width:40px;height:40px}
    .bmb-ce-help-copy strong{font-size:14px}
    .bmb-ce-help-copy span{font-size:13px}
    .bmb-ce-help-actions{margin-left:53px;display:grid;grid-template-columns:repeat(3,1fr);width:calc(100% - 53px)}
    .bmb-ce-help-actions a{justify-content:center;padding:0 7px;font-size:12px}
    .bmb-ce-order-totals{margin-top:18px}
    .bmb-ce-totals-head{padding-top:15px;font-size:16px}
    .bmb-ce-total-row{min-height:42px;font-size:14px}
    .bmb-ce-total-row>strong{font-size:14.5px}
    .bmb-ce-grand-total{min-height:61px}
    .bmb-ce-grand-total>span{font-size:17px}
    .bmb-ce-grand-total>strong{font-size:23px}
    .bmb-ce-payment-head{display:block;margin-top:18px;padding-top:18px}
    .bmb-ce-payment-head>div{margin-bottom:5px}
    .bmb-ce-payment-head h3{font-size:18px}
    .bmb-ce-payment-head p{text-align:left;font-size:12.5px}
    .bmb-ce #payment ul.payment_methods li>label{font-size:14px}
    .bmb-ce #payment div.payment_box{font-size:13px!important}
    .bmb-ce #payment #place_order{min-height:54px!important;font-size:14.5px!important}
    .bmb-ce #payment .woocommerce-privacy-policy-text,.bmb-ce #payment .woocommerce-terms-and-conditions-wrapper{font-size:12px}
    .bmb-ce-modal{padding:10px}
    .bmb-ce-modal-dialog{max-height:89vh}
    .bmb-ce-modal-head{padding:18px 16px 14px}
    .bmb-ce-modal-head h2{font-size:22px}
    .bmb-ce-modal-head p{font-size:13px}
    .bmb-ce-product-tools{padding:12px 16px;display:block}
    .bmb-ce-search{max-width:none;margin-bottom:9px}
    .bmb-ce-search input{font-size:13.5px!important}
    .bmb-ce-filter-tabs{width:100%}
    .bmb-ce-filter-tabs button{flex:1;padding:0 7px;font-size:12px}
    .bmb-ce-products-grid{padding:13px 16px;grid-template-columns:1fr;gap:8px}
    .bmb-ce-product-card{grid-template-columns:68px minmax(0,1fr) auto;min-height:92px;padding:9px}
    .bmb-ce-product-image{width:68px;height:68px}
    .bmb-ce-product-info h3{font-size:13.5px}
    .bmb-ce-product-price{font-size:14px}
    .bmb-ce-product-add{font-size:12.5px}
    .bmb-ce-modal-foot{padding:11px 16px}
    .bmb-ce-modal-foot span{font-size:12px}
}

@media(max-width:420px){
    .bmb-ce{padding-left:13px;padding-right:13px}
    .bmb-ce-head h1{font-size:30px}
    .bmb-ce-trust-row>div{font-size:12.5px}
    .bmb-ce-add-more{padding:0 9px}
    .bmb-ce-help-actions{grid-template-columns:1fr 1fr;margin-left:0;width:100%}
    .bmb-ce-help-actions a:last-child{grid-column:1/-1}
    .bmb-ce-product-add{min-width:60px}
    .bmb-ce-modal-foot span{display:none}
    .bmb-ce-modal-foot{justify-content:flex-end}
}
