body.archive [data-reveal] {
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
  opacity: 0;
}
body.archive [data-reveal] img {
  background: url(../images/defaultImg.png) no-repeat;
  background-size: cover;
  width: 100% !important;
  opacity: 1;
}
body.archive [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
body.archive [data-reveal].revealed img.lazyloaded {
  background: transparent;
}
body.archive .mobile-archive-page-title {
  display: none;
}
body.archive .mobile-filter-btn {
  display: none;
}
body.archive .color-group-popover-container {
  display: flex;
  justify-content: center;
  position: relative;
  /* popover箭头 */
}
body.archive .color-group-popover-container .color-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
body.archive .color-group-popover-container .color-group-item {
  position: relative;
  cursor: pointer;
}
body.archive .color-group-popover-container .color-group-thumb {
  text-align: center;
  position: relative;
}
body.archive .color-group-popover-container .color-group-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #eee;
  transition: border-color 0.3s ease;
}
body.archive .color-group-popover-container .color-group-item:hover .color-group-thumb img {
  border-color: #ff7176;
}
body.archive .color-group-popover-container .color-group-name {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 300;
}
body.archive .color-group-popover-container .selected-count {
  display: none;
  background: #FAA5A8;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  position: absolute;
  top: -5px;
  right: -5px;
}
body.archive .color-group-popover-container .color-group-popover {
  cursor: initial;
  display: none;
  position: fixed;
  /* 改为fixed定位 */
  top: auto;
  /* 将通过JS设置 */
  left: auto;
  /* 将通过JS设置 */
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 280px;
  max-width: 500px;
  padding: 15px;
}
body.archive .color-group-popover-container .popover-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  /* 白色箭头 */
  z-index: 1001;
}
body.archive .color-group-popover-container .popover-arrow::before {
  content: '';
  position: absolute;
  top: 1px;
  left: -11px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid #fff;
  /* 边框颜色 */
  z-index: 999;
}
body.archive .color-group-popover-container .popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
body.archive .color-group-popover-container .popover-header .select-all-wrapper {
  display: flex;
  align-items: center;
}
body.archive .color-group-popover-container .popover-header .select-all-wrapper label {
  cursor: pointer;
  font-weight: 300;
  font-size: 12px;
}
body.archive .color-group-popover-container .popover-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
body.archive .color-group-popover-container .popover-colors {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  max-height: 350px;
  overflow-y: auto;
  padding: 5px 0;
}
body.archive .color-group-popover-container .popover-color-item {
  width: 76px;
  display: flex;
  align-items: center;
}
body.archive .color-group-popover-container .popover-color-item:hover .color-preview {
  border-color: #ff7176;
}
body.archive .color-group-popover-container .popover-color-item.hidden {
  display: none;
}
body.archive .color-group-popover-container .color-selection-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
body.archive .color-group-popover-container .color-checkbox {
  padding-left: 1px;
  position: relative;
}
body.archive .color-group-popover-container .color-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
body.archive .color-group-popover-container .color-checkbox-label {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
body.archive .color-group-popover-container .color-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 5px;
  background-size: cover;
  border: 1px solid #ddd;
  position: relative;
  transition: all 0.3s ease;
}
body.archive .color-group-popover-container .color-checkbox-input:checked:not([data-url]) + .color-checkbox-label .color-preview {
  border-color: #ff7176;
  box-shadow: 0 0 0 1px #ff7176;
}
body.archive .color-group-popover-container .checkmark {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff7176;
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}
body.archive .color-group-popover-container .color-checkbox-input:checked:not([data-url]) + .color-checkbox-label .checkmark {
  opacity: 1;
  transform: scale(1);
}
body.archive .color-group-popover-container .color-name {
  font-size: 12px;
  text-align: center;
}
body.archive .site-main .woocommerce-notices-wrapper {
  display: none;
}
body.archive .site-main .woocommerce-products-header {
  display: none;
}
body.archive .site-main ul.products + .storefront-sorting {
  border-bottom: 0 !important;
  border-top: 1px solid rgba(92, 60, 48, 0.3);
  padding-top: 10px;
  display: flex;
  justify-content: flex-end;
}
body.archive .site-main ul.products + .storefront-sorting .woocommerce-pagination a.page-numbers:hover {
  background-color: var(--theme-tag-base);
  color: var(--theme-primary-base);
}
body.archive .site-main ul.products + .storefront-sorting .woocommerce-pagination a.page-numbers {
  background-color: transparent;
  color: var(--theme-primary-base);
}
body.archive .site-main ul.products + .storefront-sorting .woocommerce-pagination .page-numbers.current {
  background-color: var(--theme-tag-base);
  color: var(--theme-primary-base);
}
body.archive .bapf_body {
  font-size: 12px;
}
body.archive .bapf_body label {
  font-weight: 300;
}
body.archive .bapf_body input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-width: 1px;
}
body.archive .bapf_body input[type="checkbox"]:checked {
  background: url(../images/yes.svg);
}
body.archive .side-bar {
  flex: none;
  width: 220px;
  margin-right: 20px;
  margin-bottom: 20px;
  /* 默认隐藏 body，但不要 display: none（否则无法动画） */
  /* 展开时设置一个足够大的 max-height */
}
body.archive .side-bar .berocket_single_filter_widget {
  background: white;
}
body.archive .side-bar .berocket_single_filter_widget + .berocket_single_filter_widget {
  border-top: 5px solid #F2F2F2;
}
body.archive .side-bar .berocket_single_filter_widget .bapf_sfilter {
  margin-bottom: 0;
  padding-bottom: 0;
}
body.archive .side-bar .berocket_single_filter_widget .bapf_head {
  color: var(--theme-primary-base);
  padding: 8px 12px !important;
}
body.archive .side-bar .berocket_single_filter_widget .bapf_head h3 {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
}
body.archive .side-bar .berocket_single_filter_widget .bapf_clr_woborder.bapf_sfilter .bapf_clr_span {
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* 浅灰边框 */
  border-radius: 4px;
}
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-max,
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-min {
  background-color: var(--theme-primary-base) !important;
}
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-from,
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-single,
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-to {
  background-color: var(--theme-primary-base) !important;
}
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-handle {
  background-color: var(--theme-primary-base) !important;
}
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-bar {
  background-color: var(--theme-primary-base) !important;
}
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-handle > i:first-child {
  border-top-color: var(--theme-primary-base) !important;
}
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-from:before,
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-single:before,
body.archive .side-bar .berocket_single_filter_widget .irs--sharp .irs-to:before {
  border-top-color: var(--theme-primary-base) !important;
}
@media (min-width: 768px) {
  body.archive .side-bar {
    /* 为标题右侧添加 + 号 */
  }
  body.archive .side-bar .bapf_head {
    position: relative;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #F2F2F2;
  }
  body.archive .side-bar .bapf_sfilter:not(.no-collapse) {
    /* 展开时变成 - 号 */
  }
  body.archive .side-bar .bapf_sfilter:not(.no-collapse) .bapf_head::after {
    content: "+";
    position: absolute;
    right: 10px;
    top: 50%;
    color: #ff6a13;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 24px;
    transition: transform 0.3s ease;
  }
  body.archive .side-bar .bapf_sfilter:not(.no-collapse) .bapf_head.bapf_expanded::after {
    content: "−";
  }
  body.archive .side-bar .bapf_sfilter:not(.no-collapse) .bapf_body {
    max-height: 0;
  }
}
body.archive .side-bar .berocket_aapf_widget_selected_filter ul li a {
  font-size: 12px;
  border: 1px solid var(--theme-border-base);
  padding: 2px 4px;
  padding-right: 20px;
  color: var(--theme-theme-base);
}
body.archive .side-bar .berocket_aapf_widget_selected_filter ul li a::before {
  right: 20px !important;
  font-size: 26px;
  font-weight: 300;
  color: #ff6a13;
}
body.archive .side-bar .berocket_aapf_widget_selected_filter ul li .braapf_unselect_all {
  padding: 0;
  border: 0;
  font-size: 0;
}
body.archive .side-bar .berocket_aapf_widget_selected_filter ul li .braapf_unselect_all:hover {
  text-decoration: underline;
}
body.archive .side-bar .berocket_aapf_widget_selected_filter ul li .braapf_unselect_all::after {
  content: 'Clear All';
  font-size: 12px;
}
body.archive .side-bar .bapf_body {
  box-sizing: border-box;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
body.archive .side-bar .bapf_body > * {
  padding: 8px 12px !important;
}
body.archive .side-bar .bapf_sfilter.bapf_expanded .bapf_body {
  max-height: 1000px;
  /* 根据实际内容调整，或用 JS 动态计算 */
}
body.archive .custom-products-container {
  display: flex;
  align-items: flex-start;
}
body.archive .custom-products-container .side-bar {
  position: sticky;
  top: 30px;
}
body.archive .custom-products-container .custom-products {
  flex: 1;
}
@media (min-width: 768px) {
  body.archive ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
  }
  body.archive ul.products::before {
    display: none;
  }
}
body.archive li.product {
  width: 100% !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}
body.archive li.product .img-link {
  padding-bottom: 134%;
  position: relative;
  width: 100%;
  height: 0;
  display: block;
  overflow: hidden;
}
body.archive li.product .img-link img.hover-image {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  opacity: 0;
  /* 确保不会遮挡点击 */
  pointer-events: none;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
body.archive li.product .img-link:hover img {
  opacity: 1;
  transform: scale(1.02);
}
body.archive li.product .img-link img {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  transition: transform 0.8s ease-in-out, opacity 0.4s ease-in-out;
  backface-visibility: hidden;
  /* 防止闪烁 */
  will-change: transform, opacity;
  /* 初始状态下的缩放比例为1，即原始大小 */
  transform: scale(1);
  /* 提示浏览器准备动画 */
}
body.archive li.product .product-color-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-weight: 300;
  font-size: 12px;
}
body.archive li.product .product-color-wrap .product-color-swatches .color-swatch {
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border-radius: 50%;
  border-style: solid;
  border-width: 1px;
  border-color: #ddd;
}
body.archive li.product .product-color-wrap .product-color-swatches .color-swatch.active {
  outline: 2px solid var(--theme-primary-base);
}
body.archive li.product .product-color-wrap .product-color-swatches .color-swatch + .color-swatch {
  margin-left: 4px;
}
body.archive li.product .product-color-wrap .color-link:hover {
  text-decoration: underline;
}
body.archive li.product .price {
  margin-bottom: 0 !important;
}
body.archive li.product .product-title {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
  margin-bottom: 4px;
}
body.archive li.product .product-title .title-link {
  max-width: 100%;
}
body.archive li.product .product-title .title-link h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
}
body.archive li.product .product-title .title-link:hover {
  text-decoration: underline;
}
body.archive li.product .tinvwl-loop-button-wrapper {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 8;
}
body.archive li.product .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist_button {
  margin: 0;
  width: 30px;
  height: 30px;
}
body.archive li.product .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist_button::before {
  margin: 0;
  position: relative;
  left: 0;
  top: 0;
  font-size: 30px;
}
body.archive li.product .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.tinvwl-product-in-list:before {
  color: #FF7176 !important;
}
body.archive li.product .price-row {
  display: flex;
  align-items: center;
  position: relative;
}
body.archive li.product .price-row .price {
  order: 0;
  color: var(--theme-primary-base);
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  gap: 2px;
}
body.archive li.product .price-row .price del {
  order: 2;
  font-size: 12px;
  font-weight: 300;
}
body.archive li.product .price-row .price ins {
  margin-left: 0;
}
body.archive li.product .price-row .onsale {
  border-radius: 0;
  order: 1;
  border: 1px solid #ff7176;
  color: #ff7176;
  font-size: 10px;
  font-weight: 300;
  margin-left: 8px;
  margin-bottom: 0;
  padding: 2px 4px;
  text-align: center;
  text-transform: uppercase;
}
body.archive li.product .rating-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  order: 2;
  display: flex;
  align-items: center;
}
body.archive li.product .rating-wrap .star-rating {
  display: inline-block;
  margin: 0 !important;
  margin-right: 4px !important;
}
body.archive li.product .rating-wrap .review-count {
  font-size: 12px;
  font-weight: 300;
}
body.archive li.product .woocommerce-loop-product__title {
  margin-bottom: 0 !important;
  text-align: left;
  font-size: 12px !important;
  font-weight: 300 !important;
  border-bottom: 1px solid transparent;
  color: var(--theme-primary-base);
}
body.archive .storefront-sorting {
  margin-top: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(92, 60, 48, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
body.archive .storefront-sorting::before,
body.archive .storefront-sorting::after {
  display: none;
}
body.archive .storefront-sorting .achive-page-header {
  font-family: BlackerProDisplayLight;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
}
body.archive .storefront-sorting .woocommerce-ordering {
  padding: 0;
  margin-right: 0;
}
body.archive .storefront-sorting .woocommerce-ordering::before {
  content: "SORT BY";
  display: inline;
  font-size: 12px;
  line-height: 17px;
  margin-right: 8px;
}
body.archive .storefront-sorting .woocommerce-ordering .orderby {
  height: 28px;
}
@media (max-width: 768px) {
  body.archive {
    /* 隐藏原侧边栏 */
    /* 显示 Filter 按钮（放在排序栏左侧） */
    /* 调整排序栏布局 */
    /* 抽屉容器 */
    /* 左侧：筛选标题列表 */
    /* 右侧：筛选内容区 */
    /* BAPF 样式微调 */
    /* === 抽屉头部 === */
    /* === 抽屉主体区域（可滚动）=== */
    /* === 抽屉底部按钮栏 === */
  }
  body.archive .color-group-popover-container .color-group-items {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 10px 0;
  }
  body.archive .color-group-popover-container .color-group-items::-webkit-scrollbar {
    display: none;
    /* 隐藏滚动条 */
  }
  body.archive .color-group-popover-container .color-group-item {
    flex: 0 0 auto;
    /* 防止项目压缩 */
  }
  body.archive .color-group-popover-container .color-group-popover {
    max-width: 95vw;
  }
  body.archive ul.products + .storefront-sorting {
    border-bottom: 0 !important;
    border-top: 1px solid rgba(92, 60, 48, 0.3);
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
  }
  body.archive ul.products + .storefront-sorting .woocommerce-pagination {
    padding: 0;
    border: 0;
  }
  body.archive ul.products + .storefront-sorting .woocommerce-pagination a.page-numbers:hover {
    background-color: var(--theme-tag-base);
    color: var(--theme-primary-base);
  }
  body.archive ul.products + .storefront-sorting .woocommerce-pagination a.page-numbers {
    background-color: transparent;
    color: var(--theme-primary-base);
  }
  body.archive ul.products + .storefront-sorting .woocommerce-pagination .page-numbers.current {
    background-color: var(--theme-tag-base);
    color: var(--theme-primary-base);
  }
  body.archive .mobile-archive-page-title {
    display: block;
    font-family: BlackerProDisplayLight;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    background: transparent;
    margin: 0 -10px;
    padding: 10px;
    font-size: 20px;
    font-weight: 700;
  }
  body.archive .side-bar {
    flex: none;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    padding: 0;
  }
  body.archive .side-bar .berocket_single_filter_widget {
    background: white;
  }
  body.archive .side-bar .berocket_single_filter_widget + .berocket_single_filter_widget {
    border-top: 0;
  }
  body.archive .bapf_sfilter {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  body.archive .bapf_head {
    display: none;
    color: var(--theme-primary-base);
    padding: 8px 12px !important;
    padding-left: 0 !important;
  }
  body.archive .bapf_head h3 {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
  }
  body.archive .bapf_clr_woborder.bapf_sfilter .bapf_clr_span {
    border-radius: 4px;
  }
  body.archive .irs--sharp .irs-max,
  body.archive .irs--sharp .irs-min {
    background-color: var(--theme-primary-base) !important;
  }
  body.archive .irs--sharp .irs-from,
  body.archive .irs--sharp .irs-single,
  body.archive .irs--sharp .irs-to {
    background-color: var(--theme-primary-base) !important;
  }
  body.archive .irs--sharp .irs-handle {
    background-color: var(--theme-primary-base) !important;
  }
  body.archive .irs--sharp .irs-bar {
    background-color: var(--theme-primary-base) !important;
  }
  body.archive .irs--sharp .irs-handle > i:first-child {
    border-top-color: var(--theme-primary-base) !important;
  }
  body.archive .irs--sharp .irs-from:before,
  body.archive .irs--sharp .irs-single:before,
  body.archive .irs--sharp .irs-to:before {
    border-top-color: var(--theme-primary-base) !important;
  }
  body.archive .site-content {
    padding-top: 0 !important;
  }
  body.archive .site-content > .col-full {
    max-width: none !important;
    padding: 0 10px !important;
  }
  body.archive .custom-products-container {
    display: block;
  }
  body.archive .custom-products-container .side-bar {
    position: initial;
    top: auto;
  }
  body.archive .custom-products-container .custom-products {
    flex: 1;
  }
  body.archive li.product {
    width: calc((100% - 10px)/2) !important;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
    float: left;
  }
  body.archive li.product:nth-of-type(2n) {
    margin-right: 0 !important;
  }
  body.archive li.product .img-link {
    padding-bottom: 134%;
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
  }
  body.archive li.product .img-link img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
  }
  body.archive li.product .product-color-wrap {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-weight: 300;
    font-size: 12px;
  }
  body.archive li.product .product-color-wrap .product-color-swatches .color-swatch {
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border-radius: 50%;
    border-style: solid;
    border-width: 1px;
    border-color: #ddd;
  }
  body.archive li.product .product-color-wrap .product-color-swatches .color-swatch + .color-swatch {
    margin-left: 4px;
  }
  body.archive li.product .product-color-wrap .color-link:hover {
    text-decoration: underline;
  }
  body.archive li.product .price {
    margin-bottom: 0 !important;
  }
  body.archive li.product .product-title {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 8px;
    margin-bottom: 4px;
  }
  body.archive li.product .product-title .title-link {
    max-width: 100%;
  }
  body.archive li.product .product-title .title-link h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
  }
  body.archive li.product .product-title .title-link:hover {
    text-decoration: underline;
  }
  body.archive li.product .price-row {
    display: flex;
    justify-content: flex-start;
  }
  body.archive li.product .price-row .price {
    color: var(--theme-primary-base);
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
  }
  body.archive li.product .rating-wrap {
    margin-top: 4px;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    order: 2;
    display: flex;
    align-items: center;
  }
  body.archive li.product .rating-wrap .star-rating {
    display: inline-block;
    margin: 0 !important;
    margin-right: 4px !important;
  }
  body.archive li.product .rating-wrap .review-count {
    font-size: 12px;
    font-weight: 300;
  }
  body.archive li.product .woocommerce-loop-product__title {
    margin-bottom: 0 !important;
    text-align: left;
    font-size: 12px !important;
    font-weight: 300 !important;
    border-bottom: 1px solid transparent;
    color: var(--theme-primary-base);
  }
  body.archive .storefront-sorting {
    padding-bottom: 216x !important;
    border-bottom: 1px solid rgba(92, 60, 48, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  body.archive .storefront-sorting .achive-page-header {
    display: none;
  }
  body.archive .storefront-sorting .woocommerce-ordering {
    padding: 0;
    margin-right: 0;
    margin-bottom: 0 !important;
  }
  body.archive .storefront-sorting .woocommerce-ordering::before {
    content: "SORT BY";
    display: inline;
    font-size: 12px;
    line-height: 17px;
    margin-right: 8px;
  }
  body.archive .storefront-sorting .woocommerce-ordering .orderby {
    height: 28px;
  }
  body.archive .custom-products-container .side-bar {
    width: 100%;
  }
  body.archive .custom-products-container .side-bar .bapf_sfilter:not(.selected_filter) {
    display: none;
  }
  body.archive .selected_filter .bapf_head {
    display: none;
  }
  body.archive .mobile-filter-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary-base);
    border: none;
    font-size: 12px;
    cursor: pointer;
  }
  body.archive .mobile-filter-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
  }
  body.archive .storefront-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  body.archive .filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999999999;
    display: none;
  }
  body.archive .filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  body.archive .filter-drawer.active {
    transform: translateX(0);
  }
  body.archive .filter-tabs {
    width: 35%;
    background: #f9f9f9;
    overflow-y: auto;
    border-right: 1px solid var(--theme-border-base);
  }
  body.archive .filter-tab {
    padding: 14px 12px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid var(--theme-border-base);
    font-size: 15px;
  }
  body.archive .filter-tab.active {
    background: var(--theme-primary-base);
    color: white;
  }
  body.archive .filter-panes {
    width: 65%;
    overflow-y: auto;
    padding: 16px;
  }
  body.archive .filter-pane {
    display: none;
  }
  body.archive .filter-pane.active {
    display: block;
  }
  body.archive .filter-pane .bapf_head h3 {
    font-size: 18px;
    margin-top: 0;
  }
  body.archive .filter-pane .bapf_body {
    font-size: 15px;
  }
  body.archive .filter-pane label {
    padding: 8px 0;
    display: block;
  }
  body.archive .filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--theme-border-base);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  body.archive .filter-drawer-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
  }
  body.archive .filter-drawer-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary-base);
  }
  body.archive .filter-drawer-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    height: calc(100vh - 120px);
    /* 减去 header + footer 高度 */
  }
  body.archive .filter-drawer-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--theme-border-base);
    background: white;
    position: sticky;
    bottom: 0;
  }
  body.archive .filter-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background: white;
    font-size: 15px;
    cursor: pointer;
  }
  body.archive .filter-btn.reset {
    color: var(--theme-primary-base);
  }
  body.archive .filter-btn.done {
    background: var(--theme-primary-base);
    color: white;
    border-color: transparent;
  }
  body.archive .filter-btn:hover {
    opacity: 0.9;
  }
}
