.account-page {
  --account-ink: #152236;
  --account-muted: #53657b;
  --account-line: #dce4ec;
  --account-blue: #174d8d;
  background: #f3f6fa;
  color: var(--account-ink);
  min-height: 100vh;
}
.account-page .mast {background: #fff; border-color: #e1e8f0; color: var(--account-ink)}
.account-page .head {min-height: 69px}
.account-page .brand small {color: #596c83}
.account-page .header-actions .account-store-link {color: var(--account-muted); font-weight: 650}
.account-page .header-actions .account-store-link:hover {color: var(--account-blue)}
.account-store-link span {margin-left: 3px}
.account-page .header-actions .account-link {
  background: #f1f5fa; border-color: #e0e8f0; color: #23384f;
}
.account-page .account-avatar {background: #dbe8f8; color: #254b7a}
.account-main {padding-top: 22px; padding-bottom: max(92px, calc(76px + env(safe-area-inset-bottom)))}
.account-breadcrumb {display: flex; gap: 10px; align-items: center; margin-bottom: 17px; color: var(--account-muted); font-size: 13px}
.account-breadcrumb a:hover {color: var(--account-blue); text-decoration: underline}
.account-breadcrumb [aria-current] {color: var(--account-ink); font-weight: 650}
.account-loading {padding: 24px 0; color: var(--account-muted); font-size: 14px}

.account-cover {
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 166px;
  overflow: hidden;
  position: relative;
  color: #fff;
  border-radius: 20px;
  background: #10253f;
  padding: 26px 34px;
  box-shadow: 0 12px 26px #142d461c;
}
.account-cover::before {
  content: "";
  position: absolute;
  inset: 0 0 0 28%;
  z-index: -2;
  background: url("/static/media/hero.webp") 64% 52% / cover;
  opacity: .75;
}
.account-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #10253f 23%, #10253f 38%, #10253f73 75%, #10253f38);
}
.account-monogram {
  display: grid;
  flex: none;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #d5e8ff1a;
  border: 1px solid #94b8e263;
  color: #e3efff;
  font-size: 27px;
  font-weight: 750;
}
.account-cover-copy {min-width: 0}
.account-cover h1 {margin: 0; font-size: clamp(27px, 4vw, 39px); line-height: 1.22; letter-spacing: .02em}
.account-cover p {margin: 6px 0 0; color: #bed3ed; font-size: 15px; overflow-wrap: anywhere}

.account-layout {
  display: grid;
  grid-template-columns: minmax(150px, 204px) minmax(0,1fr);
  align-items: start;
  gap: 22px;
  margin-top: 22px;
}
.account-nav {
  display: grid;
  padding: 8px;
  border: 1px solid var(--account-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 16px #192e4906;
}
.account-nav :is(a,button) {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  background: transparent;
  color: #374b65;
  font-size: 14px;
  font-weight: 650;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  min-height: 44px;
  white-space: nowrap;
}
.account-nav :is(a,button):hover {background: #f2f6fa}
.account-nav a[aria-current] {background: #eaf2fd; color: #164e93}
.account-nav .account-nav-secondary {margin-top: 6px; border-top: 1px solid #e9eef5; border-radius: 0 0 9px 9px}
.account-nav .account-icon {flex: none}
.account-icon {
  position: relative;
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: currentColor;
  line-height: 1;
}
.icon-orders::before {
  content: "";
  width: 13px;
  height: 15px;
  border: 1.5px solid;
  border-radius: 3px;
}
.icon-orders::after {
  content: "";
  position: absolute;
  top: 6px;
  height: 1px;
  width: 6px;
  background: currentColor;
  box-shadow: 0 4px currentColor;
}
.icon-address::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 1.5px solid;
  border-radius: 50% 50% 2px 50%;
  transform: rotate(45deg);
}
.icon-address::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.icon-help {border: 1.5px solid; border-radius: 50%; font-size: 11px}
.icon-logout {font-size: 20px}

.account-content {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--account-line);
  border-radius: 16px;
  box-shadow: 0 4px 16px #192e4906;
}
.account-section-heading {display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 33px}
.account-section-heading h2 {margin: 0; line-height: 1.25; font-size: 24px}
.account-section-heading p {margin: 0; font-size: 13px; color: var(--account-muted)}
.address-heading {align-items: flex-start}
.address-heading p {margin-top: 7px}
.account-notice {margin: 12px 0 0; color: var(--account-blue); font-size: 14px; overflow-wrap: anywhere}
#retry-orders, #retry-address {margin-top: 10px}
.account-alert {padding: 12px 15px; background: #fff; border: 1px solid var(--account-line); border-radius: 10px}
.order-filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 16px 0;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  border-radius: 10px;
  background: #edf2f8;
}
.order-filters button,
.account-modes button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 5px 13px;
  color: var(--account-muted);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.order-filters button:hover, .account-modes button:hover {color: var(--account-blue)}
.order-filters [aria-pressed=true], .account-modes [aria-pressed=true] {
  color: #1e4778;
  border-color: #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px #20324e12;
}

.account-orders {display: grid; gap: 13px}
.account-order {overflow: hidden; background: #fff; border: 1px solid var(--account-line); border-radius: 12px}
.account-order-header {
  display: flex;
  gap: 10px 14px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 15px;
  background: #f6f8fb;
  box-shadow: 0 1px #edf1f6;
}
.order-metadata {display: flex; flex-wrap: wrap; gap: 3px 12px; min-width: 0; align-items: center}
.order-reference {display: flex; gap: 6px; align-items: baseline; max-width: 100%; font-size: 13px}
.order-reference span, .order-metadata time {color: var(--account-muted); white-space: nowrap}
.order-reference strong {overflow-wrap: anywhere; font-variant-numeric: tabular-nums; letter-spacing: .01em}
.order-metadata time {font-size: 12px}
.order-status-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 1.3;
  padding: 5px 8px;
  font-weight: 700;
  border-radius: 99px;
  color: #47576d;
  background: #e9eef4;
  white-space: nowrap;
}
.order-status-badge::before {content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor}
.order-status-badge[data-state=unpaid] {color: #8c4c13; background: #fff1dd}
.order-status-badge[data-state=paid] {color: #16664a; background: #e1f5eb}
.order-status-badge[data-state=failed] {color: #a03631; background: #fceae7}
.order-card-body {display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 16px; padding: 15px}
.order-card-items {display: grid; align-content: start; gap: 9px; min-width: 0}
.order-product {display: flex; align-items: center; gap: 11px; min-width: 0}
.order-picture {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 61px;
  height: 61px;
  overflow: hidden;
  color: #547192;
  border: 1px solid #e8edf3;
  border-radius: 9px;
  background: #f4f7fb;
}
.order-picture img {position: absolute; inset: 0; width: 100%; height: 100%; padding: 3px; object-fit: contain; background: white}
.order-product-copy {min-width: 0; overflow-wrap: anywhere}
.order-product-copy strong {display: block; color: var(--account-ink); font-size: 14px}
.order-product-copy span, .order-extra {color: var(--account-muted); font-size: 12px}
.order-extra {margin: 0}
.order-card-total {display: grid; justify-items: end; align-content: start}
.order-card-total > span {color: var(--account-muted); font-size: 12px}
.order-card-total > strong {font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; margin: 3px 0 9px}
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid #174d8d;
  border-radius: 8px;
  background: #174d8d;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.account-button:hover {background: #103f79}
.account-button.secondary {background: #fff; color: #234e81; border-color: #cbd9e9}
.account-button.secondary:hover {background: #edf4fd}
.order-card-delivery {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-inline: 15px;
  padding: 9px 0 11px;
  border-top: 1px solid #edf1f6;
  color: var(--account-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.order-card-delivery .account-icon {flex: none}

.account-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px 15px;
  border: 1px dashed #d6e0ec;
  background: #f9fbfe;
  border-radius: 12px;
  text-align: center;
}
.order-filters[hidden] ~ .account-orders .account-empty {margin-top: 14px}
.account-empty-icon {display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: #e7effa; color: var(--account-blue)}
.account-empty strong {font-size: 14px}
.account-address-summary {margin-top: 17px}
.account-address-summary:has(.address-detail) {
  display: flex;
  gap: 12px;
  border: 1px solid var(--account-line);
  border-radius: 12px;
  padding: 16px;
  align-items: flex-start;
  background: #f7faff;
}
.account-address-summary > .account-icon {flex: none; margin-top: 4px; color: var(--account-blue)}
.address-detail {min-width: 0}
.address-detail p {margin: 6px 0 0; color: var(--account-muted); overflow-wrap: anywhere; font-size: 14px}
.address-person {display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; overflow-wrap: anywhere}
.address-person > span {font-size: 13px; color: var(--account-muted)}
.address-person .address-default {color: #214e83; background: #e2eefc; border-radius: 5px; padding: 2px 6px; font-size: 11px}
.account-address-editor {width: min(530px, calc(100% - 24px)); border-radius: 16px; border-color: #d9e3ef}
.account-address-editor::backdrop {background: #101e35a0}
.account-editor-inner {padding: 23px}
.account-editor-inner > header {display: flex; align-items: center; justify-content: space-between; gap: 10px}
.account-editor-inner h3 {font-size: 21px; margin: 0}
.account-editor-close {border: 0; background: #f0f4f9; color: #253c57; border-radius: 7px; font-size: 22px; line-height: 1; width: 32px; height: 32px}
.account-editor-close:hover {background: #e3ebf6}
.account-page :is(.account-signin,.account-editor-inner) :is(input,select) {border-radius: 8px; background: #fbfcfe; min-height: 42px; color: var(--account-ink)}
.account-editor-inner .form-grid, .account-editor-inner .region-grid {gap: 8px}
.account-editor-inner .region-grid select {padding-inline: 6px}
.account-editor-actions {display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px}
.account-text-button {border: 0; background: transparent; padding: 6px 3px; color: #944633; font-weight: 650; font-size: 13px}
.account-text-button:hover {text-decoration: underline}

.account-signin {
  display: grid;
  grid-template-columns: .9fr 1fr;
  min-height: 370px;
  max-width: 820px;
  margin: 12px auto;
  overflow: hidden;
  border: 1px solid var(--account-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px #13294812;
}
.account-signin-image {background: linear-gradient(180deg,#10253f38,#10253f28),url("/static/media/hero.webp") 76% center / cover}
.account-signin-panel {padding: 30px; min-width: 0}
.account-signin h1 {margin: 0 0 16px; font-size: 27px}
.account-modes {display: flex; gap: 4px; padding: 4px; background: #edf2f8; border-radius: 9px}
.account-modes button {flex: 1}
.account-signin form {margin-top: 16px}
.account-signin form > button {min-height: 42px}
.account-hint {font-size: 13px; color: var(--account-muted); margin: 0}

@media (min-width: 761px) {
  .account-page :is(.support-launcher,.support-panel) {
    left: max(28px, calc((100vw - 1192px) / 2));
    right: auto;
  }
}
@media (max-width: 760px) {
  .account-page .head {min-height: 62px}
  .account-main {padding-top: 14px}
  .account-breadcrumb {margin-bottom: 11px}
  .account-cover {min-height: 123px; padding: 16px; gap: 12px; border-radius: 15px}
  .account-cover::before {left: 16%; background-position: 72% 52%}
  .account-cover::after {background: linear-gradient(92deg,#10253f 21%,#10253fde 50%,#10253f42)}
  .account-monogram {width: 45px; height: 45px; border-radius: 13px; font-size: 20px}
  .account-cover h1 {font-size: 27px}
  .account-cover p {font-size: 13px}
  .account-layout {grid-template-columns: minmax(0,1fr); margin-top: 13px; gap: 12px}
  .account-nav {grid-template-columns: repeat(4,minmax(0,1fr)); padding: 5px; gap: 3px}
  .account-nav :is(a,button) {justify-content: center; flex-direction: column; gap: 4px; min-height: 54px; padding: 6px 2px; font-size: 12px}
  .account-nav .account-nav-secondary {margin-top: 0; border: 0; border-radius: 9px}
  .account-content {padding: 13px; border-radius: 13px}
  .account-section-heading h2 {font-size: 21px}
  .order-filters {margin: 10px 0; gap: 2px}
  .order-filters button {padding-inline: 8px; font-size: 12px}
  .account-order-header {display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; align-items: center; padding: 9px 10px}
  .order-metadata {display: contents}
  .order-metadata .order-reference {grid-column: 1/-1}
  .account-page .support-launcher {width: 44px; height: 44px; justify-content: center; padding: 0}
  .account-page .support-launcher > span:last-child {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap}
  .order-card-body {padding: 10px; gap: 10px}
  .order-picture {width: 43px; height: 43px}
  .order-product {gap: 7px}
  .order-product-copy strong {font-size: 13px}
  .order-card-total > strong {font-size: 17px}
  .order-card-total .account-button {font-size: 12px; padding-inline: 8px; min-height: 32px}
  .order-card-delivery {margin-inline: 10px}
  .account-editor-inner {padding: 15px}
  .account-signin {grid-template-columns: minmax(0,1fr); max-width: 460px}
  .account-signin-image {min-height: 116px; background-position: 70% 52%}
  .account-signin-panel {padding: 20px}
}
@media (max-width: 370px) {
  .order-reference {display: block}
  .order-reference span {margin-right: 5px}
  .order-card-body {grid-template-columns: minmax(0,1fr)}
  .order-card-total {grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; gap: 5px}
  .order-card-total > strong {margin: 0}
  .order-card-total a {justify-self: end}
}
