/* Order + payment + calendar */
.product-checks-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Calendar range picker */
.cal {
  background: rgba(8, 12, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.85rem;
  backdrop-filter: blur(12px);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1.05rem;
}
.cal-head button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--snow);
  font-size: 1.1rem;
  line-height: 1;
}
.cal-head button:hover {
  border-color: rgba(232, 181, 106, 0.4);
  color: var(--gold);
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: center;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--snow);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
}
.cal-day:hover:not(:disabled) {
  border-color: rgba(232, 181, 106, 0.4);
  background: rgba(232, 181, 106, 0.1);
}
.cal-day:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.cal-day.other-month {
  opacity: 0.35;
}
.cal-day.in-range {
  background: rgba(232, 181, 106, 0.18);
  border-color: rgba(232, 181, 106, 0.15);
}
.cal-day.range-start,
.cal-day.range-end {
  background: linear-gradient(145deg, var(--gold-bright), #c9a227);
  color: #0f172a;
  font-weight: 700;
  border-color: transparent;
}
.cal-selected {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--gold);
  font-family: var(--font-m);
}

/* Payment */
.pay-wrap { max-width: 960px; }
.pay-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 860px) {
  .pay-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
.pay-card {
  padding: 1.35rem 1.4rem;
}
.pay-card h2 {
  font-family: var(--font-d);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.pay-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pay-dl {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}
.pay-dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--mist);
}
.pay-dl strong {
  color: var(--snow);
  font-weight: 500;
  text-align: right;
}
.pay-coin-block {
  margin-top: 1rem;
  text-align: center;
  padding: 1.15rem 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pay-coin-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  margin-bottom: 0.35rem;
}
.pay-coin-name {
  margin: 0.15rem 0 0;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--snow);
}

/* Liquid glass PAY amount under crypto logo */
.pay-amount-glass {
  margin: 1rem auto 0;
  max-width: 280px;
  padding: 0.95rem 1.15rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(20, 28, 40, 0.55) 48%,
    rgba(12, 16, 24, 0.72) 100%
  );
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 12px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(232, 181, 106, 0.18);
  text-align: center;
}
.pay-amount-kicker {
  display: block;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.35rem;
}
.pay-amount-value {
  display: block;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 1.95rem);
  letter-spacing: 0.02em;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(232, 181, 106, 0.25);
  line-height: 1.15;
}
.pay-amount-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--mist);
}

.pay-rate-breakdown {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sum-rates-box {
  margin: 0.85rem 0;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 181, 106, 0.2);
  background: rgba(232, 181, 106, 0.05);
}
.sum-rates-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.sum-rate-lines,
.sum-rate-row {
  font-size: 0.82rem;
}
.sum-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--snow);
}
.sum-rate-row:last-child { border-bottom: none; }
.sum-rate-row small {
  color: var(--mist);
  font-size: 0.7rem;
}
.sum-rate-row strong {
  font-family: var(--font-m);
  color: var(--gold);
  white-space: nowrap;
}
.sum-rate-total {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(232, 181, 106, 0.25);
  font-weight: 600;
}
.sum-total-line {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(232, 181, 106, 0.25);
}
.sum-total-line strong {
  font-size: 1.15rem !important;
  color: var(--gold) !important;
}
.sum-rate-lines .mist { color: var(--mist); font-size: 0.82rem; }

.pay-amount-crypto {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-m);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--snow);
  letter-spacing: 0.02em;
}

.order-auth-bar {
  margin: 1rem 0 0;
  border-radius: 16px;
  border: 1px solid rgba(232, 181, 106, 0.35);
  background: linear-gradient(
    145deg,
    rgba(232, 181, 106, 0.14) 0%,
    rgba(12, 16, 24, 0.65) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.order-auth-bar.pulse {
  animation: authPulse 0.8s ease;
}
@keyframes authPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 0 0 2px rgba(232, 181, 106, 0.55), 0 12px 36px rgba(232, 181, 106, 0.2); }
}
.order-auth-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
}
.order-auth-bar-inner strong {
  display: block;
  color: var(--snow);
  font-size: 0.95rem;
}
.order-auth-bar-inner p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--mist);
}
.order-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.order-status-blurb {
  margin: 0.65rem 0 0.35rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mist);
}
.order-status-blurb.status-reserved {
  border-color: rgba(240, 192, 112, 0.3);
  background: rgba(240, 192, 112, 0.08);
}
.order-status-blurb.status-awaiting {
  border-color: rgba(126, 200, 255, 0.3);
  background: rgba(126, 200, 255, 0.08);
}
.order-status-blurb.status-confirmed,
.order-status-blurb.status-dispatch {
  border-color: rgba(228, 199, 106, 0.35);
  background: rgba(228, 199, 106, 0.1);
}
.order-status-blurb.status-live {
  border-color: rgba(125, 255, 200, 0.3);
  background: rgba(125, 255, 200, 0.08);
}
.order-status-blurb.status-delivered {
  border-color: rgba(110, 231, 168, 0.35);
  background: rgba(110, 231, 168, 0.1);
}
.order-status-blurb strong {
  color: var(--snow);
}
.coin-mark {
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}
.coin-usdt-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.coin-trx-badge {
  position: absolute;
  right: -10px;
  bottom: -4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem 0.2rem 0.2rem;
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.coin-trx-badge svg {
  display: block;
  border-radius: 50%;
}
.addr-box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
  text-align: left;
}
.addr-box code {
  flex: 1;
  font-family: var(--font-m);
  font-size: 0.68rem;
  word-break: break-all;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

/* Order status pills */
.status-pill {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.status-reserved {
  color: #f0c070;
  border-color: rgba(240, 192, 112, 0.4);
  background: rgba(240, 192, 112, 0.1);
}
.status-awaiting {
  color: #7ec8ff;
  border-color: rgba(126, 200, 255, 0.4);
  background: rgba(126, 200, 255, 0.1);
}
.status-dispatch,
.status-confirmed {
  color: var(--gold-soft);
  border-color: rgba(228, 199, 106, 0.4);
  background: rgba(228, 199, 106, 0.1);
}
.status-live {
  color: #7dffc8;
  border-color: rgba(125, 255, 200, 0.45);
  background: rgba(125, 255, 200, 0.12);
  box-shadow: 0 0 12px rgba(125, 255, 200, 0.15);
}
.status-delivered {
  color: #6ee7a8;
  border-color: rgba(110, 231, 168, 0.4);
  background: rgba(110, 231, 168, 0.1);
}
.order-time {
  font-family: var(--font-m);
  font-size: 0.72rem;
  color: var(--mist);
  margin-top: 0.35rem;
}

/* ========== Place order — volume + delivery schedule ========== */
.sched-block {
  margin: 0.25rem 0 1.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sched-heading {
  margin: 0 0 1.25rem;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  color: var(--snow);
  line-height: 1.15;
}
.sched-label {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--font-m);
  font-size: var(--label, 0.62rem);
  font-weight: 500;
  letter-spacing: var(--tracking-label, 0.14em);
  text-transform: uppercase;
  color: var(--mist);
}
.sched-volume-input {
  width: 100%;
  padding: 0.85rem 1rem !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 500;
}
.sched-volume-input:focus {
  border-color: rgba(255, 106, 26, 0.55) !important;
  box-shadow: 0 0 0 2px rgba(255, 106, 26, 0.12);
  outline: none;
}

/* Schedule mode tabs */
.sched-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
  max-width: 100%;
}
.sched-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.7rem 1.15rem;
  margin: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(200, 205, 215, 0.9);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  min-width: 7.5rem;
}
.sched-tab:last-child { border-right: none; }
.sched-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.sched-tab.is-active {
  background: var(--accent);
  color: #fff;
}
.sched-tab-title {
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.sched-tab-sub {
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.sched-tab.is-active .sched-tab-sub { opacity: 0.95; }

/* Day picker grid */
.sched-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}
@media (max-width: 520px) {
  .sched-days { grid-template-columns: 1fr; }
  .sched-tabs { width: 100%; }
  .sched-tab { flex: 1; min-width: 0; padding: 0.65rem 0.7rem; }
}
.sched-day {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.sched-day:hover:not(.is-disabled) {
  border-color: rgba(255, 106, 26, 0.4);
  background: rgba(255, 106, 26, 0.06);
}
.sched-day.is-checked {
  border-color: rgba(255, 106, 26, 0.55);
  background: rgba(255, 106, 26, 0.1);
}
.sched-day.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sched-day input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.sched-day-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(180, 188, 200, 0.55);
  background: transparent;
  flex-shrink: 0;
  position: relative;
}
.sched-day.is-checked .sched-day-box {
  background: var(--accent);
  border-color: var(--accent);
}
.sched-day.is-checked .sched-day-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sched-day.is-disabled .sched-day-box {
  background: rgba(120, 128, 140, 0.45);
  border-color: rgba(120, 128, 140, 0.5);
}
.sched-day-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(230, 234, 240, 0.95);
}
.sched-day-date {
  font-size: 0.88rem;
  color: rgba(154, 163, 178, 0.9);
  font-variant-numeric: tabular-nums;
}
.sched-day.is-checked .sched-day-name { color: #fff; }

.sched-block-note {
  grid-column: 1 / -1;
  padding: 1.1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 106, 26, 0.28);
  background: linear-gradient(145deg, rgba(255, 106, 26, 0.1), rgba(0, 0, 0, 0.35));
}
.sched-block-note-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--snow);
}
.sched-block-note-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--mist);
}
.sched-block-note-body strong { color: var(--gold-soft); }
.sched-block-note-body .mist { color: rgba(154, 163, 178, 0.85); font-size: 0.82rem; }

.sched-summary {
  margin: 0.25rem 0 0;
  font-family: var(--font-m);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ========== Order steps + review arrangement ========== */
.order-form-panel { padding: 1.5rem; }
.order-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0.65rem 0;
}
.order-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(154, 163, 178, 0.75);
}
.order-step em {
  font-style: normal;
  font-weight: 700;
  color: inherit;
}
.order-step.is-active,
.order-step.is-done {
  color: var(--accent);
}
.order-step-line {
  flex: 0 0 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.order-step-kicker {
  margin: 1.35rem 0 0.65rem;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(154, 163, 178, 0.85);
}
.order-step-kicker.accent { color: var(--accent); }

/* Live drip card */
.drip-block { margin: 1.35rem 0 1rem; }
.drip-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1.05rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.drip-card:hover {
  border-color: rgba(61, 214, 140, 0.35);
  background: rgba(61, 214, 140, 0.04);
}
.drip-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.drip-card-ui {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border-radius: 4px;
  border: 1.5px solid rgba(180, 188, 200, 0.5);
  background: transparent;
  position: relative;
}
.drip-card:has(input:checked) .drip-card-ui {
  background: var(--accent);
  border-color: var(--accent);
}
.drip-card:has(input:checked) .drip-card-ui::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.drip-card-body { flex: 1; min-width: 0; }
.drip-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--snow);
  margin-bottom: 0.4rem;
}
.drip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.drip-badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  font-family: var(--font-m);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-950);
  background: var(--signal);
}
.drip-card-copy {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--mist);
}
.drip-card-copy strong {
  color: var(--signal);
  font-weight: 600;
}

/* Schema preview */
.schema-block {
  margin: 0 0 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.schema-head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.schema-head:hover { background: rgba(255, 255, 255, 0.03); }
.schema-head-left {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.schema-icon {
  font-size: 1.1rem;
  opacity: 0.7;
  margin-top: 0.1rem;
}
.schema-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--snow);
}
.schema-pill {
  display: inline-block;
  margin: 0.3rem 0.4rem 0.25rem 0;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  font-family: var(--font-m);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 210, 220, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}
.schema-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--mist);
  margin-top: 0.15rem;
}
.schema-chevron {
  color: var(--mist);
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.schema-head.is-collapsed .schema-chevron { transform: rotate(-90deg); }
.schema-body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.schema-body[hidden] { display: none !important; }
.schema-table-wrap {
  overflow-x: auto;
  margin-top: 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.schema-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.68rem;
}
.schema-table th {
  padding: 0.55rem 0.5rem;
  text-align: left;
  font-family: var(--font-m);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(180, 190, 205, 0.95);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.schema-table td {
  padding: 0.55rem 0.5rem;
  color: rgba(120, 128, 140, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}
.schema-foot {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--mist);
}

/* Confirm summary list */
.review-block {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.review-heading {
  margin: 0 0 1.25rem;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  color: var(--snow);
  line-height: 1.15;
}
.review-list {
  margin: 0 0 1rem;
  padding: 0;
}
.review-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  align-items: start;
}
.review-row dt {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(154, 163, 178, 0.95);
}
.review-row dd {
  margin: 0;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(240, 242, 246, 0.96);
  word-break: break-word;
}
.review-row-wide dd {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(200, 205, 215, 0.9);
  line-height: 1.45;
}
.review-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0 0.5rem;
  padding: 1.1rem 0 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.review-total span {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--snow);
}
.review-total strong {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.order-summary-sticky {
  position: sticky;
  top: 5.5rem;
}
@media (max-width: 900px) {
  .review-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .review-row dd { text-align: left; }
}

/* ========== My Orders desk (buyer portal table) ========== */
.mo-page { padding-bottom: 4rem; }
.mo-wrap { max-width: 1180px; }
.mo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.mo-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  color: var(--snow);
  line-height: 1.1;
}
.mo-sub {
  margin: 0;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--mist);
}
.mo-sub strong { color: var(--snow); font-weight: 600; }
.mo-sub em { font-style: italic; color: rgba(245, 240, 232, 0.85); }
.mo-account {
  text-align: right;
  font-size: 0.82rem;
  color: var(--mist);
}
.mo-account-name {
  display: block;
  font-weight: 600;
  color: var(--snow);
  margin-bottom: 0.15rem;
}
.mo-account-email { font-family: var(--font-m); font-size: 0.72rem; }

/* Fresh · last hour live banner */
.mo-fresh {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(61, 214, 140, 0.28);
  background: linear-gradient(
    105deg,
    rgba(16, 48, 36, 0.95) 0%,
    rgba(8, 18, 14, 0.92) 45%,
    rgba(6, 14, 12, 0.88) 100%
  );
  box-shadow: 0 0 40px rgba(61, 214, 140, 0.08) inset;
}
.mo-fresh[hidden] { display: none !important; }
.mo-fresh-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(61, 214, 140, 0.15);
  border: 1px solid rgba(61, 214, 140, 0.35);
  font-size: 1.35rem;
  color: var(--signal);
}
.mo-fresh-body { flex: 1; min-width: 0; }
.mo-fresh-kicker {
  margin: 0 0 0.25rem;
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}
.mo-fresh-line {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(200, 220, 210, 0.95);
  line-height: 1.3;
}
.mo-fresh-line strong {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.5vw, 1.95rem);
  color: #fff;
  letter-spacing: -0.03em;
  margin-right: 0.35rem;
  vertical-align: -0.05em;
}
.mo-fresh-line em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}
.mo-fresh-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-family: var(--font-m);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}
.mo-fresh-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.25);
  animation: moLivePulse 1.6s ease-in-out infinite;
}
.mo-fresh-live.is-off {
  color: rgba(154, 163, 178, 0.85);
}
.mo-fresh-live.is-off i {
  background: rgba(154, 163, 178, 0.6);
  box-shadow: none;
  animation: none;
}
@keyframes moLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}
@media (max-width: 560px) {
  .mo-fresh {
    flex-wrap: wrap;
  }
  .mo-fresh-live {
    margin-left: auto;
  }
}

/* Partial delivery badge */
.mo-badge-partial {
  color: #e8f4ff;
  background: #1e4a7a;
  border: 1px solid rgba(80, 160, 230, 0.45);
}
.mo-badge-scheduled {
  color: #e8f0ff;
  background: rgba(100, 140, 220, 0.25);
  border: 1px solid rgba(120, 160, 230, 0.4);
}
.mo-badge-cancelled {
  color: #f5d0d0;
  background: rgba(180, 60, 60, 0.25);
  border: 1px solid rgba(220, 100, 100, 0.35);
}
.mo-notify-btn {
  margin-top: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(61, 214, 140, 0.4);
  background: rgba(61, 214, 140, 0.1);
  color: var(--signal);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.mo-notify-btn:hover:not(:disabled) {
  background: rgba(61, 214, 140, 0.18);
  border-color: rgba(61, 214, 140, 0.65);
}
.mo-notify-btn.is-on {
  color: rgba(200, 220, 210, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: default;
}
.mo-notify-btn:disabled { opacity: 0.75; cursor: default; }
.mo-stats {
  /* polish: slightly taller cards, clearer hierarchy */
}
.mo-stat-v {
  letter-spacing: -0.04em;
}

/* 6h live-drip notice on order form */
.drip-6h-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 180, 80, 0.4);
  background: rgba(240, 160, 60, 0.1);
  color: #f0d9a8;
  font-size: 0.82rem;
  line-height: 1.45;
}
.drip-6h-notice[hidden] { display: none !important; }
.drip-6h-notice strong { color: var(--gold-bright); }
.drip-6h-icon { font-size: 1.1rem; line-height: 1.2; flex-shrink: 0; }

.status-partial {
  color: #7ec8ff;
  border-color: rgba(126, 200, 255, 0.4);
  background: rgba(126, 200, 255, 0.1);
}
.status-scheduled {
  color: #a8c4ff;
  border-color: rgba(140, 170, 240, 0.4);
  background: rgba(140, 170, 240, 0.1);
}
.status-cancelled {
  color: #f0a0a0;
  border-color: rgba(220, 100, 100, 0.35);
  background: rgba(180, 60, 60, 0.12);
}

/* Stats — gold left rail cards */
.mo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
@media (max-width: 960px) {
  .mo-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mo-stats { grid-template-columns: 1fr; }
}
.mo-stat {
  position: relative;
  padding: 1rem 1.1rem 0.95rem 1.2rem;
  border-radius: 10px;
  background: rgba(12, 14, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  min-height: 104px;
}
.mo-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
  border-radius: 3px 0 0 3px;
}
.mo-stat-k {
  margin: 0 0 0.45rem;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(154, 163, 178, 0.9);
}
.mo-stat-v {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.mo-stat-s {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--signal);
  font-weight: 500;
}

/* Filters */
.mo-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 900px) {
  .mo-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .mo-filters { grid-template-columns: 1fr; }
}
.mo-field {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  min-width: 0;
}
.mo-field-icon {
  position: absolute;
  left: 0.75rem;
  z-index: 1;
  color: rgba(154, 163, 178, 0.75);
  font-size: 0.9rem;
  pointer-events: none;
}
.mo-field input,
.mo-field select {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
  color: var(--snow);
  font-family: var(--font-b);
  font-size: 0.88rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.mo-search input,
.mo-date input { padding-left: 2.1rem; }
.mo-field select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(154, 163, 178, 0.8) 50%),
    linear-gradient(135deg, rgba(154, 163, 178, 0.8) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.75rem;
  cursor: pointer;
}
.mo-field input:focus,
.mo-field select:focus {
  border-color: rgba(255, 106, 26, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 106, 26, 0.12);
}
.mo-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

/* Table shell */
.mo-table-shell {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 14, 0.75);
  overflow: hidden;
}
.mo-table-scroll { overflow-x: auto; }
.mo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}
.mo-table thead th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(154, 163, 178, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.mo-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s;
}
.mo-table tbody tr:last-child { border-bottom: none; }
.mo-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.mo-table td {
  padding: 1rem;
  vertical-align: middle;
  color: rgba(200, 205, 215, 0.95);
  font-size: 0.9rem;
}
.mo-order-id {
  font-family: var(--font-m);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.mo-date-cell {
  color: rgba(154, 163, 178, 0.95);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Type chip */
.mo-type-chip {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-family: var(--font-m);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--signal);
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.28);
  white-space: nowrap;
}
.mo-type-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* Leads */
.mo-leads {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.mo-leads-ratio {
  font-variant-numeric: tabular-nums;
  color: rgba(220, 224, 232, 0.95);
  font-weight: 500;
}
.mo-drip-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid rgba(61, 214, 140, 0.25);
}
.mo-drip-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px rgba(61, 214, 140, 0.7);
}

/* Status */
.mo-status-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.mo-badge {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-family: var(--font-m);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mo-badge-dispatch {
  color: #1a1408;
  background: linear-gradient(145deg, #e8c76a, #c9a227);
  border: 1px solid rgba(232, 199, 106, 0.5);
}
.mo-badge-delivered {
  color: var(--ink-950);
  background: var(--signal);
  border: 1px solid rgba(61, 214, 140, 0.5);
}
.mo-badge-live {
  color: #042018;
  background: #2dd4a0;
  border: 1px solid rgba(45, 212, 160, 0.55);
}
.mo-badge-await {
  color: #e8f4ff;
  background: rgba(56, 140, 220, 0.35);
  border: 1px solid rgba(126, 200, 255, 0.45);
}
.mo-badge-pay {
  color: #1a1008;
  background: linear-gradient(145deg, var(--gold-soft), var(--accent));
  border: 1px solid rgba(255, 106, 26, 0.5);
}
.mo-time-chip {
  display: inline-block;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  font-family: var(--font-m);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8dff5;
  background: #1e3a5f;
  border: 1px solid rgba(80, 140, 200, 0.35);
  white-space: nowrap;
}

/* Actions */
.mo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-end;
}
.mo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.mo-btn:hover { transform: translateY(-1px); }
.mo-btn-csv {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 106, 26, 0.25);
}
.mo-btn-csv:hover { background: var(--gold-bright); }
.mo-btn-excel {
  color: var(--signal);
  background: transparent;
  border-color: rgba(61, 214, 140, 0.55);
}
.mo-btn-excel:hover {
  background: rgba(61, 214, 140, 0.1);
}
.mo-btn-contact {
  color: var(--accent);
  background: transparent;
  border-color: rgba(255, 106, 26, 0.65);
}
.mo-btn-contact:hover {
  background: rgba(255, 106, 26, 0.1);
}
.mo-btn-pay {
  color: #1a1008;
  background: linear-gradient(145deg, var(--gold-bright), #c9a227);
  border-color: transparent;
  font-weight: 700;
}
.mo-btn-pay:hover {
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}
.mo-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--mist);
}
.mo-empty p { margin: 0 0 1rem; }
.mo-empty[hidden] { display: none !important; }

/* Review / complaint */
.mo-btn-fb {
  color: rgba(230, 220, 200, 0.95);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}
.mo-btn-fb:hover {
  border-color: rgba(232, 181, 106, 0.55);
  background: rgba(232, 181, 106, 0.08);
  color: var(--gold);
}
.mo-btn-fb.is-done {
  color: var(--signal);
  border-color: rgba(61, 214, 140, 0.4);
}
.mo-fb-chip-c {
  background: rgba(180, 60, 60, 0.35) !important;
  border-color: rgba(220, 100, 100, 0.4) !important;
  color: #f5c0c0 !important;
}
.mo-fb-chip-r {
  background: rgba(61, 214, 140, 0.15) !important;
  border-color: rgba(61, 214, 140, 0.35) !important;
  color: var(--signal) !important;
}

body.mo-fb-open { overflow: hidden; }
.mo-fb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}
.mo-fb-overlay[hidden] { display: none !important; }
.mo-fb-modal {
  width: min(480px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 1.35rem 1.4rem 1.4rem;
  border-radius: 18px;
}
.mo-fb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mo-fb-head h2 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--font-d);
  font-size: 1.35rem;
  color: var(--snow);
}
.mo-fb-order {
  margin: 0;
  font-family: var(--font-m);
  font-size: 0.75rem;
  color: var(--gold);
}
.mo-fb-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--mist);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.mo-fb-close:hover {
  color: var(--snow);
  border-color: rgba(255, 255, 255, 0.25);
}
.mo-fb-stars {
  display: flex;
  gap: 0.25rem;
}
.mo-fb-stars button {
  border: none;
  background: transparent;
  color: rgba(154, 163, 178, 0.45);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.15rem;
  transition: color 0.15s, transform 0.15s;
}
.mo-fb-stars button.on { color: var(--gold); }
.mo-fb-stars button:hover { transform: scale(1.08); color: var(--gold-bright); }
.mo-fb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.mo-fb-done { text-align: left; }
.mo-fb-done-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-d);
  font-size: 1.15rem;
  color: var(--snow);
}
.mo-fb-done-body {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--mist);
}
#mo-fb-message {
  width: 100%;
  resize: vertical;
  min-height: 100px;
}

