/*
 * EasyGas connected client pages
 * Dedicated catalogue and delivery surfaces shared by desktop and mobile.
 */
:root {
  --egc-orange: #ff6500;
  --egc-orange-dark: #ee5400;
  --egc-orange-soft: #fff2e8;
  --egc-ink: #111521;
  --egc-muted: #737887;
  --egc-line: #e8eaf0;
  --egc-green: #18a957;
  --egc-shadow: 0 15px 38px rgba(27, 22, 19, .07);
}

@media (min-width: 992px) {
  body:has(.eg-pc-shell) .eg-connected-page {
    width: calc(100% - 40px);
    max-width: none;
    margin: 20px auto 44px;
    padding: 0;
  }

  .eg-delivery-card.is-selected {
    border-color: #ff8b38;
    background: linear-gradient(100deg, #fff7f0, #fff);
    box-shadow: 0 14px 34px rgba(255, 90, 0, .12);
  }

  .eg-delivery-summary--pc {
    display: block;
    padding: 20px;
  }

  .eg-delivery-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
  }

  .eg-delivery-detail-head h2 {
    margin: 0 0 7px;
    color: var(--egc-ink) !important;
    font-size: 1.08rem !important;
    font-weight: 900;
  }

  .eg-delivery-detail-head a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--egc-line);
    border-radius: 10px;
    color: var(--egc-ink) !important;
    background: #fff;
    font-size: .68rem;
    font-weight: 900;
  }

  .eg-delivery-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-bottom: 18px;
  }

  .eg-delivery-timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 8%;
    left: 8%;
    border-top: 2px dashed #d2d7e0;
  }

  .eg-delivery-timeline span {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #687183;
    text-align: center;
    font-size: .57rem;
    font-weight: 800;
  }

  .eg-delivery-timeline i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 999px;
    color: #9aa2b2;
    background: #eef1f6;
    box-shadow: 0 6px 16px rgba(30, 37, 51, .08);
  }

  .eg-delivery-timeline span.is-active i {
    color: #fff;
    background: #ff6500;
  }

  .eg-delivery-map--large {
    height: 330px;
    margin-bottom: 16px;
  }

  .eg-delivery-map--large button {
    position: absolute;
    z-index: 4;
    bottom: 16px;
    left: 16px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: #1275e5;
    background: #fff;
    font-size: .72rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(26, 43, 66, .12);
  }

  .eg-delivery-map__user {
    position: absolute;
    z-index: 3;
    top: 48%;
    left: 45%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #1687ff;
    box-shadow: 0 0 0 18px rgba(22, 135, 255, .14), 0 8px 20px rgba(35, 46, 42, .15);
  }

  .eg-delivery-driver-card,
  .eg-delivery-order-footer {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--egc-line);
    border-radius: 16px;
    background: #fff;
  }

  .eg-delivery-driver-card {
    grid-template-columns: 48px 1fr auto;
    margin-bottom: 12px;
  }

  .eg-delivery-driver-card > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #ff7800, #ff5400);
  }

  .eg-delivery-driver-card strong,
  .eg-delivery-driver-card small,
  .eg-delivery-order-footer b,
  .eg-delivery-order-footer small {
    display: block;
  }

  .eg-delivery-driver-card strong { font-size: .82rem; }
  .eg-delivery-driver-card small,
  .eg-delivery-order-footer small { color: var(--egc-muted); font-size: .64rem; }

  .eg-delivery-driver-card a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--egc-line);
    border-radius: 10px;
    color: var(--egc-ink) !important;
    font-size: .68rem;
    font-weight: 900;
  }

  .eg-delivery-order-footer {
    grid-template-columns: 1fr 1fr auto;
  }

  .eg-delivery-order-footer strong {
    color: #ff5a00;
    font-size: 1.08rem;
    font-weight: 900;
    white-space: nowrap;
  }
}

.eg-connected-page,
.eg-connected-page *,
.eg-connected-page *::before,
.eg-connected-page *::after {
  box-sizing: border-box;
}

.eg-connected-page {
  width: min(100% - 48px, 1260px);
  margin: 32px auto 52px;
  color: var(--egc-ink);
  font-family: var(--ecm-font-body);
}

.eg-connected-page a { text-decoration: none; }
.eg-connected-page h1,
.eg-connected-page h2,
.eg-connected-page h3 {
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: var(--ecm-font-display) !important;
}

.eg-connected-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.eg-connected-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--egc-orange);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eg-connected-heading h1 {
  margin: 0;
  color: var(--egc-ink) !important;
  font-family: var(--ecm-font-display) !important;
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  font-weight: 900;
  letter-spacing: -.055em;
}

.eg-connected-heading p {
  margin: 7px 0 0;
  color: var(--egc-muted);
  font-size: .96rem;
}

.eg-connected-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border-radius: 14px;
  color: #fff !important;
  background: linear-gradient(135deg, #ff7900, #ff5400);
  box-shadow: 0 12px 25px rgba(255, 91, 0, .24);
  font-size: .86rem;
  font-weight: 900;
}

.eg-category-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.eg-category-pills::-webkit-scrollbar { display: none; }
.eg-category-pills a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid var(--egc-line);
  border-radius: 13px;
  color: #454a59;
  background: #fff;
  font-size: .82rem;
  font-weight: 800;
}
.eg-category-pills a.is-active {
  border-color: var(--egc-orange);
  color: var(--egc-orange);
  background: #fff8f3;
}

.eg-bottle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.eg-bottle-card {
  min-width: 0;
  overflow: hidden;
  padding: 15px;
  border: 1px solid var(--egc-line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--egc-shadow);
}

.eg-bottle-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eg-stock-chip {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 900;
}
.eg-stock-chip.is-available { color: #088c40; background: #eaf9ef; }
.eg-stock-chip.is-order { color: #b06a00; background: #fff5df; }
.eg-bottle-card__top button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #5a6070;
  background: #f7f8fb;
}

.eg-bottle-card__visual {
  height: 210px;
  display: grid;
  place-items: center;
  margin: 2px 0 4px;
  border-radius: 18px;
  background: radial-gradient(circle, #fff5eb 0, #fff 62%);
}
.eg-bottle-card__visual img {
  width: 124px;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 16px 13px rgba(100, 41, 7, .17));
}
.eg-bottle-card h2 { margin: 0; color: var(--egc-ink); font-size: 1.12rem; font-weight: 900; }
.eg-bottle-card > p { margin: 3px 0 7px; color: var(--egc-muted); font-size: .78rem; }
.eg-bottle-card > strong { color: var(--egc-orange); font-size: 1rem; font-weight: 900; }
.eg-bottle-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0;
  border-block: 1px solid #f0f1f4;
}
.eg-bottle-card__meta span {
  min-width: 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  padding: 10px 3px;
}
.eg-bottle-card__meta span + span { border-left: 1px solid #f0f1f4; padding-left: 10px; }
.eg-bottle-card__meta i { grid-row: 1 / 3; align-self: center; color: #8a8f9d; }
.eg-bottle-card__meta small { color: #8a8f9d; font-size: .61rem; }
.eg-bottle-card__meta b { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.eg-bottle-card > a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff !important;
  background: linear-gradient(135deg, #ff7900, #ff5400);
  font-size: .78rem;
  font-weight: 900;
}

.eg-accessory-section { margin-top: 34px; }
.eg-connected-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.eg-connected-section-title span { color: var(--egc-orange); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.eg-connected-section-title h2 { margin: 3px 0 0; color: var(--egc-ink) !important; font-size: 1.45rem !important; font-weight: 900; }
.eg-connected-section-title > a { color: var(--egc-orange); font-size: .78rem; font-weight: 800; }
.eg-accessory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.eg-accessory-grid article {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--egc-line);
  border-radius: 18px;
  background: #fff;
}
.eg-accessory-grid article > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--egc-orange);
  background: var(--egc-orange-soft);
  font-size: 1.2rem;
}
.eg-accessory-grid h3 { margin: 0 0 4px; color: var(--egc-ink); font-size: .8rem; font-weight: 900; }
.eg-accessory-grid strong { color: var(--egc-orange); font-size: .72rem; }
.eg-accessory-grid article > a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--egc-orange); background: #fff7f1; }

.eg-connected-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid #e6eee8;
  border-radius: 20px;
  background: linear-gradient(90deg, #fbfffc, #fff);
}
.eg-connected-trust > span { min-width: 0; display: grid; grid-template-columns: 42px 1fr; padding: 17px; }
.eg-connected-trust > span + span { border-left: 1px solid #edf0ee; }
.eg-connected-trust i { grid-row: 1 / 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--egc-green); background: #eaf9ef; }
.eg-connected-trust b { font-size: .75rem; }
.eg-connected-trust small { overflow: hidden; color: var(--egc-muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }

.eg-delivery-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--egc-line);
}
.eg-delivery-tabs a {
  position: relative;
  min-height: 43px;
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  color: #747986;
  font-size: .85rem;
  font-weight: 900;
}
.eg-delivery-tabs a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px; background: transparent; }
.eg-delivery-tabs a.is-active { color: var(--egc-orange); }
.eg-delivery-tabs a.is-active::after { background: var(--egc-orange); }
.eg-delivery-tabs span { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; color: var(--egc-orange); background: var(--egc-orange-soft); font-size: .61rem; }

.eg-delivery-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: 18px; }
.eg-delivery-list { display: grid; gap: 12px; }
.eg-delivery-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--egc-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(27, 22, 19, .045);
}
.eg-delivery-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--egc-orange); background: var(--egc-orange-soft); font-size: 1.15rem; }
.eg-delivery-card__body { min-width: 0; }
.eg-delivery-card__body > div { display: flex; align-items: center; gap: 9px; }
.eg-delivery-card__body > div small { color: #8b8f9b; font-size: .66rem; }
.eg-delivery-status { min-height: 23px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; font-size: .61rem; font-weight: 900; }
.eg-delivery-status.is-delivering, .eg-delivery-status.is-confirmed { color: #1470e8; background: #edf5ff; }
.eg-delivery-status.is-delivered { color: #088c40; background: #eaf9ef; }
.eg-delivery-status.is-pending, .eg-delivery-status.is-preparing { color: #b96a00; background: #fff5df; }
.eg-delivery-status.is-cancelled { color: #dc3745; background: #fff0f1; }
.eg-delivery-card h2 { margin: 7px 0 3px; overflow: hidden; color: var(--egc-ink); font-size: .94rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.eg-delivery-card p { margin: 0 0 5px; overflow: hidden; color: #666b79; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.eg-delivery-card__body > span { color: #9599a5; font-size: .64rem; }
.eg-delivery-card__actions { min-width: 118px; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.eg-delivery-card__actions strong { color: var(--egc-ink); font-size: .82rem; }
.eg-delivery-card__actions a { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 10px; color: #fff !important; background: var(--egc-orange); font-size: .7rem; font-weight: 900; }
.eg-delivery-card__actions > span { color: #8b8f9b; font-size: .65rem; }

.eg-delivery-summary { align-self: start; padding: 17px; border: 1px solid var(--egc-line); border-radius: 22px; background: #fff; box-shadow: var(--egc-shadow); }
.eg-delivery-map { position: relative; height: 190px; overflow: hidden; border-radius: 17px; background: linear-gradient(135deg, #edf8f3, #f8fbff); }
.eg-delivery-map::before, .eg-delivery-map::after { content: ""; position: absolute; width: 150%; height: 48px; border: 1px dashed #bedbd0; border-radius: 999px; background: rgba(166, 225, 202, .27); transform: rotate(-23deg); }
.eg-delivery-map::before { top: 38px; left: -70px; }
.eg-delivery-map::after { right: -90px; bottom: 32px; transform: rotate(27deg); }
.eg-delivery-map__home, .eg-delivery-map__driver { position: absolute; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 8px 20px rgba(35, 46, 42, .15); }
.eg-delivery-map__home { bottom: 24px; left: 30px; color: #fff; background: var(--egc-orange); }
.eg-delivery-map__driver { top: 25px; right: 34px; color: #fff; background: #14283b; }
.eg-delivery-map__route { position: absolute; z-index: 1; top: 89px; right: 69px; left: 71px; border-top: 4px dotted var(--egc-orange); transform: rotate(-18deg); }
.eg-delivery-summary h2 { margin: 16px 0 5px; color: var(--egc-ink); font-size: 1rem; font-weight: 900; }
.eg-delivery-summary > p { margin: 0 0 14px; color: var(--egc-muted); font-size: .72rem; line-height: 1.5; }
.eg-delivery-summary > div:last-child { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.eg-delivery-summary > div:last-child span { display: flex; align-items: center; gap: 6px; color: #606574; font-size: .63rem; font-weight: 800; }
.eg-delivery-summary > div:last-child i { color: var(--egc-green); }

.eg-delivery-empty { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px 20px; border: 1px solid var(--egc-line); border-radius: 24px; background: #fff; text-align: center; box-shadow: var(--egc-shadow); }
.eg-delivery-empty > span { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 24px; color: var(--egc-orange); background: var(--egc-orange-soft); font-size: 1.8rem; }
.eg-delivery-empty h2 { margin: 18px 0 6px; color: var(--egc-ink); font-size: 1.3rem; font-weight: 900; }
.eg-delivery-empty p { max-width: 480px; margin: 0; color: var(--egc-muted); font-size: .82rem; }
.eg-delivery-empty > div { display: flex; gap: 9px; margin-top: 19px; }
.eg-delivery-empty a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 12px; color: #fff !important; background: var(--egc-orange); font-size: .76rem; font-weight: 900; }
.eg-delivery-empty a.is-secondary { border: 1px solid var(--egc-line); color: var(--egc-ink) !important; background: #fff; }

.eg-track-lookup-inline {
  display: grid;
  grid-template-columns: 1fr minmax(330px, .75fr);
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 17px 19px;
  border: 1px solid #f1dfd1;
  border-radius: 18px;
  background: linear-gradient(100deg, #fff7f0, #fff);
}
.eg-track-lookup-inline > div { display: flex; align-items: center; gap: 12px; }
.eg-track-lookup-inline > div > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--egc-orange); background: #fff; }
.eg-track-lookup-inline strong, .eg-track-lookup-inline small { display: block; }
.eg-track-lookup-inline strong { font-size: .82rem; }
.eg-track-lookup-inline small { margin-top: 2px; color: var(--egc-muted); font-size: .66rem; }
.eg-track-lookup-inline form { display: grid; grid-template-columns: 1fr auto; }
.eg-track-lookup-inline .visually-hidden { display: none !important; }
.eg-track-lookup-inline input { min-width: 0; height: 44px; padding: 0 13px; border: 1px solid var(--egc-line); border-radius: 12px 0 0 12px; outline: none; background: #fff; font-size: .76rem; }
.eg-track-lookup-inline input:focus { border-color: var(--egc-orange); box-shadow: 0 0 0 3px rgba(255, 101, 0, .1); }
.eg-track-lookup-inline button { padding: 0 15px; border: 0; border-radius: 0 12px 12px 0; color: #fff; background: var(--egc-orange); font-size: .72rem; font-weight: 900; }

@media (max-width: 991px) {
  .eg-bottle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-accessory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-delivery-layout { grid-template-columns: 1fr; }
  .eg-delivery-summary { display: none; }
}

@media (max-width: 760px) {
  body:has(.eg-connected-page) {
    padding-top: 0 !important;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    background: #fff !important;
  }
  body:has(.eg-connected-page) #ecm-nav,
  body:has(.eg-connected-page) .ecm-footer-wave,
  body:has(.eg-connected-page) .ecm-footer,
  body:has(.eg-connected-page) #globalChatToggle { display: none !important; }

  .eg-connected-page { width: 100%; margin: 0; padding: 20px 15px 28px; overflow-x: clip; }
  .eg-connected-heading { align-items: flex-start; margin-bottom: 18px; }
  .eg-connected-heading h1 { font-size: 1.65rem !important; }
  .eg-connected-heading p { max-width: 260px; font-size: .75rem; }
  .eg-connected-kicker { font-size: .61rem; }
  .eg-connected-primary { width: 43px; min-height: 43px; padding: 0; border-radius: 13px; font-size: 0; }
  .eg-connected-primary i { font-size: .9rem; }
  .eg-category-pills { margin-inline: -15px; padding-inline: 15px; }
  .eg-category-pills a { min-height: 38px; padding: 0 14px; font-size: .7rem; }

  .eg-bottle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .eg-bottle-card { padding: 10px; border-radius: 18px; }
  .eg-bottle-card__visual { height: 135px; }
  .eg-bottle-card__visual img { width: 80px; height: 128px; }
  .eg-bottle-card h2 { font-size: .9rem; }
  .eg-bottle-card > p { font-size: .65rem; }
  .eg-bottle-card > strong { font-size: .8rem; }
  .eg-bottle-card__meta { display: block; margin: 10px 0; }
  .eg-bottle-card__meta span { grid-template-columns: 17px 1fr; padding: 7px 2px; }
  .eg-bottle-card__meta span + span { display: none; }
  .eg-bottle-card > a { min-height: 37px; font-size: .68rem; }
  .eg-stock-chip { min-height: 22px; padding: 0 7px; font-size: .55rem; }
  .eg-bottle-card__top button { width: 29px; height: 29px; }

  .eg-connected-section-title h2 { font-size: 1.12rem !important; }
  .eg-accessory-grid { grid-template-columns: 1fr; }
  .eg-accessory-grid article { grid-template-columns: 46px 1fr 32px; padding: 11px; }
  .eg-accessory-grid article > span { width: 46px; height: 46px; }
  .eg-connected-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-connected-trust > span { grid-template-columns: 36px 1fr; padding: 12px 8px; }
  .eg-connected-trust > span + span { border-left: 0; }
  .eg-connected-trust > span:nth-child(even) { border-left: 1px solid #edf0ee; }
  .eg-connected-trust i { width: 31px; height: 31px; }

  .eg-delivery-tabs { margin-top: 5px; }
  .eg-delivery-card { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; padding: 12px; border-radius: 17px; }
  .eg-delivery-card__icon { width: 42px; height: 42px; border-radius: 13px; }
  .eg-delivery-card__actions { grid-column: 2; min-width: 0; flex-direction: row; align-items: center; justify-content: space-between; }
  .eg-delivery-card h2 { font-size: .82rem; }
  .eg-delivery-card p { font-size: .65rem; }
  .eg-delivery-empty { min-height: 330px; border-radius: 21px; }

  .eg-track-lookup-inline { grid-template-columns: 1fr; padding: 14px; }
  .eg-track-lookup-inline form { grid-template-columns: 1fr; gap: 8px; }
  .eg-track-lookup-inline input,
  .eg-track-lookup-inline button { border-radius: 11px; }

  /* Commander and depot directory are separate routes on mobile. */
  .eg-app.is-commander-page .eg-mobile-order-intro { display: grid !important; }
  .eg-app.is-depot-directory .eg-mobile-order-intro { display: none !important; }
}
