/* =========================================
   畅鑫洲 · 页面通用样式补充
   ========================================= */

/* 顶部导航 */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  z-index: 100;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Songti SC', serif;
  font-size: 24px;
  font-weight: 300;
  color: #f4f1ea;
  letter-spacing: 4px;
  text-decoration: none;
}

.nav__logo .gold {
  color: #D4AF37;
}

.nav__menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__menu a:hover,
.nav__menu a.active {
  color: #D4AF37;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__icon {
  font-size: 20px;
  cursor: pointer;
  position: relative;
}

.nav__icon .badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  background: #C5A059;
  color: #fff;
  font-size: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-weight: 500;
}

/* 页面容器 */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: #999;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #D4AF37;
}

.breadcrumb .sep {
  margin: 0 8px;
  color: #DDD;
}

/* 空状态 */
.empty {
  text-align: center;
  padding: 100px 0;
}

.empty__icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty__title {
  font-size: 18px;
  color: #f4f1ea;
  margin-bottom: 8px;
}

.empty__desc {
  font-size: 14px;
  color: #999;
  margin-bottom: 32px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #E5E5E5;
  background: #14120e;
  color: #666;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.pagination button:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.pagination button.active {
  background: #C5A059;
  border-color: #D4AF37;
  color: #fff;
}

.pagination button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 登录弹窗样式（页面共用） */
.modal-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: #14120e;
  border-radius: 12px;
  min-width: 400px;
  max-width: 600px;
  max-height: 80vh;
  overflow: auto;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.modal__title {
  font-size: 18px;
  font-weight: 600;
  color: #f4f1ea;
}

.modal__close {
  font-size: 24px;
  color: #CCC;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.modal__body {
  padding: 24px;
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(212,175,55,0.15);
}

/* 表单 */
.form-item {
  margin-bottom: 20px;
}

.form-item label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.form-item input,
.form-item select,
.form-item textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  font-size: 14px;
  color: #f4f1ea;
  background: #14120e;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
  outline: none;
  border-color: #D4AF37;
}

.form-item textarea {
  height: 100px;
  padding: 10px 12px;
  resize: vertical;
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
  color: #f4f1ea;
  border: none;
  border-radius: 999px;
  padding: 0 28px;
  height: 42px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-gold:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: #1a1815;
  color: #666;
  border: 1px solid #E5E5E5;
  border-radius: 999px;
  padding: 0 24px;
  height: 42px;
  font-size: 14px;
  cursor: pointer;
}

.btn-outline-gold {
  background: transparent;
  color: #D4AF37;
  border: 1px solid #C5A059;
  border-radius: 999px;
  padding: 0 24px;
  height: 42px;
  font-size: 14px;
  cursor: pointer;
}

/* 响应式 */
@media (max-width: 768px) {
  .nav__menu { display: none; }
  .page-container { padding: 24px 20px; }
  .modal { min-width: auto; width: 90%; }
}


/* ============ 订单详情页 ============ */
.detail-card {
  background: #14120e;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(212,175,55,0.2);
}

.order-status-bar {
  text-align: center;
  padding: 10px 0;
}
.status-text {
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-serif);
  margin-bottom: 6px;
}
.order-no-tip {
  font-size: 12px;
  color: #94A3B8;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.address-box { padding: 4px 0; }
.address__name {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 6px;
}
.address__phone {
  font-weight: 400;
  color: #64748B;
  margin-left: 12px;
  font-size: 13px;
}
.address__detail {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
}

.pickup-store-box { padding: 4px 0; }
.store-name { font-size: 15px; font-weight: 600; color: #1E293B; margin-bottom: 8px; }
.pickup-code { font-size: 13px; color: #64748B; }
.pickup-code strong { color: #D4AF37; font-size: 16px; letter-spacing: 3px; font-weight: 700; }

.order-items { display: flex; flex-direction: column; gap: 0; }
.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212,175,55,0.15);
  text-decoration: none;
  color: inherit;
}
.order-item:last-child { border-bottom: none; }
.order-item__img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #14120e;
}
.order-item__img img { width: 100%; height: 100%; object-fit: cover; }
.order-item__info { flex: 1; min-width: 0; }
.order-item__name {
  font-size: 14px;
  color: #1E293B;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.order-item__spec {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 4px;
}
.order-item__price {
  font-size: 14px;
  color: #D4AF37;
  font-weight: 600;
  flex-shrink: 0;
}
.order-item__qty {
  font-size: 13px;
  color: #94A3B8;
  width: 40px;
  text-align: right;
  flex-shrink: 0;
}

.price-detail { padding: 4px 0; }
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: #64748B;
}
.price-total {
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid rgba(212,175,55,0.15);
  font-size: 14px;
  color: #1E293B;
  font-weight: 500;
}
.price-total .amount {
  color: #D4AF37;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-serif);
}

.info-list { display: flex; flex-direction: column; gap: 10px; }
.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
}
.info-row span:last-child { color: #1E293B; text-align: right; max-width: 60%; }

.remark-text {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
  padding: 4px 0;
}

.order-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 0 32px;
  flex-wrap: wrap;
}
.btn-ghost {
  height: 40px;
  padding: 0 18px;
  background: transparent;
  color: #64748B;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.btn-ghost:hover { border-color: #D4AF37; color: #C5A059; }
