/* Merricks Basket Styling 0.1.0: navy #0b2638, crimson #b51f2b. Styling only. */

/* ---- Notices: navy card, green tick circle, white text, crimson Undo ----
   These rules only target our own .mbs-notice markup and out-rank the theme's notice styling. */
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b){
 display:flex!important;align-items:center!important;gap:14px!important;box-sizing:border-box!important;
 background:#0b2638!important;color:#fff!important;border:0!important;border-radius:14px!important;
 padding:14px 18px!important;margin:0 0 12px!important;min-height:0!important;
 box-shadow:0 16px 48px rgba(11,38,56,.35)!important;
 font-size:15px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;
}
/* Remove the theme's own icon block / arrows on these notices. */
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b)::before,html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b)::after{content:none!important;display:none!important;}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) .mbs-notice-icon{
 display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;
 border-radius:50%!important;background:#16803c!important;color:#fff!important;font-size:20px!important;font-weight:800!important;line-height:1!important;
}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b).mbs-notice-info .mbs-notice-icon{background:#3b7ea8!important;font-style:italic!important;font-family:Georgia,serif!important;}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b).mbs-notice-error .mbs-notice-icon,html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) .mbs-notice-error .mbs-notice-icon{background:#b51f2b!important;}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) .mbs-notice-text{display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px 14px!important;min-width:0!important;color:#fff!important;}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) .mbs-notice-text *{color:#fff!important;}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a:not(.restore-item):not(.button){color:#fff!important;text-decoration:underline!important;}
/* Buttons inside notices (e.g. "View basket") and the crimson Undo button. */
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.button,html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.restore-item,html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.wc-forward{
 display:inline-block!important;flex:0 0 auto!important;margin:0!important;padding:8px 16px!important;
 background:#b51f2b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;border-radius:7px!important;box-shadow:none!important;
 font-size:12px!important;font-weight:800!important;letter-spacing:.05em!important;text-transform:uppercase!important;text-decoration:none!important;white-space:nowrap!important;
}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.button:hover,html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.restore-item:hover,html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.wc-forward:hover{background:#8f1822!important;}
html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.restore-item::after,html body .mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b) a.restore-item::before{content:none!important;display:none!important;}
/* Error notices are a list: one row per message. */
html body ul.mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b){display:block!important;list-style:none!important;padding:8px 18px!important;}
html body ul.mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b)>li{display:flex!important;align-items:center!important;gap:14px!important;margin:0!important;padding:8px 0!important;list-style:none!important;color:#fff!important;}
html body ul.mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b)>li::marker{content:""!important;font-size:0!important;}
html body ul.mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b)>li::before,html body ul.mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b)>li::after{content:none!important;display:none!important;}
html body ul.mbs-notice.mbs-notice:not(#mbs-a):not(#mbs-b)>li .mbs-notice-text{flex:1 1 auto!important;min-width:0!important;color:#fff!important;}

/* ---- Basket page ---- */
body.woocommerce-cart .shop_table.cart .product-name a{color:#0b2638!important;font-weight:700!important;text-decoration:none!important;}
body.woocommerce-cart .shop_table.cart .amount{color:#0b2638!important;font-weight:700!important;}

/* Remove control: a round button with ONE cross that we draw ourselves (theme glyphs hidden). */
body.woocommerce-cart .shop_table.cart a.remove{
 display:inline-block!important;width:36px!important;height:36px!important;border-radius:50%!important;
 background-color:#eef1f4!important;color:transparent!important;font-size:0!important;line-height:0!important;text-indent:0!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b2638' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E")!important;
 background-repeat:no-repeat!important;background-position:center!important;background-size:14px!important;
 transition:background-color .15s!important;
}
body.woocommerce-cart .shop_table.cart a.remove::before,body.woocommerce-cart .shop_table.cart a.remove::after{content:none!important;display:none!important;}
body.woocommerce-cart .shop_table.cart a.remove:hover{
 background-color:#b51f2b!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E")!important;
}

/* Quantity stepper (buttons are added by basket.js). */
body.woocommerce-cart .quantity.mbs-qty{
 display:inline-flex!important;align-items:stretch!important;height:44px!important;
 background:#fff!important;border:1px solid #d5d8dd!important;border-radius:8px!important;overflow:hidden!important;
 margin:0!important;padding:0!important;float:none!important;
}
body.woocommerce-cart .quantity.mbs-qty input.qty{
 box-sizing:border-box!important;width:52px!important;height:100%!important;min-width:0!important;
 border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
 text-align:center!important;font-size:16px!important;font-weight:700!important;color:#0b2638!important;
 padding:0!important;margin:0!important;-moz-appearance:textfield!important;appearance:textfield!important;
}
body.woocommerce-cart .quantity.mbs-qty input.qty::-webkit-inner-spin-button,
body.woocommerce-cart .quantity.mbs-qty input.qty::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important;}
body.woocommerce-cart .quantity.mbs-qty button.mbs-minus,body.woocommerce-cart .quantity.mbs-qty button.mbs-plus{
 flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:100%!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;background:#0b2638!important;color:#fff!important;
 font-size:20px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;
}
body.woocommerce-cart .quantity.mbs-qty button.mbs-minus:hover,body.woocommerce-cart .quantity.mbs-qty button.mbs-plus:hover{background:#16405d!important;}

/* Totals: crimson checkout button; accents in crimson. */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
 background:#b51f2b!important;color:#fff!important;border-radius:7px!important;box-shadow:none!important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#8f1822!important;}
body.woocommerce-cart .shipping-calculator-button{color:#b51f2b!important;}
body.woocommerce-cart .cart_totals input[type=radio]{accent-color:#b51f2b;}

/* Empty basket: crimson "Return to shop". */
body.woocommerce-cart .return-to-shop a.button,body.woocommerce-cart .return-to-shop a.wc-backward{
 background:#b51f2b!important;color:#fff!important;border-radius:7px!important;font-weight:800!important;box-shadow:none!important;
}
body.woocommerce-cart .return-to-shop a.button:hover{background:#8f1822!important;}

/* ---- v0.2: layout, bigger subtotals, shipping dropdown, international quote ---- */

/* Bigger subtotals in the totals panel and on each basket line. */
body.woocommerce-cart .cart_totals th{font-size:14px!important;font-weight:800!important;color:#0b2638!important;}
body.woocommerce-cart .cart_totals tr.cart-subtotal td,body.woocommerce-cart .cart_totals tr.cart-subtotal .amount{font-size:22px!important;font-weight:800!important;color:#0b2638!important;}
body.woocommerce-cart .cart_totals tr.order-total td>strong,body.woocommerce-cart .cart_totals tr.order-total td>strong .amount{font-size:32px!important;font-weight:800!important;color:#0b2638!important;}
body.woocommerce-cart .shop_table.cart td.product-subtotal,body.woocommerce-cart .shop_table.cart td.product-subtotal .amount{font-size:20px!important;font-weight:800!important;color:#0b2638!important;}

/* Basket lines as clean cards (desktop). Phones keep the theme's stacked layout. */
@media(min-width:992px){
 body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart,
 body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart tbody{display:block!important;width:100%!important;border:0!important;}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table.cart thead{display:none!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item{
  display:grid!important;grid-template-columns:44px 96px minmax(0,1fr) 92px 150px 104px!important;
  align-items:center!important;column-gap:16px!important;
  padding:14px 16px!important;margin:0 0 12px!important;
  background:#fff!important;border:1px solid #e0e3e6!important;border-radius:14px!important;
 }
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item>td{display:block!important;border:0!important;padding:0!important;width:auto!important;min-width:0!important;background:none!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-thumbnail img{display:block!important;width:96px!important;height:96px!important;object-fit:contain!important;border-radius:8px!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-name{font-size:17px!important;line-height:1.3!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-price{color:#65717c!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-subtotal{text-align:right!important;}
 body.woocommerce-cart .woocommerce-cart-form td.actions{display:block!important;background:#f5f6f7!important;border:1px solid #e0e3e6!important;border-radius:14px!important;padding:12px 16px!important;}
}

/* Totals panel as a card matching the product cards. */
body.woocommerce-cart .cart_totals{border-radius:14px!important;}

/* Shipping: radios replaced by a dropdown (built by basket.js; the radios stay in the page, hidden). */
body.woocommerce-cart ul.mbs-has-select{display:none!important;}
body.woocommerce-cart select.mbs-ship-select{
 box-sizing:border-box!important;display:block!important;width:100%!important;height:46px!important;margin:0 0 10px!important;
 padding:0 38px 0 12px!important;font-size:15px!important;font-weight:700!important;color:#0b2638!important;
 background-color:#fff!important;border:1px solid #aab1b8!important;border-radius:7px!important;
 -webkit-appearance:none!important;appearance:none!important;cursor:pointer!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b2638' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
 background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:15px!important;
}

/* International quote button. */
body.woocommerce-cart tr.mbs-quote-row td{padding-top:6px!important;border:0!important;}
body.woocommerce-cart .mbs-quote-note{display:block!important;margin:0 0 6px!important;font-size:13px!important;color:#65717c!important;}
body.woocommerce-cart a.mbs-quote-btn{
 display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-height:46px!important;
 padding:10px 14px!important;background:#fff!important;color:#0b2638!important;border:2px solid #0b2638!important;border-radius:7px!important;
 font-size:13px!important;font-weight:800!important;letter-spacing:.04em!important;text-transform:uppercase!important;text-decoration:none!important;text-align:center!important;
}
body.woocommerce-cart a.mbs-quote-btn:hover{background:#0b2638!important;color:#fff!important;}

/* ---- v0.3 ---- */

/* Header row above the basket lines, same grey as the totals panel (#f2f2f2). Desktop only. */
body.woocommerce-cart .mbs-cart-head{display:none;}
@media(min-width:992px){
 body.woocommerce-cart .mbs-cart-head{
  display:grid!important;grid-template-columns:44px 96px minmax(0,1fr) 92px 150px 104px;column-gap:16px;align-items:center;
  box-sizing:border-box;padding:13px 17px;margin:0 0 12px;background:#f2f2f2;border-radius:14px;
  font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#0b2638;
 }
 body.woocommerce-cart .mbs-cart-head .mbs-h-items{grid-column:2 / span 2;}
 body.woocommerce-cart .mbs-cart-head .mbs-h-price{grid-column:4;}
 body.woocommerce-cart .mbs-cart-head .mbs-h-qty{grid-column:5;}
 body.woocommerce-cart .mbs-cart-head .mbs-h-sub{grid-column:6;text-align:right;}
 /* Totals panel nudged to the right, away from the basket lines. */
 body.woocommerce-cart .cart-collaterals{position:relative!important;left:clamp(0px,3vw,48px)!important;}
}

/* The coupon now lives in the totals panel, so the old coupon row under the lines is hidden. */
body.woocommerce-cart .woocommerce-cart-form tr:has(> td.actions){display:none!important;}

/* Totals panel: labels left, amounts right. */
body.woocommerce-cart .cart_totals td{text-align:right!important;}
body.woocommerce-cart .cart_totals tr.shipping td,body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td,body.woocommerce-cart .cart_totals tr.mbs-quote-row td,body.woocommerce-cart .cart_totals tr.mbs-coupon-row td{text-align:left!important;}

/* Coupon box. */
body.woocommerce-cart .mbs-coupon{display:flex!important;gap:8px!important;width:100%!important;}
body.woocommerce-cart .mbs-coupon input.mbs-coupon-input{
 flex:1 1 auto!important;min-width:0!important;box-sizing:border-box!important;height:46px!important;margin:0!important;padding:0 12px!important;
 background:#fff!important;border:1px solid #aab1b8!important;border-radius:7px!important;box-shadow:none!important;
 font-size:15px!important;color:#0b2638!important;
}
body.woocommerce-cart .mbs-coupon button.mbs-coupon-apply{
 flex:0 0 auto!important;height:46px!important;margin:0!important;padding:0 20px!important;background:#0b2638!important;color:#fff!important;
 border:0!important;border-radius:7px!important;box-shadow:none!important;font-size:13px!important;font-weight:800!important;letter-spacing:.04em!important;
 text-transform:uppercase!important;cursor:pointer!important;
}
body.woocommerce-cart .mbs-coupon button.mbs-coupon-apply:hover{background:#16405d!important;}

/* Breakdown rows: Items, Shipping (then Total). */
body.woocommerce-cart .cart_totals tr.mbs-sum-row th{font-size:14px!important;font-weight:700!important;}
body.woocommerce-cart .cart_totals tr.mbs-sum-row td,body.woocommerce-cart .cart_totals tr.mbs-sum-row td .amount{font-size:18px!important;font-weight:800!important;color:#0b2638!important;}

/* Small print under the total: ONE line. */
body.woocommerce-cart .cart_totals .mbs-tax-note{display:block!important;margin-top:4px!important;white-space:nowrap!important;text-align:right!important;}
body.woocommerce-cart .cart_totals .mbs-tax-note,body.woocommerce-cart .cart_totals .mbs-tax-note *{display:inline!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;color:#65717c!important;white-space:nowrap!important;}
body.woocommerce-cart .cart_totals .mbs-tax-note{display:block!important;}

/* ---- v0.4 ---- */

/* "Qty" centred over the number in the stepper (stepper is 132px wide: 40 + 52 + 40). */
@media(min-width:992px){
 body.woocommerce-cart .mbs-cart-head .mbs-h-qty{grid-column:5;width:132px;justify-self:start;text-align:center;}
}

/* Basket Totals title: centred and bigger. */
body.woocommerce-cart .cart_totals>h2,body.woocommerce-cart .cart_totals>h3,body.woocommerce-cart .cart_totals .cart_totals_title{
 text-align:center!important;font-size:22px!important;font-weight:800!important;letter-spacing:.08em!important;color:#0b2638!important;
}

/* "Continue shopping" / "Return to shop": one centred navy button at the bottom of the page (placed by basket.js). */
body.woocommerce-cart .mbs-continue-wrap{clear:both!important;display:flex!important;justify-content:center!important;width:100%!important;padding:44px 0 24px!important;}
body.woocommerce-cart .mbs-continue-wrap a.mbs-continue-btn{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-height:52px!important;
 padding:0 40px!important;margin:0!important;background:#0b2638!important;color:#fff!important;border:0!important;border-radius:7px!important;box-shadow:none!important;
 font-size:14px!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important;text-decoration:none!important;
}
body.woocommerce-cart .mbs-continue-wrap a.mbs-continue-btn:hover{background:#16405d!important;}

/* ---- v0.5 ---- */

/* Click & Collect selected: "Shipping to ..." and "Change address" are not needed. Pure CSS, reacts instantly. */
body.woocommerce-cart .cart_totals:has(input.shipping_method[value^="local_pickup"]:checked) .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals:has(input.shipping_method[value^="local_pickup"]:checked) .shipping-calculator-button,
body.woocommerce-cart .cart_totals:has(input.shipping_method[value^="local_pickup"]:checked) .woocommerce-shipping-calculator,
body.woocommerce-cart .cart_totals:has(input.shipping_method[value^="pickup_location"]:checked) .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals:has(input.shipping_method[value^="pickup_location"]:checked) .shipping-calculator-button,
body.woocommerce-cart .cart_totals:has(input.shipping_method[value^="pickup_location"]:checked) .woocommerce-shipping-calculator{display:none!important;}

/* Continue shopping button: undo any positioning the theme gives that link. */
body.woocommerce-cart .mbs-continue-wrap a.mbs-continue-btn{position:static!important;float:none!important;width:auto!important;transform:none!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.woocommerce-cart .mbs-continue-wrap a.mbs-continue-btn *{color:#fff!important;-webkit-text-fill-color:#fff!important;}

/* ---- v0.7: "Shipping to ..." and "Change address" are removed from the basket (checkout covers them). ---- */
body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .shipping-calculator-button,
body.woocommerce-cart .cart_totals .woocommerce-shipping-calculator,
body.woocommerce-cart .cart_totals form.woocommerce-shipping-calculator{display:none!important;}

/* Theme pop-up toast is hidden (see basket.js killToasts) */
.mbs-kill{display:none!important;}

/* ---- v0.9.7: totals panel on phones: words left, numbers right, no stray colons ---- */
body.woocommerce-cart .cart_totals td::before,
body.woocommerce-cart .cart_totals td::after{content:none!important;display:none!important;}
@media(max-width:991px){
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal,
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-discount,
 body.woocommerce-cart .cart_totals table.shop_table tr.fee,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-total,
 body.woocommerce-cart .cart_totals table.shop_table tr.mbs-sum-row,
 body.woocommerce-cart .cart_totals table.shop_table tr.order-total{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:14px!important;}
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal th,
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-discount th,
 body.woocommerce-cart .cart_totals table.shop_table tr.fee th,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate th,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-total th,
 body.woocommerce-cart .cart_totals table.shop_table tr.mbs-sum-row th,
 body.woocommerce-cart .cart_totals table.shop_table tr.order-total th{display:block!important;width:auto!important;flex:0 0 auto!important;text-align:left!important;margin:0!important;padding:0!important;font-size:14px!important;font-weight:800!important;text-transform:uppercase!important;color:#0b2638!important;}
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal th::after,
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-discount th::after,
 body.woocommerce-cart .cart_totals table.shop_table tr.fee th::after,
 body.woocommerce-cart .cart_totals table.shop_table tr.mbs-sum-row th::after,
 body.woocommerce-cart .cart_totals table.shop_table tr.order-total th::after{content:none!important;display:none!important;}
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td,
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-discount td,
 body.woocommerce-cart .cart_totals table.shop_table tr.fee td,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate td,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-total td,
 body.woocommerce-cart .cart_totals table.shop_table tr.mbs-sum-row td,
 body.woocommerce-cart .cart_totals table.shop_table tr.order-total td{display:block!important;width:auto!important;flex:1 1 auto!important;margin:0!important;padding:0!important;text-align:right!important;}
 /* the shipping, coupon and quote rows stack: label/field/button full width, left aligned */
 body.woocommerce-cart .cart_totals table.shop_table tr.shipping th,
 body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals th{text-align:left!important;}
 body.woocommerce-cart .cart_totals table.shop_table tr.shipping th::after,
 body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals th::after{content:none!important;display:none!important;}
}
/* "Shipping outside Ireland?" - left aligned and easy to notice, above the quote button */
body.woocommerce-cart .cart_totals tr.mbs-quote-row td{text-align:left!important;}
body.woocommerce-cart .cart_totals .mbs-quote-note{display:block!important;margin:0 0 8px!important;padding:0!important;text-align:left!important;color:#0b2638!important;font-size:16px!important;font-weight:800!important;line-height:1.3!important;}
@media(max-width:991px){
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal,
 body.woocommerce-cart .cart_totals table.shop_table tr.mbs-sum-row,
 body.woocommerce-cart .cart_totals table.shop_table tr.order-total{padding:8px 0!important;}
 body.woocommerce-cart .cart_totals table.shop_table tr.shipping th,
 body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals th{padding:6px 0 8px!important;font-size:14px!important;font-weight:800!important;text-transform:uppercase!important;color:#0b2638!important;}
}

/* ---- v0.9.7: international quote button on ONE line on every phone; roomier shipping drop-down ---- */
body.woocommerce-cart .cart_totals a.mbs-quote-btn{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;white-space:nowrap!important;padding-left:6px!important;padding-right:6px!important;
 font-size:clamp(10.5px,3.4vw,14px)!important;letter-spacing:.02em!important;text-align:center!important;
}
body.woocommerce-cart .cart_totals select{padding-right:44px!important;text-overflow:ellipsis!important;}

/* ---- v0.9.7: phone totals, rebuilt as a two-column grid so labels sit left and prices sit on the right edge ---- */
@media(max-width:991px){
 /* price rows: label | price, one line, price flush right (same edge as the Apply button) */
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal,
 body.woocommerce-cart .cart_totals table.shop_table tr.cart-discount,
 body.woocommerce-cart .cart_totals table.shop_table tr.fee,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-rate,
 body.woocommerce-cart .cart_totals table.shop_table tr.tax-total,
 body.woocommerce-cart .cart_totals table.shop_table tr.mbs-sum-row,
 body.woocommerce-cart .cart_totals table.shop_table tr.order-total{
  display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;column-gap:14px!important;
  box-sizing:border-box!important;width:100%!important;margin:0!important;padding:9px 0!important;border:0!important;background:none!important;
 }
 body.woocommerce-cart .cart_totals table.shop_table tr.order-total{border-top:1px solid #d3d8dd!important;margin-top:8px!important;padding-top:18px!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.cart-discount,tr.fee,tr.tax-rate,tr.tax-total,tr.mbs-sum-row,tr.order-total) :is(th,td){
  display:block!important;position:static!important;float:none!important;inset:auto!important;transform:none!important;
  width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
 }
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.cart-discount,tr.fee,tr.tax-rate,tr.tax-total,tr.mbs-sum-row,tr.order-total) :is(th,td)::before,
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.cart-discount,tr.fee,tr.tax-rate,tr.tax-total,tr.mbs-sum-row,tr.order-total) :is(th,td)::after{content:none!important;display:none!important;border:0!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.cart-discount,tr.fee,tr.tax-rate,tr.tax-total,tr.mbs-sum-row,tr.order-total) th{grid-column:1!important;justify-self:start!important;text-align:left!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.cart-discount,tr.fee,tr.tax-rate,tr.tax-total,tr.mbs-sum-row,tr.order-total) td{grid-column:2!important;justify-self:end!important;text-align:right!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.cart-discount,tr.fee,tr.tax-rate,tr.tax-total,tr.mbs-sum-row,tr.order-total) td :is(strong,span.amount,bdi,.woocommerce-Price-amount){float:none!important;margin:0!important;padding:0!important;text-align:right!important;}

 /* shipment: label above the box, left aligned, no side padding */
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals){display:block!important;width:100%!important;margin:0 0 14px!important;padding:0!important;border:0!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals) th{display:block!important;width:100%!important;margin:0 0 8px!important;padding:0!important;border:0!important;text-align:left!important;font-size:14px!important;font-weight:800!important;text-transform:uppercase!important;color:#0b2638!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals) td{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;text-align:left!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals) :is(th,td)::before,
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals) :is(th,td)::after{content:none!important;display:none!important;}

 /* coupon and international quote rows: full width, nothing pushing them right */
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.mbs-coupon-row,tr.mbs-quote-row){display:block!important;width:100%!important;margin:0 0 14px!important;padding:0!important;border:0!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.mbs-coupon-row,tr.mbs-quote-row) td{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;text-align:left!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.mbs-coupon-row,tr.mbs-quote-row) td::before,
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.mbs-coupon-row,tr.mbs-quote-row) td::after{content:none!important;display:none!important;}
 body.woocommerce-cart .cart_totals table.shop_table tr.mbs-quote-row{margin-top:-6px!important;}
 body.woocommerce-cart .cart_totals .mbs-quote-note{display:block!important;margin:0 0 8px!important;padding:0!important;text-align:left!important;white-space:nowrap!important;font-size:clamp(13px,4vw,16px)!important;font-weight:800!important;color:#0b2638!important;}
}
/* arrow of the delivery drop-down sits at the far right, with room for the text */
body.woocommerce-cart .cart_totals select{-webkit-appearance:none!important;appearance:none!important;background-position:right 16px center!important;background-repeat:no-repeat!important;background-size:16px!important;padding-right:46px!important;text-overflow:ellipsis!important;}

/* ---- v0.9.7: same layout as the laptop on phones; arrow at the far right on every screen ---- */
body.woocommerce-cart .cart_totals select,
body.woocommerce-cart .cart_totals .shipping select,
body.woocommerce-cart .cart_totals select.shipping_method{
 -webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;
 background-color:#fff!important;
 background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b2638' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>")!important;
 background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:16px 16px!important;
 padding-right:44px!important;text-overflow:ellipsis!important;
}
@media(max-width:991px){
 /* Shipment: label on the left, drop-down beside it (as on the laptop) */
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals){display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:12px!important;align-items:center!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals) th{width:auto!important;margin:0!important;font-size:12px!important;white-space:nowrap!important;grid-column:1!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals) td{width:auto!important;min-width:0!important;grid-column:2!important;}
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals) select{width:1px!important;min-width:100%!important;max-width:100%!important;font-size:clamp(11.5px,3.3vw,13px)!important;padding-left:10px!important;padding-right:36px!important;background-position:right 10px center!important;}
 /* Coupon and international quote lines indented slightly, like the laptop */
 body.woocommerce-cart .cart_totals table.shop_table :is(tr.mbs-coupon-row,tr.mbs-quote-row) td{padding-left:15px!important;box-sizing:border-box!important;}
}
/* Phones: use the width the page leaves free, so everything fits on one line like the laptop */
@media(max-width:600px){
 body.woocommerce-cart .cart_totals>h2,
 body.woocommerce-cart .cart_totals>table.shop_table,
 body.woocommerce-cart .cart_totals>.wc-proceed-to-checkout{margin-left:-14px!important;margin-right:-14px!important;width:calc(100% + 28px)!important;max-width:none!important;box-sizing:border-box!important;}
 body.woocommerce-cart .cart_totals>table.shop_table{table-layout:fixed!important;}
}

/* ---- v0.9.7: Android/theme overrides (higher specificity) ---- */
html body.woocommerce-cart .cart_totals table.shop_table td::before,
html body.woocommerce-cart .cart_totals table.shop_table td::after,
html body.woocommerce-cart .cart_totals table.shop_table th::before,
html body.woocommerce-cart .cart_totals table.shop_table th::after{display:none!important;content:none!important;}
html body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.mbs-sum-row,tr.order-total) :is(td,td *,.amount,bdi){
 white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;letter-spacing:normal!important;}
html body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.mbs-sum-row,tr.order-total) td{
 display:block!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important;margin:0!important;text-align:right!important;justify-self:end!important;}
html body.woocommerce-cart .cart_totals table.shop_table :is(tr.cart-subtotal,tr.mbs-sum-row,tr.order-total) th{
 display:block!important;width:auto!important;padding:0!important;text-align:left!important;justify-self:start!important;white-space:nowrap!important;}
html body.woocommerce-cart .cart_totals table.shop_table tr.order-total td :is(.mbs-tax-note,small){display:block!important;width:100%!important;text-align:right!important;margin:4px 0 0!important;padding:0!important;font-size:12px!important;white-space:nowrap!important;}
/* quote + coupon lines: left aligned, one line, inside the panel */
html body.woocommerce-cart .cart_totals table.shop_table tr.mbs-quote-row td{display:block!important;text-align:left!important;padding-left:15px!important;padding-right:0!important;width:100%!important;box-sizing:border-box!important;}
html body.woocommerce-cart .cart_totals table.shop_table tr.mbs-quote-row .mbs-quote-note{display:block!important;text-align:left!important;white-space:nowrap!important;font-size:clamp(12px,3.7vw,15px)!important;margin:0 0 8px!important;padding:0!important;}
html body.woocommerce-cart .cart_totals table.shop_table tr.mbs-quote-row .mbs-quote-btn{display:block!important;width:100%!important;box-sizing:border-box!important;white-space:nowrap!important;text-align:center!important;}
/* drop-down: arrow at the far right, text never under it */
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping td select,
html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals td select{
 -webkit-appearance:none!important;appearance:none!important;
 background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b2638' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center / 16px 16px!important;
 padding:0 40px 0 12px!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;}
html body.woocommerce-cart .cart_totals table.shop_table tr.shipping td,
html body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals td{position:relative;}

/* ---- v0.9.7: a touch more vertical space around coupon / delivery / quote rows ---- */
html body.woocommerce-cart .cart_totals table.shop_table tr.mbs-coupon-row td{padding-top:12px!important;padding-bottom:12px!important;}
html body.woocommerce-cart .cart_totals table.shop_table :is(tr.shipping,tr.woocommerce-shipping-totals){padding-top:10px!important;padding-bottom:10px!important;}
html body.woocommerce-cart .cart_totals table.shop_table tr.mbs-quote-row td{padding-top:12px!important;padding-bottom:14px!important;}

/* ---- v0.9.7: "Shopping Basket" heading on one line on phones ---- */
@media(max-width:991px){
 html body.woocommerce-cart :is(h1,h1.entry-title,.entry-title,.page-title,.page-title h1){
  font-size:clamp(24px,9vw,44px)!important;line-height:1.15!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;letter-spacing:normal!important;}
}
