/* BeOnline Smart Cart v1.0.3 – iSpot Phones brand.
   Scoped to the WooCommerce classic cart to avoid product/checkout regressions. */
body.woocommerce-cart {
  --bosc-navy:#041e42;
  --bosc-green:#84cc00;
  --bosc-border:#e3e9f0;
  --bosc-muted:#65758c;
  --bosc-radius:12px;
}
/* Replace Vova's generic, unrelated page hero with our own cart heading. */
body.woocommerce-cart #tbay-breadcrumb { display:none !important; }
body.woocommerce-cart #main-container {padding-top:30px;padding-bottom:54px;}
body.woocommerce-cart .woocommerce-cart-form.bosc-cart-form {margin:0; color:var(--bosc-navy);}
body.woocommerce-cart .bosc-cart-header {margin:0 0 24px;}
body.woocommerce-cart .bosc-breadcrumb {display:flex;gap:10px;align-items:center;color:var(--bosc-muted);font-size:13px;margin-bottom:16px;}
body.woocommerce-cart .bosc-breadcrumb a {color:var(--bosc-navy);text-decoration:none;}
body.woocommerce-cart .bosc-cart-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;}
body.woocommerce-cart .bosc-cart-heading h1 {font-size:30px;line-height:1.2;font-weight:800;color:var(--bosc-navy);margin:0 0 5px;}
body.woocommerce-cart .bosc-cart-heading p {margin:0;color:var(--bosc-muted);font-size:13px;}
body.woocommerce-cart .bosc-steps {display:flex;align-items:center;gap:16px;font-size:12px;font-weight:600;white-space:nowrap;color:var(--bosc-muted);}
body.woocommerce-cart .bosc-steps .is-current {color:var(--bosc-green);}
body.woocommerce-cart .bosc-cart-grid {display:grid;grid-template-columns:minmax(0,1.8fr) minmax(295px,1fr);gap:27px;align-items:start;}
body.woocommerce-cart .bosc-products,body.woocommerce-cart .bosc-summary {min-width:0;background:#fff;border:1px solid var(--bosc-border);border-radius:var(--bosc-radius);box-shadow:0 5px 20px rgba(4,30,66,.045);}
body.woocommerce-cart .bosc-products {padding:18px 18px 14px;}
body.woocommerce-cart .bosc-summary {padding:23px 22px;}
body.woocommerce-cart .bosc-summary h2 {color:var(--bosc-navy);font-size:19px;line-height:1.25;font-weight:800;margin:0 0 18px;}
body.woocommerce-cart .bosc-products .shop_table {margin:0!important;width:100%;border:0!important;}
body.woocommerce-cart .bosc-products .cart_item.head,body.woocommerce-cart .bosc-products .cart_item:not(.head) {display:grid!important;grid-template-columns:minmax(170px,3.15fr) minmax(74px,.95fr) minmax(95px,.95fr) minmax(78px,1fr) 28px;gap:12px;align-items:center;clear:none!important;float:none!important;width:100%!important;box-sizing:border-box;}
body.woocommerce-cart .bosc-products .cart_item.head {padding:0 0 12px!important;background:none;color:var(--bosc-muted);font-size:12px;font-weight:600;border-bottom:1px solid var(--bosc-border);}
body.woocommerce-cart .bosc-products .cart_item:not(.head) {padding:20px 0!important;border:0;border-bottom:1px solid var(--bosc-border);}
body.woocommerce-cart .bosc-products .cart_item > div {width:auto!important;min-width:0;max-width:100%;margin:0!important;float:none!important;padding:0!important;border:0!important;}
body.woocommerce-cart .bosc-products .cart_item .product-info {display:flex!important;align-items:center;gap:12px;}
body.woocommerce-cart .bosc-cart-image {width:80px;min-width:80px;height:88px;display:flex;align-items:center;justify-content:center;border:1px solid var(--bosc-border);border-radius:9px;overflow:hidden;background:#fff;}
body.woocommerce-cart .bosc-cart-image a {display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
body.woocommerce-cart .bosc-cart-image img {width:100%!important;max-width:75px!important;height:80px!important;object-fit:contain;margin:0!important;}
body.woocommerce-cart .bosc-products .bosc-product-detail {display:flex!important;align-items:flex-start;flex-direction:column;gap:5px;min-width:0;}
body.woocommerce-cart .bosc-product-detail a.name,body.woocommerce-cart .bosc-product-detail .name {font-weight:800;color:var(--bosc-navy);font-size:13px;line-height:1.5;text-decoration:none;}
body.woocommerce-cart .bosc-item-attributes,body.woocommerce-cart .bosc-item-attributes dl.variation {font-size:11px;line-height:1.6;color:var(--bosc-muted);margin:0!important;}
body.woocommerce-cart .bosc-item-attributes dt,body.woocommerce-cart .bosc-item-attributes dd {display:inline!important;float:none!important;padding:0!important;margin:0 4px 0 0!important;}
body.woocommerce-cart .bosc-item-attributes dt::before {content:' ';}
body.woocommerce-cart .bosc-item-attributes dd p {display:inline;margin:0;}
body.woocommerce-cart .bosc-stock-note {color:#247644;font-size:11px;font-weight:600;}
body.woocommerce-cart .bosc-edit {font-weight:700;color:var(--bosc-navy);font-size:12px;background:#f2f7e7;border:1px solid #d8e9b9;border-radius:6px;padding:5px 9px;cursor:pointer;transition:background .15s ease;line-height:1.3;margin-top:4px;}
body.woocommerce-cart .bosc-edit:hover,body.woocommerce-cart .bosc-edit:focus-visible {background:#e2f5bc;border-color:var(--bosc-green);}
body.woocommerce-cart .bosc-products .product-price,body.woocommerce-cart .bosc-products .product-subtotal {font-size:13px;font-weight:800;color:#398000;white-space:nowrap;}
body.woocommerce-cart .bosc-products .product-price .amount,body.woocommerce-cart .bosc-products .product-subtotal .amount {color:#398000!important;font-weight:800!important;}
body.woocommerce-cart .bosc-products .product-quantity .quantity {display:inline-flex!important;align-items:center;border:1px solid var(--bosc-border);border-radius:7px;max-width:115px;max-height:42px;background:#f8fafc;padding:0;}
body.woocommerce-cart .bosc-products .product-quantity .qty {width:42px!important;max-width:42px!important;height:37px!important;min-height:37px!important;max-height:37px!important;border:0!important;text-align:center;padding:0!important;color:var(--bosc-navy)!important;background:transparent!important;box-shadow:none!important;}
body.woocommerce-cart .bosc-products .product-quantity .plus,body.woocommerce-cart .bosc-products .product-quantity .minus {width:26px!important;min-width:26px!important;height:37px!important;line-height:37px!important;color:var(--bosc-navy)!important;background:transparent!important;border:0!important;padding:0!important;font-size:14px!important;}
body.woocommerce-cart .bosc-products .product-remove a.remove {color:var(--bosc-navy)!important;background:transparent!important;display:inline-flex;align-items:center;justify-content:center;}
body.woocommerce-cart .bosc-cart-actions {display:flex!important;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:18px 0 4px!important;margin:0!important;border:0!important;}
body.woocommerce-cart .bosc-cart-actions .continue-to-shop,body.woocommerce-cart .bosc-cart-actions .update-cart {margin:0!important;float:none!important;}
body.woocommerce-cart .bosc-cart-actions .continue-to-shop a {color:var(--bosc-navy);font-weight:700;text-decoration:underline;text-underline-offset:3px;font-size:12px;background:none!important;padding:0!important;}
body.woocommerce-cart .bosc-cart-actions .update-cart button {font-size:12px!important;border:1px solid var(--bosc-border)!important;border-radius:7px!important;color:var(--bosc-navy)!important;background:#f2f5f8!important;padding:9px 13px!important;line-height:1.35!important;}
body.woocommerce-cart .bosc-cart-actions .update-cart button:disabled {opacity:.5;cursor:not-allowed;}
body.woocommerce-cart .bosc-summary .cart-collaterals {width:100%!important;margin:0!important;padding:0!important;float:none!important;}
body.woocommerce-cart .bosc-summary .cart_totals {width:100%!important;margin:0!important;padding:0!important;float:none!important;border:0!important;}
body.woocommerce-cart .bosc-summary .cart_totals > h2 {display:none!important;}
body.woocommerce-cart .bosc-summary .cart_totals table {width:100%!important;float:none!important;border-collapse:collapse!important;margin:0!important;}
body.woocommerce-cart .bosc-summary .cart_totals th,body.woocommerce-cart .bosc-summary .cart_totals td {padding:11px 4px!important;vertical-align:top;font-size:13px!important;line-height:1.6!important;border:0!important;}
body.woocommerce-cart .bosc-summary .cart_totals tr {border-bottom:1px solid var(--bosc-border)!important;}
body.woocommerce-cart .bosc-summary .cart_totals th {color:var(--bosc-muted)!important;text-align:left!important;font-weight:600!important;}
body.woocommerce-cart .bosc-summary .cart_totals td {text-align:right!important;color:var(--bosc-navy)!important;}
body.woocommerce-cart .bosc-summary .cart_totals .order-total td,body.woocommerce-cart .bosc-summary .cart_totals .order-total .amount {color:#398000!important;font-weight:800!important;font-size:20px!important;}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods {margin:0!important;padding:0!important;list-style:none!important;}
body.woocommerce-cart .bosc-summary .shipping-calculator-button {font-size:12px!important;color:#397800!important;}
body.woocommerce-cart .bosc-shipping {display:flex;align-items:flex-start;gap:10px;padding:12px 13px;background:#f5faec;border:1px solid #dcefc3;border-radius:8px;margin:0 0 16px;color:#294d1c;}
body.woocommerce-cart .bosc-shipping > span {width:22px;height:22px;min-width:22px;border-radius:100%;background:#e0f2cb;color:#377100;text-align:center;line-height:22px;}
body.woocommerce-cart .bosc-shipping p {font-size:12px;line-height:1.55;margin:0;font-weight:600;}
body.woocommerce-cart .bosc-mini-shipping {font-size:12px;line-height:1.5;padding:8px 10px;background:#f5faec;border-radius:7px;}
body.woocommerce-cart .bosc-coupon {border:0!important;border-top:1px solid var(--bosc-border)!important;padding:17px 0!important;margin:18px 0 0!important;float:none!important;width:100%!important;}
body.woocommerce-cart .bosc-coupon label {color:var(--bosc-navy);font-size:13px;font-weight:700;display:block;margin-bottom:8px;}
body.woocommerce-cart .bosc-coupon .box {display:flex!important;gap:6px;align-items:stretch;float:none!important;width:100%!important;}
body.woocommerce-cart .bosc-coupon input {min-width:0;flex:1;width:100%!important;margin:0!important;padding:8px 10px!important;height:42px!important;border:1px solid var(--bosc-border)!important;border-radius:7px!important;background:#fff!important;font-size:12px!important;}
body.woocommerce-cart .bosc-coupon button {padding:0 13px!important;margin:0!important;min-width:68px!important;height:42px!important;border-radius:7px!important;background:var(--bosc-navy)!important;color:#fff!important;font-size:12px!important;font-weight:700!important;}
body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout {width:100%!important;float:none!important;margin:16px 0 0!important;padding:0!important;}
body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout a.checkout-button,body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout .button.checkout {display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:48px!important;white-space:normal;text-align:center;border-radius:8px!important;padding:12px!important;margin:0 0 10px!important;background:var(--bosc-navy)!important;color:#fff!important;font-weight:800!important;font-size:13px!important;}
body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout a.checkout-button:hover {background:#0b325e!important;}
body.woocommerce-cart .bosc-summary .payment-request-button,body.woocommerce-cart .bosc-summary .wc-stripe-payment-request-button {max-width:100%;}
body.woocommerce-cart .bosc-secure {text-align:center;color:var(--bosc-muted);font-size:11px;line-height:1.6;margin:12px 0 0;}
body.woocommerce-cart :is(.bosc-edit,.bosc-save,.bosc-cancel,.bosc-cart-actions a,.bosc-coupon button):focus-visible {outline:3px solid #9fcf48;outline-offset:3px;}
/* Cart modal: native selects preserve complex attribute names and reduce swatch ambiguity. */
.bosc-modal[hidden] {display:none!important;}
body.bosc-modal-open {overflow:hidden;}
.bosc-modal {position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;}
.bosc-modal__backdrop {position:absolute;inset:0;background:rgba(4,30,66,.66);}
.bosc-modal__panel {position:relative;z-index:1;display:flex;flex-direction:column;width:min(100%,510px);max-height:calc(100vh - 40px);overflow:hidden;background:#fff;color:#041e42;border-radius:14px;box-shadow:0 22px 70px rgba(0,0,0,.21);outline:none;}
.bosc-modal__heading {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 25px 14px;border-bottom:1px solid #e3e9f0;}
.bosc-modal__heading h2 {margin:0;font-size:21px;line-height:1.25;color:#041e42;font-weight:800;}
.bosc-modal__close {background:transparent!important;color:#041e42!important;border:0!important;font-size:26px!important;padding:0 4px!important;line-height:1.2!important;cursor:pointer;}
.bosc-modal__body {overflow:auto;padding:19px 25px;}
.bosc-edit-product-name {font-size:15px;font-weight:800;color:#041e42;margin:0 0 16px;}
.bosc-field {margin-bottom:16px;}
.bosc-field label {display:block;font-size:13px;font-weight:700;color:#041e42;margin:0 0 7px;}
.bosc-field select {display:block;box-sizing:border-box;width:100%!important;min-height:43px!important;border:1px solid #ccd7e4!important;border-radius:8px!important;padding:8px 12px!important;background:#fff!important;color:#041e42!important;}
.bosc-field select:focus {outline:2px solid #84cc00;outline-offset:1px;}
.bosc-modal__status {padding:11px 12px;font-size:12px;line-height:1.6;border-radius:7px;background:#f5faec;color:#345a15;min-height:36px;}
.bosc-modal__status.is-error {background:#fff0ee;color:#af1c19;}
.bosc-modal__status strong {display:block;}
.bosc-modal-price {font-size:22px;color:#387b00;font-weight:800;margin-top:6px;}
.bosc-modal__footer {display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:14px 25px 22px;border-top:1px solid #e3e9f0;}
.bosc-modal__footer button {margin:0!important;min-height:43px!important;padding:9px 18px!important;border-radius:8px!important;font-size:13px!important;font-weight:800!important;line-height:1.4!important;}
.bosc-cancel {background:#f4f7fa!important;color:#041e42!important;border:1px solid #dde5ed!important;}
.bosc-save {background:#041e42!important;color:#fff!important;border:1px solid #041e42!important;}
.bosc-save:disabled {opacity:.45;cursor:not-allowed;}
@media (max-width:1100px) {
 body.woocommerce-cart .bosc-cart-grid {grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:17px;}
 body.woocommerce-cart .bosc-products {padding:13px;}
 body.woocommerce-cart .bosc-products .cart_item.head,body.woocommerce-cart .bosc-products .cart_item:not(.head) {grid-template-columns:minmax(140px,2.5fr) minmax(65px,.95fr) minmax(90px,1fr) minmax(70px,.95fr) 22px;gap:8px;}
 body.woocommerce-cart .bosc-cart-image {width:65px;min-width:65px;height:74px;}
 body.woocommerce-cart .bosc-cart-image img {height:67px!important;}
}
@media (max-width:900px) {
 body.woocommerce-cart .bosc-cart-grid {grid-template-columns:1fr;}
 body.woocommerce-cart .bosc-products,body.woocommerce-cart .bosc-summary {padding:17px;}
 body.woocommerce-cart .bosc-cart-heading h1 {font-size:26px;}
}
@media (max-width:620px) {
 body.woocommerce-cart #main-container {padding-top:20px;padding-bottom:35px;}
 body.woocommerce-cart .bosc-steps {display:none;}
 body.woocommerce-cart .bosc-cart-heading h1 {font-size:24px;}
 body.woocommerce-cart .bosc-products,body.woocommerce-cart .bosc-summary {padding:14px;}
 body.woocommerce-cart .bosc-products .cart_item.head {display:none!important;}
 body.woocommerce-cart .bosc-products .cart_item:not(.head) {display:grid!important;grid-template-columns:1fr 1fr 28px!important;gap:12px!important;padding:18px 0!important;}
 body.woocommerce-cart .bosc-products .cart_item .product-info {grid-column:1 / -1;}
 body.woocommerce-cart .bosc-products .cart_item .product-price {grid-column:1;}
 body.woocommerce-cart .bosc-products .cart_item .product-quantity {grid-column:2;}
 body.woocommerce-cart .bosc-products .cart_item .product-subtotal {grid-column:1 / 3;}
 body.woocommerce-cart .bosc-products .cart_item .product-remove {grid-column:3;grid-row:2 / span 2;justify-self:end;}
 body.woocommerce-cart .bosc-products .cart_item > .product-price:before,body.woocommerce-cart .bosc-products .cart_item > .product-quantity:before,body.woocommerce-cart .bosc-products .cart_item > .product-subtotal:before {content:attr(data-title);display:block!important;color:#65758c!important;font-size:11px!important;font-weight:600!important;margin:0 0 5px;}
 body.woocommerce-cart .bosc-cart-actions {align-items:flex-start;}
 body.woocommerce-cart .bosc-cart-image {width:78px;min-width:78px;height:85px;}
 body.woocommerce-cart .bosc-cart-image img {height:77px!important;}
 .bosc-modal {padding:12px;}
 .bosc-modal__panel {max-height:calc(100vh - 24px);}
 .bosc-modal__heading,.bosc-modal__body,.bosc-modal__footer {padding-left:17px;padding-right:17px;}
}

/* v1.0.1 — cart polish: keep all WooCommerce and Stripe nodes in their
   original DOM positions; only reorder visual presentation in the sidebar. */
body.woocommerce-cart .bosc-summary {
  display:flex!important;
  flex-direction:column;
}
body.woocommerce-cart .bosc-summary > h2 {order:0;}
body.woocommerce-cart .bosc-summary > .bosc-shipping {order:1;}
body.woocommerce-cart .bosc-summary > .cart-collaterals,
body.woocommerce-cart .bosc-summary .cart_totals {display:contents!important;}
body.woocommerce-cart .bosc-summary .cart_totals > h2 {display:none!important;}
body.woocommerce-cart .bosc-summary .cart_totals > table {order:2;width:100%!important;}
body.woocommerce-cart .bosc-summary > .bosc-coupon {order:3;margin-top:15px!important;}
body.woocommerce-cart .bosc-summary > .wc-proceed-to-checkout {order:4;margin-top:12px!important;}
body.woocommerce-cart .bosc-summary > .bosc-express-divider {order:5;}
body.woocommerce-cart .bosc-summary .cart_totals > .wc-proceed-to-checkout {
  order:6;
  margin:0!important;
  padding:0!important;
  width:100%!important;
}
/* Keep optional payment/after-totals extensions below the normal checkout. */
body.woocommerce-cart .bosc-summary .cart_totals > :not(h2):not(table):not(.wc-proceed-to-checkout) {order:6;}
body.woocommerce-cart .bosc-summary > .bosc-secure {order:7;margin-top:15px;}
body.woocommerce-cart .bosc-express-divider {
  display:none!important;
  align-items:center;
  gap:12px;
  justify-content:center;
  margin:9px 0 12px;
  color:var(--bosc-muted);
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
}
body.woocommerce-cart .bosc-summary.bosc-express-active > .bosc-express-divider {display:flex!important;}
body.woocommerce-cart .bosc-express-divider::before,
body.woocommerce-cart .bosc-express-divider::after {content:"";height:1px;flex:1;background:var(--bosc-border);}
/* Stripe's element remains in its original mount point, with no DOM moves. */
body.woocommerce-cart .bosc-summary .cart_totals > .wc-proceed-to-checkout #wc-stripe-express-checkout-element {width:100%;}

/* The native server-side Update Cart fallback stays in the form but is only
   hidden after our JavaScript detects WooCommerce's AJAX cart controller. */
body.woocommerce-cart.bosc-ajax-cart-enabled .bosc-cart-actions .update-cart {display:none!important;}
body.woocommerce-cart .bosc-cart-actions {padding:16px 0 7px!important;}
body.woocommerce-cart .bosc-cart-actions .continue-to-shop a {
  display:inline-flex!important;
  align-items:center;
  gap:9px;
  min-height:39px;
  padding:9px 13px!important;
  border:1px solid #cfdeed!important;
  border-radius:7px!important;
  color:var(--bosc-navy)!important;
  background:#f9fbfe!important;
  font-weight:800!important;
  line-height:1.3!important;
  text-decoration:none!important;
  transition:border-color .15s ease,background .15s ease;
}
body.woocommerce-cart .bosc-cart-actions .continue-to-shop a::before {content:"\2190";font-size:17px;line-height:1;}
body.woocommerce-cart .bosc-cart-actions .continue-to-shop a:hover {
  border-color:var(--bosc-green)!important;
  background:#f4fae9!important;
}
body.woocommerce-cart .bosc-products .cart_item:not(.head) {row-gap:13px!important;}
body.woocommerce-cart .bosc-products .bosc-product-detail {gap:6px!important;}
body.woocommerce-cart .bosc-products .product-remove a.remove:focus-visible,
body.woocommerce-cart .bosc-cart-actions .continue-to-shop a:focus-visible,
body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout a:focus-visible {outline:3px solid var(--bosc-green)!important;outline-offset:2px;}

/* Only the plain "Cart updated." notice receives this compact style. */
body.woocommerce-cart .woocommerce-message.bosc-compact-notice {
  box-sizing:border-box;
  max-width:390px;
  width:fit-content!important;
  min-height:0!important;
  margin:0 0 19px auto!important;
  padding:12px 17px!important;
  border:1px solid #d7eabe!important;
  border-left:3px solid var(--bosc-green)!important;
  border-radius:8px!important;
  color:var(--bosc-navy)!important;
  background:#f7fbf1!important;
  box-shadow:0 3px 14px rgba(4,30,66,.05);
  font-size:12px!important;
  line-height:1.4!important;
}
body.woocommerce-cart .woocommerce-message.bosc-compact-notice::before {position:static!important;display:inline-block!important;margin-right:8px!important;color:#488400!important;}
@media (max-width:620px) {
  body.woocommerce-cart .woocommerce-message.bosc-compact-notice {max-width:100%;margin-right:0!important;}
  body.woocommerce-cart .bosc-cart-actions .continue-to-shop a {min-height:42px;}
  body.woocommerce-cart .bosc-summary .cart_totals > .wc-proceed-to-checkout {margin-bottom:4px!important;}
}
@media (prefers-reduced-motion:reduce) {
  body.woocommerce-cart .bosc-cart-actions .continue-to-shop a {transition:none!important;}
}

/* v1.0.2 — tidy variation rows, subtotal and local-pickup contact. */
body.woocommerce-cart .bosc-products .bosc-item-attributes {display:block!important;width:100%;max-width:100%;}
body.woocommerce-cart .bosc-products .bosc-item-attributes dl.variation {
  display:grid!important;grid-template-columns:max-content minmax(0,1fr);
  gap:3px 5px!important;align-items:baseline!important;
  margin:2px 0 0!important;width:100%;min-width:0;
  line-height:1.45!important;
}
body.woocommerce-cart .bosc-products .bosc-item-attributes dt,
body.woocommerce-cart .bosc-products .bosc-item-attributes dd {
  display:block!important;float:none!important;margin:0!important;padding:0!important;
  min-width:0;max-width:100%;overflow-wrap:anywhere;
}
body.woocommerce-cart .bosc-products .bosc-item-attributes dt {font-weight:700!important;color:#52637b!important;}
body.woocommerce-cart .bosc-products .bosc-item-attributes dt::before {content:none!important;}
body.woocommerce-cart .bosc-products .bosc-item-attributes dd p {display:block!important;margin:0!important;line-height:inherit!important;}
body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal td,
body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal td .amount,
body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal td bdi {color:var(--bosc-navy)!important;font-weight:700!important;}
/* Contact Us belongs to its local-pickup shipping rate, and only shows once selected. */
.bosc-pickup-contact {display:none!important;margin:6px 0 9px 24px;padding:8px 10px;background:#f5faec;border:1px solid #dcefc3;border-radius:6px;font-size:12px;line-height:1.5;color:#354b32;}
.bosc-pickup-contact.is-selected {display:block!important;}
.bosc-pickup-contact a {color:#356f00!important;font-weight:800!important;text-decoration:underline!important;text-underline-offset:2px;}
.bosc-pickup-contact a:hover {color:#041e42!important;}
.bosc-pickup-contact a:focus-visible {outline:3px solid #84cc00;outline-offset:2px;}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods li {margin-bottom:5px;}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods .bosc-pickup-contact {text-align:left;}
.bosc-order-contact {margin:12px 0;font-size:13px;line-height:1.55;}
.bosc-order-contact a {font-weight:700;text-decoration:underline;}
@media(max-width:620px){body.woocommerce-cart .bosc-products .bosc-item-attributes dl.variation{grid-template-columns:max-content minmax(0,1fr);}}

/* v1.0.3 — Cart typography & spacing refinement.
   Uses the theme's font family, establishes a clear type scale and stays
   strictly within the classic cart UI. No WooCommerce/Stripe behavior change. */
body.woocommerce-cart {
  --bosc-text:#041e42;
  --bosc-secondary:#465a74;
}
body.woocommerce-cart .bosc-cart-form,
body.woocommerce-cart .bosc-summary {
  font-size:15px;
  line-height:1.55;
  color:var(--bosc-text);
}
body.woocommerce-cart .bosc-breadcrumb {
  font-size:14px!important;
  line-height:1.5;
  gap:10px;
}
body.woocommerce-cart .bosc-cart-heading h1 {
  font-size:32px!important;
  font-weight:800!important;
  line-height:1.24!important;
  letter-spacing:-.025em;
  margin-bottom:7px;
}
body.woocommerce-cart .bosc-cart-heading p {
  font-size:14px!important;
  line-height:1.55;
  color:var(--bosc-secondary);
}
body.woocommerce-cart .bosc-steps {
  font-size:16px!important;
  line-height:1.6;
  gap:14px;
  font-weight:700;
}
body.woocommerce-cart .bosc-products {padding:22px 20px 17px;}
body.woocommerce-cart .bosc-summary {padding:25px 23px;}
body.woocommerce-cart .bosc-summary > h2 {
  font-size:22px!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:-.012em;
  margin-bottom:18px;
}
body.woocommerce-cart .bosc-products .cart_item.head {
  font-size:16px!important;
  line-height:1.5!important;
  font-weight:800!important;
  color:var(--bosc-text)!important;
  padding-bottom:15px!important;
}
body.woocommerce-cart .bosc-products .cart_item:not(.head) {
  padding:23px 0!important;
  row-gap:16px!important;
}
body.woocommerce-cart .bosc-products .cart_item .product-info {gap:14px!important;}
body.woocommerce-cart .bosc-cart-image {
  width:84px;
  min-width:84px;
  height:94px;
}
body.woocommerce-cart .bosc-cart-image img {max-width:80px!important;height:86px!important;}
body.woocommerce-cart .bosc-products .bosc-product-detail {gap:8px!important;}
body.woocommerce-cart .bosc-product-detail a.name,
body.woocommerce-cart .bosc-product-detail .name {
  color:var(--bosc-text)!important;
  font-size:18px!important;
  line-height:1.4!important;
  font-weight:800!important;
  letter-spacing:-.012em;
}
body.woocommerce-cart .bosc-product-detail a.name:hover {color:#3c7900!important;}
body.woocommerce-cart .bosc-products .bosc-item-attributes,
body.woocommerce-cart .bosc-products .bosc-item-attributes dl.variation,
body.woocommerce-cart .bosc-products .bosc-item-attributes dd p {
  font-size:15px!important;
  line-height:1.65!important;
}
body.woocommerce-cart .bosc-products .bosc-item-attributes dl.variation {
  gap:3px 8px!important;
  margin-top:3px!important;
}
body.woocommerce-cart .bosc-products .bosc-item-attributes dt {
  font-size:15px!important;
  color:var(--bosc-secondary)!important;
  font-weight:700!important;
}
body.woocommerce-cart .bosc-products .bosc-item-attributes dd,
body.woocommerce-cart .bosc-products .bosc-item-attributes dd p {
  color:var(--bosc-text)!important;
  font-weight:500;
}
body.woocommerce-cart .bosc-stock-note {
  font-size:14px!important;
  line-height:1.4;
  font-weight:700;
}
body.woocommerce-cart .bosc-edit {
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:700!important;
  border-radius:7px!important;
}
body.woocommerce-cart .bosc-products .product-price,
body.woocommerce-cart .bosc-products .product-subtotal,
body.woocommerce-cart .bosc-products .product-price .amount,
body.woocommerce-cart .bosc-products .product-subtotal .amount {
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.45!important;
}
body.woocommerce-cart .bosc-products .product-quantity .quantity {
  max-height:45px;
  max-width:120px;
}
body.woocommerce-cart .bosc-products .product-quantity .qty {
  width:44px!important;
  max-width:44px!important;
  height:43px!important;
  min-height:43px!important;
  max-height:43px!important;
  font-size:16px!important;
  font-weight:700!important;
}
body.woocommerce-cart .bosc-products .product-quantity .plus,
body.woocommerce-cart .bosc-products .product-quantity .minus {
  width:29px!important;
  min-width:29px!important;
  height:43px!important;
  line-height:43px!important;
  font-size:19px!important;
  font-weight:600!important;
}
body.woocommerce-cart .bosc-products .product-remove a.remove {
  min-width:34px;
  min-height:40px;
  font-size:20px!important;
}
body.woocommerce-cart .bosc-cart-actions {padding-top:19px!important;}
body.woocommerce-cart .bosc-cart-actions .continue-to-shop a {
  min-height:44px!important;
  padding:11px 16px!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:800!important;
}
body.woocommerce-cart .bosc-cart-actions .update-cart button {
  min-height:44px;
  font-size:14px!important;
}
body.woocommerce-cart .bosc-summary .bosc-shipping {padding:14px!important;}
body.woocommerce-cart .bosc-shipping p {
  font-size:14px!important;
  line-height:1.5!important;
  font-weight:650;
}
body.woocommerce-cart .bosc-summary .cart_totals th,
body.woocommerce-cart .bosc-summary .cart_totals td,
body.woocommerce-cart .bosc-summary .cart_totals td .amount,
body.woocommerce-cart .bosc-summary .cart_totals td bdi {
  font-size:16px!important;
  line-height:1.6!important;
}
body.woocommerce-cart .bosc-summary .cart_totals th {
  color:var(--bosc-secondary)!important;
  font-weight:650!important;
}
body.woocommerce-cart .bosc-summary .cart_totals td {font-weight:600;}
body.woocommerce-cart .bosc-summary .cart_totals th,
body.woocommerce-cart .bosc-summary .cart_totals td {padding:14px 3px!important;}
body.woocommerce-cart .bosc-summary .cart_totals .order-total th {
  font-size:16px!important;
  color:var(--bosc-text)!important;
  font-weight:800!important;
}
body.woocommerce-cart .bosc-summary .cart_totals .order-total td,
body.woocommerce-cart .bosc-summary .cart_totals .order-total .amount,
body.woocommerce-cart .bosc-summary .cart_totals .order-total bdi {
  font-size:24px!important;
  line-height:1.3!important;
  color:#398000!important;
  font-weight:800!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods,
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods li,
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods label,
body.woocommerce-cart .bosc-summary .woocommerce-shipping-destination,
body.woocommerce-cart .bosc-summary .woocommerce-shipping-calculator {
  font-size:15px!important;
  line-height:1.55!important;
}
body.woocommerce-cart .bosc-summary .shipping-calculator-button {
  font-size:15px!important;
  font-weight:700!important;
}
.bosc-pickup-contact {
  font-size:15px!important;
  line-height:1.6!important;
  padding:10px 12px!important;
}
.bosc-pickup-contact a {font-size:15px!important;}
body.woocommerce-cart .bosc-coupon {padding-top:20px!important;}
body.woocommerce-cart .bosc-coupon label {
  font-size:15px!important;
  font-weight:800!important;
  margin-bottom:10px;
}
body.woocommerce-cart .bosc-coupon input {
  font-size:14px!important;
  height:46px!important;
  padding:11px 12px!important;
}
body.woocommerce-cart .bosc-coupon button {
  height:46px!important;
  min-width:80px!important;
  padding:0 17px!important;
  font-size:14px!important;
  font-weight:750!important;
}
body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout .button.checkout {
  min-height:52px!important;
  font-size:16px!important;
  line-height:1.45!important;
  letter-spacing:.005em;
}
body.woocommerce-cart .bosc-express-divider {
  font-size:14px!important;
  line-height:1.5!important;
}
body.woocommerce-cart .bosc-secure {
  font-size:13px!important;
  line-height:1.6!important;
}
body.woocommerce-cart .woocommerce-message.bosc-compact-notice {
  font-size:14px!important;
  line-height:1.55!important;
}
/* Match the in-cart variation editor to the cart's improved type hierarchy. */
.bosc-modal__heading h2 {font-size:24px!important;}
.bosc-edit-product-name {font-size:17px!important;}
.bosc-field label {font-size:15px!important;}
.bosc-field select {font-size:16px!important;min-height:46px!important;}
.bosc-modal__status {font-size:14px!important;}
.bosc-modal-price {font-size:24px!important;}
.bosc-modal__footer button {font-size:15px!important;min-height:46px!important;}

@media (max-width:1100px) and (min-width:901px) {
  body.woocommerce-cart .bosc-products {padding:18px 14px;}
  body.woocommerce-cart .bosc-summary {padding:21px 16px;}
  body.woocommerce-cart .bosc-cart-image {width:70px;min-width:70px;height:80px;}
  body.woocommerce-cart .bosc-cart-image img {height:74px!important;max-width:67px!important;}
  body.woocommerce-cart .bosc-product-detail a.name,
  body.woocommerce-cart .bosc-product-detail .name {font-size:17px!important;}
  body.woocommerce-cart .bosc-products .cart_item.head,
  body.woocommerce-cart .bosc-products .cart_item:not(.head) {
    grid-template-columns:minmax(150px,2.5fr) minmax(65px,.95fr) minmax(90px,1fr) minmax(70px,.95fr) 24px;
    gap:8px;
  }
}
@media (max-width:900px) {
  body.woocommerce-cart .bosc-cart-heading h1 {font-size:29px!important;}
  body.woocommerce-cart .bosc-products,
  body.woocommerce-cart .bosc-summary {padding:20px;}
}
@media (max-width:620px) {
  body.woocommerce-cart .bosc-cart-heading h1 {font-size:27px!important;}
  body.woocommerce-cart .bosc-cart-heading p {font-size:14px!important;}
  body.woocommerce-cart .bosc-products,
  body.woocommerce-cart .bosc-summary {padding:15px;}
  body.woocommerce-cart .bosc-product-detail a.name,
  body.woocommerce-cart .bosc-product-detail .name {font-size:17px!important;}
  body.woocommerce-cart .bosc-products .bosc-item-attributes,
  body.woocommerce-cart .bosc-products .bosc-item-attributes dl.variation,
  body.woocommerce-cart .bosc-products .bosc-item-attributes dd p,
  body.woocommerce-cart .bosc-products .bosc-item-attributes dt {font-size:14px!important;}
  body.woocommerce-cart .bosc-products .cart_item > .product-price::before,
  body.woocommerce-cart .bosc-products .cart_item > .product-quantity::before,
  body.woocommerce-cart .bosc-products .cart_item > .product-subtotal::before {
    font-size:13px!important;
  }
  body.woocommerce-cart .bosc-summary .cart_totals th,
  body.woocommerce-cart .bosc-summary .cart_totals td {font-size:14px!important;padding:12px 2px!important;}
  body.woocommerce-cart .bosc-summary .cart_totals .order-total td,
  body.woocommerce-cart .bosc-summary .cart_totals .order-total .amount,
  body.woocommerce-cart .bosc-summary .cart_totals .order-total bdi {font-size:22px!important;}
  body.woocommerce-cart .bosc-shipping p {font-size:13px!important;}
  body.woocommerce-cart .bosc-coupon input {min-width:0;}
  body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout a.checkout-button,
  body.woocommerce-cart .bosc-summary .wc-proceed-to-checkout .button.checkout {font-size:15px!important;}
  .bosc-pickup-contact {margin-left:0!important;}
}

/* Keep the larger type legible: switch to stacked cards on smaller laptops. */
@media (max-width:1024px) and (min-width:621px) {
  body.woocommerce-cart .bosc-cart-grid {grid-template-columns:minmax(0,1fr)!important;}
  body.woocommerce-cart .bosc-products,
  body.woocommerce-cart .bosc-summary {padding:21px;}
  body.woocommerce-cart .bosc-cart-image {width:84px;min-width:84px;height:94px;}
  body.woocommerce-cart .bosc-cart-image img {height:86px!important;max-width:80px!important;}
  body.woocommerce-cart .bosc-product-detail a.name,
  body.woocommerce-cart .bosc-product-detail .name {font-size:17px!important;}
}
body.woocommerce-cart .bosc-summary .bosc-pickup-contact {
  width:100%;max-width:100%;margin:8px 0 7px!important;
  text-align:left!important;
  box-sizing:border-box;
}


/* v1.0.4 — Source-level structure fix for shipping and cart typography.
   WooCommerce places the pickup help link as the third child of a shipping
   rate <li>. Grid gives it a full-width row beneath its own rate rather than
   squeezing it next to the shipping method's radio control. */
body.woocommerce-cart .bosc-steps {
  font-size:16px!important;
  column-gap:18px!important;
  row-gap:7px!important;
  flex-wrap:wrap;
  white-space:normal!important;
}
body.woocommerce-cart .bosc-steps > * {
  font-size:inherit!important;
  line-height:1.45!important;
  font-weight:750!important;
}
body.woocommerce-cart .bosc-products .cart_item.head > div {
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.5!important;
  color:#243a57!important;
}
body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal th,
body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal td,
body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal td .amount,
body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal td bdi {
  font-size:17px!important;
  font-weight:800!important;
  color:var(--bosc-navy)!important;
  line-height:1.5!important;
}
body.woocommerce-cart .bosc-summary .cart_totals tr.tax-rate th,
body.woocommerce-cart .bosc-summary .cart_totals tr.tax-rate td,
body.woocommerce-cart .bosc-summary .cart_totals tr.tax-rate td .amount,
body.woocommerce-cart .bosc-summary .cart_totals tr.tax-rate td bdi {
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.5!important;
}
/* Shipping needs more horizontal space than subtotal and tax rows. */
body.woocommerce-cart .bosc-summary .cart_totals tr.woocommerce-shipping-totals.shipping:not(.bosc-shipping-full) {
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  width:100%!important;
  border-bottom:1px solid var(--bosc-border)!important;
  padding:15px 0 17px!important;
  gap:9px!important;
  box-sizing:border-box;
}
body.woocommerce-cart .bosc-summary .cart_totals tr.woocommerce-shipping-totals.shipping:not(.bosc-shipping-full) > th,
body.woocommerce-cart .bosc-summary .cart_totals tr.woocommerce-shipping-totals.shipping:not(.bosc-shipping-full) > td {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box;
  text-align:left!important;
  font-size:16px!important;
}
body.woocommerce-cart .bosc-summary .cart_totals tr.woocommerce-shipping-totals.shipping > th {
  font-weight:800!important;
  color:var(--bosc-navy)!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods {
  width:100%!important;
  max-width:100%!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 22px;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  padding:10px 0!important;
  margin:0!important;
  border:0!important;
  line-height:1.5!important;
  float:none!important;
  box-sizing:border-box!important;
  text-align:left!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li + li {
  border-top:1px dashed #e2e9f1!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li > label {
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  text-align:left!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  font-size:16px!important;
  line-height:1.45!important;
  font-weight:650!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li > input.shipping_method {
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  float:none!important;
  margin:0!important;
  max-width:20px!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li > .bosc-pickup-contact {
  grid-column:1 / -1!important;
  grid-row:2!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  clear:both!important;
  float:none!important;
  margin:4px 0 2px!important;
  padding:12px 14px!important;
  border-radius:8px!important;
  background:#f5faec!important;
  border:1px solid #d8e8ba!important;
  color:#27441b!important;
  font-size:15px!important;
  line-height:1.55!important;
  box-sizing:border-box!important;
  position:static!important;
  text-align:left!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li > .bosc-pickup-contact a {
  font-size:15px!important;
  font-weight:800!important;
}
body.woocommerce-cart .bosc-summary .woocommerce-shipping-destination {
  margin:15px 0 5px!important;
  text-align:left!important;
  font-size:15px!important;
  line-height:1.55!important;
  overflow-wrap:anywhere;
}
body.woocommerce-cart .bosc-summary .shipping-calculator-button {
  display:inline-flex!important;
  margin:6px 0 0!important;
  font-size:15px!important;
  font-weight:750!important;
}
/* Preserve legibility when the cart stacks on tablet and mobile screens. */
@media(max-width:1024px) {
  body.woocommerce-cart .bosc-steps {font-size:15px!important;}
}
@media(max-width:620px) {
  body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal th,
  body.woocommerce-cart .bosc-summary .cart_totals tr.cart-subtotal td,
  body.woocommerce-cart .bosc-summary .cart_totals tr.tax-rate th,
  body.woocommerce-cart .bosc-summary .cart_totals tr.tax-rate td {font-size:16px!important;}
  body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li > label {font-size:15px!important;}
  body.woocommerce-cart .bosc-summary .woocommerce-shipping-methods > li > .bosc-pickup-contact {font-size:15px!important;}
}

/* Native full-width shipping row from the iSpot cart-shipping.php override.
   Checkout keeps WooCommerce's original two-column shipping markup. */
body.woocommerce-cart .bosc-summary .cart_totals tr.bosc-shipping-full {
  display:table-row!important;
  width:100%!important;
  border:0!important;
}
body.woocommerce-cart .bosc-summary .cart_totals tr.bosc-shipping-full > td[colspan="2"] {
  display:table-cell!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:17px 3px!important;
  text-align:left!important;
  vertical-align:top!important;
  box-sizing:border-box!important;
}
body.woocommerce-cart .bosc-summary .bosc-shipping-section-title {
  margin:0 0 8px!important;
  padding:0!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.4!important;
  color:var(--bosc-navy)!important;
}


/* v1.0.5 — Quantity-symbol correction only.
   Vova injects tb-icon glyphs INSIDE plus/minus buttons. The 19px button
   font sizing introduced in v1.0.3 made both glyphs appear oversized.
   Keep the existing control height, click targets, input size and AJAX behavior. */
body.woocommerce-cart .bosc-products .product-quantity .quantity > button.plus,
body.woocommerce-cart .bosc-products .product-quantity .quantity > button.minus {
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  font-size: 14px!important;
  line-height: 1!important;
  font-weight: 500!important;
  text-align: center!important;
}
body.woocommerce-cart .bosc-products .product-quantity .quantity > button.plus > .tb-icon,
body.woocommerce-cart .bosc-products .product-quantity .quantity > button.minus > .tb-icon,
body.woocommerce-cart .bosc-products .product-quantity .quantity > button.plus > .tb-icon::before,
body.woocommerce-cart .bosc-products .product-quantity .quantity > button.minus > .tb-icon::before {
  font-size: 14px!important;
  line-height: 1!important;
  font-weight: 400!important;
}
