

/* ===================== 全局变量 ===================== */
:root {
  --gold-main: #D4AF37;
  --gold-dark: #b89628;
  --pure-black: #000000;
  --pure-white: #ffffff;
  --gray-bg-light: #f9f9f9;
  --gray-border: #e0e0e0;
  --gray-text-dark: #666666;
  --gray-text-deep: #333333;
  --footer-bg: #191919;
  --base-transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--pure-black);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: transparent;
}
img {
  display: block;
  max-width: 100%;
}






/* ===================== 顶部导航（复用基础样式，仅补充active状态） =====================
.header {
  background-color: var(--pure-black);
  padding: 20px 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 120px;
}
.logo-text {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gray-text-dark);
  margin-left: 10px;
  color: var(--pure-white);
} */




/* 桌面导航 
.nav-desktop .nav-list {
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--pure-white);
  transition: var(--base-transition);
}
.nav-link.active {
  color: var(--gold-main);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-main);
}
.nav-link:hover {
  color: var(--gold-main);
}
.search-btn {
  font-size: 16px;
}
.quote-btn {
  background-color: var(--gold-main);
  color: var(--pure-black) !important;
  padding: 8px 18px;
  font-weight: 600;
}
.quote-btn:hover {
  background-color: var(--gold-dark);
}
*/



/* 移动端汉堡按钮 
.hamburger {
  display: none;
  font-size: 24px;
  color: var(--pure-white);
}*/

/* 移动端导航菜单 
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--pure-black);
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nav-mobile.active {
  display: block;
}
.nav-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nav-mobile-link {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--pure-white);
  font-weight: 500;
}
.nav-mobile-link.active {
  color: var(--gold-main);
}
*/








/* ===================== 面包屑导航 ===================== */
.breadcrumb-section {
  background-color: var(--gray-bg-light);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
}
.breadcrumb-links {
  font-size: 14px;
  color: var(--gray-text-dark);
}
.breadcrumb-links a {
  color: var(--gray-text-dark);
  transition: var(--base-transition);
}
.breadcrumb-links a:hover {
  color: var(--gold-main);
}
.breadcrumb-links span {
  color: var(--pure-black);
  font-weight: 500;
}

/* ===================== 产品头部Banner ===================== */
.products-hero {


   background-image: url("../images/banner.jpg");
    background-repeat: no-repeat;    /* 不重复 */
    background-size: cover;          /* 铺满整个容器 */
    background-position: center;     /* 图片居中 */



    
  position: relative;
  height: 400px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pure-white);
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.hero-desc {
  font-size: 18px;
  color: var(--pure-white);
  max-width: 700px;
  line-height: 1.7;
}

/* ===================== 产品分类快捷入口 ===================== */
.product-categories {
  padding: 40px 0;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.category-card {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover .category-img {
  transform: scale(1.05);
}
.category-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background-color: var(--pure-black);
  color: var(--pure-white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-arrow {
  color: var(--gold-main);
  font-size: 12px;
  transition: transform 0.3s ease;
}
.category-card:hover .category-arrow {
  transform: translateX(5px);
}

/* ===================== 产品列表+筛选区 ===================== */
.products-list-section {
  padding: 50px 0;
  background-color: var(--gray-bg-light);
}
.products-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}



.products-layout{
    display:grid;
    grid-template-columns:250px 1fr;
    gap:30px;
    align-items:start;
}

/* 平板 */
@media (max-width:992px){
    .products-layout{
        grid-template-columns:220px 1fr;
        gap:20px;
    }
}

/* 手机 */
@media (max-width:768px){
    .products-layout{
        grid-template-columns:1fr;
        gap:20px;
    }
}








/* 左侧筛选栏 */
.filter-sidebar {
  background-color: var(--pure-white);
  padding: 25px;
  border: 1px solid var(--gray-border);
}
.filter-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-border);
}

/* 筛选组通用样式 */
.filter-group {
  margin-bottom: 20px;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-border);
}
.filter-group-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.filter-icon {
  font-size: 12px;
  color: var(--gray-text-dark);
  transition: transform 0.3s ease;
}
.filter-header.active .filter-icon {
  transform: rotate(180deg);
}

/* 筛选内容（默认展开） */
.filter-content {
  padding: 15px 0;
  display: block;
}
.filter-content.hidden {
  display: none;
}

/* 复选框自定义样式 */
.filter-checkbox {

  color: #000;

  display: block;
  position: relative;
  padding-left: 5px;
  padding-bottom: 12px;
  padding-top:12px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  border-bottom: 1px solid #cccccc;
}




.filter-checkbox{
    display:block;
    position:relative;
    padding:12px 0px;
    border-bottom:1px solid #ccc;
    color:#000;
    font-size:14px;
    text-decoration:none;
    transition:all .3s ease;
}

/* 左侧蓝色边框 */
.filter-checkbox::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:3px;
    height:100%;
    background:#005baa;
    transform:scaleY(0);
    transition:transform .3s ease;
}

/* Hover */
.filter-checkbox:hover{
    background:#f5f9ff;
    color:#005baa;
    padding-left:6px;
}

/* 左侧边框展开 */
.filter-checkbox:hover::before{
    transform:scaleY(1);
}

/* 数量 */
.filter-count{
    float:right;
    color:#888;
    transition:.3s;
}

.filter-checkbox:hover .filter-count{
    color:#005baa;
}










.filter-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 16px;
  width: 16px;
  border: 1px solid var(--gray-text-dark);
}
.filter-checkbox:hover input ~ .checkmark {
  border-color: var(--gold-main);
}
.filter-checkbox input:checked ~ .checkmark {
  background-color: var(--gold-main);
  border-color: var(--gold-main);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.filter-checkbox input:checked ~ .checkmark:after {
  display: block;
}
.filter-count {
  color: var(--gray-text-dark);
  font-size: 13px;
  margin-left: 5px;
}

/* 重置筛选按钮 */
.reset-filter-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--pure-white);
  border: 1px solid var(--gray-text-dark);
  color: var(--gray-text-deep);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--base-transition);
  margin-top: 10px;
}
.reset-filter-btn:hover {
  background-color: var(--gold-main);
  border-color: var(--gold-main);
  color: var(--pure-black);
}

/* 右侧产品列表 */
.products-content {
  background-color: var(--pure-white);
  padding: 25px;
  border: 1px solid var(--gray-border);
}

/* 列表顶部控制栏 */
.products-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-border);
}
.results-count {
  font-size: 14px;
  color: var(--gray-text-dark);
}
.sort-view-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-select-wrapper label {
  font-size: 14px;
  color: var(--gray-text-dark);
}
.sort-select {
  padding: 5px 10px;
  border: 1px solid var(--gray-border);
  background-color: var(--pure-white);
  font-size: 14px;
  color: var(--gray-text-deep);
  cursor: pointer;
}
.view-toggle {
  display: flex;
  border: 1px solid var(--gray-border);
}
.view-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-text-dark);
  transition: var(--base-transition);
}
.view-btn.active {
  background-color: var(--gold-main);
  color: var(--pure-black);
}
.view-btn:hover:not(.active) {
  background-color: var(--gray-bg-light);
}

/* 网格视图产品列表 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}



.products-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
}

/* 大屏 */
@media (max-width:1200px){
    .products-grid{
        grid-template-columns:repeat(3, 1fr);
    }
}

/* 平板 */
@media (max-width:992px){
    .products-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

/* 手机 */
@media (max-width:576px){
    .products-grid{
        grid-template-columns:1fr;
        gap:15px;
    }
}




.products-grid.hidden {
  display: none;
}
.product-card {
  border: 1px solid var(--gray-border);
  transition: var(--base-transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}
.product-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .card-img {
  transform: scale(1.05);
}
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.8);
  color: var(--gray-text-dark);
  font-size: 14px;
  transition: var(--base-transition);
}
.wishlist-btn:hover {
  background-color: var(--gold-main);
  color: var(--pure-black);
}
.product-card-title {
  font-size: 16px;
  font-weight: 700;
  padding: 15px 15px 5px;
}
.product-card-spec {
  font-size: 13px;
  color: var(--gray-text-dark);
  padding: 0 15px 12px;
  line-height: 1.5;
}
.view-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-main);
  padding: 0 15px 18px;
  transition: var(--base-transition);
}
.view-details-btn:hover {
  color: var(--pure-black);
}

/* 列表视图产品列表（默认隐藏） */
.products-list {
  display: none;
  flex-direction: column;
  gap: 20px;
}
.products-list.active {
  display: flex;
}
.product-list-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--gray-border);
  align-items: center;
}
.list-item-img {
  width: 150px;
  height: 120px;
  overflow: hidden;
}
.list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-list-item:hover .list-img {
  transform: scale(1.05);
}
.list-item-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.list-item-spec {
  font-size: 14px;
  color: var(--gray-text-dark);
  margin-bottom: 10px;
}
.list-item-desc {
  font-size: 14px;
  color: var(--gray-text-deep);
  line-height: 1.6;
}
.list-item-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}
.wishlist-btn-list {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--gray-bg-light);
  color: var(--gray-text-dark);
  font-size: 16px;
  transition: var(--base-transition);
}
.wishlist-btn-list:hover {
  background-color: var(--gold-main);
  color: var(--pure-black);
}
.view-details-btn-list {
  padding: 8px 15px;
  background-color: var(--gold-main);
  color: var(--pure-black) !important;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--base-transition);
}
.view-details-btn-list:hover {
  background-color: var(--gold-dark);
}

/* 分页控件 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-border);
  background-color: var(--pure-white);
  font-size: 14px;
  font-weight: 600;
  transition: var(--base-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn.active {
  background-color: var(--gold-main);
  border-color: var(--gold-main);
  color: var(--pure-black);
}
.page-btn:hover:not(.active):not(.disabled) {
  background-color: var(--gray-bg-light);
  border-color: var(--gold-main);
  color: var(--gold-main);
}
.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===================== 产品优势展示 ===================== */
.product-benefits {
  padding: 60px 0;
  background-color: var(--pure-white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}




.benefits-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:30px;
    text-align:center;
}

/* 大屏 */
@media (max-width:1200px){
    .benefits-grid{
        grid-template-columns:repeat(3, 1fr);
        gap:25px;
    }
}

/* 平板 */
@media (max-width:768px){
    .benefits-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:20px;
    }
}

/* 手机 */
@media (max-width:576px){
    .benefits-grid{
        grid-template-columns:1fr;
        gap:20px;
    }
}



.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--gray-bg-light);
  color: var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}
.benefit-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.benefit-desc {
  font-size: 14px;
  color: var(--gray-text-dark);
  line-height: 1.6;
}

/* ===================== 定制解决方案CTA ===================== */
.custom-solutions-cta {
  background-color: var(--pure-black);
  padding: 60px 0;
  color: var(--pure-white);
}
.cta-content {
  text-align: center;
}
.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}
.cta-desc {
  font-size: 16px;
  color: #dddddd;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.cta-btn {
  background-color: var(--gold-main);
  color: var(--pure-black) !important;
  padding: 14px 30px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--base-transition);
}
.cta-btn:hover {
  background-color: var(--pure-white);
}

/* ===================== 页脚（复用基础样式） ===================== */
.footer {
  background-color: var(--footer-bg);
  color: var(--pure-white);
  padding: 60px 0 30px;
}
.footer-container {
  display: grid;
  grid-template-columns: 24% 14% 18% 14% 14% 16%;
  gap: 22px;
  margin-bottom: 40px;
}
.brand-col {
  padding-right: 15px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-logo-img {
  width: 85px;
}
.footer-logo-text {
  font-size: 12px;
  color: #cccccc;
  text-transform: uppercase;
}
.brand-desc {
  font-size: 14px;
  color: #999999;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-social-links {
  display: flex;
  gap: 10px;
}
.footer-social-link {
  width: 32px;
  height: 32px;
  background: #333333;
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--base-transition);
}
.footer-social-link:hover {
  background-color: var(--gold




.footer-social-link:hover {
  background-color: var(--gold-main);
  color: var(--pure-black);
}
.footer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: #999999;
  font-size: 14px;
  transition: var(--base-transition);
}
.footer-links a:hover {
  color: var(--gold-main);
}
.contact-info-links li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #999999;
  margin-bottom: 10px;
  line-height: 1.5;
}
.contact-info-links i {
  color: var(--gold-main);
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 25px;
}
.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright {
  font-size: 13px;
  color: #999999;
}
.footer-bottom-links a {
  color: #999999;
  font-size: 13px;
  margin: 0 6px;
  transition: var(--base-transition);
}
.footer-bottom-links a:hover {
  color: var(--gold-main);
}

/* ===================== 响应式媒体查询 分层适配 ===================== */
/* 1200px大屏平板 */
@media (max-width: 1200px) {
  .products-layout {
    grid-template-columns: 220px 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .footer-container {
    grid-template-columns: 30% 20% 20% 30%;
  }
  .footer-col:nth-child(5),
  .footer-col:nth-child(6) {
    grid-column: span 2;
    margin-top: 20px;
  }
}

/* 992px 平板横向 */
@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .products-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    margin-bottom: 30px;
  }
  .hero-title {
    font-size: 34px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-list-item {
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
  }
  .list-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 10px;
  }
  .custom-solutions-cta {
    padding: 45px 0;
  }
  .cta-title {
    font-size: 28px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .brand-col {
    grid-column: span 2;
    margin-bottom: 20px;
  }
}

/* 768px 手机横屏 */
@media (max-width: 768px) {
  .products-hero {
    height: 300px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    height: 160px;
  }
  .products-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .sort-view-controls {
    width: 100%;
    justify-content: space-between;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* 480px 手机竖屏 */
@media (max-width: 480px) {
  .products-hero {
    height: 240px;
  }
  .hero-title {
    font-size: 24px;
  }
  .filter-sidebar {
    padding: 18px;
  }
  .products-content {
    padding: 18px;
  }
  .product-card-img {
    height: 160px;
  }
  .pagination {
    gap: 5px;
  }
  .page-btn {
    width: 35px;
    height: 35px;
  }
  .custom-solutions-cta {
    padding: 35px 0;
  }
  .cta-title {
    font-size: 24px;
  }
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}