/* Mishio Kachi compact checkout v1.0 — scoped presentation only.
   No edits to Woo form values, gateway inputs, discount or order rules. */
body.mk-checkout-compact {
  --mkco-line:#e4e9e2;
  --mkco-ink:#27392e;
  --mkco-green:#3d6b23;
  --mkco-muted:#6c786c;
}
body.mk-checkout-compact .site-main {max-width:1180px!important;margin-inline:auto}
body.mk-checkout-compact .inside-article {padding:clamp(14px,2.5vw,30px)!important}
body.mk-checkout-compact .entry-header {margin-bottom:7px!important}
body.mk-checkout-compact .entry-title {font-size:clamp(24px,2.3vw,30px)!important;line-height:1.25!important;letter-spacing:-.025em;margin-bottom:0!important}
body.mk-checkout-compact .mkco-quick-nav {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:0 0 15px;padding:2px 0 10px;border-bottom:1px solid var(--mkco-line);color:var(--mkco-muted);font-size:12px;line-height:1.5}
body.mk-checkout-compact .mkco-quick-nav a {color:var(--mkco-green);font-size:12px;font-weight:700;text-decoration:none}
body.mk-checkout-compact .mkco-quick-nav a:hover{text-decoration:underline}
body.mk-checkout-compact .mkco-quick-nav a:focus-visible{outline:2px solid var(--mkco-green);outline-offset:3px}
body.mk-checkout-compact .mk-checkout-head,
body.mk-checkout-compact .mk-checkout-steps,
body.mk-checkout-compact .mk-account-track {display:none!important}
body.mk-checkout-compact .wc-block-checkout {margin-top:0!important}
body.mk-checkout-compact .wc-block-checkout__main {padding:0!important}
body.mk-checkout-compact .wc-block-components-checkout-step {margin:0 0 10px!important;padding:15px 16px!important;border:1px solid var(--mkco-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
body.mk-checkout-compact .wc-block-components-checkout-step__heading {margin:0 0 11px!important}
body.mk-checkout-compact .wc-block-components-checkout-step__title,
body.mk-checkout-compact .wc-block-components-title {color:var(--mkco-ink)!important;font-size:17px!important;font-weight:750!important;line-height:1.35!important}
body.mk-checkout-compact .wc-block-components-checkout-step__description {font-size:12px!important;line-height:1.45!important}
body.mk-checkout-compact .wc-block-components-text-input input,
body.mk-checkout-compact .wc-block-components-combobox-control input,
body.mk-checkout-compact select {min-height:46px!important;border-radius:9px!important}
body.mk-checkout-compact #contact-fields .wc-block-checkout__login-prompt {min-height:30px!important;padding:2px 0!important;background:transparent!important;border-radius:0!important;color:var(--mkco-green)!important;font-size:12px!important;font-weight:700!important;text-decoration:underline!important;text-underline-offset:2px}
body.mk-checkout-compact #contact-fields .wc-block-checkout__create-account {margin-top:8px!important;padding:7px 8px!important;border-radius:8px!important;background:#f7f8f6!important}
body.mk-checkout-compact #contact-fields .wc-block-checkout__create-account .wc-block-components-checkbox__label {font-size:12px!important}
body.mk-checkout-compact #contact-fields #wc-guest-checkout-notice {margin-top:4px!important;font-size:11px!important}
body.mk-checkout-compact .wc-block-checkout__sidebar {position:sticky;top:14px;box-sizing:border-box;padding:15px!important;border:1px solid var(--mkco-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;min-width:0}
body.mk-checkout-compact .wc-block-components-order-summary-item {padding:9px 0!important;gap:8px}
body.mk-checkout-compact .wc-block-components-order-summary-item__image {width:58px!important;min-width:58px!important}
body.mk-checkout-compact .wc-block-components-order-summary-item__image img {border-radius:8px!important}
body.mk-checkout-compact .wc-block-components-order-summary-item__description {min-width:0;padding-left:7px!important;font-size:12px!important;overflow-wrap:anywhere}
body.mk-checkout-compact .wc-block-components-order-summary-item__description .wc-block-components-product-name {display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px!important;font-weight:700!important;line-height:1.45!important}
body.mk-checkout-compact .wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description,
body.mk-checkout-compact .wc-block-components-order-summary-item__description .wc-block-components-sale-badge {display:none!important}
body.mk-checkout-compact .wc-block-components-order-summary-item__total-price {font-size:13px!important;font-weight:750!important;white-space:nowrap}
body.mk-checkout-compact .wc-block-components-totals-coupon {padding:8px 0!important}
body.mk-checkout-compact .wc-block-components-totals-coupon>.wc-block-components-panel__button {min-height:36px!important;font-size:13px!important}
body.mk-checkout-compact .wc-block-components-totals-coupon__form {margin-top:7px!important}
body.mk-checkout-compact .wc-block-components-totals-footer-item {padding:12px 9px 8px!important;gap:12px!important}
body.mk-checkout-compact .wc-block-components-totals-footer-item__value {min-width:0;padding-right:5px!important;text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}
body.mk-checkout-compact .wc-block-components-totals-item__value {font-variant-numeric:tabular-nums}
body.mk-checkout-compact #payment-method {--mk-pay-gap:8px;--mk-pay-radius:10px;--mk-pay-inset:49px}
body.mk-checkout-compact #payment-method .wc-block-components-radio-control__option {min-height:53px;padding-top:10px;padding-bottom:10px}
body.mk-checkout-compact #payment-method .wc-block-components-radio-control__label {font-size:14px;line-height:1.4}
body.mk-checkout-compact #payment-method .wc-block-components-radio-control-accordion-content {padding-bottom:12px;font-size:12px}
body.mk-checkout-compact #order-notes {margin-bottom:10px!important}
body.mk-checkout-compact .mk-shipping-progress {margin:5px 0 9px!important;padding:9px 11px!important;border-radius:9px!important;box-shadow:none!important}
body.mk-checkout-compact .mk-shipping-progress__message {font-size:12px!important;line-height:1.5!important}
body.mk-checkout-compact .mk-shipping-progress__bar,
body.mk-checkout-compact .mk-shipping-progress__fine {display:none!important}
body.mk-checkout-compact .wc-block-checkout__actions_row {margin:8px 0 0!important;padding:0!important}
body.mk-checkout-compact .wc-block-components-checkout-place-order-button {min-height:52px!important;border-radius:10px!important;font-size:15px!important}
body.mk-checkout-compact #mk-footer-connect {display:none!important}
body.mk-checkout-compact .mk-floating-chat,
body.mk-checkout-compact #mkcc-root {display:none!important}
/* Keep the native cookie consent banner functional. Only shrink the settings shortcut. */
body.mk-checkout-compact #mk-consent-manage:not([hidden]) {font-size:11px!important;padding:6px 8px!important;min-height:30px!important}
@media(max-width:767px){
  body.mk-checkout-compact #content {padding:10px 10px 28px!important}
  body.mk-checkout-compact .inside-article {padding:8px!important}
  body.mk-checkout-compact .entry-header {margin-bottom:4px!important}
  body.mk-checkout-compact .entry-title {font-size:24px!important}
  body.mk-checkout-compact .mkco-quick-nav {margin-bottom:10px;font-size:11px}
  body.mk-checkout-compact .mkco-quick-nav a {font-size:11px}
  body.mk-checkout-compact .wc-block-components-sidebar-layout {display:block!important}
  body.mk-checkout-compact .wc-block-components-checkout-step {padding:12px 12px!important;margin-bottom:8px!important;border-radius:11px!important}
  body.mk-checkout-compact .wc-block-components-checkout-step__title,
  body.mk-checkout-compact .wc-block-components-title {font-size:16px!important}
  body.mk-checkout-compact .wc-block-checkout__sidebar {position:static!important;width:100%!important;margin-top:9px!important;padding:12px!important}
  body.mk-checkout-compact .wc-block-components-order-summary-item__image {width:54px!important;min-width:54px!important}
  body.mk-checkout-compact .wc-block-components-order-summary-item__description .wc-block-components-product-name {font-size:12px!important}
  body.mk-checkout-compact .wc-block-components-totals-footer-item__value {font-size:19px!important}
  body.mk-checkout-compact .wc-block-checkout__actions_row {padding-bottom:max(10px,env(safe-area-inset-bottom,0px))!important}
  body.mk-checkout-compact .wc-block-components-checkout-place-order-button {min-height:49px!important}
  body.mk-checkout-compact #mk-consent-manage:not([hidden]) {bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;left:6px!important;right:auto!important}
}
/* Cart: remove redundant promotional preamble, keep all live cart controls. */
@media(max-width:767px){
  body.woocommerce-cart .mk-cart-intro {padding:10px 12px!important;margin-bottom:8px!important}
  body.woocommerce-cart .mk-cart-intro .mk-step-kicker,
  body.woocommerce-cart .mk-cart-intro small {display:none!important}
  body.woocommerce-cart .mk-cart-intro strong {font-size:16px!important}
  body.woocommerce-cart .mk-cart-assurance {display:none!important}
}

/* Cart footer stays focused on checkout; legal/policy links remain in the footer. */
body.woocommerce-cart #mk-footer-connect,
body.woocommerce-cart .mk-floating-chat,
body.woocommerce-cart #mkcc-root {display:none!important}
body.woocommerce-cart .mk-cart-intro {padding:12px 15px!important;box-shadow:none!important}
body.woocommerce-cart .mk-cart-intro small {max-width:520px;font-size:12px!important;line-height:1.5!important}
body.woocommerce-cart .mk-cart-assurance {margin-block:8px 12px!important}
@media(max-width:767px){
 body.woocommerce-cart .mk-cart-intro {padding:9px 11px!important}
 body.woocommerce-cart .mk-cart-intro small,
 body.woocommerce-cart .mk-cart-intro .mk-step-kicker {display:none!important}
 body.woocommerce-cart .mk-cart-assurance {display:none!important}
}

/* MK checkout mobile safe spacing + restore freeship bar | 2026-11-05 | BEGIN
   Presentation only: pricing, discounts and shipping thresholds come from WooCommerce. */
body.mk-checkout-compact .wc-block-checkout__sidebar {
  overflow:visible!important;
}
body.mk-checkout-compact .wc-block-components-order-summary-item {
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
  padding:12px 11px!important;
  gap:9px!important;
}
body.mk-checkout-compact .wc-block-components-order-summary-item__description {
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
body.mk-checkout-compact .wc-block-components-order-summary-item__total-price {
  box-sizing:border-box!important;
  max-width:100%!important;
  padding-right:0!important;
  text-align:right!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums;
}
body.mk-checkout-compact .wc-block-components-totals-footer-item {
  box-sizing:border-box!important;
  min-width:0!important;
  padding:14px 12px 10px!important;
}
body.mk-checkout-compact .wc-block-components-totals-footer-item__value {
  padding-right:0!important;
  margin-right:0!important;
  text-align:right!important;
}
body.mk-checkout-compact .mk-shipping-progress {
  box-sizing:border-box!important;
  margin:10px 0 12px!important;
  padding:11px 12px!important;
  background:#f5faf7!important;
  border:1px solid #dbe8e2!important;
  border-radius:10px!important;
}
body.mk-checkout-compact .mk-shipping-progress__message {
  display:block!important;
  line-height:1.5!important;
  font-size:13px!important;
}
body.mk-checkout-compact .mk-shipping-progress__bar {
  display:block!important;
  width:100%!important;
  height:6px!important;
  margin:9px 0 7px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:#d9e5dc!important;
}
body.mk-checkout-compact .mk-shipping-progress__bar span {
  display:block!important;
  max-width:100%!important;
  height:100%!important;
  border-radius:999px!important;
  background:#3f8168!important;
}
body.mk-checkout-compact .mk-shipping-progress__fine {
  display:block!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.45!important;
  color:#4e665e!important;
}
@media(max-width:767px){
  body.mk-checkout-compact #content {
    box-sizing:border-box!important;
    padding-inline:12px!important;
  }
  body.mk-checkout-compact .wc-block-checkout__sidebar {
    box-sizing:border-box!important;
    width:100%!important;
    padding:15px 13px!important;
    margin-inline:0!important;
  }
  body.mk-checkout-compact .wc-block-components-order-summary-item {
    padding:12px 9px!important;
    margin-inline:0!important;
    min-width:0!important;
  }
  body.mk-checkout-compact .wc-block-components-order-summary-item__image {
    min-width:52px!important;
    width:52px!important;
  }
  body.mk-checkout-compact .wc-block-components-order-summary-item__description {
    padding-inline:7px 3px!important;
    font-size:13px!important;
  }
  body.mk-checkout-compact .wc-block-components-order-summary-item__total-price {
    font-size:13px!important;
    padding-inline-end:4px!important;
  }
  body.mk-checkout-compact .wc-block-components-totals-item {
    box-sizing:border-box!important;
    min-width:0!important;
    gap:8px!important;
    padding-inline:3px!important;
  }
  body.mk-checkout-compact .wc-block-components-totals-footer-item {
    margin-inline:0!important;
    padding:15px 9px 11px!important;
    gap:8px!important;
  }
  body.mk-checkout-compact .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
  body.mk-checkout-compact .wc-block-components-totals-footer-item__value {
    min-width:0!important;
    padding-right:3px!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  body.mk-checkout-compact .mk-shipping-progress {
    padding:11px 12px!important;
    margin:10px 0 11px!important;
  }
  body.mk-checkout-compact .mk-shipping-progress__message {
    font-size:12.5px!important;
  }
}
/* END MK checkout mobile spacing + freeship progress 2026-11-05 */

/*
 * MK Checkout Readability & VAT Layout v1 — 2026-11-05
 * Scoped exclusively to checkout. Visual-only: WooCommerce owns prices and tax lines.
 */
body.mk-v7.woocommerce-checkout.mk-checkout-compact {
  --mkco-reading-size: 16px;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact .wc-block-checkout__main {
  font-size:var(--mkco-reading-size)!important;
  line-height:1.55!important;
}
/* Keep section titles readable without oversized decorative headings. */
body.mk-v7.woocommerce-checkout.mk-checkout-compact
:is(.wc-block-components-checkout-step__title,.wc-block-components-title) {
  font-size:19px!important;
  line-height:1.4!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
:is(.wc-block-components-checkout-step__description,.wc-block-checkout__guest-checkout-notice,#wc-guest-checkout-notice) {
  font-size:14px!important;
  line-height:1.55!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
#contact-fields .wc-block-checkout__login-prompt {
  font-size:14px!important;
  min-height:32px!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
#contact-fields .wc-block-checkout__create-account .wc-block-components-checkbox__label {
  font-size:15px!important;
  line-height:1.5!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
:is(.wc-block-components-checkbox__label,.wc-block-components-radio-control__label,.wc-block-components-radio-control__secondary-label) {
  font-size:15px!important;
  line-height:1.5!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
#payment-method .wc-block-components-radio-control__label {
  font-size:16px!important;
  line-height:1.45!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
#payment-method :is(.wc-block-components-radio-control-accordion-content,.wc-block-components-radio-control__description) {
  font-size:14px!important;
  line-height:1.55!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
:is(.wc-block-components-text-input label,.wc-block-components-combobox-control label,.wc-block-components-form .wc-block-components-label) {
  font-size:14px!important;
  line-height:1.5!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
:is(.wc-block-components-text-input input,.wc-block-components-combobox-control input,select,textarea) {
  font-size:16px!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
  font-size:14px!important;
  line-height:1.48!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-order-summary-item__total-price {
  font-size:15px!important;
  line-height:1.45!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
:is(.wc-block-components-totals-coupon>.wc-block-components-panel__button,.wc-block-components-totals-coupon__form button) {
  font-size:15px!important;
  line-height:1.4!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-totals-coupon__form input {
  font-size:16px!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value) {
  font-size:15px!important;
  line-height:1.45!important;
}
/* VAT is a separate, wrapping note BELOW the amount.
   Woo Blocks 11 default uses white-space:pre on this exact tax paragraph.
   With mixed 5%/8% rates, that created one crowded horizontal line. */
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-totals-footer-item {
  min-width:0!important;
  box-sizing:border-box!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  row-gap:4px!important;
  column-gap:10px!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value) {
  font-size:clamp(20px,5.2vw,23px)!important;
  line-height:1.35!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-totals-footer-item .wc-block-components-totals-item__description {
  box-sizing:border-box!important;
  display:block!important;
  flex:1 0 100%!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:8px 0 0!important;
  padding:7px 0 0!important;
  border-top:1px solid #e4eae4!important;
  color:#58675b!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.6!important;
  text-align:left!important;
  white-space:normal!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax {
  display:block!important;
  align-items:initial!important;
  flex-direction:initial!important;
  flex-wrap:wrap!important;
  white-space:normal!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  font-weight:450!important;
  line-height:1.6!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax-value {
  font-size:inherit!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.mkco-quick-nav,
body.mk-v7.woocommerce-checkout.mk-checkout-compact
.mkco-quick-nav a {
  font-size:14px!important;
  line-height:1.5!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact .mk-shipping-progress__message {
  font-size:14px!important;
  line-height:1.55!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact .mk-shipping-progress__fine {
  font-size:13px!important;
  line-height:1.5!important;
}
body.mk-v7.woocommerce-checkout.mk-checkout-compact .wc-block-components-checkout-place-order-button {
  font-size:17px!important;
  line-height:1.45!important;
}
@media(max-width:767px){
  body.mk-v7.woocommerce-checkout.mk-checkout-compact .wc-block-components-checkout-step {
    padding:14px!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact
  :is(.wc-block-components-checkout-step__title,.wc-block-components-title) {
    font-size:18px!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact .wc-block-components-totals-footer-item {
    padding:14px 10px 11px!important;
    gap:4px 9px!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact
  .wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax {
    max-width:min(100%,33ch)!important;
    white-space:normal!important;
    font-size:14px!important;
    line-height:1.6!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact
  .wc-block-components-totals-footer-item .wc-block-components-totals-item__description {
    margin-top:8px!important;
    font-size:14px!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact .mkco-quick-nav {
    gap:9px!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact .mkco-quick-nav a {
    font-size:14px!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact
  .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-size:14px!important;
  }
  body.mk-v7.woocommerce-checkout.mk-checkout-compact
  .wc-block-components-order-summary-item__total-price {
    font-size:14px!important;
  }
}
@media(max-width:360px){
  body.mk-v7.woocommerce-checkout.mk-checkout-compact
  .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value) {
    font-size:19px!important;
  }
}
/* END MK checkout readability & VAT v1 */
