:root {
  --red: #c52626;
  --red-dark: #9f1d1d;
  --gold: #b9823a;
  --ink: #202532;
  --sub: #697386;
  --line: #e8ebf0;
  --bg: #f4f6f9;
  --card: #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.wrap { width: 1200px; margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(29, 35, 48, .05);
}
.topbar-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  cursor: pointer;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 800;
  font-size: 24px;
}
.brand strong { display: block; font-size: 22px; color: var(--red-dark); letter-spacing: 0; }
.brand small { color: var(--sub); font-size: 12px; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav button,
.plain-btn,
.settle-btn,
.login-btn {
  border: 0;
  background: transparent;
  color: #303746;
  padding: 10px 12px;
  border-radius: 6px;
}
.main-nav button.active,
.main-nav button:hover { background: #fff1f1; color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.settle-btn { color: #fff; background: var(--gold); }
.login-btn { color: #fff; background: var(--red); }
.plain-btn { border: 1px solid var(--line); background: #fff; }
.page { padding: 22px 0 34px; }
.hero-layout {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 18px;
  align-items: start;
}
.category-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.category-title {
  padding: 16px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
.cat-block { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cat-block b { display: block; margin-bottom: 6px; }
.cat-block span {
  display: inline-block;
  margin: 0 8px 5px 0;
  color: var(--sub);
  font-size: 13px;
}
.hero-main { min-width: 0; }
.carousel {
  aspect-ratio: 750 / 313;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: none;
}
.carousel img.active { display: block; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.stat-card b { display: block; color: var(--red); font-size: 22px; }
.stat-card span { color: var(--sub); font-size: 13px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 26px 0 12px;
}
.section-head h2 { margin: 0; font-size: 22px; }
.section-head p { margin: 4px 0 0; color: var(--sub); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.product-card {
  min-height: 292px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(31, 38, 52, .11);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}
.product-info { padding: 11px; }
.product-title {
  height: 42px;
  line-height: 21px;
  overflow: hidden;
  font-size: 14px;
}
.price { color: var(--red); font-size: 20px; font-weight: 800; margin-top: 9px; }
.meta-line { margin-top: 7px; color: var(--sub); font-size: 12px; display: flex; justify-content: space-between; }
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
}
.filters button.active { border-color: var(--red); color: var(--red); background: #fff5f5; }
.supplier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.supplier-list { display: grid; gap: 18px; }
.supplier-row {
  display: grid;
  grid-template-columns: 245px 1fr 120px;
  align-items: center;
  gap: 22px;
  min-height: 170px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 28px;
}
.supplier-row:hover { box-shadow: 0 10px 26px rgba(31, 38, 52, .1); }
.supplier-row-info h3 { margin: 0 0 12px; font-size: 22px; }
.supplier-row-info p { margin: 9px 0; color: #344052; }
.supplier-row-info b { color: #111827; }
.supplier-logo {
  width: 220px;
  height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid #eef0f4;
  background: #fff;
  border-radius: 4px;
}
.supplier-logo b { font-size: 42px; letter-spacing: 0; line-height: 1; }
.supplier-logo span { font-size: 18px; font-weight: 800; }
.supplier-logo.green { color: #00935f; }
.supplier-logo.blue { color: #1176d8; }
.supplier-logo.orange { color: #d16b24; }
.supplier-logo.purple { color: #7153c8; }
.supplier-logo.red { color: #c52626; }
.supplier-logo.cyan { color: #008c9e; }
.stars { color: #f6bd28; letter-spacing: 1px; font-weight: 800; }
.supplier-shop {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  margin-top: 16px;
}
.shop-sidebar,
.shop-main,
.shop-notice,
.product-detail-board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.shop-sidebar { padding: 18px; }
.shop-sidebar .supplier-logo { width: 100%; height: 150px; margin-bottom: 14px; }
.shop-sidebar h2 { margin: 10px 0 14px; font-size: 20px; text-align: center; }
.shop-sidebar p { color: #4c5669; line-height: 1.65; }
.shop-contact,
.shop-rank { margin: 16px -18px 0; border-top: 1px solid var(--line); padding: 14px 18px; }
.shop-contact b,
.shop-rank b { display: block; margin-bottom: 8px; text-align: center; }
.shop-contact span { display: block; padding: 9px 12px; background: #f7f8fa; border-radius: 6px; }
.shop-rank p { display: flex; gap: 8px; margin: 10px 0; font-size: 13px; }
.shop-rank span { color: var(--gold); font-size: 24px; line-height: 1; }
.shop-main { padding: 16px; }
.shop-notice { padding: 18px; margin-bottom: 16px; }
.shop-notice b { display: inline-block; padding: 5px 10px; margin: 0 0 10px; background: #eef1f5; }
.shop-notice p { margin: 0 0 14px; color: #4c5669; border-top: 6px solid #f5f6f8; padding-top: 12px; }
.shop-products { grid-template-columns: repeat(4, 1fr); }
.supplier-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.supplier-card h3 { margin: 0 0 8px; }
.tag { display: inline-block; margin: 5px 6px 0 0; padding: 4px 8px; background: #f3f4f7; color: var(--sub); border-radius: 5px; font-size: 12px; }
.supplier-card img {
  width: 100%;
  height: 154px;
  margin: 12px 0;
  object-fit: cover;
  border: 1px solid var(--line);
}
.primary {
  border: 0;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  padding: 10px 16px;
}
.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  padding: 9px 14px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 470px 1fr;
  gap: 22px;
}
.detail-gallery,
.detail-info,
.order-box,
.profile-layout,
.help-layout { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.detail-gallery { padding: 14px; }
.detail-gallery .main-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 6px; background: #fff; }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.detail-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border: 2px solid var(--line); border-radius: 5px; background: #fff; }
.detail-info { padding: 24px; }
.detail-info h1 { margin: 0 0 14px; font-size: 26px; line-height: 1.35; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.specs span { background: #f7f8fa; padding: 10px; border-radius: 6px; color: var(--sub); }
.detail-section { margin-top: 20px; }
.detail-section h3 { margin: 0 0 10px; }
.detail-section p, .detail-section li { color: var(--sub); line-height: 1.8; }
.product-detail-board { margin-top: 18px; padding: 0 18px 22px; }
.detail-photo-grid { display: grid; gap: 16px; }
.detail-photo-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfd;
}
.detail-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.detail-photo-card b { font-size: 20px; }
.detail-photo-card p { color: var(--sub); line-height: 1.8; }
.detail-copy {
  margin-top: 16px;
  padding: 18px;
  background: #fff7f0;
  border: 1px solid #f0dfcb;
  border-radius: 8px;
}
.detail-copy p,
.detail-copy li { color: #6b5846; line-height: 1.8; }
.actions-row { display: flex; gap: 10px; margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: block; color: #3a4252; }
input, textarea, select {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  background: #fff;
}
textarea { min-height: 98px; resize: vertical; }
.wide { width: 100%; margin-top: 14px; }
.order-box { padding: 22px; }
.order-steps { display: flex; gap: 10px; margin-bottom: 18px; }
.order-steps span { flex: 1; text-align: center; padding: 10px; background: #f4f6f9; border-radius: 6px; color: var(--sub); }
.order-steps span.active { background: #fff1f1; color: var(--red); font-weight: 700; }
.order-item { display: grid; grid-template-columns: 92px 1fr 120px; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.order-item img { width: 92px; height: 92px; object-fit: contain; border-radius: 6px; background: #fff; }
.help-layout, .profile-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 560px; }
.side-menu { border-right: 1px solid var(--line); padding: 18px; }
.side-menu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 6px; padding: 12px; margin-bottom: 4px; color: #4c5669; }
.side-menu button.active, .side-menu button:hover { background: #fff1f1; color: var(--red); }
.content-pane { padding: 24px; }
.article h1, .article h2 { margin-top: 0; }
.article p, .article li { color: #4d5668; line-height: 1.9; }
.article section { margin-bottom: 18px; }
.agreement-sign {
  margin-top: 30px;
  text-align: right;
  color: #303746;
  font-weight: 700;
}
.agreement-sign p { margin: 6px 0; color: #303746; }
.license-view img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #f7f8fa;
}
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.orders-table th { background: #f5f6f8; color: var(--sub); }
.status-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.status-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 13px; }
.status-tabs button.active { border-color: var(--gold); color: var(--gold); }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(16, 20, 30, .45);
}
.modal.show { display: flex; }
.modal-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 26px;
  max-height: 84vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(14, 20, 32, .28);
}
.modal-card.small { width: 420px; }
.modal-card.large { width: 860px; }
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
}
.muted { color: var(--sub); font-size: 13px; }
.float-service {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 30;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 13px 20px;
  box-shadow: 0 12px 32px rgba(197, 38, 38, .3);
}
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 40;
  width: 360px;
  height: 500px;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(21, 28, 40, .2);
}
.chat-panel.show { display: flex; }
.chat-head { height: 54px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: var(--red); color: #fff; }
.chat-head button { border: 0; background: transparent; color: #fff; font-size: 24px; }
.chat-body { flex: 1; padding: 14px; overflow: auto; background: #f7f8fb; }
.msg { max-width: 84%; margin: 0 0 10px; padding: 9px 12px; border-radius: 8px; line-height: 1.55; font-size: 14px; }
.msg.bot { background: #fff; border: 1px solid var(--line); }
.msg.user { margin-left: auto; background: #fff1f1; color: var(--red-dark); }
.quick-questions { padding: 10px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); }
.quick-questions button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 13px; }
.site-footer { margin-top: 18px; background: #262b36; color: #d7dbe3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding: 28px 0; }
.footer-grid a, .footer-grid span { display: block; color: #bfc5d0; margin-top: 9px; font-size: 13px; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 14px; color: #bfc5d0; font-size: 13px; }
.empty { padding: 42px; text-align: center; color: var(--sub); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.notice { padding: 12px 14px; border-radius: 6px; background: #fff7e8; color: #8a5a15; margin-bottom: 14px; }
.order-wide-wrap { width: min(1680px, calc(100vw - 36px)); }
.order-admin-page { padding-top: 0; background: #f2f2f6; }
.order-admin-shell {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 740px;
  background: #fff;
  border: 1px solid var(--line);
}
.order-admin-side {
  border-right: 1px solid var(--line);
  background: #fff;
}
.order-admin-side h3 {
  margin: 0;
  padding: 18px 14px;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}
.order-admin-side button {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
  background: #fff;
  color: #4c5669;
  text-align: left;
  padding: 0 14px;
}
.order-admin-side button.active,
.order-admin-side button:hover {
  color: #ff6b3a;
  background: #f5f5f8;
}
.order-admin-main {
  min-width: 0;
  padding: 28px 28px 36px;
  overflow: hidden;
}
.order-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 54px;
  border-bottom: 1px solid #edf0f5;
}
.order-tabs button {
  height: 54px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #596275;
  padding: 0 4px;
  font-weight: 700;
}
.order-tabs button.active {
  color: #cf833b;
  border-bottom-color: #cf833b;
}
.order-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0 22px;
  color: #384252;
}
.order-toolbar b { color: #cf833b; }
.order-toolbar em {
  color: #5b6270;
  font-style: normal;
  margin-left: 8px;
}
.sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-box select,
.sort-box button {
  width: auto;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 9px 14px;
  color: #4c5669;
}
.sort-box button.active {
  color: #cf833b;
  border-color: #e5a365;
}
.order-table-scroll { overflow-x: auto; padding-bottom: 6px; }
.order-grid {
  min-width: 1420px;
  color: #273143;
}
.order-table-head,
.order-data-row {
  display: grid;
  grid-template-columns: 44px 280px 108px 78px 112px 142px 104px 148px 120px 140px 144px;
}
.order-table-head {
  align-items: center;
  min-height: 60px;
  padding: 0 14px;
  background: #f6f7fa;
  font-weight: 800;
}
.order-table-head input,
.order-group-head input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.order-group {
  margin-top: 22px;
  border: 1px solid #edf0f4;
  background: #fff;
}
.order-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  background: #f7f7f8;
  border-bottom: 1px solid #edf0f4;
}
.order-group-head label { line-height: 0; }
.order-group-head b { font-weight: 500; }
.order-group-head em {
  padding: 2px 8px;
  color: #cf833b;
  border: 1px solid #e4a66b;
  border-radius: 4px;
  font-style: normal;
  font-size: 12px;
}
.order-head-actions {
  margin-left: auto;
  display: flex;
  gap: 16px;
}
.order-head-actions button,
.link-btn {
  border: 0;
  background: transparent;
  color: #cf833b;
  padding: 0;
}
.link-btn.strong { display: inline-block; margin: 8px 6px 0 0; }
.link-btn.stacked { display: block; margin-top: 8px; }
.order-data-row {
  min-height: 142px;
  align-items: center;
  padding: 0 14px;
}
.order-data-row > div {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #edf0f4;
  padding: 12px 12px;
  line-height: 1.55;
}
.order-data-row > div:first-child { border-left: 0; }
.order-data-row a { color: #cf833b; }
.order-product-cell {
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
}
.order-product-cell img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #edf0f4;
  flex: 0 0 auto;
}
.order-product-cell b {
  display: block;
  max-height: 48px;
  overflow: hidden;
  font-weight: 500;
}
.order-product-cell p {
  margin: 4px 0 0;
  color: #4d627a;
}
.order-product-cell i {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  color: #cf833b;
  background: #fff6ec;
  border-radius: 4px;
  font-style: normal;
}
.order-data-row small {
  color: #5a9cec;
  font-size: 22px;
  line-height: 1;
}
.order-op-cell b {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}
.order-address-line {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 30px;
  color: #697386;
  background: #f7f7f8;
}
.order-empty-row {
  padding: 54px;
  color: var(--sub);
  text-align: center;
  background: #fff;
  border: 1px solid #edf0f4;
  border-top: 0;
}
.order-breadcrumb {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #303746;
  background: #fff;
  padding: 0 24px;
  border: 1px solid var(--line);
}
.order-breadcrumb button {
  border: 0;
  background: transparent;
  color: #9aa2af;
  font-size: 18px;
}
.order-progress {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px 34px 28px;
}
.order-progress div {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 10px;
  color: #697386;
}
.order-progress div::after {
  content: "";
  position: absolute;
  left: 52px;
  right: -28px;
  top: 18px;
  border-top: 1px dotted #cfd5dd;
}
.order-progress div:last-child::after { display: none; }
.order-progress span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #d8dbe0;
  font-weight: 800;
}
.order-progress b { color: #4f5a6c; font-size: 14px; }
.order-progress em { color: #697386; font-style: normal; }
.order-progress .active span { background: #d28a3c; }
.order-progress .active::after { border-top: 2px solid #d28a3c; }
.order-detail-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.order-detail-card,
.order-product-panel {
  background: #fff;
  border: 1px solid var(--line);
}
.order-detail-card header,
.order-product-panel h3 {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.order-detail-card header h3 { margin: 0; }
.order-detail-card header div {
  display: flex;
  gap: 8px;
}
.order-detail-card button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 7px 14px;
  color: #5a6373;
}
.order-detail-card button.gold {
  color: #fff;
  background: #cf833b;
  border-color: #cf833b;
}
.order-detail-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px 18px;
  padding: 28px 34px 34px;
  margin: 0;
}
.order-detail-card dt {
  text-align: right;
  color: #697386;
}
.order-detail-card dd {
  margin: 0;
  color: #4a5364;
  line-height: 1.7;
}
.order-detail-card dd a,
.order-detail-card .green { color: #2fbf72; }
.order-product-panel {
  margin-top: 28px;
  padding-bottom: 26px;
}
.detail-product-table {
  margin: 24px;
  min-width: 1080px;
}
.detail-product-head,
.detail-product-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.6fr) repeat(7, minmax(96px, 1fr));
  align-items: center;
}
.detail-product-head {
  min-height: 54px;
  background: #f6f7fa;
  padding: 0 20px;
}
.detail-product-row {
  min-height: 96px;
  padding: 0 20px;
  border-bottom: 1px solid #edf0f4;
}
.detail-product-row > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-product-row img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border: 1px solid #edf0f4;
  border-radius: 6px;
}
.order-total-box {
  width: 220px;
  margin-left: auto;
  margin-right: 42px;
  text-align: right;
  color: #4d5668;
}
.order-total-box p { margin: 8px 0; }
.order-total-box b { color: #cf833b; font-size: 16px; }
.logistics-dialog h1 {
  margin: -4px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}
.empty-lite {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--sub);
}
.logistics-timeline {
  min-height: 130px;
  margin: 0;
  padding: 4px 0 4px 22px;
}
.logistics-timeline li {
  margin-bottom: 14px;
  color: #4d5668;
}
.logistics-timeline span {
  display: block;
  color: var(--sub);
  margin-top: 4px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 20px -26px -26px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
}
@media (max-width: 1250px) {
  .wrap { width: 1000px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .header-actions { gap: 4px; }
  .main-nav button, .plain-btn, .settle-btn, .login-btn { padding: 9px 8px; }
  .order-wide-wrap { width: calc(100vw - 24px); }
  .order-admin-shell { grid-template-columns: 132px minmax(0, 1fr); }
  .order-detail-cards { grid-template-columns: 1fr; }
}
