.showcase-img img,
.product-img img,
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.hero-badge .icon { width: 1.15em; height: 1.15em; vertical-align: -0.2em; }
.blog-meta .icon { width: 0.95em; height: 0.95em; vertical-align: -0.1em; margin-right: 2px; }
.slot-badge .icon { width: 1em; height: 1em; vertical-align: -0.15em; }
#back-to-top .icon, .sidebar-close .icon { width: 20px; height: 20px; vertical-align: 0; }
.load-more-btn .icon, .collapse-btn .icon { vertical-align: -0.2em; }
.btn-gold .icon { vertical-align: -0.2em; margin-right: 4px; }

:root {
  --primary: #8b1a3b;
  --primary-dark: #6b0f2a;
  --accent: #c9a96e;
  --accent-light: #e8d5a8;
  --bg: #fff8f3;
  --bg-card: #ffffff;
  --bg-dark: #2a1520;
  --text: #2c1810;
  --text-light: #6b5544;
  --text-muted: #9b8a7c;
  --border: #f0e6dc;
  --shadow: 0 4px 20px rgba(139, 26, 59, 0.08);
  --shadow-hover: 0 8px 30px rgba(139, 26, 59, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --gold-gradient: linear-gradient(135deg, #d4af7e 0%, #b8944f 100%);
  --maroon-gradient: linear-gradient(135deg, #8b1a3b 0%, #6b0f2a 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.3s; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.top-bar {
  background: var(--maroon-gradient);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-right: auto; }
.top-bar-links a { color: rgba(255,255,255,0.85); }
.top-bar-links a:hover { color: var(--accent-light); }
.top-bar-hotline { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.top-bar-hotline .icon { width: 14px; height: 14px; }
.lang-switch {
  display: flex; gap: 6px; align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 20px; padding: 3px 6px;
}
.lang-switch a {
  background: transparent; border: none; color: rgba(255,255,255,0.8);
  cursor: pointer; font-size: 12px; padding: 2px 8px; border-radius: 15px;
  transition: all 0.3s; text-decoration: none;
}
.lang-switch a.active { background: var(--accent); color: var(--primary-dark); font-weight: 600; }
.lang-switch a:hover { color: var(--accent-light); }

/* ===== 顶部登录 / 用户区 ===== */
.user-area { position: relative; display: flex; align-items: center; }
.user-login-wrap, .user-menu-wrap { position: relative; display: flex; align-items: center; }
.user-login-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px; padding: 4px 14px; font-size: 12px; cursor: pointer;
  font-family: inherit; transition: all 0.3s;
}
.user-login-btn .icon { width: 13px; height: 13px; }
.user-login-btn:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.login-pop {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 1000;
  width: 250px; background: #fff; border-radius: 14px; padding: 18px 18px 16px;
  box-shadow: 0 14px 40px rgba(42,21,32,0.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.login-pop::before {
  content: ''; position: absolute; top: -6px; right: 26px;
  width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.login-pop::after { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.user-login-wrap:hover .login-pop, .user-login-wrap:focus-within .login-pop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.lp-title { font-size: 14px; font-weight: 700; color: #1a0f15; margin-bottom: 12px; text-align: center; }
.lp-list { list-style: none; margin: 0 0 14px; padding: 0; }
.lp-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; padding: 5px 0; }
.lp-list .icon { width: 15px; height: 15px; color: #ff7a00; flex-shrink: 0; }
.lp-btn {
  width: 100%; border: none; cursor: pointer; font-family: inherit;
  background: linear-gradient(135deg, #ff9a3d 0%, #ff6a00 100%); color: #fff;
  font-size: 14px; font-weight: 600; padding: 10px 0; border-radius: 22px;
  transition: all 0.3s;
}
.lp-btn:hover { box-shadow: 0 6px 18px rgba(255,106,0,0.4); transform: translateY(-1px); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6);
  background: var(--gold-gradient); color: var(--primary-dark); font-size: 14px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.3s; padding: 0; font-family: inherit; overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.user-menu-wrap:hover .user-avatar { border-color: var(--accent); }
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 1000;
  width: 220px; background: #fff; border-radius: 14px; padding: 8px;
  box-shadow: 0 14px 40px rgba(42,21,32,0.22);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.user-dropdown::before {
  content: ''; position: absolute; top: -6px; right: 12px;
  width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.user-dropdown::after { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.user-menu-wrap:hover .user-dropdown, .user-menu-wrap:focus-within .user-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.ud-head { padding: 12px 12px 10px; border-bottom: 1px solid #f2e9ec; margin-bottom: 6px; }
.ud-row { font-size: 13px; color: #333; line-height: 1.9; }
.ud-label { color: #999; }
.ud-name { font-weight: 700; color: #1a0f15; }
.ud-role { color: var(--primary); font-weight: 600; }
.ud-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #444; padding: 9px 12px; border-radius: 8px;
  transition: all 0.2s; text-decoration: none;
}
.ud-item .icon { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }
.ud-item:hover { background: rgba(139,26,59,0.06); color: var(--primary); }
.ud-logout { color: #d93025; }
.ud-logout .icon { color: #d93025; }
.ud-logout:hover { background: rgba(217,48,37,0.06); color: #d93025; }

.header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 100;
}
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--maroon-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; letter-spacing: 1px;
}
.logo-text .brand { font-size: 20px; font-weight: 700; color: var(--primary); }
.logo-text .sub { font-size: 11px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-weight: 500; color: var(--text); font-size: 15px; position: relative; }
.nav a:hover { color: var(--primary); }
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after { width: 100%; }

.btn-primary {
  background: var(--maroon-gradient); color: #fff; border: none;
  padding: 12px 24px; border-radius: 30px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,26,59,0.3); color: #fff; }
.nav a.btn-primary,
.nav a.btn-primary:hover { color: #fff; }
.nav a.btn-primary::after { display: none; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 4px; }
@media (min-width: 769px) { .header-actions { display: none; } }
.search-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--primary); padding: 8px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all 0.3s;
}
.search-toggle:hover { background: rgba(139,26,59,0.08); color: var(--accent); }
.search-toggle .icon { width: 20px; height: 20px; }
.nav .search-toggle { margin-right: -18px; }
.search-toggle-mobile { display: none; }

.search-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  background: #fff; box-shadow: 0 16px 32px rgba(42,21,32,0.14);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.search-panel.open { max-height: 140px; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 18px 0; max-width: 1160px; margin: 0 auto; }
.search-form input {
  flex: 1; border: 1px solid var(--border); border-radius: 30px;
  padding: 14px 26px; font-size: 15px; outline: none; background: #fafafa;
  transition: all 0.3s;
}
.search-form input:focus { border-color: var(--accent); background: #fff; }
.search-submit {
  background: var(--maroon-gradient); color: #fff; border: none;
  padding: 12px 30px; border-radius: 30px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.search-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(139,26,59,0.25); }

.announcement {
  background: linear-gradient(90deg, #fdf6ee 0%, #fef0e6 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 12px 0; font-size: 14px;
}
.announcement .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.announcement-label {
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 4px; letter-spacing: 1px; text-transform: uppercase; flex-shrink: 0;
}
.announcement-text { color: var(--text); }
.announcement-scroll {
  flex: 1; min-width: 0; height: 28px; overflow: hidden; position: relative;
}
.announcement-list {
  list-style: none; margin: 0; padding: 0;
  animation: announce-scroll 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.announcement-list li {
  height: 28px; line-height: 28px;
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap; overflow: hidden;
}
.announcement-list .ann-link {
  color: var(--text); text-decoration: none;
  overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
  transition: color 0.2s;
}
.announcement-list .ann-link:hover { color: var(--primary); }
.announcement-list .ann-date {
  flex-shrink: 0; color: var(--text-muted); font-size: 12px;
}
.announcement-scroll:hover .announcement-list { animation-play-state: paused; }
@keyframes announce-scroll {
  0%, 13%   { transform: translateY(0); }
  20%, 33%  { transform: translateY(-28px); }
  40%, 53%  { transform: translateY(-56px); }
  60%, 73%  { transform: translateY(-84px); }
  80%, 93%  { transform: translateY(-112px); }
  100%      { transform: translateY(-140px); }
}
@media (max-width: 640px) {
  .announcement-list .ann-date { display: none; }
}

.hero {
  color: #fff;
  position: relative; overflow: hidden;
  min-height: 480px;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide .hero-mask {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(42,21,32,0.88) 0%, rgba(107,15,42,0.62) 55%, rgba(42,21,32,0.45) 100%);
}
.hero-slide .container {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
  padding: 70px 0;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; z-index: 1;
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,169,110,0.25) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-content { max-width: 720px; }
.hero-slide .hero-content {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s ease 0.25s, transform 0.8s ease 0.25s;
}
.hero-slide.active .hero-content { opacity: 1; transform: translateY(0); }
.hero-badge {
  display: inline-block; background: linear-gradient(135deg, var(--accent), #e8c789);
  color: var(--primary-dark); font-size: 13px; font-weight: 700;
  padding: 8px 20px; border-radius: 24px; margin-bottom: 18px;
  letter-spacing: 1px; box-shadow: 0 4px 14px rgba(201,169,110,0.4);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.hero p { font-size: clamp(15px, 2vw, 18px); opacity: 0.9; max-width: 700px; margin-bottom: 22px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-btn-primary {
  background: var(--gold-gradient); color: var(--primary-dark);
  font-weight: 700; font-size: 15px; padding: 14px 32px; border-radius: 30px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s; box-shadow: 0 4px 16px rgba(201,169,110,0.4);
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.55); }
.hero-btn-secondary {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6);
  font-weight: 600; font-size: 15px; padding: 12px 28px; border-radius: 30px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-arrow .icon { width: 26px; height: 26px; }

.hero-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 10px; align-items: center;
}
.hero-dots .dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.45); border: none; cursor: pointer;
  transition: all 0.3s;
}
.hero-dots .dot.active { background: var(--accent); width: 30px; border-radius: 6px; }

.hero-stats-bar {
  background: #fff; padding: 30px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(43,24,16,0.05);
  position: relative; z-index: 4;
}
.hero-stats { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.hero-stat .label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

@media (max-width: 640px) {
  .hero { min-height: 420px; }
  .hero-arrow { display: none; }
  .hero-slide .container { padding: 60px 20px 80px; }
  .hero-stat .num { font-size: 28px; }
}

.section { padding: 50px 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 12px; }
.section-title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--primary); position: relative; padding-left: 16px; }
.section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 70%; background: var(--accent); border-radius: 2px; }
.section-sub { font-size: 14px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.section-link { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.section-link:hover { color: var(--accent); }

.legend { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; font-size: 13px; color: var(--text-light); }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; }
.legend-dot.diamond { background: var(--gold-gradient); }
.legend-dot.premium { background: var(--primary); }
.legend-dot.standard { background: #8b6f4e; }
.legend-dot.directory { background: #d4b896; }

.ad-preview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-bottom: 8px;
}
.ad-preview-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/2; display: block; text-decoration: none; color: #fff;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow); transition: all 0.35s;
}
.ad-preview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ad-mask {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(42,21,32,0.88) 0%, rgba(107,15,42,0.4) 60%, transparent 100%);
}
.ad-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(201,169,110,0.92); color: var(--primary-dark);
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 6px;
  letter-spacing: 0.5px;
}
.ad-info {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
}
.ad-info h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.ad-info p { font-size: 13px; opacity: 0.9; margin: 0; }

@media (max-width: 768px) {
  .ad-preview-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ad-info h4 { font-size: 15px; }
}
@media (max-width: 480px) {
  .ad-preview-grid { grid-template-columns: 1fr; }
}

.diamond-carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 21/9; margin-bottom: 16px;
  background: linear-gradient(135deg, #2a1520 0%, #4a2535 100%);
}
.diamond-slides { position: absolute; inset: 0; }
.diamond-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  text-decoration: none; color: #fff; display: block;
  pointer-events: none;
}
.diamond-slide.active { opacity: 1; pointer-events: auto; }
.diamond-slide .diamond-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diamond-slide .slot-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 14px; border-radius: 6px; letter-spacing: 1px;
}
.diamond-slide-content {
  position: absolute; left: 36px; bottom: 40px; z-index: 2; max-width: 60%;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease 0.25s, transform 0.8s ease 0.25s;
}
.diamond-slide.active .diamond-slide-content { opacity: 1; transform: translateY(0); }
.diamond-slide-content h3 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.diamond-slide-content p { font-size: 15px; opacity: 0.9; margin: 0; }

.diamond-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; backdrop-filter: blur(4px);
}
.diamond-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.diamond-prev { left: 18px; }
.diamond-next { right: 18px; }
.diamond-arrow .icon { width: 24px; height: 24px; }
.diamond-play {
  position: absolute; top: 50%; left: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.75); cursor: pointer;
  background: rgba(0,0,0,0.45); color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, transform 0.3s ease;
}
.diamond-play .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.diamond-play .dp-play { display: block; margin-left: 3px; }
.diamond-play .dp-pause { display: none; }
.diamond-play.paused .dp-play { display: none; }
.diamond-play.paused .dp-pause { display: block; }
.diamond-play:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }

.diamond-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 10px; align-items: center;
}
.diamond-dots .dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.45); border: none; cursor: pointer;
  transition: all 0.3s;
}
.diamond-dots .dot.active { background: var(--accent); width: 28px; border-radius: 6px; }

@media (max-width: 640px) {
  .diamond-carousel { aspect-ratio: 16/11; }
  .diamond-slide-content { left: 20px; bottom: 28px; max-width: 80%; }
  .diamond-slide-content h3 { font-size: 20px; }
  .diamond-slide-content p { font-size: 13px; }
  .diamond-arrow { display: none; }
}

.premium-carousel { position: relative; padding-bottom: 30px; }
.premium-scroll {
  overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.premium-scroll::-webkit-scrollbar { display: none; }
.premium-track { display: flex; gap: 16px; }
.premium-slot {
  flex: 0 0 calc((100% - 48px) / 4);
  width: calc((100% - 48px) / 4);
  scroll-snap-align: start;
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; aspect-ratio: 4/3;
  transition: all 0.4s; text-decoration: none; color: #fff;
  background-size: cover; background-position: center;
}
.premium-slot .ad-mask {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(42,21,32,0.85) 0%, rgba(107,15,42,0.35) 55%, transparent 100%);
  transition: background 0.4s;
}
.premium-slot .slot-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(201,169,110,0.92); color: var(--primary-dark);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 5px;
  letter-spacing: 0.5px;
}
.premium-slot .slot-info {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  opacity: 0; transform: translateY(10px); transition: all 0.4s;
}
.premium-slot .slot-info h4 { font-size: 15px; color: #fff; font-weight: 700; margin: 0 0 3px; }
.premium-slot .slot-info span { font-size: 11px; color: rgba(255,255,255,0.8); }
.premium-slot:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.premium-slot:hover .ad-mask { background: linear-gradient(0deg, rgba(42,21,32,0.92) 0%, rgba(107,15,42,0.6) 55%, rgba(42,21,32,0.2) 100%); }
.premium-slot:hover .slot-info { opacity: 1; transform: translateY(0); }

.premium-arrow {
  position: absolute; top: calc(50% - 27px); transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  color: var(--primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; box-shadow: var(--shadow);
}
.premium-arrow:hover { background: var(--primary); color: #fff; }
.premium-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.premium-arrow:disabled:hover { background: #fff; color: var(--primary); }
.premium-prev { left: -8px; }
.premium-next { right: -8px; }
.premium-arrow .icon { width: 22px; height: 22px; }

.premium-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.premium-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: var(--border); border: none; cursor: pointer;
  transition: all 0.3s;
}
.premium-dots .dot.active { background: var(--primary); width: 24px; border-radius: 5px; }

@media (max-width: 640px) {
  .premium-slot { flex: 0 0 calc((100% - 16px) / 2); width: calc((100% - 16px) / 2); }
  .premium-prev { left: 0; }
  .premium-next { right: 0; }
}

.standard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.standard-slot {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow); transition: all 0.3s; aspect-ratio: 3/2;
  text-decoration: none; color: #fff;
  background-size: cover; background-position: center;
}
.standard-slot .ad-mask {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(42,21,32,0.85) 0%, rgba(107,15,42,0.35) 55%, transparent 100%);
  transition: background 0.3s;
}
.standard-slot .slot-label {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(201,169,110,0.92); color: var(--primary-dark);
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.5px;
}
.standard-slot .slot-info {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: all 0.3s;
}
.standard-slot .slot-info h4 { font-size: 13px; color: #fff; font-weight: 600; margin: 0; }
.standard-slot:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.standard-slot:hover .ad-mask { background: linear-gradient(0deg, rgba(42,21,32,0.92) 0%, rgba(107,15,42,0.6) 55%, rgba(42,21,32,0.2) 100%); }
.standard-slot:hover .slot-info { opacity: 1; transform: translateY(0); }

.infinite-section-hint {
  text-align: center; padding: 10px; color: var(--text-muted); font-size: 13px;
  border-top: 1px dashed var(--border); margin-top: 16px;
}
.infinite-controls {
  margin-top: 32px; display: flex;
  flex-direction: column; align-items: center;
  gap: 12px; width: 100%;
}
.load-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 30px; font-weight: 700; font-size: 15px;
  transition: all 0.3s; cursor: pointer; border: none;
}
.load-more-btn:hover { transform: translateY(-2px); }
.load-more-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.collapse-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px; border-radius: 30px; font-weight: 600; font-size: 15px;
  transition: all 0.3s; cursor: pointer;
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.collapse-btn:hover { background: var(--primary); color: #fff; }
.infinite-count {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
  background: rgba(201,169,110,0.1); padding: 6px 14px;
  border-radius: 16px; letter-spacing: 0.5px;
}
.infinite-slot-added {
  animation: slot-appear 0.45s ease-out;
}
@keyframes slot-appear {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-section { padding: 50px 0; }
.product-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
/* 移动端：分类横向滑动 */
@media (max-width: 768px) {
  .product-tabs {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 4px;
  }
  .product-tabs::-webkit-scrollbar { display: none; }
  .product-tab { flex-shrink: 0; white-space: nowrap; }
}
.product-tab {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  padding: 8px 20px; border-radius: 20px; cursor: pointer; font-size: 14px;
  transition: all 0.3s; font-weight: 500;
  text-decoration: none; display: inline-block; line-height: 1.4;
}
.product-tab:hover { border-color: var(--primary); color: var(--primary); }
.product-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.4s; cursor: pointer;
  display: block;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-img {
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #fdf6ee 0%, #f5ead8 100%);
}
.product-img .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.product-img .ph.p1 { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.product-img .ph.p2 { background: linear-gradient(135deg, #e1f5fe, #b3e5fc); }
.product-img .ph.p3 { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.product-img .ph.p4 { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.product-img .ph.p5 { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.product-info { padding: 16px; }
.product-info h4 {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 10px; line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-info .product-meta { display: flex; justify-content: space-between; align-items: center; }
.product-info .price { font-size: 16px; color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.product-info .price small { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.product-info .sales { font-size: 12px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 3px; }
.product-info .sales .icon { width: 13px; height: 13px; color: var(--accent); }
.product-info .price .icon { width: 14px; height: 14px; color: var(--primary); }

.company-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.company-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.company-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.company-img {
  background: #faf5f0;
  border-bottom: 2px solid var(--accent);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.company-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.company-card:hover .company-img img { transform: scale(1.06); }
.company-details {
  padding: 10px 12px; text-align: center;
}
.company-details .name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 6px; }
.company-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
}
.company-meta .icon { width: 12px; height: 12px; vertical-align: -2px; margin-right: 2px; }
.company-city, .company-views { display: inline-flex; align-items: center; }

.blog-section { background: linear-gradient(180deg, #fdf6ee 0%, #fff8f3 100%); padding: 50px 0; }
.blog-section .section-title { color: var(--primary); }
.blog-section .section-title::before { background: linear-gradient(180deg, #8b1a3b, #c9a96e); }

.news-layout { display: flex; gap: 24px; align-items: stretch; }
.news-featured {
  flex: 0 0 45%; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.news-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-featured-img { aspect-ratio: 16/10; overflow: hidden; background: #f0e6da; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-featured:hover .news-featured-img img { transform: scale(1.05); }
.news-featured-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.news-featured-body h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.news-featured-meta { font-size: 13px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; }
.news-featured-meta .icon { width: 14px; height: 14px; }

.news-list { flex: 1; display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-bottom: 1px solid var(--border); transition: background 0.2s;
  text-decoration: none; color: inherit;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: rgba(139,26,59,0.04); }
.news-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--text-muted);
}
.news-item:nth-child(1) .news-num { background: #8b1a3b; }
.news-item:nth-child(2) .news-num { background: #a03553; }
.news-item:nth-child(3) .news-num { background: #c9a96e; }
.news-item-body { flex: 1; min-width: 0; }
.news-item-body h5 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-date { flex-shrink: 0; font-size: 12px; color: var(--text-muted); }

@media (max-width: 900px) {
  .news-layout { flex-direction: column; }
  .news-featured { flex: none; }
}

/* 新闻列表页：左图右文卡片 */
.news-cards { display: flex; flex-direction: column; gap: 16px; }
.news-card {
  display: flex; gap: 20px; padding: 16px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-card-img {
  flex: 0 0 240px; aspect-ratio: 16/10; border-radius: calc(var(--radius) - 2px);
  overflow: hidden; background: #f0e6da;
}
.news-card-img a { display: block; width: 100%; height: 100%; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.08); }
.news-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-card-body h4 {
  font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.45; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.2s;
}
.news-card-body h4 a { color: inherit; text-decoration: none; }
.news-card:hover .news-card-body h4 a { color: var(--primary); }
.news-card-body p {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.news-card-tags .news-cat-tag {
  margin-bottom: 0; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 15px; font-size: 12px; line-height: 1.4;
  background: #f5f0eb; color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.news-card-tags .news-cat-tag:hover { background: rgba(139,26,59,0.08); color: var(--primary); }
.news-card-meta { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--text-muted); }
.news-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-card-meta .icon { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .news-card-img { flex-basis: 200px; }
}
@media (max-width: 640px) {
  .news-card { flex-direction: column; gap: 12px; padding: 12px; }
  .news-card-img { flex: none; width: 100%; }
}
.blog-intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.blog-intro h3 { font-size: clamp(20px, 2.5vw, 28px); color: var(--primary); margin-bottom: 12px; }
.blog-intro p { font-size: 15px; color: var(--text-light); line-height: 1.8; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-image { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, #f0e6d9, #e8d5b7); display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--primary); }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { display: inline-block; background: rgba(201,169,110,0.15); color: var(--accent); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; align-self: flex-start; }
.blog-body h4 { font-size: 16px; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.blog-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.blog-meta span { display: inline-flex; align-items: center; gap: 4px; }
.blog-featured { background: linear-gradient(135deg, #2a1520 0%, #4a1a2a 100%); border-radius: var(--radius); padding: 36px; color: #fff; margin-bottom: 32px; box-shadow: 0 8px 30px rgba(107,15,42,0.25); }
.blog-featured h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; color: #fff; }
.blog-featured h3 .highlight { color: var(--accent); }
.blog-featured p { font-size: 15px; opacity: 0.9; margin-bottom: 20px; line-height: 1.7; }
.blog-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.blog-stat { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 16px; text-align: center; }
.blog-stat .num { font-size: 26px; font-weight: 800; color: var(--accent); display: block; }
.blog-stat .label { font-size: 12px; opacity: 0.8; }

.showcase-header {
  text-align: center; margin: 8px 0 20px; padding-top: 14px;
  border-top: 1px dashed rgba(139,26,59,0.25); position: relative;
}
.showcase-header::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.showcase-header h3 {
  font-size: clamp(20px, 2.5vw, 28px); color: var(--primary);
  font-weight: 800; margin-bottom: 8px; letter-spacing: 0.5px;
}
.showcase-header p {
  font-size: 13px; color: var(--text-muted);
}
.showcase-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px;
}
.showcase-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all 0.35s; cursor: pointer; display: flex; flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.showcase-img {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  font-size: 56px; position: relative; overflow: hidden;
}
.showcase-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.08) 0%, transparent 50%);
}
.showcase-img-1 { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.showcase-img-2 { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.showcase-img-3 { background: linear-gradient(135deg, #fce4ec, #f8d7da); }
.showcase-img-4 { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.showcase-img-5 { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); }
.showcase-img-6 { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.showcase-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.showcase-brand {
  font-size: 11px; font-weight: 700; color: var(--accent);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px;
}
.showcase-body h4 {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 6px; line-height: 1.4;
}
.showcase-body p {
  font-size: 12px; color: var(--text-light); line-height: 1.55;
  margin-bottom: 10px; flex: 1;
}
.showcase-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--border);
}
.showcase-price {
  font-size: 15px; font-weight: 700; color: var(--primary);
}
.showcase-price small { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.showcase-view {
  font-size: 12px; font-weight: 600; color: var(--primary);
  transition: all 0.3s;
}
.showcase-card:hover .showcase-view { color: var(--accent); }

.cta-section {
  background: var(--maroon-gradient);
  padding: 50px 0; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(201,169,110,0.3) 0%, transparent 50%);
}
.cta-section .container { position: relative; z-index: 2; text-align: center; }
.cta-section h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.cta-section p { opacity: 0.9; margin-bottom: 24px; font-size: 16px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold-gradient); color: var(--primary-dark); border: none;
  padding: 14px 32px; border-radius: 30px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,169,110,0.4); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 30px; border-radius: 30px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

.footer {
  background: #1a0f15; color: rgba(255,255,255,0.7); padding: 50px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .logo-icon { width: 38px; height: 38px; font-size: 14px; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-hotline { font-size: 14px; }
.footer-hotline strong { color: var(--accent-light); font-size: 18px; display: block; margin-bottom: 4px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  text-align: center; font-size: 13px;
}
.footer-bottom a { color: var(--accent-light); }
/* 移动端：版权避让右侧悬浮箭头 */
@media (max-width: 640px) {
  .footer-bottom { padding-right: 56px; padding-left: 16px; }
}

/* ===== 页脚社交图标 ===== */
.footer-social {
  display: flex; justify-content: flex-start; align-items: center;
  gap: 10px; flex-wrap: wrap; padding: 16px 0 0;
}
.social-item {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: #1a0f15; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}
.social-item:hover, .social-item:focus { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.35); outline: none; }
.social-item .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.social-item .icon-stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.social-item .social-text { font-size: 8px; font-weight: 700; color: #1a0f15; letter-spacing: -0.5px; transition: color 0.3s; }
.social-wechat:hover, .social-wechat:focus { background: #07c160; color: #fff; }
.social-douyin:hover, .social-douyin:focus { background: #111; color: #fff; }
.social-channels:hover, .social-channels:focus { background: #fa9d3b; color: #fff; }
.social-xhs:hover, .social-xhs:focus { background: #ff2442; color: #fff; }
.social-weibo:hover, .social-weibo:focus { background: #e6162d; color: #fff; }
.social-twitter:hover, .social-twitter:focus { background: #1da1f2; color: #fff; }
.social-instagram:hover, .social-instagram:focus { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; }
.social-linkedin:hover, .social-linkedin:focus { background: #0a66c2; color: #fff; }
.social-item:hover .social-text, .social-item:focus .social-text { color: #fff; }

.social-qr {
  position: absolute; bottom: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 12px; padding: 10px 10px 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 20; text-align: center; width: 132px;
}
.social-qr img { width: 112px; height: 112px; display: block; margin: 0 auto; border-radius: 6px; }
.social-qr > span { display: block; font-size: 12px; color: #333; font-weight: 600; margin-top: 6px; white-space: nowrap; }
.social-qr::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: #fff;
}
.social-item:hover .social-qr, .social-item:focus .social-qr {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.social-item:first-child .social-qr { left: 0; transform: translateY(8px); }
.social-item:first-child:hover .social-qr, .social-item:first-child:focus .social-qr { transform: translateY(0); }
.social-item:first-child .social-qr::after { left: 17px; }
.social-item:last-child .social-qr { left: auto; right: 0; transform: translateY(8px); }
.social-item:last-child:hover .social-qr, .social-item:last-child:focus .social-qr { transform: translateY(0); }
.social-item:last-child .social-qr::after { left: auto; right: 17px; }

/* ===== 友情链接 ===== */
.footer-friendlinks {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0 20px;
  display: flex; align-items: flex-start; gap: 10px 16px; flex-wrap: wrap;
}
.footer-friendlinks .fl-label { color: #fff; font-weight: 600; font-size: 13px; line-height: 2; flex-shrink: 0; }
.footer-friendlinks .fl-list { display: flex; flex-wrap: wrap; gap: 2px 20px; flex: 1; min-width: 220px; }
.footer-friendlinks a { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 2; }
.footer-friendlinks a:hover { color: var(--accent-light); }

.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: #fff; box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
  padding: 10px 16px; gap: 10px;
  border-top: 1px solid var(--border);
}
.mobile-bar .btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 13px; }

.sidebar {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: #fff; box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  z-index: 200; transition: right 0.3s ease; padding: 24px;
  display: flex; flex-direction: column;
}
.sidebar.open { right: 0; }
.sidebar-close {
  background: none; border: none; cursor: pointer; font-size: 24px;
  align-self: flex-end; color: var(--primary); padding: 4px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.sidebar-nav a {
  padding: 14px 12px; border-radius: 8px; font-weight: 500;
  transition: all 0.2s;
}
.sidebar-nav a:hover { background: var(--bg); color: var(--primary); }
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 150;
  display: none;
}
.sidebar-overlay.show { display: block; }

.back-to-top {
  position: fixed; bottom: 140px; right: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--maroon-gradient); color: #fff; border: none;
  box-shadow: 0 4px 15px rgba(139,26,59,0.3); cursor: pointer;
  display: none; align-items: center; justify-content: center;
  font-size: 20px; transition: all 0.3s;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-bottom {
  position: fixed; bottom: 80px; right: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--maroon-gradient); color: #fff; border: none;
  box-shadow: 0 4px 15px rgba(139,26,59,0.3); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: all 0.3s;
}
.back-to-bottom:hover { transform: translateY(3px); }
.back-to-bottom.hide { display: none; }

/* ===== 右侧悬浮工具栏 ===== */
.float-nav {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 95;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.fn-btn {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: #fff; color: var(--primary); border: 1px solid rgba(139,26,59,0.12);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none; position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.fn-btn .icon { width: 21px; height: 21px; }
.fn-btn:hover {
  background: var(--maroon-gradient); color: #fff; border-color: transparent;
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(139,26,59,0.35);
}
.fn-whatsapp:hover { background: #25d366; box-shadow: 0 8px 22px rgba(37,211,102,0.4); }
.fn-divider { width: 22px; height: 1px; background: rgba(139,26,59,0.2); margin: 2px 0; }
.fn-pop-wrap { position: relative; }
.fn-pop {
  position: absolute; right: 60px; top: 50%; z-index: 2;
  transform: translateY(-50%) translateX(10px);
  background: #fff; border-radius: 12px; padding: 14px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden; white-space: nowrap;
  transition: all 0.3s ease;
}
.fn-pop::after {
  content: ''; position: absolute; right: -5px; top: 50%;
  width: 10px; height: 10px; background: #fff;
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.fn-pop-wrap:hover .fn-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.fn-pop-qr img { width: 140px; height: 140px; aspect-ratio: 1/1; object-fit: cover; max-width: none; border-radius: 8px; display: block; }
.fn-pop-qr span { display: block; text-align: center; font-size: 12px; color: #999; margin-top: 8px; }
.fn-pop-tel { padding: 12px 18px; }
.fn-pop-tel a { display: block; font-size: 18px; font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; }
.fn-pop-tel a:hover { color: var(--primary-dark); }
.fn-pop-tel span { display: block; font-size: 12px; color: #999; margin-top: 4px; }
.float-nav .fn-btn.hide { opacity: 0; visibility: hidden; pointer-events: none; }

@media (max-width: 640px) {
  .float-nav { right: 10px; gap: 8px; }
  .fn-btn { width: 40px; height: 40px; }
  .fn-btn .icon { width: 19px; height: 19px; }
  .fn-pop { right: 52px; }
  /* 移动端仅保留上下箭头 */
  .float-nav .fn-whatsapp,
  .float-nav .fn-pop-wrap,
  .float-nav .fn-divider { display: none; }
}

.page-banner {
  position: relative;
  background-image: linear-gradient(135deg, rgba(139,26,59,0.85), rgba(60,10,30,0.85)), url("https://picsum.photos/seed/banner-products/1920/600");
  background-size: cover; background-position: center;
  color: #fff;
  padding: 100px 0 80px; text-align: center;
}
.page-banner h1 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.page-banner p { font-size: 14px; color: rgba(255,255,255,0.85); letter-spacing: 1px; position: relative; z-index: 1; }

.page-main { padding-top: 30px; padding-bottom: 50px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

.filter-bar {
  background: #fff; border-radius: var(--radius); padding: 18px 20px;
  margin-bottom: 16px; box-shadow: var(--shadow);
}
.filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-row + .filter-row { margin-top: 12px; }
.filter-label { font-size: 13px; color: var(--text-muted); flex-shrink: 0; min-width: 40px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 6px 16px; border-radius: 18px; font-size: 13px;
  background: #f5f0eb; color: var(--text); text-decoration: none;
  border: 1px solid transparent; transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--primary); }
.filter-chip.active { background: var(--maroon-gradient); color: #fff; }

.sort-bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  background: #fff; border-radius: var(--radius); padding: 14px 20px;
  margin-bottom: 20px; box-shadow: var(--shadow);
}
.product-count { font-size: 14px; color: var(--text-muted); }
.product-count strong { color: var(--primary); font-size: 18px; }
.sort-options { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.sort-option {
  padding: 6px 14px; font-size: 13px; color: var(--text);
  text-decoration: none; border-radius: 6px; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 3px;
}
.sort-option .icon { width: 12px; height: 12px; }
.sort-option:hover { color: var(--primary); background: rgba(139,26,59,0.06); }
.sort-option.active { color: var(--primary); font-weight: 600; background: rgba(139,26,59,0.08); }

.product-img { position: relative; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 10px; border-radius: 4px; font-size: 11px;
  font-weight: 700; letter-spacing: 1px; color: #fff;
}
.badge.hot { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.badge.new { background: linear-gradient(135deg, #27ae60, #1e8449); }

.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 36px; flex-wrap: wrap;
}
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; color: var(--text); text-decoration: none;
  background: #fff; transition: all 0.2s;
}
.page-btn:hover:not(.disabled):not(.active) { border-color: var(--accent); color: var(--primary); }
.page-btn.active { background: var(--maroon-gradient); color: #fff; border-color: transparent; }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.page-ellipsis { padding: 0 4px; color: var(--text-muted); }

@media (max-width: 640px) {
  .sort-bar { flex-direction: column; align-items: stretch; }
  .sort-options { justify-content: center; }
  .filter-label { min-width: auto; }
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(5, 1fr); }
  .company-grid { grid-template-columns: repeat(4, 1fr); }
  .premium-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-stats { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .search-toggle-mobile { display: inline-flex; }
  .search-form { gap: 8px; padding: 12px 0; }
  .search-form input { padding: 10px 16px; }
  .search-submit { padding: 10px 18px; }
  .top-bar { font-size: 12px; }
  .top-bar-links { gap: 10px; }
  .top-bar-links a:nth-child(n+3) { display: none; }
  .lang-switch { display: flex; }
  /* 顶栏移动端简化：一行显示、去悬停效果 */
  .top-bar .container { flex-wrap: nowrap; }
  .top-bar-links { display: none; }
  .lang-switch { gap: 4px; }
  .lang-switch a { padding: 2px 6px; font-size: 11px; }
  .user-area { margin-left: auto; }
  .user-login-btn { padding: 4px 12px; font-size: 12px; gap: 0; }
  .user-login-btn .icon { display: none; }
  .login-pop, .user-dropdown { display: none !important; }
  .user-avatar { width: 26px; height: 26px; font-size: 12px; }
  .hero { padding: 40px 0 30px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; margin-bottom: 14px; }
  .hero-cta { flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
  .hero-btn-primary, .hero-btn-secondary { justify-content: center; min-width: 220px; width: auto; padding: 12px 32px; font-size: 14px; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 24px; }
  .section { padding: 40px 0; }
  .premium-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-info { padding: 12px; }
  .product-info h4 { font-size: 13px; }
  .product-info .price { font-size: 14px; }
  .company-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .company-details { padding: 8px 6px; }
  .company-details .name { font-size: 12px; }
  .company-meta { font-size: 10px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { padding: 28px 24px; }
  .blog-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .blog-body { padding: 16px; }
  .blog-body h4 { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-bar { display: flex; }
  /* 底部固定操作栏避让：为 body 增加底部内边距 */
  body { padding-bottom: 70px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn-gold, .cta-buttons .btn-outline { justify-content: center; }
  .legend { gap: 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .header .container { padding: 12px 14px; }
  .logo-text .brand { font-size: 17px; }
  .logo-text .sub { font-size: 10px; }
  .logo-icon { width: 38px; height: 38px; font-size: 14px; }
  .hero h1 { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .company-details .name { font-size: 12px; }
  .plus-icon { width: 38px; height: 38px; font-size: 22px; }
  .premium-grid { grid-template-columns: 1fr 1fr; }
  .standard-grid { grid-template-columns: 1fr 1fr; }
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-stats { grid-template-columns: 1fr; }
  .blog-featured h3 { font-size: 20px; }
  .blog-card { padding: 0; }
  .blog-body p { font-size: 12px; }
  .btn-primary { padding: 10px 18px; font-size: 13px; }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .nav a::after { left: auto; right: 0; }
html[dir="rtl"] .section-title { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .section-title::before { left: auto; right: 0; }
html[dir="rtl"] .top-bar .container { flex-direction: row-reverse; }
html[dir="rtl"] .hero::before { top: -50%; left: -20%; right: auto; }
html[dir="rtl"] .hero-stats { justify-content: flex-end; }
html[dir="rtl"] .hero-cta { justify-content: flex-end; }
html[dir="rtl"] .cta-buttons { justify-content: flex-end; }
html[dir="rtl"] .back-to-top { left: 20px; right: auto; }
html[dir="rtl"] .sidebar { left: -280px; right: auto; }
html[dir="rtl"] .sidebar.open { left: 0; right: auto; }
html[dir="rtl"] .footer-grid { text-align: right; }
html[dir="rtl"] .announcement .container { flex-direction: row-reverse; }
html[dir="rtl"] .lang-switch a { font-family: 'Segoe UI', sans-serif; }

/* ===== 产品详情页 ===== */
.detail-wrap { padding-top: 30px; padding-bottom: 50px; }

.product-detail {
  display: flex; gap: 36px; align-items: flex-start;
  background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}

/* 画廊 */
.detail-gallery { flex: 0 0 460px; max-width: 460px; }

.main-image-wrap { position: relative; overflow: hidden; border-radius: 8px; }

.main-image {
  position: relative; width: 100%; aspect-ratio: 1/1;
  background: #faf6f1; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border);
}
.main-image img,
.main-image video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.zoom-lens {
  position: absolute; pointer-events: none;
  width: 150px; height: 150px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.12);
  display: none; z-index: 6;
}
.zoom-result { display: none !important; }
.main-image-wrap:hover .zoom-lens { display: block; }
.main-image-wrap.is-video:hover .zoom-lens { display: none; }

.thumb-nav { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.thumb-arrow {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--text-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.thumb-arrow:hover { border-color: var(--primary); color: var(--primary); }
.thumb-arrow .icon { width: 14px; height: 14px; }
.thumbnails {
  display: flex; gap: 10px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.thumbnails::-webkit-scrollbar { display: none; }

/* 商家信息卡片 */
.shop-brief {
  display: flex; align-items: center; gap: 12px;
  background: #faf6f1; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 16px; text-decoration: none; color: inherit; transition: all 0.2s;
}
.shop-brief:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.shop-brief-logo { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #fff; }
.shop-brief-logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-brief-info { flex: 1; min-width: 0; }
.shop-brief-info h4 { font-size: 14px; color: var(--text); margin-bottom: 2px; }
.shop-brief-info p { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-brief-link { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.shop-brief-link .icon { width: 14px; height: 14px; }

.thumb {
  position: relative; flex: 0 0 72px; width: 72px; height: 72px;
  border-radius: 6px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color 0.2s;
  background: #faf6f1;
}
.thumb img, .thumb video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.thumb:hover { border-color: var(--accent); }
.thumb.active { border-color: var(--primary); }
.video-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6); color: #fff;
  font-size: 10px; text-align: center; padding: 2px 0;
}

/* 视频中央播放按钮 */
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,0.45); color: #fff; display: none; z-index: 5;
  align-items: center; justify-content: center;
  backdrop-filter: blur(2px); transition: background 0.3s;
}
.video-play-btn:hover { background: rgba(0,0,0,0.62); }
.video-play-btn .icon { width: 30px; height: 30px; fill: #fff; stroke: none; margin-left: 5px; }
.main-image-wrap.is-video .video-play-btn { display: flex; }
/* 大图左右切换箭头 */
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 8;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden; transition: all 0.25s;
}
.main-image-wrap:hover .gallery-arrow { opacity: 1; visibility: visible; }
.gallery-arrow:hover { background: var(--primary); color: #fff; }
.gallery-arrow .icon { width: 20px; height: 20px; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
@media (hover: none), (max-width: 768px) {
  .gallery-arrow { opacity: 1; visibility: visible; }
}

/* 详情页顶部店铺信息条 */
.shop-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 22px; margin-bottom: 20px; box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.shop-bar-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 18px; font-weight: 700; color: var(--text);
}
.shop-bar-name .icon { width: 16px; height: 16px; color: var(--text-muted); }
.shop-bar-name a { color: inherit; text-decoration: none; }
.shop-bar-name a:hover { color: var(--primary); }
.shop-bar-sub { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.shop-bar-sub span { font-size: 13px; color: var(--text-muted); }
.shop-bar-stats { display: flex; align-items: center; gap: 14px 22px; margin-top: 8px; flex-wrap: wrap; }
.shop-bar-stats span { font-size: 12px; color: var(--text-muted); }
.shop-bar-stats strong { color: var(--primary); font-weight: 700; }
.shop-bar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-bar-right { display: flex; align-items: center; gap: 16px; }
.shop-bar-avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--border); display: block; box-shadow: var(--shadow);
}
.shop-bar-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 22px; background: #fff;
  color: var(--text); font-size: 13px; font-weight: 600;
  padding: 8px 18px; text-decoration: none; transition: all 0.25s;
}
.sb-btn .icon { width: 15px; height: 15px; }
.sb-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(139,26,59,0.04); }

/* 信息区 */
.detail-info { flex: 1; min-width: 0; }

.detail-title {
  font-size: 22px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin-bottom: 14px;
}

.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 4px;
  font-size: 12px; color: var(--text-muted);
  background: #f5f0eb; border: 1px solid var(--border);
}
.tag.hot { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; border-color: transparent; }
.tag.new { background: linear-gradient(135deg, #27ae60, #1e8449); color: #fff; border-color: transparent; }

.detail-price-box {
  background: linear-gradient(135deg, #fff7f0, #fdf2e9);
  border-radius: 8px; padding: 18px 20px; margin-bottom: 20px;
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.detail-price { color: var(--primary); font-weight: 700; display: flex; align-items: baseline; gap: 2px; }
.detail-price .currency { font-size: 18px; }
.detail-price .amount { font-size: 36px; line-height: 1; }
.detail-price small { font-size: 13px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.detail-price-note { font-size: 13px; color: var(--text-muted); }

.detail-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px; margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}
.detail-meta > div { display: flex; gap: 8px; font-size: 14px; }
.detail-meta dt { color: var(--text-muted); }
.detail-meta dd { color: var(--text); font-weight: 600; margin: 0; }

.detail-sku { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.sku-label { font-size: 14px; color: var(--text-muted); min-width: 50px; }
.sku-list { display: flex; gap: 8px; flex-wrap: wrap; }
.sku-item {
  padding: 6px 16px; border: 1px solid var(--border); border-radius: 4px;
  font-size: 13px; color: var(--text); text-decoration: none;
  background: #fff; transition: all 0.2s;
}
.sku-item:hover { border-color: var(--accent); }
.sku-item.active { border-color: var(--primary); color: var(--primary); background: rgba(139,26,59,0.06); }

.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.qty-btn {
  width: 36px; height: 36px; border: none; background: #f5f0eb;
  font-size: 18px; cursor: pointer; color: var(--text);
}
.qty-btn:hover { background: #ece3d6; }
.qty-input {
  width: 60px; height: 36px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  text-align: center; font-size: 14px; outline: none;
}

.detail-actions { display: flex; gap: 8px; margin-bottom: 20px; }
.detail-actions .btn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 11px 6px; font-size: 13px; white-space: nowrap; }
.detail-actions .btn .icon { width: 14px; height: 14px; flex-shrink: 0; }
.btn-buy { background: var(--maroon-gradient); color: #fff; padding: 12px 32px; border-radius: 24px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-cart { background: var(--gold-gradient); color: var(--primary-dark); padding: 12px 32px; border-radius: 24px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-fav { border: 1px solid var(--border); padding: 12px 20px; border-radius: 24px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; }
.btn-fav:hover { border-color: var(--primary); color: var(--primary); }
.btn-fav.liked { border-color: var(--primary); color: var(--primary); background: #fdf5f5; }
.btn-fav.liked .icon { fill: currentColor; }
.btn-wa { background: #25D366; color: #fff; padding: 12px 20px; border-radius: 24px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-wa:hover { background: #1fb857; }
.btn-mail { border: 1px solid var(--border); padding: 12px 20px; border-radius: 24px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-mail:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa .icon, .btn-mail .icon { width: 16px; height: 16px; }
.factory-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold-gradient); color: var(--primary-dark);
  font-size: 13px; font-weight: 700; padding: 4px 12px;
  border-radius: 16px; margin-right: 8px;
  box-shadow: 0 2px 8px rgba(201,169,110,0.45);
}
.factory-badge .icon { width: 14px; height: 14px; }

.detail-services {
  display: flex; flex-wrap: wrap; gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.detail-services span { display: inline-flex; align-items: center; gap: 5px; }
.detail-services .icon { width: 15px; height: 15px; color: var(--accent); }

/* 详情描述 */
.detail-desc {
  margin-top: 32px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.desc-tabs { display: flex; border-bottom: 1px solid var(--border); }
.desc-tab {
  padding: 14px 28px; border: none; background: transparent;
  font-size: 15px; color: var(--text-muted); cursor: pointer;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.desc-tab:hover { color: var(--primary); }
.desc-tab.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.desc-content { padding: 28px; }
.desc-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--text); }
.desc-content h3:first-child { margin-top: 0; }
.desc-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 10px; }
.desc-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.desc-images img { width: 100%; border-radius: 8px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table th, .spec-table td {
  padding: 12px 16px; border: 1px solid var(--border); text-align: left; font-size: 14px;
}
.spec-table th { background: #faf6f1; color: var(--text-muted); font-weight: 500; width: 80px; }
.spec-table td { color: var(--text); }

/* 详情 Tab 面板 */
.desc-pane { display: none; }
.desc-pane.active { display: block; }
.supplier-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* 询盘弹窗 */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 12px; width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto; padding: 28px; position: relative;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border: none; background: #f5f0eb; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.modal-close:hover { background: #ece3d6; color: var(--text); }
.modal-close .icon { width: 16px; height: 16px; }
.modal-box h3 { font-size: 20px; color: var(--text); margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.form-row label i { color: #c0392b; font-style: normal; }
.form-row input, .form-row textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 12px; font-size: 14px; outline: none; font-family: inherit;
  transition: border-color 0.2s; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--primary); }
.modal-submit {
  width: 100%; background: var(--maroon-gradient); color: #fff; border: none;
  padding: 12px; border-radius: 24px; font-size: 15px; font-weight: 600;
  cursor: pointer; margin-top: 4px;
}
.inquiry-success { text-align: center; color: #1e8449; font-weight: 600; padding: 30px 0 10px; font-size: 15px; }

/* 相关推荐横向滚动 */
.rp-section { margin-top: 32px; }
.rp-head h3 { font-size: 20px; color: var(--text); margin-bottom: 16px; }
.rp-carousel { position: relative; }
.rp-scroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.rp-scroll::-webkit-scrollbar { display: none; }
.rp-card {
  flex: 0 0 calc((100% - 48px) / 4);
  scroll-snap-align: start;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.rp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.rp-img { aspect-ratio: 1/1; overflow: hidden; background: #f0e6da; }
.rp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.rp-card:hover .rp-img img { transform: scale(1.06); }
.rp-card h4 {
  font-size: 14px; color: var(--text); padding: 12px 14px 8px; line-height: 1.45;
  height: 61px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rp-info { display: flex; justify-content: space-between; align-items: center; padding: 0 14px 14px; }
.rp-price { color: var(--primary); font-weight: 700; font-size: 17px; }
.rp-price small { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.rp-sold { font-size: 12px; color: var(--text-muted); }
.rp-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); color: var(--primary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; box-shadow: var(--shadow);
}
.rp-arrow:hover { background: var(--primary); color: #fff; }
.rp-arrow.disabled { opacity: 0.35; cursor: not-allowed; }
.rp-arrow.disabled:hover { background: #fff; color: var(--primary); }
.rp-arrow .icon { width: 22px; height: 22px; }
.rp-prev { left: -14px; }
.rp-next { right: -14px; }

@media (max-width: 1024px) {
  .rp-card { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 640px) {
  .rp-card { flex-basis: calc((100% - 16px) / 2); }
  .rp-arrow { width: 32px; height: 32px; }
  .rp-arrow .icon { width: 18px; height: 18px; }
  .rp-prev { left: -6px; }
  .rp-next { right: -6px; }
}

/* 探店视频列表 */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.video-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 0.3s, box-shadow 0.3s; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #f0e6da; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.08); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.video-card:hover .video-play { background: var(--primary); transform: translate(-50%, -50%) scale(1.1); }
.video-play .icon { width: 22px; height: 22px; margin-left: 3px; }
.video-duration { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.72); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.video-body { padding: 12px 14px 14px; }
.video-body h4 { font-size: 14px; color: var(--text); line-height: 1.45; height: 41px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }
.video-card:hover .video-body h4 { color: var(--primary); }
.video-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.video-meta span { display: inline-flex; align-items: center; gap: 4px; }
.video-meta .icon { width: 14px; height: 14px; }

/* 视频详情 */
.video-player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 16/9; }
.video-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.video-title { font-size: 22px; color: var(--text); margin: 20px 0 12px; line-height: 1.4; }
.video-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 13px; color: var(--text-muted); padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.video-meta-row > span { display: inline-flex; align-items: center; gap: 5px; }
.video-meta-row .icon { width: 15px; height: 15px; }
.video-actions { margin-left: auto; display: flex; gap: 10px; }
.video-actions button, .video-actions a { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 20px; padding: 6px 14px; font-size: 13px; cursor: pointer; text-decoration: none; transition: all 0.3s; font-family: inherit; }
.video-actions button:hover, .video-actions a:hover { border-color: var(--primary); color: var(--primary); }
.video-actions button.liked { border-color: var(--primary); color: var(--primary); background: #fdf5f5; }
.video-desc { margin-top: 20px; }
.video-desc h3 { font-size: 17px; margin-bottom: 10px; color: var(--text); }
.video-desc p { font-size: 14px; color: var(--text-muted); line-height: 1.9; margin-bottom: 10px; }
.video-shop { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 0.3s, box-shadow 0.3s; }
.video-shop:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.vs-logo { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.vs-logo img { width: 100%; height: 100%; object-fit: cover; }
.vs-info { flex: 1; min-width: 0; }
.vs-info strong { display: block; font-size: 15px; color: var(--text); }
.vs-info span { font-size: 12px; color: var(--text-muted); }
.vs-link { font-size: 13px; color: var(--primary); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.vs-link .icon { width: 15px; height: 15px; }

/* 视频时长角标（相关视频卡片） */
.rp-img { position: relative; }
.rp-img .v-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,0.72); color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 9px; }

@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-title { font-size: 18px; }
  .video-actions { margin-left: 0; }
}

/* 上一篇 / 下一篇 */
.pn-nav { display: flex; gap: 16px; margin-top: 28px; }
.pn-item {
  flex: 1; min-width: 0; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pn-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.pn-label { font-size: 12px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.pn-label .icon { width: 14px; height: 14px; }
.pn-title {
  font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.2s;
}
.pn-item:hover .pn-title { color: var(--primary); }
.pn-next { text-align: right; align-items: flex-end; }

@media (max-width: 640px) {
  .pn-nav { flex-direction: column; gap: 12px; }
  .pn-next { text-align: left; align-items: flex-start; }
}

@media (max-width: 1024px) {
  .product-detail { flex-direction: column; gap: 28px; }
  .detail-gallery { flex: none; max-width: 100%; width: 100%; }
  .zoom-result { display: none !important; }
  .main-image-wrap:hover .zoom-lens { display: none; }
}
@media (max-width: 640px) {
  .shop-bar { padding: 14px 16px; }
  .shop-bar-name { font-size: 16px; }
  .shop-bar-actions { width: 100%; }
}
@media (max-width: 640px) {
  .product-detail { padding: 16px; }
  .detail-title { font-size: 18px; }
  .detail-price .amount { font-size: 28px; }
  .detail-meta { grid-template-columns: 1fr; }
  .desc-tabs { overflow-x: auto; }
  .desc-tab { padding: 12px 16px; font-size: 14px; white-space: nowrap; }
  .desc-content { padding: 16px; }
  .desc-images { grid-template-columns: 1fr; }
  .detail-actions { flex-wrap: wrap; gap: 8px; }
  .detail-actions .btn { flex: 1 1 calc(33.33% - 8px); }
}

/* ===== 子页面通用 ===== */
.subpage-section { padding: 50px 0; }
.subpage-section.section-alt { background: #faf6f1; }
.subpage-section .container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* 广告分级卡片 */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.tier-card {
  background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--border);
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.tier-card.tier-diamond { border-top-color: #b9f2ff; }
.tier-card.tier-premium { border-top-color: #ffd700; }
.tier-card.tier-standard { border-top-color: #c0c0c0; }
.tier-card.tier-directory { border-top-color: #cd7f32; }
.tier-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--maroon-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.tier-icon .icon { width: 28px; height: 28px; }
.tier-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
.tier-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; min-height: 42px; }
.tier-price { font-size: 24px; color: var(--primary); font-weight: 700; margin-bottom: 18px; }
.tier-price small { font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* 价目表 */
.rate-table-wrap { overflow-x: auto; margin-top: 24px; }
.rate-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 640px; }
.rate-table th { background: var(--maroon-gradient); color: #fff; padding: 14px 16px; text-align: left; font-size: 14px; font-weight: 600; }
.rate-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.rate-table tbody tr:hover { background: rgba(139,26,59,0.04); }
.rate-table tbody tr:last-child td { border-bottom: none; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); position: relative; }
.step-num { font-size: 42px; font-weight: 800; color: var(--accent); opacity: 0.3; margin-bottom: 8px; }
.step h4 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* 规格网格 */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.spec-item { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.spec-icon { width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 12px; background: rgba(201,169,110,0.15); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.spec-icon .icon { width: 24px; height: 24px; }
.spec-item h4 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.spec-item p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* 数据统计 */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center; box-shadow: var(--shadow); }
.stat-num { font-size: 38px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-num span { font-size: 18px; color: var(--accent); margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* 入驻优势 */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.advantage-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); transition: transform 0.3s; }
.advantage-card:hover { transform: translateY(-4px); }
.adv-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--maroon-gradient); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.adv-icon .icon { width: 24px; height: 24px; }
.advantage-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.advantage-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* 入驻表单 */
.join-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; color: var(--text); margin-bottom: 6px; font-weight: 500; }
.form-group label em { color: #e74c3c; font-style: normal; }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; outline: none; transition: border-color 0.2s; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-submit { background: var(--maroon-gradient); color: #fff; border: none; padding: 12px 40px; border-radius: 24px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 8px; }
.form-submit:hover { opacity: 0.9; }

/* FAQ */
.faq-list { margin-top: 24px; }
.faq-item { background: #fff; border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q { padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q .icon { width: 18px; height: 18px; color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: all 0.3s; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { padding: 0 22px 18px; max-height: 300px; }

/* 新闻分类栏 */
.news-cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; background: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.news-cat { padding: 6px 16px; border-radius: 18px; font-size: 13px; color: var(--text); text-decoration: none; background: #f5f0eb; transition: all 0.2s; }
.news-cat:hover { color: var(--primary); }
.news-cat.active { background: var(--maroon-gradient); color: #fff; }
.news-cat-tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; background: rgba(139,26,59,0.1); color: var(--primary); margin-bottom: 8px; }

/* 文章详情 */
.article { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.article-head { text-align: center; margin-bottom: 28px; }
.article-title { font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.4; margin: 12px 0 16px; }
.article-meta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 4px; }
.article-meta .icon { width: 14px; height: 14px; color: var(--accent); }
.article-cover { margin-bottom: 28px; border-radius: 8px; overflow: hidden; }
.article-cover img { width: 100%; display: block; }
.article-body { font-size: 15px; line-height: 1.9; color: #444; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 20px; margin: 32px 0 14px; color: var(--text); }
.article-body img { width: 100%; border-radius: 8px; margin: 16px 0; }
.article-body ul { padding-left: 20px; margin-bottom: 18px; }
.article-body ul li { margin-bottom: 8px; }
.article-body blockquote { border-left: 4px solid var(--accent); background: #faf6f1; padding: 16px 22px; margin: 20px 0; border-radius: 0 8px 8px 0; color: var(--text-muted); font-style: italic; }
.article-footer { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-share { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.article-share a { width: 32px; height: 32px; border-radius: 50%; background: #f5f0eb; display: flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.2s; }
.article-share a:hover { background: var(--maroon-gradient); color: #fff; }
.article-share .icon { width: 16px; height: 16px; }

/* 相关新闻 */
.related-news { margin-top: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.related-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 0.3s; }
.related-card:hover { transform: translateY(-4px); }
.related-img { aspect-ratio: 3/2; overflow: hidden; }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card h4 { font-size: 15px; padding: 14px 16px 4px; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card .news-date { display: block; padding: 0 16px 14px; font-size: 12px; color: var(--text-muted); }

/* 关于我们 */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.about-hero-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-hero .env-slides { aspect-ratio: 10/7; }
.about-hero-text h2 { font-size: 26px; margin-bottom: 16px; color: var(--text); }
.about-hero-text p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 12px; }
.about-hero-text strong { color: var(--primary); }

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.mission-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.mission-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold-gradient); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.mission-icon .icon { width: 26px; height: 26px; }
.mission-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
.mission-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* 时间线 */
.timeline { position: relative; max-width: 700px; margin: 30px auto 0; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-year { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.timeline-dot { position: absolute; left: -26px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.timeline-content h4 { font-size: 16px; margin-bottom: 4px; color: var(--text); }
.timeline-content p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; padding-bottom: 18px; }
.team-img { aspect-ratio: 1/1; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 16px; margin: 14px 0 4px; color: var(--text); }
.team-role { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 12px; color: var(--text-muted); padding: 0 16px; line-height: 1.5; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); }
.contact-icon { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: rgba(139,26,59,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-icon .icon { width: 24px; height: 24px; }
.contact-card h4 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.contact-card p { font-size: 13px; color: var(--text-muted); }
.contact-card a { color: var(--primary); text-decoration: none; }

@media (max-width: 1024px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .tier-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .article { padding: 20px; }
  .article-title { font-size: 20px; }
  .article-footer { flex-direction: column; align-items: flex-start; }
  .subpage-section { padding: 30px 0; }
}

/* ===== 商家列表页 ===== */
.merchant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.merchant-card {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.merchant-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.merchant-img { position: relative; aspect-ratio: 8/5; overflow: hidden; background: #f0e6da; }
.merchant-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.merchant-card:hover .merchant-img img { transform: scale(1.08); }
.merchant-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold-gradient); color: var(--primary-dark);
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px;
}
.merchant-body { padding: 16px; }
.merchant-body h4 { font-size: 16px; color: var(--text); margin-bottom: 8px; transition: color 0.2s; }
.merchant-card:hover .merchant-body h4 { color: var(--primary); }
.merchant-cate { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.merchant-cate .icon { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.merchant-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); }
.merchant-meta span { display: inline-flex; align-items: center; gap: 4px; }
.merchant-meta .icon { width: 13px; height: 13px; }
.merchant-rating { color: #e67e22; font-weight: 600; }
.merchant-rating .icon { width: 13px; height: 13px; color: #f1c40f; fill: #f1c40f; }

@media (max-width: 1024px) {
  .merchant-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .merchant-grid { grid-template-columns: 1fr; }
}

/* ===== 店铺主页 ===== */
.shop-hero { background: var(--maroon-gradient); padding: 40px 0; color: #fff; }
.shop-hero-inner { display: flex; flex-direction: column; gap: 24px; }
.shop-id { display: flex; gap: 24px; align-items: center; }
.shop-env { width: 500px; flex-shrink: 0; }
.shop-env .env-carousel { box-shadow: 0 12px 30px rgba(0,0,0,0.28); }
.shop-env .env-slides { aspect-ratio: 5/3; }
.shop-env .env-arrow { width: 34px; height: 34px; opacity: 0; }
.shop-env:hover .env-arrow { opacity: 1; }
.shop-env .env-dots { bottom: 10px; }
.shop-logo { width: 140px; height: 140px; border-radius: 24px; overflow: hidden; flex-shrink: 0; border: 3px solid rgba(255,255,255,0.4); }
.shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-name-wrap { min-width: 0; }
.shop-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.shop-action-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.45); color: #fff; border-radius: 24px;
  padding: 10px 20px; font-size: 14px; font-weight: 600; text-decoration: none;
  background: rgba(255,255,255,0.08); transition: all 0.3s;
}
.shop-action-btn .icon { width: 16px; height: 16px; }
.shop-action-btn:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-2px); }
.shop-action-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.45); color: #fff;
  transition: all 0.3s;
}
.shop-action-icon .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.shop-action-icon:hover { background: #fff; border-color: #fff; color: #25d366; transform: translateY(-2px); }
.shop-action-btn.act-service { background: var(--gold-gradient); border-color: transparent; color: var(--primary-dark); }
.shop-action-btn.act-service:hover { background: #fff; border-color: #fff; color: var(--primary); transform: translateY(-2px); }
.shop-action-btn.act-tel { background: rgba(255,255,255,0.92); border-color: transparent; color: var(--primary); }
.shop-action-btn.act-tel:hover { background: var(--gold-gradient); color: var(--primary-dark); transform: translateY(-2px); }
.shop-action-icon { background: #25d366; border-color: #25d366; }
.shop-name { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  background: var(--gold-gradient); color: var(--primary-dark);
  padding: 3px 10px; border-radius: 12px;
}
.shop-verified .icon { width: 13px; height: 13px; }
.shop-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 12px;
  color: #fff;
}
.shop-tag .icon { width: 13px; height: 13px; }
.shop-tag-star { background: linear-gradient(135deg, #ff9f43 0%, #ee5253 100%); }
.shop-tag-star .icon { fill: currentColor; stroke: none; }
.shop-tag-years { background: linear-gradient(135deg, #11998e 0%, #2ebf75 100%); }
.shop-rating { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 10px; }
.shop-rating .stars { color: #f1c40f; letter-spacing: 2px; }
.shop-rating strong { font-size: 18px; }
.shop-rating small { font-size: 12px; color: rgba(255,255,255,0.7); }
.shop-rating-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2px 0 12px; }
.shop-rating-row .shop-rating { margin: 0; }
.shop-line { font-size: 14px; margin: 0 0 10px; }
.sl-label { color: rgba(255,255,255,0.6); margin-right: 4px; white-space: nowrap; }
.shop-desc { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.8; margin: 0; }
.shop-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shop-stat { background: rgba(255,255,255,0.12); border-radius: var(--radius); padding: 16px; text-align: center; }
.shop-stat strong { display: block; font-size: 22px; margin-bottom: 4px; }
.shop-stat span { font-size: 12px; color: rgba(255,255,255,0.75); }
.shop-contacts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 20px;
  background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 18px 20px;
}
.shop-contact { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; min-width: 0; }
.shop-contact .icon { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.shop-contact a { color: #fff; text-decoration: none; }
.shop-contact a:hover { text-decoration: underline; }
.sc-label { color: rgba(255,255,255,0.6); margin-right: 4px; white-space: nowrap; flex-shrink: 0; }
.sc-value { color: #fff; word-break: break-all; }

/* 店铺环境轮播 */
.env-section { margin-bottom: 40px; }
.env-section:last-child { margin-bottom: 0; }
.env-carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.env-slides { position: relative; aspect-ratio: 1200/525; }
.env-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.env-slide.active { opacity: 1; pointer-events: auto; }
.env-slide img, .env-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.env-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,0.45); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.env-arrow:hover { background: rgba(0,0,0,0.7); }
.env-arrow .icon { width: 20px; height: 20px; }
.env-prev { left: 16px; }
.env-next { right: 16px; }
.env-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.env-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; }
.env-dots .dot.active { background: #fff; width: 20px; border-radius: 4px; }
.env-play {
  position: absolute; top: 50%; left: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7); cursor: pointer;
  background: rgba(0,0,0,0.45); color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.env-play .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.env-play:hover { background: var(--primary); transform: translate(-50%, -50%) scale(1.1); }

/* 店铺视频弹窗 */
.env-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.env-modal.show { opacity: 1; visibility: visible; }
.env-modal-box { position: relative; width: min(900px, 100%); }
.env-modal-box video {
  width: 100%; display: block; max-height: 80vh; background: #000;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.env-modal-close {
  position: absolute; top: -46px; right: 0;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.env-modal-close:hover { background: rgba(255,255,255,0.3); }
.env-modal-close .icon { width: 18px; height: 18px; }

@media (max-width: 1024px) {
  .shop-stats { grid-template-columns: repeat(2, 1fr); }
  .shop-contacts { grid-template-columns: repeat(2, 1fr); }
  .shop-env { width: 320px; }
}
@media (max-width: 640px) {
  .shop-hero { padding: 28px 0; }
  .shop-id { flex-direction: column; align-items: stretch; }
  .shop-env { width: 100%; }
  .shop-env .env-slides { aspect-ratio: 4/3; }
  .shop-name { font-size: 20px; }
  .shop-rating-row { align-items: flex-start; row-gap: 10px; }
  .shop-actions { margin-left: 0; flex-wrap: wrap; }
  .shop-action-btn { padding: 8px 14px; font-size: 13px; }
  .shop-contacts { grid-template-columns: 1fr; }
  .env-slides { aspect-ratio: 4/3; }
  .env-arrow { width: 36px; height: 36px; }
  .env-prev { left: 10px; }
  .env-next { right: 10px; }
}
