/** Shopify CDN: Minification failed

Line 786:24 Expected ":"

**/
/* 产品分类页基础样式 */
#shopify-section-main-collection-product-grid-2025 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#shopify-section-main-collection-product-grid-2025 li {
    margin: 0;
    padding: 0;
}

/* 排序控件样式 */
#shopify-section-main-collection-product-grid-2025 .collection-sorting-container {
  margin-bottom: 2rem;
}

#shopify-section-main-collection-product-grid-2025 .collection-sorting {
  display: flex;
  justify-content: space-between;
}

#shopify-section-main-collection-product-grid-2025 .facets-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#shopify-section-main-collection-product-grid-2025 .collection-sorting {
  position: relative;
}

#shopify-section-main-collection-product-grid-2025 .sorting-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

#shopify-section-main-collection-product-grid-2025 .sorting-wrapper label {
  display: flex;
  width: 150px;
  align-items: center;
  gap: 2px;
  color: #6A51B7;
  font-weight: 500;
}

#shopify-section-main-collection-product-grid-2025 .sorting-wrapper .sortby-label {
  font-family: 'Manrope-Bold';
  font-size: 16px;
}

#shopify-section-main-collection-product-grid-2025 .select__select {
  padding: 8px 12px;
  border: 1px solid #6A51B7;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  color: #6A51B7;
  cursor: pointer;
  min-width: 180px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236A51B7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

#shopify-section-main-collection-product-grid-2025 .select__select:focus {
  outline: none;
  border-color: #6A51B7;
  box-shadow: 0 0 0 2px rgba(106, 81, 183, 0.2);
}

#shopify-section-main-collection-product-grid-2025 #SortBy .sorting-select__option {
  padding: 16px 20px;
}

/* 下拉菜单样式 */
#shopify-section-main-collection-product-grid-2025 .select__select option {
  padding: 10px;
  background-color: white;
}

#shopify-section-main-collection-product-grid-2025 .select__select option:hover,
#shopify-section-main-collection-product-grid-2025 .select__select option:focus {
  background-color: #f0ebff;
}

/* 产品网格样式 */
#shopify-section-main-collection-product-grid-2025 .grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

#shopify-section-main-collection-product-grid-2025 .grid--2-col-tablet-down {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#shopify-section-main-collection-product-grid-2025 .grid--1-col-tablet-down {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media screen and (min-width: 750px) {
  #shopify-section-main-collection-product-grid-2025 .grid--2-col-desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  #shopify-section-main-collection-product-grid-2025 .grid--3-col-desktop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  #shopify-section-main-collection-product-grid-2025 .grid--4-col-desktop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  #shopify-section-main-collection-product-grid-2025 .grid--5-col-desktop {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* 产品卡片样式 */
#shopify-section-main-collection-product-grid-2025 .card {
  position: relative;
  display: flex;
  flex-direction: column;
  /* height: 100%; */
  height: auto;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s ease;
  background-color: #fff;
}

@media (min-width: 1200px) {
  #shopify-section-main-collection-product-grid-2025 .card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

#shopify-section-main-collection-product-grid-2025 .card__media {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

#shopify-section-main-collection-product-grid-2025 .card__media-link {
  display: block;
  position: relative;
}

#shopify-section-main-collection-product-grid-2025 .card__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

#shopify-section-main-collection-product-grid-2025 .card__image.ratio {
  aspect-ratio: 1/1;
}

/* 
 * 2025-08-07: 移除原有的悬浮换图功能，改为图片放大效果
 * 只在min-width: 1200px时生效
 */

/* 产品图片悬浮放大效果 - 仅在桌面端大屏幕生效 */
@media screen and (min-width: 1200px) {
  #shopify-section-main-collection-product-grid-2025 .card__image {
    transition: transform 0.3s ease;
  }
  
  #shopify-section-main-collection-product-grid-2025 .card__media-link:hover .card__image {
    transform: scale(1.05);
  }
}

#shopify-section-main-collection-product-grid-2025 .card__content {
  padding: 20px 10px;
  /* flex-grow: 1; */
  display: flex;
  flex-direction: column;
}

#shopify-section-main-collection-product-grid-2025 .card__information {
  /* flex-grow: 1; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 15px;
}

#shopify-section-main-collection-product-grid-2025 .card__heading {
  margin-bottom: 5px;
  font-size: 14px;
  font-family: 'Manrope-Regular';
  font-weight: 400;
}

#shopify-section-main-collection-product-grid-2025 .card-title {
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

@media screen and (min-width: 1301px) {
  #shopify-section-main-collection-product-grid-2025 .card-title {
    height: 42px;
  }
}

@media screen and (min-width: 1441px) {
  #shopify-section-main-collection-product-grid-2025 .card-title {
    height: 45px;
  }
}

/* 价格样式 */
#shopify-section-main-collection-product-grid-2025 .price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 10px;
}

#shopify-section-main-collection-product-grid-2025 .price__regular {
  font-weight: 500;
  font-size: 1rem;
}

#shopify-section-main-collection-product-grid-2025 .price__sale {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#shopify-section-main-collection-product-grid-2025 .price__original {
  text-decoration: line-through;
  color: #404040;
  font-size: 14px;
  font-family: 'Manrope-Regular';
}

#shopify-section-main-collection-product-grid-2025 .price__current {
  font-size: 16px;
  font-family: 'Manrope-Bold';
  color: #0c0c0c;
}

#shopify-section-main-collection-product-grid-2025 .price-item {
  white-space: nowrap;
  font-size: 16px;
  font-family: 'Manrope-Bold';
  color: #0c0c0c;
}

/* #shopify-section-main-collection-product-grid-2025 .badge-sale {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: #d02e2e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
  margin-left: 0.5rem;
} */

/* 按钮样式 */
#shopify-section-main-collection-product-grid-2025 .button-global {
  font-size: 13px;
  border-width: 1px;
  width: 100%;
  height: 36px;
  padding: 0;
}


/* 加载状态样式 */
#shopify-section-main-collection-product-grid-2025 .loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

#shopify-section-main-collection-product-grid-2025 .loading-overlay.gradient {
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
}

#shopify-section-main-collection-product-grid-2025 .collection.loading .loading-overlay {
  display: flex;
}

#shopify-section-main-collection-product-grid-2025 .loading-overlay::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 3px solid #e1e1e1;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 空集合样式 */
#shopify-section-main-collection-product-grid-2025 .collection--empty {
  text-align: center;
  padding: 3rem 0;
}

#shopify-section-main-collection-product-grid-2025 .title--primary {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 响应式样式 */
@media screen and (max-width: 767px) {
  #shopify-section-main-collection-product-grid-2025 .small-hide {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 989px) {
  #shopify-section-main-collection-product-grid-2025 .medium-hide {
    display: none;
  }
}

@media screen and (min-width: 990px) {
  #shopify-section-main-collection-product-grid-2025 .large-up-hide {
    display: none;
  }
} 

/* 修改分页样式 */
#shopify-section-main-collection-product-grid-2025 .pagination {
  margin: 3rem 0;
  text-align: center;
}

#shopify-section-main-collection-product-grid-2025 .pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}
 
#shopify-section-main-collection-product-grid-2025 .pagination__item {
  margin: 0;
}

#shopify-section-main-collection-product-grid-2025 .pagination__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  /* border: 1px solid #e1e1e1;
  border-radius: 4px; */
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  font-family: 'Manrope-Regular';
  font-weight: 600;
}

#shopify-section-main-collection-product-grid-2025 .pagination__item--prev,
#shopify-section-main-collection-product-grid-2025 .pagination__item--next {
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}

#shopify-section-main-collection-product-grid-2025 .pagination__link:hover,
#shopify-section-main-collection-product-grid-2025 .pagination__link:focus {
  /* background-color: #f5f5f5;
  border-color: #6A51B7; */
  color: #6A51B7;
}

#shopify-section-main-collection-product-grid-2025 .pagination__link--current {
  /* background-color: #6A51B7;
  border-color: #6A51B7;
  color: white; */
  color: #6A51B7;
  background: unset;
  border: none;
}

#shopify-section-main-collection-product-grid-2025 .pagination__link--disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* 上一页和下一页的箭头图标 */
#shopify-section-main-collection-product-grid-2025 .pagination__item--prev .pagination__link::before,
#shopify-section-main-collection-product-grid-2025 .pagination__item--next .pagination__link::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-style: solid;
  border-width: 0 2px 2px 0;
}

#shopify-section-main-collection-product-grid-2025 .pagination__item--prev .pagination__link::before {
  transform: rotate(135deg);
  margin-right: -2px;
}

#shopify-section-main-collection-product-grid-2025 .pagination__item--next .pagination__link::before {
  transform: rotate(-45deg);
  margin-left: -2px;
}

/* 集合名称和数量样式 */
#shopify-section-main-collection-product-grid-2025 .collection-number {
  display: flex;
  justify-content: center;
  align-items: center;
}
#shopify-section-main-collection-product-grid-2025 .collection-title {
  font-size: 16px;
  font-family: 'Manrope-Regular';
  color: #6A51B7;
  margin: 0;
}

@media screen and (max-width: 767px) {
  #shopify-section-main-collection-product-grid-2025 .collection-title {
    font-size: 14px;
    line-height: 1.2;
    color: #0C0C0C;
  }
  
  #shopify-section-main-collection-product-grid-2025 .collection-sorting {
    gap: 1rem;
  }
  
  #shopify-section-main-collection-product-grid-2025 .facets-container {
    justify-content: flex-start;
  }
}

/* 折扣标签样式 */
#shopify-section-main-collection-product-grid-2025 .product-price__discount {
  position: absolute;
  top: 0px;
  left: 10px;
  font-size: 12px;
  font-family: 'Manrope-Regular';
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  background-color: #6A51B7;
  padding: 4px;
  border-radius: 0 0 3px 3px;
  z-index: 2;
}

@media screen and (max-width: 767px) {
  #shopify-section-main-collection-product-grid-2025 .product-price__discount {
    font-size: 12px;
    padding: 4px;
  }
}

/* 移动端排序控件样式 */
@media screen and (max-width: 767px) {
  /* 隐藏原生的选择器 */
  #shopify-section-main-collection-product-grid-2025 #SortBy {
    display: none;
  }

  #shopify-section-main-collection-product-grid-2025 .sorting-wrapper {
    display: block;
    position: relative;
  }
  
  /* 自定义下拉菜单样式 */
  #shopify-section-main-collection-product-grid-2025 .mobile-custom-select {
    position: absolute;
    display: inline-block;
    width: 100%;
  }
  
  #shopify-section-main-collection-product-grid-2025 .mobile-custom-select-options {
    display: none;
    position: absolute;
    top: 10px;
    left: -30px;
    width: 128px;
    border: 1px solid #ECE8EF;
    border-radius: 5px;
    background-color: white;
    z-index: 10;
  }
  
  #shopify-section-main-collection-product-grid-2025 .mobile-custom-select-options.show {
    display: block;
  }
  
  #shopify-section-main-collection-product-grid-2025 .mobile-custom-select-option {
    padding: 14px 16px;
    cursor: pointer;
    color: #333;
    border-bottom: 1px solid #f1f1f1;
    font-size: 12px;
    font-family: 'Manrope-Regular';
  }
  
  #shopify-section-main-collection-product-grid-2025 .mobile-custom-select-option:last-child {
    border-bottom: none;
  }
  
  /* 调整标签样式 */
  #shopify-section-main-collection-product-grid-2025 .sorting-wrapper label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
  }
  
  #shopify-section-main-collection-product-grid-2025 .sorting-wrapper label.active::after {
    transform: rotate(-135deg);
  }
}

/* 桌面端隐藏移动端下拉菜单 */
@media screen and (min-width: 768px) {
  #shopify-section-main-collection-product-grid-2025 .mobile-custom-select {
    display: none;
  }
}

/* 过滤器样式 */
#shopify-section-main-collection-product-grid-2025 .collection-container {
  display: flex;
  gap: 3rem;
}

#shopify-section-main-collection-product-grid-2025 .collection-filters {
  width: 220px;
  max-width: 22%;
  flex-shrink: 0;
  padding-top: 10px;
}

#shopify-section-main-collection-product-grid-2025 .collection-products-container {
  flex-grow: 1;
}

/* #shopify-section-main-collection-product-grid-2025 .filters-container {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
} */

#shopify-section-main-collection-product-grid-2025 .filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ECE8EF;
}

#shopify-section-main-collection-product-grid-2025 .filters-title-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
}

#shopify-section-main-collection-product-grid-2025 .filters-title-wrapper svg path {
  fill: #6A51B7;
}

#shopify-section-main-collection-product-grid-2025 .filters-title {
  font-size: 16px;
  font-family: Manrope-Bold;
  color: #6A51B7;
  margin: 0;
}

#shopify-section-main-collection-product-grid-2025 .clear-all-button {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

#shopify-section-main-collection-product-grid-2025 .clear-all-button:hover svg path {
  fill: #6A51B7;
}

#shopify-section-main-collection-product-grid-2025 .filter-group {
  margin-bottom: 15px;
  border-bottom: 1px solid #ECE8EF;
  padding-bottom: 0px;
}

#shopify-section-main-collection-product-grid-2025 .filter-group:last-child {
  border-bottom: none;
}

#shopify-section-main-collection-product-grid-2025 .filter-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 5px 0 20px;
}

#shopify-section-main-collection-product-grid-2025 .filter-group-title {
  font-size: 14px;
  font-family: 'Manrope-Bold';
  color: #0C0C0C;
  margin: 0;
}

#shopify-section-main-collection-product-grid-2025 .filter-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

#shopify-section-main-collection-product-grid-2025 .filter-toggle-icon .icon-up {
  display: none;
}

#shopify-section-main-collection-product-grid-2025 .filter-toggle-icon .icon-down {
  display: block;
}

#shopify-section-main-collection-product-grid-2025 .filter-group-header.active .filter-toggle-icon .icon-up {
  display: block;
}

#shopify-section-main-collection-product-grid-2025 .filter-group-header.active .filter-toggle-icon .icon-down {
  display: none;
}

#shopify-section-main-collection-product-grid-2025 .filter-group-content {
  display: none;
  padding-top: 0px;
}

#shopify-section-main-collection-product-grid-2025 .filter-group-content.active {
  display: block;
}

/* #shopify-section-main-collection-product-grid-2025 .filter-options {
  max-height: 200px;
  overflow-y: auto;
} */

#shopify-section-main-collection-product-grid-2025 .filter-option {
  margin-bottom: 16px;
}

#shopify-section-main-collection-product-grid-2025 .filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
  position: relative;
}

#shopify-section-main-collection-product-grid-2025 .filter-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid #000000;
  border-radius: 3px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
}

#shopify-section-main-collection-product-grid-2025 .filter-checkbox input[type="checkbox"]:checked {
  background-color: #6A51B7;
  border-color: #6A51B7;
}

#shopify-section-main-collection-product-grid-2025 .filter-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#shopify-section-main-collection-product-grid-2025 .filter-checkbox-label {
  font-size: 14px;
  font-family: 'Manrope-Regular';
  line-height: 1.4;
  color: #0C0C0C;
  flex-grow: 1;
  padding-right: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

#shopify-section-main-collection-product-grid-2025 .filter-count {
  font-size: 12px;
  color: #868686;
  margin-left: auto;
  position: absolute;
  right: 0;
  background-color: #fff;
  padding-left: 5px;
}

/* 价格区间过滤器样式 */
#shopify-section-main-collection-product-grid-2025 .price-range-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

#shopify-section-main-collection-product-grid-2025 .price-range-field {
  flex: 1;
  position: relative;
}
#shopify-section-main-collection-product-grid-2025 .mobile-price-range-field {
  margin-top: -15px;
}

#shopify-section-main-collection-product-grid-2025 .price-range-field label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

#shopify-section-main-collection-product-grid-2025 .price-range-field input {
  width: 100%;
  padding: 8px 0 8px 20px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  font-size: 14px;
}

#shopify-section-main-collection-product-grid-2025 .pc-filter-price-unit {
  position: absolute;Add commentMore actions
  display: inline-block;
  width: 8px;
  height: auto;
  font-size: 14px !important;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
}
#shopify-section-main-collection-product-grid-2025 .mobile-filter-price-unit {
  position: relative;
  top: 30px;
  left: 8px;
}

#shopify-section-main-collection-product-grid-2025 .price-range-apply {
  background-color: #6A51B7;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
}

#shopify-section-main-collection-product-grid-2025 .price-range-apply:hover {
  background-color: #5A41A7;
}

/* 清除所有过滤器按钮样式 */
#shopify-section-main-collection-product-grid-2025 .filter-actions {
  display: none;
}

/* 移动端样式 */
@media screen and (max-width: 767px) {
  #shopify-section-main-collection-product-grid-2025 .collection-container {
    flex-direction: column;
  }
  
  #shopify-section-main-collection-product-grid-2025 .collection-filters {
    display: none;
  }
}

/* 美化滚动条 - 更加细致和低调 */
#shopify-section-main-collection-product-grid-2025 .filter-options::-webkit-scrollbar {
  width: 4px; /* 更细的滚动条 */
}

#shopify-section-main-collection-product-grid-2025 .filter-options::-webkit-scrollbar-track {
  background: transparent; /* 透明轨道背景 */
}

#shopify-section-main-collection-product-grid-2025 .filter-options::-webkit-scrollbar-thumb {
  background: rgba(200, 200, 200, 0.5); /* 半透明浅灰色滑块 */
  border-radius: 10px;
}

#shopify-section-main-collection-product-grid-2025 .filter-options::-webkit-scrollbar-thumb:hover {
  background: rgba(106, 81, 183, 0.3); /* 半透明品牌色 */
}

/* Firefox 滚动条样式 - 更加细致和低调 */
#shopify-section-main-collection-product-grid-2025 .filter-options {
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 200, 200, 0.5) transparent;
}

/* 美化活动过滤器样式 */
/* #shopify-section-main-collection-product-grid-2025 .active-filters {
  margin-bottom: 20px;
}

#shopify-section-main-collection-product-grid-2025 .active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

#shopify-section-main-collection-product-grid-2025 .active-filter-item {
  display: inline-flex;
  align-items: center;
  background-color: #F5F5F5;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

#shopify-section-main-collection-product-grid-2025 .active-filter-item:hover {
  background-color: #E8E8E8;
}

#shopify-section-main-collection-product-grid-2025 .remove-filter {
  margin-left: 6px;
  font-size: 14px;
  color: #868686;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#shopify-section-main-collection-product-grid-2025 .active-filter-item:hover .remove-filter {
  color: #6A51B7;
} */

/* 选中的过滤器选项标签样式 */
#shopify-section-main-collection-product-grid-2025 .filter-checkbox input[type="checkbox"]:checked + .filter-checkbox-label {
  color: #6A51B7;
}

/* 移动端过滤器按钮样式 */
@media screen and (max-width: 767px) {
  /* 修改 Sort By 标签样式 */
  #shopify-section-main-collection-product-grid-2025 .sorting-wrapper .sortby-label {
    font-size: 14px;
    color: #6A51B7;
  }
  
  /* 修改移动端过滤器按钮样式 */
  #shopify-section-main-collection-product-grid-2025 .mobile-filter-button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent; 
    border: none;
    border-radius: 4px;
    padding: 8px 5px;
    font-size: 14px;
    font-family: 'Manrope-Bold';
    color: #6A51B7; 
    cursor: pointer;
  }
  
  /* 修改 Filter 按钮 SVG 图标颜色 */
  #shopify-section-main-collection-product-grid-2025 .mobile-filter-button svg path {
    fill: #6A51B7; /* 改为紫色 */
  }
}

/* 桌面端隐藏移动端过滤器按钮 */
@media screen and (min-width: 768px) {
  #shopify-section-main-collection-product-grid-2025 .mobile-filter-button {
    display: none;
  }
}

/* 移动端过滤器弹窗样式 */
#shopify-section-main-collection-product-grid-2025 .mobile-filters-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-overlay.active {
  opacity: 1;
  visibility: visible;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer.active {
  right: 0;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #ECE8EF;
  height: 64px; /* 固定高度 */
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1002;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-title {
  font-size: 20px;
  font-family: 'Manrope-Bold';
  color: #6A51B7;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-title p {
  margin: 0;
  line-height: 1;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* 移动端过滤器内容样式 */
#shopify-section-main-collection-product-grid-2025 #mobile-filter-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#shopify-section-main-collection-product-grid-2025 .mobile-filters-content {
  padding: 0 20px;
  overflow-y: auto;
  max-height: calc(100vh - 64px - 104px); /* 减去头部和底部的高度 */
}

/* 移动端过滤器组样式 */
#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-group {
  border-bottom: 1px solid #ECE8EF;
  margin-bottom: 0;
  padding-bottom: 8px;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-group-header {
  padding: 24px 0 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-group-title {
  margin: 0;
  font-size: 14px;
  font-family: 'Manrope-Bold';
}

/* 过滤器组展开/折叠图标样式 */
#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-toggle-icon {
  display: flex;
  align-items: center;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .icon-up {
  display: none;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-group-header.active .icon-down {
  display: none;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-group-header.active .icon-up {
  display: block;
}

/* 移动端过滤器底部操作区 */
#shopify-section-main-collection-product-grid-2025 .mobile-filters-footer {
  width: 100%;
  background: #fff;
  padding-top: 20px;
  padding-bottom: 44px;
  height: auto;
  display: flex;
  gap: 10px;
  border-top: 1px solid #ECE8EF;
  margin-top: auto;
  padding-left: 20px;
  padding-right: 20px;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-footer button {
  flex: 1;
  padding: 12px 0;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Manrope-Regular';
  cursor: pointer;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-clear {
  background: #fff;
  border: 1px solid #6A51B7;
  color: #6A51B7;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-apply {
  background: #6A51B7;
  border: 1px solid #6A51B7;
  color: #fff;
}

/* 移动端过滤器组内容样式 */
#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-group-content {
  display: none;
  padding-bottom: 16px;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-group-content.active {
  display: block;
}

/* 移动端过滤器选项样式 */
#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px; /* 第一个值是行间距（垂直），第二个值是列间距（水平） */
  max-height: none;
  overflow-y: visible;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-option {
  width: calc(50% - 8px); /* 两个选项一行，考虑水平间距 */
  margin-bottom: 0; /* 移除底部边距，因为已经通过 gap 控制了垂直间距 */
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-count {
  display: none; /* 隐藏过滤选项计数 */
}

/* 修改移动端过滤器复选框和标签的样式 */
#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0; /* 移除默认间距，使用具体的 margin 控制 */
  cursor: pointer;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-checkbox input[type="checkbox"] {
  margin-right: 10px;
}

#shopify-section-main-collection-product-grid-2025 .mobile-filters-drawer .filter-checkbox-label {
  font-size: 14px;
  color: #333;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0px;
}

/* 产品网格容器加载状态样式 */
.collection-products-container.loading {
  position: relative;
}

.collection-products-container.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
}

.collection-products-container.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border: 3px solid rgba(106, 81, 183, 0.3);
  border-radius: 50%;
  border-top-color: #6A51B7;
  animation: spin 1s ease-in-out infinite;
  z-index: 11;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 移动端隐藏分页控件 */
@media screen and (max-width: 767px) {
  #shopify-section-main-collection-product-grid-2025 .pagination {
    display: none;
  }
}

/* 移动端卡片内容左右内边距为0 */
@media screen and (max-width: 768px) {
  #shopify-section-main-collection-product-grid-2025 .card__content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* 移动端排序选项选中状态样式 */
#shopify-section-main-collection-product-grid-2025 .mobile-custom-select-option.selected {
  background-color: rgba(106, 81, 183, 0.1);
  color: #6A51B7;
  font-weight: bold;
  position: relative;
}

/* 无限滚动加载指示器样式 */
#infinite-scroll-loader {
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

.infinite-scroll-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.infinite-scroll-loading svg {
  animation: rotate 1s linear infinite;
}

.infinite-scroll-loading span {
  font-size: 12px;
  color: #6A51B7;
  font-family: 'Manrope-Regular';
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 移动端隐藏分页控件 */
@media screen and (max-width: 767px) {
  #shopify-section-main-collection-product-grid-2025 .pagination {
    display: none;
  }
}
