/**
 * Zomu Commerce UI 1.4 — cart, checkout and payment journey.
 * Loaded after the theme and WooCommerce. No gateway iframe internals are styled.
 */
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) {
  --zcu-journey-line: #e1e4dc;
  --zcu-journey-shadow: 0 12px 38px rgb(10 34 54 / 5%);
  --zcu-shell: min(1240px, calc(100% - 48px));
  background: var(--zcu-paper);
}

/* Constrain the outer shell once. Nested blocks must not receive viewport widths. */
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-content.entry-content {
  width: var(--zcu-shell);
  max-width: var(--zcu-shell);
  margin-inline: auto;
  padding: 30px 0 72px;
  font-size: 15px;
  line-height: 1.6;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-content > :is(.woocommerce, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .zcu-progress),
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout).alignwide {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-inline: 0;
  transform: none;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-hero {
  min-height: 0;
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--zcu-journey-line);
  background: linear-gradient(110deg, #eef2df, var(--zcu-paper) 62%);
  color: var(--zcu-header);
  isolation: isolate;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 9% -57px auto;
  width: 150px;
  height: 160px;
  border: 1px solid rgb(23 70 43 / 13%);
  border-radius: 38% 38% 44% 44%;
  box-shadow: 28px -14px 0 12px rgb(217 230 161 / 16%);
  content: "";
  transform: rotate(12deg);
  pointer-events: none;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-hero__inner {
  width: var(--zcu-shell);
  max-width: var(--zcu-shell);
  padding: 0;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-hero h1 {
  margin: 0;
  color: var(--zcu-header);
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.12;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-hero .eyebrow { display: none; }
/* Purchase pages stay focused. The ordinary footer, policies and contact links remain. */
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .membership-band { display: none; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .zcu-progress {
  width: 100%;
  max-width: 100%;
  margin: 0 0 30px;
  padding: 18px 24px;
  border-color: var(--zcu-journey-line);
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .zcu-progress__list { max-width: 640px; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .zcu-progress__link { font-size: 11px; letter-spacing: .08em; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .zcu-progress__number { font-size: 12px; }

/* Woo Blocks uses a wrapping flex layout by default. Fixed percentage widths plus
 * an extra theme gap exceeded 100%. Explicit grid tracks remove that conflict. */
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) {
  margin-block: 0;
  padding-block: 0;
  color: var(--zcu-header);
  font-size: 15px;
  --wp--preset--font-size--small: 14px;
  --wp--preset--color--contrast: var(--zcu-header);
  --wp--preset--color--base: #fff;
  --wc-separator-color: var(--zcu-journey-line);
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-sidebar-layout:not(.wc-block-cart--skeleton) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-sidebar-layout > .wc-block-components-main {
  grid-column: 1;
  grid-row: 1;
  order: 0;
  float: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
  grid-column: 2;
  grid-row: 1;
  order: 1;
  position: relative;
  inset: auto;
  float: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--zcu-journey-line);
  border-top: 3px solid var(--zcu-forest);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--zcu-journey-shadow);
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wc-block-components-main, .wc-block-components-sidebar) > * { min-width: 0; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-cart__submit-container {
  position: relative;
  inset: auto;
  width: 100%;
  padding: 16px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Calls to action must retain legible text, including inherited inner spans.
 * Woo's loading / disabled state and native spinner visibility are untouched. */
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:not(.is-link),
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .woocommerce :is(a.button, button.button, input.button),
body.zomu-commerce-ui--checkout #place_order {
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid var(--zcu-forest);
  border-radius: 9px;
  background: var(--zcu-forest);
  color: #fff !important;
  font: 700 14px/1.4 var(--zcu-sans);
  letter-spacing: .01em;
  text-transform: none;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button:not(.is-link) .wc-block-components-button__text {
  color: inherit !important;
  font: inherit;
  overflow-wrap: normal;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-button:not(.is-link):not(:disabled):hover,
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .woocommerce :is(a.button, button.button):not(:disabled):hover {
  background: var(--zcu-header);
  border-color: var(--zcu-header);
  color: #fff !important;
  transform: none;
  box-shadow: 0 6px 18px rgb(10 34 54 / 12%);
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-button.is-link {
  color: var(--zcu-forest);
  background: none;
  border: 0;
  box-shadow: none;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) { width: 100%; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #92a64c;
  outline-offset: 3px;
}

/* Product rows: readable names, fixed image rhythm, and non-truncated totals. */
body.zomu-commerce-ui--cart table.wc-block-cart-items {
  width: 100%;
  margin: 0;
  border: 1px solid var(--zcu-journey-line);
  border-spacing: 0;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
body.zomu-commerce-ui--cart .wc-block-cart__main table.wc-block-cart-items thead th {
  padding: 17px 20px;
  color: var(--zcu-header);
  background: #eef2e7;
  font: 700 11px/1.4 var(--zcu-sans);
  letter-spacing: .09em;
}
body.zomu-commerce-ui--cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row td {
  padding: 22px 16px;
  border-color: var(--zcu-journey-line);
  vertical-align: top;
}
body.zomu-commerce-ui--cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__image { width: 112px; padding-right: 0; }
body.zomu-commerce-ui--cart .wc-block-cart-item__image a { display: block; }
body.zomu-commerce-ui--cart .wc-block-cart-item__image img {
  width: 88px;
  max-width: 100%;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--zcu-paper);
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-product-name {
  display: block;
  margin: 0 0 8px;
  color: var(--zcu-header);
  font: 650 15px/1.5 var(--zcu-sans);
  text-decoration: none;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wc-block-cart-item__total, .wc-block-components-product-price, .wc-block-formatted-money-amount) {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
body.zomu-commerce-ui--cart .wc-block-cart-item__total { white-space: nowrap; text-align: right; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-product-metadata { color: #68706d; font-size: 12px; line-height: 1.5; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-product-badge {
  margin-top: 7px;
  padding: 3px 7px;
  border: 0;
  border-radius: 4px;
  background: #eef3da;
  color: #39522c;
  font-size: 10px;
  line-height: 1.5;
}
body.zomu-commerce-ui--cart .wc-block-components-quantity-selector { min-width: 108px; min-height: 40px; border-radius: 8px; background: #fff; }
body.zomu-commerce-ui--cart .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  min-width: 32px;
  min-height: 40px;
  height: 40px;
  padding: 0;
  font-size: 14px;
}
body.zomu-commerce-ui--cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { min-width: 34px; min-height: 40px; color: var(--zcu-forest); }
body.zomu-commerce-ui--cart .wc-block-cart-item__remove-link { min-height: 32px; margin-top: 5px; font-size: 12px; font-weight: 500; color: #785360; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-cart__totals-title {
  margin: 0 0 18px;
  color: var(--zcu-header);
  font: 600 24px/1.25 var(--zcu-serif);
  text-transform: none;
  letter-spacing: -.02em;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-totals-wrapper { padding-block: 16px; border-color: var(--zcu-journey-line); }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-totals-item { padding-inline: 0; gap: 14px; font-size: 14px; line-height: 1.6; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-totals-item__value { white-space: nowrap; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-totals-footer-item { margin-top: 6px; color: var(--zcu-header); font-size: 18px; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-totals-coupon { padding-inline: 0; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-totals-coupon__form { align-items: stretch; gap: 8px; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input { min-width: 0; }

/* Native checkout field layout is kept intact; only the outer steps get cards. */
body.zomu-commerce-ui--checkout .wc-block-checkout__main > :is(div, fieldset) {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.zomu-commerce-ui--checkout .wc-block-checkout__main .wc-block-components-checkout-step {
  min-width: 0;
  margin: 0 0 18px;
  padding: 24px;
  border: 1px solid var(--zcu-journey-line);
  border-radius: 16px;
  background: #fff;
}
body.zomu-commerce-ui--checkout .wc-block-components-checkout-step__heading { align-items: center; margin: 0 0 20px; }
body.zomu-commerce-ui--checkout .wc-block-components-checkout-step__title {
  margin: 0;
  color: var(--zcu-header);
  font: 600 clamp(21px, 2vw, 26px)/1.3 var(--zcu-serif);
}
body.zomu-commerce-ui--checkout .wc-block-components-checkout-step__description { margin-top: 10px; color: #65716b; font-size: 13px; line-height: 1.6; }
body.zomu-commerce-ui--checkout .wc-block-components-checkout-step__container { min-width: 0; padding: 0; border-left: 0; }
body.zomu-commerce-ui--checkout .wc-block-components-checkout-step__content { min-width: 0; margin: 0; }
body.zomu-commerce-ui--checkout .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container { padding-left: 0; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-text-input input,
body.zomu-commerce-ui--checkout .wc-block-components-combobox input.components-combobox-control__input,
body.zomu-commerce-ui--checkout .wc-block-components-select .wc-block-components-select__select {
  min-height: 56px;
  max-width: 100%;
  border: 1px solid #cdd4c9;
  border-radius: 8px !important;
  background: #fff;
  color: var(--zcu-header);
  font-size: 15px;
  box-shadow: none;
}
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-text-input input { padding: 23px 14px 7px; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-text-input label { color: #66716b; line-height: 1.5; }
body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) input:is([type="checkbox"], [type="radio"]) {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  padding: 0;
  box-shadow: none;
}
body.zomu-commerce-ui--checkout .wc-block-components-checkbox__label { color: var(--zcu-header); font-size: 13px; line-height: 1.55; }
body.zomu-commerce-ui--checkout .wc-block-components-address-card { min-width: 0; padding: 18px; border-color: var(--zcu-journey-line); border-radius: 9px; background: #f8f9f5; font-size: 13px; line-height: 1.7; }
body.zomu-commerce-ui--checkout .wc-block-components-radio-control-accordion-option { margin-bottom: 10px; border-color: #d8ded3; border-radius: 10px; box-shadow: none; }
body.zomu-commerce-ui--checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted { border-color: var(--zcu-forest); background: #f9fbf3; box-shadow: 0 0 0 1px var(--zcu-forest); }
body.zomu-commerce-ui--checkout .wc-block-components-radio-control__label { min-width: 0; gap: 10px; color: var(--zcu-header); font-size: 14px; font-weight: 650; }
body.zomu-commerce-ui--checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__label { flex-wrap: wrap; }
body.zomu-commerce-ui--checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__label img {
  width: auto;
  max-width: min(180px, 100%);
  height: 24px;
  max-height: 24px;
  margin-left: auto;
  object-fit: contain;
}
body.zomu-commerce-ui--checkout .wc-block-components-radio-control-accordion-content { color: #5a665f; font-size: 13px; line-height: 1.6; }
body.zomu-commerce-ui--checkout .wc-block-checkout__main .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title { display: flex; gap: 10px; align-items: center; }
body.zomu-commerce-ui--checkout .wc-block-checkout__main .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
  position: static;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--zcu-forest);
  background: #edf3d8;
  font: 700 12px/28px var(--zcu-sans);
  text-align: center;
  transform: none;
}
body.zomu-commerce-ui--checkout .wc-block-checkout__main .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__content::before,
body.zomu-commerce-ui--checkout .wc-block-checkout__main .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__description::before { content: none; }
body.zomu-commerce-ui--checkout .wc-block-checkout__actions { margin: 22px 0 0; }
body.zomu-commerce-ui--checkout .wc-block-checkout__actions .wc-block-checkout__actions_row { flex-direction: column-reverse; gap: 18px; }
body.zomu-commerce-ui--checkout .wc-block-components-checkout-return-to-cart-button { font-size: 13px; }
body.zomu-commerce-ui--checkout .wc-block-checkout__terms { padding: 0 4px; color: #65716b; font-size: 12px; line-height: 1.75; }

/* Order summaries cannot borrow the large editorial product type scale. */
body.zomu-commerce-ui--checkout .wc-block-checkout__sidebar .wc-block-components-order-summary { border: 0; }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item { gap: 12px; padding-block: 16px; align-items: start; }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image { flex: 0 0 58px; width: 58px; margin-top: 3px; padding: 0; }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img { width: 58px; max-width: 58px; height: 66px; object-fit: cover; border-radius: 7px; }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__description { flex: 1 1 0; min-width: 0; padding: 0; }
body.zomu-commerce-ui--checkout .wc-block-checkout__sidebar .wc-block-components-product-name { margin-bottom: 4px; font: 650 13px/1.5 var(--zcu-sans); color: var(--zcu-header); }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__total-price { flex: 0 0 auto; max-width: 35%; padding: 0; font-size: 13px; }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__total-price .wc-block-components-product-badge { white-space: normal; }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-product-metadata { font-size: 11px; }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary-item__quantity { color: var(--zcu-forest); }
body.zomu-commerce-ui--checkout .wc-block-components-order-summary-item__quantity span { color: #fff; }

/* Classic WooCommerce remains fully usable when a merchant swaps block types. */
body.zomu-commerce-ui--cart .woocommerce:has(> .woocommerce-cart-form) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: 30px;
  align-items: start;
}
body.zomu-commerce-ui--cart .woocommerce:has(> .woocommerce-cart-form)::before,
body.zomu-commerce-ui--cart .woocommerce:has(> .woocommerce-cart-form)::after { content: none; }
body.zomu-commerce-ui--cart .woocommerce:has(> .woocommerce-cart-form) > :not(.woocommerce-cart-form, .cart-collaterals) { grid-column: 1 / -1; }
body.zomu-commerce-ui--cart .woocommerce .woocommerce-cart-form { min-width: 0; margin: 0; border: 0; background: none; }
body.zomu-commerce-ui--cart .woocommerce .cart-collaterals { display: flex; min-width: 0; width: 100%; flex-direction: column; gap: 24px; }
body.zomu-commerce-ui--cart .woocommerce .cart-collaterals .cart_totals { width: 100%; margin: 0; padding: 24px; border-color: var(--zcu-journey-line); border-top: 3px solid var(--zcu-forest); border-radius: 18px; box-shadow: var(--zcu-journey-shadow); }
body.zomu-commerce-ui--cart .woocommerce .cart-collaterals .cross-sells { order: 2; width: 100%; }
body.zomu-commerce-ui--cart .woocommerce .cart_totals h2 { font-size: 24px; }
body.zomu-commerce-ui--cart .woocommerce table.cart { margin: 0; border-color: var(--zcu-journey-line); border-radius: 16px; }
body.zomu-commerce-ui--cart .woocommerce table.cart :is(th, td) { padding: 16px 12px; }
body.zomu-commerce-ui--cart .woocommerce table.cart .product-name a { font: 650 14px/1.5 var(--zcu-sans); color: var(--zcu-header); }
body.zomu-commerce-ui--cart .woocommerce table.cart td.actions .coupon { flex-wrap: wrap; }
body.zomu-commerce-ui--cart .woocommerce table.cart td.actions .coupon .input-text { width: 150px; }
body.zomu-commerce-ui--cart .woocommerce table.cart td.actions > .button { margin-top: 10px; }
body.zomu-commerce-ui--checkout .woocommerce form.checkout #customer_details { gap: 22px; margin-bottom: 28px; }
body.zomu-commerce-ui--checkout .woocommerce form.checkout #customer_details > :is(.col-1, .col-2) { min-width: 0; border-color: var(--zcu-journey-line); border-radius: 16px; box-shadow: none; }
body.zomu-commerce-ui--checkout .woocommerce #order_review_heading { margin-top: 0; border-color: var(--zcu-journey-line); border-radius: 16px 16px 0 0; color: var(--zcu-header); font-size: 28px; }
body.zomu-commerce-ui--checkout .woocommerce #order_review { min-width: 0; border-color: var(--zcu-journey-line); border-radius: 0 0 16px 16px; box-shadow: var(--zcu-journey-shadow); }
body.zomu-commerce-ui--checkout .woocommerce #payment { background: #f5f7ef; border: 1px solid var(--zcu-journey-line); border-radius: 12px; }
body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods { display: grid; gap: 12px; margin: 0; padding: 20px; list-style: none; }
body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods > li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--zcu-journey-line);
  border-radius: 9px;
  background: #fff;
}
body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods > li > input[type="radio"] { width: 18px; height: 18px; min-width: 18px; min-height: 18px; padding: 0; margin: 0; }
body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods > li > label { display: flex; min-width: 0; flex-wrap: wrap; gap: 9px 16px; align-items: center; margin: 0; color: var(--zcu-header); font-size: 14px; font-weight: 650; }
body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods > li > label img { width: auto; max-width: min(210px, 100%); max-height: 25px; margin: 0 0 0 auto; object-fit: contain; }
body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods > li > .payment_box { grid-column: 1 / -1; width: 100%; margin: 0; padding: 12px; background: #f8faf4; color: #5b675f; font-size: 13px; line-height: 1.6; }
body.zomu-commerce-ui--checkout .woocommerce #payment .payment_box::before { content: none; }
body.zomu-commerce-ui--checkout .woocommerce #payment .payment_box p:last-child { margin-bottom: 0; }
body.zomu-commerce-ui--checkout .woocommerce #payment .place-order { display: flow-root; margin: 0; padding: 20px; }
body.zomu-commerce-ui--checkout .woocommerce #payment #place_order { float: none; width: 100%; margin: 16px 0 0; }
body.zomu-commerce-ui--checkout .woocommerce-privacy-policy-text { color: #65716b; font-size: 13px; line-height: 1.75; }
body.zomu-commerce-ui--checkout .woocommerce .woocommerce-terms-and-conditions-wrapper label { color: var(--zcu-header); font-size: 13px; font-weight: 500; line-height: 1.6; }
body.zomu-commerce-ui--checkout .woocommerce .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { padding: 0; margin-right: 8px; vertical-align: middle; }

/* Pay-for-order receipts belong to the same journey, not a success screen. */
body.zomu-commerce-ui--checkout #order_review table.shop_table { width: 100%; max-width: 100%; table-layout: auto; }
body.zomu-commerce-ui--checkout #order_review table.shop_table :is(th, td) { overflow-wrap: break-word; font-size: 14px; line-height: 1.6; }
body.zomu-commerce-ui--checkout .woocommerce ul.order_details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 24px;
  padding: 8px;
  border: 1px solid var(--zcu-journey-line);
  border-radius: 14px;
  background: #fff;
}
body.zomu-commerce-ui--checkout .woocommerce ul.order_details::before,
body.zomu-commerce-ui--checkout .woocommerce ul.order_details::after { content: none; }
body.zomu-commerce-ui--checkout .woocommerce ul.order_details li { float: none; min-width: 0; margin: 0; padding: 16px; border: 0; font: 500 11px/1.5 var(--zcu-sans); color: #65716b; overflow-wrap: anywhere; }
body.zomu-commerce-ui--checkout .woocommerce ul.order_details li + li { border-left: 1px solid var(--zcu-journey-line); }
body.zomu-commerce-ui--checkout .woocommerce ul.order_details li strong { display: block; margin-top: 6px; color: var(--zcu-header); font-size: 14px; font-weight: 650; }
body.zomu-commerce-ui--checkout .woocommerce .woocommerce-order-details { border-color: var(--zcu-journey-line); border-radius: 16px; box-shadow: none; }
body.zomu-commerce-ui--checkout .woocommerce > #order_review { padding: 24px; border: 1px solid var(--zcu-journey-line); border-radius: 16px; }
body.zomu-commerce-ui--checkout .woocommerce > p { max-width: 76ch; font-size: 14px; line-height: 1.75; }

@media (max-width: 980px) {
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-sidebar-layout:not(.wc-block-cart--skeleton),
  body.zomu-commerce-ui--cart .woocommerce:has(> .woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-sidebar-layout > .wc-block-components-main { grid-column: 1; grid-row: 1; }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-sidebar-layout > .wc-block-components-sidebar { grid-column: 1; grid-row: 2; }
  /* Keep the order summary before the payment form in the narrow native flow. */
  body.zomu-commerce-ui--checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar { grid-row: 1; }
  body.zomu-commerce-ui--checkout .wc-block-components-sidebar-layout > .wc-block-components-main { grid-row: 2; }
  body.zomu-commerce-ui--checkout .woocommerce ul.order_details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.zomu-commerce-ui--checkout .woocommerce ul.order_details li:nth-child(3) { border-left: 0; }
  body.zomu-commerce-ui--cart .woocommerce .cart-collaterals { max-width: none; }
}
@media (max-width: 600px) {
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) { --zcu-shell: calc(100% - 28px); }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-content.entry-content { padding-block: 20px 44px; font-size: 14px; }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-hero { padding-block: 26px 24px; }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .page-hero::after { right: -35px; }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .zcu-progress { margin-bottom: 22px; padding: 16px 8px; border-radius: 12px; }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .zcu-progress__label { font-size: 10px; }
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) .wc-block-components-sidebar-layout > .wc-block-components-sidebar { padding: 20px 16px; border-radius: 13px; }
  body.zomu-commerce-ui--cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row td { padding: 16px 10px; }
  body.zomu-commerce-ui--cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__image { width: 74px; padding-right: 0; }
  body.zomu-commerce-ui--cart .wc-block-cart-item__image img { width: 62px; height: 76px; border-radius: 6px; }
  body.zomu-commerce-ui--cart .wc-block-components-product-name { font-size: 13px; }
  body.zomu-commerce-ui--cart .wc-block-cart-item__total { font-size: 12px; }
  body.zomu-commerce-ui--cart .wc-block-cart-item__total .wc-block-components-product-badge { white-space: normal; }
  body.zomu-commerce-ui--checkout .wc-block-checkout__main .wc-block-components-checkout-step { padding: 20px 16px; border-radius: 13px; }
  body.zomu-commerce-ui--checkout .wc-block-components-checkout-step__title { font-size: 23px; }
  body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item { gap: 10px; }
  body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image { flex-basis: 48px; width: 48px; }
  body.zomu-commerce-ui--checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img { width: 48px; max-width: 48px; height: 58px; }
  body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods { padding: 12px; }
  body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods > li { padding: 12px; }
  body.zomu-commerce-ui--checkout .woocommerce #payment ul.payment_methods > li > label img { margin-left: 0; }
  body.zomu-commerce-ui--checkout .woocommerce #payment .place-order { padding: 16px; }
  body.zomu-commerce-ui--checkout .woocommerce > #order_review { padding: 14px; }
  body.zomu-commerce-ui--checkout #order_review table.shop_table :is(th, td) { padding: 12px 8px; font-size: 12px; }
  body.zomu-commerce-ui--checkout .woocommerce ul.order_details { padding: 4px; }
  body.zomu-commerce-ui--checkout .woocommerce ul.order_details li { padding: 12px; }
  body.zomu-commerce-ui--checkout .woocommerce ul.order_details li strong { font-size: 13px; }
  body.zomu-commerce-ui--cart .woocommerce .cart-collaterals .cart_totals { padding: 20px 16px; border-radius: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body:is(.zomu-commerce-ui--cart, .zomu-commerce-ui--checkout) :is(.wc-block-components-button, a.button, button.button) { transition: none; }
}
