/* Standzen · 松绿练功室，不是庙堂金蓝 */
:root {
  --pine: #2c4a3c;
  --pine-deep: #16241d;
  --moss: #4d6b58;
  --clay: #c9a36a;
  --clay-deep: #a7844a;
  --bone: #f2ece1;
  --bone-deep: #e6dccb;
  --white: #fbf8f2;
  --ink: #1b1914;
  --muted: #5e5a52;
  --line: rgba(27, 25, 20, 0.12);
  --danger: #8d3b32;
  --shadow: 0 16px 40px rgba(22, 36, 29, 0.1);
  --radius: 10px;
  --font-display: "Source Serif 4", "Noto Serif SC", "Noto Serif TC", Georgia, serif;
  --font-body: "Outfit", "Noto Sans SC", "Noto Sans TC", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(80% 50% at 0% 0%, rgba(77, 107, 88, 0.12), transparent 55%),
    radial-gradient(70% 40% at 100% 0%, rgba(201, 163, 106, 0.12), transparent 50%),
    var(--bone);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
}
html[data-lang="cn"] .en-only,
html[data-lang="tw"] .en-only { display: none !important; }
html[data-lang="cn"] body { font-family: "Noto Sans SC", var(--font-body); }
html[data-lang="tw"] body { font-family: "Noto Sans TC", var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-alt { background: rgba(255, 252, 247, 0.55); }
.section-kicker {
  display: block; text-align: center; letter-spacing: 0.28em;
  font-size: 0.72rem; text-transform: uppercase; color: var(--clay-deep);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  text-align: center; margin-bottom: 0.45rem; font-weight: 600;
}
.section-subtitle {
  text-align: center; color: var(--muted); max-width: 36rem;
  margin: 0 auto 2.2rem; font-size: 0.95rem;
}
.pine-rule {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  color: var(--moss); letter-spacing: 0.4em; font-size: 0.8rem; margin-bottom: 1rem;
}
.pine-rule::before, .pine-rule::after {
  content: ""; width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--clay), transparent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.55rem 1.15rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: 0.92rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-deep); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-clay { background: var(--clay); color: var(--pine-deep); }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(242, 236, 225, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1120px, calc(100% - 2rem)); margin: 0 auto;
  height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; min-width: 0; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-short { display: none; }
.nav-links { display: flex; gap: 1.05rem; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: var(--pine); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-select, .currency-select {
  border: 1px solid var(--line); background: var(--white); border-radius: 8px;
  padding: 0.32rem 0.4rem; font-size: 0.78rem; color: var(--ink);
}
.cart-btn {
  position: relative; width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  border-radius: 99px; background: var(--danger); color: #fff;
  font-size: 0.65rem; font-weight: 700; display: none; align-items: center; justify-content: center;
}
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--white); flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--pine); }
.lang-in-menu, .currency-in-menu { display: none; }

.hero-home {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem;
  width: min(1120px, calc(100% - 2rem)); margin: 2.4rem auto 1rem; align-items: center;
}
.hero-badge {
  display: inline-block; letter-spacing: 0.16em; font-size: 0.72rem;
  color: var(--moss); text-transform: uppercase; margin-bottom: 0.7rem;
}
.hero-copy h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em; line-height: 1.05;
}
.hero-slogan {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0.7rem 0 0.5rem; color: var(--pine);
}
.hero-copy p { color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; gap: 0.7rem; margin-top: 1.3rem; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: 460px; object-fit: cover; object-position: center 18%;
  border-radius: 18px; box-shadow: var(--shadow);
}
.hero-caption {
  position: absolute; left: 1rem; bottom: 1rem; color: #fff;
  background: rgba(22, 36, 29, 0.55); padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.78rem;
}

.trust-bar { padding: 1.4rem 0 0.4rem; }
.trust-grid {
  width: min(1120px, calc(100% - 2rem)); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--pine); }
.trust-item span { color: var(--muted); font-size: 0.82rem; }

.category-grid, .process-grid, .reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.category-card, .process-card, .review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  cursor: pointer;
}
.category-photo { height: 160px; overflow: hidden; position: relative; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; }
.category-photo span {
  position: absolute; right: 0.7rem; bottom: 0.5rem;
  font-family: var(--font-display); font-size: 2rem; color: rgba(255,255,255,0.85);
}
.category-body { padding: 0.9rem 1rem 1.1rem; }
.category-body h3 { font-size: 1.05rem; }
.category-body p { color: var(--muted); font-size: 0.86rem; }
.category-count { display: inline-block; margin-top: 0.4rem; font-size: 0.75rem; color: var(--clay-deep); }
.process-card, .review-card { padding: 1.2rem; cursor: default; }
.process-num { font-family: var(--font-display); color: var(--clay-deep); font-size: 1.3rem; }

.product-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.product-image { aspect-ratio: 4/3; overflow: hidden; background: var(--bone-deep); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; left: 0.6rem; top: 0.6rem; background: var(--pine); color: #fff;
  font-size: 0.68rem; padding: 0.15rem 0.45rem; border-radius: 99px;
}
.product-image { position: relative; }
.product-info { padding: 0.8rem 0.9rem 0.3rem; }
.product-title { font-weight: 650; font-size: 0.95rem; line-height: 1.35; }
.product-desc { color: var(--muted); font-size: 0.8rem; margin-top: 0.3rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; padding: 0.55rem 0.85rem 0.9rem; gap: 0.4rem; }
.product-btn {
  width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--pine);
  color: #fff; font-size: 1.2rem; cursor: pointer;
}

.price-fx { position: relative; display: inline-flex; }
.price-fx-toggle {
  border: 0; background: none; cursor: pointer; display: flex; align-items: center; gap: 0.2rem;
  color: var(--pine); font-weight: 700;
}
.price-fx-menu {
  display: none; position: absolute; z-index: 20; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  min-width: 200px; padding: 0.35rem; box-shadow: var(--shadow);
}
.price-fx.open .price-fx-menu { display: grid; }
.price-fx-opt {
  display: flex; justify-content: space-between; gap: 1rem; border: 0; background: none;
  padding: 0.45rem 0.55rem; cursor: pointer; border-radius: 7px; font-size: 0.82rem;
}
.price-fx-opt.active, .price-fx-opt:hover { background: var(--bone); }
.price-fx-lg .product-price { font-size: 1.45rem; }

.filter-bar { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.shop-panel {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 0.4rem 0.9rem; cursor: pointer; font-size: 0.85rem;
}
.shop-panel.active { background: var(--pine); color: #fff; border-color: var(--pine); }

.page-hero { padding: 2.6rem 0 1rem; text-align: center; }
.product-detail {
  width: min(1120px, calc(100% - 2rem)); margin: 0 auto 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}
.product-detail-image img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }
.product-detail-info h1 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.6rem; }
.product-meta { margin: 1.1rem 0; }
.product-meta-item { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.product-meta-item .label { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; }
.add-to-cart { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.related-wrap { padding: 2rem 0 4rem; }
.related-wrap .container, .related-wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.cart-section { width: min(760px, calc(100% - 2rem)); margin: 2rem auto 4rem; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 0.8rem; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
}
.cart-item-image img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-item-remove { border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--muted); }
.cart-summary { margin: 1rem 0 1.4rem; }
.cart-summary-row, .cart-summary-total { display: flex; justify-content: space-between; padding: 0.3rem 0; }
.cart-summary-total { font-weight: 700; font-size: 1.1rem; }
.checkout-box, .form-grid, .contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem;
}
.form-field { margin-bottom: 0.85rem; }
.form-field label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.25rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 0.62rem 0.75rem;
  background: var(--white); font-size: 16px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.form-hint { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.8rem; }
.checkout-block { margin: 1rem 0; padding-top: 0.4rem; }

.gallery-portraits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
}
.gallery-portraits a { position: relative; overflow: hidden; border-radius: 12px; }
.gallery-portraits img { width: 100%; height: 220px; object-fit: cover; }
.gallery-caption {
  position: absolute; left: 0.6rem; bottom: 0.5rem; color: #fff; font-size: 0.8rem;
}
.master-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center; }
.master-portrait img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }
.master-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.9rem 0 1.1rem; }
.master-tag { border: 1px solid var(--line); border-radius: 99px; padding: 0.25rem 0.7rem; font-size: 0.78rem; background: var(--white); }

.cta-banner {
  margin: 2rem auto 0; width: min(1120px, calc(100% - 2rem));
  background: var(--pine-deep); color: #fff; border-radius: 18px; padding: 2.4rem 1.5rem; text-align: center;
}
.cta-banner p { color: rgba(255,255,255,0.75); margin: 0.4rem 0 1.1rem; }

.footer { background: var(--pine-deep); color: #efe8d8; padding: 2.6rem 0 1.4rem; margin-top: 2rem; }
.footer-grid {
  width: min(1120px, calc(100% - 2rem)); margin: 0 auto 1.4rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.4rem;
}
.footer a, .footer-link-btn { display: block; color: rgba(239,232,216,0.82); font-size: 0.88rem; margin: 0.25rem 0; background: none; border: 0; cursor: pointer; text-align: left; }
.footer h4 { margin-bottom: 0.5rem; color: var(--clay); font-size: 0.8rem; letter-spacing: 0.12em; }
.footer-bottom { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; color: rgba(239,232,216,0.65); }

.faq-item { border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.faq-item button { width: 100%; text-align: left; background: none; border: 0; font-size: 1rem; cursor: pointer; font-weight: 600; }
.faq-item p { color: var(--muted); padding-top: 0.4rem; display: none; }
.faq-item.open p { display: block; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; }
.success-card { width: min(560px, calc(100% - 2rem)); margin: 3rem auto; text-align: center; background: var(--white); padding: 2rem; border-radius: 16px; border: 1px solid var(--line); }
.order-id { font-family: var(--font-display); margin: 0.8rem 0; color: var(--pine); }
.legal-doc { width: min(760px, calc(100% - 2rem)); margin: 2rem auto 4rem; }
.legal-doc h2 { margin: 1.2rem 0 0.4rem; font-size: 1.05rem; }
.legal-note, .legal-meta { color: var(--muted); font-size: 0.85rem; }

.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  background: var(--pine-deep); color: #fff; padding: 0.55rem 1rem; border-radius: 99px;
  font-size: 0.85rem; z-index: 80; display: none;
}
.cookie-bar {
  position: fixed; left: 0.8rem; right: 0.8rem; bottom: 0.8rem; z-index: 70;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.9rem 1rem; box-shadow: var(--shadow); display: none;
}
.about-layout { width: min(760px, calc(100% - 2rem)); margin: 0 auto; }
.about-portrait img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 1rem; }
.not-tao {
  margin-top: 1.4rem; padding: 1rem; border-left: 3px solid var(--clay); background: var(--white);
}

.m-mall { display: none; }
.level-chips { display: grid; grid-template-columns: 1fr; gap: 0.45rem; margin: 0.7rem 0; }
.level-chip {
  border: 1px solid var(--line); background: var(--white); border-radius: 12px;
  padding: 0.7rem 0.8rem; text-align: left; cursor: pointer;
}
.level-chip.active { border-color: var(--pine); background: #eef4ef; }
.level-chip strong { display: block; }
.level-chip span { color: var(--muted); font-size: 0.8rem; }

@media (max-width: 860px) {
  .hero-home, .trust-bar, .pc-home-only { display: none !important; }
  .m-mall { display: block; padding-bottom: 4.5rem; }
  .m-portraits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem; padding: 0.65rem 0.7rem 0.2rem; }
  .m-portraits a { display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: 8px; }
  .m-portraits img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  .m-level {
    margin: 0.65rem 0.7rem; background: var(--white); border: 1px solid var(--line);
    border-radius: 14px; padding: 0.95rem 0.9rem;
  }
  .m-mall-head {
    position: relative; overflow: hidden; margin-top: 0.4rem;
    padding: 1.2rem 1.1rem; background: linear-gradient(160deg, #16241d, #2c4a3c); color: #fff;
  }
  .m-mall-kicker { display: block; letter-spacing: 0.32em; font-size: 0.68rem; color: var(--clay); }
  .m-mall-head h2 { font-family: var(--font-display); letter-spacing: 0.28em; }
  .m-mall-head p { color: rgba(255,255,255,0.78); font-size: 0.8rem; max-width: 80%; }
  .m-mall-seal { position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%); font-size: 4rem; opacity: 0.12; }
  .nav-inner { height: 56px; }
  .nav-logo-full,
  .nav-logo-short,
  .en-only,
  .latin-brand,
  .m-mall-kicker { display: none !important; }
  html[data-lang="enUS"] [data-i18n="footer.brand"],
  html[data-lang="enGB"] [data-i18n="footer.brand"],
  html[data-lang="enUS"] [data-i18n="footer.copyright"],
  html[data-lang="enGB"] [data-i18n="footer.copyright"] { display: none !important; }
  .nav-links {
    display: none; position: fixed; inset: 56px 0 auto 0; background: var(--bone);
    padding: 0.8rem 1rem 1.2rem; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-actions .lang-select, .nav-actions .currency-select { display: none; }
  .lang-in-menu, .currency-in-menu { display: block; width: 100%; margin: 0.25rem 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.55rem; }
  .product-desc { display: none; }
  .category-grid, .process-grid, .reviews-grid, .gallery-portraits, .trust-grid, .master-section, .product-detail, .contact-grid, .footer-grid, .form-row-2 {
    grid-template-columns: 1fr;
  }
  .hero-visual img, .master-portrait img, .product-detail-image img { height: 280px; }
}
