/* ============================================================
   FAPO Moto 全站样式
   配色：#0A0A0A | #E6212A | #FFFFFF | #222 | #999 | #FF9F1C
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  color: #222;
}










.products-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 16px);
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
  z-index: 100;
  pointer-events: none;
  min-width: 200px;
  border-radius: 0 0 6px 6px;
}
.nav-dropdown[data-mega-target="products-mega"] {
  position: relative;
}
.products-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -26px;
  height: 26px;
}
.products-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.products-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.products-dropdown a:hover {
  color: #E6212A;
  background: #fafafa;
}
@media (max-width: 1023px) {
  .products-dropdown { display: none !important; }
}









/* ---------- 工具类 ---------- */
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

.max-w-container { max-width: 1400px; }

/* ---------- FAPO 金属质感 Logo ---------- */
.fapo-logo {
  background: linear-gradient(135deg, #b0b0b0 0%, #fff 30%, #888 55%, #ddd 80%, #999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.25));
  letter-spacing: -.02em;
  text-decoration: none;
}

/* ---------- 顶部导航吸顶 ---------- */
.site-header { position: relative; transition: box-shadow .3s; z-index: 50; }
.site-header.is-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.45);
  animation: headerSlide .3s ease;
}
@keyframes headerSlide {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.header-placeholder { display: none; }
.header-placeholder.active { display: block; }

/* 顶栏社交图标 */
.top-bar { font-size: 11px; }
.top-bar a { transition: color .2s; }
.top-bar a:hover { color: #E6212A; }

/* 促销条 */
.promo-bar { letter-spacing: .03em; }

/* 搜索框 focus */
.search-bar input:focus { box-shadow: 0 0 0 2px rgba(230,33,42,.35); }

/* 子导航 hover */
.nav-link { transition: color .2s, background .2s; }
.nav-link:hover { color: #E6212A !important; }

/* ---------- Categories 下拉菜单 ---------- */
.sub-nav > .max-w-container { position: relative; }

.nav-categories {
  align-self: stretch;
  flex-shrink: 0;
}

.nav-categories-trigger {
  display: inline-flex;
  align-items: center;
  height: 100%;
  background: none;
  cursor: pointer;
  border: none;
  border-right: 1px solid rgba(255,255,255,.2);
}

.categories-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 268px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
  z-index: 110;
  pointer-events: none;
}

.categories-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.sub-nav:has(.nav-categories:hover) .categories-menu,
.sub-nav:has(.categories-menu:hover) .categories-menu,
.sub-nav.is-categories-open .categories-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.categories-menu-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.categories-menu-list > li > a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  line-height: 1.35;
  white-space: nowrap;
  transition: color .2s, background .2s;
}

.categories-menu-list > li > .categories-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  line-height: 1.35;
  transition: color .2s, background .2s;
}

.categories-menu-list > li > a:hover,
.categories-menu-list > li > .categories-menu-row:hover,
.categories-menu-list > li.is-flyout-open > .categories-menu-row {
  color: #E6212A;
  background: #fafafa;
}

.categories-menu-list strong {
  font-weight: 700;
  text-transform: uppercase;
}

.categories-arrow {
  flex-shrink: 0;
  color: #999;
}

.categories-flyout {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s;
  pointer-events: none;
}

.categories-menu-list > li.has-flyout {
  position: relative;
}

.categories-menu-list > li.has-flyout:hover .categories-flyout,
.categories-menu-list > li.has-flyout.is-flyout-open .categories-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.categories-flyout a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: color .2s, background .2s;
}

.categories-flyout a:hover {
  color: #E6212A;
  background: #fafafa;
}

/* ---------- COILOVERS Mega Menu ---------- */
.sub-nav { position: relative; z-index: 60; }

.nav-dropdown {
  position: static;
  align-self: stretch;
  display: none;
}
@media (min-width: 1024px) {
  .nav-dropdown {
    display: flex;
    align-items: stretch;
    align-self: stretch;
  }
  /* 桌面端允许单列下拉溢出导航栏 */
  .sub-nav .hide-scrollbar {
    overflow-x: visible;
    overflow-y: visible;
  }
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  line-height: 1.2;
}

.nav-dropdown.is-active .nav-dropdown-trigger {
  background: #E6212A;
  color: #fff !important;
}

.nav-dropdown.is-active .nav-dropdown-trigger:hover {
  color: #fff !important;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
  z-index: 100;
  pointer-events: none;
}

/* invisible bridge — keeps hover when moving from trigger to panel */
.mega-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 48px;
  padding: 28px 0 32px;
}

.mega-menu-col-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #222;
  margin-bottom: 14px;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mega-menu-links a {
  font-size: 12px;
  color: #444;
  text-decoration: none;
  line-height: 1.45;
  transition: color .2s;
}
.mega-menu-links a:hover { color: #E6212A; }

.mega-menu-section { margin-bottom: 22px; }
.mega-menu-section:last-child { margin-bottom: 0; }

.mega-menu-heading-link {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #222;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s;
}
.mega-menu-heading-link:hover { color: #E6212A; }

/* 单列下拉（非通栏） */
.nav-dropdown--mega {
  position: relative;
}

.mega-menu--single {
  left: 0;
  right: auto;
  width: 220px;
  top: calc(100% + 0.625rem);
}

.mega-menu--single::before {
  top: calc(-12px - 0.625rem);
  height: calc(12px + 0.625rem);
}

.mega-menu-single-inner {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.mega-menu-single-inner a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  color: #444;
  text-decoration: none;
  transition: color .2s, background .2s;
}

.mega-menu-single-inner a:hover {
  color: #E6212A;
  background: #f8f8f8;
}

/* 移动端 Coilovers 折叠子菜单 */
.mobile-coilovers-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  font-size: 14px;
  color: #fff;
}
.mobile-coilovers-toggle:hover { color: #E6212A; }
.mobile-coilovers-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding-left: 12px;
}
.mobile-coilovers-submenu.is-open { max-height: 800px; }
.mobile-coilovers-submenu a {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  padding: 5px 0;
  text-decoration: none;
}
.mobile-coilovers-submenu a:hover { color: #E6212A; }
.mobile-coilovers-submenu .sub-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.45);
  margin: 10px 0 4px;
}

/* 移动端菜单 */
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height .35s; }
.mobile-menu.is-open { max-height: 480px; }

/* ---------- Hero 横幅 ---------- */
.hero-section { min-height: 600px; }
@media (min-width: 1024px) { .hero-section { min-height: 720px; } }

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,.78) 0%, rgba(10,10,10,.45) 55%, rgba(10,10,10,.15) 100%);
}
.hero-content {
  min-height: 600px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 1024px) { .hero-content { min-height: 720px; } }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s, visibility .7s;
}
.hero-slide.active { position: relative; opacity: 1; visibility: visible; }

.shop-now-btn { letter-spacing: .14em; transition: all .2s; }
.shop-now-btn:hover { background: #E6212A !important; color: #fff !important; }

.hero-arrow {
  backdrop-filter: blur(8px); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow svg { flex-shrink: 0; }
.hero-arrow:hover { color: #E6212A; background: rgba(230,33,42,.15); border-color: rgba(230,33,42,.4); }

.hero-dot { cursor: pointer; transition: background-color .3s; }
.hero-dot.active { background-color: #fff !important; }
.hero-dot:not(.active) { background-color: rgba(255,255,255,.4) !important; }

/* ---------- 服务保障栏 ---------- */
@media (min-width: 1024px) {
  .service-item { border-right: 1px solid #eee; padding-right: 16px; }
  .service-item:last-child { border-right: none; }
}

/* ---------- 车型筛选下拉 ---------- */
.vehicle-select {
  /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23999'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");*/
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  transition: border-color .2s, box-shadow .2s;
}
.vehicle-select:focus {
  border-color: #E6212A;
  box-shadow: 0 0 0 2px rgba(230,33,42,.12);
  outline: none;
}
.vehicle-select:disabled { background-color: #f5f5f5; opacity: .7; cursor: not-allowed; }

/* ---------- 滑块箭头 ---------- */
.carousel-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #ddd; border-radius: 50%;
  color: #666; background: #fff; cursor: pointer;
  transition: all .2s;
}
.carousel-arrow:hover { border-color: #E6212A; color: #E6212A; background: #fff5f5; }

/* ---------- 商品卡片（首页滑块 / 分类网格） ---------- */
.product-card {
  flex: 0 0 auto;
  width: 220px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
@media (min-width: 640px) { .product-card { width: 240px; } }
@media (min-width: 1024px) { .product-card { width: 260px; } }

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,.1);
}

/* 分类页网格卡片 */
.grid-product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.grid-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.product-card-image, .grid-product-img {
  width: 100%; height: 200px;
  object-fit: contain;
  background: #fafafa;
  padding: 12px;
}
.grid-product-img { height: 220px; }

.product-card-body, .grid-product-body { padding: 12px 14px 16px; }

.product-card-title, .grid-product-title {
  font-size: 14px; line-height: 1.5; color: #222;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 36px;
}

.product-card-price, .grid-product-price {
  font-size: 13px; font-weight: 400; color: #666; margin-top: 6px;
}
.sale-price { color: #E6212A; }
.original-price {
  font-size: 13px; color: #999;
  text-decoration: line-through; margin-left: 6px; font-weight: 400;
}

.product-sale-badge {
  position: absolute; top: 10px; left: 10px;
  background: #E6212A; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 2px;
  text-transform: uppercase;
}
.product-new-badge {
  position: absolute; top: 10px; left: 10px;
  background: #599b04; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 2px;
  text-transform: uppercase;
}

.product-brand-badge {
  position: absolute; top: 10px; left: 10px;
  background: #f00; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 2px;
  text-transform: uppercase;
}

/* ---------- 品牌按钮网格 ---------- */
.brand-btn {
  display: block;
  background: #fff; border: 1px solid #ddd; border-radius: 2px;
  padding: 14px 8px; font-size: 13px; font-weight: 500;
  color: #222; text-align: center; cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.brand-btn:hover { border-color: #E6212A; color: #E6212A; background: #fff5f5; }

/* ---------- 分类卡片（Trending） ---------- */
.category-card { transition: box-shadow .3s; }
.category-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.07); }

.red-circle {
  position: absolute; width: 140px; height: 140px;
  background: #E6212A; border-radius: 50%; z-index: 0;
}

.category-shop-btn { letter-spacing: .04em; transition: background .2s; }
.category-shop-btn:hover { background: #c41a22 !important; }

/* ---------- 新闻卡片 ---------- */
.news-card { transition: box-shadow .3s; }
.news-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.news-card .line-clamp-2,
.news-card .line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .line-clamp-2 { -webkit-line-clamp: 2; }
.news-card .line-clamp-3 { -webkit-line-clamp: 3; }

/* ---------- 新闻详情富文本 ---------- */
.prose-custom h2 { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; color: #222; margin-top: 1.5em; }
.prose-custom h3 { font-size: 1.05rem; font-weight: 700; color: #222; margin-top: 1.2em; }
.prose-custom p  { margin-bottom: 1em; }
.prose-custom img { max-width: 100%; border-radius: 6px; margin: 1em 0; }
.prose-custom ul, .prose-custom ol { padding-left: 1.5em; margin-bottom: 1em; }
.prose-custom li { margin-bottom: .4em; }
.prose-custom a  { color: #E6212A; text-decoration: underline; }

/* ---------- Why Choose FAPO ---------- */
.why-card { transition: transform .3s; }
.why-card:hover { transform: translateY(-4px); }

/* ---------- 评价卡片 ---------- */
.review-card {
  flex: 0 0 auto; width: 300px;
  background: #fff; border: 1px solid #eee;
  border-radius: 6px; padding: 20px;
  transition: transform .3s, box-shadow .3s;
}
@media (min-width: 640px) { .review-card { width: 340px; } }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0,0,0,.07); }

.review-stars { color: #FF9F1C; letter-spacing: 2px; }
.review-text {
  font-size: 13px; line-height: 1.6; color: #555; margin-top: 12px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 分类页侧边栏 ---------- */
.sidebar { position: sticky; top: 140px; align-self: start; }

.sidebar-section { border-bottom: 1px solid #eee; padding-bottom: 16px; margin-bottom: 16px; }
.sidebar-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 12px; color: #222;
}

/* 折叠分类树 */
.filter-accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600; text-transform: uppercase;
  padding: 8px 0; cursor: pointer; color: #222;
  background: none; border: none; text-align: left;
}
.filter-accordion-btn.active { color: #E6212A; background: #f5f5f5; border-radius: 3px; padding: 8px 8px; }

.filter-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  padding-left: 24px;
}
.filter-submenu.is-open { max-height: 600px; }

.filter-submenu a {
  display: block; font-size: 12px; color: #666;
  padding: 5px 0; transition: color .2s;
}
.filter-submenu a:hover { color: #E6212A; }
.filter-submenu a.cat-l2 { font-weight: 600; }

.filter-submenu a.active-cat {
  background: #f5f5f5; color: #E6212A;
  margin-left: -24px; padding-left: 24px; padding-right: 8px; border-radius: 3px;
}

.filter-checkbox {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #666; padding: 4px 0; cursor: pointer;
}
.filter-checkbox input { accent-color: #E6212A; }

/* 价格滑块 */
.price-range-wrap { padding: 8px 0; }
.price-range-input {
  width: 100%; accent-color: #222; cursor: pointer;
}
.price-labels {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #666; margin-top: 6px;
}

.btn-apply {
  width: 100%; background: #0A0A0A; color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 10px; border: none; border-radius: 2px;
  cursor: pointer; transition: background .2s;
}
.btn-apply:hover { background: #E6212A; }

/* 分类页工具栏 */
.toolbar-select {
  border: 1px solid #ddd; border-radius: 2px;
  font-size: 12px; padding: 6px 28px 6px 10px;
  background: #fff; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23999'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 14px;
}

.view-toggle-btn {
  width: 32px; height: 32px;
  border: 1px solid #ddd; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: #666; cursor: pointer; transition: all .2s;
}
.view-toggle-btn.active, .view-toggle-btn:hover {
  border-color: #E6212A; color: #E6212A;
}

.btn-show-more {
  display: block; margin: 24px auto 8px;
  background: #0A0A0A; color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: 12px 48px; border: none; border-radius: 2px;
  cursor: pointer; transition: background .2s;
}
.btn-show-more:hover { background: #E6212A; }

/* ---------- 商品详情页 ---------- */
.product-gallery-main {
  width: 100%; aspect-ratio: 1;
  object-fit: contain; background: #fafafa;
  border: 1px solid #eee; border-radius: 2px;
  padding: 16px;
}

.thumb-btn {
  width: 72px; height: 72px;
  border: 2px solid #eee; border-radius: 2px;
  overflow: hidden; cursor: pointer; padding: 4px;
  background: #fafafa; transition: border-color .2s;
  flex-shrink: 0;
}
.thumb-btn.active, .thumb-btn:hover { border-color: #E6212A; }
.thumb-btn img { width: 100%; height: 100%; object-fit: contain; }

.product-price { font-size: 28px; font-weight: 800; color: #222; }

.promo-strip {
  background: #E6212A; color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 14px 14px; border-radius: 2px; margin: 12px 0;
}

.feature-list { list-style: disc; padding-left: 18px; }
.feature-list li { font-size: 13px; color: #555; padding: 3px 0; }

/* 数量选择器 */
.qty-control {
  display: inline-flex; align-items: center;
  border: 1px solid #ddd; border-radius: 2px; overflow: hidden;
}
.qty-btn {
  width: 36px; height: 36px;
  background: #f5f5f5; border: none; cursor: pointer;
  font-size: 18px; color: #222; transition: background .2s;
}
.qty-btn:hover { background: #eee; }
.qty-value {
  width: 44px; text-align: center;
  font-size: 14px; font-weight: 600; border: none;
  border-left: 1px solid #ddd; border-right: 1px solid #ddd;
}

.btn-buy-now {
   background: #E6212A; color: #fff;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 14px 24px; border: none; border-radius: 4px;
  cursor: pointer; transition: background .2s;
}
.btn-buy-now:hover { background: #c41a22; }

.btn-add-cart {
  width: 100%; background: #fff; color: #E6212A;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 13px; border: 2px solid #E6212A;
  border-radius: 4px; cursor: pointer; transition: all .2s;
}
.btn-add-cart:hover { background: #fff5f5; }

.btn-wishlist-detail {
  width: 48px; height: 48px;
  border: 1px solid #ddd; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #666; cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.btn-wishlist-detail:hover { border-color: #E6212A; color: #E6212A; }

.trust-mini { font-size: 11px; color: #999; }

/* Tab 导航 */
.product-tabs {
  display: flex; flex-wrap: wrap;
  background: #f0f0f0; border-bottom: 2px solid #ddd;
}
.tab-btn {
  flex: 1; min-width: 100px;
  padding: 14px 12px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #666;
  background: transparent; border: none; cursor: pointer;
  transition: all .2s; text-align: center;
}
.tab-btn.active {
  background: #fff; color: #222;
  border-bottom: 2px solid #E6212A; margin-bottom: -2px;
}
.tab-btn:hover:not(.active) { color: #E6212A; }

.tab-panel { display: none; padding: 28px 0; }
.tab-panel.active { display: block; }

.tab-panel h3 {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  margin: 20px 0 8px; color: #222;
}
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel p, .tab-panel li { font-size: 13px; color: #555; line-height: 1.7; }
.tab-panel ul { list-style: disc; padding-left: 20px; }

/* 兼容表格 */
.compat-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compat-table th {
  background: #f5f5f5; text-align: left;
  padding: 10px 14px; font-weight: 600; color: #222;
  border-bottom: 2px solid #ddd;
}
.compat-table td {
  padding: 10px 14px; border-bottom: 1px solid #eee; color: #555;
}
.compat-table tr:nth-child(even) td { background: #fafafa; }

/* 规格双列 */
.specs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid #eee; border-radius: 2px; overflow: hidden;
}
@media (max-width: 639px) { .specs-grid { grid-template-columns: 1fr; } }
.spec-row {
  display: flex; justify-content: space-between;
  padding: 10px 14px; font-size: 13px;
  border-bottom: 1px solid #eee;
}
.spec-row:nth-child(even) { background: #fafafa; }
.spec-label { color: #999; font-weight: 500; }
.spec-value { color: #222; font-weight: 600; text-align: right; }

/* FAQ */
.faq-item { border-bottom: 1px solid #eee; }
.faq-q {
  font-size: 13px;  font-weight: 700; color: #000;
}
.faq-a {
  font-size: 13px; color: #E6212A; line-height: 1.7;
}

/* 评价 Tab */
.rating-summary { display: flex; gap: 32px; margin-bottom: 24px; flex-wrap: wrap; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #666; margin: 3px 0; }
.rating-bar { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; max-width: 180px; }
.rating-bar-fill { height: 100%; background: #FF9F1C; border-radius: 4px; }

.review-item {
  border-bottom: 1px solid #eee; padding: 18px 0;
}
.review-item-title { font-size: 14px; font-weight: 700; color: #222; margin: 6px 0; }
.review-item-text { font-size: 13px; color: #555; line-height: 1.6; }
.review-item-meta { font-size: 12px; color: #999; margin-top: 8px; }
.verified-badge {
  display: inline-block; background: #f0f0f0; color: #666;
  font-size: 10px; font-weight: 600; padding: 2px 6px;
  border-radius: 2px; margin-left: 6px;
}

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination li { list-style: none; }
.pagination a,
.pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  border: 1px solid #ddd; border-radius: 2px;
  font-size: 12px; font-weight: 600; color: #666;
  background: #fff; transition: all .2s; text-decoration: none;
}
.pagination a:hover { border-color: #E6212A; color: #E6212A; background: #fff5f5; }
.pagination .active span { border-color: #E6212A; color: #fff; background: #E6212A; }
.pagination .disabled span { color: #ccc; cursor: not-allowed; }
.page-btn {
  width: 32px; height: 32px;
  border: 1px solid #ddd; border-radius: 2px;
  font-size: 12px; font-weight: 600; color: #666;
  background: #fff; cursor: pointer; transition: all .2s;
}
.page-btn.active, .page-btn:hover { border-color: #E6212A; color: #E6212A; background: #fff5f5; }

/* ---------- 订阅横幅 ---------- */
.subscribe-btn { letter-spacing: .1em; transition: background .2s; }
#subscribe-email:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.4); outline: none; }

/* ---------- 页脚 ---------- */
.footer-links a { transition: color .2s, transform .2s; display: inline-block; }
.footer-links a:hover { color: #fff !important; transform: translateX(2px); }

/* ---------- 悬浮联系面板 ---------- */
.contact-item { position: relative; }
.contact-btn {
  transition: transform .2s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center;
}
.contact-popover {
  position: absolute;
  left: auto; right: 100%;
  top: 50%; transform: translateY(-50%);
  width: 148px;
  min-height: 148px;
  z-index: 9999;
  visibility: hidden;
}
.contact-item:hover .contact-popover {
  visibility: visible !important;
}
.contact-popover-text {
  width: auto !important;
  min-height: auto !important;
  white-space: nowrap;
}

/* ---------- Toast 弹窗 ---------- */
.toast-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.toast-overlay.is-visible { opacity: 1; visibility: visible; }
.toast-box {
  background: #fff; border-radius: 8px;
  padding: 28px 36px; max-width: 400px; width: 90%; text-align: center;
  transform: scale(.9); transition: transform .3s;
}
.toast-overlay.is-visible .toast-box { transform: scale(1); }
.toast-close-btn {
  background: #E6212A; color: #fff;
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  padding: 10px 28px; border: none; border-radius: 4px; cursor: pointer;
  transition: background .2s;
}
.toast-close-btn:hover { background: #c41a22; }

/* ---------- 红色按钮通用 hover ---------- */
.btn-red { transition: background .2s; }
.btn-red:hover { background: #c41a22 !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 767px) {
  .hero-title { font-size: 1.65rem !important; }
  .product-card { width: 180px; }
  .product-card-image, .grid-product-img { height: 160px; }
  .review-card { width: 280px; }
  .contact-btn { width: 44px !important; height: 44px !important; }
  .contact-btn svg { width: 20px; height: 20px; }
  .contact-popover { display: none; }
  .sidebar { position: static; }
  .product-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab-btn { flex: 0 0 auto; min-width: 90px; font-size: 11px; }
}

/* ---------- Inquiry Modal ---------- */
.inquiry-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.inquiry-modal-overlay.is-open {
  opacity: 1; visibility: visible;
}
.inquiry-modal-box {
  background: #fff; border-radius: 8px;
  padding: 32px 28px;
  max-width: 460px; width: 92%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
.inquiry-modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none;
  font-size: 24px; color: #999; cursor: pointer;
  line-height: 1;
}
.inquiry-modal-close:hover { color: #E6212A; }
