/* Cart (page 125) + checkout (page 127, also the order-received screen), 2026-10-31, built by mockups/build-cart-v1.py.
   Elementor Pro's WooCommerce Cart / Checkout widgets with every old style setting dropped: the look is set here, mostly
   through the widgets' own CSS variables. Design system: white cards 32px (24 on phones), no shadows, white fields with
   16px corners and a #E6DCD2 border, orange pill buttons in Synthmesc caps (hover: white body, orange text). */

.m-wc :is(.elementor-widget-woocommerce-cart, .elementor-widget-woocommerce-checkout-page) {
  --sections-background-color: #FFFFFF;
  --sections-border-type: none;
  --sections-border-radius: 32px;
  --sections-padding: 32px;
  --sections-margin: 0 0 24px;
  --sections-title-color: #2A2F33;
  --sections-title-spacing: 24px;
  --sections-secondary-title-color: #2A2F33;
  --sections-descriptions-color: #6B6560;
  --sections-messages-color: #2A2F33;
  --sections-radio-buttons-color: #2A2F33;
  --sections-checkboxes-color: #2A2F33;
  --forms-labels-color: #2A2F33;
  --forms-label-spacing: 6px;
  --forms-rows-gap: 16px;
  --forms-fields-normal-color: #2A2F33;
  --forms-fields-focus-color: #2A2F33;
  --forms-fields-border-radius: 16px;
  --forms-fields-padding: 12px 16px;
  --forms-fields-focus-border-color: #F3763A;
  --forms-buttons-border-radius: 999px;
  --forms-buttons-border-type: solid;
  --forms-buttons-border-color: #F3763A;
  --forms-buttons-normal-text-color: #FFFFFF;
  --forms-buttons-hover-text-color: #F3763A;
  --forms-buttons-hover-border-color: #F3763A;
  --forms-buttons-hover-background-color: #FFFFFF;
  --links-normal-color: #F3763A;
  --links-hover-color: #2A2F33;
  --product-link-normal-color: #2A2F33;
  --product-link-hover-color: #F3763A;
  --order-summary-color: #2A2F33;
  --order-summary-title-color: #6B6560;
  --order-summary-items-color: #2A2F33;
  --order-summary-variations-color: #6B6560;
  --order-summary-items-divider-color: #E6DCD2;
  --order-summary-items-divider-weight: 1px;
  --order-summary-totals-color: #2A2F33;
  --order-summary-totals-divider-color: #E6DCD2;
  --order-summary-totals-divider-weight: 1px;
  --order-summary-remove-icon-normal-color: #F3763A;
  --order-summary-remove-icon-hover-color: #2A2F33;
  --order-summary-quantity-border-color: #E6DCD2;
  --order-summary-quantity-border-weight: 1.5px;
  --totals-color: #2A2F33;
  --totals-divider-color: #E6DCD2;
  --totals-divider-weight: 1px;
  --checkout-button-border-radius: 999px;
  --checkout-button-normal-text-color: #FFFFFF;
  --checkout-button-hover-text-color: #F3763A;
  --checkout-button-hover-border-color: #F3763A;
  --purchase-button-border-radius: 999px;
  --purchase-button-normal-text-color: #FFFFFF;
  --purchase-button-hover-text-color: #F3763A;
  --purchase-button-hover-border-color: #F3763A;
  color: #2A2F33;
  font-family: 'Montserrat', sans-serif;
}
@media (max-width: 767px) {
  .m-wc :is(.elementor-widget-woocommerce-cart, .elementor-widget-woocommerce-checkout-page) {
    --sections-border-radius: 24px;
    --sections-padding: 24px 20px;
    --sections-margin: 0 0 16px;
  }
}

/* section titles ("Your details", "Your order", "Total"): body font 700, as small labels on white cards */
.m-wc :is(h3, #order_review_heading, .cart_totals h2) {
  font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; font-size: 22px !important;
  line-height: 1.25 !important; text-transform: none !important; letter-spacing: 0 !important; color: #2A2F33 !important;
}
/* table heads: muted small caps-style labels (Synthmesc's lowercase letters are not for text, design system) */
.m-wc :is(.shop_table thead th, .woocommerce-checkout-review-order-table thead th) {
  font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; font-size: 13px !important;
  text-transform: uppercase !important; letter-spacing: .06em !important; color: #6B6560 !important;
}
.m-wc, .m-wc :is(td, th, label, p, li, span.woocommerce-Price-amount) { font-family: 'Montserrat', sans-serif; }
.m-wc .woocommerce-Price-amount { font-weight: 600; }

/* fields: white, 1.5px warm border, 48px tall, 16px text (no zoom on iPhone) */
.m-wc :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], textarea, select,
          .select2-container .select2-selection--single) {
  background: #FFFFFF !important; border: 1.5px solid #E6DCD2 !important; border-radius: 16px !important;
  min-height: 48px; font-size: 16px !important; font-family: 'Montserrat', sans-serif !important; color: #2A2F33 !important;
  box-shadow: none !important;
}
.m-wc .select2-container .select2-selection--single { display: flex; align-items: center; height: 48px !important; }
.m-wc .select2-container .select2-selection__rendered { line-height: 1.4 !important; padding-left: 16px !important; color: #2A2F33 !important; }
.m-wc .select2-container .select2-selection__arrow { height: 46px !important; right: 8px !important; }
.m-wc :is(input, textarea, select):focus { border-color: #F3763A !important; outline: none; }
.m-wc textarea { min-height: 112px; }
.m-wc input.qty { width: 72px !important; min-height: 44px; text-align: center; border-radius: 12px !important; }
.m-wc :is(input[type="radio"], input[type="checkbox"]) { accent-color: #F3763A; width: 18px; height: 18px; }
.m-wc .form-row label { font-weight: 600; font-size: 14px; }
.m-wc .required { color: #F3763A !important; text-decoration: none; }

/* buttons: Checkout, Pay now, Apply, Update: orange pill, Synthmesc caps; hover white body, orange text */
.m-wc :is(.checkout-button, #place_order, button.button, a.button, input.button, #box_now_delivery_button) {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-height: 52px !important; height: auto !important; padding: 0 28px !important; border: 1.5px solid #F3763A !important; border-radius: 999px !important;
  background: #F3763A !important; color: #FFFFFF !important; box-shadow: none !important; cursor: pointer;
  font-family: 'Synthmesc', sans-serif !important; font-weight: 400 !important; font-size: 18px !important;
  text-transform: uppercase !important; letter-spacing: .02em; line-height: 1 !important; text-decoration: none !important;
  transition: background-color .2s, color .2s;
}
.m-wc :is(.checkout-button, #place_order, button.button, a.button, input.button, #box_now_delivery_button):hover {
  background: #FFFFFF !important; color: #F3763A !important;
}
.m-wc :is(.checkout-button, #place_order) { width: 100%; min-height: 56px !important; height: auto !important; padding: 16px 28px !important; font-size: 20px !important; }
.m-wc :is(button.button, input.button):disabled { opacity: .45; cursor: default; }
/* BOX NOW "Pick a locker": its own block under the shipping choice (inline it pushed the page 140px wider on phones) */
.m-wc #box_now_delivery_button { width: 100% !important; max-width: 100% !important; margin: 12px 0 4px !important;
  min-height: 44px !important; font-size: 16px !important; white-space: normal !important; }
.m-wc li:has(> #box_now_delivery_button) { display: flex; flex-wrap: wrap; align-items: center; }

/* cart rows: rounded thumbnails, product names in ink */
.m-wc .shop_table img { border-radius: 12px; width: 64px; height: 64px; object-fit: cover; }
.m-wc .shop_table td.product-name a { font-weight: 600; text-decoration: none; }
.m-wc .shop_table a.remove { font-size: 22px !important; }

/* payment box (Vipps / card): one soft panel inside the card, not WooCommerce's grey */
.m-wc #payment { background: #FFFFFF !important; border-radius: 32px !important; padding: 32px !important; }
@media (max-width: 767px) { .m-wc #payment { border-radius: 24px !important; padding: 24px 20px !important; } }
.m-wc #payment ul.payment_methods { border-bottom: 1px solid #E6DCD2 !important; padding: 0 0 16px !important; }
.m-wc #payment div.payment_box { background: #FBF4EC !important; border-radius: 16px !important; color: #2A2F33 !important; }
.m-wc #payment div.payment_box::before { border-bottom-color: #FBF4EC !important; }
.m-wc .woocommerce-privacy-policy-text, .m-wc .woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: #6B6560; }

/* notices (coupon applied, errors): cream panel, orange edge */
.m-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  background: #FFFFFF !important; border: 0 !important; border-left: 4px solid #F3763A !important; border-radius: 16px !important;
  color: #2A2F33 !important; font-family: 'Montserrat', sans-serif;
}
.m-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { color: #F3763A !important; }

/* order received: band says "Thank you", not "Checkout"; Woo's own thank-you text and order details stay */
.m-wc-page .m-thanks-title { display: none; }
body.woocommerce-order-received .m-wc-page :is(.m-co-title, .m-wc-intro) { display: none; }
body.woocommerce-order-received .m-wc-page .m-thanks-title { display: block; }
body.woocommerce-order-received .m-wc :is(.woocommerce-order, .woocommerce-order-details, .woocommerce-customer-details) {
  background: #FFFFFF; border-radius: 32px; padding: 32px;
}
body.woocommerce-order-received .m-wc ul.order_details { border: 0; padding: 0; margin: 16px 0 24px; }
/* Additional CSS 1911 (old dark design) makes the notice, overview, details and address white: ink again on the white card.
   The notice was 40px Synthmesc caps under the band's own "Thank you"; now a hero-line sized sentence */
body.woocommerce-order-received .m-wc :is(.woocommerce-thankyou-order-details, .woocommerce-order-details, .woocommerce-customer-details) { color: #2A2F33 !important; }
body.woocommerce-order-received .m-wc .woocommerce-thankyou-order-received {
  color: #2A2F33; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 22px; line-height: 1.4;
  text-transform: none; text-align: left; letter-spacing: 0; padding-bottom: 0; margin: 0 0 8px;
}
body.woocommerce-order-received .m-wc :is(.woocommerce-order-details__title, .woocommerce-column__title) {
  font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; font-size: 22px !important;
  line-height: 1.25 !important; text-transform: none !important; letter-spacing: 0 !important; color: #2A2F33 !important;
}
/* one card: the details and address sections sit inside .woocommerce-order, so no second padding */
body.woocommerce-order-received .m-wc .woocommerce-order :is(.woocommerce-order-details, .woocommerce-customer-details) { padding: 0; border-radius: 0; }
@media (max-width: 767px) {
  body.woocommerce-order-received .m-wc .woocommerce-thankyou-order-received { font-size: 18px; }
  body.woocommerce-order-received .m-wc :is(.woocommerce-order, .woocommerce-order-details, .woocommerce-customer-details) { border-radius: 24px; padding: 24px 20px; }
}

/* columns: a real gap between the form/cart cards and the summary card (Elementor's was ~6px) */
@media (min-width: 1025px) {
  .m-wc :is(.e-cart__container, .e-checkout__container) { grid-template-columns: minmax(0, 1fr) minmax(340px, 440px) !important; column-gap: 32px !important; }
}
/* cart: product names and totals at body sizes (Elementor's defaults were 30px+) */
.m-wc .shop_table td.product-name, .m-wc .shop_table td.product-name a { font-size: 18px !important; line-height: 1.35 !important; color: #2A2F33 !important; }
.m-wc .shop_table :is(td.product-price, td.product-subtotal) { font-size: 16px !important; }
.m-wc .cart_totals :is(th, td, td *, label, p, .woocommerce-shipping-destination) { font-size: 16px !important; line-height: 1.5 !important; }
.m-wc .cart_totals :is(.order-total th, .order-total td, .order-total td *) { font-size: 20px !important; font-weight: 700 !important; }
.m-wc .cart_totals .shipping-calculator-button { color: #F3763A !important; font-weight: 600; }
.m-wc .woocommerce-checkout-review-order-table :is(td, th) { font-size: 15px; }
/* "Booked with us before? Log in" (checkout): its prompt is hidden on desktop, which left an empty white card; returning
   customers check out as guests anyway (snippet 56), so the whole box goes */
.m-wc .e-woocommerce-login-section { display: none !important; }
/* shipping address: closed until "Ship to a different address?" is ticked. On desktop WooCommerce's script never hid it on
   load (already so before the redesign); its own slideDown/slideUp sets an inline display, which wins over this */
.m-wc .woocommerce-shipping-fields .shipping_address { display: none; }
.m-wc .woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:checked) .shipping_address { display: block; }

/* utility pages (gift card balance, pickup, glazing, email preferences; build-utility-v1.py): the shortcode in one white card */
.m-util-card { background: #FFFFFF; border-radius: 32px; padding: 40px !important; max-width: 720px; box-sizing: border-box; }
.m-util-card :is(button, input[type="submit"]):not(.select2-selection) {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 52px !important; padding: 0 28px !important;
  border: 1.5px solid #F3763A !important; border-radius: 999px !important; background: #F3763A !important; color: #FFFFFF !important;
  font-family: 'Synthmesc', sans-serif !important; font-weight: 400 !important; font-size: 18px !important; line-height: 1 !important;
  text-transform: uppercase !important; cursor: pointer; transition: background-color .2s, color .2s;
}
.m-util-card :is(button, input[type="submit"]):hover { background: #FFFFFF !important; color: #F3763A !important; }
/* WooCommerce notices inside a card (email preferences when logged out): body size, orange link */
.m-util-card :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
  font-size: 16px !important; line-height: 1.5 !important; font-weight: 500 !important; padding: 16px 16px 16px 52px !important;
  margin: 0 !important; overflow-wrap: normal; word-break: normal;
}
.m-util-card :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { top: 16px !important; left: 18px !important; font-size: 18px !important; }
.m-util-card :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a { color: #F3763A !important; font-weight: 600; }
.m-util-card label { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; color: #2A2F33; }
@media (max-width: 767px) { .m-util-card { border-radius: 24px; padding: 24px 20px !important; } }

/* Apple Pay (Viva Wallet): a pill like Checkout / Pay now. Safari's Apple Pay button takes a border radius. */
.m-wc #VWapplePayBut { padding-top: 0 !important; margin: 0 0 12px; }
.m-wc #apple-pay-button { height: 56px !important; min-height: 56px !important; border: 0 !important; border-radius: 999px !important; margin: 0 !important; }
/* "Express checkout" card on checkout (snippet apple-pay-checkout.php): hidden unless Viva's script shows the button */
.m-wc .m-express { background: #FFFFFF; border-radius: var(--sections-border-radius); padding: var(--sections-padding); margin: 0 0 24px; }
/* Viva starts the wrapper at display:none, hide() sets none again, show() just removes it: hide the card while it says none */
.m-wc .m-express:has(#VWapplePayBut[style*="none"]) { display: none; }
.m-wc .m-express-label { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; color: #2A2F33; margin: 0 0 16px; }
.m-wc .m-express #VWapplePayBut { margin: 0; }
.m-wc .m-express-or { font-size: 14px; color: #6B6560; text-align: center; margin: 16px 0 0; }

/* ---------- tables as rows (rev b, Majd 2026-10-31: "the cart and checkout tables are off and not well spaced") ----------
   WooCommerce's tables become plain rows on every screen: no column heads, no "Product:" labels on phones. */
/* cart items: photo | name + unit price | remove, then quantity and line total under the name */
.m-wc table.shop_table.cart thead { display: none !important; }
.m-wc table.shop_table.cart, .m-wc table.shop_table.cart tbody { display: block !important; width: 100% !important; border: 0 !important; }
.m-wc table.shop_table.cart tr.cart_item {
  display: grid !important; grid-template-columns: 80px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 4px; align-items: center;
  grid-template-areas: "thumb name remove" "thumb price price" "thumb qty subtotal";
  padding: 20px 0 !important; border-bottom: 1px solid #E6DCD2 !important;
}
.m-wc table.shop_table.cart tr.cart_item:first-child { padding-top: 0 !important; }
.m-wc table.shop_table.cart tr.cart_item:last-of-type { border-bottom: 0 !important; padding-bottom: 0 !important; }
.m-wc table.shop_table.cart tr.cart_item td {
  display: block !important; padding: 0 !important; border: 0 !important; text-align: left !important; background: none !important; width: auto !important;
}
.m-wc table.shop_table.cart tr.cart_item td::before { display: none !important; content: none !important; }
.m-wc table.shop_table.cart td.product-thumbnail { grid-area: thumb; align-self: start; }
.m-wc table.shop_table.cart td.product-thumbnail img { width: 80px !important; height: 80px !important; max-width: none !important; border-radius: 16px !important; }
.m-wc table.shop_table.cart td.product-name { grid-area: name; font-weight: 600; }
.m-wc table.shop_table.cart td.product-price { grid-area: price; font-size: 14px !important; color: #6B6560 !important; }
.m-wc table.shop_table.cart td.product-price .woocommerce-Price-amount { font-weight: 500; }
.m-wc table.shop_table.cart td.product-quantity { grid-area: qty; }
.m-wc table.shop_table.cart td.product-subtotal { grid-area: subtotal; text-align: right !important; font-size: 18px !important; }
.m-wc table.shop_table.cart td.product-remove { grid-area: remove; align-self: start; }
.m-wc table.shop_table.cart td.product-remove a.remove {
  display: flex !important; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px;
  color: #6B6560 !important; background: #FBF4EC !important; font-size: 20px !important; line-height: 1 !important; text-decoration: none !important;
}
.m-wc table.shop_table.cart td.product-remove a.remove:hover { background: #F3763A !important; color: #FFFFFF !important; }
.m-wc table.shop_table.cart td.product-quantity .quantity { margin: 4px 0 0; }
.m-wc table.shop_table.cart input.qty { width: 72px !important; min-height: 40px !important; }
.m-wc table.shop_table.cart tr:not(.cart_item) { display: block !important; }
.m-wc table.shop_table.cart tr:not(.cart_item) td { display: block !important; padding: 0 !important; border: 0 !important; }
.m-wc table.shop_table.cart tr:not(.cart_item) td::before { content: none !important; }

/* totals (cart) and "Your order" (checkout): label left, amount right; shipping options stacked under their label */
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) { display: block !important; width: 100% !important; border: 0 !important; }
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) :is(thead, tbody, tfoot) { display: block !important; }
.m-wc table.woocommerce-checkout-review-order-table thead { display: none !important; }
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) tr {
  display: flex !important; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0 !important;
  border: 0 !important; border-bottom: 1px solid #E6DCD2 !important;
}
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) :is(th, td) {
  display: block !important; padding: 0 !important; border: 0 !important; background: none !important; width: auto !important;
  font-size: 16px !important; line-height: 1.45 !important; color: #2A2F33 !important;
}
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) :is(th, td)::before { content: none !important; display: none !important; }
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) th { font-weight: 600 !important; text-align: left !important; }
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) td { text-align: right !important; }
/* checkout item rows: name (with "× 1") takes the room, price stays on one line */
.m-wc table.woocommerce-checkout-review-order-table tr.cart_item td.product-name { text-align: left !important; flex: 1 1 auto; font-weight: 500; }
.m-wc table.woocommerce-checkout-review-order-table tr.cart_item td.product-total { white-space: nowrap; font-weight: 600; }
.m-wc table.woocommerce-checkout-review-order-table .product-quantity { color: #6B6560; font-weight: 500; }
/* shipping: label on its own line, options full width under it */
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) tr:is(.shipping, .woocommerce-shipping-totals) { flex-direction: column; align-items: stretch; gap: 10px; }
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) tr:is(.shipping, .woocommerce-shipping-totals) td { text-align: left !important; }
.m-wc ul#shipping_method { margin: 0 !important; padding: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 10px; }
.m-wc ul#shipping_method li { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0 !important; padding: 0 !important; text-align: left !important; }
.m-wc ul#shipping_method li input { margin: 0 !important; flex: 0 0 auto; }
.m-wc ul#shipping_method li label { margin: 0 !important; font-weight: 500 !important; display: inline !important; }
.m-wc ul#shipping_method li #VWapplePayBut, .m-wc ul#shipping_method li #box_now_delivery_button { flex: 1 0 100%; }
.m-wc :is(.cart_totals, .woocommerce-checkout-review-order-table) .woocommerce-shipping-destination { margin: 6px 0 0 !important; font-size: 14px !important; color: #6B6560 !important; }
/* the total: last row, no line under it, bigger */
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) tr.order-total { border-bottom: 0 !important; padding-bottom: 0 !important; }
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) tr.order-total :is(th, td, td *) { font-size: 20px !important; font-weight: 700 !important; }
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) tr.order-total small { display: block; font-size: 13px !important; font-weight: 500 !important; color: #6B6560 !important; }

/* rev b fixes after the browser check */
/* cart updates by itself (Elementor setting), so WooCommerce's "Update cart" button stays hidden (the button rule above showed it) */
.m-wc button[name="update_cart"] { display: none !important; }
.m-wc table.shop_table.cart tr.cart_item { border-bottom: 0 !important; }
.m-wc table.shop_table.cart tr.cart_item + tr.cart_item { border-top: 1px solid #E6DCD2 !important; }
.m-wc table.shop_table.cart tr.cart_item:last-of-type { padding-bottom: 20px !important; }
.m-wc table.shop_table.cart tr:not(.cart_item):not(:has(:is(input, select, a, button:not([name="update_cart"])))) { display: none !important; }
.m-wc input.qty { text-align: center !important; padding: 0 8px !important; }
.m-wc table.shop_table.cart td.product-subtotal, .m-wc table.shop_table.cart td.product-subtotal * { font-size: 18px !important; font-weight: 600 !important; }
/* shipping options: radio and label on one line; the BOX NOW button (and its wrapper) on its own line under them */
.m-wc ul#shipping_method li { flex-wrap: wrap !important; }
.m-wc ul#shipping_method li > label { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
.m-wc ul#shipping_method li > :not(input):not(label) { flex: 1 0 100% !important; }
/* notices (stock, coupon, errors) on the cart/checkout pages: body size, button beside the text on desktop, under it on phones */
.m-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px 16px; position: relative;
  font-size: 16px !important; line-height: 1.5 !important; font-weight: 500 !important; padding: 16px 20px 16px 52px !important; margin: 0 0 24px !important;
  list-style: none !important;
}
.m-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { position: absolute !important; top: 18px !important; left: 20px !important; font-size: 18px !important; }
.m-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) li { margin: 0 !important; padding: 0 !important; flex: 1 1 280px; }
.m-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
  order: 2; min-height: 40px !important; padding: 0 20px !important; font-size: 15px !important; margin: 0 !important; float: none !important;
}
/* BOX NOW shows/hides its "Pick a locker" button with an inline display (hidden until BOX NOW is chosen): never force it */
.m-wc :is(.checkout-button, #place_order, a.button) { display: inline-flex !important; }
/* the cart's actions row only holds the hidden Update cart button and hidden fields (they still submit) */
.m-wc table.shop_table.cart tr:has(> td.actions) { display: none !important; }
/* shipping cell full width so the options and the BOX NOW button use the card's width */
.m-wc :is(.cart_totals table, table.woocommerce-checkout-review-order-table) tr:is(.shipping, .woocommerce-shipping-totals) td,
.m-wc ul#shipping_method, .m-wc ul#shipping_method li { width: 100% !important; max-width: none !important; box-sizing: border-box; }   /* a plugin caps that cell at 70px */

/* ---------- field errors + payment status (2026-11-15, with snippet 61 checkout-pay-status.php) ----------
   The beige field border above hid WooCommerce's invalid state: a wrong phone looked like a good one. Invalid = 2px orange
   ring, orange label, short message under the field (snippet 61 writes it). Lines in the error box jump to their field. */
.m-wc .form-row.woocommerce-invalid :is(input.input-text, select, textarea, .select2-container .select2-selection--single) {
  border: 2px solid #F3763A !important;
}
.m-wc .form-row.woocommerce-invalid > label { color: #F3763A !important; }
.m-wc .form-row.woocommerce-invalid input[type="checkbox"] { outline: 2px solid #F3763A; outline-offset: 2px; }
.m-wc .m-field-msg { margin: 6px 0 0 !important; font-size: 14px; font-weight: 600; line-height: 1.4; color: #F3763A; }
.m-wc-page .woocommerce-error li.m-jump { cursor: pointer; text-decoration: underline; text-decoration-color: rgba(243, 118, 58, .5); text-underline-offset: 3px; }
.m-wc-page .woocommerce-error a { color: #F3763A !important; font-weight: 600; }

/* status panel while a card payment runs: white card with an orange ring at the bottom (an orange card vanished into the
   orange footer behind it), ink text, orange spinner; above Viva's bank window (z-index 1500) */
.m-pay-wait {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1600; box-sizing: border-box;
  width: min(520px, calc(100% - 32px)); display: none; align-items: center; gap: 16px;
  background: #FFFFFF; color: #2A2F33; border: 2px solid #F3763A; border-radius: 24px; padding: 20px 24px; font-family: 'Montserrat', sans-serif;
}
.m-pay-wait.m-on { display: flex; }
.m-pay-wait p { margin: 0; color: #2A2F33; }
.m-pay-wait .m-pay-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.m-pay-wait .m-pay-text { font-weight: 500; font-size: 15px; line-height: 1.4; }
.m-pay-spin {
  flex: 0 0 28px; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%;
  border: 3px solid rgba(243, 118, 58, .25); border-top-color: #F3763A; animation: m-pay-spin .9s linear infinite;
}
@keyframes m-pay-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .m-pay-spin { animation: none; border-top-color: rgba(243, 118, 58, .25); border-right-color: #F3763A; } }
@media (max-width: 767px) { .m-pay-wait { bottom: 16px; padding: 16px 20px; } }
/* Viva's bank window: our note sits above its white box, so the modal stacks top to bottom */
#VWsecureModal { flex-direction: column; gap: 16px; padding: 16px; box-sizing: border-box; }
#VWsecureModal .m-pay-note {
  max-width: 500px; width: 100%; margin: 0; color: #FFFFFF; text-align: center;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.45;
}
