  body {background-color: #EAEAEA;}

  /* --- 筛选器按钮 (Show Categories) --- */
  .filter-controls-container {width: calc(100% - 40px);margin: 0 auto 20px;display: none; /* 手机端隐藏，由移动端专用按钮负责 */transition: padding-left 0.4s ease;}
  .filter-controls-container.shifted {padding-left: 300px;}
  
  .filter-toggle-button {background-color: #fff;border: 1px solid #000;padding: 10px 20px;font-size: 16px;font-weight: bold;cursor: pointer;border-radius: 0;transition: all 0.3s ease;}

  .filter-toggle-button:hover {background-color: #f0f0f0;}

  /* --- 整体布局调整 --- */
  .product-wrap-box {position: relative;width: calc(100% - 40px);margin: 0 auto 30px;}
  .product-content-area {display: flex;align-items: flex-start; /* 顶部对齐 */}

  /* --- 左侧分类栏 (固定样式) --- */
  .product-sidebar {width: 280px;background: #fff;padding: 20px;border: 1px solid #000;position: sticky;top: 56px; /* 您可以根据顶部导航高度微调 */height: calc(100vh - 56px);flex-shrink: 0;padding-left: 20px;padding-right: 20px;border-width: 0;transition: flex-basis 0.4s ease, padding 0.4s ease, border-width 0.4s ease, margin 0.4s 
ease, opacity 0.4s ease;overflow: hidden;z-index: 1;margin-left: -280px;opacity: 0;}

  .product-wrap-box.filters-open .product-sidebar {flex-basis: 280px; margin-left: 0; opacity: 1; border-width: 1px;}

  .sidebar-header {display: flex;justify-content: space-between;align-items: center;padding-bottom: 10px;margin-bottom: 15px;border-bottom: 1px solid #000;}

  .sidebar-header h4 { font-size: 16px; font-weight: bold; }

  .sidebar-header .filter-toggle-button { padding: 5px 10px; font-size: 12px; }

  .category-type { font-weight: bold; margin-top: 20px; margin-bottom: 10px; }

  #product-type-cate a, #application-cate a {display: block;padding: 8px 0;text-decoration: none;color: #333;border-bottom: 1px solid #f0f0f0;transition: color 0.2s;}

  #product-type-cate a:hover, #application-cate a:hover { color: #000; }

  /* --- 右侧产品列表 --- */
  .product-list {width: 100%; padding-left: 20px;}

  .product-wrap-box.filters-open .product-list {/*padding-left: 300px; /* 留出侧边栏空间 */}

  .product-list ul {display: grid;grid-template-columns: repeat(3, 1fr); /* 默认一行4个 */gap: 15px;}

  .product-li {background: #fff;border: 1px solid #000;text-align: left;transition: box-shadow 0.3s ease;}

  .product-li:hover {box-shadow: 0 4px 15px rgba(0,0,0,0.1);}

  .product-li a { text-decoration: none; color: inherit; }

  .product-img-box {position: relative;width: 100%;padding-top: 100%; /* 关键：实现1:1的宽高比 */overflow: hidden;}

  .product-img-box img {position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover; /* 保证图片不变形地填充 */transition: opacity 0.4s ease;}

  .product-img-box .hover-img {opacity: 0;}

  .product-li:hover .hover-img {opacity: 1;}

  .product-li:hover .main-img {opacity: 0;}

  .product-li h4 {font-size: 15px;font-weight: 500;padding: 15px;line-height: 1.4;text-align: center;}

  .view-more-btn {display: block;background: #f5f5f5;text-align: center;padding: 12px 15px;font-weight: bold;color: #333;transition: all 0.3s ease;}

  .product-li:hover .view-more-btn {background: #000;color: #fff;}

  /*.page_box { margin-top: 30px; }
  .page_box ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
  .page_box li { display: inline-block; }
  .page_box a, .page_box span { display: flex !important; align-items: center !important; justify-content: center !important; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #ddd; background: #fff; text-decoration: none; color: #333; }
  .page_box a:hover, .page_box .current { background: #343434; color: #fff; }*/
  /* --- Seeposh Custom Pagination (简约风格) --- */
  .seeposh-pagination {margin-top: 50px;margin-bottom: 60px;width: 100%;display: flex;justify-content: center;}
  .seeposh-pagination ul {display: flex;list-style: none;padding: 0;margin: 0;gap: 8px;align-items: center;}
  .seeposh-pagination li {margin: 0 !important;padding: 0 !important;display: inline-block;}
  .seeposh-pagination a, 
  .seeposh-pagination span {display: flex;justify-content: center;align-items: center;width: 40px;height: 40px;line-height: 1;font-size: 16px;color: #333;text-decoration: none;border: 1px solid #e1e1e1;background-color: #fff;transition: all 0.3s ease;font-family: 'Arial', sans-serif;}
  .seeposh-pagination a:hover {background-color: #333;border-color: #333;color: #fff;}
  .seeposh-pagination .current {background-color: #000;border-color: #000;color: #fff;cursor: default;}
  .seeposh-pagination .arrow-item.disabled span {color: #ccc;border-color: #eee;background-color: #f9f9f9;cursor: not-allowed;}
  .seeposh-pagination .arrow-item a,
  .seeposh-pagination .arrow-item span {font-size: 18px;font-weight: 300;}
  /* --- Left/Right Module Styles --- */
  .lr-module-container {width: calc(100% - 40px);max-width: 1200px;margin: 40px auto;}
  .lr-content-wrapper {display: flex;flex-direction: row;align-items: center;gap: 30px;background-color: #fff;padding: 30px;}
  .lr-text-content {flex: 1;padding-right: 20px;}
  .lr-image-box {flex: 1;}
  .lr-image-box img {max-width: 100%;height: auto;display: block;}
  .lr-title {font-size: 28px;font-weight: bold;color: #333;margin-bottom: 20px;}
  .lr-text {font-size: 16px;line-height: 1.8;color: #555;}
  /* --- FAQ Section Styles --- */
  .faq-section-container {width: calc(100% - 40px);max-width: 1200px;margin: 50px auto;padding: 20px;background-color: #ffffff;box-sizing: border-box;}
  .faq-header {display: flex;justify-content: space-between;align-items: center;margin-bottom: 30px;border-bottom: 2px solid #f0f0f0;padding-bottom: 20px;}
  .faq-title {font-size: 22px;font-weight: 600;color: #111;margin: 0;}
  .faq-see-all-btn {background-color: #fff;padding: 10px 20px;text-decoration: none;font-weight: bold;font-size: 14px;transition: background-color 0.3s;white-space: nowrap;border: 1px solid #000;cursor: pointer;}
  .faq-grid {display: grid;grid-template-columns: 1fr 1fr;gap: 15px 40px; /* 上下间距15px, 左右间距40px */}
  .faq-item {border-bottom: 1px solid #e0e0e0;padding: 10px 0;}
  .faq-question {display: flex;justify-content: space-between;align-items: center;padding: 10px 0;cursor: pointer;font-weight: 500;font-size: 16px;}
  .faq-icon {font-size: 28px;font-weight: 300;color: #888;line-height: 1;}
  .faq-answer {max-height: 0;overflow: hidden;transition: max-height 0.4s ease-out, padding-bottom 0.4s ease-out;color: #555;line-height: 1.7;font-size: 15px;}
  .faq-item.active .faq-answer {max-height: 300px; /* 预设一个足够大的高度以容纳答案 */padding-bottom: 15px;transition: max-height 0.5s ease-in, padding-bottom 0.5s ease-in;}

  /* --- 移动端专用切换按钮样式 --- */
  .mobile-category-toggle {display: none; /* 关键：默认不显示，确保它在桌面端隐藏 */background-color: #343434;color: white;padding: 12px 15px;margin: 15px auto;text-align: center;cursor: pointer;font-weight: bold;font-size: 16px;border-radius: 4px; /* 恢复圆角样式 */}
  .mobile-category-toggle .icon {margin-left: 8px;transition: transform 0.3s;}
  /* --- 响应式布局 --- */
  @media (min-width: 1024px) {
    .filter-controls-container { display: block; padding-left: 20px; }
    @media (min-width: 1600px) { .product-list ul { grid-template-columns: repeat(4, 1fr); } }
  }

  @media (max-width: 1023px) {
    .product-list ul { grid-template-columns: repeat(2, 1fr); }
    .product-wrap-box.filters-open .product-list { padding-left: 0; }
    .product-list {width: 100%;padding-left: 0;}
    .product-sidebar { position: static;width: 100%;transform: none;height: auto;flex-shrink: 1;box-sizing: border-box;max-height: 0;opacity: 0;overflow: hidden;margin: 0;padding-top: 0 15px;padding-bottom: 0;border-width: 0;transform: max-height 0.5s ease, opacity 0.4s ease, padding 0.3s ease, margin-bottom 0.4s ease, border-width 0.1s ease; }
    .product-sidebar.active {max-height: 1000px; opacity: 1;padding: 20px;margin-top: 15px;margin-bottom: 25px;background: #fff;border: 1px solid #e0e0e0;}
    .filter-controls-container {display: none !important;}
    .mobile-category-toggle {display: block;width: calc(100% - 40px);}
    .product-content-area {display: block;}
  }

  @media (max-width: 768px) {
    .product-list ul { grid-template-columns: repeat(1fr);padding: 0 15px; }
    .product-wrap-box {width: 100%;}
    .product-sidebar {position: static;width: 100%;transform: none;height: auto;max-height: 0; /* 使用原有逻辑隐藏 */padding: 0 15px;overflow: hidden;opacity: 0;margin-bottom: 0;transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;}
    .product-sidebar.active {max-height: 800px;opacity: 1;padding: 15px;margin-bottom: 15px;}
    .mobile-category-toggle { display: block; }
    .faq-grid {grid-template-columns: 1fr;}
    .faq-header {flex-direction: column;align-items: flex-start;gap: 15px;}
    .lr-content-wrapper {flex-direction: column;}
    .lr-text-content {padding-right: 0;padding-bottom: 20px;}
    .category-type { font-size: 16px; }
    #product-type-cate a, #application-cate a { font-size: 14px; }
  }
  /* --- 修复WooCommerce Grid布局冲突 --- */
  .product-list ul.products li.product {
      clear: none !important;
      width: auto !important;
      float: none !important;
      margin: 0 !important;
  }
  .product-list ul.products::before,
  .product-list ul.products::after {
    display: none !important;
  }