﻿:root {
  --bg: #f3f6ef;
  --surface: #ffffff;
  --surface-soft: #e9f0e4;
  --text: #1f2a1e;
  --muted: #667165;
  --line: rgba(31, 42, 30, 0.12);
  --green: #2f6b3f;
  --green-dark: #234b2f;
  --green-soft: #dcead9;
  --gold: #d3a94a;
  --shadow: 0 20px 40px rgba(31, 42, 30, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(47, 107, 63, 0.08), transparent 34%),
    linear-gradient(180deg, #eff4ea 0%, #f6f8f3 52%, #eef3e9 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    linear-gradient(90deg, rgba(13, 31, 20, 0.96), rgba(28, 68, 40, 0.9)),
    rgba(35, 75, 47, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(10, 24, 13, 0.14);
}

.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.auth-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-link.is-active,
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-parent::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-group {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  gap: 6px;
  min-width: 180px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 33, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(10, 24, 13, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown a {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.utility-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: #173320;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.utility-button:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 10px 18px rgba(10, 24, 13, 0.14);
}

.utility-button.outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.account-button:hover {
  background: #fff;
  color: var(--green-dark);
}

.badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #20c997;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31, 65, 38, 0.78), rgba(31, 65, 38, 0.78)),
    url("./assets/hero01-free-img.jpg") center/cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 26%);
  pointer-events: none;
}

.hero-inner {
  min-height: 700px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 90px 0 110px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero h1,
.section-head h2,
.about-copy h2,
.offer h2 {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}

.hero-copy {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--green-dark);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-tertiary {
  background: #eef4ea;
  color: var(--green-dark);
  border: 1px solid var(--line);
}

.benefits {
  padding: 36px 0 20px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-item {
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(31, 42, 30, 0.06);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 18px;
}

.benefit-item h2,
.section-head h2,
.about-copy h2,
.offer h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.benefit-item p,
.section-copy,
.about-copy p,
.promo-body p,
.testimonial-card p,
.footer-brand p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.products,
.about,
.promo,
.testimonials {
  padding: 92px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head.stacked {
  grid-template-columns: 1fr auto;
}

.section-head .section-copy {
  padding-bottom: 4px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #e2ebdd;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(47, 107, 63, 0.18);
  color: var(--green-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.product-meta strong {
  color: var(--green-dark);
  font-size: 1.1rem;
}

.product-meta span {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-card p {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  text-align: center;
}

.product-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.buy-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.buy-button:hover {
  background: var(--green-dark);
}

.buy-now-button {
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--green);
}

.buy-now-button:hover {
  background: #edf5e9;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(10, 24, 13, 0.58);
}

.product-detail-modal.is-open {
  display: grid;
}

.product-detail-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 24, 13, 0.3);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.product-detail-gallery {
  display: grid;
  gap: 12px;
}

.product-detail-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-soft);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.product-detail-thumbs button.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(52, 118, 59, 0.12);
}

.product-detail-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail-info {
  display: grid;
  gap: 16px;
  align-content: start;
}

.product-detail-info .eyebrow {
  margin: 0;
  color: var(--green);
}

.product-detail-info h2 {
  margin: -6px 0 0;
  color: var(--green-dark);
  font-size: 2rem;
}

.product-detail-price {
  color: var(--green-dark);
  font-size: 1.6rem;
}

.product-detail-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.product-detail-meta div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.product-detail-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.product-detail-meta dd {
  margin: 5px 0 0;
  color: var(--green-dark);
  font-weight: 700;
}

.product-detail-meta a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.product-detail-meta a:hover {
  text-decoration: underline;
}

.detail-actions {
  display: flex;
  gap: 10px;
}

.detail-actions .buy-button {
  flex: 1;
}

.buy-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.full {
  width: 100%;
}

.empty-state {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  justify-content: flex-end;
  background: rgba(9, 24, 13, 0.48);
}

.drawer-overlay.is-open {
  display: flex;
}

.drawer {
  width: min(460px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  background: #fff;
  box-shadow: -28px 0 60px rgba(10, 24, 13, 0.18);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 10px;
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--green-dark);
  font-size: 24px;
  cursor: pointer;
}

.drawer-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 22px 18px;
}

.drawer-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}

.drawer-tab.is-active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

.drawer-body {
  overflow: hidden;
  padding: 0 22px 22px;
}

.drawer-panel {
  display: none;
  height: 100%;
  overflow-y: auto;
  gap: 16px;
}

.drawer-panel.is-active {
  display: grid;
  align-content: start;
}

.drawer-tip {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.cart-row,
.order-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.order-row {
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.order-row:hover {
  border-color: rgba(47, 107, 63, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(29, 43, 31, 0.08);
}

.order-actions,
.order-row .order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.order-action-btn {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(47, 107, 63, 0.26);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.order-action-btn:hover {
  border-color: rgba(47, 107, 63, 0.48);
  background: #edf6ea;
}

.order-action-btn.danger {
  border-color: rgba(180, 35, 24, 0.2);
  color: #b42318;
}

.order-action-btn.danger:hover {
  border-color: rgba(180, 35, 24, 0.38);
  background: #fff1f0;
}

.user-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.user-pagination button {
  min-width: 36px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(35, 75, 47, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.user-pagination button.active {
  background: var(--green-dark);
  color: #fff;
}

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

.order-detail-section + .order-actions {
  margin-top: 18px;
  justify-content: flex-start;
}

.cart-row img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-info,
.order-row div {
  display: grid;
  gap: 4px;
}

.cart-info strong,
.order-row strong {
  color: var(--text);
}

.cart-info span,
.order-row span {
  color: var(--muted);
  font-size: 13px;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-actions button {
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}

.cart-actions .link-button {
  min-width: auto;
  padding: 0 8px;
  background: transparent;
  color: var(--green);
}

.order-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(10, 24, 13, 0.58);
}

.order-detail-modal.is-open {
  display: grid;
}

.order-detail-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 24, 13, 0.3);
}

.order-detail-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.order-detail-head p,
.order-detail-head h2 {
  margin: 0;
}

.order-detail-head p {
  color: var(--muted);
  font-weight: 800;
}

.order-detail-head h2 {
  padding-right: 42px;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.order-status-pill {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e2efdf;
  color: var(--green-dark);
  font-weight: 800;
}

.order-detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.order-detail-summary div,
.order-detail-items div {
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.order-detail-summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-detail-section h3 {
  margin: 0 0 12px;
}

.order-detail-items {
  display: grid;
  gap: 10px;
}

.order-detail-items div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.order-product-link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.order-product-link:hover {
  color: var(--green);
  text-decoration: underline;
}

.order-detail-items em {
  color: var(--muted);
  font-style: normal;
}

.product-lookup-dialog {
  width: min(860px, 100%);
}

.user-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.user-product-gallery {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-soft);
}

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

.user-product-info {
  display: grid;
  gap: 12px;
}

.user-product-info p,
.user-product-info h2 {
  margin: 0;
}

.user-product-info p {
  color: var(--muted);
  font-weight: 800;
}

.user-product-info h2 {
  padding-right: 42px;
  font-size: 26px;
}

.user-product-info strong {
  color: var(--green-dark);
  font-size: 24px;
}

.user-product-info span {
  color: var(--muted);
  line-height: 1.7;
}

.user-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.user-product-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.drawer-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.drawer-summary > div {
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  display: grid;
  gap: 6px;
}

.drawer-summary span {
  color: var(--muted);
  font-size: 13px;
}

.drawer-summary strong {
  font-size: 1.4rem;
  color: var(--green-dark);
}

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 700;
}

.settings-form .wide {
  grid-column: 1 / -1;
}

.balance-card {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  display: grid;
  gap: 10px;
}

.balance-card span {
  color: var(--muted);
  font-size: 13px;
}

.balance-card strong {
  font-size: 1.8rem;
  color: var(--green-dark);
}

.balance-recharge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.settings-form input,
.settings-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}


.auth-status-card,
.auth-form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.auth-status-card {
  display: grid;
  gap: 10px;
}

.auth-status-card span {
  color: var(--muted);
  font-size: 13px;
}

.auth-status-card strong,
.auth-form h2,
.auth-form h3 {
  margin: 0;
  color: var(--green-dark);
}

.auth-page-body {
  min-height: 100vh;
}

.auth-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 18px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(31, 65, 38, 0.78), rgba(31, 65, 38, 0.78)),
    url("./assets/hero01-free-img.jpg") center/cover no-repeat;
}

.auth-back-link {
  position: fixed;
  top: 24px;
  right: 28px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(18, 45, 28, 0.16);
}

.auth-card {
  width: min(460px, calc(100vw - 32px));
  padding: 22px 22px 20px;
  border: 1px solid rgba(35, 75, 47, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(18, 45, 28, 0.24);
}

.auth-card[data-mode="register"] {
  width: min(540px, calc(100vw - 32px));
}

.auth-card-head {
  margin-bottom: 12px;
}

.auth-card-head .eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  letter-spacing: 0.08em;
}

.auth-card h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.9rem;
  line-height: 1.1;
}

.auth-card-head p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-page-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(233, 240, 228, 0.72);
}

.auth-page-message {
  padding-top: 12px;
  text-align: center;
}

.auth-page-message[data-type="error"] {
  color: #b42318;
}

.auth-page-message[data-type="success"] {
  color: var(--green-dark);
}

.auth-screen {
  display: none;
}

.auth-screen.is-active {
  display: grid;
  gap: 8px;
}

.auth-card[data-mode="register"] .auth-screen.is-active {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 8px;
}

.auth-wide {
  grid-column: 1 / -1;
}

.auth-field {
  display: grid;
  gap: 5px;
  color: var(--green-dark);
  font-weight: 700;
}

.auth-field input,
.auth-password-wrap {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(35, 75, 47, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.auth-field input {
  padding: 0 16px;
  color: var(--text);
  font: inherit;
}

.auth-password-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.auth-password-wrap input {
  border: 0;
  background: transparent;
}

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

.auth-email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
  align-items: center;
}

.auth-code {
  min-height: 42px;
  border: 1px solid rgba(35, 75, 47, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(35, 75, 47, 0.12);
}

.auth-code:hover {
  background: #fff;
  border-color: rgba(35, 75, 47, 0.44);
}

.auth-send-code {
  min-height: 42px;
  border: 1px solid rgba(35, 75, 47, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(35, 75, 47, 0.12);
}

.auth-send-code:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.auth-eye-button,
.auth-text-button,
.auth-switch button {
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-eye-button {
  padding: 0 14px;
  color: var(--green-dark);
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.auth-submit {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(35, 75, 47, 0.2);
}

.auth-switch {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(35, 75, 47, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.user-page-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 10%, rgba(126, 167, 99, 0.16), transparent 28%),
    linear-gradient(180deg, #f3f7ef 0%, #eef4ea 42%, #f8faf5 100%);
}

.user-header-row {
  justify-content: space-between;
}

.user-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.user-main {
  padding: 34px 0 72px;
}

.user-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}

.user-card {
  border: 1px solid rgba(35, 75, 47, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(35, 75, 47, 0.08);
}

.user-profile-top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.user-profile-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
  padding: 20px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(240, 246, 236, 0.98), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(35, 75, 47, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.user-profile-sidebar::before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
}

.user-profile-sidebar .eyebrow {
  color: var(--green);
  margin: 8px 0 4px;
}

.user-profile-sidebar h1,
.user-card h2 {
  margin: 0;
  color: var(--green-dark);
}

.user-profile-sidebar h1 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.user-profile-sidebar > strong {
  color: var(--text);
  font-size: 1.12rem;
}

.user-profile-sidebar > span {
  color: var(--muted);
}

.user-balance-card {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid rgba(35, 75, 47, 0.08);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 241, 224, 0.95), rgba(246, 250, 243, 0.92));
}

.user-balance-card span {
  color: var(--muted);
  font-size: 13px;
}

.user-balance-card strong {
  color: var(--green-dark);
  font-size: 1.65rem;
}

.user-balance-card--inline {
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: 4px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}

.user-balance-card--inline .user-balance-row {
  margin-top: 0;
  min-width: 200px;
}

.user-content {
  display: grid;
  gap: 12px;
}

.user-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(35, 75, 47, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(35, 75, 47, 0.06);
}

.user-tab {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.user-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(126, 167, 99, 0.24);
}

.user-tab.is-active {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 10px 18px rgba(35, 75, 47, 0.18);
}

.user-tab.is-active:focus-visible {
  box-shadow:
    0 10px 18px rgba(35, 75, 47, 0.18),
    0 0 0 3px rgba(126, 167, 99, 0.3);
}

.user-panel {
  display: none;
}

.user-panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.user-panel[data-user-panel="orders"].is-active,
.user-panel[data-user-panel="security"].is-active {
  grid-template-columns: 1fr;
}

.user-card {
  padding: 20px;
}

.user-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 11px;
}

.user-profile-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 11px;
  align-content: start;
  padding-top: 4px;
}

.user-profile-fields > h2,
.user-profile-fields > .user-balance-row,
.user-profile-fields > .full,
.user-profile-fields > .form-message {
  grid-column: 1 / -1;
}

.user-profile-fields > h2 {
  margin: 0 0 2px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.user-form.compact {
  max-width: 460px;
  margin: 0 auto;
}

.user-panel[data-user-panel="security"] .user-form.compact {
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 auto;
}

.user-panel[data-user-panel="security"] .user-form.compact .full,
.user-panel[data-user-panel="security"] .user-form.compact .form-message,
.user-panel[data-user-panel="security"] .user-form.compact h2 {
  grid-column: 1 / -1;
}

.user-form h2,
.user-form .wide,
.user-form .full,
.user-form .form-message,
.user-balance-row {
  grid-column: 1 / -1;
}

.user-form h2,
.user-card h2 {
  padding-bottom: 4px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.user-form label {
  display: grid;
  gap: 5px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.user-form input,
.user-form select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(35, 75, 47, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.user-form input:focus,
.user-form select:focus {
  outline: none;
  border-color: rgba(35, 75, 47, 0.48);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(126, 167, 99, 0.14);
}

.user-balance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  align-items: center;
}

.user-balance-row .btn {
  min-height: 38px;
  padding: 0 12px;
}

.user-form .btn.full {
  min-height: 40px;
  border-radius: 12px;
}

.user-form .btn-primary {
  border: 0;
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 12px 22px rgba(35, 75, 47, 0.16);
}

.user-form .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(35, 75, 47, 0.2);
}

.user-balance-row .btn-tertiary {
  border: 1px solid rgba(35, 75, 47, 0.12);
  background: #e9f1e5;
  color: var(--green-dark);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 700;
}

.form-message[data-type="error"] {
  color: #b42318;
}

.form-message[data-type="success"] {
  color: var(--green-dark);
}

.toast-stack {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1200;
  display: grid;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
}

.toast {
  padding: 13px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(32, 50, 34, 0.12);
  box-shadow: 0 18px 38px rgba(32, 50, 34, 0.16);
  color: var(--green-dark);
  font-weight: 800;
  animation: toast-in 180ms ease-out;
}

.toast.success {
  border-left: 5px solid var(--green);
}

.toast.error {
  border-left: 5px solid #b42318;
  color: #b42318;
}

.toast.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.order-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  border-radius: 12px;
  background: rgba(248, 250, 245, 0.82);
}

.order-meta {
  text-align: right;
  display: grid;
  gap: 4px;
}

@media (max-width: 920px) {
  .header-row {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 5;
    width: 100%;
  }

  .header-actions {
    order: 4;
    width: auto;
  }

  .auth-entry {
    order: 3;
  }

  .account-button {
    min-width: 96px;
  }

  .header-actions .utility-button {
    justify-content: center;
  }

  .user-panel.is-active {
    grid-template-columns: 1fr;
  }

  .user-profile-top {
    grid-template-columns: 1fr;
  }

  .user-profile-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .drawer {
    width: 100%;
  }

  .auth-main {
    padding: 28px 12px;
  }

  .auth-back-link {
    position: static;
    justify-self: end;
    margin-bottom: 14px;
  }

  .auth-card {
    padding: 24px 18px;
    width: min(100%, 440px);
    border-radius: 22px;
  }

  .auth-card[data-mode="register"] .auth-screen.is-active {
    grid-template-columns: 1fr;
  }

  .user-main {
    padding: 22px 0 56px;
  }

  .user-header-actions {
    width: 100%;
  }

  .user-header-actions .utility-button {
    flex: 1;
    justify-content: center;
  }

  .user-tabs {
    grid-template-columns: 1fr;
  }

  .user-form {
    grid-template-columns: 1fr;
  }

  .user-profile-fields {
    grid-template-columns: 1fr;
  }

  .user-card,
  .user-profile-sidebar {
    padding: 18px;
  }

  .user-balance-row {
    grid-template-columns: 1fr;
  }

  .auth-wide {
    grid-column: auto;
  }

  .product-detail-modal {
    padding: 12px;
  }

  .product-detail-dialog {
    max-height: calc(100vh - 24px);
    padding: 22px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-detail-info h2 {
    font-size: 1.7rem;
  }

  .product-detail-meta {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    flex-direction: column;
  }

  .drawer-tabs {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 64px 1fr;
  }

  .cart-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .order-row {
    grid-template-columns: 1fr;
  }

  .order-meta {
    text-align: left;
  }

  .order-row .order-actions {
    justify-content: flex-start;
  }

  .balance-recharge {
    grid-template-columns: 1fr;
  }
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(10, 24, 13, 0.55);
}

.order-modal.is-open {
  display: grid;
}

.order-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 24, 13, 0.28);
}

.order-dialog .eyebrow {
  color: var(--green);
}

.order-dialog h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.selected-product {
  margin: 0 0 18px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

#order-form {
  display: grid;
  gap: 14px;
}

#order-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 700;
}

#order-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
}

#order-form button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.about-visuals {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr;
  gap: 18px;
  align-items: end;
}

.about-main,
.about-secondary {
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-main {
  min-height: 640px;
}

.about-secondary {
  min-height: 540px;
}

.about-copy h2 {
  margin-bottom: 16px;
}

.about-copy h3 {
  margin: 26px 0 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.5;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.social-row img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
}

.social-row a {
  font-weight: 700;
  color: var(--green-dark);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.promo-card {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 18px;
  align-items: stretch;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.promo-body {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.promo-body .eyebrow {
  color: var(--green);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer {
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(35, 75, 47, 0.95), rgba(47, 107, 63, 0.9)),
    url("./assets/hero01-free-img.jpg") center/cover no-repeat;
  color: #fff;
}

.offer-inner {
  max-width: 720px;
}

.offer .eyebrow,
.offer p {
  color: rgba(255, 255, 255, 0.78);
}

.offer h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.offer .btn {
  margin-top: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(31, 42, 30, 0.06);
}

.testimonial-card.large {
  grid-column: span 2;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-meta img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-meta span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.testimonial-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(10, 24, 13, 0.58);
}

.testimonial-modal.is-open {
  display: grid;
}

.testimonial-form {
  position: relative;
  width: min(760px, 100%);
  margin: 28px auto 0;
  padding: 24px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(31, 42, 30, 0.08);
}

.testimonial-form h3,
.testimonial-form p {
  margin: 0;
}

.testimonial-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.testimonial-form select,
.testimonial-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(35, 75, 47, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.testimonial-form textarea {
  resize: vertical;
}

.testimonial-form .btn {
  justify-self: auto;
}

.testimonial-form .secondary-button {
  justify-self: auto;
}

.testimonial-modal .testimonial-form {
  margin: 0;
}

.testimonial-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.testimonial-form-actions .btn,
.testimonial-form-actions .secondary-button {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}

.testimonial-form-actions .secondary-button {
  border: 1px solid rgba(35, 75, 47, 0.26);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
}

.testimonial-form-actions .secondary-button:hover {
  border-color: rgba(35, 75, 47, 0.48);
  background: #edf6ea;
}

.site-footer {
  background: var(--green-dark);
  color: #fff;
}

.footer-top {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    url("./assets/hero01-free-img.jpg") center/cover no-repeat;
  background-blend-mode: overlay;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 24px;
  padding: 56px 0;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 1.18rem;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.75);
}

.qr-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 8px 0 18px;
  padding: 6px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.qr-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .benefit-grid,
  .product-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .about-grid,
  .promo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card.large {
    grid-column: auto;
  }

  .about-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .header-row {
    min-height: 72px;
    gap: 10px;
  }

  .brand img {
    width: 142px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    width: auto;
    padding: 12px;
    border-radius: 18px;
    background: rgba(16, 35, 21, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(10, 24, 13, 0.28);
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .nav-group {
    display: grid;
    width: 100%;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin: 2px 0 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    padding: 6px;
    border-radius: 12px;
  }

  .nav-dropdown a {
    padding: 8px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
  }

  .auth-entry,
  .header-actions {
    width: 100%;
  }

  .account-button,
  .header-actions .utility-button {
    width: 100%;
  }

  .hero-inner {
    min-height: 620px;
    padding: 80px 0 90px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .benefit-grid,
  .product-grid,
  .testimonial-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .about-visuals {
    grid-template-columns: 1fr;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .section-head.stacked {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: min(100%, 320px);
  }

  .btn {
    width: 100%;
  }
}


