:root {
  --front-bg: #f4ede1;
  --front-bg-soft: #fbf7f0;
  --front-paper: rgba(255, 251, 245, 0.92);
  --front-paper-strong: #fffdf9;
  --front-ink: #241913;
  --front-text: #4f4037;
  --front-muted: #827164;
  --front-gold: #af7d3c;
  --front-gold-soft: #e9d3af;
  --front-red: #7d2f27;
  --front-red-soft: rgba(125, 47, 39, 0.08);
  --front-line: rgba(112, 83, 53, 0.14);
  --front-shadow: 0 18px 48px rgba(61, 43, 32, 0.12);
  --front-radius-xl: 28px;
  --front-radius-lg: 22px;
  --front-radius-md: 18px;
  --front-radius-sm: 14px;
  --front-width: 760px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--front-text);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "PingFang SC", serif;
  background:
    radial-gradient(circle at top left, rgba(176, 124, 63, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(125, 47, 39, 0.14), transparent 28%),
    linear-gradient(180deg, #f7f0e3 0%, #f2eadf 32%, #f9f5ef 100%);
}

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

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

[v-cloak] {
  display: none;
}

.front-page {
  max-width: var(--front-width);
  margin: 0 auto;
  padding: 14px 14px 96px;
}

.front-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 2px 6px;
}

.front-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.front-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--front-red) 0%, #a45f2a 100%);
  color: #fff;
  font-size: 18px;
  letter-spacing: 3px;
  box-shadow: 0 10px 24px rgba(125, 47, 39, 0.18);
}

.front-brand-text {
  min-width: 0;
}

.front-brand-title {
  color: var(--front-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.front-brand-subtitle {
  margin-top: 4px;
  color: var(--front-muted);
  font-size: 12px;
}

.front-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--front-radius-xl);
  background: linear-gradient(135deg, #2f241f 0%, #6b3e2a 46%, #9f7b4d 100%);
  box-shadow: var(--front-shadow);
}

.front-hero .van-swipe {
  overflow: hidden;
  border-radius: inherit;
}

.front-hero-slide {
  position: relative;
  aspect-ratio: 5 / 6;
  min-height: 320px;
}

.front-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 12, 9, 0.05) 0%, rgba(17, 12, 9, 0.72) 88%);
}

.front-hero-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff9ef;
}

.front-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 245, 225, 0.14);
  color: #f9e3bc;
  font-size: 12px;
  letter-spacing: 1px;
}

.front-hero-title {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.front-hero-desc {
  margin: 12px 0 0;
  max-width: 580px;
  color: rgba(255, 248, 236, 0.86);
  font-size: 14px;
  line-height: 1.9;
}

.front-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.front-btn,
.front-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.front-btn {
  background: #fff2d9;
  color: #603a1f;
}

.front-btn-secondary {
  background: rgba(255, 245, 230, 0.12);
  color: #fff7eb;
  border: 1px solid rgba(255, 239, 211, 0.28);
}

.front-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--front-radius-lg);
  background: var(--front-paper);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--front-shadow);
  backdrop-filter: blur(10px);
}

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

.front-section-title {
  color: var(--front-ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.front-section-title small {
  display: block;
  margin-top: 6px;
  color: var(--front-muted);
  font-size: 12px;
  font-weight: 500;
}

.front-section-link {
  color: var(--front-red);
  font-size: 13px;
  font-weight: 600;
}

.front-ornament {
  width: 52px;
  height: 1px;
  position: relative;
  background: linear-gradient(90deg, transparent, rgba(175, 125, 60, 0.7), transparent);
}

.front-ornament::before,
.front-ornament::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--front-gold);
}

.front-ornament::before {
  left: 9px;
}

.front-ornament::after {
  right: 9px;
}

.front-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.front-entry-item {
  padding: 16px 14px;
  border-radius: var(--front-radius-md);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(245, 235, 220, 0.92));
  border: 1px solid var(--front-line);
}

.front-entry-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(125, 47, 39, 0.08);
}

.front-entry-title {
  color: var(--front-ink);
  font-size: 15px;
  font-weight: 700;
}

.front-entry-desc {
  margin-top: 6px;
  color: var(--front-muted);
  font-size: 12px;
  line-height: 1.7;
}

.front-story {
  display: grid;
  gap: 14px;
}

.front-story-copy {
  color: var(--front-text);
  font-size: 15px;
  line-height: 2;
  text-align: justify;
}

.front-story-quote {
  padding: 14px 16px;
  border-left: 3px solid var(--front-gold);
  border-radius: 0 var(--front-radius-sm) var(--front-radius-sm) 0;
  background: rgba(175, 125, 60, 0.07);
  color: var(--front-muted);
  font-size: 13px;
  line-height: 1.9;
}

.front-gallery-grid,
.front-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.front-product-card,
.front-news-card {
  overflow: hidden;
  border-radius: var(--front-radius-md);
  background: var(--front-paper-strong);
  border: 1px solid var(--front-line);
}

.front-product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #efe5d8;
}

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

.front-product-body {
  padding: 14px 14px 16px;
}

.front-product-title {
  color: var(--front-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.front-product-meta {
  margin-top: 8px;
  color: var(--front-muted);
  font-size: 12px;
}

.front-news-list {
  display: grid;
  gap: 12px;
}

.front-news-card {
  padding: 14px;
}

.front-news-card-cover {
  overflow: hidden;
  border-radius: var(--front-radius-sm);
  aspect-ratio: 16 / 9;
  background: #efe6db;
  margin-bottom: 12px;
}

.front-news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-news-title {
  color: var(--front-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.front-news-excerpt {
  margin-top: 8px;
  color: var(--front-text);
  font-size: 13px;
  line-height: 1.85;
}

.front-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: var(--front-muted);
  font-size: 12px;
}

.front-contact {
  display: grid;
  gap: 12px;
}

.front-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--front-radius-sm);
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid var(--front-line);
}

.front-contact-mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--front-red-soft);
  color: var(--front-red);
  font-size: 14px;
}

.front-contact-label {
  color: var(--front-muted);
  font-size: 12px;
}

.front-contact-value {
  margin-top: 4px;
  color: var(--front-ink);
  font-size: 14px;
  line-height: 1.7;
}

.front-filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
}

.front-chip {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 47, 39, 0.12);
  background: rgba(255, 252, 247, 0.78);
  color: var(--front-muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.front-chip.active {
  background: var(--front-red);
  color: #fff7ec;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(125, 47, 39, 0.18);
}

.front-search {
  margin-bottom: 14px;
}

.front-search .van-search {
  padding: 0;
  background: transparent;
}

.front-search .van-search__content {
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid var(--front-line);
}

.front-empty {
  padding: 40px 0;
}

.front-rich {
  color: var(--front-text);
  font-size: 16px;
  line-height: 2;
  word-break: break-word;
}

.front-rich p,
.front-rich h1,
.front-rich h2,
.front-rich h3,
.front-rich h4,
.front-rich ul,
.front-rich ol,
.front-rich blockquote {
  margin: 0 0 14px;
}

.front-rich h1,
.front-rich h2,
.front-rich h3,
.front-rich h4 {
  color: var(--front-ink);
  line-height: 1.5;
}

.front-rich img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 18px 0;
}

.front-rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.front-rich td,
.front-rich th {
  padding: 10px;
  border: 1px solid var(--front-line);
}

.front-article-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--front-radius-xl);
  padding: 26px 18px 22px;
  background:
    linear-gradient(140deg, rgba(36, 25, 19, 0.92), rgba(114, 69, 43, 0.88)),
    linear-gradient(180deg, #3d2b21 0%, #7f5533 100%);
  color: #fff8ee;
}

.front-article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 240, 214, 0.14);
  color: #f6d8a4;
  font-size: 12px;
}

.front-article-title {
  margin: 14px 0 0;
  font-size: 28px;
  line-height: 1.35;
  color: #fff;
}

.front-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: rgba(255, 245, 228, 0.78);
  font-size: 12px;
}

.front-detail-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--front-radius-lg);
  background: var(--front-paper);
  box-shadow: var(--front-shadow);
}

.front-gallery-panel {
  overflow: hidden;
  border-radius: var(--front-radius-lg);
}

.front-gallery-panel .van-swipe-item {
  aspect-ratio: 1 / 1;
}

.front-gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.front-detail-meta {
  padding: 12px 14px;
  border-radius: var(--front-radius-sm);
  background: rgba(255, 251, 244, 0.94);
  border: 1px solid var(--front-line);
}

.front-detail-meta label {
  display: block;
  color: var(--front-muted);
  font-size: 12px;
}

.front-detail-meta strong {
  display: block;
  margin-top: 6px;
  color: var(--front-ink);
  font-size: 14px;
  line-height: 1.6;
}

.front-footer-note {
  margin-top: 20px;
  color: var(--front-muted);
  font-size: 12px;
  text-align: center;
}

.front-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 12;
  width: calc(100% - 24px);
  max-width: calc(var(--front-width) - 24px);
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 999px;
  background: rgba(31, 23, 18, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 38px rgba(17, 12, 9, 0.24);
}

.front-dock-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.front-dock-item {
  min-height: 52px;
  border-radius: 999px;
  color: rgba(255, 247, 234, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.front-dock-item .van-icon {
  margin-bottom: 4px;
  font-size: 20px;
}

.front-dock-item.active {
  background: linear-gradient(135deg, rgba(255, 239, 209, 0.18), rgba(175, 125, 60, 0.32));
  color: #fff7ea;
}

@media (min-width: 768px) {
  .front-page {
    padding-top: 20px;
  }

  .front-hero-slide {
    aspect-ratio: 16 / 11;
  }

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