.home-phone {
  padding-bottom: 92px;
  background: var(--maui-cream);
}

.m4food-screen[hidden] {
  display: none;
}

.m4food-screen {
  animation: m4food-panel-in 0.18s ease-out;
}

@keyframes m4food-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-top {
  padding: 18px 20px 15px;
  background: var(--maui-cream);
  text-align: center;
}

.home-top p {
  margin: 0 0 15px;
  color: #333333;
  font-size: 15px;
  font-weight: 800;
}

.search-field {
  height: 50px;
  padding: 15px 18px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  color: #999999;
  text-align: left;
}

.promo-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 0 20px 20px;
}

.promo-card {
  flex: 0 0 280px;
  position: relative;
  display: grid;
  align-content: center;
  overflow: hidden;
  height: 140px;
  padding: 24px 20px;
  border-radius: 15px;
  color: #ffffff;
}

.promo-card.yellow {
  background: #ebc656;
}

.promo-card.green {
  background: #4caf50;
}

.promo-card h2 {
  max-width: 170px;
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.16;
}

.promo-card p {
  margin: 0;
  max-width: 170px;
  font-size: 14px;
  line-height: 1.35;
}

.promo-card span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-section-title,
.category-section {
  padding: 0 20px;
}

.home-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-section-title h2,
.category-section h2 {
  margin: 0 0 15px;
  color: #1a1a1a;
  font-size: 20px;
}

.home-section-title a {
  color: #ebc656;
  font-size: 14px;
  font-weight: 800;
}

.preferred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 10px;
  padding: 0 20px 22px;
}

.preferred-grid article {
  min-height: 100px;
  padding: 10px;
  border-radius: 15px;
  background: #ffffff;
  text-align: center;
}

.preferred-grid img {
  width: 50px;
  height: 50px;
  margin: 0 auto 7px;
  border-radius: 10px;
  object-fit: contain;
  background: #eeeeee;
}

.preferred-grid h3 {
  margin: 0;
  color: #1a1a1a;
  font-size: 12px;
}

.category-section div {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.category-section span {
  padding: 10px 20px;
  border: 1px solid var(--maui-yellow);
  border-radius: 20px;
  color: var(--maui-yellow);
  background: #ffffff;
  font-weight: 800;
}

.category-section .active {
  color: #ffffff;
  background: var(--maui-yellow);
}

.utility-screen {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 668px;
  padding: 24px 20px;
  background: var(--maui-cream);
}

.utility-header p {
  margin: 0 0 8px;
  color: var(--maui-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-header h2 {
  margin: 0;
  color: var(--maui-ink);
  font-size: 26px;
}

.food-order-card,
.order-status-card,
.account-card,
.account-list button,
.cart-summary {
  border: 1px solid var(--maui-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.08);
}

.food-order-card {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.food-order-card img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: contain;
  background: #f3ecdf;
}

.food-order-card h3,
.order-status-card h3,
.account-card h3 {
  margin: 0 0 4px;
  color: var(--maui-ink);
  font-size: 16px;
}

.food-order-card p,
.order-status-card p,
.account-card p {
  margin: 0;
  color: var(--maui-muted);
  font-size: 13px;
  line-height: 1.35;
}

.food-order-card strong {
  color: var(--maui-coral);
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  color: var(--maui-muted);
  font-weight: 800;
}

.cart-summary strong {
  color: var(--maui-ink);
}

.m4food-primary-button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--maui-yellow);
  color: var(--maui-ink);
  font-weight: 900;
  cursor: pointer;
}

.order-status-card {
  padding: 18px;
}

.order-status-card span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4ecd1;
  color: var(--maui-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-status-card.active {
  border-color: rgba(232, 197, 71, 0.8);
}

.order-status-card.active span {
  background: var(--maui-yellow);
  color: var(--maui-ink);
}

.account-card {
  display: grid;
  justify-items: center;
  padding: 26px 18px;
  text-align: center;
}

.account-card span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--maui-yellow);
  color: var(--maui-ink);
  font-size: 30px;
  font-weight: 900;
}

.account-list {
  display: grid;
  gap: 12px;
}

.account-list button {
  min-height: 50px;
  padding: 0 16px;
  border-color: var(--maui-line);
  color: var(--maui-ink);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 12px 10px;
  background: var(--maui-nav);
  color: #333333;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}

.bottom-nav button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #333333;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.bottom-nav button.active {
  background: rgba(44, 36, 22, 0.16);
}
