:root {
  --bg: #f6efe4;
  --bg-deep: #efe2cf;
  --panel: rgba(255, 250, 241, 0.82);
  --panel-strong: #fffdf9;
  --ink: #16130f;
  --muted: #6d6357;
  --accent: #194f46;
  --accent-soft: #2a7a6c;
  --accent-2: #c58a1a;
  --border: rgba(122, 91, 43, 0.14);
  --shadow: 0 22px 60px rgba(51, 33, 0, 0.09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 231, 194, 0.7), transparent 28%),
    radial-gradient(circle at top right, rgba(34, 108, 93, 0.16), transparent 30%),
    linear-gradient(180deg, #fbf7ef 0%, #f3eadc 52%, #efe0c8 100%);
  min-height: 100vh;
  position: relative;
}

.page-aura {
  position: fixed;
  z-index: 0;
  width: 34vw;
  height: 34vw;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.4;
  pointer-events: none;
}

.page-aura-left {
  top: -8vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(253, 226, 178, 0.95), rgba(253, 226, 178, 0));
}

.page-aura-right {
  top: 12vw;
  right: -12vw;
  background: radial-gradient(circle, rgba(39, 109, 95, 0.25), rgba(39, 109, 95, 0));
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 238, 0.72);
  border-bottom: 1px solid rgba(122, 91, 43, 0.08);
}

.site-footer {
  margin-top: 44px;
  padding: 28px 0 40px;
  background: rgba(255, 250, 242, 0.72);
  border-top: 1px solid rgba(122, 91, 43, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, #173f38, #2f8372);
  box-shadow: 0 10px 20px rgba(24, 79, 70, 0.18);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 25px;
  line-height: 1.1;
}

.brand-copy span {
  font-size: 12px;
  color: var(--muted);
}

.search-form,
.search-inline,
.inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-form {
  flex: 1 1 320px;
  max-width: 430px;
}

.search-form input,
.search-inline input {
  flex: 1 1 220px;
}

.main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  background: rgba(25, 79, 70, 0.08);
  transform: translateY(-1px);
}

.nav-icon,
.pill-icon,
.meta-dot,
.trust-icon {
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}

.nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(25, 79, 70, 0.12);
}

.icon-svg {
  display: inline-grid;
  place-items: center;
  width: 1em;
  height: 1em;
}

.icon-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

input,
textarea,
select,
button {
  font: inherit;
  border: 1px solid rgba(122, 91, 43, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
}

button,
.button-link,
.hero-primary-link {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 14px 24px rgba(25, 79, 70, 0.16);
}

textarea { min-height: 120px; width: 100%; }
input, select { min-width: 0; }

.main-body {
  padding: 30px 0 10px;
}

.hero-card,
.panel,
.detail-card,
.auth-card,
.checkout-summary-card,
.checkout-form-card,
.query-shell,
.hero-shell,
.feature-banner {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel,
.detail-card,
.auth-card,
.checkout-summary-card,
.checkout-form-card,
.query-shell,
.feature-banner {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.hero-shell {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  margin-bottom: 18px;
}

.hero-copy h1,
.section-head h2,
.panel h1,
.panel h2,
.detail-card h1,
.query-shell h1 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02;
}

.hero-copy p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-actions,
.hero-inline-points,
.feature-points {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 24px;
}

.hero-secondary-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.hero-summary-card {
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(249, 240, 226, 0.92)),
    radial-gradient(circle at top right, rgba(197, 138, 26, 0.08), transparent 40%);
  border: 1px solid rgba(122, 91, 43, 0.12);
  display: grid;
  gap: 16px;
}

.hero-summary-card strong,
.checkout-summary-card strong,
.detail-price {
  font-size: 26px;
  line-height: 1.2;
}

.hero-summary-card p,
.feature-banner p,
.checkout-note-card p,
.detail-meta-card span:last-child,
.footer-brand p,
.trust-item span,
.section-head p,
.summary-item-row span,
.summary-list span {
  color: var(--muted);
}

.summary-badge {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #7d5400;
  background: rgba(255, 227, 176, 0.65);
}

.hero-metrics,
.summary-list {
  display: grid;
  gap: 12px;
}

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

.hero-metrics div,
.summary-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(122, 91, 43, 0.08);
}

.hero-metrics span,
.summary-list span {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.trust-strip.compact {
  grid-template-columns: 1fr;
  margin: 0;
}

.trust-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid rgba(122, 91, 43, 0.12);
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.trust-icon,
.meta-dot,
.pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  font-size: 18px;
}

.trust-icon .icon-svg,
.payment-card-icon .icon-svg,
.nav-icon .icon-svg {
  width: 18px;
  height: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
}

.section-head.compact {
  margin-top: 0;
}

.section-head h2,
.section-head h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
}

.section-head p {
  max-width: 460px;
  margin: 0;
  line-height: 1.75;
}

.category-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(25, 79, 70, 0.08);
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
}

.pill-icon {
  background: rgba(255, 255, 255, 0.22);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.showcase-grid-simple {
  grid-template-columns: 1fr;
}

.feature-banner {
  display: grid;
  gap: 16px;
  align-content: start;
}

.feature-banner h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 1.2;
}

.feature-points span,
.hero-inline-points span,
.product-side-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.product-card {
  background: rgba(255, 251, 245, 0.8);
  border: 1px solid rgba(122, 91, 43, 0.12);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(51, 33, 0, 0.07);
  display: grid;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-badge-rail {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(25, 79, 70, 0.08);
  border: 1px solid rgba(25, 79, 70, 0.1);
}

.mini-badge-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: transparent;
}

.mini-badge-gold {
  color: #8b5c00;
  background: rgba(255, 226, 166, 0.74);
  border-color: rgba(197, 138, 26, 0.18);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(51, 33, 0, 0.1);
  border-color: rgba(25, 79, 70, 0.22);
}

.product-card a {
  color: inherit;
  text-decoration: none;
}

.product-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Songti SC", "STSong", serif;
  font-size: 56px;
  font-weight: 700;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.45), transparent 38%),
    linear-gradient(135deg, #ffe6b5, #d8a45b 52%, #bb7d12);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  color: rgba(22, 19, 15, 0.72);
}

.product-cover.large {
  min-height: 360px;
  font-size: 120px;
}

.product-cover-image,
.product-cover-placeholder,
.product-cover-sheen {
  position: absolute;
  inset: 0;
}

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

.product-cover-placeholder {
  display: grid;
  place-items: center;
  font-family: "Songti SC", "STSong", serif;
  font-size: inherit;
  font-weight: 700;
  color: rgba(22, 19, 15, 0.72);
}

.product-cover-sheen {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(0deg, rgba(17, 12, 8, 0.18), rgba(17, 12, 8, 0) 42%);
}

.product-cover-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 250, 240, 0.94);
  color: #9b6600;
  font-size: 14px;
  font-weight: 700;
}

.product-meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(122, 91, 43, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.meta-dot.warm {
  background: linear-gradient(135deg, #d68a0f, #f0b036);
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.price,
.detail-price {
  color: var(--accent-2);
  font-weight: 700;
}

.price { font-size: 26px; }

.detail-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.detail-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
}

.detail-hero p {
  margin: 12px 0 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.detail-showcase-card,
.detail-buy-card {
  position: relative;
}

.buy-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-meta-grid {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.detail-meta-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 91, 43, 0.1);
}

.detail-meta-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.detail-meta-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.detail-meta-icon.tint-blue {
  background: linear-gradient(135deg, #225fe0, #60a5fa);
}

.detail-meta-icon.tint-amber {
  background: linear-gradient(135deg, #d68a0f, #f4c04d);
}

.stack-form { display: grid; gap: 14px; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.rich-text p { line-height: 1.85; }
.prose-panel { padding-top: 18px; }

.checkout-shell,
.cart-shell {
  display: grid;
  gap: 18px;
}

.checkout-grid,
.cart-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.checkout-form-card {
  align-content: start;
}

.checkout-contact-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 91, 43, 0.1);
}

.checkout-field-group {
  display: grid;
  gap: 8px;
}

.checkout-field-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.checkout-field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.payment-methods {
  display: grid;
  gap: 12px;
}

.payment-methods-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(122, 91, 43, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.payment-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(51, 33, 0, 0.08);
}

.payment-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  flex: 0 0 auto;
}

.payment-card-copy { display: grid; gap: 4px; }
.payment-card-copy strong { font-size: 18px; }
.payment-card-copy span { color: var(--muted); font-size: 14px; }

.payment-card-alipay .payment-card-icon {
  background: linear-gradient(135deg, #1677ff, #49a6ff);
}

.payment-card-wxpay .payment-card-icon {
  background: linear-gradient(135deg, #18b45b, #48d17c);
}

.payment-option input:checked + .payment-card {
  border-color: rgba(25, 79, 70, 0.35);
  box-shadow: 0 0 0 3px rgba(25, 79, 70, 0.1);
}

.checkout-note-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(122, 91, 43, 0.1);
}

.checkout-note-card strong {
  display: block;
  margin-bottom: 8px;
}

.cart-note-card {
  margin-top: 2px;
}

.cart-checkout-form {
  display: grid;
  gap: 12px;
}

.cart-checkout-button {
  width: 100%;
}

.summary-divider {
  height: 1px;
  background: rgba(122, 91, 43, 0.12);
  margin: 2px 0;
}

.summary-items {
  display: grid;
  gap: 12px;
}

.summary-item-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(122, 91, 43, 0.08);
}

.summary-item-row:last-child {
  border-bottom: none;
}

.summary-item-row strong {
  display: block;
  font-size: 15px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgba(122, 91, 43, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.status-unpaid,
.status-pending_payment,
.status-not_started {
  color: #9b6700;
  background: rgba(255, 235, 194, 0.82);
}

.status-paid,
.status-delivered {
  color: #0f6b56;
  background: rgba(220, 246, 233, 0.9);
}

.status-delivery_pending,
.status-pending_manual {
  color: #9a5a00;
  background: rgba(255, 238, 212, 0.9);
}

.status-delivery_failed,
.status-cancelled,
.status-expired,
.status-failed,
.status-closed {
  color: #a72828;
  background: rgba(253, 229, 229, 0.92);
}

.pay-submit {
  width: 100%;
  min-height: 58px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 18px;
}

.query-shell {
  margin-bottom: 18px;
}

.order-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.service-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(122, 91, 43, 0.1);
}

.service-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.service-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.search-hero-form input {
  min-height: 52px;
}

.search-hero-form button {
  min-width: 140px;
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.progress-node {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(122, 91, 43, 0.1);
  background: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 8px;
}

.progress-node span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(25, 79, 70, 0.45);
}

.progress-node.done {
  border-color: rgba(25, 79, 70, 0.18);
}

.progress-node.done span {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
}

.order-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.delivery-box {
  margin-top: 16px;
  padding: 18px;
  background: rgba(255, 246, 225, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(197, 138, 26, 0.18);
}

.delivery-box pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.cart-table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.table th,
.table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(122, 91, 43, 0.1);
  text-align: left;
  vertical-align: top;
}

.empty-state {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.empty-state strong {
  font-size: 22px;
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.flash {
  padding: 12px 14px;
  border-radius: 14px;
}

.flash-success,
.flash-info {
  background: #def7ec;
  color: #065f46;
}

.flash-danger,
.flash-warning {
  background: #fde8e8;
  color: #9b1c1c;
}

.auth-card {
  max-width: 560px;
  margin: 0 auto;
}

.auth-form-grid {
  gap: 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
}

.auth-inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.auth-inline-row input {
  min-width: 0;
  width: 100%;
}

.captcha-row {
  align-items: stretch;
}

.captcha {
  height: 42px;
  border: 1px solid rgba(122, 91, 43, 0.14);
  border-radius: 10px;
  background: #fff;
}

.captcha-trigger {
  width: 120px;
  min-width: 120px;
  object-fit: cover;
  cursor: pointer;
}

.captcha-hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.terms-line {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.terms-line input {
  margin-top: 3px;
}

.terms-line span {
  line-height: 1.8;
}

.auth-links {
  margin: 18px 0 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.footer-brand p {
  margin: 0;
}

.footer-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  border: 1px solid rgba(122, 91, 43, 0.08);
}

.admin-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #18342e;
  color: #fff;
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.admin-sidebar a {
  color: #d8f3eb;
  text-decoration: none;
}

.admin-main { padding: 24px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.metric-card { background: var(--panel-strong); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.metric-card strong { display: block; font-size: 36px; margin-top: 12px; }
.inline-admin-form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-order-form { min-width: 280px; }
.admin-order-form textarea { min-height: 96px; }
.admin-order-delivery pre {
  white-space: pre-wrap;
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
  .hero-shell,
  .showcase-grid,
  .detail-layout,
  .checkout-grid,
  .cart-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .trust-strip,
  .order-summary-grid,
  .order-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-body { padding-top: 20px; }
  .brand-copy strong { font-size: 22px; }
  .header-row { align-items: stretch; }
  .search-form { max-width: none; }
  .hero-summary-card,
  .trust-strip,
  .feature-banner {
    display: none;
  }
  .payment-method-grid,
  .admin-body,
  .order-progress {
    grid-template-columns: 1fr;
  }
  .auth-inline-row {
    grid-template-columns: 1fr;
  }
  .captcha-trigger {
    width: 100%;
    min-width: 0;
    max-width: 180px;
  }
  .section-head,
  .detail-hero,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }
  .product-card-bottom,
  .buy-card-top {
    align-items: flex-start;
  }
}
