/**
 * 老街味道 — 特色餐饮主题样式
 * 暖橙 (#E07A2F) + 红 (#C0392B) + 米白 + 木色
 * 大圆角 · 暖色卡片 · 市井烟火气
 * 纯原生 CSS，无框架依赖
 * ★ 依赖: Font Awesome 6, Swiper, AOS
 * ★ 字体: Noto Serif SC (标题) + Noto Sans SC (正文)
 */

/* Google Fonts: 思源宋体(标题) + 思源黑体(正文) */


/* ============================================================
   CSS 变量体系 — 暖色调
   ============================================================ */
:root {
  /* 主色系 — 暖橙+红 */
  --orange: #E07A2F;
  --orange-light: #F0A050;
  --orange-dark: #C5651A;
  --orange-dim: rgba(224, 122, 47, 0.12);
  --orange-glow: rgba(224, 122, 47, 0.25);
  --red: #C0392B;
  --red-light: #D44637;
  --red-dim: rgba(192, 57, 43, 0.10);

  /* 基底色 — 米白暖调 */
  --cream: #FFF8F0;
  --cream-dark: #FFF0E0;
  --bg-body: #FFFCF8;
  --bg-section: #FFF8F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF5EB;
  --bg-input: #FFFCF8;

  /* 木色系 */
  --wood: #8B6914;
  --wood-light: #C49A6C;
  --wood-pale: #E8D5B4;
  --wood-bg: rgba(139, 105, 20, 0.06);

  /* 暖渐变色 */
  --gradient-warm: linear-gradient(135deg, #E07A2F, #C0392B);
  --gradient-gold: linear-gradient(135deg, #E07A2F, #F0C050);
  --gradient-card: linear-gradient(180deg, #FFFCF8 0%, #FFF5EB 100%);

  /* 文字色阶 */
  --text-primary: #2D1810;
  --text-secondary: #6B4A3A;
  --text-muted: #A0826E;
  --text-on-dark: #FFF8F0;
  --text-on-dark-muted: rgba(255, 248, 240, 0.7);

  /* 边框 */
  --border-subtle: rgba(139, 105, 20, 0.12);
  --border-warm: rgba(224, 122, 47, 0.25);
  --border-wood: rgba(139, 105, 20, 0.2);

  /* 阴影 — 暖调 */
  --shadow-sm: 0 2px 8px rgba(139, 105, 20, 0.06);
  --shadow-md: 0 4px 20px rgba(139, 105, 20, 0.10);
  --shadow-lg: 0 8px 40px rgba(139, 105, 20, 0.12);
  --shadow-card: 0 2px 16px rgba(139, 105, 20, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(224, 122, 47, 0.15);
  --shadow-btn: 0 4px 16px rgba(224, 122, 47, 0.3);

  /* 圆角 — 大圆角亲切感 */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* 间距 */
  --section-py: 88px;
  --container-max: 1200px;
  --header-h: 70px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* 字体 — 思源宋体(标题) + 思源黑体(正文) */
  --font-heading: 'Noto Serif SC', 'PingFang SC', 'STSong', 'SimSun', 'Microsoft YaHei', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   全局重置 & 基础
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--bg-body);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

/* 木纹纹理背景 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139,105,20,0.008) 2px, rgba(139,105,20,0.008) 4px),
    linear-gradient(180deg, #FFFCF8 0%, #FFF8F0 50%, #FFF3E6 100%);
  pointer-events: none;
}

::selection { background: rgba(224, 122, 47, 0.2); color: var(--text-primary); }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--wood-pale); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--wood-light); }

a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit; font-size: inherit;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 1; }

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }

/* 暖色段落背景交替 */
.section--warm {
  background: var(--bg-section);
  position: relative;
}
.section--warm::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-dim), var(--orange), var(--orange-dim), transparent);
}

/* ============================================================
   Header 头部 — 暖色半透背景
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}
.header.scrolled {
  background: rgba(255, 252, 248, 0.98);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}
.header__logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.header__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}
.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  font-weight: 500;
}

/* 主导航 */
.header__nav { display: flex; align-items: center; gap: 2px; }
.header__nav-link {
  padding: 8px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--orange);
  background: var(--orange-dim);
}

/* 导航下拉 */
.header__nav-item { position: relative; }
.header__nav-item:hover .header__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.header__dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 160px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}
.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}
.header__dropdown a:hover { color: var(--orange); background: var(--orange-dim); }

/* Header 右侧操作区 */
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: 20px; }
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--gradient-warm);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}
.header__cta:hover {
  color: #fff;
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

/* ============================================================
   汉堡菜单 (移动端)
   ============================================================ */
.hamburger {
  display: none;
  position: fixed;
  right: 12px; top: 14px;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  background: rgba(255,252,248,0.9); border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 80%; max-width: 340px;
  background: rgba(255, 252, 248, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__inner { padding: 24px; padding-top: 80px; }
.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--duration-fast);
}
.mobile-nav__link:hover { color: var(--orange); background: var(--orange-dim); }
.mobile-nav__sub { padding-left: 16px; display: none; }
.mobile-nav__sub.open { display: block; }
.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}
.mobile-nav__sub a:hover { color: var(--orange); }
.mobile-nav__overlay {
  position: fixed; inset: 0;
  background: rgba(45, 24, 16, 0.4);
  z-index: 115;
  opacity: 0; pointer-events: none;
  transition: opacity var(--duration-normal);
}
.mobile-nav__overlay.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #C0392B, #E07A2F, #8B6914);
}
.inner-banner__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.45;
}
.inner-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,24,16,0.5) 0%, rgba(45,24,16,0.3) 50%, rgba(45,24,16,0.7) 100%);
}
.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.inner-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.inner-banner__subtitle {
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
}

/* 面包屑 */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 0.65rem; color: var(--text-muted); }

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--gradient-warm);
  color: #fff;
}
.btn--primary:hover {
  box-shadow: var(--shadow-btn);
  transform: translateY(-2px);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn--outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: var(--wood-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  background: var(--orange-dim);
  color: var(--orange);
  border-color: var(--orange);
}

/* ============================================================
   卡片系统 — 暖色大圆角
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream);
}
.card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.card:hover .card__image img { transform: scale(1.08); }

/* 角标 */
.card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  background: var(--gradient-warm);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 2;
  letter-spacing: 0.04em;
}
.card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.card__meta i { color: var(--orange); font-size: 0.75rem; }
.card__price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 8px;
}
.card__price small { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }

/* Warm card variant */
.card--warm {
  background: var(--gradient-card);
  border-color: var(--border-wood);
}

/* ============================================================
   Hero Banner — 暖色美食轮播
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 850px;
  overflow: hidden;
  margin-top: 0;
  padding-top: var(--header-h);
}
.hero .swiper {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg,
    rgba(45,24,16,0.15) 0%,
    rgba(45,24,16,0.05) 30%,
    rgba(45,24,16,0.6) 75%,
    rgba(45,24,16,0.85) 100%);
}
.hero__content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px; padding-right: 24px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  max-width: 700px;
  letter-spacing: 0.05em;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 560px;
}
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero__actions .btn--outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.hero__actions .btn--outline:hover {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}

/* Hero 分页器 */
.hero-pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.hero-pagination .swiper-pagination-bullet {
  width: 36px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: all var(--duration-normal);
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 56px;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem; letter-spacing: 0.15em;
  animation: scrollFloat 2s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--orange), transparent);
}
@keyframes scrollFloat {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   首页 — 区块标题居中
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* ============================================================
   首页 — 招牌必点 (大卡片)
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.featured-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.featured-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.featured-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.featured-card:hover .featured-card__image img { transform: scale(1.08); }
.featured-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 16px;
  background: var(--gradient-warm);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 2;
}
.featured-card__body {
  padding: 24px;
  text-align: center;
}
.featured-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.featured-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.featured-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--duration-fast);
}
.featured-card__link:hover { gap: 10px; }

/* ============================================================
   首页 — 老字号故事 (左图右文)
   ============================================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.story-image::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(224, 122, 47, 0.08);
  pointer-events: none;
}
.story-image__year {
  position: absolute;
  bottom: 20px; right: 20px;
  padding: 8px 18px;
  background: var(--gradient-warm);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 2;
  letter-spacing: 0.06em;
}
.story-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.story-text p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.95rem;
}

/* ============================================================
   首页 — 美食分类 (4列图标卡片)
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}
.category-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.category-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--orange);
  transition: all var(--duration-normal);
}
.category-card:hover .category-card__icon {
  background: var(--gradient-warm);
  color: #fff;
  transform: scale(1.08);
  box-shadow: var(--shadow-btn);
}
.category-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.category-card__count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   首页 — 食客评价
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal);
}
.review-card:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-card-hover);
}
.review-card__stars {
  color: #F0C050;
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1rem;
  font-weight: 600;
}
.review-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.review-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   首页 — 活动优惠
   ============================================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promo-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: var(--orange-dim);
  border-radius: 50%;
}
.promo-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.promo-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  position: relative;
}
.promo-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.promo-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   首页 — 食记 (左图右文列表)
   ============================================================ */
.food-notes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.food-note-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal);
  align-items: flex-start;
  min-height: 140px;
}
.food-note-item:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-card-hover);
}
.food-note-item__thumb {
  width: 100px; height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}
.food-note-item__thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.food-note-item__info { flex: 1; min-width: 0; }
.food-note-item__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.food-note-item__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.food-note-item__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* ============================================================
   首页 — CTA 区域
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0 100px;
  position: relative;
  background: var(--gradient-warm);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
  color: #fff;
  position: relative;
}
.cta-section .section-tag { color: rgba(255,255,255,0.8); }
.cta-section .section-tag::before { background: rgba(255,255,255,0.5); }
.cta-section p { color: rgba(255,255,255,0.8); }
.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
}
.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 500;
}
.cta-feature i { font-size: 1.1rem; }
.cta-section .btn--primary {
  background: #fff;
  color: var(--orange);
  font-size: 1rem;
  padding: 15px 36px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.cta-section .btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* ============================================================
   Footer — 暖色底部
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #2D1810 0%, #1A0C08 100%);
  border-top: 3px solid var(--orange);
  color: var(--text-on-dark-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px; padding-right: 24px;
}
.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0;
  color: var(--text-on-dark-muted);
}
.footer__social {
  display: flex; gap: 10px;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center; justify-content: center;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  transition: all var(--duration-fast);
}
.footer__social a:hover { background: var(--orange); color: #fff; }
.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast);
}
.footer__links a:hover { color: var(--orange); }
.footer__contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
}
.footer__contact-item i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.footer__qrcode {
  width: 110px; height: 110px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 0.7rem; color: #999;
}

/* 友情链接 */
.friend-links {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  padding: 16px 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px; padding-right: 24px;
}
.friend-links__label {
  font-size: 0.82rem; color: var(--text-on-dark-muted); flex-shrink: 0;
}
.friend-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}
.friend-links a:hover { color: var(--orange); }

/* 底部版权 */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 8px;
}
.footer__bottom-inner a { color: rgba(255,255,255,0.4); }
.footer__bottom-inner a:hover { color: var(--orange); }

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 20px; bottom: 80px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0; pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ============================================================
   在线客服按钮
   ============================================================ */
.service-btn {
  position: fixed;
  right: 20px; bottom: 136px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: #fff;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 80;
  box-shadow: 0 4px 20px rgba(224, 122, 47, 0.4);
  transition: all var(--duration-normal);
  animation: servicePulse 2s ease-in-out infinite;
}
@keyframes servicePulse {
  0%,100% { box-shadow: 0 4px 20px rgba(224,122,47,0.4); }
  50% { box-shadow: 0 4px 32px rgba(224,122,47,0.7); }
}
.service-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(224,122,47,0.6);
}

/* ============================================================
   列表页 — 网格布局
   ============================================================ */
.list-header { text-align: center; margin-bottom: 40px; }
.list-header h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }

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

/* 子栏目过滤栏 */
.filter-bar {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 32px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar a {
  display: inline-flex;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--duration-fast);
  flex-shrink: 0;
}
.filter-bar a:hover,
.filter-bar a.active {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

/* 侧边栏+内容的列表布局 */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.page-content { min-width: 0; }

/* 侧边栏 */
.sidebar {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  align-self: flex-start;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar__title {
  padding: 20px 24px;
  background: var(--gradient-warm);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}
.sidebar__title p { font-size: 0.75rem; font-weight: 400; opacity: 0.8; margin-top: 4px; }
.sidebar__nav a {
  display: block;
  padding: 14px 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
  font-weight: 500;
}
.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--orange);
  background: var(--orange-dim);
  padding-left: 28px;
}

/* ============================================================
   详情页
   ============================================================ */
.detail { max-width: 900px; margin: 0 auto; }

/* 详情大图 */
.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.detail__header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.detail__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}
.detail__meta-row {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 0.85rem; color: var(--text-muted);
}
.detail__meta-row i { margin-right: 4px; color: var(--orange); }

/* 详情参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.detail__param {
  padding: 18px 14px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: center;
}
.detail__param-label {
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px;
}
.detail__param-value {
  font-size: 0.95rem; font-weight: 600; color: var(--text-primary);
}

/* 详情正文 */
.detail__body {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
}
.detail__body img { border-radius: var(--radius-md); margin: 20px 0; max-width: 100%; }
.detail__body p { margin-bottom: 16px; }
.detail__body h2,.detail__body h3,.detail__body h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 28px; margin-bottom: 14px;
}

/* Tab 切换 */
.detail-tabs {
  display: flex; gap: 4px;
  border-bottom: 2px solid var(--border-subtle);
  margin-bottom: 28px;
  overflow-x: auto;
}
.detail-tabs button {
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none; border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--duration-fast);
  white-space: nowrap;
  font-family: var(--font-body);
}
.detail-tabs button.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem; color: var(--text-muted);
}
.detail__pager a { color: var(--text-secondary); transition: color var(--duration-fast); }
.detail__pager a:hover { color: var(--orange); }

/* 相关推荐 */
.related-title {
  font-size: 1.35rem; font-weight: 700;
  margin: 56px 0 24px;
  color: var(--text-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   联系我们页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  transition: all var(--duration-fast);
}
.contact-info__item:hover { border-color: var(--border-warm); }
.contact-info__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info__label {
  font-size: 0.8rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px;
}
.contact-info__value { font-size: 0.88rem; color: var(--text-secondary); }

/* 联系表单 */
.contact-form-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 6px;
  font-weight: 500;
}
.form-group label .required { color: var(--red); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A0826E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ============================================================
   点餐页
   ============================================================ */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}
.order-menu { display: flex; flex-direction: column; gap: 12px; }
.order-item {
  display: flex; gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast);
  align-items: center;
}
.order-item:hover { border-color: var(--border-warm); }
.order-item__thumb {
  width: 100px; height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}
.order-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-item__info { flex: 1; }
.order-item__title {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 4px;
}
.order-item__desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.order-item__price {
  font-size: 1.15rem; font-weight: 700; color: var(--red);
}
.order-item__add {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--duration-fast);
  display: flex; align-items: center; justify-content: center;
}
.order-item__add:hover { transform: scale(1.1); box-shadow: var(--shadow-btn); }

/* 购物车侧栏 */
.order-cart {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  align-self: flex-start;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.order-cart__title {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}
.order-cart__item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}
.order-cart__total {
  display: flex; justify-content: space-between;
  padding: 16px 0;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-primary);
}
.order-cart__total .price { color: var(--red); }
.order-cart .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ============================================================
   搜索页
   ============================================================ */
.search-box { max-width: 700px; margin: 0 auto; }
.search-form-row { display: flex; gap: 10px; }
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap i {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.search-form-row input {
  flex: 1;
  width: 100%;
  padding: 15px 20px;
  padding-left: 44px;
  background: #fff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--duration-fast);
}
.search-form-row input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-dim);
}

.search-result-item {
  display: flex; gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast);
  margin-bottom: 10px;
}
.search-result-item:hover { border-color: var(--border-warm); }
.search-result-item__thumb {
  width: 100px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0;
  background: var(--cream);
}
.search-result-item__thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.search-result-item__info { flex: 1; min-width: 0; }
.search-result-item__title {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-item__date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.search-result-item__desc {
  font-size: 0.85rem; color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 48px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
  font-weight: 500;
}
.pagination a:hover { background: var(--orange-dim); color: var(--orange); }
.pagination .active {
  background: var(--gradient-warm);
  color: #fff;
  font-weight: 600;
}
.pagination .disabled { color: var(--text-muted); pointer-events: none; }

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center; padding: 60px 20px;
}
.empty-state i {
  font-size: 3rem; color: var(--wood-pale); margin-bottom: 16px; display: block;
}
.empty-state p { color: var(--text-muted); font-size: 0.95rem; }

/* 通用隐藏（Tab切换等） */
.hidden { display: none !important; }

/* ============================================================
   动画系统
   ============================================================ */

/* 暖光呼吸 */
@keyframes warmGlow {
  0%,100% { box-shadow: 0 2px 8px var(--orange-dim); }
  50% { box-shadow: 0 4px 20px var(--orange-glow); }
}

/* 浮动 */
@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 淡入上移 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 文字入场 */
.hero__title { animation: fadeInUp 0.8s var(--ease-out) both; }
.hero__subtitle { animation: fadeInUp 0.8s var(--ease-out) 0.15s both; }
.hero__actions { animation: fadeInUp 0.8s var(--ease-out) 0.3s both; }

/* 脉冲 */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,122,47,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(224,122,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,122,47,0); }
}
.btn--primary.pulse { animation: pulse 2s infinite; }

/* AOS 覆盖 */
[data-aos] { transition-timing-function: var(--ease-out); }

/* ============================================================
   响应式 — 平板 (768px - 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root { --section-py: 64px; }
  .header__inner { overflow: hidden; }
  .header__logo { flex-shrink: 1; min-width: 0; max-width: calc(100vw - 100px); }
  .header__logo-name { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header__logo-sub { display: none; }
  .header__nav, .header__actions { display: none; }
  .hamburger { display: flex; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .food-notes-list { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; gap: 32px; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ★ 002 的移动端语言：【密集列表行】
     老字号餐馆的移动端不该是「一张图占一屏」，而是像翻菜单——
     竖排内容一律「左图右文」，一屏能扫 3 条；并列内容用双列紧凑网格；
     长段落一律收口截断，把展开权交给「了解我们的故事」按钮。
     （这里不做横向滑动轨道，靠密度而不是靠滑动来缩短页面）
   ============================================================ */
@media (max-width: 767px) {

  :root {
    --section-py: 38px;
    --header-h: 58px;
    --radius-lg: 14px;
  }

  body { line-height: 1.7; }
  .container { padding: 0 16px; }

  /* ---------- 标题 ---------- */
  .section-tag { font-size: 0.68rem; margin-bottom: 0.4rem; }
  .section-title { font-size: 1.4rem; }
  .section-subtitle { font-size: 0.86rem; }
  .section-header { margin-bottom: 22px; }

  /* ---------- Hero ---------- */
  .hero {
    height: 62vh;
    min-height: 400px;
    max-height: 480px;
  }
  .hero__content { padding-bottom: 34px; }
  .hero__title { font-size: 1.8rem; margin-bottom: 0.5rem; }
  .hero__subtitle { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 12px 10px;
    font-size: 0.85rem;
  }
  .hero-pagination { margin-top: 16px; }
  .hero-pagination .swiper-pagination-bullet { width: 22px; height: 2px; }
  .hero-pagination .swiper-pagination-bullet-active { width: 34px; }
  .hero__scroll { display: none; }

  /* ---------- 内页 Banner / 面包屑 ---------- */
  /* 头部是 fixed，内页首屏第一个元素必须自己让出高度，否则标题被压在导航下 */
  .inner-banner { margin-top: var(--header-h); height: 170px; }
  .inner-banner__title { font-size: 1.5rem; }
  .inner-banner__subtitle { font-size: 0.82rem; }
  .breadcrumb {
    padding: 9px 16px;
    font-size: 0.74rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .breadcrumb::-webkit-scrollbar { display: none; }

  /* ============================================================
     ① 招牌必点 → 左图右文列表行（原来一张卡占满一屏，现在一屏看 3 条）
     ============================================================ */
  /* minmax(0,1fr) 而非 1fr：网格项默认 min-width:auto，会被行内 nowrap 的
     长文本撑破容器，320px 下会顶出屏幕 */
  .featured-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  .featured-card {
    display: flex;
    align-items: stretch;
    min-width: 0;
    border-radius: var(--radius-lg);
  }
  .featured-card__image {
    flex: 0 0 118px;
    aspect-ratio: auto;
    min-height: 118px;
  }
  /* 整块标题已经是「招牌必点」，卡上再挂一次角标是重复噪音 */
  .featured-card__badge { display: none; }
  .featured-card__body {
    padding: 12px 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  .featured-card__title { font-size: 1.02rem; margin-bottom: 4px; }
  .featured-card__desc {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .featured-card__link { font-size: 0.82rem; }

  /* ============================================================
     ② 老字号故事 → 长段落收口（len=350 的正文在手机上≈2 屏，必须截断）
     ============================================================ */
  .story-section { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .story-image { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
  .story-image__year { bottom: 12px; right: 12px; padding: 5px 14px; font-size: 0.76rem; }
  .story-text { gap: 12px; }
  .story-text p {
    font-size: 0.88rem;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ============================================================
     ③ 美食分类 → 2×2 紧凑磁贴
     ============================================================ */
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { padding: 16px 10px; border-radius: var(--radius-lg); }
  .category-card__icon {
    width: 46px; height: 46px;
    margin: 0 auto 10px;
    font-size: 1.15rem;
  }
  .category-card__name { font-size: 0.95rem; }
  .category-card__count { font-size: 0.72rem; }

  /* ============================================================
     ④ 食客评价 → 双列紧凑卡，正文截断
     ============================================================ */
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .review-card { padding: 14px 12px; border-radius: var(--radius-lg); }
  .review-card__stars { font-size: 0.7rem; letter-spacing: 1px; margin-bottom: 8px; }
  .review-card__text {
    font-size: 0.78rem;
    line-height: 1.65;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .review-card__author { padding-top: 10px; gap: 8px; }
  .review-card__author > div { min-width: 0; }
  .review-card__avatar { width: 28px; height: 28px; font-size: 0.72rem; }
  .review-card__name { font-size: 0.76rem; }
  .review-card__role {
    font-size: 0.66rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ============================================================
     ⑤ 活动优惠 → 双列紧凑卡
     ============================================================ */
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .promo-card { padding: 16px 12px; border-radius: var(--radius-lg); }
  .promo-card::before { width: 54px; height: 54px; top: -14px; right: -14px; }
  .promo-card__icon {
    width: 38px; height: 38px;
    margin: 0 auto 10px;
    font-size: 0.95rem;
  }
  .promo-card__title { font-size: 0.92rem; }
  .promo-card__desc {
    font-size: 0.76rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ============================================================
     ⑥ 食记 → 保持左图右文（原来这里被改成了竖排，是页面变长的主因之一）
     ============================================================ */
  .food-notes-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .food-note-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px;
    min-height: 0;
    min-width: 0;
  }
  .food-note-item__info { min-width: 0; }
  .food-note-item__thumb { width: 86px; height: 86px; }
  /* 标题放两行：一行 nowrap 会把「…：从酱到面都是…」这类长标题砍在半截，
     食记是给人读的列表，标题值得多一行 */
  .food-note-item__title {
    font-size: 0.9rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
  }
  .food-note-item__date { font-size: 0.72rem; margin-bottom: 4px; }
  .food-note-item__desc { font-size: 0.78rem; }

  /* ============================================================
     ⑦ 列表页 → 左图右文列表行（和 001 的双列图墙刻意区分开）
     ============================================================ */
  .list-header { margin-bottom: 18px; }
  .list-header h1 { font-size: 1.4rem; }
  .filter-bar { gap: 6px; margin-bottom: 16px; }
  .filter-bar a { padding: 6px 14px; font-size: 0.8rem; }

  .list-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .list-grid .card {
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
  }
  .list-grid .card__image {
    flex: 0 0 108px;
    aspect-ratio: auto;
    min-height: 108px;
  }
  .list-grid .card__badge { top: 8px; left: 8px; padding: 3px 9px; font-size: 0.62rem; }
  /* min-width:0 必须给到 card__body：它默认 min-width:auto，
     自动最小尺寸来自卡内 nowrap 的 meta 文本，会顶破卡片 */
  .list-grid .card__body { padding: 11px 13px; min-width: 0; }
  .list-grid .card__title { font-size: 0.98rem; margin-bottom: 4px; }
  .list-grid .card__desc {
    font-size: 0.78rem;
    line-height: 1.6;
    flex: 0 1 auto;
  }
  .list-grid .card__meta {
    margin-top: 8px;
    padding-top: 8px;
    gap: 6px 12px;
    font-size: 0.72rem;
    flex-wrap: wrap;
    min-width: 0;
  }
  .list-grid .card__meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .list-grid .card__price { font-size: 1.05rem; margin-top: 6px; }

  /* ---------- 分页 ---------- */
  .pagination { gap: 6px; margin-top: 26px; }
  .pagination a, .pagination span { min-width: 34px; height: 34px; font-size: 0.82rem; }

  /* ============================================================
     ⑧ 详情页
     ============================================================ */
  .detail-gallery { margin-bottom: 18px; border-radius: var(--radius-lg); }
  .detail__params { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .detail__param { padding: 10px 12px; }
  .detail__param-label { font-size: 0.72rem; }
  .detail__param-value { font-size: 0.85rem; }
  .detail-tabs { gap: 4px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .detail-tabs::-webkit-scrollbar { display: none; }
  .detail-tabs .js-tab-btn { padding: 9px 14px; font-size: 0.84rem; white-space: nowrap; }
  .detail__pager { flex-direction: column; gap: 8px; text-align: left; }
  .detail__pager > * {
    min-width: 0;
    padding: 11px 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: var(--radius-md);
  }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .related-grid .card__body { padding: 12px; }
  .related-grid .card__title { font-size: 0.88rem; }
  .related-grid .card__desc, .related-grid .card__meta { display: none; }

  /* ============================================================
     ⑨ 侧栏 / 表单 / 搜索结果
     ============================================================ */
  .page-layout, .order-layout, .contact-grid { gap: 20px; }
  .sidebar { padding: 16px; }
  .contact-form-card { padding: 20px 16px; }
  .search-result-item { flex-direction: row; align-items: center; gap: 12px; }
  .search-result-item__thumb { width: 88px; height: 88px; flex-shrink: 0; }

  /* ---------- CTA ---------- */
  .cta-section { padding: 44px 0 52px; }
  .cta-section__title { font-size: 1.35rem; }
  .cta-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 22px;
  }
  .cta-feature { font-size: 0.8rem; }

  /* ============================================================
     ⑩ 页脚
     ============================================================ */
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 16px;
    padding: 36px 16px 24px;
  }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__col-title { font-size: 0.92rem; margin-bottom: 14px; }
  .footer__links { gap: 8px; }
  .footer__links a, .footer__contact-item { font-size: 0.8rem; }
  .footer__contact-item span { min-width: 0; overflow-wrap: anywhere; }
  .footer__bottom-inner { flex-direction: column; text-align: center; padding: 0 16px; }
  .friend-links { padding-left: 16px; padding-right: 16px; gap: 10px; }

  /* ---------- 悬浮件 ---------- */
  .back-top {
    right: 12px;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    width: 40px; height: 40px;
  }
  .service-btn {
    right: 12px;
    bottom: calc(106px + env(safe-area-inset-bottom, 0px));
    width: 40px; height: 40px;
  }
}

/* 小屏手机 */
@media (max-width: 374px) {
  body { font-size: 14px; }
  .container { padding: 0 14px; }
  .hero__title { font-size: 1.6rem; }
  .featured-card__image { flex: 0 0 100px; min-height: 100px; }
  .list-grid .card__image { flex: 0 0 92px; min-height: 92px; }
  .food-note-item__thumb { width: 74px; height: 74px; }
  .reviews-grid, .promo-grid { gap: 8px; }
  .review-card, .promo-card { padding: 12px 10px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   偏好：减少动画
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
