/* ==========================================================================
   禾科织造校服分销系统 · 公共端样式
   无外部依赖，移动优先
   ========================================================================== */

:root {
  --ink: #172a24;
  --forest: #173f35;
  --forest-deep: #0f2a23;
  --forest-soft: #285548;
  --cream: #f6f1e7;
  --cream-deep: #ede4d4;
  --paper: #fffdf8;
  --sand: #e3d7c3;
  --line: #ded4c2;
  --line-soft: #ebe3d5;
  --terracotta: #b9613e;
  --terracotta-dark: #9a4d2f;
  --gold: #c7a76b;
  --sage: #8da395;
  --muted: #707a71;
  --muted-light: #91998f;
  --white: #ffffff;
  --danger: #a33f35;
  --success: #2e6a4e;
  --warning: #976b26;
  --info: #37647a;
  --shadow-sm: 0 2px 12px rgba(23, 42, 36, 0.06);
  --shadow-md: 0 16px 48px rgba(23, 42, 36, 0.09);
  --shadow-lg: 0 30px 80px rgba(23, 42, 36, 0.14);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.drawer-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--forest);
  color: var(--cream);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
}

.section {
  padding: clamp(58px, 7vw, 104px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.2;
}

.section-sub {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.section-head {
  margin-bottom: clamp(28px, 3.6vw, 48px);
}

.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom: 1px solid rgba(23, 42, 36, 0.28);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
}

.text-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
  gap: 11px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12.5px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--terracotta);
}

.muted-text {
  color: var(--muted-light);
}

.dot-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 9px;
  border-radius: 50%;
  background: var(--muted-light);
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   按钮 / 表单 / 通用组件
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(23, 63, 53, 0.18);
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--white);
}

.btn-outline {
  border-color: rgba(23, 42, 36, 0.28);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--forest);
  background: rgba(23, 63, 53, 0.05);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--forest-deep);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
}

.btn-cream:hover {
  background: var(--white);
}

.btn-outline-light {
  border-color: rgba(246, 241, 231, 0.4);
  color: var(--cream);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(246, 241, 231, 0.1);
  border-color: var(--cream);
}

.btn-text {
  min-height: 40px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(112, 122, 113, 0.35);
}

.btn-text:hover {
  color: var(--ink);
  transform: none;
}

.btn-small {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 12.5px;
}

.btn-xs {
  min-height: 31px;
  padding: 5px 12px;
  font-size: 11.5px;
  border-radius: 7px;
}

.btn-block {
  width: 100%;
}

.btn small,
.btn strong {
  font-size: inherit;
}

.danger-outline {
  border-color: rgba(163, 63, 53, 0.38);
  color: var(--danger);
}

.danger-outline:hover {
  background: rgba(163, 63, 53, 0.06);
  border-color: var(--danger);
}

.danger-text {
  color: var(--danger);
}

.text-danger-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-danger-btn:hover {
  color: var(--danger);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: rgba(23, 63, 53, 0.08);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field > span,
.field-label {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.field small,
.field-help {
  color: var(--muted-light);
  font-size: 11.5px;
  line-height: 1.65;
}

.field small a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field input[type="url"],
.field input[type="search"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cbbda7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 63, 53, 0.09);
  background: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aaa89d;
}

.field input:disabled {
  background: #f1eee7;
  color: var(--muted);
  cursor: not-allowed;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23707a71' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field-grid .span-2 {
  grid-column: span 2;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 46px !important;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.password-toggle:hover,
.password-toggle.visible {
  color: var(--terracotta);
  background: rgba(185, 97, 62, 0.08);
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}

.checkbox-inline input {
  accent-color: var(--forest);
}

.agreement-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  cursor: pointer;
}

.agreement-row input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--forest);
}

.agreement-row a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.agreement-row.compact {
  margin: 4px 0 16px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.7;
}

.alert > svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.alert strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.alert ul {
  list-style: disc;
  padding-left: 17px;
  margin-top: 3px;
}

.alert li + li {
  margin-top: 3px;
}

.alert-error {
  border-color: #e9c6c0;
  background: #fcf2ef;
  color: #7d352c;
}

.alert-success {
  border-color: #c5ddce;
  background: #f0f8f2;
  color: #2c5c43;
}

.alert-info {
  border-color: #c9dbe2;
  background: #f1f7f9;
  color: #345968;
}

.inline-alert {
  margin-top: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.badge + .badge {
  margin-left: 4px;
}

.badge-lg {
  min-height: 28px;
  padding: 5px 13px;
  font-size: 11.5px;
}

.badge-warning { background: #fbf1dd; color: #8a5c1c; }
.badge-info { background: #eaf2f5; color: #315e70; }
.badge-accent { background: #f8e8df; color: #a14d2e; }
.badge-success { background: #eaf4ed; color: #2f6649; }
.badge-danger { background: #fbecea; color: #963e33; }
.badge-muted { background: #efede7; color: #73766d; }

.flash-stack {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(390px, calc(100vw - 32px));
}

.flash-stack.static {
  position: static;
  width: auto;
  margin-bottom: 18px;
}

.flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.65;
  animation: flashIn 0.3s ease both;
}

.flash.hide {
  animation: flashOut 0.22s ease both;
}

.flash-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: white;
  background: var(--forest);
}

.flash-success .flash-icon { background: var(--success); }
.flash-error .flash-icon { background: var(--danger); }
.flash-info .flash-icon { background: var(--info); }
.flash p { flex: 1; margin: 2px 0 0; }

.flash button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 2px;
}

@keyframes flashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes flashOut {
  to { opacity: 0; transform: translateX(18px); }
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  z-index: 10001;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12.5px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.page-btn.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.page-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.page-ellipsis {
  padding: 0 4px;
  color: var(--muted-light);
}

.empty-state,
.no-results {
  padding: 70px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(255, 253, 248, 0.5);
}

.no-results-icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--forest);
}

.no-results h1,
.no-results h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}

.no-results p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   顶部公告 / 导航
   -------------------------------------------------------------------------- */

.announcement-bar {
  position: relative;
  z-index: 60;
  background: var(--forest-deep);
  color: rgba(246, 241, 231, 0.88);
  overflow: hidden;
  transition: max-height 0.25s, opacity 0.25s;
  max-height: 60px;
}

.announcement-bar.is-closed {
  max-height: 0;
  opacity: 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 35px;
  padding: 7px 52px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-align: center;
}

.announcement-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 167, 107, 0.16);
}

.announcement-inner a {
  color: var(--gold);
  border-bottom: 1px solid rgba(199, 167, 107, 0.4);
  white-space: nowrap;
}

.announcement-close {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  padding: 6px;
  border: 0;
  background: transparent;
  color: rgba(246, 241, 231, 0.65);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(246, 241, 231, 0.92);
  border-bottom: 1px solid rgba(222, 212, 194, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1380px, calc(100% - 64px));
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mobile-nav-btn {
  display: none;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--forest);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 29px;
  height: 29px;
}

.brand-mark.small {
  width: 39px;
  height: 39px;
}

.brand-mark.small svg {
  width: 26px;
  height: 26px;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--ink);
}

.brand-type small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.brand-lockup.light {
  color: var(--cream);
}

.brand-lockup.light .brand-mark {
  border-color: rgba(246, 241, 231, 0.35);
  color: var(--cream);
}

.brand-lockup.light .brand-type strong {
  color: var(--cream);
}

.brand-lockup.light .brand-type small {
  color: rgba(246, 241, 231, 0.5);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  height: 100%;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 21px;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transform: translateX(-50%);
  transition: width 0.25s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after {
  width: 17px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.header-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 9px;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s;
}

.header-text-link:hover {
  color: var(--terracotta);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.cart-link:hover {
  border-color: var(--forest);
  background: rgba(23, 63, 53, 0.04);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terracotta);
  color: white;
  font-size: 9.5px;
  font-weight: 700;
}

.header-search {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.header-search-inner {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  color: var(--muted);
}

.header-search-inner input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
}

.header-search-inner button[type="submit"] {
  min-height: 38px;
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 12px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 19, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  padding: 24px;
  background: var(--cream);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow-y: auto;
}

.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 19px;
}

.drawer-nav a.active {
  color: var(--terracotta);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 24px;
}

.drawer-foot p {
  color: var(--muted);
  font-size: 11.5px;
  margin-bottom: 7px;
}

.drawer-foot a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
}

.drawer-foot small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.shop-closed-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  background: #fbf1dd;
  color: #7c5a22;
  font-size: 11.5px;
  border-bottom: 1px solid #efdfc2;
}

/* --------------------------------------------------------------------------
   首页
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 78px) 0 clamp(56px, 7vw, 92px);
  background:
    radial-gradient(circle at 86% 22%, rgba(199, 167, 107, 0.16), transparent 27%),
    radial-gradient(circle at 6% 78%, rgba(141, 163, 149, 0.12), transparent 26%),
    linear-gradient(145deg, #f8f3e9 0%, #f2ebdd 58%, #e9ddca 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.hero-copy {
  padding: 12px 0;
}

.hero-title {
  max-width: 620px;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 510px;
  margin-top: 26px;
  color: #5e675f;
  font-size: 14.5px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(94, 103, 95, 0.16);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.hero-trust svg {
  color: var(--terracotta);
}

.hero-visual {
  position: relative;
  padding: 12px 20px 12px 8px;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 220px 220px 12px 12px;
  background: #e2d4bd;
  border: 1px solid rgba(115, 100, 76, 0.24);
  box-shadow: 0 38px 80px rgba(58, 48, 34, 0.17);
  aspect-ratio: 4 / 5.05;
}

.hero-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 1s ease;
}

.hero-frame:hover > img {
  transform: scale(1.04);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 33, 27, 0.02), transparent 40%, rgba(17, 29, 24, 0.7));
  pointer-events: none;
}

.hero-frame-label {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(255, 253, 248, 0.55);
  color: rgba(24, 41, 34, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  backdrop-filter: blur(5px);
}

.hero-image-caption {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  padding: 13px 15px;
  border: 1px solid rgba(246, 241, 231, 0.16);
  border-radius: 5px;
  background: rgba(13, 26, 21, 0.45);
  color: var(--cream);
  backdrop-filter: blur(7px);
}

.caption-num {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.9;
  color: var(--gold);
}

.hero-image-caption p {
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.hero-vertical {
  position: absolute;
  top: 90px;
  right: -5px;
  z-index: 4;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: rgba(23, 42, 36, 0.45);
}

.hero-float-card {
  position: absolute;
  left: -18px;
  bottom: 100px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 18px 40px rgba(50, 42, 31, 0.16);
  backdrop-filter: blur(10px);
}

.float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
}

.hero-float-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
}

.hero-float-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
}

.hero-stamp {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 104px;
  height: 104px;
  color: var(--forest);
  opacity: 0.72;
  animation: rotateStamp 26s linear infinite;
}

.hero-stamp svg {
  width: 100%;
  height: 100%;
}

.hero-stamp text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.hero-stamp .stamp-small {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 2px;
}

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

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 46px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(23, 42, 36, 0.48);
  font-size: 9px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.hero-scroll i {
  width: 1px;
  height: 32px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--terracotta);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50%, 100% { top: 100%; }
}

.reveal {
  animation: revealUp 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-copy .eyebrow { animation-delay: 0.04s; }
.hero-title.reveal { animation-delay: 0.09s; }
.hero-lead.reveal { animation-delay: 0.16s; }
.hero-actions.reveal { animation-delay: 0.23s; }
.hero-trust.reveal { animation-delay: 0.3s; }
.hero-visual.reveal { animation-delay: 0.12s; }

@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }

  .hero-stamp {
    animation: none;
  }

  .marquee-track {
    animation: none;
  }
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(23, 42, 36, 0.15);
  border-bottom: 1px solid rgba(23, 42, 36, 0.15);
  background: #efe6d7;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 0;
  padding-right: 32px;
  white-space: nowrap;
}

.marquee-group span {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #515d54;
}

.marquee-group i {
  font-style: normal;
  color: var(--terracotta);
  font-size: 10px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.category-section {
  background: var(--cream);
}

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 272px;
  gap: 14px;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream-deep);
  color: var(--cream);
  isolation: isolate;
}

.category-card-1 { grid-column: span 5; grid-row: span 2; }
.category-card-2 { grid-column: span 4; }
.category-card-3 { grid-column: span 3; }
.category-card-4 { grid-column: span 3; }
.category-card-5 { grid-column: span 4; }

.category-img {
  position: absolute;
  inset: 0;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category-card:hover .category-img img {
  transform: scale(1.045);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 31, 25, 0.02) 30%, rgba(14, 29, 23, 0.72) 100%);
}

.category-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 24px;
}

.category-index {
  position: absolute;
  top: -46px;
  left: 24px;
  color: rgba(246, 241, 231, 0.55);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.category-content h3 {
  color: var(--cream);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.category-content p {
  max-width: 310px;
  margin-top: 7px;
  color: rgba(246, 241, 231, 0.66);
  font-size: 10.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-count {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.circle-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(246, 241, 231, 0.34);
  border-radius: 50%;
  color: var(--cream);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.category-card:hover .circle-arrow {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}

.featured-section {
  padding-top: 20px;
  background: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px) clamp(14px, 2vw, 24px);
}

.product-card {
  min-width: 0;
}

.product-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #e8dece;
  aspect-ratio: 4 / 5;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.product-flag,
.product-discount {
  position: absolute;
  z-index: 2;
  top: 13px;
  padding: 5px 9px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.product-flag {
  left: 13px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
}

.product-discount {
  right: 13px;
  background: var(--terracotta);
  color: white;
}

.product-card-body {
  padding: 15px 2px 0;
}

.product-card-title {
  display: block;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.005em;
  transition: color 0.2s;
}

.product-card-title:hover {
  color: var(--terracotta);
}

.product-card-sub {
  min-height: 20px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
}

.product-price .cur {
  font-size: 11px;
  font-weight: 600;
}

.product-price strong {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-price del {
  margin-left: 7px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 400;
}

.commission-tag {
  padding: 4px 8px;
  border-radius: 3px;
  background: #f3e7d9;
  color: #8b5d34;
  font-size: 9px;
  white-space: nowrap;
}

.card-arrow {
  color: var(--muted);
}

.story-section {
  background: #efe7da;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.story-visual {
  position: relative;
  padding: 0 30px 34px 0;
}

.story-image-wrap {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 4.5;
}

.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  width: 210px;
  padding: 20px 0 0 22px;
  background: #efe7da;
  color: var(--muted);
}

.story-note span {
  font-size: 8px;
  line-height: 1.9;
  letter-spacing: 0.16em;
}

.story-note i {
  width: 1px;
  height: 50px;
  background: var(--terracotta);
}

.story-copy {
  max-width: 540px;
}

.story-text {
  margin-top: 22px;
  color: #5d675f;
  font-size: 13.5px;
  line-height: 2;
}

.story-points {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(23, 42, 36, 0.14);
}

.story-points > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 12px;
}

.story-points span {
  grid-row: span 2;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 11px;
  padding-top: 3px;
}

.story-points strong {
  font-size: 12.5px;
  font-weight: 600;
}

.story-points p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 2px;
}

.process-section {
  background: var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
}

.process-card {
  position: relative;
  padding: 32px 26px 30px;
  background: var(--paper);
  min-height: 230px;
  transition: background 0.3s;
}

.process-card:hover {
  background: #fbf6ec;
}

.process-num {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #c5b9a5;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--terracotta);
}

.process-card h3 {
  font-size: 19px;
  font-weight: 500;
}

.process-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.partner-banner-section {
  padding-top: 0;
  background: var(--cream);
}

.partner-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px);
  border-radius: 4px;
  background:
    radial-gradient(circle at 15% 12%, rgba(199, 167, 107, 0.12), transparent 30%),
    linear-gradient(135deg, #173f35, #0f2a23);
  color: var(--cream);
}

.partner-orbit {
  position: absolute;
  border: 1px solid rgba(199, 167, 107, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -240px;
}

.orbit-two {
  width: 380px;
  height: 380px;
  right: -70px;
  top: -160px;
}

.partner-banner-copy {
  position: relative;
  z-index: 2;
}

.partner-banner h2 {
  max-width: 590px;
  color: var(--cream);
  font-size: clamp(30px, 3.7vw, 48px);
  font-weight: 500;
  line-height: 1.3;
}

.partner-banner-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-top: 18px;
  color: rgba(246, 241, 231, 0.62);
  font-size: 12.5px;
  line-height: 1.9;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.partner-levels {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 26px;
  border: 1px solid rgba(246, 241, 231, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
}

.partner-levels-title {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.partner-level-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 241, 231, 0.12);
}

.level-index {
  color: rgba(246, 241, 231, 0.35);
  font-family: var(--serif);
  font-size: 10px;
}

.level-name {
  font-size: 12.5px;
  color: rgba(246, 241, 231, 0.8);
}

.partner-level-row strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  color: var(--gold);
}

.partner-level-row strong small {
  font-size: 12px;
  margin-left: 1px;
}

.partner-levels-note {
  margin-top: 14px;
  color: rgba(246, 241, 231, 0.35);
  font-size: 8.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   商品列表
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(46px, 5.5vw, 76px) 0 clamp(38px, 4.5vw, 58px);
  background: #eee5d6;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.page-hero p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.page-hero-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  justify-content: flex-end;
  padding-bottom: 7px;
}

.page-hero-aside span {
  padding: 5px 11px;
  border: 1px solid rgba(23, 42, 36, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
}

.compact-hero {
  padding-top: 48px;
  padding-bottom: 44px;
}

.shop-section {
  padding-top: clamp(34px, 4vw, 54px);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.filter-chips a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.filter-chips a:hover {
  color: var(--ink);
  background: rgba(23, 63, 53, 0.06);
}

.filter-chips a.active {
  background: var(--forest);
  color: var(--cream);
}

.filter-chips.small a {
  padding: 5px 12px;
  font-size: 11px;
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 290px;
  min-width: 210px;
  padding: 0 4px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.shop-search svg {
  color: var(--muted);
  flex: 0 0 auto;
}

.shop-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.shop-search button {
  height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 10.5px;
}

.shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
}

.shop-meta > p {
  color: var(--muted);
  font-size: 11.5px;
}

.shop-meta > p strong {
  color: var(--ink);
  font-weight: 600;
}

.sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.sort-form select {
  min-height: 36px;
  padding: 6px 30px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: transparent;
  font-size: 11px;
  outline: 0;
}

.shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 48px;
}

.size-cta {
  padding: 0 0 clamp(60px, 7vw, 92px);
}

.size-cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.size-cta-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f3e9da;
  color: var(--terracotta);
}

.size-cta h2 {
  font-size: 20px;
  font-weight: 500;
}

.size-cta p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
}

.size-cta .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   商品详情
   -------------------------------------------------------------------------- */

.breadcrumb-wrap {
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-light);
  font-size: 10.5px;
}

.breadcrumb a:hover {
  color: var(--terracotta);
}

.breadcrumb .current {
  color: var(--ink);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail-section {
  padding: clamp(28px, 4vw, 52px) 0 clamp(50px, 6vw, 80px);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(32px, 5.5vw, 80px);
  align-items: start;
}

.product-gallery-panel {
  position: sticky;
  top: calc(var(--header-h) + 22px);
}

.product-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #e8dece;
  aspect-ratio: 4 / 4.7;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-discount {
  position: absolute;
  top: 17px;
  left: 17px;
  padding: 5px 11px;
  background: var(--terracotta);
  color: white;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  border-radius: 3px;
}

.product-thumbs {
  display: flex;
  gap: 9px;
  margin-top: 11px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.product-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 90px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #e8dece;
  opacity: 0.62;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-thumb.active {
  opacity: 1;
  border-color: var(--forest);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.6);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.gallery-note > span {
  flex: 0 0 auto;
  color: var(--terracotta);
}

.product-info-panel {
  padding-top: 4px;
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--terracotta);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-kicker .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-light);
}

.product-info-head h1 {
  font-size: clamp(31px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.product-subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.product-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}

.product-social-proof svg {
  color: var(--gold);
  fill: var(--gold);
}

.product-price-block {
  margin-top: 24px;
  padding: 20px 0 23px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.detail-price .price-symbol {
  font-size: 14px;
  font-weight: 600;
}

.detail-price strong {
  font-family: var(--sans);
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.detail-price del {
  margin-left: 10px;
  color: var(--muted-light);
  font-size: 12px;
}

.price-save {
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #f5e6dc;
  color: var(--terracotta-dark);
  font-size: 9px;
}

.tax-note {
  margin-top: 7px;
  color: var(--muted-light);
  font-size: 10px;
}

.commission-preview {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #f3eadc;
  color: #74542f;
  font-size: 10.5px;
  line-height: 1.7;
}

.commission-preview svg {
  flex: 0 0 auto;
  color: var(--terracotta);
}

.commission-preview strong {
  color: var(--terracotta-dark);
}

.add-to-cart-form {
  margin-top: 24px;
}

.option-group {
  margin-bottom: 22px;
}

.option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.option-head > span,
.option-label {
  font-size: 12px;
  font-weight: 600;
}

.size-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.size-guide-link:hover {
  color: var(--terracotta);
}

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

.size-option {
  position: relative;
  cursor: pointer;
}

.size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.size-option:hover span {
  border-color: #b9aa92;
}

.size-option input:checked + span {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.size-option.sold-out {
  cursor: not-allowed;
}

.size-option.sold-out span {
  background: #efebe3;
  color: #aaa69b;
  border-color: #e6e0d5;
  text-decoration: line-through;
}

.size-option small {
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  color: #aaa69b;
  font-size: 8px;
  white-space: nowrap;
}

.stock-hint {
  margin-top: 15px;
  color: var(--muted);
  font-size: 10.5px;
}

.stock-hint.danger {
  color: var(--danger);
}

.quantity-group {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  overflow: hidden;
}

.quantity-stepper button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.quantity-stepper button:hover {
  background: #f4eee3;
  color: var(--ink);
}

.quantity-stepper input {
  width: 44px;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  font-size: 12.5px;
  -moz-appearance: textfield;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-stepper.small {
  height: 34px;
}

.quantity-stepper.small button {
  width: 30px;
}

.quantity-stepper.small input {
  width: 36px;
  font-size: 11.5px;
}

.quantity-note {
  color: var(--muted-light);
  font-size: 9.5px;
}

.btn-add-cart {
  width: 100%;
  height: 56px;
  margin-top: 2px;
  border-radius: 3px;
}

.product-quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 14px;
}

.product-quick-actions a,
.product-quick-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
}

.product-quick-actions a:hover,
.product-quick-actions button:hover {
  color: var(--terracotta);
}

.service-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-points > div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.service-points svg {
  flex: 0 0 auto;
  color: var(--terracotta);
}

.service-points strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
}

.service-points small {
  display: block;
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 8.5px;
  line-height: 1.5;
}

.product-accordions {
  margin-top: 8px;
}

.product-accordions details {
  border-bottom: 1px solid var(--line-soft);
}

.product-accordions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.product-accordions summary::-webkit-details-marker {
  display: none;
}

.product-accordions summary span {
  display: inline-flex;
  transition: transform 0.25s;
}

.product-accordions details[open] summary span {
  transform: rotate(180deg);
}

.detail-content {
  padding: 0 0 22px;
  color: #5f685f;
  font-size: 12.5px;
  line-height: 1.95;
}

.detail-content p + p,
.detail-content p + ul,
.detail-content p + ol {
  margin-top: 12px;
}

.detail-content ul,
.detail-content ol {
  list-style: disc;
  padding-left: 18px;
  margin-top: 9px;
}

.detail-content ol {
  list-style: decimal;
}

.detail-content strong {
  color: var(--ink);
}

.size-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 11.5px;
}

.size-table th,
.size-table td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.size-table th {
  background: var(--cream-deep);
  font-weight: 600;
}

.related-section {
  border-top: 1px solid var(--line);
  background: #f2ebdf;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 19, 0.56);
  opacity: 0;
  transition: opacity 0.25s;
}

.modal.open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  max-height: min(82vh, 760px);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 0.28s, opacity 0.28s;
}

.modal.open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 28px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.modal-head h2 {
  font-size: 27px;
  font-weight: 500;
}

.modal-body {
  overflow-y: auto;
  padding: 24px 28px;
  font-size: 12.5px;
  line-height: 1.9;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-top: 1px solid var(--line-soft);
  background: #faf6ed;
}

.modal-foot p {
  color: var(--muted);
  font-size: 11px;
}

.size-guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 13px 0;
}

.size-guide-content th,
.size-guide-content td {
  padding: 9px 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.size-guide-content th {
  background: var(--cream-deep);
}

/* --------------------------------------------------------------------------
   购物袋
   -------------------------------------------------------------------------- */

.cart-section {
  padding-top: clamp(30px, 4vw, 50px);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.cart-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-head-row h2 {
  font-size: 21px;
  font-weight: 500;
}

.cart-head-row h2 span {
  margin-left: 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
}

.cart-items {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-img {
  flex: 0 0 110px;
  width: 110px;
  height: 138px;
  overflow: hidden;
  border-radius: 3px;
  background: #e8dece;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.cart-item-top h3 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
}

.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
}

.cart-item-meta strong {
  color: var(--ink);
  font-weight: 500;
}

.cart-item-meta span {
  color: var(--muted-light);
}

.cart-remove {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-light);
}

.cart-remove:hover {
  color: var(--danger);
  background: rgba(163, 63, 53, 0.06);
}

.cart-item-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cart-item-price strong {
  font-size: 14px;
  font-weight: 600;
}

.cart-item-price small {
  display: block;
  margin-top: 2px;
  color: var(--terracotta);
  font-size: 9px;
}

.cart-qty-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.qty-save {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-line-total {
  min-width: 80px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
}

.cart-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
}

.cart-actions-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.cart-summary h2 {
  font-size: 25px;
  font-weight: 500;
}

.shipping-progress {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 3px;
  background: #f5eee2;
}

.shipping-progress p {
  color: #795f37;
  font-size: 10.5px;
}

.shipping-progress strong {
  font-weight: 700;
}

.progress-track {
  height: 3px;
  margin-top: 9px;
  border-radius: 99px;
  background: #e4d7c3;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--terracotta);
  border-radius: 99px;
  transition: width 0.4s;
}

.free-shipping-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 11px 13px;
  border-radius: 3px;
  background: #eef5ef;
  color: var(--success);
  font-size: 10.5px;
}

.summary-list {
  margin: 20px 0 0;
}

.summary-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
}

.summary-list dt {
  color: var(--muted);
  font-size: 11.5px;
}

.summary-list dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
}

.summary-list .summary-total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.summary-list .summary-total dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.summary-list .summary-total dd {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.summary-list .summary-total dd span {
  font-size: 13px;
}

.free-text {
  color: var(--success);
  font-weight: 600;
}

.summary-tax {
  margin-top: 8px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.cart-summary > .btn-block {
  margin-top: 20px;
  border-radius: 3px;
}

.summary-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
}

.summary-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 8.5px;
}

.summary-help {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.summary-help p {
  color: var(--muted-light);
  font-size: 9.5px;
}

.summary-help a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
}

.summary-help small {
  display: block;
  color: var(--muted-light);
  font-size: 8.5px;
  margin-top: 2px;
}

.cart-empty {
  max-width: 540px;
  margin: 0 auto;
  padding: 38px 20px 50px;
  text-align: center;
}

.empty-bag-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--paper);
}

.cart-empty h2 {
  font-size: 34px;
  font-weight: 500;
}

.cart-empty > p:not(.eyebrow) {
  margin: 9px 0 22px;
  color: var(--muted);
  font-size: 12.5px;
}

.empty-suggestions {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   结算 / 完成 / 订单查询
   -------------------------------------------------------------------------- */

.checkout-top {
  border-bottom: 1px solid var(--line);
  background: #f0e8db;
}

.checkout-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 10px 0;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-light);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.checkout-steps span {
  white-space: nowrap;
}

.checkout-steps span.done {
  color: var(--forest);
}

.checkout-steps span.active {
  color: var(--ink);
  font-weight: 600;
}

.checkout-steps i {
  display: block;
  width: 24px;
  height: 1px;
  background: #cdc1ae;
}

.checkout-steps i.done {
  background: var(--forest);
}

.checkout-secure {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9.5px;
}

.checkout-section {
  padding-top: clamp(34px, 4.4vw, 56px);
}

.checkout-heading {
  margin-bottom: 28px;
}

.checkout-heading h1 {
  font-size: clamp(36px, 4.5vw, 50px);
  font-weight: 500;
}

.checkout-heading > p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.checkout-alert {
  margin-bottom: 24px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(28px, 4.5vw, 62px);
  align-items: start;
}

.checkout-form-main {
  min-width: 0;
}

.form-card {
  margin-bottom: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.form-card-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  flex: 0 0 auto;
}

.form-card-head > div {
  padding-top: 1px;
}

.form-card-head h2 {
  font-size: 21px;
  font-weight: 500;
}

.form-card-head h2 small {
  color: var(--muted-light);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 400;
}

.form-card-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.inline-pair {
  min-width: 0;
}

.pair-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.field > .pair-inputs {
  display: grid;
}

.payment-options {
  display: grid;
  gap: 9px;
}

.payment-option {
  position: relative;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf9;
  transition: border-color 0.2s, background 0.2s;
}

.payment-option:hover .payment-inner {
  border-color: #bdb09c;
}

.payment-option input:checked + .payment-inner {
  border-color: var(--forest);
  background: #f4f8f4;
  box-shadow: inset 0 0 0 1px var(--forest);
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f1e9db;
  color: var(--forest);
}

.payment-copy {
  flex: 1;
}

.payment-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.payment-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
}

.radio-mark {
  width: 17px;
  height: 17px;
  border: 1px solid #c9bdab;
  border-radius: 50%;
  flex: 0 0 auto;
  position: relative;
}

.payment-option input:checked + .payment-inner .radio-mark {
  border-color: var(--forest);
}

.payment-option input:checked + .payment-inner .radio-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--forest);
}

.payment-notice {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  padding: 11px 13px;
  border-radius: 3px;
  background: #f5efe4;
  color: #6f5c3e;
  font-size: 10px;
  line-height: 1.75;
}

.payment-notice svg {
  flex: 0 0 auto;
  color: var(--terracotta);
  margin-top: 1px;
}

.btn-submit-order {
  width: 100%;
  height: 58px;
  border-radius: 3px;
  justify-content: space-between;
  padding: 0 24px;
}

.btn-submit-order span {
  font-size: 13px;
}

.btn-submit-order strong {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
}

.submit-note {
  margin-top: 9px;
  color: var(--muted-light);
  font-size: 9.5px;
  text-align: center;
}

.checkout-side {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.order-summary-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.order-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.order-summary-head h2 {
  font-size: 19px;
  font-weight: 500;
}

.order-summary-head a {
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-height: 300px;
  overflow-y: auto;
  padding: 16px 0;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.summary-thumb {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 63px;
  overflow: hidden;
  border-radius: 2px;
  background: #e8dece;
}

.summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-thumb span {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-size: 8.5px;
}

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

.summary-item-info strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-item-info small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.summary-item-price {
  font-size: 10.5px;
  white-space: nowrap;
}

.order-summary-card .summary-list {
  padding-top: 3px;
  border-top: 1px solid var(--line-soft);
}

.checkout-assurance {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.checkout-assurance p {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  color: var(--muted);
  font-size: 9px;
}

.checkout-help {
  display: flex;
  gap: 13px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f2eadc;
}

.checkout-help > span {
  color: var(--terracotta);
}

.checkout-help strong {
  display: block;
  font-size: 11.5px;
}

.checkout-help p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.65;
}

.checkout-help a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  color: var(--terracotta);
  font-size: 9.5px;
  font-weight: 600;
}

/* 订单完成 */
.success-section {
  padding-top: clamp(40px, 6vw, 70px);
}

.success-head {
  max-width: 620px;
  margin: 0 auto 34px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 14px 35px rgba(23, 63, 53, 0.22);
}

.success-head h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
}

.success-head > p:not(.eyebrow) {
  max-width: 480px;
  margin: 10px auto 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}

.order-no-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 7px 11px 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 10px;
}

.order-no-pill > span {
  color: var(--muted-light);
}

.order-no-pill strong {
  font-family: var(--mono, "Consolas", monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.order-no-pill button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: #f1eade;
  color: var(--muted);
  font-size: 9px;
}

.success-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.success-main {
  min-width: 0;
}

.success-side {
  display: grid;
  gap: 16px;
}

.payment-card {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.payment-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  background: #f2ebde;
  border-bottom: 1px solid var(--line);
}

.payment-card-head h2 {
  font-size: 25px;
  font-weight: 500;
}

.payment-amount {
  text-align: right;
}

.payment-amount span {
  display: block;
  color: var(--muted);
  font-size: 9.5px;
}

.payment-amount strong {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 600;
}

.payment-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  padding: 26px;
}

.qr-panel,
.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 190px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbf7ee;
}

.qr-panel img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.qr-panel span,
.qr-placeholder span {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.qr-placeholder {
  color: var(--terracotta);
  border-style: dashed;
}

.qr-placeholder span {
  font-size: 10px;
}

.payment-steps h3 {
  font-size: 17px;
  font-weight: 500;
}

.payment-steps ol {
  margin-top: 12px;
}

.payment-steps li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.75;
}

.payment-steps li > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--ink);
  font-size: 8.5px;
}

.payment-steps li strong {
  color: var(--ink);
  font-weight: 600;
}

.wechat-copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.wechat-copy-row > span {
  color: var(--muted);
  font-size: 10.5px;
}

.wechat-copy-row strong {
  color: var(--ink);
}

.payment-help {
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.7;
}

.cod-card {
  display: flex;
  gap: 17px;
  padding: 26px;
}

.cod-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef4ef;
  color: var(--success);
}

.cod-card h2 {
  font-size: 25px;
  font-weight: 500;
}

.cod-card p:not(.eyebrow) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.85;
}

.success-actions-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.success-actions-card h2 {
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 500;
}

.success-actions-card .btn + .btn {
  margin-top: 8px;
}

.success-contact {
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.success-contact p {
  color: var(--muted);
  font-size: 9.5px;
}

.success-contact a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
}

.success-contact small {
  display: block;
  color: var(--muted-light);
  font-size: 8.5px;
}

.success-note-card {
  padding: 20px;
  border-radius: 4px;
  background: #eee6d8;
}

.success-note-card > span {
  color: var(--terracotta);
}

.success-note-card h3 {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
}

.success-note-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.8;
}

/* 订单详情卡片（前台共用） */
.order-card {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  overflow: hidden;
}

.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.order-card-head h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.copy-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 6px;
  border: 0;
  border-radius: 4px;
  background: #f1eade;
  color: var(--muted);
  font-size: 8.5px;
}

.order-date {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
}

.order-closed-note {
  display: flex;
  gap: 9px;
  margin: 18px 26px 0;
  padding: 11px 13px;
  border-radius: 3px;
  background: #f3eee5;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.order-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 32px 20px;
  overflow: hidden;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 60px;
  color: var(--muted-light);
  text-align: center;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #d6c9b5;
  border-radius: 50%;
  background: var(--paper);
  font-size: 9px;
}

.progress-step.done .step-dot {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.progress-step.active .step-dot {
  border-color: var(--forest);
  color: var(--forest);
  box-shadow: 0 0 0 4px rgba(23, 63, 53, 0.08);
  font-weight: 600;
}

.progress-step.done,
.progress-step.active {
  color: var(--ink);
}

.step-label {
  font-size: 9px;
  white-space: nowrap;
}

.progress-line {
  flex: 1;
  height: 1px;
  margin-top: 12px;
  background: #e3d9c9;
}

.progress-line.done {
  background: var(--forest);
}

.tracking-box {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 26px 18px;
  padding: 12px 14px;
  border-radius: 3px;
  background: #eef3ee;
}

.tracking-box > span {
  color: var(--success);
}

.tracking-box > div {
  flex: 1;
}

.tracking-box small {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
}

.tracking-box strong {
  display: block;
  font-size: 10.5px;
}

.order-items {
  border-top: 1px solid var(--line-soft);
}

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--line-soft);
}

.order-item-img {
  flex: 0 0 49px;
  width: 49px;
  height: 59px;
  border-radius: 2px;
  overflow: hidden;
  background: #e8dece;
}

.order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.order-item-info strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
}

.order-item-info small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.order-item-qty {
  color: var(--muted);
  font-size: 10px;
}

.order-item-total {
  min-width: 60px;
  text-align: right;
  font-size: 11.5px;
  font-weight: 500;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-soft);
}

.order-info-block h3 {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-info-block p {
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.75;
}

.order-total-box {
  display: flex;
  justify-content: flex-end;
  padding: 18px 26px 22px;
}

.order-total-box dl {
  width: min(290px, 100%);
  margin: 0;
}

.order-total-box dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 3px 0;
  color: var(--muted);
  font-size: 10.5px;
}

.order-total-box dt,
.order-total-box dd {
  margin: 0;
}

.order-total-box .grand-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.order-total-box .grand-total dt {
  font-weight: 600;
}

.order-total-box .grand-total dd {
  font-size: 18px;
  font-weight: 600;
}

/* 订单查询 */
.order-hero {
  background: #e9e0d0;
}

.order-hero-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(23, 42, 36, 0.23);
  border-radius: 50%;
  color: var(--forest);
  transform: rotate(-7deg);
  flex: 0 0 auto;
}

.order-hero-stamp span {
  font-size: 8px;
  letter-spacing: 0.18em;
}

.order-hero-stamp strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
}

.order-hero-stamp small {
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.order-lookup-section {
  padding-top: clamp(34px, 4vw, 50px);
}

.lookup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.lookup-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.lookup-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.lookup-head h2 {
  font-size: 24px;
  font-weight: 500;
}

.lookup-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.lookup-form {
  display: grid;
  gap: 15px;
}

.lookup-form .btn {
  margin-top: 5px;
  border-radius: 3px;
}

.lookup-tips {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.lookup-tips p {
  display: flex;
  gap: 6px;
  padding: 3px 0;
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.7;
}

.lookup-tips svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.lookup-aside {
  display: grid;
  gap: 14px;
}

.lookup-help-card {
  padding: 26px;
  border-radius: 4px;
  background: #efe7d9;
}

.lookup-help-card h3 {
  font-size: 23px;
  font-weight: 500;
}

.lookup-help-card > p:not(.eyebrow) {
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.copy-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px dashed #cbbda6;
  border-radius: 3px;
  font-size: 11px;
}

.copy-line button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--terracotta);
  font-size: 9px;
}

.lookup-help-card > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  font-size: 12px;
  font-weight: 600;
}

.lookup-help-card > small {
  display: block;
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 8.5px;
}

.lookup-steps-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.55);
}

.lookup-steps-card h3 {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 500;
}

.lookup-steps-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 9px;
  padding: 6px 0;
}

.lookup-steps-card li > span {
  grid-row: span 2;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 9.5px;
  padding-top: 2px;
}

.lookup-steps-card strong {
  font-size: 10.5px;
  font-weight: 600;
}

.lookup-steps-card p {
  color: var(--muted);
  font-size: 9px;
}

.lookup-result {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.result-heading h2 {
  font-size: 30px;
  font-weight: 500;
}

.result-heading .eyebrow {
  margin-bottom: 4px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   静态内容页
   -------------------------------------------------------------------------- */

.static-hero {
  background: #ede4d5;
}

.static-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.static-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding-bottom: 7px;
}

.static-section {
  padding-top: clamp(36px, 5vw, 64px);
}

.static-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 750px);
  justify-content: space-between;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.static-nav {
  position: sticky;
  top: calc(var(--header-h) + 25px);
  padding-top: 4px;
}

.static-nav-title {
  margin-bottom: 13px;
  color: var(--muted-light);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.static-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 11.5px;
  transition: color 0.2s;
}

.static-nav > a:hover,
.static-nav > a.active {
  color: var(--ink);
}

.static-nav > a.active {
  font-weight: 600;
}

.static-nav > a svg {
  opacity: 0.4;
}

.static-nav-help {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.static-nav-help p {
  color: var(--muted-light);
  font-size: 9px;
}

.static-nav-help a {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 18px;
}

.static-nav-help small {
  color: var(--muted-light);
  font-size: 8.5px;
}

.static-content {
  min-width: 0;
}

.prose {
  color: #4e5b53;
  font-size: 13.5px;
  line-height: 2.05;
}

.prose .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.85;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.prose h2 {
  margin: 38px 0 13px;
  font-size: 27px;
  font-weight: 500;
}

.prose h3 {
  margin: 27px 0 9px;
  font-size: 20px;
  font-weight: 500;
}

.prose p {
  margin: 0 0 17px;
}

.prose ul,
.prose ol {
  list-style: disc;
  margin: 0 0 20px;
  padding-left: 21px;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 2px solid var(--terracotta);
  background: #f1e9dc;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 12px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--cream-deep);
}

.static-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.static-end span {
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   登录 / 注册（伙伴 & 管理员）
   -------------------------------------------------------------------------- */

.partner-auth-body {
  background: var(--paper);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 100vh;
}

.auth-brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 48px);
  background:
    radial-gradient(circle at 18% 8%, rgba(199, 167, 107, 0.13), transparent 32%),
    linear-gradient(150deg, #1b463b 0%, #102d26 60%, #0b211b 100%);
  color: var(--cream);
}

.auth-brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

.auth-brand-panel > * {
  position: relative;
  z-index: 2;
}

.auth-brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(246, 241, 231, 0.46);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.auth-back:hover {
  color: var(--cream);
}

.auth-brand-copy {
  max-width: 500px;
  margin-top: auto;
  padding-top: 60px;
}

.auth-brand-copy h1 {
  color: var(--cream);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.auth-brand-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 22px;
  color: rgba(246, 241, 231, 0.53);
  font-size: 12px;
  line-height: 1.95;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 17px;
  margin-top: 28px;
}

.auth-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(246, 241, 231, 0.62);
  font-size: 9px;
}

.auth-benefits svg {
  color: var(--gold);
}

.auth-brand-art {
  position: absolute !important;
  right: -30px;
  bottom: 40px;
  z-index: 1 !important;
  width: 300px;
  color: var(--cream);
  opacity: 0.7;
  pointer-events: none;
}

.auth-brand-art svg {
  width: 100%;
  height: auto;
}

.auth-brand-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 50px;
  color: rgba(246, 241, 231, 0.32);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.auth-form-panel {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 clamp(24px, 6vw, 90px);
  background:
    radial-gradient(circle at 90% 8%, rgba(199, 167, 107, 0.08), transparent 28%),
    var(--paper);
}

.auth-form-inner {
  width: min(470px, 100%);
  margin: auto;
  padding: 52px 0 34px;
}

.auth-mobile-brand {
  display: none;
  margin-bottom: 30px;
}

.auth-form-head {
  margin-bottom: 26px;
}

.auth-form-head h2 {
  font-size: clamp(30px, 3.6vw, 38px);
  font-weight: 500;
}

.auth-form-head > p:not(.eyebrow) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-form .field > span {
  font-size: 11.5px;
}

.auth-form .field input,
.auth-form .field select {
  min-height: 48px;
  border-radius: 4px;
  background: #fffdf9;
}

.auth-submit {
  height: 52px;
  margin-top: 5px;
  border-radius: 3px;
}

.auth-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.auth-switch {
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
}

.auth-switch p {
  color: var(--muted);
  font-size: 11px;
}

.auth-switch a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-small {
  margin-top: 7px;
  color: var(--muted-light) !important;
  font-size: 9.5px !important;
}

.register-level-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 3px;
  background: #f2ecdf;
  color: #6f5a39;
}

.register-level-note > svg {
  flex: 0 0 auto;
  color: var(--terracotta);
}

.register-level-note strong {
  display: block;
  font-size: 10.5px;
}

.register-level-note span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.65;
}

.auth-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(470px, 100%);
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-light);
  font-size: 8.5px;
}

.auth-form-footer a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
}

.admin-auth-brand {
  background:
    radial-gradient(circle at 80% 6%, rgba(199, 167, 107, 0.12), transparent 30%),
    linear-gradient(150deg, #1a2d27 0%, #0f211b 60%, #091913 100%);
}

.admin-art {
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   页脚 / 移动底栏
   -------------------------------------------------------------------------- */

.site-footer {
  padding: clamp(48px, 6vw, 76px) 0 0;
  background: #10261f;
  color: rgba(246, 241, 231, 0.6);
}

.footer-main {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(26px, 5vw, 70px);
  padding-bottom: clamp(38px, 4.5vw, 58px);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
}

.footer-logo > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-logo small {
  color: rgba(246, 241, 231, 0.35);
  font-size: 7px;
  letter-spacing: 0.17em;
  margin-top: 3px;
}

.footer-logo .brand-mark {
  color: var(--cream);
  border-color: rgba(246, 241, 231, 0.3);
}

.footer-tagline {
  margin-top: 20px;
  color: rgba(246, 241, 231, 0.5);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
}

.footer-company {
  margin-top: 11px;
  color: rgba(246, 241, 231, 0.26);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.footer-col h3 {
  margin-bottom: 15px;
  color: rgba(246, 241, 231, 0.82);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-col li {
  margin: 7px 0;
}

.footer-col a {
  color: rgba(246, 241, 231, 0.47);
  font-size: 10.5px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-phone {
  display: block;
  margin-bottom: 12px;
  color: var(--cream) !important;
  font-family: var(--serif);
  font-size: 22px !important;
  letter-spacing: 0.01em;
}

.footer-contact p,
.wechat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  color: rgba(246, 241, 231, 0.4);
  font-size: 9.5px;
  line-height: 1.65;
}

.footer-contact svg {
  flex: 0 0 auto;
  opacity: 0.6;
}

.wechat-row {
  flex-wrap: wrap;
}

.copy-mini {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 8.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(246, 241, 231, 0.09);
  color: rgba(246, 241, 231, 0.28);
  font-size: 8.5px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-bottom-links a:hover {
  color: var(--cream);
}

.mobile-tabbar {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.back-to-top svg {
  transform: rotate(180deg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .container,
  .footer-main,
  .footer-bottom {
    width: calc(100% - 56px);
  }

  .hero-inner {
    width: calc(100% - 56px);
    gap: 44px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .header-inner {
    width: calc(100% - 48px);
  }

  .hero-title {
    font-size: clamp(38px, 5vw, 58px);
  }

  .product-grid,
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
    gap: 28px;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav-btn {
    display: inline-grid;
  }

  .header-inner {
    justify-content: flex-start;
    gap: 13px;
  }

  .header-inner .brand-lockup {
    margin-right: auto;
  }

  .header-text-link span {
    display: none;
  }

  .header-text-link {
    width: 40px;
    justify-content: center;
    padding: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.9fr;
    gap: 34px;
  }

  .hero-frame {
    border-radius: 170px 170px 10px 10px;
  }

  .hero-float-card {
    left: -8px;
    bottom: 70px;
    padding: 10px 13px;
  }

  .hero-stamp {
    width: 82px;
    height: 82px;
  }

  .category-mosaic {
    grid-auto-rows: 230px;
  }

  .category-card-1 { grid-column: span 6; }
  .category-card-2 { grid-column: span 6; }
  .category-card-3 { grid-column: span 4; }
  .category-card-4 { grid-column: span 4; }
  .category-card-5 { grid-column: span 4; }
  .category-card-1 { grid-row: span 1; }

  .story-grid {
    gap: 50px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-banner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .partner-levels {
    max-width: 520px;
  }

  .product-detail-grid {
    gap: 38px;
  }

  .service-points {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .cart-summary {
    position: static;
  }

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

  .checkout-side {
    position: static;
  }

  .order-summary-card {
    max-width: none;
  }

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

  .success-side {
    grid-template-columns: 1fr 1fr;
  }

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

  .lookup-aside {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .static-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 40px;
  }

  .auth-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .auth-brand-copy h1 {
    font-size: 40px;
  }

  .auth-brand-art {
    width: 240px;
    opacity: 0.5;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
  }

  .footer-contact {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(246, 241, 231, 0.09);
  }

  .footer-contact h3 {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .container,
  .hero-inner,
  .footer-main,
  .footer-bottom {
    width: calc(100% - 40px);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    order: 1;
    padding: 0;
  }

  .hero-visual {
    order: 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    padding: 8px 18px 12px 0;
  }

  .hero-frame {
    border-radius: 180px 180px 9px 9px;
    aspect-ratio: 4 / 4.5;
  }

  .hero-title {
    font-size: clamp(38px, 8.5vw, 54px);
  }

  .hero-lead {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-trust {
    margin-top: 28px;
  }

  .hero-stamp {
    width: 94px;
    height: 94px;
    top: 4px;
    right: 3px;
  }

  .hero-float-card {
    bottom: 50px;
    left: -4px;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .section-head.split {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .category-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 260px;
    gap: 10px;
  }

  .category-card-1 { grid-column: span 2; grid-row: span 1; }
  .category-card-2 { grid-column: span 1; }
  .category-card-3 { grid-column: span 1; }
  .category-card-4 { grid-column: span 1; }
  .category-card-5 { grid-column: span 1; }

  .category-content {
    padding: 18px 16px;
  }

  .category-content p {
    display: none;
  }

  .category-content h3 {
    font-size: 21px;
  }

  .circle-arrow {
    width: 34px;
    height: 34px;
  }

  .product-grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 13px;
  }

  .product-card-title {
    font-size: 15px;
  }

  .product-card-sub {
    font-size: 9.5px;
  }

  .product-price strong {
    font-size: 16px;
  }

  .commission-tag {
    font-size: 8px;
    padding: 3px 6px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-visual {
    max-width: 500px;
    padding-right: 26px;
  }

  .story-copy {
    max-width: none;
  }

  .story-text {
    font-size: 12.5px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-card {
    min-height: 210px;
    padding: 24px 20px;
  }

  .partner-banner {
    padding: 32px 24px;
  }

  .partner-banner h2 {
    font-size: 31px;
  }

  .page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .page-hero-aside {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .shop-search {
    flex: 1;
    width: 100%;
    max-width: none;
  }

  .shop-meta {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }

  .size-cta-inner {
    flex-wrap: wrap;
    padding: 20px;
  }

  .size-cta .btn {
    margin-left: 0;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery-panel {
    position: static;
  }

  .product-main-image {
    aspect-ratio: 4 / 4.5;
  }

  .product-info-head h1 {
    font-size: 34px;
  }

  .service-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .service-points small {
    display: none;
  }

  .cart-item {
    gap: 14px;
  }

  .cart-item-img {
    flex-basis: 88px;
    width: 88px;
    height: 112px;
  }

  .cart-item-bottom {
    align-items: center;
  }

  .cart-line-total {
    min-width: 65px;
  }

  .checkout-top-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }

  .checkout-top-inner > .text-link,
  .checkout-secure {
    display: none;
  }

  .checkout-heading h1 {
    font-size: 38px;
  }

  .payment-body {
    grid-template-columns: 1fr;
  }

  .qr-panel,
  .qr-placeholder {
    max-width: 230px;
    width: 100%;
  }

  .order-info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .order-card-head {
    padding: 19px 20px 15px;
  }

  .order-progress {
    padding: 20px 15px 17px;
  }

  .step-label {
    font-size: 8px;
  }

  .order-item {
    padding: 12px 20px;
  }

  .order-info-grid,
  .order-total-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .order-card {
    border-radius: 3px;
  }

  .lookup-aside {
    grid-template-columns: 1fr;
  }

  .static-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .static-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .static-nav-title {
    width: 100%;
    margin-bottom: 4px;
  }

  .static-nav > a {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
  }

  .static-nav > a svg {
    display: none;
  }

  .static-nav-help {
    display: none;
  }

  .prose {
    font-size: 12.5px;
    line-height: 2;
  }

  .prose .lead {
    font-size: 19px;
  }

  .prose h2 {
    font-size: 24px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    display: none;
  }

  .auth-form-panel {
    min-height: 100vh;
    padding: 0 24px;
  }

  .auth-mobile-brand {
    display: block;
  }

  .auth-form-inner {
    padding-top: 36px;
  }

  .auth-form-footer {
    margin-top: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }

  .footer-contact {
    grid-column: span 2;
    display: block;
    padding-top: 20px;
  }

  .footer-contact h3 {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding-bottom: 92px;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-tabbar a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    min-height: 46px;
    color: var(--muted);
    font-size: 8px;
  }

  .mobile-tabbar a.active {
    color: var(--forest);
  }

  .mobile-tabbar .tab-cart i {
    position: absolute;
    top: 1px;
    left: 50%;
    margin-left: 4px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 99px;
    background: var(--terracotta);
    color: white;
    font-size: 7px;
    font-style: normal;
    display: grid;
    place-items: center;
  }

  .back-to-top {
    bottom: 86px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .flash-stack {
    top: 76px;
    right: 12px;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .container,
  .hero-inner,
  .footer-main,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .header-inner {
    width: calc(100% - 28px);
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark svg {
    width: 25px;
    height: 25px;
  }

  .brand-type strong {
    font-size: 17px;
  }

  .brand-type small {
    font-size: 6.5px;
  }

  .header-actions {
    gap: 2px;
  }

  .header-actions .icon-btn {
    width: 36px;
    height: 36px;
  }

  .header-text-link {
    width: 34px;
    height: 36px;
  }

  .cart-link {
    height: 36px;
    padding: 0 10px;
    border: 0;
  }

  .cart-label {
    display: none;
  }

  .announcement-inner {
    padding: 7px 34px;
    font-size: 10px;
    justify-content: flex-start;
    text-align: left;
  }

  .announcement-inner a {
    display: none;
  }

  .announcement-close {
    right: 10px;
  }

  .hero {
    padding-bottom: 44px;
  }

  .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: clamp(32px, 10.2vw, 44px);
    line-height: 1.23;
  }

  .hero-lead {
    font-size: 12.5px;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 12px;
  }

  .hero-trust {
    gap: 8px 14px;
    padding-top: 15px;
    margin-top: 22px;
  }

  .hero-trust span {
    font-size: 9.5px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-stamp {
    width: 74px;
    height: 74px;
  }

  .hero-frame-label {
    top: 16px;
    left: 18px;
    right: 18px;
    font-size: 6.5px;
  }

  .hero-image-caption {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .caption-num {
    font-size: 32px;
  }

  .hero-image-caption p {
    font-size: 9.5px;
  }

  .marquee-group {
    padding: 9px 0;
    padding-right: 22px;
    gap: 22px;
  }

  .marquee-group span {
    font-size: 10.5px;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 27px;
  }

  .section-sub {
    margin-top: 8px;
    font-size: 11.5px;
  }

  .text-link {
    font-size: 11px;
  }

  .category-mosaic {
    grid-auto-rows: 190px;
    gap: 7px;
  }

  .category-card-1 {
    aspect-ratio: auto;
  }

  .category-content {
    padding: 13px;
  }

  .category-content h3 {
    font-size: 17px;
  }

  .category-index {
    display: none;
  }

  .category-count {
    margin-top: 4px;
    font-size: 8px;
  }

  .circle-arrow {
    width: 28px;
    height: 28px;
  }

  .circle-arrow svg {
    width: 15px;
    height: 15px;
  }

  .featured-section {
    padding-top: 10px;
  }

  .product-grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }

  .product-card-body {
    padding-top: 10px;
  }

  .product-card-title {
    font-size: 13.5px;
  }

  .product-card-sub {
    font-size: 8.5px;
  }

  .product-price .cur {
    font-size: 9px;
  }

  .product-price strong {
    font-size: 15px;
  }

  .product-price del {
    display: none;
  }

  .commission-tag {
    display: none;
  }

  .product-flag {
    top: 8px;
    left: 8px;
    font-size: 7.5px;
    padding: 3px 6px;
  }

  .product-discount {
    top: 8px;
    right: 8px;
    font-size: 7.5px;
    padding: 3px 6px;
  }

  .story-visual {
    padding: 0 18px 26px 0;
  }

  .story-note {
    width: 160px;
    padding-left: 12px;
  }

  .story-points {
    margin-top: 24px;
    padding-top: 20px;
    gap: 14px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    border-radius: 3px;
  }

  .process-card {
    min-height: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 14px;
  }

  .process-icon {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .process-card h3 {
    font-size: 16px;
  }

  .process-card p {
    margin-top: 3px;
  }

  .partner-banner {
    border-radius: 3px;
    padding: 28px 20px;
  }

  .partner-banner h2 {
    font-size: 25px;
  }

  .partner-banner-copy > p:not(.eyebrow) {
    font-size: 11px;
  }

  .partner-actions .btn {
    min-height: 43px;
    padding: 10px 15px;
    font-size: 11px;
  }

  .partner-levels {
    padding: 18px;
  }

  .page-hero {
    padding: 34px 0 30px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 11.5px;
  }

  .page-hero-aside span {
    font-size: 8.5px;
  }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    width: 100%;
    scrollbar-width: none;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chips a {
    flex: 0 0 auto;
    padding: 6px 11px;
    font-size: 10.5px;
  }

  .shop-meta {
    padding: 14px 0 18px;
  }

  .shop-search input {
    height: 38px;
    font-size: 11px;
  }

  .sort-form {
    width: 100%;
    justify-content: space-between;
  }

  .sort-form select {
    flex: 1;
  }

  .size-cta-inner {
    gap: 13px;
    padding: 17px;
  }

  .size-cta-icon {
    width: 42px;
    height: 42px;
  }

  .size-cta h2 {
    font-size: 16px;
  }

  .size-cta p {
    font-size: 10px;
  }

  .size-cta .btn {
    width: 100%;
  }

  .breadcrumb {
    font-size: 9px;
    gap: 5px;
  }

  .product-detail-section {
    padding-top: 18px;
  }

  .product-info-head h1 {
    font-size: 28px;
  }

  .product-subtitle {
    font-size: 11px;
  }

  .detail-price strong {
    font-size: 30px;
  }

  .product-price-block {
    margin-top: 18px;
    padding: 16px 0;
  }

  .size-option span {
    min-width: 48px;
    height: 40px;
    padding: 0 11px;
    font-size: 11px;
  }

  .btn-add-cart {
    height: 50px;
  }

  .product-quick-actions {
    gap: 8px 15px;
  }

  .service-points {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 16px 0;
  }

  .service-points small {
    display: block;
  }

  .service-points > div {
    align-items: center;
  }

  .product-accordions summary {
    padding: 14px 0;
    font-size: 13px;
  }

  .detail-content {
    font-size: 11.5px;
  }

  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 12px 12px 0 0;
  }

  .modal-head {
    padding: 20px 20px 14px;
  }

  .modal-head h2 {
    font-size: 23px;
  }

  .modal-body {
    padding: 18px 20px;
  }

  .modal-foot {
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cart-section {
    padding-top: 24px;
  }

  .cart-item-img {
    flex-basis: 74px;
    width: 74px;
    height: 98px;
  }

  .cart-item-top h3 {
    font-size: 14px;
  }

  .cart-item-meta {
    font-size: 9px;
    gap: 3px 8px;
  }

  .cart-item-bottom {
    gap: 8px;
  }

  .cart-qty-form {
    margin-left: 0;
  }

  .cart-line-total {
    margin-left: auto;
    min-width: auto;
    font-size: 13px;
  }

  .cart-actions-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .cart-summary {
    padding: 20px;
  }

  .cart-summary h2 {
    font-size: 22px;
  }

  .summary-list .summary-total dd {
    font-size: 23px;
  }

  .empty-bag-icon {
    width: 72px;
    height: 72px;
  }

  .cart-empty h2 {
    font-size: 27px;
  }

  .checkout-heading h1 {
    font-size: 32px;
  }

  .form-card {
    padding: 18px 15px;
    border-left: 0;
    border-right: 0;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }

  .form-card-head {
    gap: 10px;
  }

  .form-card-head h2 {
    font-size: 18px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field-grid .span-2 {
    grid-column: span 1;
  }

  .pair-inputs {
    gap: 7px;
  }

  .step-badge {
    min-width: 27px;
    height: 27px;
    font-size: 8.5px;
  }

  .agreement-row {
    margin: 17px 0;
    font-size: 11px;
  }

  .btn-submit-order {
    height: 53px;
    padding: 0 17px;
  }

  .btn-submit-order strong {
    font-size: 15px;
  }

  .order-summary-card {
    padding: 18px;
  }

  .checkout-steps {
    gap: 7px;
    font-size: 8px;
  }

  .checkout-steps i {
    width: 13px;
  }

  .success-head h1 {
    font-size: 34px;
  }

  .success-layout {
    gap: 15px;
  }

  .success-side {
    grid-template-columns: 1fr;
  }

  .payment-card-head {
    padding: 19px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .payment-amount {
    text-align: left;
  }

  .payment-amount strong {
    font-size: 25px;
  }

  .payment-body {
    padding: 18px;
    gap: 18px;
  }

  .cod-card {
    padding: 19px;
    gap: 12px;
  }

  .cod-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .cod-card h2 {
    font-size: 21px;
  }

  .order-card-head {
    flex-direction: column;
    gap: 10px;
  }

  .order-progress {
    padding: 18px 10px 14px;
  }

  .progress-step {
    min-width: 47px;
  }

  .progress-line {
    margin-top: 12px;
  }

  .step-label {
    font-size: 7px;
  }

  .step-dot {
    width: 23px;
    height: 23px;
  }

  .order-progress .progress-line {
    min-width: 8px;
  }

  .order-item-img {
    flex-basis: 42px;
    width: 42px;
    height: 52px;
  }

  .order-item {
    gap: 9px;
  }

  .order-item-info strong {
    font-size: 9.5px;
  }

  .order-item-qty {
    font-size: 9px;
  }

  .order-item-total {
    min-width: 48px;
    font-size: 10px;
  }

  .order-info-block p {
    font-size: 10px;
  }

  .tracking-box {
    margin: 0 20px 15px;
    flex-wrap: wrap;
  }

  .lookup-card {
    padding: 19px 16px;
    border-left: 0;
    border-right: 0;
    margin: 0 -16px;
    border-radius: 0;
  }

  .lookup-head h2 {
    font-size: 21px;
  }

  .order-hero-stamp {
    display: none;
  }

  .result-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .result-heading h2 {
    font-size: 26px;
  }

  .result-actions .btn {
    flex: 1;
  }

  .static-hero-meta {
    align-items: flex-start;
  }

  .static-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .prose .lead {
    font-size: 17.5px;
    line-height: 1.9;
  }

  .prose h2 {
    font-size: 22px;
    margin-top: 30px;
  }

  .static-end {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-form-panel {
    padding: 0 20px;
  }

  .auth-two-col {
    grid-template-columns: 1fr;
  }

  .auth-form-head h2 {
    font-size: 29px;
  }

  .auth-form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 30px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: span 1;
  }

  .footer-col {
    padding-top: 18px;
    border-top: 1px solid rgba(246, 241, 231, 0.08);
  }

  .footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(246, 241, 231, 0.08);
  }

  .footer-contact h3 {
    grid-column: span 2;
  }

  .footer-phone {
    font-size: 20px !important;
  }

  .footer-bottom {
    font-size: 7.5px;
  }

  .back-to-top {
    display: none;
  }

  .flash {
    padding: 11px 12px;
    font-size: 11px;
  }
}

/* 打印订单 */
@media print {
  body {
    background: #fff;
  }

  .site-header,
  .announcement-bar,
  .site-footer,
  .mobile-tabbar,
  .checkout-top,
  .breadcrumb-wrap,
  .back-to-top,
  .flash-stack,
  .result-actions,
  .payment-card,
  .success-side,
  .lookup-aside,
  .lookup-card,
  .success-head .eyebrow,
  .success-head > p,
  .order-no-pill button,
  .copy-inline {
    display: none !important;
  }

  .section,
  .success-section {
    padding: 0;
  }

  .container,
  .success-layout {
    width: 100%;
    max-width: none;
    display: block;
  }

  .order-card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
