:root {
  --ink: #25312b;
  --muted: #66736d;
  --line: #dfe6df;
  --soft: #f6f8f2;
  --panel: #ffffff;
  --brand: #1f6f4a;
  --brand-dark: #164c37;
  --gold: #e5a935;
  --coral: #c96f45;
  --nav: #20382f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
}

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.button.strong {
  min-height: 46px;
  padding: 0 20px;
  background: #d94424;
  border-color: #d94424;
  box-shadow: 0 10px 24px rgba(217, 68, 36, 0.24);
}

.button.ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
}

.hero {
  color: #ffffff;
}

.retail-hero {
  background:
    linear-gradient(115deg, rgba(31, 111, 74, 0.95), rgba(201, 111, 69, 0.72)),
    linear-gradient(45deg, #1f6f4a, #c96f45);
}

.pay-hero {
  background:
    linear-gradient(115deg, rgba(24, 92, 62, 0.95), rgba(217, 68, 36, 0.78)),
    linear-gradient(45deg, #185c3e, #d94424);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 24px 62px;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

h1 {
  margin: 20px 0 18px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.page-title {
  color: var(--ink);
  font-size: 34px;
  margin-top: 14px;
}

.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-visual {
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 80px rgba(20, 35, 28, 0.22);
}

.photo-panel {
  padding: 12px;
  overflow: hidden;
}

.photo-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 336px;
  object-fit: cover;
  border-radius: 7px;
}

.pay-visual {
  position: relative;
}

.hero-payment-panel {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: min(260px, calc(100% - 52px));
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(24, 38, 32, 0.24);
}

.hero-payment-panel strong,
.hero-payment-panel small {
  display: block;
}

.hero-payment-panel small {
  color: var(--muted);
}

.payment-badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffe7df;
  color: #b9361c;
  font-size: 12px;
  font-weight: 800;
}

.amount,
.summary-amount {
  margin: 8px 0 2px;
  color: #d94424;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
}

.section {
  padding: 68px 24px;
}

.section.compact {
  padding: 28px 24px 0;
}

.section.alt {
  background: var(--soft);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.status-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 22px;
}

.status-panel.light {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(38, 49, 43, 0.08);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.status-panel.light .status-row {
  display: block;
  padding: 4px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.status-panel.light .status-row:last-child {
  border-right: 0;
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row span:first-child {
  color: rgba(255, 255, 255, 0.72);
}

.status-row span:last-child {
  font-weight: 700;
}

.status-panel.light .status-row span {
  display: block;
}

.status-panel.light .status-row span:first-child {
  color: var(--muted);
  font-size: 13px;
}

.status-panel.light .status-row span:last-child {
  margin-top: 4px;
  color: var(--ink);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.section-title p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  position: relative;
  overflow: hidden;
}

.featured-product {
  display: flex;
  flex-direction: column;
}

.featured-product .button {
  margin-top: auto;
}

.featured-product.highlight {
  border-color: rgba(217, 68, 36, 0.42);
  box-shadow: 0 18px 54px rgba(217, 68, 36, 0.12);
}

.product-photo {
  display: block;
  width: 100%;
  height: 156px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.detail-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 8px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.price {
  font-size: 34px;
  font-weight: 800;
  margin: 12px 0 4px;
}

.price small {
  font-size: 14px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e9f4ed;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.tag.green {
  background: #e7f3ff;
  color: #2563a6;
}

.tag.orange {
  background: #fff4e5;
  color: var(--coral);
}

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

.order-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.checkout-callout,
.payment-summary {
  border-color: rgba(217, 68, 36, 0.34);
  box-shadow: 0 18px 50px rgba(38, 49, 43, 0.08);
}

.summary-pay-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-line.total {
  border-bottom: 0;
  font-weight: 800;
  font-size: 20px;
}

.notice {
  padding: 14px 16px;
  border: 1px solid #f3d19e;
  background: #fff9eb;
  border-radius: 8px;
  color: #6b450f;
}

.pay-section {
  padding-top: 44px;
}

.payment-main {
  padding: 26px;
}

.payment-photo {
  height: 260px;
}

.payment-methods {
  margin: 24px 0 18px;
}

.payment-methods h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.pay-method.primary-pay {
  border-color: rgba(217, 68, 36, 0.42);
  background: #fff7f3;
}

.pay-method strong,
.pay-method small {
  display: block;
}

.pay-method small {
  color: var(--muted);
}

.pay-method b {
  color: #d94424;
  font-size: 22px;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.policy {
  max-width: 860px;
}

.policy h2 {
  margin-top: 0;
}

.policy h3 {
  margin-top: 28px;
}

.policy p,
.policy li {
  color: var(--muted);
}

.site-footer {
  background: var(--nav);
  color: rgba(255, 255, 255, 0.84);
  padding: 34px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .status-panel.light {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-panel.light .status-row:nth-child(2) {
    border-right: 0;
  }

  .status-panel.light .status-row:nth-child(1),
  .status-panel.light .status-row:nth-child(2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }

  .status-panel.light .status-row:nth-child(3),
  .status-panel.light .status-row:nth-child(4) {
    padding-top: 14px;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .checkout,
  .grid.three,
  .grid.two,
  .support-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }

  .section-title {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 12px 16px;
  }

  .hero-inner,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-visual {
    min-height: 300px;
    padding: 18px;
  }

  .photo-panel img {
    min-height: 260px;
  }

  .button {
    width: 100%;
  }

  .hero-payment-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .pay-method {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-panel.light {
    grid-template-columns: 1fr;
  }

  .status-panel.light .status-row {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 4px;
  }

  .status-panel.light .status-row:last-child {
    border-bottom: 0;
  }
}
