/**
 * Mobile Order templates (app-like screens).
 * Desktop continues to use mmmart-v2.css only.
 */

/* Full-screen return / cancel pages */
.mm-od-mobile-page {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.mm-od-mobile-page:has(> .mm-od-flow-screen__head) {
  padding-top: calc(60px + env(safe-area-inset-top, 0px)) !important;
}
.mm-od-mobile-page .mm-od-flow-screen__head {
  display: flex !important;
  align-items: center;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 480;
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: var(--mm-primary, #F15E22);
  color: #fff;
}

.mm-od-mobile-page .mm-od-flow-screen__back {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.mm-od-mobile-page .mm-od-flow-screen__title {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: #fff;
}

.mm-od-mobile-page .mm-od-flow-screen__spacer {
  width: 40px;
  flex-shrink: 0;
}

.mm-od-mobile-page .mm-od-flow-screen__body {
  padding: 12px 16px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  background: #FFFFFF;
  min-height: calc(100dvh - 60px);
}

.mm-od-mobile-page .mm-od-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 0;
  padding: 16px;
  box-shadow: none;
}

/* Return wizard: only active step on mobile pages */
.mm-od-mobile-page .mm-od-return-step:not(.is-active) {
  display: none;
}

/* App FlowScreen footer — fixed Continue bar */
.mm-od-mobile-page .mm-od-return-nav {
  display: flex !important;
  gap: 10px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  margin: 0;
  padding: 12px 20px calc(8px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-sizing: border-box;
}

.mm-od-mobile-page .mm-od-return-nav .mm-btn {
  flex: 1;
  min-height: 50px;
  border-radius: 25px;
  width: 100%;
}

.mm-od-mobile-page .d-none {
  display: none !important;
}

/* Mobile order detail: always show mobile address block */
.mm-od--mobile-only {
  display: block !important;
}

/* App SelectRing variant=dot — item multi-select (ring + center disc). Keep ring design. */
.mm-od-mobile-page .mm-od-return-item {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.mm-od-mobile-page .mm-od-return-item__ring {
  width: 20px;
  height: 20px;
  margin-top: 26px;
  border-radius: 50%;
  border: 1.5px solid #D0D0D0;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}
.mm-od-mobile-page .mm-od-return-item input:checked + .mm-od-return-item__ring {
  background: #fff;
  border-color: var(--mm-primary, #F15E22);
}
.mm-od-mobile-page .mm-od-return-item input:checked + .mm-od-return-item__ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border: 0;
  border-radius: 50%;
  background: var(--mm-primary, #F15E22);
  transform: none;
}
.mm-od-mobile-page .mm-od-return-item__adj {
  display: block;
  font-size: 12px;
  color: #898989;
}
.mm-od-mobile-page .mm-od-return-item__adj.is-cancel,
.mm-od-mobile-page .mm-od-return-item__adj.is-return {
  color: #D32F2F;
}
.mm-od-mobile-page .mm-od-return-summary__meta .mm-od-return-item__qty,
.mm-od-mobile-page .mm-od-return-summary__meta .mm-od-return-item__adj {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #898989;
}
.mm-od-mobile-page .mm-od-return-summary__meta .mm-od-return-item__adj.is-cancel,
.mm-od-mobile-page .mm-od-return-summary__meta .mm-od-return-item__adj.is-return {
  color: #D32F2F;
}
.mm-od-mobile-page .mm-od-return-item__card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: #F9FAFA;
  box-shadow: 0 1px 2px rgba(19, 19, 19, 0.04);
}
.mm-od-mobile-page .mm-od-return-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f3f3;
}
/* Line1 title · Line2 xN+price · Line3 return qty — fit thumb height */
.mm-od-mobile-page .mm-od-return-item__meta {
  flex: 1;
  min-width: 0;
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mm-od-mobile-page .mm-od-return-item__title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #222;
}
.mm-od-mobile-page .mm-od-return-item__mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mm-od-mobile-page .mm-od-return-item__qty {
  font-size: 13px;
  font-weight: 400;
  color: #898989;
}
.mm-od-mobile-page .mm-od-return-item__price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}
.mm-od-mobile-page .mm-od-return-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
}
.mm-od-mobile-page .mm-od-return-qty__label {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 8px;
  font-size: 13px;
  line-height: 1.2;
  color: #898989;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-od-mobile-page .mm-od-return-qty__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 32px;
  gap: 0;
  padding: 0 4px;
  border-radius: 16px;
  border: 1px solid #E7E7E7;
  background: #FFFFFF;
  box-sizing: border-box;
}
.mm-od-mobile-page .mm-od-return-qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  border: 1px solid #E7E7E7;
  background: #FFFFFF;
  color: var(--mm-primary, #F15E22);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.mm-od-mobile-page .mm-od-return-qty__btn.js-return-qty-plus {
  border: 0;
  background: var(--mm-primary, #F15E22);
  color: #FFFFFF;
}
.mm-od-mobile-page .mm-od-return-qty__btn.is-disabled {
  color: #B8B8B8;
  border-color: #E7E7E7;
  pointer-events: none;
}
.mm-od-mobile-page .mm-od-return-qty__btn.js-return-qty-plus.is-disabled {
  background: #E7E7E7;
  border: 0;
  color: #B8B8B8;
}
.mm-od-mobile-page .mm-od-return-qty__btn:active:not(.is-disabled) {
  opacity: 0.85;
}
.mm-od-mobile-page .mm-od-return-qty__input {
  position: static;
  opacity: 1;
  pointer-events: auto;
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  height: 26px;
  border: 0;
  border-radius: 0;
  background: #FFFFFF;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  color: #131313;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.mm-od-mobile-page .mm-od-return-qty__input::-webkit-outer-spin-button,
.mm-od-mobile-page .mm-od-return-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Keep review/evidence photos as 72px thumbs (not full-bleed) */
.mm-od-mobile-page .mm-od-photo-preview--review img,
.mm-od-mobile-page .mm-od-photo-preview img {
  width: 72px;
  height: 72px;
  max-height: none;
  object-fit: cover;
  border-radius: 10px;
}

/* Policy accept row — orange ring; checkmark when accepted */
.mm-od-mobile-page .mm-od-check--policy {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.mm-od-mobile-page .mm-od-check--policy > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.mm-od-mobile-page .mm-od-policy-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--mm-primary, #F15E22);
  background: #fff;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}
.mm-od-mobile-page .mm-od-policy-ring.is-checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--mm-primary, #F15E22);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mm-od-mobile-page .mm-od-policy-copy {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #131313;
}
.mm-od-mobile-page .mm-od-policy-copy:not([data-policy-hydrated="1"]) {
  visibility: hidden;
}
.mm-od-mobile-page .mm-od-policy-copy__heading {
  margin: 20px 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #131313;
}
.mm-od-mobile-page .mm-od-policy-copy__line {
  margin: 0 0 10px;
}
.mm-od-mobile-page .mm-od-policy-copy__line--section {
  margin-top: 8px;
  color: #131313;
}
.mm-od-mobile-page .mm-od-policy-copy__line--bullet {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}
.mm-od-mobile-page .mm-od-policy-copy__bullet {
  width: 16px;
  flex: 0 0 16px;
}
.mm-od-mobile-page .mm-od-policy-copy strong,
.mm-od-mobile-page .mm-od-policy-copy__line--section strong,
.mm-od-mobile-page .mm-od-policy-copy__heading {
  /* Prefer Open Sans Bold (EN/JA); Noto Sans Myanmar Bold for MM glyphs. */
  font-family: "Open Sans", "Noto Sans Myanmar", "Myanmar3", "Myanmar Text", "Padauk", sans-serif;
  font-weight: 700;
  color: #131313;
}
.mm-od-mobile-page .mm-od-policy-copy strong {
  font-weight: 700;
}

.mm-od-mobile-page .mm-od-policy-table {
  width: 100%;
  margin: 4px 0 14px;
  border-collapse: collapse;
  border: 1px solid #D0D0D0;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.45;
  color: #131313;
}
.mm-od-mobile-page .mm-od-policy-table th,
.mm-od-mobile-page .mm-od-policy-table td {
  padding: 10px 8px;
  border: 1px solid #D0D0D0;
  vertical-align: top;
  text-align: left;
  word-break: break-word;
}
.mm-od-mobile-page .mm-od-policy-table thead th {
  width: 32%;
  background: #2F2F2F;
  color: #fff;
  font-weight: 700;
}
.mm-od-mobile-page .mm-od-policy-table thead th:last-child {
  width: 68%;
}
.mm-od-mobile-page .mm-od-policy-table tbody th {
  width: 32%;
  background: #F7F7F7;
  font-weight: 400;
  color: #131313;
}
.mm-od-mobile-page .mm-od-policy-table tbody td {
  background: #fff;
}
.mm-od-mobile-page .mm-od-policy-table tbody tr.is-alt th {
  background: #E8E8E8;
}
.mm-od-mobile-page .mm-od-policy-table tbody tr.is-alt td {
  background: #F3F3F3;
}


.mm-od-mobile-page .mm-btn.is-disabled,
.mm-od-mobile-page .mm-btn:disabled {
  background: #FCDFD3 !important;
  border-color: #FCDFD3 !important;
  color: #fff !important;
  opacity: 1;
  pointer-events: none;
}


/* Reason + evidence photos (app ReturnRequestModal STEP_REASON) */
.mm-od-mobile-page .mm-od-reason-input {
  display: block;
  width: 100%;
  min-height: 110px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  background: #fff;
  color: #131313;
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}
.mm-od-mobile-page .mm-od-reason-input::placeholder {
  color: #898989;
}
.mm-od-mobile-page .mm-od-reason-input--other {
  min-height: 96px;
  margin-top: 4px;
  margin-bottom: 8px;
}
.mm-od-mobile-page .mm-od-reason-input--other.is-dimmed {
  background: #F5F5F5;
  color: #898989;
  opacity: 0.7;
}

.mm-od-mobile-page .mm-od-photo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
}
.mm-od-mobile-page .mm-od-photo-preview {
  display: contents;
}
.mm-od-mobile-page .mm-od-photo-tile {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}
.mm-od-mobile-page .mm-od-photo-tile img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #f5f5f5;
  display: block;
}
.mm-od-mobile-page .mm-od-photo-tile__remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #131313;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}
.mm-od-mobile-page .mm-od-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 140px;
  margin: 0;
  padding: 16px 12px;
  border: 1.5px dashed var(--mm-primary, #F15E22);
  border-radius: 12px;
  background: #fff;
  color: var(--mm-ink, #131313);
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}
.mm-od-mobile-page .mm-od-dropzone__icon {
  font-size: 28px;
  color: var(--mm-primary, #F15E22);
}
.mm-od-mobile-page .mm-od-dropzone__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mm-primary, #F15E22);
}
.mm-od-mobile-page .mm-od-dropzone__hint {
  font-size: 12px;
  color: #898989;
}
.mm-od-mobile-page .mm-od-dropzone__add {
  display: none;
  font-size: 22px;
  color: var(--mm-primary, #F15E22);
}
/* App: after first photo, dropzone shrinks to + tile (not full drag box) */
.mm-od-mobile-page .mm-od-dropzone.is-compact {
  width: 72px;
  min-height: 72px;
  height: 72px;
  flex: 0 0 72px;
  padding: 0;
  gap: 0;
}
.mm-od-mobile-page .mm-od-dropzone.is-compact .mm-od-dropzone__icon,
.mm-od-mobile-page .mm-od-dropzone.is-compact .mm-od-dropzone__title,
.mm-od-mobile-page .mm-od-dropzone.is-compact .mm-od-dropzone__hint {
  display: none;
}
.mm-od-mobile-page .mm-od-dropzone.is-compact .mm-od-dropzone__add {
  display: inline-block;
}
.mm-od-mobile-page .mm-od-dropzone.is-hidden {
  display: none !important;
}
.mm-od-mobile-page .mm-od-photo-hint {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  color: #898989;
}
.mm-od-mobile-page #mmReturnReviewPhotos.mm-od-photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.mm-od-mobile-page #mmReturnReviewPhotos.mm-od-photo-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

/* Policy OverlaySheet — title + OK fixed; body scrolls (app parity) */
.mm-od-sheet--pinned .mm-od-sheet__panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* App OverlaySheet: windowHeight - max(topInset+24, 12% height) */
  height: calc(100dvh - max(env(safe-area-inset-top, 0px) + 24px, 12vh));
  max-height: calc(100dvh - max(env(safe-area-inset-top, 0px) + 24px, 12vh));
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.mm-od-sheet--pinned .mm-od-sheet__chrome {
  flex: 0 0 auto;
  padding-top: 0;
}
.mm-od-sheet--pinned .mm-od-sheet__handle {
  margin-bottom: 16px;
}
.mm-od-sheet--pinned .mm-od-sheet__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}
.mm-od-sheet--pinned .mm-od-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin: 12px 0 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mm-od-sheet--pinned .mm-od-sheet__footer {
  flex: 0 0 auto;
}
.mm-od-sheet--pinned .mm-od-sheet__footer .mm-btn--block {
  width: 100%;
  min-height: 54px;
  margin: 0;
  border-radius: 27px;
}
.mm-od-sheet--pinned .mm-od-sheet__close {
  display: none;
}

/* View Bank Info — no pinned full-height / no inner scrollbar */
.mm-od-bank-info-sheet .mm-od-sheet__panel {
  height: auto !important;
  max-height: calc(100dvh - max(env(safe-area-inset-top, 0px) + 24px, 12vh));
  overflow: visible !important;
  padding: 12px 20px calc(28px + env(safe-area-inset-bottom, 0px));
}
.mm-od-bank-info-sheet .mm-od-bank-dl {
  gap: 12px;
  margin: 0 0 10px;
}

/* Cancel Order — app CancelOrderModal summary + policy accent */
.mm-od-cancel-page .mm-od-cancel-summary {
  border-radius: 25px;
  margin-bottom: 8px;
}
.mm-od-cancel-page .mm-od-cancel-summary__id {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #131313;
  line-height: 1.35;
}
.mm-od-cancel-page .mm-od-cancel-summary__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.mm-od-cancel-page .mm-od-cancel-summary__when {
  flex: 1;
  margin: 0;
  min-width: 0;
  font-size: 13px;
  color: #898989;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-od-cancel-page .mm-od-cancel-summary__mid {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.mm-od-cancel-page .mm-od-cancel-summary__thumbs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.mm-od-cancel-page .mm-od-cancel-summary__thumbs img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
  background: #eee;
}
.mm-od-cancel-page .mm-od-cancel-summary__thumbs img:first-child {
  margin-left: 0;
}
.mm-od-cancel-page .mm-od-cancel-summary__items {
  flex: 1;
  font-size: 14px;
  color: #898989;
  min-width: 0;
}
.mm-od-cancel-page .mm-od-cancel-summary__price {
  font-size: 16px;
  font-weight: 700;
  color: #131313;
  white-space: nowrap;
}
.mm-od-cancel-page .mm-od-cancel-summary__detail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  min-height: 48px;
  border-radius: 25px;
  text-decoration: none;
}
.mm-od-cancel-page .mm-od-cancel-reasons {
  margin-top: 16px;
  padding-bottom: 8px;
}
.mm-od-cancel-page .mm-od-cancel-reasons__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #131313;
  line-height: 1.35;
}
.mm-od-cancel-page .mm-od-cancel-reasons__desc {
  margin: 6px 0 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #131313;
}
.mm-od-cancel-page .mm-od-check--policy {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 25px;
  background: #FEEFE9;
}
.mm-od-cancel-page .mm-od-policy-ring {
  border-color: #C23901;
}
.mm-od-cancel-page .mm-od-policy-ring.is-checked::after {
  border-color: #C23901;
}
.mm-od-cancel-page .mm-od-cancel-nav .mm-btn--outline {
  background: #fff;
  color: var(--mm-primary, #F15E22);
  border: 1.5px solid var(--mm-primary, #F15E22);
}
.mm-od-cancel-page .mm-od-cancel-nav .mm-btn--outline:hover {
  background: #FFF8F5;
}

/* App-like chrome: hide site header/footer/nav on return/cancel pages */
html.mm-od-flow-chrome-hide .mm-header,
html.mm-od-flow-chrome-hide .mm-footer,
html.mm-od-flow-chrome-hide .mm-bottom-nav,
html.mm-od-flow-chrome-hide .mm-mobile-cats {
  display: none !important;
}
html.mm-od-flow-chrome-hide .mm-main,
html.mm-od-flow-chrome-hide .content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* App RadioRow — thin ring + center disc */
.mm-od-mobile-page .mm-od-radio--app {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 15px;
  color: #131313;
}
.mm-od-mobile-page .mm-od-radio--app input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mm-od-mobile-page .mm-od-radio__ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #D0D0D0;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box;
}
.mm-od-mobile-page .mm-od-radio--app input:checked + .mm-od-radio__ring {
  border-color: var(--mm-primary, #F15E22);
}
.mm-od-mobile-page .mm-od-radio--app input:checked + .mm-od-radio__ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--mm-primary, #F15E22);
}
.mm-od-mobile-page .mm-od-radio__label {
  flex: 1;
  line-height: 1.35;
}

/* App RequestStatus Stepper + detail card */
.mm-od-stepper {
  list-style: none;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}
.mm-od-stepper__item {
  display: flex;
  gap: 12px;
  min-height: 60px;
}
.mm-od-stepper__item:last-child {
  min-height: 0;
}
.mm-od-stepper__rail {
  width: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.mm-od-stepper__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--mm-primary, #F15E22);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
  color: var(--mm-primary, #F15E22);
  font-size: 11px;
}
.mm-od-stepper__item:not(.is-done) .mm-od-stepper__dot {
  /* App Stepper: ring stays primary even when not done */
  border-color: var(--mm-primary, #F15E22);
}
.mm-od-stepper__line {
  flex: 1;
  width: 2px;
  min-height: 12px;
  margin: 2px 0 0;
  background: #e5e5e5;
}
.mm-od-stepper__item.is-line-on > .mm-od-stepper__rail > .mm-od-stepper__line {
  background: var(--mm-primary, #F15E22);
}
.mm-od-stepper__text {
  flex: 1;
  padding-bottom: 12px;
  min-width: 0;
}
.mm-od-stepper__item:last-child .mm-od-stepper__text {
  padding-bottom: 0;
}
.mm-od-stepper__text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #131313;
  line-height: 1.35;
}
.mm-od-stepper__item:not(.is-done) .mm-od-stepper__text strong {
  font-weight: 400;
  color: #898989;
}
.mm-od-stepper__text span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #898989;
  line-height: 1.35;
}
.mm-od-sheet-card {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}
.mm-od-sheet-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #131313;
  line-height: 1.35;
}
.mm-od-sheet-card__sub {
  margin: 14px 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #131313;
}
.mm-od-sheet-card__msg {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #4a4a4a;
  white-space: pre-line;
  word-break: break-word;
}
.mm-od-sheet-card .mm-od-sheet-kv {
  margin-bottom: 10px;
}
.mm-od-sheet-card .mm-od-sheet-kv:last-child {
  margin-bottom: 0;
}

/* Mobile Order List / History (app OrderList + OrderCard) */
.orders-page--mobile {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: #F7F8F8 !important;
  min-height: calc(100dvh - 60px);
  padding-bottom: calc(24px + var(--mm-bottom-nav-h, 76px)) !important;
}
#home-page:has(.orders-page--mobile) section.content.orders-page--mobile {
  padding-top: calc(56px + 49px + env(safe-area-inset-top, 0px)) !important;
}
.orders-page--mobile .mm-ord-tabs {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0 20px;
  border-bottom: 1px solid #E7E7E7;
  background: #fff;
  position: fixed;
  top: calc(56px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 470;
  height: 49px;
  box-sizing: border-box;
}

/* Order detail: hide legacy in-content mhead; sticky orange bar is mm-app-mhead */
.mm-od-page--mobile .mm-od-mhead {
  display: none !important;
}
/* Match app OrderDetail ScrollView padding (16) so ETA isn't flush under header */
.mm-od-page--mobile .mm-od {
  padding: 16px 16px calc(100px + var(--mm-bottom-nav-h, 48px)) !important;
}
.orders-page--mobile .mm-ord-tabs a {
  flex: 1;
  text-align: center;
  border: 0;
  border-radius: 0;
  padding: 12px 8px 0;
  background: transparent;
  color: #898989;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none;
}
.orders-page--mobile .mm-ord-tabs a::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: transparent;
}
.orders-page--mobile .mm-ord-tabs a.is-active {
  background: transparent;
  color: #F15E22;
}
.orders-page--mobile .mm-ord-tabs a.is-active::after {
  background: #F15E22;
}
.orders-page--mobile .mm-ord-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #F7F8F8;
}
.orders-page--mobile .mm-ord {
  height: auto;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: #F9FAFA;
  box-shadow: none;
}
.orders-page--mobile .mm-ord.is-unpaid {
  border: 1px solid #FCDFD3;
}
.orders-page--mobile .mm-ord__status--unpaid {
  background: #FEEFE9;
  color: #F15E22;
  border: 1px solid #F15E22;
  gap: 4px;
}
.orders-page--mobile .mm-ord__status--unpaid .fa-clock {
  font-size: 12px;
}
.orders-page--mobile .mm-ord__mid {
  margin-top: 14px;
}
.orders-page--mobile .mm-ord__thumbs img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #F9FAFA;
  object-fit: cover;
  margin-left: -10px;
  background: #eee;
}
.orders-page--mobile .mm-ord__thumbs img:first-child {
  margin-left: 0;
}
.orders-page--mobile .mm-ord__track {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}
.orders-page--mobile .mm-ord__actions {
  margin-top: 16px;
  gap: 10px;
}
.orders-page--mobile .mm-ord__actions .mm-btn {
  min-height: 40px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}
.orders-page--mobile .mm-ord__pay-unavailable {
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  color: #BC3038;
}
.orders-page--mobile .mm-ord-empty {
  margin: 16px 20px;
  border: 0;
  border-radius: 12px;
  background: #F9FAFA;
  box-shadow: none;
}
.orders-page--mobile .ol-pagination {
  padding: 0 20px 16px;
}

/* ===== Refund bank prompt card + dialog (app OverlaySheet parity) ===== */
.mm-od-bank-prompt {
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.mm-od-bank-prompt.is-update {
  border-color: #fbbf24;
  background: #fffbeb;
}
.mm-od-bank-prompt__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mm-od-bank-prompt__icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FEEFE9;
  color: var(--mm-primary, #F15E22);
  font-size: 16px;
}
.mm-od-bank-prompt__icon svg { width: 22px; height: 22px; }
.mm-od-bank-prompt.is-update .mm-od-bank-prompt__icon {
  background: #fef3c7;
}
.mm-od-bank-prompt__body {
  flex: 1;
  min-width: 0;
}
.mm-od-bank-prompt__body strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #131313;
  line-height: 1.3;
}
html[lang="mm"] .mm-od-request__body strong,
html[lang="mm"] .mm-od-request__sub,
html[lang="mm"] .mm-od-request__view,
html[lang="mm"] .mm-od-bank-prompt__body strong,
html[lang="mm"] .mm-od-bank-prompt__body p,
html[lang="mm"] .mm-od-bank-prompt__btn {
  font-family: "Noto Sans Myanmar", "Myanmar3", "Myanmar Text", "Padauk", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.6;
}
html[lang="mm"] .mm-od-request__sub {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
/* Return items: Myanmar marks need regular weight and a taller line, or they stack. */
html[lang="mm"] .mm-od-mobile-page .mm-od-flow-screen__title,
html[lang="mm"] .mm-od-mobile-page .mm-od-card__title,
html[lang="mm"] .mm-od-mobile-page .mm-od-policy-form__desc,
html[lang="mm"] .mm-od-mobile-page .mm-od-return-qty__label,
html[lang="mm"] .mm-od-mobile-page .mm-od-return-nav .mm-btn,
html[lang="mm"] .mm-od-mobile-page .mm-od-radio,
html[lang="mm"] .mm-od-mobile-page .mm-od-label {
  font-family: "Noto Sans Myanmar", "Myanmar3", "Myanmar Text", "Padauk", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.5;
}
html[lang="mm"] .mm-od-mobile-page .mm-od-return-item__meta {
  height: auto;
  min-height: 72px;
}
html[lang="mm"] .mm-od-mobile-page .mm-od-return-qty__label {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.mm-od-bank-prompt__body p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #585858;
  line-height: 1.4;
}
.mm-od-bank-prompt__warn {
  color: #b45309 !important;
}
.mm-od-bank-prompt__details {
  margin-top: 12px;
}
.mm-od-bank-prompt__details .mm-od-bank-saved__kv strong.is-rejected,
.mm-od-bank-saved__kv strong.is-rejected {
  color: #b45309;
}
.mm-od-bank-prompt__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1.5px solid var(--mm-primary, #F15E22);
  border-radius: 24px;
  background: #fff;
  color: var(--mm-primary, #F15E22);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.mm-od-bank-sheet .mm-od-bank-sheet__form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
.mm-od-bank-sheet .mm-od-sheet__title {
  margin-top: 4px;
}
.mm-od-bank-sheet__desc {
  margin: 0 0 14px;
  font-size: 14px;
  color: #585858;
  line-height: 1.45;
}
/* Bank / OD sheets: fake bold (800) + Latin-first stacks break Myanmar medials. */
html[lang="mm"] .mm-od-bank-sheet .mm-od-sheet__title,
html[lang="mm"] .mm-od-bank-sheet .mm-od-bank-sheet__desc,
html[lang="mm"] .mm-od-bank-sheet .mm-od-bank-field span,
html[lang="mm"] .mm-od-bank-sheet .mm-od-bank-field .form-control,
html[lang="mm"] .mm-od-bank-sheet .mm-od-bank-field .form-control::placeholder,
html[lang="mm"] .mm-od-bank-sheet .mm-od-sheet__footer .mm-btn,
html[lang="mm"] .mm-od-sheet .mm-od-sheet__title,
html[lang="mm"] .mm-od-sheet .mm-od-sheet__footer .mm-btn,
html[lang="mm"] .mm-od-bank-info-sheet .mm-od-sheet__title,
html[lang="mm"] .mm-od-bank-info-sheet .mm-od-bank-dl__row span,
html[lang="mm"] .mm-od-bank-info-sheet .mm-od-bank-dl__row strong,
html[lang="mm"] .mm-od-bank-info-sheet .mm-btn {
  font-family: "MMNotoMyanmar", "Myanmar3", "Myanmar Text", "Padauk", sans-serif !important;
  font-synthesis: none !important;
  letter-spacing: 0 !important;
  word-break: normal;
  overflow-wrap: break-word;
}
html[lang="mm"] .mm-od-bank-sheet .mm-od-sheet__title,
html[lang="mm"] .mm-od-sheet .mm-od-sheet__title,
html[lang="mm"] .mm-od-bank-info-sheet .mm-od-sheet__title {
  font-weight: 600 !important;
  line-height: 1.6 !important;
}
html[lang="mm"] .mm-od-bank-sheet .mm-od-bank-sheet__desc {
  font-weight: 400 !important;
  line-height: 1.7 !important;
}
html[lang="mm"] .mm-od-bank-sheet .mm-od-bank-field span,
html[lang="mm"] .mm-od-bank-info-sheet .mm-od-bank-dl__row span {
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
html[lang="mm"] .mm-od-bank-sheet .mm-od-sheet__footer .mm-btn,
html[lang="mm"] .mm-od-sheet .mm-od-sheet__footer .mm-btn,
html[lang="mm"] .mm-od-bank-info-sheet .mm-btn {
  font-weight: 600 !important;
  line-height: 1.5 !important;
}
.mm-od-bank-field {
  display: block;
  margin: 0 0 12px;
}
.mm-od-bank-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #898989;
  line-height: 1.3;
}
.mm-od-bank-field .form-control {
  height: auto;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  color: #131313;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
}
html[lang="mm"] .mm-od-bank-field .form-control {
  min-height: 52px;
  padding: 12px;
  line-height: 1.6;
}
.mm-od-bank-field .form-control:focus {
  border-color: var(--mm-primary, #F15E22);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(241, 94, 34, 0.15);
}
.mm-od-bank-field.is-invalid .form-control {
  border-color: #BC3038;
}
.mm-od-bank-field__error {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: #BC3038;
}
.mm-od-bank-sheet .mm-od-sheet__footer .mm-btn--block {
  background: var(--mm-primary, #F15E22);
  border-color: var(--mm-primary, #F15E22);
  color: #fff;
}

/* Submitted refund bank info — inline Order Detail card (app MaskedRefundBankInfo) */
.mm-od-bank-saved {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.mm-od-bank-saved__title {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #131313;
  line-height: 1.3;
}
.mm-od-bank-saved__kv {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.mm-od-bank-saved__kv:last-child {
  margin-bottom: 0;
}
.mm-od-bank-saved__kv span {
  flex-shrink: 0;
  font-size: 13px;
  color: #898989;
  line-height: 1.35;
}
.mm-od-bank-saved__kv strong {
  flex: 1;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: #131313;
  line-height: 1.35;
  word-break: break-word;
}
.mm-od-bank-saved__warn {
  margin: 0 0 8px;
  font-size: 13px;
  color: #b45309;
  line-height: 1.35;
}
.mm-od-sheet-bank__title {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #131313;
}
