/* Stage 4 Malay language support: unified order page layout. */
html[lang="ms"] .order-header h1 {
  max-width: calc(100% - 158px);
  font-size: 17px;
  line-height: 22px;
}

html[lang="ms"] .order-header > button {
  max-width: 70px;
  height: auto;
  min-height: 27px;
  line-height: 16px;
}

html[lang="ms"] .order-tabs {
  min-height: 68px;
  height: auto;
  padding: 0 8px;
}

html[lang="ms"] .order-tabs button {
  min-height: 68px;
  padding-right: 2px;
  padding-left: 2px;
  font-size: clamp(9.5px, 2.65vw, 11px);
  line-height: 1.25;
}

html[lang="ms"] .order-tabs button.active::after {
  bottom: 4px;
}

html[lang="ms"] .order-list {
  margin-top: 7px;
}

html[lang="ms"] .order-card,
html[lang="ms"] .order-card:nth-child(3) {
  min-height: 176px;
  padding-top: 13px;
}

html[lang="ms"] .order-card__head {
  font-size: 10.5px;
  line-height: 16px;
}

html[lang="ms"] .order-card__head > strong {
  max-width: 44%;
  font-size: 11px;
  line-height: 16px;
}

html[lang="ms"] .order-card__body {
  min-height: 78px;
  padding: 9px 0 7px;
}

html[lang="ms"] .order-card__body > div:first-child > strong {
  font-size: 18px;
  line-height: 25px;
}

html[lang="ms"] .order-card__body > div:first-child > span,
html[lang="ms"] .order-result > span {
  font-size: 10px;
  line-height: 15px;
}

html[lang="ms"] .order-result > strong {
  max-width: 100%;
  font-size: 12.5px;
  line-height: 18px;
}

html[lang="ms"] .order-card__foot {
  min-height: 54px;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}

html[lang="ms"] .order-card__foot > span {
  flex: 1 1 150px;
  font-size: 9px;
  line-height: 14px;
}

html[lang="ms"] .order-card__foot > div {
  margin-left: auto;
}

html[lang="ms"] .order-card__foot button {
  height: auto;
  min-height: 31px;
  padding: 5px 9px;
  font-size: 10px;
  line-height: 16px;
}

html[lang="ms"] .order-detail__header {
  min-height: 38px;
  height: auto;
}

html[lang="ms"] .order-detail__header h2 {
  max-width: calc(100% - 68px);
  font-size: 17px;
  line-height: 24px;
  text-align: center;
}

html[lang="ms"] .order-detail__summary {
  min-height: 54px;
  height: auto;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 14px;
}

html[lang="ms"] .order-detail__summary strong {
  max-width: 55%;
  text-align: right;
}

html[lang="ms"] .order-detail__list > div {
  grid-template-columns: minmax(105px, 43%) minmax(0, 1fr);
}

html[lang="ms"] .order-detail__list dt,
html[lang="ms"] .order-detail__list dd {
  overflow-wrap: anywhere;
}

html[lang="ms"]:has(.order-screen) .bottom-navigation__item {
  padding: 0 2px;
  font-size: 9.5px;
  line-height: 12px;
  text-align: center;
}

html[lang="ms"]:has(.order-screen) .bottom-navigation__item > span:last-child {
  max-width: 100%;
  min-height: 24px;
  margin-top: 1px;
  overflow-wrap: anywhere;
}

@media (max-width: 350px) {
  html[lang="ms"] .order-tabs {
    padding-right: 4px;
    padding-left: 4px;
  }

  html[lang="ms"] .order-tabs button {
    font-size: 9px;
  }

  html[lang="ms"] .order-card {
    padding-right: 13px;
    padding-left: 13px;
  }
}
