/* ============================================================
   澳洲华人网 - 公共样式
   ============================================================ */

/* ===== 字体 ===== */
@font-face {
  font-family: 'FZKTK';
  src: url('https://resource-static.bj.bcebos.com/fonts-skill/FZKTK.woff2') format('woff2');
  font-weight: normal;
  font-display: swap;
}

/* ===== CSS 变量 ===== */
:root {
  --primary:    #C0392B;
  --on-primary: #FFFFFF;
  --accent:     #2563EB;
  --on-accent:  #FFFFFF;
  --secondary:  #E05A4A;
  --bg:         #F5F5F0;
  --fg:         #1A1A1A;
  --muted:      #E8E8E3;
  --border:     #D4D0C8;
  --card:       #FFFFFF;
  --text-sub:   #666660;
  --radius:     2px;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeBlend in='SourceGraphic' mode='multiply' result='blend'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: pointer; font-family: inherit; }

/* ===== 滚动条 ===== */
* { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

/* ===== 全局容器 ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* ===== 顶部信息栏 ===== */
.top-bar {
  background: #1A1A1A;
  color: #AAA;
  font-size: 12px;
  padding: 5px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.top-bar a { color: #CCC; }
.top-bar a:hover { color: #FFF; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }

/* ===== 主导航 ===== */
.navbar {
  background: var(--card);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: visible;
}
.navbar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon span {
  font-family: 'FZKTK', serif;
  font-size: 18px;
  color: #FFF;
  line-height: 1;
}
.logo-text {
  font-family: 'FZKTK', serif;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.logo-slogan { font-size: 11px; color: var(--text-sub); margin-top: 2px; }
.logo-img { height: 42px; width: auto; object-fit: contain; }
@media (max-width: 600px) {
  .logo-img { height: 34px; }
}

/* 国家选择器 */
.country-selector {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  color: var(--fg);
  background: var(--bg);
  flex-shrink: 0;
  position: relative;
}
.country-selector:hover { border-color: var(--primary); }
.country-selector > i { color: var(--primary); font-size: 12px; }
.country-flag { font-size: 14px; line-height: 1; }

/* 语言选择下拉菜单 */
.lang-selector {
  position: relative;
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  background: var(--bg);
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
  user-select: none;
}
.lang-selector:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.lang-selector i { font-size: 12px; }
.lang-arrow { font-size: 9px !important; color: var(--text-sub); transition: transform 0.2s; }
.lang-selector:has(.lang-dropdown.show) .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 130px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 310;
  padding: 6px;
  display: none;
}
.lang-dropdown.show { display: block; }

.lang-option {
  display: block; width: 100%;
  padding: 8px 14px;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  text-align: left;
  transition: background 0.12s, color 0.12s;
}
.lang-option:hover { background: var(--bg); color: var(--primary); }
.lang-option.active { background: var(--primary); color: #FFF; font-weight: 600; }

/* 搜索框 */
.search-wrap {
  flex: 1;
  display: flex;
  max-width: 520px;
}
.search-wrap input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #FFF;
  color: var(--fg);
  height: 36px;
  transition: border-color 0.15s;
}
.search-wrap input:focus { border-color: var(--primary); }
.search-wrap input::placeholder { color: #AAA; }
.btn-search {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0 var(--radius) var(--radius) 0;
  height: 36px;
  display: flex; align-items: center; gap: 6px;
  transition: background 0.15s;
}
.btn-search:hover { background: #A93226; }

/* 导航右侧操作 */
.nav-actions {
  display: flex; gap: 10px; align-items: center; flex-shrink: 0; margin-left: auto;
}
.btn-login {
  padding: 5px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  background: transparent;
  color: var(--fg);
  transition: border-color 0.15s, color 0.15s;
}
.btn-login:hover { border-color: var(--primary); color: var(--primary); }
.btn-post {
  padding: 5px 14px;
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  display: flex; align-items: center; gap: 5px;
  transition: background 0.15s;
}
.btn-post:hover { background: #A93226; }

/* 用户下拉菜单（登录状态） */
.user-dropdown {
  position: relative;
}
.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.user-dropdown-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 1px 4px rgba(192,57,43,0.12);
}
.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  overflow: hidden;
  flex-shrink: 0;
}
.user-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.user-name {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 200;
  padding: 6px 0;
}
.user-dropdown-menu.show {
  display: block;
}
.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.user-dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
}
.user-dropdown-menu a i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--text-sub);
}
.user-dropdown-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}

/* 汉堡菜单（移动端） */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--fg);
  margin-left: auto;
}

/* ===== 分类导航条 ===== */
.cat-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  overflow: visible;
  position: relative;
}
.cat-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-nav-item {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.cat-nav-item:hover, .cat-nav-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.cat-nav-item i { font-size: 13px; }

/* "更多"下拉菜单 */
.cat-nav-more {
  display: none;
  position: relative;
  flex-shrink: 0;
  z-index: 150;
}
.cat-nav-more-toggle {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.cat-nav-more-toggle:hover { color: var(--primary); }
.cat-nav-more-toggle i { font-size: 11px; }
.cat-nav-more-toggle .fa-ellipsis { font-size: 14px; }
.cat-nav-more-dropdown {
  position: absolute; top: 100%; right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 150;
  min-width: 140px;
  display: none;
  padding: 4px 0;
}
.cat-nav-more-dropdown.show { display: block; }
.cat-nav-more-dropdown .cat-nav-item {
  display: block;
  padding: 8px 16px;
  border-bottom: none;
  font-size: 13px;
}
.cat-nav-more-dropdown .cat-nav-item:hover {
  background: var(--bg);
  color: var(--primary);
}

/* 移动端显示更多菜单 */
@media (max-width: 900px) {
  .cat-nav .container {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-right: 70px;
  }
  .cat-nav .container::-webkit-scrollbar { display: none; }
  .cat-nav-more {
    display: flex;
    position: absolute;
    right: 0; top: 0;
    height: 100%;
    background: var(--card);
    z-index: 2;
    box-shadow: -8px 0 8px rgba(0,0,0,0.05);
  }
  .cat-nav-item.hide-on-mobile { display: none; }
}
@media (max-width: 600px) {
  .cat-nav .container { padding-right: 62px; }
  .cat-nav-item { padding: 9px 10px; font-size: 12px; flex-shrink: 0; }
  .cat-nav-more-toggle { padding: 9px 10px; font-size: 12px; }
}

/* ===== Hero 广告横幅 ===== */
.hero-section { padding: 16px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 12px;
}
.hero-grid > * { min-width: 0; }
.hero-main { display: flex; flex-direction: column; gap: 10px; }
.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/5.5;
  border: 1px solid var(--border);
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* 幻灯片导航箭头 */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.45);
  border: none; border-radius: 50%;
  color: #FFF; font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s, background 0.25s;
  z-index: 5;
  line-height: 1;
}
.hero-arrow i { display: block; pointer-events: none; }
.hero-arrow:hover { background: rgba(0,0,0,0.65); }
.hero-arrow-left  { left: 12px; }
.hero-arrow-right { right: 12px; }
.hero-banner:hover .hero-arrow { opacity: 1; }

/* 幻灯片指示圆点 */
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.3s;
}
.hero-dot.active {
  background: #FFF;
  width: 24px;
  border-radius: 4px;
}

/* 右侧广告位（278×72 多条，与左侧齐平） */
.hero-aside { display: flex; flex-direction: column; gap: 8px; }
.hero-side-ad {
  display: block;
  flex-shrink: 0;
  width: 278px;
  height: 72px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.hero-side-ad img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-side-ad-title {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 13px; color: var(--text-sub); background: var(--bg);
  text-align: center; padding: 0 8px;
}

/* ===== 快速发布条 ===== */
.quick-post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px;
}
.quick-post-label {
  font-size: 13px; color: var(--text-sub); white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.quick-post-label i { color: var(--primary); }
.quick-tags { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.quick-tag {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  cursor: pointer;
  background: var(--bg);
  transition: border-color 0.12s, color 0.12s;
}
.quick-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 推荐生活服务（首屏左侧） ===== */
.hero-services {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero-services .list-header {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.hero-services .info-item {
  flex: 1;
  padding: 12px 16px;
  border-bottom: 1px solid var(--muted);
  align-items: center;
}
.hero-services .info-item:last-child { border-bottom: none; }
.hero-services .info-thumb {
  width: 80px; height: 60px;
  border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border);
}
.hero-services .info-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-services .info-title {
  font-size: 13.5px; font-weight: 500;
  color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 5px;
  transition: color 0.12s;
}
.hero-services .info-item:hover .info-title { color: var(--primary); }
.hero-services .info-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 11.5px; color: var(--text-sub);
  flex-wrap: wrap;
}

/* ===== 主内容区 ===== */
.main-content { padding: 16px 0 16px; overflow: hidden; }
.main-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  align-items: start;
}
.main-grid > * { min-width: 0; }

/* ===== 分类宫格 ===== */
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-family: 'FZKTK', serif;
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 16px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-title .more {
  margin-left: auto;
  font-size: 12px;
  color: var(--accent);
  font-family: inherit;
  font-weight: normal;
  cursor: pointer;
}
.section-title .more:hover { text-decoration: underline; }

/* 大分类板块 */
.cat-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
}

/* 宫格图标 */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
}
.cat-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 4px 8px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.12s;
}
.cat-icon-item:hover { background: var(--muted); }
.cat-icon-wrap {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.cat-icon-item span {
  font-size: 12px;
  color: var(--fg);
  text-align: center;
  line-height: 1.2;
}

/* 分类颜色方案 */
.ci-red    { background: #FFF0EE; color: var(--primary); }
.ci-blue   { background: #EEF3FF; color: #2563EB; }
.ci-green  { background: #EEF7EE; color: #1A8A3A; }
.ci-orange { background: #FFF4E6; color: #D97706; }
.ci-purple { background: #F3F0FF; color: #7C3AED; }
.ci-teal   { background: #E6F7F7; color: #0D7A7A; }
.ci-rose   { background: #FFF0F5; color: #C2185B; }
.ci-brown  { background: #F7F0E8; color: #8B5E3C; }

/* ===== 信息列表 ===== */
.list-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.list-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.list-header-title {
  font-size: 14px; font-weight: 600; color: var(--fg);
  display: flex; align-items: center; gap: 6px;
}
.list-header-title i { color: var(--primary); font-size: 13px; }
.list-tabs { display: flex; gap: 0; margin-left: 12px; }
.list-tab {
  padding: 3px 10px;
  font-size: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--card);
  color: var(--text-sub);
  transition: background 0.12s, color 0.12s;
}
.list-tab:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.list-tab:last-child  { border-radius: 0 var(--radius) var(--radius) 0; margin-left: -1px; }
.list-tab + .list-tab { margin-left: -1px; }
.list-tab.active { background: var(--primary); color: #FFF; border-color: var(--primary); z-index: 1; }
.list-tab:hover:not(.active) { background: var(--muted); color: var(--fg); }
.list-header .more { margin-left: auto; font-size: 12px; color: var(--accent); cursor: pointer; }

/* 信息行 */
.info-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 16px;
  border-bottom: 1px solid var(--muted);
  cursor: pointer;
  transition: background 0.15s;
}
.info-item:last-child { border-bottom: none; }
.info-item:hover { background: var(--bg); }

/* 置顶高亮样式 */
.top-section {
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  background: #FFF9F5;
}
.top-toolbar {
  background: linear-gradient(135deg, var(--primary), #D44B3D);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 8px 16px;
}
.top-toolbar .count {
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
}
.top-highlight {
  position: relative;
  background: linear-gradient(90deg, #FFF9F5 0%, #FFF 100%);
  margin-bottom: 2px;
  border-radius: 0 6px 6px 0;
  transition: background 0.2s, transform 0.15s;
}
.top-highlight:hover {
  background: linear-gradient(90deg, #FFF3EB 0%, #FFF9F5 100%);
  transform: translateX(2px);
}
.top-highlight .info-title {
  font-weight: 600;
  color: var(--primary-dark, #A93226);
}
.top-badge-pin {
  background: linear-gradient(135deg, var(--primary), #E74C3C) !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(192,57,43,0.3);
}
.info-thumb {
  width: 72px; height: 54px;
  border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border);
  position: relative;
}
.info-thumb img { width: 100%; height: 100%; object-fit: cover; }
.info-body { flex: 1; min-width: 0; }
.info-title {
  font-size: 13.5px; font-weight: 500;
  color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
  transition: color 0.12s;
}
.info-item:hover .info-title { color: var(--primary); }
.info-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 11.5px; color: var(--text-sub);
  flex-wrap: wrap;
}
.info-price { color: var(--primary); font-weight: 600; font-size: 14px; }
.info-price.free { color: #1A8A3A; font-size: 12px; }
.info-foot-text { font-size: 11px; color: var(--text-sub); flex-shrink: 0; }
.info-address {
  font-size: 11.5px; color: var(--text-sub);
  margin-top: 2px;
  display: flex; gap: 4px; align-items: center;
}
.info-address i { color: var(--primary); font-size: 11px; }
.tag {
  display: inline-block;
  padding: 1px 6px;
  background: var(--muted);
  border-radius: var(--radius);
  font-size: 11px;
  color: var(--text-sub);
}
.tag.primary { background: #FFF0EE; color: var(--primary); }
.tag.blue    { background: #EEF3FF; color: #2563EB; }
.tag.green   { background: #EEF7EE; color: #1A8A3A; }

/* 标签网格（标签首页） */
.tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.tag-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}
.tag-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(192,57,43,0.1);
  transform: translateY(-1px);
}
.tag-card-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #FFF0EE;
  border-radius: 8px;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}
.tag-card-name {
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag-card-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-sub);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 无图列表行 */
.info-item-plain {
  display: flex; gap: 8px; align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--muted);
  cursor: pointer;
  transition: background 0.15s;
}
.info-item-plain:last-child { border-bottom: none; }
.info-item-plain:hover { background: var(--bg); }
.info-item-plain .info-title { flex: 1; margin-bottom: 0; }
.info-item-plain .info-right {
  display: flex; gap: 10px; align-items: center; flex-shrink: 0;
}
.info-time { font-size: 11.5px; color: var(--text-sub); }
.info-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.info-dot.new { background: var(--primary); }

/* ===== 右侧栏 ===== */
.sidebar { display: flex; flex-direction: column; gap: 12px; }

/* 公告 */
.notice-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.notice-header {
  background: var(--primary);
  color: #FFF;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.notice-body { padding: 10px 12px; }
.notice-item {
  display: flex; gap: 6px; align-items: flex-start;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--fg);
  border-bottom: 1px dashed var(--border);
  cursor: pointer;
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover .notice-text { color: var(--accent); text-decoration: underline; }
.notice-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); margin-top: 6px; flex-shrink: 0; }

/* 侧边广告 */
.side-ad {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.side-ad img { width: 100%; display: block; }
.side-ad-body {
  background: var(--card);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-sub);
  border-top: 1px solid var(--border);
}
.side-ad-body strong { display: block; font-size: 13px; color: var(--fg); margin-bottom: 2px; }

/* 热门搜索 */
.hot-search {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.hot-search-title {
  font-size: 13px; font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px; color: var(--fg);
}
.hot-search-title i { color: var(--primary); }
.hot-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hot-tag {
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
}
.hot-tag:hover { border-color: var(--primary); color: var(--primary); }
.hot-posts { display: flex; flex-direction: column; }
.hot-post-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--fg);
  transition: color 0.15s;
}
.hot-post-item:last-child { border-bottom: none; }
.hot-post-item:hover { color: var(--primary); }
.hot-post-rank {
  width: 20px; height: 20px; border-radius: 4px;
  background: #e5e7eb; color: #6b7280;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hot-post-rank.hot { background: var(--primary); color: #fff; }
.hot-post-title {
  flex: 1; font-size: 13px; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hot-post-views {
  font-size: 11px; color: var(--text-sub); flex-shrink: 0;
}

/* 友情链接（footer 上方全宽） */
.friend-links-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-top: 32px;
}
.friend-links-bar .friend-links-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.friend-links-bar .friend-links-title i { color: var(--primary); }
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.friend-links-list a {
  font-size: 13px;
  color: var(--text-sub);
  transition: color 0.2s;
}
.friend-links-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== 便民排行榜 ===== */
.rank-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rank-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 9px 12px;
  font-size: 13px; font-weight: 600; color: var(--fg);
  display: flex; align-items: center; gap: 6px;
}
.rank-header i { color: var(--primary); }
.rank-list { padding: 4px 0; }
.rank-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.12s;
}
.rank-item:hover { background: var(--bg); }
.rank-item:hover .rank-title { color: var(--primary); }
.rank-num {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--text-sub);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num { background: var(--primary); color: #FFF; }
.rank-title {
  flex: 1; min-width: 0;
  font-size: 12.5px; color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.12s;
}
.rank-hot { font-size: 11px; color: var(--text-sub); flex-shrink: 0; }

/* ===== 同城活动 ===== */
.event-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.event-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 9px 12px;
  font-size: 13px; font-weight: 600; color: var(--fg);
  display: flex; align-items: center; gap: 6px;
}
.event-header i { color: var(--primary); }
.event-item {
  display: flex; gap: 10px; align-items: center;
  padding: 9px 12px;
  border-bottom: 1px dashed var(--border);
  cursor: pointer;
  transition: background 0.12s;
}
.event-item:last-child { border-bottom: none; }
.event-item:hover { background: var(--bg); }
.event-date {
  width: 42px; flex-shrink: 0;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.event-date .m { background: var(--primary); color: #FFF; font-size: 10px; padding: 1px 0; }
.event-date .d { font-size: 16px; font-weight: 700; color: var(--fg); padding: 2px 0; font-family: 'FZKTK', serif; }
.event-info { flex: 1; min-width: 0; }
.event-title {
  font-size: 12.5px; color: var(--fg); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.12s;
}
.event-item:hover .event-title { color: var(--primary); }
.event-place { font-size: 11px; color: var(--text-sub); margin-top: 2px; }

/* ===== 关注我们 ===== */
.follow-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}
.follow-title { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.follow-icons { display: flex; justify-content: center; gap: 10px; }
.follow-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.follow-icon:hover { background: var(--primary); color: #FFF; transform: translateY(-2px); }
.follow-hint { font-size: 11.5px; color: var(--text-sub); margin-top: 12px; line-height: 1.5; }

/* ===== 国家下拉 ===== */
.country-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  width: 280px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 310;
  padding: 10px;
  display: none;
}
.country-dropdown.show { display: block; }
.country-dropdown-title { font-size: 12px; color: var(--text-sub); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.country-group { margin-bottom: 10px; }
.country-group:last-child { margin-bottom: 0; }
.country-group-label { font-size: 11px; color: var(--text-sub); margin-bottom: 5px; padding-bottom: 3px; border-bottom: 1px dashed var(--border); }
.country-list { display: flex; flex-wrap: wrap; gap: 4px; }
.country-btn {
  display: flex; align-items: center; gap: 4px;
  /* 每行固定两个按钮等宽，两端对齐，避免参差不齐 */
  width: calc(33% - 2px);
  padding: 5px 5px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.country-btn:hover { border-color: var(--primary); color: var(--primary); }
.country-btn.active { background: var(--primary); color: #FFF; border-color: var(--primary); }
.country-btn .fi { font-size: 14px; }

/* ===== 底部 ===== */
footer {
  background: #1A1A1A;
  color: #888;
  padding: 24px 0 16px;
  width: 100%;
  box-sizing: border-box;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.footer-col h4 { color: #CCC; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: 12px; color: #777; transition: color 0.12s; }
.footer-col ul li a:hover { color: #FFF; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 14px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 11.5px; color: #555; }
.footer-links { display: flex; gap: 14px; }
.footer-links a { font-size: 11.5px; color: #555; }
.footer-links a:hover { color: #AAA; }

/* ===== 浮动按钮 ===== */
.float-post {
  position: fixed !important;
  right: 24px; bottom: 32px;
  background: var(--primary);
  color: #FFF;
  border: none;
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 16px rgba(192,57,43,0.45);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  z-index: 999;
}
.float-post:hover { background: #A93226; transform: translateY(-2px); }

/* ===== 动画 ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cat-icon-item { animation: fadeUp 0.3s ease backwards; }

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-sub);
  padding: 12px 0;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 10px; color: var(--border); }
.breadcrumb .current { color: var(--fg); }

/* ============================================================
   分类页 - 页头
   ============================================================ */
.page-head {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 14px;
}
.page-head-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.page-head-info h1 {
  font-family: 'FZKTK', serif;
  font-size: 22px; color: var(--fg); line-height: 1.2;
}
.page-head-info p { font-size: 12.5px; color: var(--text-sub); margin-top: 3px; }
.page-head-stat { margin-left: auto; text-align: right; }
.page-head-stat strong { color: var(--primary); font-size: 20px; font-family: 'FZKTK', serif; }
.page-head-stat span { display: block; font-size: 11.5px; color: var(--text-sub); }

/* 子分类筛选条 */
.filter-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 8px;
  margin-bottom: 12px;
}
.filter-row {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px dashed var(--border);
}
.filter-row:last-child { border-bottom: none; }
.filter-row-label {
  font-size: 12.5px; color: var(--text-sub);
  white-space: nowrap; padding: 3px 0; flex-shrink: 0; width: 56px;
}
.filter-options { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-opt {
  padding: 3px 12px;
  font-size: 12.5px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--fg);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.filter-opt:hover { color: var(--primary); }
.filter-opt.active { background: var(--primary); color: #FFF; }

/* 列表工具条：排序 */
.list-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.list-toolbar .count { font-size: 12.5px; color: var(--text-sub); }
.list-toolbar .count strong { color: var(--primary); }
.sort-tabs { display: flex; gap: 14px; margin-left: 16px; }
.sort-tab {
  font-size: 12.5px; color: var(--text-sub); cursor: pointer;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.sort-tab:hover { color: var(--fg); }
.sort-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* 卡片网格列表（分类页） */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.listing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  display: flex; flex-direction: column;
}
.listing-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.listing-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.listing-card:hover .listing-card-img img { transform: scale(1.05); }
.listing-card-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: #FFF;
  font-size: 11px; padding: 2px 8px; border-radius: var(--radius);
}
.listing-card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.listing-card-title {
  font-size: 14px; font-weight: 500; color: var(--fg);
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card:hover .listing-card-title { color: var(--primary); }
.listing-card-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.listing-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 6px; border-top: 1px solid var(--muted);
  font-size: 11.5px; color: var(--text-sub);
}

/* 分页 */
.pagination {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 20px 0 4px;
}
.pagination a,
.pagination span,
.pagination .page-link {
  min-width: 32px; height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font-size: 13px;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.12s, color 0.12s, background 0.12s, transform 0.12s ease;
}
.pagination a:hover,
.pagination .page-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.pagination .current,
.pagination .active .page-link {
  background: var(--primary); color: #FFF; border-color: var(--primary); font-weight: 600;
}
.pagination .prev,
.pagination .next {
  min-width: 72px;
}
.pagination .page-item { display: inline-flex; }
.pagination .disabled .page-link { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   详情页
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}
.detail-main {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-gallery { position: relative; background: #000; }
.detail-gallery-main { aspect-ratio: 16/7; }
.detail-gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #111; }
.detail-thumbs {
  display: flex; gap: 6px; padding: 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.detail-thumb {
  width: 72px; height: 54px; flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
}
.detail-thumb.active { border-color: var(--primary); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-header { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.detail-title {
  font-family: 'FZKTK', serif;
  font-size: 22px; color: var(--fg); line-height: 1.35; margin-bottom: 10px;
}
.detail-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.detail-price { color: var(--primary); font-size: 28px; font-weight: 700; }
.detail-price small { font-size: 14px; font-weight: 400; }
.detail-price.free { color: #1A8A3A; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.detail-metabar {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-sub);
  padding-top: 8px;
}
.detail-metabar span i { color: var(--primary); margin-right: 4px; }

/* 属性表格 */
.detail-section { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.detail-section h3 {
  font-family: 'FZKTK', serif; font-size: 16px; color: var(--fg);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.detail-section h3::before {
  content: ''; width: 3px; height: 15px; background: var(--primary); border-radius: 1px;
}
.attr-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.attr-item { background: var(--card); padding: 10px 12px; }
.attr-item .k { font-size: 11.5px; color: var(--text-sub); margin-bottom: 3px; }
.attr-item .v { font-size: 13.5px; color: var(--fg); font-weight: 500; }

.detail-desc { font-size: 14px; color: var(--fg); line-height: 1.9; }
.detail-desc h2 {
  font-family: 'FZKTK', serif; font-size: 20px; color: var(--fg);
  margin: 26px 0 12px; padding-left: 12px; border-left: 3px solid var(--primary);
}
.detail-desc h3 { font-size: 17px; color: var(--fg); margin: 20px 0 10px; }
.detail-desc h4 { font-size: 15px; color: var(--fg); margin: 16px 0 8px; }
.detail-desc p { margin-bottom: 10px; }
.detail-desc img { border-radius: var(--radius); margin: 16px 0; border: 1px solid var(--border); max-width:100%; }
.detail-desc ul, .detail-desc ol { padding-left: 22px; margin-bottom: 16px; }
.detail-desc ul { list-style: disc; }
.detail-desc ol { list-style: decimal; }
.detail-desc li { margin-bottom: 6px; }
.detail-desc blockquote {
  background: var(--bg); border-left: 3px solid var(--primary);
  padding: 12px 16px; margin: 16px 0; color: var(--text-sub); font-size: 14px;
}
.detail-desc code {
  background: var(--bg); padding: 2px 6px; border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px;
}
.detail-desc pre {
  background: #1e1e2e; color: #cdd6f4; padding: 16px; border-radius: var(--radius);
  overflow-x: auto; margin: 16px 0; font-size: 13px; line-height: 1.6;
}
.detail-desc pre code { background: transparent; padding: 0; color: inherit; font-size: inherit; }
.detail-desc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.detail-desc th, .detail-desc td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.detail-desc th { background: var(--bg); font-weight: 600; }
.detail-desc a { color: var(--primary); text-decoration: underline; }
.detail-desc a:hover { color: var(--primary-dark); }
.detail-desc hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* 详情页侧边：联系卡 */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: sticky;
}
.seller-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.seller-row-link:hover { background: var(--bg); }
.seller-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.seller-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  padding: 4px 0;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.seller-profile-link:hover { opacity: 0.8; }
.seller-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-family: 'FZKTK', serif; font-size: 20px; flex-shrink: 0;
  overflow: hidden;
}
.seller-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { line-height: 1; }
.seller-name { font-size: 15px; font-weight: 600; color: var(--fg); display: flex; align-items: center; gap: 6px; }
.seller-verify { color: #1A8A3A; font-size: 11px; }
.seller-meta { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
/* 联系方式列表 */
.contact-list { margin: 8px 0; }
.contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; margin-bottom: 6px;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.15s;
}
.contact-item:hover { border-color: var(--primary); }
.contact-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; margin-top: 1px;
}
.contact-text { display: flex; flex-direction: column; min-width: 0; }
.contact-label { font-size: 11px; color: var(--text-sub); margin-bottom: 2px; }
.contact-value { font-size: 14px; font-weight: 500; color: var(--fg); word-break: break-all; }
.contact-btn {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 8px;
  transition: background 0.15s;
}
.contact-btn.primary { background: var(--primary); color: #FFF; }
.contact-btn.primary:hover { background: #A93226; }
.contact-btn.outline { background: transparent; border: 1.5px solid var(--border); color: var(--fg); }
.contact-btn.outline:hover { border-color: var(--primary); color: var(--primary); }
.contact-tip {
  margin-top: 10px; padding: 8px 10px;
  background: #FFF6E6; border: 1px solid #F0D9A8; border-radius: var(--radius);
  font-size: 11.5px; color: #8A6D1A; line-height: 1.6;
}
.contact-tip i { color: #D97706; margin-right: 4px; }

/* 举报弹窗 */
.report-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.report-modal {
  background: #FFF; border-radius: 12px;
  width: 480px; max-width: 92vw;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  animation: reportSlideIn 0.2s ease;
}
@keyframes reportSlideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.report-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 0;
}
.report-modal-header h3 { font-size: 18px; font-weight: 600; color: var(--fg); margin: 0; }
.report-modal-close {
  background: none; border: none;
  font-size: 24px; color: #999; cursor: pointer;
  line-height: 1; padding: 0;
}
.report-modal-close:hover { color: #333; }
.report-modal-body { padding: 16px 24px; }
.report-form-group { margin-bottom: 16px; }
.report-form-group > label { display: block; font-size: 13px; font-weight: 500; color: var(--fg); margin-bottom: 8px; }
.report-type-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report-type-item {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; font-size: 13px; color: var(--fg);
  transition: border-color 0.15s;
}
.report-type-item:hover { border-color: var(--primary); }
.report-type-item input[type="radio"] { accent-color: var(--primary); }
.report-textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; resize: vertical; outline: none;
  font-family: inherit;
}
.report-textarea:focus { border-color: var(--primary); }
.report-msg { min-height: 20px; font-size: 13px; margin-top: 4px; }
.report-modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 0 24px 20px;
}
.report-modal-footer .btn {
  padding: 8px 20px; border-radius: 8px; font-size: 14px; cursor: pointer; border: none;
}
.report-modal-footer .btn-cancel { background: #f0f0f0; color: #666; }
.report-modal-footer .btn-cancel:hover { background: #e0e0e0; }
.report-modal-footer .btn-submit {
  background: var(--primary); color: #FFF;
}
.report-modal-footer .btn-submit:hover { background: #A93226; }
.report-modal-footer .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* 相关推荐 */
.related-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.related-item {
  display: flex; gap: 8px; padding: 10px 14px;
  border-bottom: 1px solid var(--muted); cursor: pointer;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover { background: var(--bg); }
.related-thumb { width: 64px; height: 48px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); }
.related-body { flex: 1; min-width: 0; }
.related-title {
  font-size: 12.5px; color: var(--fg); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-item:hover .related-title { color: var(--primary); }
.related-price { color: var(--primary); font-size: 13px; font-weight: 600; margin-top: 3px; }

/* ============================================================
   博客
   ============================================================ */

/* 博客特色文章 */
.blog-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/7;
  margin-bottom: 16px;
  cursor: pointer;
  display: block;
}
.blog-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-feature:hover img { transform: scale(1.03); }
.blog-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,26,26,0.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px 20px;
}
.blog-feature-cat {
  align-self: flex-start;
  background: var(--primary); color: #FFF;
  font-size: 11px; padding: 2px 10px; border-radius: 3px; margin-bottom: 6px;
  font-weight: 500;
}
.blog-feature-title {
  font-family: 'FZKTK', serif; font-size: 20px; color: #FFF; line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-feature-meta { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 4px; }

@media (max-width: 768px) {
  .blog-feature { aspect-ratio: 16/9; }
  .blog-feature-overlay { padding: 12px 16px; }
  .blog-feature-title { font-size: 17px; }
}

/* 博客卡片列表 */
.blog-list { display: flex; flex-direction: column; gap: 12px; }
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.blog-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); border-color: var(--primary); }
.blog-card-img { overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 14px 16px; display: flex; flex-direction: column; }
.blog-card-cat { font-size: 11.5px; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.blog-card-title {
  font-family: 'FZKTK', serif; font-size: 18px; color: var(--fg); line-height: 1.4; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card:hover .blog-card-title { color: var(--primary); }
.blog-card-excerpt {
  font-size: 13px; color: var(--text-sub); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.blog-card-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 12px; color: var(--text-sub); margin-top: auto;
}
.blog-card-meta i { color: var(--primary); margin-right: 4px; }

/* 博客侧边 */
.blog-side-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.blog-side-title {
  font-family: 'FZKTK', serif; font-size: 15px; color: var(--fg);
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}
.blog-side-title i { color: var(--primary); }
.blog-cat-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; font-size: 13px; color: var(--fg);
  border-bottom: 1px dashed var(--border);
}
.blog-cat-list li:last-child a { border-bottom: none; }
.blog-cat-list li a:hover { color: var(--primary); }
.blog-cat-list li a.active { color: var(--primary); font-weight: 600; }
.blog-cat-list .cnt { font-size: 11.5px; color: var(--text-sub); background: var(--bg); padding: 1px 8px; border-radius: 10px; }
.blog-cat-list li a.active .cnt { background: var(--primary); color: #fff; }
.blog-rank-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px dashed var(--border); cursor: pointer;
}
.blog-rank-item:last-child { border-bottom: none; }
.blog-rank-num {
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--muted); color: var(--text-sub);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border-radius: var(--radius);
}
.blog-rank-item:nth-child(1) .blog-rank-num,
.blog-rank-item:nth-child(2) .blog-rank-num,
.blog-rank-item:nth-child(3) .blog-rank-num { background: var(--primary); color: #FFF; }
.blog-rank-title { font-size: 12.5px; color: var(--fg); line-height: 1.5; }
.blog-rank-item:hover .blog-rank-title { color: var(--primary); }

/* 博客详情 */
.article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-hero { aspect-ratio: 16/7; overflow: hidden; border-bottom: 1px solid var(--border); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 24px 28px 32px; }
.article-cat {
  display: inline-block; background: #FFF0EE; color: var(--primary);
  font-size: 12px; padding: 2px 10px; border-radius: var(--radius); margin-bottom: 12px;
}
.article-title { font-family: 'FZKTK', serif; font-size: 28px; color: var(--fg); line-height: 1.35; margin-bottom: 14px; }
.article-meta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  font-size: 12.5px; color: var(--text-sub);
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.article-meta i { color: var(--primary); margin-right: 4px; }
.article-content { font-size: 15.5px; color: var(--fg); line-height: 1.95; }
.article-content h2 {
  font-family: 'FZKTK', serif; font-size: 20px; color: var(--fg);
  margin: 26px 0 12px; padding-left: 12px; border-left: 3px solid var(--primary);
}
.article-content h3 { font-size: 17px; color: var(--fg); margin: 20px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content img { border-radius: var(--radius); margin: 16px 0; border: 1px solid var(--border); }
.article-content ul { padding-left: 22px; margin-bottom: 16px; list-style: disc; }
.article-content ul li { margin-bottom: 8px; }
.article-content blockquote {
  background: var(--bg); border-left: 3px solid var(--primary);
  padding: 12px 16px; margin: 16px 0; color: var(--text-sub); font-size: 14.5px;
}
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.article-tag {
  padding: 4px 12px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; font-size: 12px; color: var(--text-sub); cursor: pointer;
}
.article-tag:hover { border-color: var(--primary); color: var(--primary); }

/* 作者卡 */
.author-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-top: 22px;
}
.author-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--primary); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-family: 'FZKTK', serif; font-size: 24px; flex-shrink: 0;
}
.author-name { font-size: 15px; font-weight: 600; color: var(--fg); }
.author-bio { font-size: 12.5px; color: var(--text-sub); margin-top: 3px; line-height: 1.6; }
.article-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
.article-nav-item {
  min-width: 0; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--fg); transition: border-color 0.2s, color 0.2s;
}
.article-nav-item:hover { border-color: var(--primary); color: var(--primary); }
.article-nav-item.disabled { color: var(--text-sub); opacity: 0.65; }
.article-nav-item.disabled:hover { border-color: var(--border); color: var(--text-sub); }
.article-nav-next { text-align: right; }
.article-nav-label { display: block; color: var(--primary); font-size: 12px; margin-bottom: 6px; }
.article-nav-label i { margin: 0 3px; }
.article-nav-title {
  display: block; overflow: hidden; font-size: 13px; line-height: 1.5;
  text-overflow: ellipsis; white-space: nowrap;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { flex-direction: row; }
  .hero-side-ad { width: auto; flex: 1 1 220px; height: auto; aspect-ratio: 278/72; }
  .main-grid { grid-template-columns: 1fr; }
  .main-grid > div:first-child { order: 0; }
  .sidebar { order: 1; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .attr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .container { padding: 0 12px; }
  .top-bar { display: none; }
  .navbar .container { flex-wrap: wrap; height: auto; padding: 10px 12px; gap: 10px 12px; }
  .logo { order: 0; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-text { font-size: 18px; }
  .country-selector { order: 1; padding: 4px 8px; font-size: 12px; }
  .country-selector > #countryName { display: none; }
  .country-selector .country-flag { font-size: 16px; }
  .lang-selector { order: 2; padding: 4px 8px; font-size: 12px; }
  .hamburger { display: flex; order: 3; margin-left: auto; }
  .search-wrap { order: 4; width: 100%; max-width: 100%; display: none; }
  .nav-actions { order: 5; width: 100%; display: none; gap: 8px; margin-left: 0; }
  .nav-actions button { flex: 1; justify-content: center; }
  .navbar .container.mobile-open .search-wrap { display: flex; }
  .navbar .container.mobile-open .nav-actions { display: flex; }
  .user-dropdown-menu { right: auto; left: 0; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-icon-wrap { width: 34px; height: 34px; font-size: 15px; }
  .hero-section { padding: 12px 0 0; }
  .hero-banner { aspect-ratio: 16/9; }
  .hero-aside { flex-direction: column; }
  .hero-side-ad { width: 100%; flex: none; height: auto; aspect-ratio: 278/72; }
  .quick-post { flex-wrap: wrap; gap: 8px; }
  .list-header { flex-wrap: wrap; gap: 6px 8px; }
  .list-tabs { margin-left: 0; }
  .list-header .more { margin-left: auto; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-post { right: 16px; bottom: 20px; padding: 9px 16px; font-size: 13px; }
  .card-grid { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img { aspect-ratio: 16/9; }
  .attr-grid { grid-template-columns: 1fr; }
  .article-body { padding: 18px; }
  .article-title { font-size: 22px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next { text-align: left; }
  .page-head { flex-wrap: wrap; }
  .page-head-stat { margin-left: 0; text-align: left; }
}
@media (max-width: 400px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ===== 覆盖 ThinkPHP 分页样式 ===== */
.pagination .page-item { display: inline-flex; }
.pagination .page-link {
  min-width: 32px; height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.pagination .page-link:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active .page-link { background: var(--primary); color: #FFF; border-color: var(--primary); }
.pagination .disabled .page-link { opacity: 0.4; cursor: not-allowed; }

/* ===== 评论区域 ===== */
.comment-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px; height: 22px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border-radius: 11px;
  padding: 0 7px;
  margin-left: 6px;
  vertical-align: middle;
}

/* 评论表单 */
.comment-form-box {
  background: #F8F7F3;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  margin-top: 12px;
}
.comment-form-row { margin-bottom: 10px; }
.comment-form-row:last-child { margin-bottom: 0; }
.comment-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
  line-height: 1.6;
  background: var(--card);
}
.comment-textarea:focus { border-color: var(--primary); }
.comment-input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  width: 180px;
  background: var(--card);
  transition: border-color 0.15s;
}
.comment-input:focus { border-color: var(--primary); }
.comment-input.small { width: 140px; }
.comment-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-submit-btn {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.comment-submit-btn:hover { background: var(--secondary); }
.comment-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.comment-submit-btn.small { padding: 5px 14px; font-size: 13px; }
.comment-cancel-btn {
  padding: 5px 14px;
  background: transparent;
  color: var(--text-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.comment-cancel-btn:hover { border-color: var(--primary); color: var(--primary); }
.comment-msg { margin-top: 8px; font-size: 13px; }

/* 评论列表 */
.comment-list { margin-top: 16px; }
.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.comment-item:last-child { border-bottom: none; }
.comment-item.child {
  border-top: 1px solid #eee;
  border-bottom: none;
  padding: 12px 0;
  margin-top: 0;
}
.comment-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}
.comment-avatar.small {
  width: 32px; height: 32px;
  font-size: 13px;
}
.comment-avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.comment-body { flex: 1; min-width: 0; }
.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.comment-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.comment-time {
  font-size: 12px;
  color: var(--text-sub);
}
.comment-reply-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-sub);
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.comment-reply-btn:hover { color: var(--primary); }
.comment-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg);
  word-break: break-word;
}
.comment-children {
  margin-top: 10px;
  padding-left: 20px;
  border-left: 2px solid #e8e8e3;
}
.comment-reply-form {
  margin-top: 10px;
  padding: 10px;
  background: #F8F7F3;
  border-radius: 4px;
}

/* ===== 相关阅读 ===== */
.related-read-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.related-read-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: #F8F7F3;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.related-read-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(192,57,43,0.08);
}
.related-read-date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}
.related-read-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-read-summary {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
}
.related-read-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 640px) {
  .related-read-grid {
    grid-template-columns: 1fr;
  }
  .comment-form-actions { flex-direction: column; align-items: stretch; }
  .comment-input { width: 100%; }
  .comment-input.small { width: 100%; }
  .comment-children { padding-left: 12px; }
}

/* ===== Cookie Banner & Modal ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: #1E1E1E;
  color: #CCC;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  flex: 1;
  min-width: 260px;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: #AAA;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Cookie Buttons */
.cookie-btn {
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.cookie-btn-primary {
  background: var(--primary, #C0392B);
  color: #FFF;
  border-color: var(--primary, #C0392B);
}
.cookie-btn-primary:hover {
  background: #A93226;
  border-color: #A93226;
}
.cookie-btn-outline {
  background: transparent;
  color: #BBB;
  border-color: #555;
}
.cookie-btn-outline:hover {
  color: #FFF;
  border-color: #888;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.cookie-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #FFF;
  border-radius: 12px;
  max-width: 520px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
}
.cookie-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.12s;
}
.cookie-modal-close:hover { color: #333; }
.cookie-modal-body {
  padding: 8px 24px 4px;
}
.cookie-modal-intro {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #EEE;
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option-info {
  flex: 1;
  min-width: 0;
}
.cookie-option-info strong {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}
.cookie-option-info span {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}
.cookie-toggle {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input { display: none; }
.cookie-toggle.disabled {
  cursor: not-allowed;
  font-size: 11px;
  color: #999;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  padding: 4px 10px;
  background: #F0F0F0;
  border-radius: 12px;
}
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #CCC;
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #FFF;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--primary, #C0392B);
}
.cookie-toggle input:checked + .cookie-toggle-slider::after {
  transform: translateX(20px);
}
.cookie-modal-footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px 20px;
  justify-content: flex-end;
}

/* Cookie mobile */
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; gap: 12px; padding: 14px 16px; }
  .cookie-banner-inner p { min-width: 0; font-size: 12px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .cookie-btn { flex: 1; text-align: center; }
  .cookie-modal { width: 94%; border-radius: 10px; }
  .cookie-modal-header { padding: 16px 18px 10px; }
  .cookie-modal-body { padding: 6px 18px 2px; }
  .cookie-modal-footer { padding: 12px 18px 16px; flex-direction: column; }
  .cookie-modal-footer .cookie-btn { width: 100%; text-align: center; }
  .cookie-modal-footer .cookie-btn-primary { order: -1; }
}

/* ========== 广告单元 ========== */
.ad-db-item {
  display: block; text-decoration: none; border-radius: var(--radius, 8px);
  overflow: hidden; transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.ad-db-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10); transform: translateY(-1px); }
.ad-db-item img { display: block; width: 100%; height: auto; }
.ad-unit { position: relative; margin-bottom: 18px; }
.ad-unit .ad-label {
  position: absolute; top: 4px; right: 6px; font-size: 10px;
  color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.35);
  padding: 1px 6px; border-radius: 3px; pointer-events: none;
}
/* 广告标注徽章 */
.ad-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 1px 6px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.5px;
}
/* 侧边栏广告（side-ad 样式已存在，仅追加新标记） */
a.side-ad { display: block; border-radius: var(--radius, 8px); overflow: hidden; position: relative; }
a.side-ad img { display: block; width: 100%; }
.side-ad-body { padding: 10px 12px; background: #f8f9fb; }
.side-ad-body strong { display: block; font-size: 14px; color: var(--text-main, #222); margin-bottom: 4px; }

/* ========== 首页横幅广告 ========== */
.home-banner-top {
  padding: 16px 0 0;
}
.home-banner-mid {
  margin-bottom: 16px;
}
.home-banner-bottom {
  margin-top: 0;
}
/* 全宽横幅 */
.banner-ad-full {
  display: block;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.banner-ad-full:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}
.banner-ad-full img {
  display: block;
  width: 100%;
  height: auto;
}

/* 双列组合横幅 */
.home-banner-multi-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.banner-ad-col2 {
  display: block;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.banner-ad-col2:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}
.banner-ad-col2 img {
  display: block;
  width: 100%;
  height: auto;
}

/* 三列组合横幅 */
.home-banner-multi-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.banner-ad-col3 {
  display: block;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.banner-ad-col3:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}
.banner-ad-col3 img {
  display: block;
  width: 100%;
  height: auto;
}

/* 响应式：双列/三列在移动端改为单列 */
@media (max-width: 768px) {
  .home-banner-multi-2col {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .home-banner-multi-3col {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ========== 广告投放价格页 ========== */
.ads-hero {
  position: relative;
  padding: 48px 0 56px;
  color: #FFF;
  background:
    radial-gradient(1200px 300px at 90% -50%, rgba(255,255,255,0.16), transparent 60%),
    linear-gradient(135deg, #C0392B 0%, #9E2B1E 60%, #7E2116 100%);
  overflow: hidden;
}
.ads-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 0h80v80H0z' fill='none'/%3E%3Ccircle cx='40' cy='40' r='38' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ads-hero .container { position: relative; z-index: 1; }
.ads-breadcrumb { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.ads-breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.15s; }
.ads-breadcrumb a:hover { color: #FFF; }
.ads-breadcrumb .current { color: #FFF; }
.ads-breadcrumb i { color: rgba(255,255,255,0.5); }
.ads-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ads-hero-text { flex: 1; min-width: 300px; }
.ads-hero-text h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
  line-height: 1.25;
}
.ads-hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin-bottom: 26px;
}
.ads-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ads-hero-stats {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.ads-hero-stats .stat {
  min-width: 108px;
  text-align: center;
  padding: 16px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.ads-hero-stats .stat b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.ads-hero-stats .stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

/* 按钮（仅作用于广告页内，避免污染全局 .btn） */
.ads-hero .btn,
.ads-cta .btn,
.pkg-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.4;
}
.ads-hero .btn-light,
.ads-cta .btn-light { background: #FFF; color: var(--primary); }
.ads-hero .btn-light:hover,
.ads-cta .btn-light:hover { background: #F3E5E2; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.ads-hero .btn-outline-light {
  background: transparent; color: #FFF;
  border-color: rgba(255,255,255,0.6);
}
.ads-hero .btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #FFF; }
.btn-lg { padding: 12px 36px !important; font-size: 15px !important; }

/* 分区 */
.ads-section { padding: 56px 0; }
.ads-section-alt { background: #F0EFE9; }
.ads-section-head { text-align: center; margin-bottom: 36px; }
.ads-section-head h2 {
  font-size: 28px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.ads-section-head h2::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 46px; height: 3px;
  border-radius: 2px;
  background: var(--primary);
}
.ads-section-head p {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 14px;
}

/* 广告位分组 */
.ads-group { margin-bottom: 48px; }
.ads-group:last-child { margin-bottom: 0; }
.ads-group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.ads-group-head h2 { font-size: 21px; font-weight: 700; }
.ads-group-head p { color: var(--text-sub); font-size: 13px; }
.ads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ads-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ads-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  border-color: #C8B8B0;
}
.ads-card-hot { border-color: var(--primary); }
.ads-hot-tag {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: var(--primary);
  color: #FFF;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(192,57,43,0.4);
}
.ads-preview {
  position: relative;
  height: 92px;
  margin: 12px 12px 0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #9A8F89;
  background:
    linear-gradient(135deg, rgba(192,57,43,0.05), rgba(37,99,235,0.04)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(0,0,0,0.02) 10px 20px);
  border: 1.5px dashed #D8D2CB;
}
.ads-preview i { font-size: 20px; opacity: 0.7; }
.ads-preview-size {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.ads-preview-unit { font-size: 11px; color: var(--text-sub); }
.ads-card-body { padding: 12px 14px 4px; flex: 1; }
.ads-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-sub);
}
.ads-meta span { display: flex; align-items: center; gap: 6px; }
.ads-meta i { color: var(--primary); font-size: 11px; width: 14px; text-align: center; }
.ads-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #F0ECE6;
  background: #FBF9F5;
}
.ads-price { display: flex; align-items: baseline; gap: 3px; }
.ads-price b {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.ads-price i {
  font-style: normal;
  font-size: 12px;
  color: var(--text-sub);
}
.ads-book {
  padding: 7px 18px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.ads-book:hover { background: var(--primary); color: #FFF; }

/* 套餐 */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px 26px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.pkg-popular {
  background: linear-gradient(160deg, #C0392B 0%, #8E2A1D 100%);
  color: #FFF;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(192,57,43,0.32);
}
.pkg-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: #F5C518;
  color: #7A5B00;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(245,197,24,0.4);
}
.pkg-name { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.pkg-tag { font-size: 12px; opacity: 0.85; margin-bottom: 18px; }
.pkg-popular .pkg-tag { opacity: 0.85; }
.pkg-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 20px; }
.pkg-price b { font-size: 40px; font-weight: 800; line-height: 1; }
.pkg-price i { font-style: normal; font-size: 13px; opacity: 0.8; }
.pkg-features { flex: 1; text-align: left; margin-bottom: 20px; }
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(128,128,128,0.22);
}
.pkg-features li:last-child { border-bottom: none; }
.pkg-features i { color: var(--primary); margin-top: 3px; font-size: 13px; }
.pkg-popular .pkg-features i { color: #F5C518; }
.pkg-original { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; font-size: 12px; }
.pkg-old { color: #A9A29B; text-decoration: line-through; }
.pkg-save {
  color: #16A34A;
  font-weight: 700;
  background: #EAF7EE;
  padding: 2px 10px;
  border-radius: 12px;
}
.pkg-popular .pkg-save { color: #FFF; background: rgba(255,255,255,0.18); }
.pkg-card .btn { width: 100%; }
.pkg-card .btn-primary { background: var(--primary); color: #FFF; }
.pkg-card .btn-primary:hover { background: #A32F22; }
.pkg-card .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.pkg-card .btn-outline:hover { background: var(--primary); color: #FFF; }
.pkg-popular .pkg-btn { background: #FFF; color: var(--primary); }
.pkg-popular .pkg-btn:hover { background: #F3E5E2; transform: translateY(-2px); }

/* 增值服务 */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.svc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.09); }
.svc-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--primary);
  background: #FBE9E5;
  border-radius: 12px;
}
.svc-body { flex: 1; min-width: 0; }
.svc-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.svc-body p { font-size: 12.5px; color: var(--text-sub); line-height: 1.55; }
.svc-price { text-align: right; flex-shrink: 0; }
.svc-price b { display: block; font-size: 19px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.svc-price i { font-style: normal; font-size: 11.5px; color: var(--text-sub); }

/* 投放流程 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.step-item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px 20px;
}
.step-item::after {
  content: '';
  position: absolute;
  top: 44px; right: -10px;
  width: 20px; height: 20px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: rotate(45deg);
  background: var(--card);
  z-index: 1;
}
.step-item:last-child::after { display: none; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  background: #FBE9E5;
  border-radius: 12px;
  margin-bottom: 14px;
}
.step-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: 12.5px; color: var(--text-sub); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #C8B8B0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex-shrink: 0;
  color: var(--text-sub);
  font-size: 13px;
  transition: transform 0.25s;
}
.faq-item[open] summary i { transform: rotate(180deg); color: var(--primary); }
.faq-item p {
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* CTA */
.ads-cta {
  padding: 64px 0;
  text-align: center;
  color: #FFF;
  background:
    radial-gradient(900px 260px at 50% -40%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, #C0392B 0%, #8E2A1D 100%);
}
.ads-cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.ads-cta > .container > p { font-size: 15px; color: rgba(255,255,255,0.9); margin-bottom: 28px; }
.ads-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ads-cta-contact {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
  color: rgba(255,255,255,0.92);
}
.ads-cta-contact span { display: inline-flex; align-items: center; gap: 8px; }
.ads-cta-contact i { color: #F5C518; }

/* 广告价格页响应式 */
@media (max-width: 1024px) {
  .ads-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pkg-popular { order: -1; }
  .svc-grid { grid-template-columns: 1fr; max-width: 560px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-item::after { display: none; }
}
@media (max-width: 768px) {
  .ads-hero { padding: 36px 0 42px; }
  .ads-hero-text h1 { font-size: 28px; }
  .ads-hero-inner { flex-direction: column; align-items: stretch; }
  .ads-hero-stats { width: 100%; }
  .ads-hero-stats .stat { flex: 1; min-width: 0; }
  .ads-section { padding: 42px 0; }
  .ads-section-head h2 { font-size: 23px; }
  .ads-group-head { flex-direction: column; gap: 4px; }
  .ads-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 420px; }
  .svc-card { flex-direction: column; text-align: center; }
  .svc-price { text-align: center; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .ads-hero-stats { flex-wrap: wrap; }
  .ads-hero-stats .stat { min-width: 45%; }
}
