* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #f6f2ec;
  font-family: 'Montserrat', sans-serif;
  color: #1e1a17;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 3rem;
}

/* 顶栏 */
.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(180, 160, 140, 0.25);
}
.logo-wrapper { display: flex; align-items: center; gap: 1rem; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem; font-weight: 600; color: #1e1a17;
  line-height: 1.1; letter-spacing: 0.04em;
}
.slogan-badge {
  background: transparent; padding: 0.5rem 0.2rem;
  font-size: 0.85rem; font-weight: 400; color: #8f7a68;
  letter-spacing: 0.15em; border-left: 2px solid #cbb7a6;
  padding-left: 1.2rem; text-transform: uppercase;
  white-space: nowrap;
}

/* ===== 主菜单 (与首页一致) ===== */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  flex-wrap: wrap;
}
.primary-menu li { display: flex; align-items: center; }
.primary-menu li a {
  display: inline-block;
  color: #5a4f46;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
  transition: all 0.25s ease;
  position: relative;
}
.primary-menu li a:hover {
  color: #1e1a17;
  background: rgba(203, 183, 166, 0.18);
}
.primary-menu li a.current-menu-item,
.primary-menu li a[aria-current="page"] {
  color: #8f7a68;
  font-weight: 500;
}
.primary-menu li a.current-menu-item::after,
.primary-menu li a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 16px;
  height: 1px;
  background: #b09b87;
  transform: translateX(-50%);
}
.primary-menu li + li::before {
  content: "·";
  color: #d8ccc0;
  margin-right: 0.4rem;
  font-size: 0.9rem;
  line-height: 1;
}
.primary-menu li + li a { margin-left: 0.2rem; }

/* 页面主标题 */
.page-header {
  text-align: center; max-width: 760px;
  margin: 3.5rem auto 4rem auto;
}
.page-eyebrow {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: #b09b87; font-weight: 500;
  margin-bottom: 1.5rem; position: relative; padding: 0 1.5rem;
}
.page-eyebrow::before, .page-eyebrow::after {
  content: ""; position: absolute; top: 50%;
  width: 28px; height: 1px; background: #d8ccc0;
}
.page-eyebrow::before { left: -10px; }
.page-eyebrow::after  { right: -10px; }
.page-header h1 {
  font-size: 2.8rem; line-height: 1.3; margin-bottom: 1rem;
  font-weight: 500; color: #1e1a17; letter-spacing: 0.02em;
}
.page-header h1 .accent { color: #8f7a68; font-style: italic; font-weight: 400; }
.page-header .subhead {
  font-size: 0.95rem; color: #5a4f46; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* 故事区块 */
.brand-story {
  display: flex; flex-wrap: wrap; gap: 4rem;
  margin: 3rem 0 5rem 0; align-items: center;
}
.story-left { flex: 1 1 380px; }
.story-left h2 {
  font-size: 2.2rem; margin-bottom: 1.2rem;
  font-weight: 500; line-height: 1.3;
}
.story-left h2 .accent { color: #8f7a68; font-style: italic; }
.story-left p {
  font-size: 1rem; color: #5a4f46; font-weight: 300;
  line-height: 2; margin-bottom: 1.5rem;
}
.story-left .quote-line {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-weight: 500; color: #6b5d50; letter-spacing: 0.04em;
  border-left: 3px solid #cbb7a6; padding-left: 1.5rem;
  margin-top: 2rem; line-height: 1.6;
}

/* 品牌故事：三段式排版 */
.story-lead { margin-bottom: 1.6rem; }

.story-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #6b5d50;
  padding: 1rem 0 1rem 1.2rem;
  border-left: 2px solid #d8ccc0;
  margin: 0 0 1.6rem 0;
}
.story-categories .cat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b09b87;
  margin-right: 0.3rem;
}

.story-close {
  font-size: 1rem;
  color: #5a4f46;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 0;
}
.story-close strong {
  color: #8f7a68;
  font-weight: 500;
}

/* 右侧释义卡片 */
.story-right {
  flex: 1 1 320px; display: flex; flex-direction: column; gap: 1.6rem;
  background: #ffffff; padding: 2.6rem 2.4rem;
  border: 1px solid #ede5dd;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  justify-content: center;
}
.story-right .brand-def {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
}
.story-right .brand-def .char {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: #1e1a17;
  line-height: 1;
  flex-shrink: 0;
  min-width: 1.2em;
  text-align: center;
}
.story-right .brand-def .meaning {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #8f7a68;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.story-right hr {
  border: none;
  border-top: 1px solid rgba(180, 160, 140, 0.25);
  margin: 0.2rem 0;
}
.story-right .story-bullets {
  font-size: 0.88rem;
  color: #7f6e5f;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.9;
}
.story-right .story-bullets i {
  color: #b09b87;
  margin-right: 7px;
  font-size: 0.72rem;
}

/* 优势 */
.advantages { margin: 5rem 0 4rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 0.5rem; font-weight: 500; }
.section-title p {
  color: #9b8a7a; font-size: 0.9rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 300;
}
.adv-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 2rem;
}
.adv-card {
  background: #ffffff; padding: 2rem 1.5rem;
  border: 1px solid #ede5dd; text-align: center;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex; flex-direction: column; align-items: center;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.08);
  border-color: #cbb7a6;
}
.adv-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: #f3ede7; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem;
  color: #8f7a68; font-size: 1.5rem;
}
.adv-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  font-weight: 600; color: #1e1a17; margin-bottom: 0.5rem; letter-spacing: 0.04em;
}
.adv-card p { font-size: 0.85rem; color: #7f6e5f; line-height: 1.7; font-weight: 300; }

/* 全品类 */
.product-categories { margin: 5rem 0 4rem 0; }
.product-categories h2 {
  text-align: center; font-size: 2.5rem; margin-bottom: 0.5rem;
  font-weight: 500; color: #1e1a17;
}
.product-categories .sub-cat-desc {
  text-align: center; color: #9b8a7a; margin-bottom: 2.5rem;
  font-weight: 300; font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase;
}

/* 地图区域 */
.map-section {
  margin: 4rem 0 2rem 0;
  display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center;
  background: #ffffff; border: 1px solid #ede5dd;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.03);
  padding: 2.5rem 3rem; border-radius: 2px;
}
.map-text { flex: 1 1 300px; }
.map-text h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem;
  font-weight: 500; margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.map-text h3 i { color: #b09b87; font-size: 1.6rem; }
.map-text p {
  font-size: 0.95rem; color: #5a4f46; font-weight: 300;
  line-height: 1.9; margin-bottom: 0.6rem;
}
.map-text .address-highlight {
  font-weight: 400; color: #1e1a17; background: #f6f2ec;
  padding: 0.2rem 0.8rem; display: inline-block;
  margin: 0.3rem 0 1rem 0; letter-spacing: 0.03em;
}
.map-text .visit-note {
  font-size: 0.85rem; color: #8f7a68; font-style: italic;
  margin-top: 1.2rem; border-top: 1px solid #e2d8cf; padding-top: 1.2rem;
}

/* 地图操作提示 */
.map-text .map-tip {
  font-size: 0.78rem;
  color: #9b8a7a;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-top: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.map-text .map-tip i {
  color: #b09b87;
  font-size: 0.72rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.map-image-wrapper {
  flex: 1 1 380px;
  display: flex; justify-content: center; align-items: center;
  background: #f6f2ec; border: 1px solid #e2d8cf;
  padding: 0.8rem; min-height: 220px;
  overflow: hidden; position: relative;
  cursor: grab; user-select: none; -webkit-user-select: none;
  overscroll-behavior: contain;
  touch-action: none;
}
.map-image-wrapper.grabbing { cursor: grabbing; }
.map-image-wrapper img {
  width: 100%; height: auto; display: block; object-fit: cover;
  transition: transform 0.15s ease-out;
  transform-origin: center center; transform: scale(1);
  will-change: transform;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
.map-zoom-hint {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(43, 37, 32, 0.6); color: #f3ede7;
  font-size: 0.65rem; letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem; border-radius: 20px;
  backdrop-filter: blur(4px); pointer-events: none;
  opacity: 0.85; display: none; align-items: center; gap: 0.35rem;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.map-image-wrapper:hover .map-zoom-hint { opacity: 1; }
.map-zoom-hint i { font-size: 0.6rem; }
.map-placeholder {
  width: 100%; min-height: 200px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #a09080;
  font-size: 0.85rem; letter-spacing: 0.1em; gap: 0.5rem;
}
.map-placeholder i { font-size: 2rem; color: #cbb7a6; }

/* 底部 */
.footer {
  margin-top: 6rem; padding-top: 3rem;
  border-top: 1px solid rgba(180, 160, 140, 0.25);
  text-align: center; font-size: 0.85rem; color: #5a4f46;
}
.footer-nav {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
  gap: 0.6rem 1.2rem; margin-bottom: 2rem;
}
.footer-nav li { list-style: none; display: flex; align-items: center; }
.footer-nav li a {
  color: #5a4f46; text-decoration: none; font-size: 0.85rem;
  font-weight: 400; letter-spacing: 0.04em;
  transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 0.35rem;
}
.footer-nav li a:hover { color: #1e1a17; }
.footer-nav li a i { font-size: 0.65rem; color: #b09b87; }
.footer-nav .divider {
  width: 1px; height: 12px; background: #d8ccc0;
  display: inline-block; margin: 0 0.2rem;
}
.footer-info {
  margin-bottom: 1.6rem; display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
}
.footer-info p {
  margin: 0; font-size: 0.82rem; color: #5a4f46;
  letter-spacing: 0.04em; display: flex; align-items: center;
  gap: 0.45rem; flex-wrap: wrap; justify-content: center;
}
.footer-info i { color: #b09b87; font-size: 0.75rem; }
.footer-icp a { color: #5a4f46; text-decoration: none; transition: color 0.2s ease; }
.footer-icp a:hover { color: #1e1a17; text-decoration: underline; }
.footer-copyright {
  font-size: 0.7rem; color: #a89888; letter-spacing: 0.08em; font-weight: 300;
}

/* 返回顶部 */
.back-to-top {
  position: fixed; right: 28px; bottom: 32px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(180, 160, 140, 0.4);
  background: rgba(246, 242, 236, 0.9); color: #5a4f46;
  font-size: 0.95rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -8px rgba(43, 37, 32, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #1e1a17; color: #f6f2ec; border-color: #1e1a17; }
.back-to-top:active { transform: translateY(1px) scale(0.97); }

/* 地图全屏预览弹层 */
.map-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(30, 26, 23, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 1.2rem; backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s ease;
}
.map-lightbox.open { display: flex; opacity: 1; }
.map-lightbox img {
  max-width: 100%; max-height: 90vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
}
.map-lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12); color: #f6f2ec;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(4px);
}
.map-lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .container { padding: 2rem 2rem; }
  .page-header h1 { font-size: 2.3rem; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .map-section { padding: 2rem; }
  .story-right .brand-def .char { font-size: 2.9rem; }
  .story-right .brand-def .meaning { font-size: 1.45rem; }
}

@media (max-width: 768px) {
  .container { padding: 1.5rem 1.5rem; }
  .brand-bar {
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
  }

  /* 手机端菜单：放大字号，增强层次感 */
  .primary-nav {
	width: 100%;
	justify-content: flex-start;
  }
  .primary-menu {
	gap: 0.2rem 0.4rem;
	width: 100%;
  }
  .primary-menu li a {
	font-size: 0.9rem;
	padding: 0.5rem 0.8rem;
	letter-spacing: 0.1em;
	font-weight: 500;
  }
  .primary-menu li a.current-menu-item,
  .primary-menu li a[aria-current="page"] {
	font-weight: 600;
  }
  .primary-menu li a.current-menu-item::after,
  .primary-menu li a[aria-current="page"]::after {
	width: 20px;
	height: 2px;
	bottom: 0.2rem;
  }
  .primary-menu li + li::before {
	font-size: 1rem;
	margin-right: 0.15rem;
	color: #d2c4b6;
  }
  .primary-menu li + li a {
	margin-left: 0;
  }

  .page-header { margin: 2.5rem auto 2.5rem auto; }
  .page-header h1 { font-size: 2rem; }
  .page-header .subhead { font-size: 0.8rem; }
  .brand-story { gap: 2rem; }
  .story-left h2 { font-size: 1.8rem; }
  .story-right { padding: 2rem 1.8rem; gap: 1.4rem; }
  .story-right .brand-def { gap: 0.9rem; }
  .story-right .brand-def .char { font-size: 2.6rem; }
  .story-right .brand-def .meaning { font-size: 1.3rem; }
  .adv-card h3 { font-size: 1.3rem; }
  .product-categories h2 { font-size: 1.9rem; }

  /* 手机端地图专项优化 */
  .map-section {
	flex-direction: column;
	padding: 1.6rem 1.2rem 1.4rem;
	gap: 1.4rem;
  }
  .map-text { width: 100%; }
  .map-text h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
  .map-text p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 0.4rem; }
  .map-text .address-highlight { font-size: 0.88rem; margin: 0.2rem 0 0.8rem 0; }
  .map-text .visit-note { margin-top: 1rem; padding-top: 1rem; font-size: 0.8rem; }
  .map-text .map-tip { font-size: 0.74rem; margin-top: 0.7rem; }

  .map-image-wrapper {
	width: 100%;
	flex: none;
	padding: 0;
	border: none;
	background: transparent;
	min-height: auto;
	border-radius: 2px;
	cursor: pointer;
	touch-action: pan-y;
  }
  .map-image-wrapper.grabbing { cursor: pointer; }
  .map-image-wrapper img {
	border-radius: 2px;
	box-shadow: 0 8px 24px -10px rgba(43, 37, 32, 0.25);
  }
  .map-zoom-hint { display: none !important; }

  .footer-nav { flex-wrap: wrap; gap: 0.5rem 0.8rem; }
  .footer-nav li a { font-size: 0.78rem; }

  .back-to-top { right: 18px; bottom: 22px; width: 42px; height: 42px; }
}

@media (max-width: 580px) {
  .page-header h1 { font-size: 1.7rem; }
  .page-eyebrow { font-size: 0.65rem; letter-spacing: 0.25em; }
  .brand-name { font-size: 1.7rem; }

  .primary-menu li a {
	font-size: 0.86rem;
	padding: 0.45rem 0.65rem;
	letter-spacing: 0.08em;
  }

  .adv-grid { grid-template-columns: 1fr; }
  .story-left .quote-line { font-size: 1.1rem; }
  .story-right { padding: 1.6rem 1.3rem; }
  .story-right .brand-def .char { font-size: 2.2rem; }
  .story-right .brand-def .meaning { font-size: 1.15rem; }
  .story-right .story-bullets { font-size: 0.8rem; }
  .product-categories h2 { font-size: 1.55rem; }
  .product-categories .sub-cat-desc { font-size: 0.72rem; }
  .map-text h3 { font-size: 1.5rem; }
  .map-text .map-tip { font-size: 0.72rem; }

  .map-section { padding: 1.3rem 1rem 1.2rem; }

  .back-to-top { right: 14px; bottom: 18px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
  .map-image-wrapper img { transition: none; }
}
