.mk-order-notice {
  --mk-ink: #153658;
  --mk-text: #243a50;
  --mk-muted: #52616e;
  --mk-line: #d9e1e7;
  --mk-paper: #f4f7fa;
  --mk-ease: cubic-bezier(.22, 1, .36, 1);
  --mk-dur-ui: 240ms;
  --mk-dur-reveal: 560ms;
  box-sizing: border-box;
  margin: 24px 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 2px solid var(--mk-ink);
  border-bottom: 1px solid var(--mk-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mk-text);
  text-align: left;
  overflow-wrap: anywhere;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}

.wc-block-checkout__actions > .mk-order-notice {
  width: 100%;
}

:is(.entry-body, .error404 .main-section, body) section.mk-order-notice > h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--mk-ink);
  margin: 0 0 24px;
  padding: 0;
  border-bottom: 0;
  background: transparent;
  text-align: left;
}

.mk-order-notice dl {
  margin: 0;
  padding: 0;
}

.mk-order-notice .mk-notice-row {
  display: grid;
  grid-template-columns: minmax(6.5em, 7.5em) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  padding: 8px 0;
  border-top: 1px solid var(--mk-line);
  align-items: baseline;
}

.mk-order-notice dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--mk-muted);
  line-height: 1.5;
}

.mk-order-notice dd {
  min-width: 0;
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--mk-text);
  line-height: 1.65;
}

.mk-order-notice .mk-notice-key {
  display: block;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mk-ink);
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.mk-order-notice .mk-notice-detail {
  display: block;
}

/* Custom order cancellation warning: no colored box, marked with ※ and bold text */
.mk-order-notice .mk-notice-row--caution dt {
  color: var(--mk-ink);
}

.mk-order-notice .mk-notice-row--caution dd,
.mk-order-notice .mk-notice-row--caution .mk-notice-detail {
  font-weight: 700;
  color: var(--mk-text);
}

.mk-order-notice .mk-notice-row--caution .mk-notice-detail::before {
  content: "※";
  font-weight: 700;
  margin-right: 4px;
  color: var(--mk-ink);
}

/* Custom order numbered timeline */
.mk-order-notice ol.mk-order-steps {
  counter-reset: mk-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mk-order-notice ol.mk-order-steps li {
  counter-increment: mk-step;
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  min-height: 24px;
  line-height: 1.6;
}

.mk-order-notice ol.mk-order-steps li + li {
  margin-top: 8px;
}

.mk-order-notice ol.mk-order-steps li::before {
  content: counter(mk-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mk-ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mk-order-notice ol.mk-order-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: -8px;
  width: 2px;
  background: var(--mk-line);
}

/* Checkout calm check items */
.mk-order-notice .mk-notice-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mk-order-notice .mk-notice-check-content {
  min-width: 0;
  flex: 1 1 auto;
}

.mk-order-notice .mk-check-icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

/* Cart free shipping progress bar (only place using --mk-paper) */
.mk-order-notice .mk-free-shipping-bar {
  margin: 0 0 24px;
  padding: 16px;
  background: var(--mk-paper);
  border-bottom: 1px solid var(--mk-line);
}

.mk-order-notice .mk-fs-status {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--mk-text);
  line-height: 1.5;
}

.mk-order-notice .mk-fs-remain {
  font-size: 22px;
  font-weight: 900;
  color: var(--mk-ink);
  font-variant-numeric: tabular-nums;
}

.mk-order-notice .mk-fs-done {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.mk-order-notice .mk-fs-check-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
}

.mk-order-notice .mk-fs-check {
  width: 24px;
  height: 24px;
  display: block;
}

.mk-order-notice .mk-fs-done-text {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--mk-ink);
  line-height: 1.4;
}

.mk-order-notice .mk-fs-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--mk-ink);
  opacity: 0;
  pointer-events: none;
}

.mk-order-notice .mk-fs-spark:nth-of-type(even) {
  background: var(--mk-muted);
}

.mk-order-notice .mk-fs-track-wrap {
  container-type: inline-size;
  position: relative;
  padding-top: 24px;
  margin: 0 0 8px;
}

.mk-order-notice .mk-fs-truck {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 20px;
  color: var(--mk-ink);
  transform: translateX(clamp(0px, calc(var(--mk-fs-pct, 0) * 1cqi - 14px), calc(100cqi - 28px)));
}

.mk-order-notice .mk-fs-track {
  position: relative;
  height: 8px;
  background: var(--mk-line);
  overflow: hidden;
}

.mk-order-notice .mk-fs-fill {
  width: 100%;
  height: 100%;
  background: var(--mk-ink);
  transform-origin: left center;
  transform: scaleX(var(--mk-fs-ratio, 0));
}

.mk-order-notice .mk-fs-scale {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--mk-muted);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.mk-order-notice .mk-fs-scale > span:first-child {
  flex: none;
  white-space: nowrap;
}

.mk-order-notice .mk-fs-scale > span:last-child {
  text-align: right;
  white-space: nowrap;
}

.mk-visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Shipping reference table on /usage-guide/ */
.mk-shipping-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.mk-shipping-table table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
}

.mk-shipping-table td,
.mk-shipping-table th {
  padding: 8px;
  border: 1px solid #d9e1e7;
}

.mk-shipping-table small {
  display: block;
  white-space: nowrap;
}

/* Motion: opt-in only, 1-time reveal & interaction response (no looping motion) */
@keyframes mkNoticeRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mkCheckPop {
  0% {
    opacity: 0;
    transform: scale(.65);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mkCheckDraw {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mkFsBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.4);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-pending-reveal,
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-pending-reveal .mk-notice-row,
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-pending-reveal ol.mk-order-steps li {
    opacity: 0;
    transform: translateY(8px);
  }

  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed {
    animation: mkNoticeRise var(--mk-dur-reveal) var(--mk-ease) 1 both;
  }

  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row {
    animation: mkNoticeRise var(--mk-dur-reveal) var(--mk-ease) 1 both;
  }

  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(1) { animation-delay: 60ms; }
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(2) { animation-delay: 120ms; }
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(3) { animation-delay: 180ms; }
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(4) { animation-delay: 240ms; }
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(5) { animation-delay: 300ms; }
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(6) { animation-delay: 360ms; }
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(7) { animation-delay: 420ms; }
  .mk-order-notice:not([data-mk-order-notice="checkout"]).is-revealed .mk-notice-row:nth-child(8) { animation-delay: 480ms; }

  .mk-order-notice.is-revealed ol.mk-order-steps li {
    animation: mkNoticeRise var(--mk-dur-reveal) var(--mk-ease) 1 both;
  }
  .mk-order-notice.is-revealed ol.mk-order-steps li:nth-child(1) { animation-delay: 60ms; }
  .mk-order-notice.is-revealed ol.mk-order-steps li:nth-child(2) { animation-delay: 120ms; }
  .mk-order-notice.is-revealed ol.mk-order-steps li:nth-child(3) { animation-delay: 180ms; }
  .mk-order-notice.is-revealed ol.mk-order-steps li:nth-child(4) { animation-delay: 240ms; }

  /* Checkout: only the 3 checkmarks enter sequentially */
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-check-icon {
    animation: mkCheckPop var(--mk-dur-ui) var(--mk-ease) 1 both;
  }
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-check-icon polyline {
    stroke-dasharray: 24;
    animation: mkCheckDraw var(--mk-dur-ui) var(--mk-ease) 1 both;
  }
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-notice-row[data-mk-check-step="1"] .mk-check-icon,
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-notice-row[data-mk-check-step="1"] .mk-check-icon polyline {
    animation-delay: 60ms;
  }
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-notice-row[data-mk-check-step="2"] .mk-check-icon,
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-notice-row[data-mk-check-step="2"] .mk-check-icon polyline {
    animation-delay: 240ms;
  }
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-notice-row[data-mk-check-step="3"] .mk-check-icon,
  .mk-order-notice[data-mk-order-notice="checkout"].is-revealed .mk-notice-row[data-mk-check-step="3"] .mk-check-icon polyline {
    animation-delay: 420ms;
  }

  /* Cart free-shipping bar interaction response */
  .mk-order-notice .mk-fs-fill,
  .mk-order-notice .mk-fs-truck {
    transition: transform var(--mk-dur-reveal) var(--mk-ease);
  }

  .mk-order-notice .mk-fs-check-wrap.is-celebrating .mk-fs-check {
    animation: mkCheckPop var(--mk-dur-reveal) var(--mk-ease) 1 both;
  }

  .mk-order-notice .mk-fs-check-wrap.is-celebrating .mk-fs-spark {
    animation: mkFsBurst var(--mk-dur-reveal) var(--mk-ease) 1 both;
  }

  .wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]),
  .wp-block-woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__select,
  .wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-textarea {
    transition: border-color var(--mk-dur-ui) var(--mk-ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-order-notice,
  .mk-order-notice *,
  .mk-order-notice *::before,
  .mk-order-notice *::after,
  .wp-block-woocommerce-checkout .wc-block-checkout__form *,
  .wp-block-woocommerce-checkout .wc-block-checkout__form *::before,
  .wp-block-woocommerce-checkout .wc-block-checkout__form *::after {
    animation: none !important;
    transition: none !important;
  }

  .mk-order-notice.is-pending-reveal,
  .mk-order-notice.is-pending-reveal .mk-notice-row,
  .mk-order-notice.is-pending-reveal ol.mk-order-steps li {
    opacity: 1;
    transform: none;
  }
}

/* Empty cart: remove WooCommerce sad-face icon (specificity 0,3,1 > WC 11.2.2 0,2,1); keep heading text */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before,
.wp-block-woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  content: none;
  display: none;
}

/* Checkout form steps, inputs, selects, textarea, checkboxes & radio options (left form only; right order summary untouched) */
.wp-block-woocommerce-checkout .wc-block-checkout__form {
  --mk-ink: #153658;
  --mk-text: #243a50;
  --mk-muted: #52616e;
  --mk-line: #d9e1e7;
  --mk-ease: cubic-bezier(.22, 1, .36, 1);
  --mk-dur-ui: 240ms;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--mk-text);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step {
  border: 0;
  border-top: 2px solid var(--mk-ink);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin: 0 0 24px;
  padding: 16px 0 0;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__heading-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 24px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

/* Out-specify Lightning-child page.css h2 rules (0,3,1 and 0,4,1) and WC .wc-block-components-title (0,2,0) */
:is(.entry-body, .error404 .main-section, body) .wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__heading :is(h2, h3).wc-block-components-checkout-step__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--mk-ink);
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 0;
  background: transparent;
  text-align: left;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__heading-content,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__description {
  font-size: 12px;
  color: var(--mk-muted);
  line-height: 1.5;
}

/* Text inputs: square, shadowless, white bg, 1px --mk-muted border, 2px --mk-ink focus; preserve WC .has-error red */
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]) {
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input:not(.has-error) input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]) {
  border: 1px solid var(--mk-muted);
  color: var(--mk-text);
  padding: 16px 12px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input.is-active input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]),
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input input:-webkit-autofill {
  padding: 24px 12px 8px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input:not(.has-error) input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]):is(:focus, :focus-within, :focus-visible) {
  background-color: #ffffff;
  border: 2px solid var(--mk-ink);
  color: var(--mk-text);
  outline: 2px solid transparent;
  outline-offset: -2px;
  box-shadow: none;
  padding: 15px 11px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input.is-active:not(.has-error) input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]):is(:focus, :focus-within, :focus-visible),
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input:not(.has-error) input:-webkit-autofill:is(:focus, :focus-within, :focus-visible) {
  padding: 23px 11px 7px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input label {
  font-family: 'Noto Sans JP', sans-serif;
  transition: none;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input:not(.has-error) label {
  color: var(--mk-muted);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input.is-active label,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input input:-webkit-autofill + label {
  font-size: 12px;
  line-height: 1.3;
  top: 6px;
  left: 12px;
  transform: none;
}

/* Select inputs (お届け先について・国または地域・都道府県): square, shadowless, white bg; preserve .has-error red */
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__container {
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__select {
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  padding: 18px 36px 4px 12px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form :not(.has-error) > .wc-blocks-components-select .wc-blocks-components-select__select {
  border: 1px solid var(--mk-muted);
  color: var(--mk-text);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form :not(.has-error) > .wc-blocks-components-select .wc-blocks-components-select__select:is(:focus, :focus-visible) {
  border: 2px solid var(--mk-ink);
  outline: 2px solid transparent;
  outline-offset: -2px;
  box-shadow: none;
  padding: 17px 35px 3px 11px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  left: 12px;
  top: 6px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form :not(.has-error) > .wc-blocks-components-select .wc-blocks-components-select__label {
  color: var(--mk-muted);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form :not(.has-error) > .wc-blocks-components-select .wc-blocks-components-select__expand {
  fill: var(--mk-muted);
}

/* Textarea (注文メモ) */
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-textarea {
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-textarea:not(.has-error) {
  border: 1px solid var(--mk-muted);
  color: var(--mk-text);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-textarea::placeholder {
  color: var(--mk-muted);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-textarea:not(.has-error):is(:focus, :focus-visible) {
  background-color: #ffffff;
  border: 2px solid var(--mk-ink);
  outline: 2px solid transparent;
  outline-offset: -2px;
  box-shadow: none;
  padding: 11px;
}

/* Checkboxes */
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkbox:not(.has-error) .wc-block-components-checkbox__input[type="checkbox"] {
  border: 1px solid var(--mk-muted);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkbox:not(.has-error) .wc-block-components-checkbox__input[type="checkbox"]:checked {
  background-color: #ffffff;
  border-color: var(--mk-ink);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkbox:not(.has-error) .wc-block-components-checkbox__input[type="checkbox"]:is(:focus, :focus-visible) {
  border-color: var(--mk-ink);
  outline: 2px solid var(--mk-ink);
  outline-offset: 2px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkbox:not(.has-error) .wc-block-components-checkbox__mark {
  fill: var(--mk-ink);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkbox:not(.has-error) .wc-block-components-checkbox__label {
  font-size: 13.5px;
  color: var(--mk-text);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-checkout__use-address-for-billing {
  margin-top: 12px;
}

/* Shipping & payment options: 1px ruled table rows, no rounded box, 2px --mk-ink left bar on selected, no bg fill */
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control.wc-block-components-radio-control--highlight-checked {
  border: 0;
  border-top: 1px solid var(--mk-line);
  border-bottom: 1px solid var(--mk-line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control.wc-block-components-radio-control--highlight-checked::after,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option::after,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option::after {
  content: none;
  display: none;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked > label.wc-block-components-radio-control__option {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--mk-line);
  border-left: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 16px 12px 44px;
  color: var(--mk-text);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked > label.wc-block-components-radio-control__option:first-child {
  border-top: 0;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked > label.wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked > label.wc-block-components-radio-control__option.wc-block-components-radio-control__option--checked-option-highlighted,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked > label.wc-block-components-radio-control__option:has(input.wc-block-components-radio-control__input:checked) {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-left: 2px solid var(--mk-ink);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--mk-line);
  border-left: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option:first-child {
  border-top: 0;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option:has(input.wc-block-components-radio-control__input:checked) {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-left: 2px solid var(--mk-ink);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 16px 12px 44px;
  color: var(--mk-text);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control-accordion-content {
  padding: 0 16px 16px 44px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mk-text);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control .wc-block-components-radio-control__input {
  background-color: #ffffff;
  border: 1px solid var(--mk-muted);
  left: 12px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
  border: 1px solid var(--mk-ink);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
  background: var(--mk-ink);
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control .wc-block-components-radio-control__input:is(:focus, :focus-visible) {
  outline: 2px solid var(--mk-ink);
  outline-offset: 2px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control__label,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control__secondary-label {
  font-size: 13.5px;
  color: var(--mk-text);
  font-variant-numeric: tabular-nums;
}

.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control__option-checked .wc-block-components-radio-control__label,
.wp-block-woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control-accordion-option--checked-option-highlighted .wc-block-components-radio-control__label {
  font-weight: 700;
  color: var(--mk-ink);
}

@media (max-width: 480px) {
  .mk-order-notice .mk-notice-row {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
}
