/* My orders — elevated layout (works with existing checkout auth tokens) */
.account-shell {
  max-width: min(1480px, 96vw);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem) 3.5rem;
}

.account-dock {
  border-radius: 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.account-dock + .account-dock {
  margin-top: 1.25rem;
}

.account-orders-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: none;
  overflow: visible;
}

.account-orders-list__card-wrap:hover .account-order-card {
  border-color: rgba(38, 166, 154, 0.22);
  box-shadow: 0 12px 40px rgba(38, 166, 154, 0.08);
}

.account-order-hint {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(26, 32, 44, 0.5);
}

.account-paid-banner {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg, 12px);
  font-size: 0.9rem;
  line-height: 1.5;
  color: #14532d;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.account-paid-banner[hidden] {
  display: none !important;
}

.account-session-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid rgba(38, 166, 154, 0.2);
  background: rgba(38, 166, 154, 0.06);
}

.account-session-bar[hidden] {
  display: none !important;
}

.account-session-bar__text {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(26, 32, 44, 0.75);
}

.account-orders-list__card-wrap.account-order-li--hi .account-order-card {
  outline: 2px solid rgba(38, 166, 154, 0.45);
  outline-offset: 3px;
}

.account-order-status {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(30, 58, 95, 0.88);
}

/* One order: main bill (left) + actions (right). Page scrolls naturally — no inner scroll box. */
.account-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9.5rem, 12.5rem);
  gap: 1rem 1.35rem;
  align-items: start;
}

.account-order-row--single {
  grid-template-columns: minmax(0, 1fr);
}

.account-order-row__main {
  min-width: 0;
}

.account-order-row__aside {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 0.15rem;
}

@media (max-width: 720px) {
  .account-order-row {
    grid-template-columns: 1fr;
  }

  .account-order-row__aside {
    padding-top: 0;
    padding-left: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin-top: 0.25rem;
    padding-top: 0.85rem;
  }
}

/* Bill-style order detail (syncs with same fulfillment + tag as vendor board) */
.account-order-bill {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-order-bill__head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.account-order-bill__meta {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.55);
}

.account-order-bill__type {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(38, 166, 154, 0.95);
  background: rgba(38, 166, 154, 0.1);
  vertical-align: middle;
}

.account-order-bill__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
  margin-bottom: 0.25rem;
}

.account-order-bill__ship {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.account-order-bill__ship-line {
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.78);
}

.account-order-bill__lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.account-order-bill__empty {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(15, 23, 42, 0.5);
}

.account-order-line {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 0.65rem 0.75rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.account-order-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.account-order-line__img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.account-order-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-order-line__img--empty {
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

.account-order-line__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.account-order-line__sub {
  margin-top: 0.12rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.52);
}

.account-order-line__amt {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  text-align: right;
  white-space: nowrap;
}

.account-order-bill__totals {
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.account-order-bill__totalrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(15, 23, 42, 0.65);
}

.account-order-bill__totalrow span:last-child {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.88);
  white-space: nowrap;
}

.account-order-bill__totalrow--grand {
  margin-top: 0.25rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.95rem;
  color: #0f172a;
}

.account-order-bill__totalrow--grand span:last-child {
  font-size: 1.02rem;
}

.account-order-cancel {
  margin-top: 0;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.account-order-dl-bill {
  margin-top: 0;
  width: auto;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.55rem 0.85rem;
}

/* ——— Store-style account chrome (reference: clean white + blue accents) ——— */
body.page-account {
  color: #0f172a;
}

body.page-account .account-store-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

body.page-account .account-store-main {
  background: transparent;
}

body.page-account .nav-dock-link--active,
body.page-account .nav-dock-link.is-active {
  color: #1d4ed8;
  font-weight: 600;
  background: rgba(29, 78, 216, 0.08);
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.14);
}

/* My orders: use full main column width (auth sheet default max-width is too narrow). */
body.page-account .account-orders-panel.checkout-auth-sheet {
  max-width: none;
  width: 100%;
}

.account-shell--store {
  max-width: min(1600px, 98vw);
}

.account-layout {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  align-items: stretch;
}

.account-layout__main {
  min-width: 0;
  width: 100%;
}

.account-sidebar[hidden] {
  display: none !important;
}

.account-sidebar {
  position: static;
  top: auto;
  align-self: stretch;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.account-side-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0 0.25rem;
}

.account-side-nav__rule {
  width: 1px;
  height: 1.35rem;
  margin: 0 0.15rem;
  flex-shrink: 0;
  align-self: center;
  background: rgba(15, 23, 42, 0.1);
}

.account-side-nav__link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  color: rgba(15, 23, 42, 0.78);
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.account-side-nav__link:hover {
  background: rgba(38, 166, 154, 0.06);
  color: #1e3a5f;
}

.account-side-nav__link--active {
  background: rgba(38, 166, 154, 0.12);
  color: #1d4ed8;
  font-weight: 600;
}

.account-side-nav__link--muted {
  color: rgba(15, 23, 42, 0.38);
  cursor: default;
}

.account-side-nav__link--muted:hover {
  background: transparent;
  color: rgba(15, 23, 42, 0.38);
}

.account-addr-list,
.account-later-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-addr-card {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.82);
}

.account-addr-card p {
  margin: 0.25rem 0 0;
}

.account-addr-card p:first-child {
  margin-top: 0;
}

.account-addr-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.account-addr-card__delete {
  border: 0;
  background: transparent;
  color: #b42318;
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 0.65rem;
}

.account-addr-card__form {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.account-addr-card__form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0.45rem 0;
}

.account-addr-card__form input,
.account-addr-card__form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 0.55rem;
  background: #fff;
  font: inherit;
}

.account-addr-card__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.account-addr-card__error {
  color: #b42318;
  min-height: 1.1em;
  margin: 0.35rem 0 0;
}

@media (max-width: 520px) {
  .account-addr-card__form-grid { grid-template-columns: 1fr; gap: 0; }
}

.account-addr-panel__need-signin {
  font-size: 0.88rem;
  color: rgba(15, 23, 42, 0.55);
  margin: 0 0 0.5rem;
}

.account-addr-panel__need-signin[hidden] {
  display: none !important;
}

.account-addr-panel__link {
  display: inline-block;
  margin-top: 1rem;
}

.account-profile-edit { margin-top: 0.6rem; }
.account-profile-form { margin-top: 0.65rem; max-width: 34rem; }
.account-profile-form > label { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.25rem; }
.account-profile-form__row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.account-profile-form input { flex: 1 1 12rem; min-width: 0; border: 1px solid rgba(15, 23, 42, 0.16); border-radius: 0.55rem; padding: 0.55rem 0.65rem; font: inherit; }
.account-profile-form__status { min-height: 1.1em; margin: 0.35rem 0 0; color: #b42318; }

.account-later-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.account-later-line__img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.account-later-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-later-line__body {
  flex: 1;
  min-width: 0;
}

.account-later-line__body strong {
  display: block;
  font-size: 0.88rem;
}

.account-later-line__body span {
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.52);
}

.account-later-line__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.account-later-line__tocart {
  width: auto !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.68rem !important;
}

.account-later-line__rm {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  border-radius: 0.45rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: rgba(15, 23, 42, 0.45);
}

.account-hero {
  margin-bottom: 1.25rem;
}

.account-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.account-hero__line {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.88);
}

.account-hero__email {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: rgba(15, 23, 42, 0.55);
}

.account-orders-panel__head {
  margin-bottom: 0.75rem;
}

.account-orders-panel__h {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.account-orders-panel__hint {
  margin: 0;
}

.account-order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.account-order-tab {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f1f5f9;
  color: rgba(15, 23, 42, 0.75);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.account-order-tab:hover {
  border-color: rgba(38, 166, 154, 0.35);
  color: #1e3a5f;
}

.account-order-tab.is-active {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.18);
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.account-orders-list__card-wrap {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-orders-empty {
  list-style: none;
  margin: 0;
  padding: 1.25rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: #f8fafc;
}

.account-orders-empty__text {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.55);
}

.account-order-card {
  border-radius: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 1rem 1.15rem 1.15rem;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.04);
}

.account-order-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.5rem;
}

.account-order-card__header-left {
  min-width: 0;
}

.account-order-card__order-no {
  font-size: 1rem;
  color: #0f172a;
}

.account-order-card__tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(38, 166, 154, 0.95);
  background: rgba(38, 166, 154, 0.1);
  vertical-align: middle;
}

.account-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.account-order-card__dl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.account-order-card__dl-icon {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.85;
}

.account-order-card__kebab {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  color: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 1.1rem;
  line-height: 1;
  user-select: none;
}

.account-order-card__cancel {
  width: auto;
  min-width: 8rem;
}

.account-order-card__summary {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: rgba(15, 23, 42, 0.55);
}

.account-order-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.account-order-card__cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.account-order-card__cell--wide {
  grid-column: 1 / -1;
}

.account-order-card__cell-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.account-order-card__cell-value {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.82);
}

.account-order-card__ship-sep {
  color: rgba(15, 23, 42, 0.35);
}

.account-order-card__pay-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.48);
}

.account-order-card__status {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.82);
}

.account-order-card__status--ok {
  color: #15803d;
}

.account-order-card__status--progress {
  color: #c2410c;
}

.account-order-card__status--muted {
  color: rgba(15, 23, 42, 0.45);
}

.account-order-card .account-order-bill__lines {
  margin-top: 0.25rem;
}

@media (max-width: 880px) {
  .account-side-nav__link {
    font-size: 0.82rem;
    padding: 0.5rem 0.65rem;
  }
}

/* Signed-in: sidebar + main content side by side on wide screens (avoids cramped single column). */
@media (min-width: 960px) {
  .account-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
  }

  .account-sidebar:not([hidden]) {
    position: sticky;
    top: 1rem;
  }

  .account-side-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.35rem 0.15rem;
  }

  .account-side-nav__rule {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
    align-self: stretch;
  }

  .account-side-nav__link {
    width: 100%;
  }
}

/* Shipment tracking (My orders) */
.account-shipment {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(20, 143, 127, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(125, 211, 199, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 247, 0.98));
  box-shadow: 0 12px 32px rgba(26, 43, 72, 0.05);
}

.account-shipment__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.account-shipment__head-copy {
  min-width: 0;
}

.account-shipment__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cg-navy, #1a2b48);
}

.account-shipment__courier {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(26, 43, 72, 0.58);
}

.account-shipment__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid transparent;
}

.account-shipment__badge--default {
  color: #0f766e;
  background: rgba(38, 166, 154, 0.12);
  border-color: rgba(38, 166, 154, 0.22);
}

.account-shipment__badge--transit {
  color: #c2410c;
  background: rgba(251, 146, 60, 0.14);
  border-color: rgba(251, 146, 60, 0.28);
}

.account-shipment__badge--delivered {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.24);
}

.account-shipment__badge--alert {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.22);
}

.account-shipment__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 43, 72, 0.06);
}

.account-shipment__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.account-shipment__meta-item--wide {
  grid-column: 1 / -1;
}

.account-shipment__meta-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 43, 72, 0.45);
}

.account-shipment__meta-value {
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(26, 43, 72, 0.82);
}

.account-shipment__meta-value--ok {
  color: #15803d;
  font-weight: 600;
}

.account-shipment__awb {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0f172a;
  word-break: break-all;
}

.account-shipment__stale {
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #92400e;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.account-shipment__timeline-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(26, 43, 72, 0.55);
}

.account-shipment__timeline {
  display: none;
  margin: 0.15rem 0 0.75rem;
  padding: 0.65rem 0.55rem 0.35rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(26, 43, 72, 0.06);
}

.account-shipment__timeline.is-open {
  display: block;
}

.account-shipment__timeline-empty {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(26, 43, 72, 0.55);
}

.account-shipment__alert {
  margin: 0.5rem 0 0;
  color: #b45309;
  font-size: 0.84rem;
}

.account-shipment__step-date {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.72rem;
  color: rgba(26, 43, 72, 0.48);
}

.account-shipment__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.account-shipment-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.65rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--cg-grad-primary, linear-gradient(135deg, #26a69a 0%, #148f7f 55%, #0f766e 100%));
  color: #fff;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--cg-shadow-green, 0 14px 36px rgba(38, 166, 154, 0.18));
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.account-shipment-track:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(38, 166, 154, 0.28);
}

.account-shipment-track:disabled {
  opacity: 0.72;
  cursor: wait;
}

.account-shipment-track__spinner {
  display: none;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: account-shipment-spin 0.65s linear infinite;
}

.account-shipment-track.is-loading .account-shipment-track__spinner {
  display: inline-block;
}

.account-shipment-track.is-loading .account-shipment-track__label {
  opacity: 0.88;
}

@keyframes account-shipment-spin {
  to {
    transform: rotate(360deg);
  }
}

.account-shipment-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(38, 166, 154, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: var(--cg-teal-deep, #1e8e84);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.account-shipment-ext:hover {
  background: #fff;
  border-color: rgba(38, 166, 154, 0.45);
}

.account-shipment__timeline-list.cg-ship-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cg-ship-timeline__step {
  position: relative;
  padding: 0 0 0.9rem 1.35rem;
  border-left: 2px solid #dbe4ee;
  margin-left: 6px;
}

.cg-ship-timeline__step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.cg-ship-timeline__dot {
  position: absolute;
  left: -1px;
  top: 0.2rem;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cbd5e1;
}

.cg-ship-timeline__step--complete .cg-ship-timeline__dot {
  background: #059669;
  box-shadow: 0 0 0 1px #059669;
}

.cg-ship-timeline__step--current .cg-ship-timeline__dot {
  background: #0d9488;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.25);
}

.cg-ship-timeline__body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cg-ship-timeline__body strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(26, 43, 72, 0.88);
}

@media (min-width: 720px) {
  .account-shipment__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-shipment__meta-item--wide {
    grid-column: span 2;
  }

  .account-shipment__timeline-list.cg-ship-timeline {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .account-shipment__timeline-list .cg-ship-timeline__step {
    flex: 1 0 92px;
    min-width: 92px;
    padding: 1.1rem 0 0;
    border-left: 0;
    margin-left: 0;
    text-align: center;
  }

  .account-shipment__timeline-list .cg-ship-timeline__dot {
    left: 50%;
    top: 0;
    margin-left: -6px;
  }
}
