.order-page,
.status-page {
  --ink: #102538;
  --muted: #637485;
  --muted-strong: #4c6272;
  --paper: #f5f8fa;
  --surface: #ffffff;
  --surface-soft: #eef5f8;
  --line: #dce6ec;
  --line-strong: #bfd0da;
  --success: #14875e;
  --success-soft: #e3f7ef;
  --warning: #b7791f;
  --warning-soft: #fff4da;
  --danger: #c2414b;
  --danger-soft: #fff0f1;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -8%, rgba(16, 169, 208, .15), transparent 31rem),
    radial-gradient(circle at 96% 4%, rgba(0, 103, 142, .1), transparent 30rem),
    var(--paper);
}

.order-page {
  padding-bottom: 7rem;
}

.order-page .top {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 0;
  border-bottom: 1px solid rgba(220, 230, 236, .82);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(7, 27, 44, .05);
  backdrop-filter: blur(18px);
}

.order-header__inner {
  width: min(var(--max-order), calc(100% - 2rem));
  min-height: var(--header-height);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.tenant-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: inherit;
  line-height: 1.1;
  text-decoration: none;
}

.tenant-brand__copy {
  min-width: 0;
  display: grid;
}

.tenant-brand__logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--radius-xs);
  object-fit: contain;
}

.tenant-brand__eyebrow {
  margin-bottom: .22rem;
  color: var(--blue-700);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.order-page .title {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 820;
  letter-spacing: -.025em;
  text-transform: none;
}

.order-page .subtitle {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .75rem;
}

.order-header__actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.platform-by {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .58rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.2;
}

.platform-by img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.platform-by span {
  display: grid;
}

.platform-by strong {
  color: var(--navy-900);
  font-size: .75rem;
}

.order-page .hero-wrap {
  width: min(var(--max-order), calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--space-5) 0 0;
}

.order-page .hero-banner {
  position: relative;
  min-height: clamp(230px, 28vw, 390px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(4, 19, 31, .18), rgba(4, 19, 31, .54)),
    var(--hero-image) center / cover no-repeat;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.order-page .hero-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 19, 31, .88), rgba(4, 19, 31, .55) 48%, rgba(4, 19, 31, .12)),
    linear-gradient(0deg, rgba(4, 19, 31, .38), transparent 60%);
}

.order-page .hero-banner::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(53, 194, 223, .24);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(53, 194, 223, .035),
    0 0 0 110px rgba(53, 194, 223, .025);
  pointer-events: none;
}

.order-page .hero-content {
  position: relative;
  z-index: 1;
  width: min(670px, 74%);
  max-width: none;
  min-height: inherit;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
}

.order-page .hero-kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(141, 220, 237, .32);
  border-radius: var(--radius-pill);
  padding: .42rem .75rem;
  color: #b9edf6;
  background: rgba(7, 27, 44, .48);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.order-page .hero-title {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-shadow: 0 3px 24px rgba(4, 19, 31, .46);
  text-transform: none;
}

.order-page .hero-subtitle {
  max-width: 610px;
  margin: 0;
  color: #d9e7ee;
  font-size: clamp(.92rem, 1.6vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(4, 19, 31, .5);
}

.order-page .access-shell {
  width: min(var(--max-order), calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--space-5) 0 0;
}

.order-page .panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-sm);
}

.order-page .panel > h2,
.order-page .cart-panel-head {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.15rem;
  color: var(--navy-900);
  background: linear-gradient(180deg, #fff, #f8fbfc);
  font-size: .75rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.order-page .panel-body {
  min-width: 0;
  padding: var(--space-5);
}

.order-page .auth-card {
  width: min(100%, 590px);
  margin: 0 auto;
  border-color: rgba(0, 135, 178, .22);
  box-shadow: var(--shadow);
}

.order-page .auth-intro {
  margin-bottom: var(--space-4);
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.order-page .grid-2,
.order-page .address-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.order-page .grid-address-top {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: end;
  gap: var(--space-3);
}

.order-page .field {
  min-width: 0;
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: .38rem;
}

.order-page .field label {
  color: var(--muted-strong);
  font-size: .76rem;
  font-weight: 700;
}

.order-page .field input,
.order-page .field select,
.order-page .field textarea,
.order-page .pizza-actions input,
.order-page .pizza-actions select,
.order-page .half-row select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .72rem .8rem;
  color: var(--ink);
  background: #fbfdfe;
  font-weight: 600;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.order-page .field textarea,
.order-page .pizza-note textarea {
  min-height: 76px;
  resize: vertical;
}

.order-page .field input::placeholder,
.order-page .field textarea::placeholder {
  color: #97a8b4;
}

.order-page .field input:focus,
.order-page .field select:focus,
.order-page .field textarea:focus,
.order-page .pizza-actions input:focus,
.order-page .pizza-actions select:focus,
.order-page .half-row select:focus {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: var(--focus-ring);
}

.order-page .btn {
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  overflow-wrap: anywhere;
  color: var(--navy-900);
  background: #fff;
  box-shadow: none;
  font-weight: 760;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.order-page .btn:hover {
  border-color: #9bcddd;
  background: var(--cyan-50);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.order-page .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.order-page .btn-accent {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--tenant-accent-strong), var(--tenant-accent));
  box-shadow: 0 12px 25px rgba(0, 135, 178, .2);
}

.order-page .btn-accent:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  box-shadow: 0 15px 30px rgba(0, 135, 178, .27);
}

.order-page .btn-compact {
  min-height: 40px;
  border-radius: var(--radius-pill);
  padding: .58rem .92rem;
  font-size: .75rem;
}

.order-page .cat-tabs {
  min-width: 0;
  margin: var(--space-3) 0 var(--space-4);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.order-page .section-tabs,
.order-page .auth-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-page .cat-btn {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .65rem .72rem;
  overflow-wrap: anywhere;
  color: var(--muted-strong);
  background: var(--surface-soft);
  font-weight: 720;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.order-page .cat-btn:hover {
  border-color: #aed8e4;
  color: var(--blue-700);
  background: var(--cyan-50);
}

.order-page .cat-btn.active {
  border-color: rgba(0, 135, 178, .22);
  color: var(--blue-700);
  background: var(--cyan-100);
  box-shadow: inset 0 0 0 1px rgba(16, 169, 208, .06);
}

.order-page .layout {
  width: min(var(--max-order), calc(100% - 2rem));
  min-width: 0;
  margin: 0 auto;
  padding: var(--space-5) 0 0;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.58fr);
  align-items: start;
  gap: var(--space-4);
}

.order-page .mobile-nav {
  display: none;
}

.order-page .checkout-info,
.order-page .gift-info,
.order-page .address-note,
.order-page .cart-meta {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.48;
}

.order-page .toolbar {
  min-width: 0;
  margin-bottom: var(--space-4);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--space-2);
}

.order-page .toolbar input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .7rem .8rem;
  color: var(--ink);
  background: #fbfdfe;
  outline: 0;
}

.order-page .toolbar input:focus {
  border-color: var(--blue-500);
  box-shadow: var(--focus-ring);
}

.order-page .menu-list {
  min-width: 0;
  max-height: calc(100vh - 250px);
  padding-right: .2rem;
  display: grid;
  gap: var(--space-3);
  overflow-x: hidden;
  overflow-y: auto;
}

.order-page .pizza-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 27, 44, .045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.order-page .pizza-card:hover {
  border-color: #b7dce6;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.order-page .pizza-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.order-page .pizza-name {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.order-page .pizza-cat {
  flex: 0 0 auto;
  border: 1px solid #c7e4ec;
  border-radius: var(--radius-pill);
  padding: .25rem .55rem;
  color: var(--blue-700);
  background: var(--cyan-50);
  font-size: .65rem;
  font-weight: 720;
  white-space: nowrap;
}

.order-page .pizza-ing {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.48;
}

.order-page .pizza-actions {
  min-width: 0;
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px auto;
  align-items: center;
  gap: var(--space-2);
}

.order-page .pizza-actions > * {
  min-width: 0;
}

.order-page .pizza-actions > div {
  color: var(--navy-900) !important;
}

.order-page .half-row {
  min-width: 0;
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-2);
}

.order-page .half-row label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted-strong);
  font-size: .74rem;
  font-weight: 700;
}

.order-page .half-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--blue-600);
}

.order-page .pizza-note {
  margin-top: var(--space-3);
  overflow: hidden;
  border: 1px dashed #bfd7df;
  border-radius: var(--radius-sm);
  background: #f8fbfc;
}

.order-page .pizza-note summary {
  padding: .7rem .8rem;
  color: var(--muted-strong);
  font-size: .74rem;
  font-weight: 720;
  cursor: pointer;
  user-select: none;
}

.order-page .pizza-note summary::after {
  content: "+";
  float: right;
  color: var(--blue-600);
  font-size: 1rem;
}

.order-page .pizza-note[open] summary::after {
  content: "−";
}

.order-page .pizza-note-body {
  padding: 0 .75rem .75rem;
}

.order-page .cart-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  color: var(--muted);
  background: #f8fbfc;
  text-align: center;
}

.order-page .cart-panel {
  position: fixed;
  z-index: 35;
  right: max(1rem, calc((100vw - var(--max-order)) / 2));
  bottom: 5.7rem;
  width: min(440px, calc(100vw - 2rem));
  max-height: calc(100vh - 7.2rem);
  display: none;
  border-color: rgba(0, 135, 178, .22);
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.order-page .cart-panel.open {
  display: block;
}

.order-page .cart-panel .panel-body {
  max-height: calc(100vh - 11.5rem);
  overflow: auto;
}

.order-page .cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.order-page .cart-panel-head h2 {
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--navy-900);
  background: transparent;
  font-size: .78rem;
  letter-spacing: .1em;
}

.order-page .cart-close {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .45rem .75rem;
  color: var(--muted-strong);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.order-page .cart-list {
  max-height: 310px;
  padding-right: .2rem;
  display: grid;
  gap: var(--space-2);
  overflow: auto;
}

.order-page .cart-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  background: #f9fbfc;
}

.order-page .cart-row {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.order-page .cart-name {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-size: .84rem;
  font-weight: 780;
}

.order-page .cart-remove {
  flex: 0 0 auto;
  border: 1px solid #f0c5ca;
  border-radius: var(--radius-xs);
  padding: .38rem .58rem;
  color: var(--danger);
  background: var(--danger-soft);
  font-size: .7rem;
  font-weight: 720;
  cursor: pointer;
}

.order-page .sum {
  margin-top: var(--space-3);
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--navy-900);
  font-size: 1.02rem;
  font-weight: 820;
}

.order-page .gift-box,
.order-page .checkout-box,
.order-page .track-box,
.order-page .pix-box {
  margin-top: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  background: #f8fbfc;
}

.order-page .gift-title,
.order-page .checkout-title,
.order-page .pix-title,
.order-page .track-title,
.order-page .panel-lock-title {
  margin-bottom: var(--space-2);
  color: var(--blue-700);
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.order-page .track-box {
  border-color: #b9dfd0;
  background: var(--success-soft);
}

.order-page .track-title {
  color: var(--success);
}

.order-page .pix-box {
  border-color: #bddce7;
  background: var(--cyan-50);
}

.order-page .pix-status {
  margin-bottom: var(--space-3);
  color: var(--muted-strong);
  font-size: .78rem;
}

.order-page .msg {
  margin-top: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7rem .8rem;
  color: var(--muted-strong);
  background: #f8fbfc;
  font-size: .78rem;
  line-height: 1.45;
}

.order-page .msg.ok {
  border-color: #b9dfd0;
  color: #0c704d;
  background: var(--success-soft);
}

.order-page .msg.err {
  border-color: #f0c5ca;
  color: #a62e3b;
  background: var(--danger-soft);
}

.order-page .cart-fab {
  position: fixed;
  z-index: 36;
  right: max(1rem, calc((100vw - var(--max-order)) / 2));
  bottom: 1rem;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 18px 40px rgba(0, 103, 142, .32);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.order-page .cart-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0, 103, 142, .4);
}

.order-page .cart-fab-icon {
  width: 27px;
  height: 27px;
}

.order-page .cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 25px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: var(--radius-pill);
  padding: 0 .35rem;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--danger);
  font-size: .68rem;
  font-weight: 820;
}

.order-page .cart-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(4, 19, 31, .6);
  backdrop-filter: blur(4px);
}

.order-page #addressConfirmBackdrop,
.order-page #recoverBackdrop {
  z-index: 40;
}

.order-page #pixBackdrop {
  z-index: 50;
}

.order-page .address-modal,
.order-page .pix-modal {
  position: fixed;
  z-index: 42;
  top: 50%;
  left: 50%;
  width: min(92vw, 510px);
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  border: 1px solid rgba(0, 135, 178, .22);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-strong);
  transform: translate(-50%, -50%);
}

.order-page .pix-modal {
  z-index: 52;
  width: min(94vw, 720px);
}

.order-page .address-modal-head,
.order-page .pix-modal-head {
  border-bottom: 1px solid var(--line);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  background: linear-gradient(180deg, #fff, #f8fbfc);
}

.order-page .address-modal-head h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: .9rem;
}

.order-page .address-modal-body,
.order-page .pix-modal-body {
  max-height: calc(100vh - 8rem);
  padding: var(--space-5);
  overflow: auto;
}

.order-page .pix-modal-subtitle {
  max-width: 520px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.order-page .pix-qr {
  width: min(330px, 100%);
  margin: 0 auto var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  background: #fff;
}

.order-page .pix-code {
  min-height: 100px;
  font-family: var(--font-mono);
  font-size: .72rem;
}

.order-page .pix-link {
  color: var(--blue-700);
  font-size: .75rem;
}

.order-page .address-search-wrap {
  position: relative;
  min-width: 0;
}

.order-page .address-suggest {
  position: absolute;
  z-index: 24;
  top: calc(100% + .25rem);
  right: 0;
  left: 0;
  max-height: 240px;
  overflow: auto;
  border: 1px solid #b6d6e0;
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  display: grid;
  gap: var(--space-2);
  background: #fff;
  box-shadow: var(--shadow);
}

.order-page .address-suggest-item {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: .65rem .72rem;
  color: var(--ink);
  background: #f8fbfc;
  text-align: left;
  cursor: pointer;
}

.order-page .address-suggest-item:hover,
.order-page .address-suggest-item:focus {
  border-color: var(--blue-500);
  background: var(--cyan-50);
}

.order-page .address-suggest-title {
  display: block;
  color: var(--navy-900);
  font-weight: 760;
}

.order-page .address-suggest-meta {
  display: block;
  margin-top: .18rem;
  color: var(--muted);
  font-size: .72rem;
}

.order-page .address-editor {
  margin-top: var(--space-4);
  border-top: 1px dashed var(--line);
  padding-top: var(--space-4);
}

.order-page .saved-address-preview,
.order-page .address-list-preview {
  margin-top: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  color: var(--muted-strong);
  background: #f8fbfc;
  font-size: .76rem;
  line-height: 1.48;
}

.order-page .saved-address-preview strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--blue-700);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.order-page .panel-lockable {
  position: relative;
}

.order-page .panel-lock {
  position: absolute;
  z-index: 8;
  inset: 0;
  padding: var(--space-5);
  display: grid;
  place-items: center;
  background: rgba(241, 247, 249, .82);
  backdrop-filter: blur(5px);
}

.order-page .panel-lock-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  background: #fff;
  box-shadow: var(--shadow);
}

.order-page .panel-lock-text {
  margin-bottom: var(--space-4);
  color: var(--muted);
  line-height: 1.5;
}

.order-page .account-bar {
  width: min(var(--max-order), calc(100% - 2rem));
  margin: var(--space-4) auto 0 !important;
}

.order-page .account-bar__inner {
  min-width: 0;
  padding: .75rem 1rem !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) !important;
  flex-wrap: wrap;
}

.order-footer,
.status-footer {
  width: min(var(--max-order), calc(100% - 2rem));
  margin: var(--space-10) auto 0;
  border-top: 1px solid var(--line);
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.order-footer img,
.status-footer img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.order-footer p,
.status-footer p {
  margin: 0;
}

.order-footer strong,
.status-footer strong {
  color: var(--navy-900);
}

/* Shared status/tracking screen */
.status-page .wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-10);
}

.status-page .status-brandbar {
  min-height: 62px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.status-page .status-tenant {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--navy-900);
  text-decoration: none;
}

.status-page .status-tenant small {
  color: var(--blue-700);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-page .status-tenant strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.status-page .platform-by {
  justify-content: flex-end;
}

.status-page .status-footer {
  width: min(1120px, calc(100% - 2rem));
  margin-top: 0;
}

.status-page .hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(53, 194, 223, .2), transparent 36%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow);
}

.status-page .hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(53, 194, 223, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(53, 194, 223, .035), 0 0 0 110px rgba(53, 194, 223, .025);
}

.status-page .eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  border: 1px solid rgba(141, 220, 237, .28);
  border-radius: var(--radius-pill);
  padding: .4rem .68rem;
  color: #a9e7f2;
  background: rgba(255, 255, 255, .04);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-page h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: var(--space-4) 0 var(--space-3);
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: none;
}

.status-page .hero p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #bfd0da;
  font-size: .95rem;
  line-height: 1.6;
}

.status-page .layout {
  min-width: 0;
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
}

.status-page .panel,
.status-page .status-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-sm);
}

.status-page .panel-head {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.15rem;
  color: var(--navy-900);
  background: linear-gradient(180deg, #fff, #f8fbfc);
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status-page .panel-body {
  padding: var(--space-5);
}

.status-page .field {
  min-width: 0;
  margin-bottom: var(--space-4);
  display: grid;
  gap: .38rem;
}

.status-page .field label {
  color: var(--muted-strong);
  font-size: .74rem;
  font-weight: 700;
}

.status-page .field input,
.status-page .field select,
.status-page .field-value {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .7rem .8rem;
  color: var(--ink);
  background: #fbfdfe;
  font-weight: 650;
  outline: 0;
}

.status-page .field input:focus,
.status-page .field select:focus {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: var(--focus-ring);
}

.status-page .btn {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: .72rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 12px 25px rgba(0, 135, 178, .2);
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.status-page .hint,
.status-page .footer-note {
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.55;
}

.status-page .status-shell {
  min-width: 0;
  display: grid;
  gap: var(--space-4);
}

.status-page .status-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.status-page .status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid #b9dce6;
  border-radius: var(--radius-pill);
  padding: .36rem .68rem;
  color: var(--blue-700);
  background: var(--cyan-50);
  font-size: .66rem;
  font-weight: 820;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.status-page .status-badge.ok {
  border-color: #b9dfd0;
  color: var(--success);
  background: var(--success-soft);
}

.status-page .status-badge.bad {
  border-color: #f0c5ca;
  color: var(--danger);
  background: var(--danger-soft);
}

.status-page .status-title {
  margin: var(--space-4) 0 var(--space-2);
  color: var(--navy-900);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -.035em;
}

.status-page .status-detail {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-page .meta-grid,
.status-page .order-summary-grid {
  min-width: 0;
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.status-page .meta-item,
.status-page .summary-box,
.status-page .order-item,
.status-page .step {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  background: #f8fbfc;
}

.status-page .meta-label,
.status-page .summary-box-label,
.status-page .order-summary-head {
  margin-bottom: .3rem;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-page .meta-value,
.status-page .summary-box-value {
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-size: .84rem;
  font-weight: 760;
}

.status-page .order-summary {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.status-page .order-items,
.status-page .steps {
  display: grid;
  gap: var(--space-3);
}

.status-page .order-item {
  display: grid;
  gap: var(--space-2);
}

.status-page .order-item-top {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.status-page .order-item-title {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-weight: 760;
}

.status-page .order-item-price {
  flex: 0 0 auto;
  color: var(--blue-700);
  font-weight: 800;
}

.status-page .order-item-meta,
.status-page .order-item-obs {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.48;
}

.status-page .step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
}

.status-page .step-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #c6d5dd;
  border-radius: 50%;
  background: transparent;
}

.status-page .step.done .step-dot {
  border-color: var(--success);
  background: var(--success);
}

.status-page .step.current {
  border-color: #addce8;
  background: var(--cyan-50);
}

.status-page .step.current .step-dot {
  border-color: var(--blue-500);
  background: var(--blue-500);
}

.status-page .step-title {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-weight: 730;
}

.status-page .empty,
.status-page .loading {
  min-width: 0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: var(--space-8);
  color: var(--muted);
  background: rgba(255, 255, 255, .75);
  text-align: center;
}

.status-page .loading-spinner {
  width: 30px;
  height: 30px;
  margin: 0 auto var(--space-3);
  border: 3px solid #dce8ed;
  border-top-color: var(--blue-500);
  border-radius: 50%;
  animation: siteStatusSpin .9s linear infinite;
}

@keyframes siteStatusSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 920px) {
  .order-page .layout {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  }

  .order-page .platform-by > span {
    display: none;
  }
}

@media (max-width: 860px) {
  .order-header__inner {
    width: min(100% - 1.25rem, var(--max-order));
    min-height: 68px;
  }

  .order-page .hero-wrap,
  .order-page .access-shell,
  .order-page .layout,
  .order-page .account-bar {
    width: min(100% - 1.25rem, var(--max-order));
  }

  .order-page .hero-wrap {
    padding-top: .7rem;
  }

  .order-page .hero-banner {
    min-height: 270px;
    border-radius: var(--radius);
  }

  .order-page .hero-content {
    width: 86%;
    padding: var(--space-8);
  }

  .order-page .mobile-nav {
    position: sticky;
    z-index: 18;
    top: 68px;
    width: min(100% - 1.25rem, var(--max-order));
    margin: var(--space-3) auto 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
  }

  .order-page .layout {
    grid-template-columns: 1fr;
  }

  .order-page .layout.mobile-mode > .mobile-pane {
    display: none;
  }

  .order-page .layout.mobile-mode > .mobile-pane.show {
    display: block;
  }

  .order-page .menu-list {
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }

  .order-page .cart-panel {
    right: .65rem;
    bottom: 5.2rem;
    left: .65rem;
    width: auto;
    max-height: calc(100dvh - 6rem);
  }

  .order-page .cart-panel .panel-body {
    max-height: calc(100dvh - 10rem);
  }

  .order-page .cart-fab {
    right: .8rem;
    bottom: .8rem;
  }

  .status-page .status-wrap {
    width: min(100% - 1.25rem, 1120px);
    padding-top: .75rem;
  }

  .status-page .layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .order-page {
    padding-bottom: 6rem;
  }

  .order-header__inner {
    align-items: center;
    gap: var(--space-2);
  }

  .order-header__actions {
    flex: 0 0 auto;
  }

  .order-header__actions .platform-by {
    display: none;
  }

  .order-page .btn-compact {
    min-height: 38px;
    padding: .5rem .72rem;
    font-size: .7rem;
  }

  .order-page .hero-banner {
    min-height: 245px;
  }

  .order-page .hero-banner::before {
    background: linear-gradient(90deg, rgba(4, 19, 31, .9), rgba(4, 19, 31, .46));
  }

  .order-page .hero-content {
    width: 100%;
    padding: var(--space-6);
  }

  .order-page .hero-title {
    max-width: 19ch;
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .order-page .hero-subtitle {
    max-width: 34ch;
    font-size: .87rem;
  }

  .order-page .grid-2,
  .order-page .grid-address-top,
  .order-page .address-actions {
    grid-template-columns: 1fr;
  }

  .order-page .panel-body {
    padding: var(--space-4);
  }

  .order-page .cat-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-page .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-page .toolbar input {
    grid-column: 1 / -1;
  }

  .order-page .pizza-head {
    flex-wrap: wrap;
  }

  .order-page .pizza-cat {
    white-space: normal;
  }

  .order-page .pizza-actions {
    grid-template-columns: minmax(0, 1fr) 74px;
  }

  .order-page .pizza-actions .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .order-page .half-row {
    grid-template-columns: 1fr;
  }

  .order-page .account-bar__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .order-page .account-bar__inner > .btn {
    width: 100% !important;
  }

  .status-page .status-brandbar {
    align-items: flex-start;
  }

  .status-page .platform-by > span {
    display: none;
  }

  .status-page .hero {
    border-radius: var(--radius);
    padding: var(--space-8) var(--space-5);
  }

  .status-page .meta-grid,
  .status-page .order-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .order-page .title {
    max-width: 15rem;
    font-size: .96rem;
  }

  .order-page .hero-title {
    font-size: clamp(1.75rem, 9.3vw, 2.3rem);
  }

  .order-page .toolbar,
  .order-page .pizza-actions {
    grid-template-columns: 1fr;
  }

  .order-page .toolbar input,
  .order-page .pizza-actions .btn {
    grid-column: auto;
  }

  .order-page .pizza-actions input[type="number"] {
    text-align: left;
  }

  .order-page .cart-row,
  .status-page .order-item-top {
    align-items: stretch;
    flex-direction: column;
  }

  .order-page .cart-remove {
    width: 100%;
  }

  .order-page .address-modal-body,
  .order-page .pix-modal-body {
    padding: var(--space-4);
  }
}
