:root {
  --phone-width: 393px;
  --phone-height: 780px;
  --radius: 54px;
  --safe-top: 36px;
  --safe-bottom: 88px;
}

* {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  padding: 0 !important;
  width: 393px;
  height: var(--phone-height);
  overflow: hidden;
  font-family: "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 100%);
}

.phone {
  width: var(--phone-width);
  height: var(--phone-height);
  box-sizing: border-box;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}

.status-bar {
  height: var(--safe-top);
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: 8px 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  backdrop-filter: none;
}

.status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dynamic-island {
  display: none;
}

.app-nav {
  height: var(--safe-bottom);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #e2e8f0;
  backdrop-filter: blur(14px);
  padding: 10px 12px 22px;
  z-index: 20;
}

.app-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
  font-size: 11px;
  color: #0f172a;
}

.app-nav li i {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.app-nav .active {
  color: #E7842C;
  font-weight: 600;
}

.pay-method {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #0f172a;
}

.pay-method img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.screen {
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: var(--radius);
  border: 10px solid #0f172a;
  box-shadow: 0 30px 55px rgba(15, 23, 42, 0.35);
}

.scroll-area {
  height: 100%;
  overflow-y: auto;
  padding-top: var(--safe-top);
  padding-bottom: calc(var(--safe-bottom) + 12px);
}

.no-tab .scroll-area {
  padding-bottom: 24px;
}

.mp-navbar {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  margin: 0 -4px 4px;
}

.mp-navbar-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 16px;
}

.mp-navbar-title {
  position: absolute;
  left: 40px;
  right: 40px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  pointer-events: none;
}

.mp-navbar-capsule,
.home-capsule {
  display: none !important;
}

.scroll-area > .px-4 {
  padding-top: 2px;
}

.mp-navbar-capsule {
  margin-left: auto;
  width: 87px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
}

.mp-navbar-capsule span {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.mp-navbar-capsule span:last-child {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 400;
}

.my-coupons-title {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.profile-menu {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.profile-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 0;
  width: 100%;
  cursor: pointer;
}

.profile-menu-row + .profile-menu-row {
  border-top: 1px solid #f1f5f9;
}

.profile-menu-main {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.profile-menu-icon {
  flex-shrink: 0;
  width: 20px;
  font-size: 15px;
  text-align: center;
}

.profile-menu-label {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  line-height: 20px;
}

.profile-menu-label.is-muted {
  color: #475569;
}

.profile-menu-hint {
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 12px;
  color: #64748b;
}

.profile-menu-arrow {
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.profile-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-top: 8px;
  border-radius: 16px;
  border: 1px solid #fee2e2;
  background: #fff;
  color: #ef4444;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.profile-edit-title {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.profile-edit-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.profile-edit-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  background: #fff;
}

.profile-edit-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.profile-edit-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
}

.profile-edit-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.profile-edit-avatar-hint {
  font-size: 12px;
  color: #94a3b8;
}

.profile-edit-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 15px;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
}

.profile-edit-save {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  border-radius: 9999px;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.addr-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 36px;
  border-radius: 9999px;
  background: #fff;
  color: #94a3b8;
  font-size: 13px;
}

.addr-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: #0f172a;
  outline: none;
}

.addr-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.addr-chip {
  padding: 5px 14px;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  color: #475569;
  background: #eef2f6;
  cursor: pointer;
}

.addr-chip.is-on {
  color: #c2410c;
  background: #ffedd5;
  font-weight: 600;
}

.addr-card {
  margin-top: 10px;
  padding: 14px 14px 0;
  border-radius: 10px;
  background: #fff;
}

.addr-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.addr-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.addr-card-phone {
  font-size: 13px;
  color: #64748b;
}

.addr-card-tag {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  color: #64748b;
  background: #f1f5f9;
}

.addr-card-line {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.addr-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
}

.addr-radio {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #475569;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.addr-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  box-sizing: border-box;
}

.addr-dot.is-on {
  border-color: #e7842c;
  background: radial-gradient(circle, #e7842c 0 45%, transparent 48%);
}

.addr-card-acts {
  display: flex;
  align-items: center;
  gap: 14px;
}

.addr-card-acts a,
.addr-card-acts button {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: #475569;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
}

.addr-end {
  margin: 16px 0 8px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.addr-end span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.addr-end span::before,
.addr-end span::after {
  content: "";
  width: 36px;
  height: 1px;
  background: #e2e8f0;
}

.addr-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 18px;
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.addr-bar-manage {
  flex-shrink: 0;
  min-width: 80px;
  height: 44px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid #0f172a;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.addr-bar-add {
  flex: 1;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #e7842c;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.addr-bar-add.is-danger {
  background: #ef4444;
}

.addr-bar-add.is-off {
  opacity: 0.45;
  pointer-events: none;
}

.addr-card.is-manage .addr-card-foot {
  display: none;
}

.edit-card {
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eef2f6;
}

.edit-card-title {
  padding: 14px 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.edit-row {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid #f1f5f9;
}

.edit-row.is-contact {
  gap: 6px;
}

.edit-field {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: #0f172a;
  outline: none;
}

.edit-field::placeholder {
  color: #94a3b8;
}

.edit-field.is-name {
  flex: 0 0 80px;
}

.edit-field.is-ext {
  flex: 0 0 70px;
}

.edit-row-main {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #0f172a;
}

.edit-ph {
  color: #94a3b8;
}

.edit-locate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #f1f5f9;
  font-size: 10px;
  color: #e7842c;
  background: none;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  cursor: pointer;
}

.edit-locate i {
  font-size: 14px;
}

.edit-row.is-tags {
  padding: 10px 0;
  gap: 8px;
}

.edit-tag {
  padding: 5px 14px;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  color: #475569;
  background: #f1f5f9;
  cursor: pointer;
}

.edit-tag.is-on {
  color: #c2410c;
  background: #ffedd5;
  font-weight: 600;
}

.edit-row.is-foot {
  justify-content: space-between;
}

.edit-clear {
  font-size: 13px;
  color: #64748b;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.edit-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-top: 12px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #e7842c;
  text-decoration: none;
  border: 0;
  width: 100%;
  cursor: pointer;
}

.edit-confirm.is-off {
  background: #e2e8f0;
  color: #94a3b8;
  pointer-events: none;
}

.msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.msg-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}

.msg-read-all {
  font-size: 13px;
  color: #e7842c;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.msg-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}

.msg-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.msg-tab {
  position: relative;
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
}

.msg-tab.is-on {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
  font-weight: 600;
}

.msg-tab-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.fb-card,
.push-card {
  display: block;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
}

.fb-card.is-unread,
.push-card.is-unread {
  background: #fffbeb;
  border-color: #fde68a;
}

.fb-card-head,
.push-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fb-type {
  padding: 2px 7px;
  border-radius: 9999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
}

.fb-status {
  font-size: 11px;
  color: #94a3b8;
}

.msg-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #ef4444;
  flex-shrink: 0;
}

.fb-content {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: #0f172a;
}

.fb-imgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.fb-imgs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.fb-time,
.push-time {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.fb-reply {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f1f5f9;
}

.fb-reply-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.fb-reply-text {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.push-card {
  display: flex;
  gap: 10px;
}

.push-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f9ff;
  color: #0284c7;
  font-size: 15px;
}

.push-icon.is-coupon {
  background: #fff7ed;
  color: #f59e0b;
}

.push-main {
  flex: 1;
  min-width: 0;
}

.push-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.push-body {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.fd-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fd-tag {
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 11px;
}

.fd-tag.is-type {
  background: #fff7ed;
  color: #c2410c;
}

.fd-tag.is-status {
  background: #f1f5f9;
  color: #475569;
}

.fd-time {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.fd-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.fd-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.fd-content {
  font-size: 15px;
  line-height: 1.65;
  color: #0f172a;
}

.as-card {
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  background: #fff;
}

.as-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.as-label {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.as-label.is-gap {
  margin-top: 12px;
}

.as-value {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #0f172a;
}

.as-status {
  font-size: 14px;
  font-weight: 600;
}

.as-status.is-pending {
  color: #e7842c;
}

.as-status.is-ok {
  color: #059669;
}

.as-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
}

.as-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  border-radius: 12px;
  background: #e7842c;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.app-nav a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.order-fab {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 25;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 9999px;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
  cursor: pointer;
}

.order-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border: 2px solid #fff;
}

.order-pop-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.order-pop {
  width: 100%;
  height: 48%;
  max-height: 48%;
  background: #fff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

.order-pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.order-pop-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.order-pop-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
}

.order-pop-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.order-pop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f8fafc;
}

.order-pop-item:last-child {
  border-bottom: 0;
}

.order-pop-item img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.order-pop-item-info {
  flex: 1;
  min-width: 0;
}

.order-pop-item-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.order-pop-item-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.order-pop-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #f97316;
  white-space: nowrap;
}

.order-pop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 16px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}

.order-pop-total {
  font-size: 13px;
  color: #64748b;
}

.order-pop-total strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  color: #0f172a;
}

.order-pop-checkout {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 9999px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.spec-overlay {
  z-index: 45;
}

.spec-sheet {
  width: 100%;
  height: 48%;
  max-height: 48%;
  background: #fff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

.spec-sheet-body {
  overflow-y: auto;
  padding: 0 16px 12px;
  flex: 1;
  min-height: 0;
}

.spec-sheet-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
  border-bottom: 1px solid #f1f5f9;
}

.spec-sheet-header img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.spec-sheet-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.spec-sheet-header p {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #f97316;
}

.spec-group {
  margin-top: 16px;
}

.spec-group-label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.spec-group-label span {
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  margin-left: 6px;
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-option {
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  cursor: pointer;
}

.spec-option.active {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.spec-option small {
  margin-left: 4px;
  opacity: 0.85;
}

.spec-sheet-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 16px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}

.spec-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.spec-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  color: #475569;
  cursor: pointer;
}

.spec-qty-count {
  min-width: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.spec-confirm {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 9999px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.coupon-row {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.remark-row {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.remark-row-value {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 58%;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.remark-row-value #remarkRowText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remark-row-value #remarkRowText.filled {
  color: #0f172a;
}

.remark-sheet {
  height: auto;
  max-height: 72%;
}

.remark-sheet-body {
  padding: 4px 16px 12px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.remark-sheet-label {
  display: block;
  margin: 10px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.remark-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.remark-tag {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.remark-tag.active {
  border-color: #fbbf24;
  background: #fffbeb;
  color: #d97706;
  font-weight: 600;
}

.remark-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #0f172a;
  background: #f8fafc;
  resize: none;
  outline: none;
  font-family: inherit;
}

.remark-input:focus {
  border-color: #cbd5e1;
  background: #fff;
}

.remark-count {
  margin: 6px 0 0;
  text-align: right;
  font-size: 11px;
  color: #94a3b8;
}

.remark-sheet-footer {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid #f1f5f9;
}

.remark-btn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.remark-btn.ghost {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
}

.remark-btn.primary {
  border: 0;
  background: #0f172a;
  color: #fff;
}

.pickup-time-row {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.fulfillment-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fulfillment-seg button {
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fulfillment-seg button.active {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
  font-weight: 600;
}

.fulfillment-address {
  display: none;
}

.fulfillment-address.show {
  display: block;
}

.fulfillment-seg.hidden,
#fulfillmentPickupOnly.hidden {
  display: none;
}

.pickup-time-row-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #0f172a;
  font-weight: 500;
}

.pickup-time-list {
  list-style: none;
  margin: 0;
  padding: 12px 16px 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pickup-time-list > li {
  margin: 0;
  padding: 0;
}

.pickup-time-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.pickup-time-item .label {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.pickup-time-item .hint {
  margin-top: 2px;
  font-size: 12px;
  color: #94a3b8;
}

.pickup-time-item.active {
  border-color: #f59e0b;
  background: #fffbeb;
}

.pickup-time-item .check {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 11px;
  flex-shrink: 0;
}

.pickup-time-item.active .check {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}

.coupon-row-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
}

.coupon-row-value.selected {
  color: #059669;
  font-weight: 500;
}

.coupon-picker {
  height: 48%;
  max-height: 48%;
}

.coupon-picker .order-pop-header {
  position: relative;
  padding-top: 20px;
}

.coupon-picker .order-pop-header::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 9999px;
  background: #e2e8f0;
}

.coupon-list {
  list-style: none;
  margin: 0;
  padding: 12px 16px 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coupon-list-end {
  margin: 0;
  padding: 4px 0 2px;
  list-style: none;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.coupon-list > li {
  margin: 0;
  padding: 0;
}

.coupon-item {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #f5dcc0;
  border-radius: 14px;
  padding: 0;
  margin: 0;
  background: #fff9f2;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(232, 132, 44, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.coupon-item:active {
  transform: scale(0.99);
}

.coupon-item.active {
  border-color: #e8842c;
  background: #fff7ed;
  box-shadow: 0 0 0 1px #e8842c, 0 4px 12px rgba(232, 132, 44, 0.12);
}

.coupon-item.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

.coupon-item.none-option {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: none;
}

.coupon-item.none-option.active {
  border-color: #0f172a;
  background: #f8fafc;
  box-shadow: 0 0 0 1px #0f172a;
}

.coupon-item-amount {
  flex: 0 0 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border-right: 1px dashed #f0d4b8;
  color: #e8842c;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.coupon-item.none-option .coupon-item-amount,
.coupon-item.disabled .coupon-item-amount {
  border-right-color: #e2e8f0;
  color: #94a3b8;
}

.coupon-item-amount .currency {
  font-size: 13px;
  font-weight: 600;
  margin-right: 1px;
  vertical-align: top;
}

.coupon-item-amount .unit {
  font-size: 13px;
  font-weight: 700;
  margin-left: 1px;
  vertical-align: top;
}

.coupon-item-amount small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #e8842c;
}

.coupon-item.none-option .coupon-item-amount small,
.coupon-item.disabled .coupon-item-amount small {
  color: #94a3b8;
}

.coupon-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.coupon-item-info {
  flex: 1;
  min-width: 0;
}

.coupon-item-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.coupon-item-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.coupon-item-info .coupon-item-reason {
  margin: 4px 0 0;
  font-size: 12px;
  color: #ea580c;
  line-height: 1.35;
}

.coupon-item.disabled .coupon-item-info .coupon-item-reason {
  color: #f97316;
}

.coupon-item-check {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  border: 2px solid #d6d3d1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 10px;
  flex-shrink: 0;
  background: #fff;
}

.coupon-item.active .coupon-item-check {
  border-color: #e8842c;
  background: #e8842c;
  color: #fff;
}

.coupon-item.none-option.active .coupon-item-check {
  border-color: #0f172a;
  background: #0f172a;
}

.coupon-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #f5dcc0;
  border-radius: 14px;
  background: #fff9f2;
  overflow: hidden;
}

.coupon-card.claimed,
.coupon-card.muted {
  opacity: 0.72;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.coupon-card-left {
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  border-right: 1px dashed #f0d4b8;
  color: #e8842c;
}

.coupon-card.claimed .coupon-card-left,
.coupon-card.muted .coupon-card-left {
  border-right-color: #e2e8f0;
  color: #94a3b8;
}

.coupon-card-amount {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.coupon-card-currency {
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
  margin-right: 2px;
}

.coupon-card-value {
  font-size: 36px;
  font-weight: 700;
}

.coupon-card-unit {
  margin-left: 2px;
  font-size: 16px;
  font-weight: 700;
}

.coupon-card-threshold {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
}

.coupon-card-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
}

.coupon-card-right h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.coupon-card-rule {
  margin: 6px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.coupon-card-expiry {
  margin: 8px 0 0;
  font-size: 11px;
  color: #94a3b8;
}

.coupon-claim-wrap {
  margin-bottom: 14px;
}

.coupon-claim-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  height: 40px;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b 0%, #e8842c 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.coupon-claim-btn:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.coupon-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}

.coupon-tab {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.coupon-tab.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  font-weight: 500;
}

.mine-coupon-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #f5dcc0;
  border-radius: 14px;
  background: #fff9f2;
  overflow: hidden;
}

.mine-coupon-card.muted {
  opacity: 0.72;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.mine-coupon-card.muted .mine-coupon-left {
  border-right-color: #e2e8f0;
  color: #94a3b8;
}

.mine-coupon-left {
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  border-right: 1px dashed #f0d4b8;
  color: #e8842c;
}

.mine-coupon-amount {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.mine-coupon-currency {
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
  margin-right: 2px;
}

.mine-coupon-value {
  font-size: 36px;
  font-weight: 700;
}

.mine-coupon-unit {
  margin-left: 2px;
  font-size: 16px;
  font-weight: 700;
}

.mine-coupon-threshold {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
}

.mine-coupon-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
}

.mine-coupon-right h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.mine-coupon-rule {
  margin: 6px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.mine-coupon-expiry {
  margin: 8px 0 0;
  font-size: 11px;
  color: #94a3b8;
}

.activity-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
}

.activity-card-banner {
  height: 120px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.activity-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent 60%);
}

.activity-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #e8842c;
  font-size: 11px;
  font-weight: 600;
}

.activity-card-body {
  padding: 12px 14px 14px;
}

.activity-card-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.activity-card-body p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.activity-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 11px;
  color: #94a3b8;
}

.activity-detail-banner {
  height: 160px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.activity-detail-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent 55%);
}

.activity-detail-banner-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
}

.activity-detail-banner-text h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.activity-detail-banner-text p {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.activity-detail-section {
  margin-top: 16px;
}

.activity-detail-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.activity-detail-section p,
.activity-detail-section li {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.activity-detail-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-detail-section li {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.activity-detail-section li::before {
  content: "·";
  flex-shrink: 0;
  color: #fb923c;
}

.activity-detail-coupons {
  margin-top: 16px;
}

.activity-detail-coupons > h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.notice-scroll {
  height: 210px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.claim-success-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.claim-success-dialog {
  position: relative;
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 20px;
  padding: 20px 16px 14px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.claim-success-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
}

.claim-success-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fbbf24 0%, #e8842c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(232, 132, 44, 0.28);
}

.claim-success-dialog > h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.claim-success-desc {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.claim-success-card {
  margin-top: 10px;
  text-align: left;
  border-radius: 10px;
}

.claim-success-card .coupon-card-left {
  flex: 0 0 72px;
  padding: 10px 6px;
}

.claim-success-card .coupon-card-currency,
.claim-success-card .coupon-card-unit {
  font-size: 12px;
  margin-top: 3px;
}

.claim-success-card .coupon-card-value {
  font-size: 24px;
}

.claim-success-card .coupon-card-threshold {
  margin-top: 4px;
  font-size: 10px;
}

.claim-success-card .coupon-card-right {
  padding: 10px 12px;
}

.claim-success-card .coupon-card-right h3 {
  font-size: 13px;
}

.claim-success-card .coupon-card-rule {
  font-size: 11px;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.claim-success-card .coupon-card-expiry {
  font-size: 10px;
  margin-top: 4px;
}

.claim-success-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.claim-success-btn {
  flex: 1;
  height: 36px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.claim-success-btn.ghost {
  background: #f1f5f9;
  color: #475569;
}

.claim-success-btn.primary {
  background: #0f172a;
  color: #fff;
}

.feedback-type {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
}

.feedback-type.active {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
}

.pay-success-hero {
  margin-top: 8px;
  padding: 20px 16px 8px;
  text-align: center;
}

.pay-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.28);
}

.pay-success-hero h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.pay-success-amount {
  margin: 8px 0 0;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pay-confirm-card {
  margin-top: 12px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 28px 20px 20px;
  text-align: center;
}

.pay-confirm-channels {
  margin-top: 8px;
  padding: 4px 0 0;
  text-align: left;
}

.pay-confirm-channels-title {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #64748b;
}

.pay-confirm-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.pay-confirm-channel.active {
  border-color: #E7842C;
  background: #fff7ed;
}

.pay-confirm-channel-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.pay-confirm-channel-left i {
  font-size: 18px;
  color: #07c160;
}

.pay-confirm-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  box-sizing: border-box;
}

.pay-confirm-radio.on {
  border-color: #E7842C;
  background: radial-gradient(circle, #E7842C 0 45%, transparent 50%);
}

.pay-confirm-amount {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.pay-confirm-meta {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  text-align: left;
}

.pay-confirm-meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 14px;
}

.pay-confirm-meta li:last-child {
  border-bottom: 0;
}

.pay-confirm-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}

.pay-confirm-meta-label i {
  width: 16px;
  text-align: center;
  color: #94a3b8;
}

.pay-confirm-meta-value {
  color: #0f172a;
  font-weight: 500;
}

.pay-confirm-countdown {
  margin: 18px 0 0;
  font-size: 13px;
  color: #64748b;
}

.pay-confirm-countdown strong {
  color: #ef4444;
  font-weight: 700;
}

.pay-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.pay-confirm-btn.primary {
  background: #0f172a;
  color: #fff;
}

.pay-confirm-btn.ghost {
  margin-top: 10px;
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-weight: 500;
}

.order-queue-card {
  border-radius: 20px;
  padding: 16px;
  background: #fff;
  color: #0f172a;
  border: 1px solid #f1f5f9;
}

.order-queue-badge {
  min-width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  color: #0f172a;
}

.order-queue-step {
  padding: 10px 6px;
  border-radius: 14px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 11px;
}

.order-queue-step i {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.order-queue-step.done,
.order-queue-step.active {
  color: #0f172a;
  background: #f1f5f9;
}

.order-queue-step.active {
  box-shadow: inset 0 0 0 1px #fbbf24;
  color: #d97706;
  background: #fffbeb;
}

.pickup-code-overlay {
  position: absolute;
  top: calc(var(--safe-top) + 44px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.pickup-code-overlay.hidden {
  display: none;
}

.pickup-code-dialog {
  position: relative;
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px 16px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.pickup-code-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
}

.pickup-code-stall {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.pickup-code-dialog > h3 {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.pickup-code-number {
  margin: 18px 0 0;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #E7842C;
  line-height: 1;
}

.pickup-code-tip {
  margin: 18px 0 0;
  font-size: 13px;
  color: #334155;
}

.pickup-code-order {
  margin: 6px 0 0;
  font-size: 11px;
  color: #94a3b8;
}

.pickup-code-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* 点餐 · 左侧分类侧边栏 */
.menu-sidebar-layout {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}

.menu-sidebar-body {
  flex: 1;
  min-height: 0;
  display: flex;
  background: #f8fafc;
}

.menu-cat-nav {
  width: 78px;
  flex-shrink: 0;
  overflow-y: auto;
  background: #f1f5f9;
  padding: 4px 0 80px;
}

.menu-cat-item {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 16px 8px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  cursor: pointer;
  line-height: 1.3;
}

.menu-cat-item.active {
  background: #fff;
  color: #0f172a;
  font-weight: 600;
}

.menu-cat-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: #E7842C;
}

.menu-cat-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 0 4px;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.menu-cat-tag-new {
  background: #E7842C;
}

.menu-dish-scroll {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  background: #fff;
  padding: 8px 12px 96px;
}

.menu-cat-section + .menu-cat-section {
  margin-top: 8px;
}

.menu-cat-title {
  margin: 4px 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.menu-page-title {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}

.menu-search {
  margin-top: 12px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #94a3b8;
}

.menu-item {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-sizing: border-box;
}

.menu-item + .menu-item {
  margin-top: 8px;
}

.menu-item-cover {
  width: 64px;
  height: 64px;
  margin-right: 10px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f5f9;
}

.menu-item-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.menu-item-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.menu-item-name {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.menu-item-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  color: #E7842C;
}

.menu-item-meta {
  margin: 3px 0 0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-item-footer {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #E7842C;
}

.menu-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-item-plus {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 9999px;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-item-minus {
  width: 24px;
  height: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
}

.order-detail-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 48px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.order-detail-action.primary {
  background: #0f172a;
  color: #fff;
}

.order-detail-action.ghost {
  margin-top: 12px;
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.order-detail-action.ghost i {
  color: #0284c7;
}

.order-detail-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding: 4px 8px 0;
}

.order-detail-links a {
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
}

.checkout-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-page-title {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}

.checkout-page-edit {
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
}

.checkout-page-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.checkout-card {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-sizing: border-box;
}

.checkout-card.compact {
  padding: 0 12px;
}

.checkout-card-title {
  display: block;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.checkout-card-title.status {
  margin-bottom: 8px;
}

.checkout-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkout-item-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #f1f5f9;
  object-fit: cover;
}

.checkout-item-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.checkout-item-name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.35;
}

.checkout-item-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.checkout-item-price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
}

.checkout-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.checkout-action-row.disabled {
  opacity: 0.72;
  cursor: default;
}

.checkout-action-row-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  flex-shrink: 0;
}

.checkout-action-row-label i {
  width: 16px;
  text-align: center;
  color: #f59e0b;
}

.checkout-action-row-value {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  color: #64748b;
}

.checkout-action-row-value.filled {
  color: #0f172a;
}

.checkout-action-row-value.selected {
  color: #059669;
  font-weight: 500;
}

#remarkRowText.filled {
  color: #0f172a;
}

.checkout-action-row-value span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-action-row-value i {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 12px;
}

.checkout-divider {
  height: 1px;
  background: #f1f5f9;
}

.checkout-coupon-badge {
  flex-shrink: 0;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 9999px;
  background: #ffe4e6;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  color: #e11d48;
}

.checkout-coupon-badge.hidden {
  display: none;
}

.checkout-fee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
  color: #0f172a;
}

.checkout-fee.discount {
  color: #059669;
}

.checkout-fee.total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.checkout-fee.total .label {
  font-size: 16px;
  font-weight: 500;
}

.checkout-fee.total .value {
  font-size: 20px;
  font-weight: 600;
  color: #E7842C;
  line-height: 1.2;
}

.checkout-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #059669;
}

.checkout-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.checkout-addr-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
  overflow-y: auto;
  flex: 1;
}

.checkout-addr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.checkout-addr-item + .checkout-addr-item {
  border-top: 1px solid #f1f5f9;
}

.checkout-addr-item.active .checkout-addr-check {
  background: #E7842C;
  border-color: #E7842C;
  color: #fff;
}

.checkout-addr-main {
  flex: 1;
  min-width: 0;
}

.checkout-addr-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.checkout-addr-phone {
  margin-left: 8px;
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
}

.checkout-addr-detail {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}

.checkout-addr-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
  flex-shrink: 0;
}

.checkout-addr-manage {
  display: block;
  padding: 12px 16px 20px;
  text-align: center;
  font-size: 13px;
  color: #E7842C;
  text-decoration: none;
}

.home-capsule {
  position: absolute;
  top: calc(var(--safe-top) + 6px);
  right: 10px;
  z-index: 35;
  margin: 0;
}

.home-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.home-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.home-status-dot.closed {
  background: #94a3b8;
}

.home-stall-row {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-stall-name {
  margin: 0;
  min-width: 0;
  flex: 1;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.home-nav-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff7ed;
  color: #E7842C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

.home-hours {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}

.home-hero {
  position: relative;
  display: block;
  margin: 12px 0 16px;
  overflow: hidden;
  border-radius: 20px;
}

.home-hero img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.home-hero-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.08) 55%, transparent 100%);
}

.home-hero-tag {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
}

.home-hero-title {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(15, 23, 42, 0.4);
}

.home-hero-sub {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #E7842C;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

.home-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.home-shortcut-grid a {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  text-decoration: none;
  color: #334155;
}

.home-shortcut-grid i {
  font-size: 18px;
  line-height: 1;
}

.home-shortcut-grid p {
  margin: 6px 0 0;
  font-size: 11px;
  text-align: center;
  line-height: 1.3;
}

.home-notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.home-notice-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.home-notice-search {
  flex: 1;
  max-width: 210px;
  height: 32px;
  padding: 0 10px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}

.home-notice-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #0f172a;
  outline: none;
}

.home-notice-search input::placeholder {
  color: #64748b;
}

.home-notice-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #f1f5f9;
}

.home-notice-card + .home-notice-card {
  margin-top: 8px;
}

.home-notice-card.hidden {
  display: none;
}

.home-notice-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.35;
}

.home-notice-body {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  white-space: pre-wrap;
}

.home-notice-time {
  margin: 8px 0 0;
  font-size: 11px;
  color: #94a3b8;
}

.home-notice-scroll {
  height: 248px;
}
