/* AI-EDIT v7.75.56 START �?强制移动端样式覆�?*/
/* 强制移动端样式生�?- 最高优先级覆盖 */

/* 移动端强制样�?- 确保移动端布局正确显示 */
@media screen and (max-width: 767px) {
    /* 整体页面布局强制修复 */
    body.single-product {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* 产品详情页容器强制修�?*/
    body.single-product .product-detail-page {
        max-width: 100% !important;
        padding: 16px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    /* PC端布局强制隐藏 */
    body.single-product .pc-layout {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 移动端布局强制显示 */
    body.single-product .mobile-layout {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
    }
    
    /* 移动端产品信息卡�?*/
    body.single-product .mobile-product-info {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        background: white !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    }
    
    /* 移动端图片强制样�?*/
    body.single-product .mobile-layout img {
        width: 100% !important;
        height: 300px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        margin: 0 !important;
        display: block !important;
    }
    
    /* PC端主体内容在移动端隐�?*/
    body.single-product .main-content {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* 产品信息区域强制修复 */
    body.single-product .product-info {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important;
        order: 1 !important;
    }
    
    /* 订购侧边栏强制修�?*/
    body.single-product .order-sidebar {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important;
        order: 2 !important;
    }
    
    /* 订购卡片强制修复 */
    body.single-product .order-card {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        background: white !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    }
    
    /* 移动端底部栏强制显示 */
    body.single-product .mobile-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15) !important;
        padding: 16px !important;
        border-top: 1px solid #e2e8f0 !important;
        width: 100% !important;
    }
    
    /* 移动端底部栏按钮强制样式 */
    body.single-product .mobile-bottom-bar button {
        flex: 1 !important;
        padding: 14px 20px !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }
    
    /* 确保所有元素不超出屏幕 */
    body.single-product * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 强制清除可能冲突的样�?*/
    body.single-product .container,
    body.single-product .row,
    body.single-product .col,
    body.single-product .grid {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 强制flexbox布局正确 */
    body.single-product .d-flex,
    body.single-product .flex {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    
    /* 强制grid布局正确 */
    body.single-product .grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
}

/* 强制PC端隐藏移动端元素 */
@media screen and (min-width: 768px) {
    body.single-product .mobile-layout {
        display: none !important;
        visibility: hidden !important;
    }
    
    body.single-product .mobile-bottom-bar {
        display: none !important;
        visibility: hidden !important;
    }
    
    body.single-product .pc-layout {
        display: flex !important;
        visibility: visible !important;
    }
    
    body.single-product .main-content {
        display: flex !important;
        visibility: visible !important;
        flex-direction: row !important;
        gap: 32px !important;
    }
}
/* AI-EDIT v7.75.56 END */

/* ===== 首页悬浮底部导航栏样式（移动端） ===== */
#home-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: white !important;
  border-top: 1px solid #e5e7eb !important;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06) !important;
  z-index: 40 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (min-width: 768px) {
  #home-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  #home-bottom-nav {
    backdrop-filter: saturate(180%) blur(8px);
    display: block !important;
  }
  
  /* 确保网格布局水平排列 */
  #home-bottom-nav .grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0 !important;
  }
  
  #home-bottom-nav .home-nav-item {
    color: #111827 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    width: 100% !important;
    height: auto !important;
  }
  
  #home-bottom-nav .home-nav-item:active {
    transform: scale(0.98);
  }
  
  #home-bottom-nav .home-nav-item svg {
    width: 20px !important;
    height: 20px !important;
    margin-bottom: 4px !important;
    display: block !important;
  }
  
  #home-bottom-nav .home-nav-item .text-xs {
    font-size: 12px !important;
    line-height: 1 !important;
    display: block !important;
    text-align: center !important;
  }
}
/*
 * Blocksy Child 完全独立样式覆盖文件
 * 版本: 1.0.3
 * 描述: 完全脱离父主题和WooCommerce覆盖，使用最高优先级选择�? * 加载优先�? 999 (最后加载，确保覆盖所有其他样�?
 * 修复: PC端两栏布局，左侧产品详情，右侧订购区域
 */

/* ===== 全局样式重置 - 最高优先级（收敛作用范围，避免影响自定义页眉与分类栏） ===== */
.woocommerce.single-product.blocksy-child-theme,
.woocommerce.single-product.blocksy-child-theme * {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== 商品详情页完全独立样�?===== */
.woocommerce.single-product.blocksy-child-theme {
  background-color: #f8fafc !important;
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif !important;
  line-height: 1.6 !important;
  color: #333333 !important;
}

/* ===== 容器样式 - 最高优先级 ===== */
.woocommerce.single-product.blocksy-child-theme .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

/* ===== 主内容区域样�?- 修复PC端两栏布局 ===== */
.woocommerce.single-product.blocksy-child-theme
  .grid.grid-cols-1.lg\\:grid-cols-12 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

/* PC端两栏布局 - 左侧8列，右侧4�?*/
@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme
    .grid.grid-cols-1.lg\\:grid-cols-12 {
    grid-template-columns: 2fr 1fr !important; /* 2fr : 1fr = 8:4 比例 */
    gap: 2rem !important;
  }

  /* 左侧�?- 产品详情区域 */
  .woocommerce.single-product.blocksy-child-theme .lg\\:col-span-8 {
    grid-column: 1 / 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  /* 右侧�?- 订购区域 */
  .woocommerce.single-product.blocksy-child-theme .lg\\:col-span-4 {
    grid-column: 2 / 3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
}

/* ===== 左侧列样�?- 产品详情区域 ===== */
.woocommerce.single-product.blocksy-child-theme #blocksy-child-left-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

/* 主图片区�?*/
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-main-image-section {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #f3f4f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem !important;
}

/* AI-EDIT v6.111.7 �?为主图容�?图片提供稳定纵横比，降低 CLS */
.woocommerce.single-product.blocksy-child-theme .pc-center-column .product-image {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}
.woocommerce.single-product.blocksy-child-theme .pc-left-column img,
.woocommerce.single-product.blocksy-child-theme .pc-right-column img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}
.woocommerce.single-product.blocksy-child-theme .mobile-image-container img {
  aspect-ratio: 4 / 3 !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme
    #blocksy-child-main-image-section {
    padding: 1.5rem !important;
  }
}

/* 产品基本信息区域 */
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-product-info-section {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #f3f4f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem !important;
}

@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme
    #blocksy-child-product-info-section {
    padding: 1.5rem !important;
  }
}

/* 商品描述区域 */
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-description-section {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #f3f4f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem !important;
}

@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme
    #blocksy-child-description-section {
    padding: 1.5rem !important;
  }
}

.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-description-title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  color: #1f2937 !important;
}

.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-description-content {
  color: #6b7280 !important;
  line-height: 1.6 !important;
}

.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-description-content
  p {
  margin-bottom: 1rem !important;
  color: #6b7280 !important;
}

/* FAQ 区块样式 */
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-section {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #f3f4f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem !important;
}

@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-section {
    padding: 1.5rem !important;
  }
}

.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  color: #1f2937 !important;
}

.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-list {
  border-top: 1px solid #f3f4f6 !important;
}

.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-item-0,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-item-1,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-item-2,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-item-3 {
  padding: 0.75rem 0 !important;
}

.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-0
  button,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-1
  button,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-2
  button,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-3
  button {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  text-align: left !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-0
  span,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-1
  span,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-2
  span,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-3
  span {
  font-weight: 500 !important;
  color: #1f2937 !important;
}

.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-header-0 svg,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-header-1 svg,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-header-2 svg,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-faq-header-3
  svg {
  width: 1rem !important;
  height: 1rem !important;
  transition: transform 0.2s ease !important;
  color: #9ca3af !important;
}

.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-content-0,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-content-1,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-content-2,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-faq-content-3 {
  margin-top: 0.5rem !important;
  color: #6b7280 !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
}

/* 其他详情内容 */
.woocommerce.single-product.blocksy-child-theme #blocksy-child-other-details {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #f3f4f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem !important;
}

@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme #blocksy-child-other-details {
    padding: 1.5rem !important;
  }
}

/* ===== 右侧列样�?- 订购区域，使用父主题原生样式 ===== */
.woocommerce.single-product.blocksy-child-theme #blocksy-child-right-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

/* 让父主题的WooCommerce样式自然生效 */
.woocommerce.single-product.blocksy-child-theme .product-summary {
  /* 保持父主题的默认样式，只做必要的布局调整 */
  width: 100% !important;
}

/* 确保粘性定位在大屏幕上生效 */
@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme #blocksy-child-right-column {
    position: sticky !important;
    top: 2rem !important;
    height: fit-content !important;
  }
}

/* 分类、标签、相关产品卡�?*/
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-categories-section,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-tags-section,
.woocommerce.single-product.blocksy-child-theme
  #blocksy-child-related-products {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #f3f4f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem !important;
}

@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme
    #blocksy-child-categories-section,
  .woocommerce.single-product.blocksy-child-theme #blocksy-child-tags-section,
  .woocommerce.single-product.blocksy-child-theme
    #blocksy-child-related-products {
    padding: 1.5rem !important;
  }
}

.woocommerce.single-product.blocksy-child-theme #blocksy-child-categories-title,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-tags-title,
.woocommerce.single-product.blocksy-child-theme #blocksy-child-related-title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  color: #1f2937 !important;
}

/* 相关产品样式 */
.woocommerce.single-product.blocksy-child-theme #blocksy-child-related-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

.woocommerce.single-product.blocksy-child-theme .blocksy-child-related-item {
  display: flex !important;
  gap: 0.75rem !important;
}

.woocommerce.single-product.blocksy-child-theme
  .blocksy-child-related-item
  img {
  width: 5rem !important;
  height: 5rem !important;
  object-fit: cover !important;
  border-radius: 0.5rem !important;
}

.woocommerce.single-product.blocksy-child-theme .blocksy-child-related-item h4 {
  font-weight: 500 !important;
  color: #1f2937 !important;
  margin-bottom: 0.25rem !important;
}

.woocommerce.single-product.blocksy-child-theme .blocksy-child-related-item p {
  color: #22c55e !important;
  font-weight: 700 !important;
}

/* ===== 响应式设计优�?===== */
@media (max-width: 1023px) {
  /* 移动端单列布局 */
  .woocommerce.single-product.blocksy-child-theme
    .grid.grid-cols-1.lg\\:grid-cols-12 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .woocommerce.single-product.blocksy-child-theme .lg\\:col-span-8,
  .woocommerce.single-product.blocksy-child-theme .lg\\:col-span-4 {
    grid-column: 1 / -1 !important;
  }

  /* 移动端订购区域取消固定定�?*/
  .woocommerce.single-product.blocksy-child-theme #blocksy-child-order-section {
    position: static !important;
  }
}

/* ===== 强制PC端显示两栏布局 ===== */
@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme #blocksy-child-main-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important; /* 2fr : 1fr = 8:4 比例 */
    gap: 2rem !important;
    align-items: start !important;
  }

  .woocommerce.single-product.blocksy-child-theme #blocksy-child-left-column {
    grid-column: 1 / 2 !important;
    width: 100% !important;
  }

  .woocommerce.single-product.blocksy-child-theme #blocksy-child-right-column {
    grid-column: 2 / 3 !important;
    width: 100% !important;
  }
}

/* ===== 隐藏WooCommerce默认元素 ===== */
.woocommerce.single-product.blocksy-child-theme .woocommerce-product-gallery {
  display: none !important;
}

.woocommerce.single-product.blocksy-child-theme
  .woocommerce-product-gallery__wrapper {
  display: none !important;
}

.woocommerce.single-product.blocksy-child-theme
  .woocommerce-product-gallery__image {
  display: none !important;
}

/* ===== PC端三栏布局样式 - 最高优先级 ===== */

/* PC端三栏布局样式 */
.woocommerce.single-product.blocksy-child-theme .pc-three-column {
  display: flex !important;
  gap: 1rem !important;
  margin-bottom: 2rem !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

.woocommerce.single-product.blocksy-child-theme .pc-left-column {
  width: 25% !important;
  aspect-ratio: 4/3 !important;
  background-color: #f3f4f6 !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
  position: relative !important;
}

.woocommerce.single-product.blocksy-child-theme .pc-center-column {
  width: 50% !important;
}

.woocommerce.single-product.blocksy-child-theme .pc-right-column {
  width: 25% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  position: relative !important;
}

.woocommerce.single-product.blocksy-child-theme .pc-right-column img {
  width: 100% !important;
  height: calc(50% - 0.5rem) !important;
  object-fit: cover !important;
  border-radius: 0.5rem !important;
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

.woocommerce.single-product.blocksy-child-theme .pc-left-column img,
.woocommerce.single-product.blocksy-child-theme .pc-center-column img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0.5rem !important;
  display: block !important;
}

.woocommerce.single-product.blocksy-child-theme .pc-right-column img:hover {
  transform: scale(1.05) !important;
}

/* PC端三栏布局响应�?*/
@media (max-width: 768px) {
  .woocommerce.single-product.blocksy-child-theme .pc-three-column {
    display: none !important;
  }
}

/* ===== 现代化下拉选择器样式覆�?- 最高优先级 ===== */

/* 测试样式已删�?- 所有调试边框已移除 */

/* 现代化变体选择器样�?- 最顺滑的自适应下拉 */
.modern-variation-select {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
  min-height: 44px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1rem !important;
  padding-right: 2.5rem !important;
  position: relative !important;
  z-index: 1 !important;
  cursor: pointer !important;
  outline: none !important;
}

/* 更具体的选择�?- 最顺滑的自适应下拉 */
.woocommerce .modern-variation-select {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
  min-height: 44px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1rem !important;
  padding-right: 2.5rem !important;
  position: relative !important;
  z-index: 1 !important;
  cursor: pointer !important;
  outline: none !important;
}

/* 最具体的选择�?- 最顺滑的自适应下拉 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #e5e7eb !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
  min-height: 44px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1rem !important;
  padding-right: 2.5rem !important;
  position: relative !important;
  z-index: 1 !important;
  cursor: pointer !important;
  outline: none !important;
}

/* ===== 现代化WooCommerce下拉选择器样�?- 最终版�?===== */

/* 现代化下拉选择器容�?- 确保垂直向下不偏�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variations-form {
  position: relative !important;
  overflow: visible !important;
}

/* 下拉选择器包装器 - 确保垂直向下不偏�?*/
.woocommerce.single-product.blocksy-child-theme .modern-dropdown-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  z-index: 10 !important;
}

/* 变体选择器行 - 确保垂直向下不偏�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-row {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  margin-bottom: 1rem !important;
}

/* 变体选择器容�?- 确保垂直向下不偏�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-select-container {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* 现代化下拉选择器容�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variations-form {
  background: #ffffff;
  border-radius: 12px;
  padding: 0;
  margin: 0;
}

.woocommerce.single-product.blocksy-child-theme .modern-variations-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* 变量行样�?- 左右布局 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.woocommerce.single-product.blocksy-child-theme .modern-variation-row:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ===== 变体标签和选择器文字显示修�?v4.2.0-FINAL ===== */

/* 标签容器 - 左侧 - 确保显示 */
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-label-container {
  display: flex !important;
  align-items: center;
  min-width: 120px; /* 增加最小宽度确保标签显�?*/
  max-width: 200px; /* 限制最大宽�?*/
  flex-shrink: 0; /* 防止收缩 */
  margin-right: 12px; /* 增加右边�?*/
}

/* 选择器容�?- 右侧 - 确保显示 */
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select-container {
  display: flex !important;
  align-items: center;
  min-width: 200px;
  flex: 1; /* 占据剩余空间 */
}

/* 变体标签文字 - 确保可见�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-label {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  white-space: normal !important; /* 允许换行 */
  word-wrap: break-word !important; /* 长文本换�?*/
  display: block !important; /* 确保显示 */
  visibility: visible !important; /* 确保可见 */
  opacity: 1 !important; /* 确保不透明 */
  text-overflow: ellipsis !important; /* 超长文本省略�?*/
  overflow: hidden !important; /* 隐藏溢出 */
  max-width: 100% !important; /* 限制最大宽�?*/
}

.woocommerce.single-product.blocksy-child-theme .required-indicator {
  color: #ef4444;
  margin-left: 0.25rem;
  font-weight: 700;
}

/* 现代化下拉包装器 */
.woocommerce.single-product.blocksy-child-theme .modern-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 200px;
}

/* 现代化下拉选择器样�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-select {
  appearance: none;
  background: #ffffff;
  border: 3px solid #000000 !important;
  border-radius: 10px;
  padding: 0.875rem 3rem 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 48px;
}

/* 下拉框焦点状�?- 最顺滑的自适应下拉 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select:focus {
  outline: none !important;
  border-color: #39896c !important;
  box-shadow: 0 0 0 3px rgba(57, 137, 108, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  position: relative !important;
  z-index: 100 !important;
  transform: none !important;
  background-color: #f8fffe !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 下拉框悬停状�?- 最顺滑的自适应下拉 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select:hover {
  border-color: #39896c !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  position: relative !important;
  z-index: 100 !important;
  transform: none !important;
  background-color: #f8fffe !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 下拉框激活状�?- 最顺滑的自适应下拉 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select:active {
  transform: scale(0.98) !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:disabled {
  background-color: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

/* 自定义下拉箭�?*/
.woocommerce.single-product.blocksy-child-theme .modern-dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  transition: all 0.3s ease;
  z-index: 2;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:focus
  + .modern-dropdown-arrow {
  color: #10b981;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:focus
  + .modern-dropdown-arrow
  svg {
  transform: translateY(-50%) rotate(180deg);
}

/* 选择状态指示器 */
.woocommerce.single-product.blocksy-child-theme .modern-select-indicator {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #000000;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select.has-value
  + .modern-dropdown-arrow
  + .modern-select-indicator {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* 重置按钮行样�?*/
.woocommerce.single-product.blocksy-child-theme .modern-reset-row {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.woocommerce.single-product.blocksy-child-theme .modern-reset-variations {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.woocommerce.single-product.blocksy-child-theme .modern-reset-variations:hover {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: #374151;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: #9ca3af;
}

/* 缺货状态样�?*/
.woocommerce.single-product.blocksy-child-theme .modern-out-of-stock {
  margin-bottom: 1.5rem;
}

/* 变化提示样式 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-alert {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  color: #92400e;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.woocommerce.single-product.blocksy-child-theme .modern-variation-alert.show {
  display: block;
  animation: slideDown 0.3s ease;
}

/* 单变化包装器 */
.woocommerce.single-product.blocksy-child-theme .modern-single-variation-wrap {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* 动画效果 */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 桌面端优�?- 最顺滑的自适应下拉 */
@media (min-width: 769px) {
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    min-height: 44px !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-select:focus {
    box-shadow: 0 0 0 3px rgba(57, 137, 108, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background-color: #f8fffe !important;
    border-color: #39896c !important;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-select:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background-color: #f8fffe !important;
    border-color: #39896c !important;
  }
}

/* 移动端优�?- 最顺滑的自适应下拉 */
/* 重复的移动端商品卡样式已删除 - 使用统一的统一样式 */
/* 移动端优�?- 最顺滑的自适应下拉 */
@media (max-width: 768px) {
  /* 重复的移动端商品卡样式已删除，请查看�?330行的统一样式 */
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    height: auto !important;
  }
  
  /* 移动端商品卡标题强制显示 */
  .product-card h2,
  .product-card h2.text-sm,
  .product-card h2.text-sm.md\:text-base,
  .product-card h2.font-semibold,
  .product-card h2.text-sm.font-semibold,
  .product-card h2.text-sm.md\:text-base.font-semibold,
  .woocommerce .product-card h2,
  .woocommerce .product-card h2.text-sm,
  .woocommerce .product-card h2.text-sm.md\:text-base,
  .woocommerce .product-card h2.font-semibold,
  .woocommerce .product-card h2.text-sm.font-semibold,
  .woocommerce .product-card h2.text-sm.md\:text-base.font-semibold,
  .blocksy-child-theme .product-card h2,
  .blocksy-child-theme .product-card h2.text-sm,
  .blocksy-child-theme .product-card h2.text-sm.md\:text-base,
  .blocksy-child-theme .product-card h2.font-semibold,
  .blocksy-child-theme .product-card h2.text-sm.font-semibold,
  .blocksy-child-theme .product-card h2.text-sm.md\:text-base.font-semibold,
  #productGrid .product-card h2,
  #productGrid .product-card h2.text-sm,
  #productGrid .product-card h2.text-sm.md\:text-base,
  #productGrid .product-card h2.font-semibold,
  #productGrid .product-card h2.text-sm.font-semibold,
  #productGrid .product-card h2.text-sm.md\:text-base.font-semibold {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #1f2937 !important; /* 深灰色文字，确保在白色背景上可见 */
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    text-indent: 0 !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-text-stroke: none !important;
    -webkit-text-stroke-width: 0 !important;
    -webkit-text-stroke-color: transparent !important;
    -webkit-text-fill-color: #1f2937 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
  }
  
  /* 移动端商品卡描述强制显示 */
  .product-card .product-short-description,
  .woocommerce .product-card .product-short-description,
  .blocksy-child-theme .product-card .product-short-description,
  #productGrid .product-card .product-short-description,
  .related-products-grid .product-card .product-short-description,
  .product-grid .product-card .product-short-description,
  .products-grid .product-card .product-short-description,
  .woocommerce .products .product-card .product-short-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #6b7280 !important; /* 中灰色描述文�?*/
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    text-indent: 0 !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-text-stroke: none !important;
    -webkit-text-stroke-width: 0 !important;
    -webkit-text-stroke-color: transparent !important;
    -webkit-text-fill-color: #6b7280 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
  }
  
  /* 移动端投票按钮修�?- 确保完美圆形 */
  .product-card .vote-btn,
  .woocommerce .product-card .vote-btn,
  .blocksy-child-theme .product-card .vote-btn,
  #productGrid .product-card .vote-btn,
  .related-products-grid .product-card .vote-btn,
  .product-grid .product-card .vote-btn,
  .products-grid .product-card .vote-btn,
  .woocommerce .products .product-card .vote-btn,
  .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0 {
    /* 投票按钮样式 - 尺寸由媒体查询控制 */
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    
    /* 强制圆形按钮 - 这是关键 */
    border-radius: 50% !important;  /* 完美圆形 */
    
    /* Flex属�?- 防止变形 */
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 24px !important;
    
    /* 布局属�?*/
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* 样式属�?- 恢复原始绿色 */
    background-color: #39896c !important;  /* 原始绿色 */
    color: white !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    
    /* 边距和内边距 */
    margin: 0 !important;
    padding: 0 !important;
    
    /* 确保不被其他样式覆盖 */
    box-sizing: border-box !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* 防止任何变形 */
    transform: none !important;
    scale: 1 !important;
    aspect-ratio: 1 !important;  /* 强制1:1比例 */
    
    /* 移除override.css中的白色背景和边�?*/
    background: #39896c !important;  /* 覆盖白色背景 */
    border: none !important;  /* 移除边框 */
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    background-clip: padding-box !important;
  }
  
  /* 移动端投票按钮悬停效�?*/
  .product-card .vote-btn:hover,
  .woocommerce .product-card .vote-btn:hover,
  .blocksy-child-theme .product-card .vote-btn:hover,
  #productGrid .product-card .vote-btn:hover,
  .related-products-grid .product-card .vote-btn:hover,
  .product-grid .product-card .vote-btn:hover,
  .products-grid .product-card .vote-btn:hover,
  .woocommerce .products .product-card .vote-btn:hover,
  .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0:hover {
    background-color: #2d6b56 !important;  /* 悬停深绿�?*/
    border-radius: 50% !important;  /* 保持圆形 */
    
    /* 悬停时也保持固定尺寸 */
    width: 16px !important;
    height: 16px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 24px !important;
    
    /* 移除override.css中的悬停样式 */
    background: #2d6b56 !important;  /* 覆盖青绿色背�?*/
    border: none !important;  /* 移除边框 */
  }
}
/* 移动端优�?- 最顺滑的自适应下拉 */
@media (max-width: 768px) {
  .woocommerce.single-product.blocksy-child-theme .modern-variations-container {
    gap: 1rem !important;
    position: relative !important;
    overflow: visible !important;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-row {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .woocommerce.single-product.blocksy-child-theme
    .modern-variation-label-container {
    justify-content: flex-start !important;
    position: relative !important;
    overflow: visible !important;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    position: relative !important;
    z-index: 100 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    font-size: 16px !important;
    padding: 0.875rem 1rem !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  /* 移动端焦点状态优�?*/
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select:focus {
    box-shadow: 0 0 0 3px rgba(57, 137, 108, 0.2), 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    background-color: #f8fffe !important;
    border-color: #39896c !important;
  }

  /* 移动端悬停状态优�?*/
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    background-color: #f8fffe !important;
    border-color: #39896c !important;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-dropdown-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    z-index: 100 !important;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-label {
    font-size: 0.875rem;
    font-weight: 700;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    font-size: 0.875rem;
    min-height: 44px;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-dropdown-wrapper {
    min-width: 100%;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-reset-variations {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
}

/* ===== 现代化自适应变体选择器设�?v4.2.0-FINAL ===== */

/* 智能自适应下拉容器 */
.woocommerce.single-product.blocksy-child-theme .modern-dropdown-container {
  position: relative;
  display: inline-block;
  min-width: 200px; /* 最小宽度保证可用�?*/
  max-width: 100%; /* 最大宽度防止溢�?*/
  width: auto; /* 自适应宽度 */
}

/* 现代化自适应选择�?- 文字显示优化 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select {
  width: 100%;
  min-width: 200px; /* 最小宽�?*/
  max-width: 400px; /* 最大宽�?*/
  padding: 1rem 2.5rem 1rem 1rem !important; /* 增加内边距确保文字完整显�?*/
  font-size: 1rem !important; /* 增加字体大小提升可读�?*/
  line-height: 1.6 !important; /* 增加行高提升文字显示 */
  min-height: 56px !important; /* 增加最小高度确保文字不被截�?*/
  max-height: 80px !important; /* 设置最大高度防止过�?*/
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  color: #374151 !important; /* 确保文字颜色 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* 文字显示优化 */
  text-overflow: ellipsis !important; /* 超长文字省略�?*/
  white-space: nowrap !important; /* 单行显示 */
  overflow: hidden !important; /* 隐藏溢出 */
  vertical-align: middle !important; /* 垂直居中 */
  display: block !important; /* 确保显示 */
  visibility: visible !important; /* 确保可见 */
  opacity: 1 !important; /* 确保不透明 */
}

/* ===== 响应式文字可读性优�?v4.2.0-FINAL ===== */

/* 移动端优�?- 确保文字完整显示 */
@media (max-width: 640px) {
  .woocommerce.single-product.blocksy-child-theme .modern-dropdown-container {
    min-width: 100%;
    max-width: 100%;
  }
  
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    min-width: 100%;
    max-width: 100%;
    font-size: 16px !important; /* 防止iOS缩放 */
    padding: 1.25rem 3rem 1.25rem 1.25rem !important; /* 增加移动端内边距 */
    min-height: 60px !important; /* 增加移动端最小高�?*/
    line-height: 1.7 !important; /* 增加移动端行�?*/
  }

  /* 移动端标签优�?*/
  .woocommerce.single-product.blocksy-child-theme .modern-variation-label {
    font-size: 1.1rem !important; /* 增加移动端字体大�?*/
    font-weight: 700 !important; /* 增加移动端字体粗�?*/
    color: #111827 !important; /* 增加移动端对比度 */
    min-width: 100px !important; /* 确保移动端标签宽�?*/
    margin-bottom: 8px !important; /* 增加移动端下边距 */
  }

  /* 移动端标签容器优�?*/
  .woocommerce.single-product.blocksy-child-theme .modern-variation-label-container {
    min-width: 100px !important;
    max-width: 100% !important;
    margin-right: 0 !important; /* 移动端移除右边距 */
    margin-bottom: 8px !important; /* 增加移动端下边距 */
    flex-direction: column !important; /* 移动端垂直布局 */
    align-items: flex-start !important; /* 移动端左对齐 */
  }
}

/* 平板端优�?- 平衡显示效果 */
@media (min-width: 641px) and (max-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme .modern-dropdown-container {
    min-width: 250px;
    max-width: 350px;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    font-size: 0.95rem !important; /* 平板端适中字体大小 */
    padding: 1.1rem 2.75rem 1.1rem 1.1rem !important; /* 平板端适中内边�?*/
    min-height: 58px !important; /* 平板端适中高度 */
    line-height: 1.65 !important; /* 平板端适中行高 */
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-label {
    font-size: 1.05rem !important; /* 平板端适中标签字体 */
    font-weight: 650 !important; /* 平板端适中字体粗细 */
    color: #1f2937 !important; /* 平板端适中对比�?*/
  }
}

/* 桌面端优�?- 最佳显示效�?*/
@media (min-width: 1025px) {
  .woocommerce.single-product.blocksy-child-theme .modern-dropdown-container {
    min-width: 280px;
    max-width: 400px;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    font-size: 1rem !important; /* 桌面端标准字体大�?*/
    padding: 1rem 2.5rem 1rem 1rem !important; /* 桌面端标准内边距 */
    min-height: 56px !important; /* 桌面端标准高�?*/
    line-height: 1.6 !important; /* 桌面端标准行�?*/
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-label {
    font-size: 1rem !important; /* 桌面端标准标签字�?*/
    font-weight: 600 !important; /* 桌面端标准字体粗�?*/
    color: #1f2937 !important; /* 桌面端标准对比度 */
  }
}

/* 现代化选择器状态样�?*/
.woocommerce.single-product.blocksy-child-theme
  .modern-dropdown-container.focused
  .modern-variation-select {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.woocommerce.single-product.blocksy-child-theme
  .modern-dropdown-arrow.rotated
  svg {
  transform: rotate(180deg);
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select.has-value {
  border-color: #10b981;
  background-color: #f0fdf4;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

/* 悬停效果增强 */
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:hover {
  border-color: #9ca3af;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* 禁用状态优�?*/
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:disabled {
  background-color: #f9fafb;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* ===== 高对比度和可访问性优�?v4.2.0-FINAL ===== */

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .woocommerce.single-product.blocksy-child-theme .modern-variation-label {
    color: #000000 !important; /* 高对比度标签文字 */
    font-weight: 700 !important; /* 高对比度字体粗细 */
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    color: #000000 !important; /* 高对比度选择器文�?*/
    border-color: #000000 !important; /* 高对比度边框 */
    background-color: #ffffff !important; /* 高对比度背景 */
  }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    transition: none !important; /* 禁用动画 */
  }

  .woocommerce.single-product.blocksy-child-theme
    .modern-variation-select:hover {
    transform: none !important; /* 禁用悬停动画 */
  }
}

/* 焦点可见性增�?- 键盘导航支持 */
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:focus {
  outline: 3px solid #3b82f6 !important; /* 增强焦点轮廓 */
  outline-offset: 2px !important; /* 焦点轮廓偏移 */
  border-color: #3b82f6 !important; /* 焦点边框颜色 */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important; /* 焦点阴影 */
}

/* 文字选择优化 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select::selection {
  background-color: #3b82f6 !important; /* 文字选择背景�?*/
  color: #ffffff !important; /* 文字选择前景�?*/
}

/* 占位符文字优�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-select::placeholder {
  color: #6b7280 !important; /* 占位符文字颜�?*/
  opacity: 0.8 !important; /* 占位符透明�?*/
  font-style: italic !important; /* 占位符斜�?*/
}

/* ===== 智能尺寸控制 - 根据内容长度自动调整 ===== */

/* 短文本选项�?-10字符�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="short"] {
  min-width: 180px;
  max-width: 250px;
}

/* 中等文本选项�?1-20字符�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="medium"] {
  min-width: 220px;
  max-width: 320px;
}

/* 长文本选项�?1+字符�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="long"] {
  min-width: 280px;
  max-width: 400px;
}

/* 超长文本选项�?0+字符�?*/
.woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="extra-long"] {
  min-width: 320px;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;
}

/* 动态宽度调�?- 基于内容 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select {
  width: fit-content;
  min-width: 200px;
  max-width: 100%;
}

/* 移动端智能调�?*/
@media (max-width: 640px) {
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="short"] {
    min-width: 100%;
    max-width: 100%;
  }
  
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="medium"] {
    min-width: 100%;
    max-width: 100%;
  }
  
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="long"] {
    min-width: 100%;
    max-width: 100%;
  }
  
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select[data-text-length="extra-long"] {
    min-width: 100%;
    max-width: 100%;
  }
}

/* 数量选择器（商品详情页表单内�?- 现代左右按钮布局 */
.single-product form.cart .quantity,
.woocommerce.single-product form.cart .quantity,
.woocommerce form.cart .quantity,
.single-product .quantity,
.woocommerce .quantity {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.single-product form.cart .quantity .qty-btn,
.woocommerce.single-product form.cart .quantity .qty-btn,
.woocommerce form.cart .quantity .qty-btn,
.single-product .quantity .qty-btn,
.woocommerce .quantity .qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border: none !important;
  border-radius: 0 !important;
  background: #f9fafb !important;
  color: #374151 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  user-select: none !important;
}

.single-product form.cart .quantity .qty-btn:hover,
.woocommerce.single-product form.cart .quantity .qty-btn:hover,
.woocommerce form.cart .quantity .qty-btn:hover,
.single-product .quantity .qty-btn:hover,
.woocommerce .quantity .qty-btn:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
}

.single-product form.cart .quantity .qty-btn:active,
.woocommerce.single-product form.cart .quantity .qty-btn:active,
.woocommerce form.cart .quantity .qty-btn:active,
.single-product .quantity .qty-btn:active,
.woocommerce .quantity .qty-btn:active {
  background: #e5e7eb !important;
}

.single-product form.cart .quantity input.qty,
.woocommerce.single-product form.cart .quantity input.qty,
.woocommerce form.cart .quantity input.qty,
.single-product .quantity input.qty,
.woocommerce .quantity input.qty {
  height: 36px !important;
  width: 64px !important;
  text-align: center !important;
  border: none !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 隐藏原生上下按钮 */
.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce.single-product
  form.cart
  .quantity
  input.qty::-webkit-outer-spin-button,
.woocommerce.single-product
  form.cart
  .quantity
  input.qty::-webkit-inner-spin-button,
.woocommerce form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.single-product form.cart .quantity input.qty,
.woocommerce.single-product form.cart .quantity input.qty,
.woocommerce form.cart .quantity input.qty {
  -moz-appearance: textfield !important;
}

/* 通用数量选择器样�?- 针对任何包含 .qty 输入框的容器 */
.single-product *:has(input.qty),
.woocommerce *:has(input.qty) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

/* 通用按钮样式 */
.single-product .qty-btn,
.woocommerce .qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border: none !important;
  border-radius: 0 !important;
  background: #f9fafb !important;
  color: #374151 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  user-select: none !important;
}

.single-product .qty-btn:hover,
.woocommerce .qty-btn:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
}

.single-product .qty-btn:active,
.woocommerce .qty-btn:active {
  background: #e5e7eb !important;
}

/* 移动端更易点按尺�?*/
@media (max-width: 768px) {
  .single-product form.cart .quantity .qty-btn,
  .single-product .qty-btn,
  .woocommerce .qty-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
  }
  .single-product form.cart .quantity input.qty,
  .single-product input.qty,
  .woocommerce input.qty {
    height: 44px !important;
    width: 72px !important;
    font-size: 16px !important;
  }
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select.has-value:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* 禁用状态样�?*/
.woocommerce.single-product.blocksy-child-theme
  .single_add_to_cart_button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #9ca3af !important;
}

.woocommerce.single-product.blocksy-child-theme
  .single_add_to_cart_button.disabled:hover {
  background-color: #9ca3af !important;
  transform: none !important;
}

/* 加载状态样�?*/
.woocommerce.single-product.blocksy-child-theme
  .modern-variations-form.loading
  .modern-variation-select {
  pointer-events: none;
  opacity: 0.7;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variations-form.loading
  .modern-reset-variations {
  pointer-events: none;
  opacity: 0.7;
}

/* 成功状态样�?*/
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-alert.success {
  background: #d1fae5;
  border-color: #10b981;
  color: #065f46;
}

.woocommerce.single-product.blocksy-child-theme .modern-variation-alert.error {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .woocommerce.single-product.blocksy-child-theme .modern-variation-select {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
  }

  .woocommerce.single-product.blocksy-child-theme
    .modern-variation-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
  }

  .woocommerce.single-product.blocksy-child-theme .modern-variation-label {
    color: #f9fafb;
  }

  .woocommerce.single-product.blocksy-child-theme .modern-reset-variations {
    background: #374151;
    color: #d1d5db;
    border-color: #4b5563;
  }

  .woocommerce.single-product.blocksy-child-theme
    .modern-reset-variations:hover {
    background: #4b5563;
    color: #f9fafb;
  }

  .woocommerce.single-product.blocksy-child-theme
    .modern-variation-select.has-value {
    background-color: #064e3b;
    border-color: #10b981;
  }
}
/* 确保黑色边框始终显示 - 最高优先级 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-select {
  border: 3px solid #000000 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border-radius: 12px !important;
  padding: 1rem 3.5rem 1rem 1.25rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  min-height: 56px !important;
  position: relative !important;
}

/* 添加明显的点击提�?*/
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select::before {
  content: "点击选择" !important;
  position: absolute !important;
  right: 3.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 0.75rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
  pointer-events: none !important;
  opacity: 0.8 !important;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:not([value=""])::before {
  display: none !important;
}

.woocommerce.single-product.blocksy-child-theme .modern-variation-select:focus {
  outline: none !important;
  border-color: #000000 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-1px) !important;
}

.woocommerce.single-product.blocksy-child-theme .modern-variation-select:hover {
  border-color: #000000 !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-2px) !important;
}

/* 添加脉冲动画提示 */
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:not([value=""]) {
  border-color: #000000 !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
}

/* 未选择状态的脉冲效果 */
.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select[value=""] {
  animation: pulse-border 2s infinite !important;
}

@keyframes pulse-border {
  0%,
  100% {
    border-color: #000000 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  }
  50% {
    border-color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
  }
}

.woocommerce.single-product.blocksy-child-theme .modern-select-indicator {
  color: #000000 !important;
}

/* 增强下拉箭头样式 */
.woocommerce.single-product.blocksy-child-theme .modern-dropdown-arrow {
  position: absolute !important;
  right: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  color: #10b981 !important;
  transition: all 0.3s ease !important;
  z-index: 3 !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-select:hover
  + .modern-dropdown-arrow {
  color: #059669 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* 添加下拉提示文字 */
.woocommerce.single-product.blocksy-child-theme .modern-variation-row {
  position: relative !important;
}

.woocommerce.single-product.blocksy-child-theme .modern-variation-row::after {
  content: "请选择" !important;
  position: absolute !important;
  top: -8px !important;
  right: 0 !important;
  background: #39896c !important;
  color: white !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
}

.woocommerce.single-product.blocksy-child-theme
  .modern-variation-row:has(.modern-variation-select[value=""])::after {
  opacity: 1 !important;
  animation: blink 1.5s infinite !important;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1 !important;
  }
  51%,
  100% {
    opacity: 0.3 !important;
  }
}

/* ===== 确保样式优先级最�?===== */
.woocommerce.single-product.blocksy-child-theme * {
  font-family: inherit !important;
}

.woocommerce.single-product.blocksy-child-theme button,
.woocommerce.single-product.blocksy-child-theme input,
.woocommerce.single-product.blocksy-child-theme select,
.woocommerce.single-product.blocksy-child-theme textarea {
  font-family: inherit !important;
}

/* ===== 通用卡片样式 ===== */
.woocommerce.single-product.blocksy-child-theme section {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #f3f4f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  padding: 1rem !important;
}

@media (min-width: 1024px) {
  .woocommerce.single-product.blocksy-child-theme section {
    padding: 1.5rem !important;
  }
}

/* ===== 标题样式统一 ===== */
.woocommerce.single-product.blocksy-child-theme h2 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  color: #1f2937 !important;
}

.woocommerce.single-product.blocksy-child-theme h3 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  color: #1f2937 !important;
}

/* ===== 分割线样�?===== */
.woocommerce.single-product.blocksy-child-theme .divide-y {
  border-top: 1px solid #f3f4f6 !important;
}

.woocommerce.single-product.blocksy-child-theme .divide-y > * + * {
  border-top: 1px solid #f3f4f6 !important;
}

/* ===== Base UI 风格数量选择�?- 最高优先级 ===== */

/* 隐藏默认的上下箭�?*/
.woocommerce.single-product.blocksy-child-theme .quantity input.qty,
.woocommerce.single-product .quantity input.qty,
.quantity input.qty {
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: none !important;
}

.woocommerce.single-product.blocksy-child-theme
  .quantity
  input.qty::-webkit-outer-spin-button,
.woocommerce.single-product .quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-outer-spin-button,
.woocommerce.single-product.blocksy-child-theme
  .quantity
  input.qty::-webkit-inner-spin-button,
.woocommerce.single-product .quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Base UI 风格数量选择器容�?*/
.woocommerce.single-product.blocksy-child-theme .quantity,
.woocommerce.single-product .quantity,
.quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  width: 120px !important;
  height: 40px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
}

/* 悬停状�?*/
.woocommerce.single-product.blocksy-child-theme .quantity:hover,
.woocommerce.single-product .quantity:hover,
.quantity:hover {
  border-color: #9ca3af !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* 焦点状�?*/
.woocommerce.single-product.blocksy-child-theme .quantity:focus-within,
.woocommerce.single-product .quantity:focus-within,
.quantity:focus-within {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* 输入框样�?- Base UI 风格 */
.woocommerce.single-product.blocksy-child-theme .quantity input.qty,
.woocommerce.single-product .quantity input.qty,
.quantity input.qty {
  width: 40px !important;
  height: 100% !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #111827 !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  line-height: 1 !important;
}

/* 减少按钮 - Base UI 风格 */
.woocommerce.single-product.blocksy-child-theme .qty-left-btn,
.woocommerce.single-product .qty-left-btn,
.qty-left-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 100% !important;
  border: none !important;
  background: #f9fafb !important;
  color: #6b7280 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  outline: none !important;
  position: relative !important;
  border-right: 1px solid #e5e7eb !important;
}

/* 增加按钮 - Base UI 风格 */
.woocommerce.single-product.blocksy-child-theme .qty-right-btn,
.woocommerce.single-product .qty-right-btn,
.qty-right-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 100% !important;
  border: none !important;
  background: #f9fafb !important;
  color: #6b7280 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
  outline: none !important;
  position: relative !important;
  border-left: 1px solid #e5e7eb !important;
}

/* 按钮悬停效果 - Base UI 风格 */
.woocommerce.single-product.blocksy-child-theme .qty-left-btn:hover,
.woocommerce.single-product.blocksy-child-theme .qty-right-btn:hover,
.woocommerce.single-product .qty-left-btn:hover,
.woocommerce.single-product .qty-right-btn:hover,
.qty-left-btn:hover,
.qty-right-btn:hover {
  background: #f3f4f6 !important;
  color: #374151 !important;
}

/* 按钮激活效�?- Base UI 风格 */
.woocommerce.single-product.blocksy-child-theme .qty-left-btn:active,
.woocommerce.single-product.blocksy-child-theme .qty-right-btn:active,
.woocommerce.single-product .qty-left-btn:active,
.woocommerce.single-product .qty-right-btn:active,
.qty-left-btn:active,
.qty-right-btn:active {
  background: #e5e7eb !important;
  color: #111827 !important;
  transform: scale(0.95) !important;
}

/* 按钮禁用状�?- Base UI 风格 */
.woocommerce.single-product.blocksy-child-theme .qty-left-btn:disabled,
.woocommerce.single-product.blocksy-child-theme .qty-right-btn:disabled,
.woocommerce.single-product .qty-left-btn:disabled,
.woocommerce.single-product .qty-right-btn:disabled,
.qty-left-btn:disabled,
.qty-right-btn:disabled {
  background: #f9fafb !important;
  color: #d1d5db !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

/* 确保按钮在正确位�?*/
.woocommerce.single-product.blocksy-child-theme .quantity .qty-left-btn,
.woocommerce.single-product .quantity .qty-left-btn,
.quantity .qty-left-btn {
  order: 1 !important;
}

.woocommerce.single-product.blocksy-child-theme .quantity input.qty,
.woocommerce.single-product .quantity input.qty,
.quantity input.qty {
  order: 2 !important;
}

.woocommerce.single-product.blocksy-child-theme .quantity .qty-right-btn,
.woocommerce.single-product .quantity .qty-right-btn,
.quantity .qty-right-btn {
  order: 3 !important;
}

/* 响应式设�?- Base UI 风格 */
@media (max-width: 768px) {
  .woocommerce.single-product.blocksy-child-theme .quantity,
  .woocommerce.single-product .quantity,
  .quantity {
    width: 100px !important;
    height: 36px !important;
  }

  .woocommerce.single-product.blocksy-child-theme .quantity input.qty,
  .woocommerce.single-product .quantity input.qty,
  .quantity input.qty {
    width: 28px !important;
    font-size: 13px !important;
  }

  .woocommerce.single-product.blocksy-child-theme .qty-left-btn,
  .woocommerce.single-product.blocksy-child-theme .qty-right-btn,
  .woocommerce.single-product .qty-left-btn,
  .woocommerce.single-product .qty-right-btn,
  .qty-left-btn,
  .qty-right-btn {
    width: 36px !important;
    font-size: 14px !important;
  }
}

/* 小屏幕优�?*/
@media (max-width: 480px) {
  .woocommerce.single-product.blocksy-child-theme .quantity,
  .woocommerce.single-product .quantity,
  .quantity {
    width: 90px !important;
    height: 32px !important;
  }

  .woocommerce.single-product.blocksy-child-theme .quantity input.qty,
  .woocommerce.single-product .quantity input.qty,
  .quantity input.qty {
    width: 26px !important;
    font-size: 12px !important;
  }

  .woocommerce.single-product.blocksy-child-theme .qty-left-btn,
  .woocommerce.single-product.blocksy-child-theme .qty-right-btn,
  .woocommerce.single-product .qty-left-btn,
  .woocommerce.single-product .qty-right-btn,
  .qty-left-btn,
  .qty-right-btn {
    width: 32px !important;
    font-size: 13px !important;
  }
}

/* 深色模式支持 - Base UI 风格 */
@media (prefers-color-scheme: dark) {
  .woocommerce.single-product.blocksy-child-theme .quantity,
  .woocommerce.single-product .quantity,
  .quantity {
    background: #1f2937 !important;
    border-color: #374151 !important;
  }

  .woocommerce.single-product.blocksy-child-theme .quantity:hover,
  .woocommerce.single-product .quantity:hover,
  .quantity:hover {
    border-color: #6b7280 !important;
  }

  .woocommerce.single-product.blocksy-child-theme .quantity:focus-within,
  .woocommerce.single-product .quantity:focus-within,
  .quantity:focus-within {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1) !important;
  }

  .woocommerce.single-product.blocksy-child-theme .quantity input.qty,
  .woocommerce.single-product .quantity input.qty,
  .quantity input.qty {
    color: #f9fafb !important;
  }

  .woocommerce.single-product.blocksy-child-theme .qty-left-btn,
  .woocommerce.single-product.blocksy-child-theme .qty-right-btn,
  .woocommerce.single-product .qty-left-btn,
  .woocommerce.single-product .qty-right-btn,
  .qty-left-btn,
  .qty-right-btn {
    background: #374151 !important;
    color: #d1d5db !important;
    border-color: #4b5563 !important;
  }

  .woocommerce.single-product.blocksy-child-theme .qty-left-btn:hover,
  .woocommerce.single-product.blocksy-child-theme .qty-right-btn:hover,
  .woocommerce.single-product .qty-left-btn:hover,
  .woocommerce.single-product .qty-right-btn:hover,
  .qty-left-btn:hover,
  .qty-right-btn:hover {
    background: #4b5563 !important;
    color: #f9fafb !important;
  }
}

/* 确保样式优先级最�?*/
.woocommerce.single-product.blocksy-child-theme .quantity.enhanced-qty,
.woocommerce.single-product .quantity.enhanced-qty,
.quantity.enhanced-qty {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  width: 120px !important;
  height: 40px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
}

/* AI-EDIT v6.111.1 START �?页眉与详情页可读性热修复（确保覆盖并立即生效�?*/
/* 1) 商品标题颜色与不透明度（避免被其他规则降级） */
.woocommerce.single-product .product_title,
body.single-product .product_title {
  color: var(--text-primary) !important;
  opacity: 1 !important;
  line-height: 1.15 !important;
}

/* 2) 评分行与文字对齐一致（匹配实际结构：星星容器为 .flex.text-yellow-400�?*/
.woocommerce.single-product .flex.items-center > .flex.text-yellow-400 {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin-right: 8px !important;
}
.woocommerce.single-product .flex.items-center > .flex.text-yellow-400 svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin-right: 4px !important;
  vertical-align: middle !important;
}
.woocommerce.single-product .flex.items-center > .text-muted {
  margin-left: 8px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* 3) 分类标签导航：使用固定右外边距，移除 HTML �?mr-[19px] 后生�?*/
/* 3) 分类标签导航：使用固定右外边距，移除 HTML 的 mr-[19px] 后生成 */
.custom-categories .category-tab {
  margin-right: 32px !important;
}

/* 分类标签字体样式修复 - 移动端文字过粗，PC端字号太小 */
.custom-categories .category-tab {
  font-size: 18px !important; /* PC端字号从24px减小到18px */
  font-weight: 400 !important; /* 移动端字重从500减少到400 */
  color: #000000 !important; /* 默认黑色 */
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 1px 4px !important;
  border-radius: 4px !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin: 0 1px !important;
  border: none !important;
  min-height: 15px !important;
  height: auto !important;
  line-height: 1.1 !important;
}

/* 移动端分类标签字体优化 - 紧凑排列 */
@media (max-width: 768px) {
  .custom-categories .category-tab {
    font-size: 17px !important; /* 移动端17px */
    font-weight: 400 !important; /* 移动端字重400 */
    margin: 0 2px !important; /* 移动端标签间距减少到2px */
    padding: 1px 2px !important; /* 移动端内边距减少 */
  }
}

/* PC端分类标签字体和内边距优化 */
@media (min-width: 769px) {
  .custom-categories .category-tab {
    font-size: 18px !important; /* PC端18px */
    font-weight: 400 !important; /* PC端字重400 */
    padding: 4px 8px !important; /* PC端增加内边距 */
    margin: 0 3px !important; /* PC端标签间距 */
  }
  
  /* PC端分类导航容器增加上下空间 */
  .custom-categories {
    padding: 12px 0 !important; /* PC端上下内边距增加到12px */
    margin: 16px 0 !important; /* PC端上下外边距增加到16px */
  }
}

/* 强制覆盖内联样式 - 第一个分类颜色 */
html body .custom-categories .category-tab:first-child,
html body .custom-categories a:first-child {
  color: #39896c !important; /* 强制第一个分类绿色 */
}

/* 强制覆盖所有投票按钮尺寸 - 最高优先级 */
html body .product-card .vote-btn,
html body .vote-btn,
.product-card .vote-btn,
.vote-btn {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-basis: 24px !important;
}

/* 移动端强制覆盖 */
@media (max-width: 768px) {
  html body .custom-categories .category-tab,
  html body .custom-categories .category-tab span,
  .custom-categories .category-tab,
  .custom-categories .category-tab span {
    font-size: 17px !important; /* 移动端17px，更大更清晰 */
    font-weight: 400 !important; /* 移动端字重400 */
  }
  
  /* 强制覆盖内联样式 */
  html body .custom-categories .category-tab[style*="font-size: 16px"],
  html body .custom-categories .category-tab span[style*="font-size: 16px"],
  .custom-categories .category-tab[style*="font-size: 16px"],
  .custom-categories .category-tab span[style*="font-size: 16px"] {
    font-size: 13px !important; /* 覆盖内联样式16px为13px */
  }
}

/* 第一个分类标签颜色修复 - 确保与PC端一致 */
.custom-categories .category-tab:first-child {
  color: #39896c !important; /* 第一个分类使用绿色 */
}

/* 移动端第一个分类颜色修复 - 最高优先级 */
@media (max-width: 768px) {
  /* 使用最高优先级选择器覆盖内联样式 */
  html body .custom-categories .category-tab:first-child,
  html body .custom-categories a:first-child,
  html body .custom-categories .category-tab:first-child[style*="color: #39896c"],
  html body .custom-categories a:first-child[style*="color: #39896c"],
  html body .custom-categories .category-tab:first-child[style*="color: #000000"],
  html body .custom-categories a:first-child[style*="color: #000000"] {
    color: #39896c !important; /* 强制移动端第一个分类绿色 */
  }
  
  /* 额外保险 - 使用属性选择器 */
  .custom-categories a[class*="category-tab"]:first-child,
  .custom-categories .category-tab:first-child {
    color: #39896c !important; /* 移动端第一个分类绿色 */
  }
}

/* PC端第一个分类颜色修复 - 确保PC端也生效 */
.custom-categories .category-tab:first-child {
  color: #39896c !important; /* PC端第一个分类也使用绿色 */
}

/* 强制覆盖内联样式 - PC端 */
html body .custom-categories .category-tab:first-child[style*="color: #39896c"] {
  color: #39896c !important; /* 确保PC端第一个分类颜色 */
}

html body .custom-categories .category-tab:first-child[style*="color: #000000"] {
  color: #39896c !important; /* 覆盖黑色为绿色 */
}
/* 容器兜底对齐与轻微间距，保证在少量项目时也有间距 */
.custom-categories .categories-scroll-container {
  display: flex !important;
  gap: 1px !important; /* 分类导航栏间距最小化 */
  /* AI-EDIT v4.2.1 �?高度兜底，防�?Tailwind h-[48px] 未编译导致不可见 */
  min-height: 48px !important;
  height: 48px !important;
  align-items: center !important;
}

/* AI-EDIT v4.2.1 �?移动端分类标签栏兜底显示与位置修正（必须位于搜索框下方） */
/* 扩展移动端断点到 1023px（含平板�?*/
@media (max-width: 1023px) {
  /* 强制显示分类容器 */
  .custom-categories { display: block !important; visibility: visible !important; opacity: 1 !important; max-height: none !important; transform: none !important; }
  /* 防止被其他容器遮�?*/
  .custom-categories { position: relative !important; z-index: 10 !important; }
  /* 与搜索框的间距优�?*/
  .custom-header + .custom-categories { margin-top: 0 !important; }
  /* 横向滚动增强 */
  .custom-categories .categories-scroll-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
  }
  .custom-categories .category-tab { white-space: nowrap !important; }
}

/* 让分类栏在移动端粘性跟随头部（�?023px�?*/
@media (max-width: 1023px) {
  .custom-categories { position: relative !important; top: auto !important; background: #ffffff !important; border-bottom: 1px solid #e5e7eb !important; }
  /* iOS 安全区适配（Notch�?*/
  .custom-categories { padding-top: calc(env(safe-area-inset-top, 0px) * 0) !important; }
}

/* WordPress 管理栏显示时的顶部偏移（已登录后台用户） */
@media (max-width: 1023px) {
  body.admin-bar .custom-categories { top: auto !important; }
}

/* ===== 移动端主图横向滚动兜底（�?023px�?==== */
@media (max-width: 1023px) {
  .woocommerce.single-product .woocommerce-product-gallery {
    width: 100% !important;
  }
  .woocommerce.single-product .woocommerce-product-gallery__wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 0 !important;
  }
  .woocommerce.single-product .woocommerce-product-gallery__image {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: center !important;
  }
  .woocommerce.single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* ===== 图标显示统一（PC 与移动端保持一致）===== */
/* 作用范围：自定义头部与商品详情页，避免全局污染 */
.custom-header svg,
.woocommerce.single-product.blocksy-child-theme svg {
  width: 20px !important;   /* 统一尺寸 */
  height: 20px !important;
  display: inline-block !important;
  vertical-align: middle !important; /* 统一基线对齐 */
  line-height: 1 !important;
  flex-shrink: 0 !important;
  fill: currentColor !important;     /* 颜色继承文本�?*/
  stroke: currentColor !important;   /* 线段图标颜色统一 */
}

@media (max-width: 1023px) {
  .custom-header svg,
  .woocommerce.single-product.blocksy-child-theme svg {
    width: 18px !important;  /* 小屏适度缩小，避免换�?*/
    height: 18px !important;
  }
}

/* 兼容尚未替换�?Font Awesome 图标，保持大�?对齐一致（仅局部作用域�?*/
.custom-header i[class^="fa"], .custom-header i[class*=" fa"],
.woocommerce.single-product.blocksy-child-theme i[class^="fa"],
.woocommerce.single-product.blocksy-child-theme i[class*=" fa"] {
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}

/* ===== 投票按钮跨端显示统一（含 iOS Safari 圆角兼容�?===== */
.product-card .vote-btn,
.vote-btn {
  /* 投票按钮样式 - 尺寸由媒体查询控制 */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important; /* 圆形按钮 */
  overflow: hidden !important;      /* iOS Safari 需要配合隐藏溢�?*/
  line-height: 1 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  background-clip: padding-box !important;
  /* 根据目标截图调整SVG按钮样式 */
  background: #fff !important;  /* 白色背景 */
  border: 2px solid #0A888D !important;  /* 青绿色边�?*/
  padding: 4px !important;  /* 内边距以容纳SVG */
  cursor: pointer !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease !important; /* 只允许背景色和阴影过渡，禁用transform过渡 */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* 移动端投票按钮尺寸 - 保持24px */
@media (max-width: 768px) {
  .product-card .vote-btn,
  .vote-btn {
    width: 24px !important;
    height: 24px !important;
  }
}

/* 移动端筛选排序区域留白优化 - 进一步减小留白 */
@media (max-width: 768px) {
  /* 筛选排序区域 - 进一步减少上边距 */
  .unified-product-layout .filter-sort-container {
    margin-top: 0 !important;  /* 完全移除上边距 */
  }
  
  /* 筛选排序区域 - 减少下边距 */
  .unified-product-layout .filter-sort-container.mb-4 {
    margin-bottom: 0.25rem !important;  /* 进一步减少下边距：从8px到4px */
  }
  
  /* 分类描述容器 - 进一步减少下边距并确保占满容器 */
  .unified-product-layout .mb-4.p-0.bg-blue-50.rounded-lg.border.border-blue-200.w-full {
    margin-bottom: 0.25rem !important;  /* 进一步减少下边距：从8px到4px */
    width: 100% !important;  /* 确保占满父容器 */
    max-width: none !important;  /* 移除最大宽度限制 */
  }
}

/* 投票按钮悬停效果 */
.product-card .vote-btn:hover,
.vote-btn:hover {
  background: #0A888D !important;  /* hover时背景变青绿�?*/
}

/* 移动端投票按钮位置修�?- 确保静止状态位置稳�?*/
@media (max-width: 1023px) {
  .product-card .vote-btn,
  .vote-btn {
    transform: translateY(0) !important; /* 确保静止状态位置固�?*/
    position: relative !important; /* 确保定位稳定 */
    top: 0 !important; /* 确保垂直位置固定 */
    left: 0 !important; /* 确保水平位置固定 */
    margin-top: 0 !important; /* 确保上边距为0 */
    margin-bottom: 0 !important; /* 确保下边距为0 */
  }

  /* 移动端禁用悬停效�?*/
  .product-card .vote-btn:hover,
  .vote-btn:hover {
    transform: translateY(0) !important; /* 禁用悬停变换，保持静止位�?*/
    position: relative !important; /* 确保定位稳定 */
    top: 0 !important; /* 确保垂直位置固定 */
    left: 0 !important; /* 确保水平位置固定 */
    margin-top: 0 !important; /* 确保上边距为0 */
    margin-bottom: 0 !important; /* 确保下边距为0 */
  }
}

.product-card .vote-btn:hover svg path,
.vote-btn:hover svg path {
  fill: #fff !important;  /* hover时图标变�?*/
}

/* ===== 强制消除移动端商品卡所有空�?- 最高优先级 ===== */
@media (max-width: 1023px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .product-card,
  .product-card .flex {
    padding: 0 !important;
    margin: 0 !important;
    border-spacing: 0 !important;
    box-sizing: border-box !important;
  }
  
  .woocommerce ul.products li.product *,
  .woocommerce-page ul.products li.product *,
  .product-card *,
  .product-card .flex * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .product-card .flex {
    gap: 1px !important;  /* 减少商品卡内部三个区域之间的间距�?px�?px */
    align-items: stretch !important;  /* 让所有子元素拉伸到相同高�?*/
    min-height: 120px !important;  /* 修复：增加高度，确保文字完整显示 */
  }
  
  /* 移动端图片尺寸覆�?- 最高优先级 */
  .woocommerce ul.products li.product .product-card .w-24.h-24,
  .woocommerce ul.products li.product .product-card .w-28.h-28,
  .woocommerce-page ul.products li.product .product-card .w-24.h-24,
  .woocommerce-page ul.products li.product .product-card .w-28.h-28 {
    width: 72px !important;  /* 进一步加大图片尺�?*/
    height: 72px !important;  /* 进一步加大图片尺�?*/
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;  /* 防止图片收缩 */
    align-self: stretch !important;  /* 拉伸到与父容器相同高�?*/
  }
  
    /* 移动端商品卡文字区域调试 - 强制检查所有商品卡�?*/
  @media (max-width: 768px) {
        /* 商品卡片样式优化 - 生产环境 */
        .product-card {
            border: none !important;
            background: white !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
            position: relative !important;
        }
        
        /* 商品卡片中间区域优化 - 生产环境 */
        .product-card .flex-1,
    .product-card .flex-1.min-w-0 {
            border: none !important;
            background: transparent !important;
            padding: 8px !important;
            min-height: 100px !important;
            position: relative !important;
        }
        
        /* 状态标签区�?- 生产环境样式 */
        .product-card .status-tags {
            padding: 4px 8px !important;
            margin-bottom: 4px !important;
            font-size: 12px !important;
            color: #666 !important;
            font-weight: normal !important;
        }
        
        /* 商品标题区域 - 生产环境样式 */
        .product-card h2 {
            padding: 4px 0 !important;
            margin-bottom: 4px !important;
            font-size: 14px !important;
            color: #333 !important;
            font-weight: 600 !important;
        }
        
        /* 商品描述区域 - 生产环境样式 */
        .product-card .product-short-description {
            padding: 4px 0 !important;
            margin-bottom: 4px !important;
            font-size: 12px !important;
            color: #666 !important;
            line-height: 1.4 !important;
        }
        
        /* 调试伪元素已移除 - 避免挤压商品信息 */
    }
    /* 终极修复 - 覆盖所有可能的冲突样式 */
  @media (max-width: 768px) {
    /* 移动端商品卡间距修复 - 最高优先级 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card,
    html body .blocksy-child-theme .product-card,
    html body .product-card {
      margin-bottom: 3px !important;  /* 调整商品卡间距到3px */
      margin-top: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
    
    /* 移动端文字区域修�?- 使用最高优先级选择�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1.min-w-0,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1.min-w-0,
    html body .product-card .flex-1.min-w-0 {
      /* 移动端文字区域统一修复 */
      flex: 1 !important;  /* 自动填充剩余空间 */
      min-width: 0 !important;  /* 允许收缩�? */
      max-width: calc(100% - 80px) !important;  /* 修复：增加文字区域宽�?*/
      min-height: auto !important;  /* 修复：移除固定高度，避免拉伸 */
      height: auto !important;  /* 修复：自动高度，允许文字完整显示 */
      padding: 8px !important;  /* 内边�?*/
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-start !important;  /* 顶部对齐 */
      align-items: flex-start !important;  /* 左对�?*/
      gap: 4px !important;  /* 标题和描述之间的间距 */
      box-sizing: border-box !important;
      
      /* 确保文字可见 */
      overflow: visible !important;
      visibility: visible !important;
      opacity: 1 !important;
      /* 移除调试样式 - 生产环境 */
    }
    
    /* 移动端文字内容强制显�?- 使用最高优先级选择�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1.min-w-0 h2,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1.min-w-0 h2 a,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1.min-w-0 p,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1.min-w-0 .product-short-description,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1.min-w-0 h2,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1.min-w-0 h2 a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1.min-w-0 p,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1.min-w-0 .product-short-description,
    html body .product-card .flex-1.min-w-0 h2,
    html body .product-card .flex-1.min-w-0 h2 a,
    html body .product-card .flex-1.min-w-0 p,
    html body .product-card .flex-1.min-w-0 .product-short-description {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      color: #1f2937 !important;
      font-size: 16px !important;
      font-weight: 600 !important;
      line-height: 1.4 !important;
      margin: 0 !important;
      padding: 0 !important;
      width: auto !important;
      height: auto !important;
      overflow: visible !important;
      text-indent: 0 !important;
      position: static !important;
      transform: none !important;
      clip: auto !important;
      clip-path: none !important;
      -webkit-text-fill-color: #1f2937 !important;
      /* 移除调试样式 - 生产环境 */
      -webkit-background-clip: initial !important;
      background-clip: initial !important;
    }
    
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1 .product-short-description,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1 .product-short-description,
    html body .product-card .flex-1 .product-short-description {
      color: #6b7280 !important;
      font-size: 14px !important;
      font-weight: 400 !important;
      margin-top: 4px !important;
      /* 移除调试样式 - 生产环境 */
    }
    
    /* 移动端投票按钮圆形修�?- 使用最高优先级选择�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0,
    html body .product-card .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0,
    html body .product-card .vote-btn,
    html body .vote-btn {
      width: 20px !important;  /* 修复：更小的圆形按钮尺寸 */
      height: 20px !important;  /* 修复：更小的圆形按钮尺寸 */
      min-width: 20px !important;
      min-height: 20px !important;
      max-width: 20px !important;
      max-height: 20px !important;
      border-radius: 50% !important;  /* 强制圆形 */
      aspect-ratio: 1 !important;  /* 强制1:1比例 */
      background-color: #39896c !important;
      border: none !important;
      flex-shrink: 0 !important;
      flex-grow: 0 !important;
      flex-basis: 20px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      /* 移除调试样式 - 生产环境 */
    }
    
    /* 移动端投票区域修�?- 使用最高优先级选择�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-shrink-0:last-child,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-shrink-0:last-child,
    html body .product-card .flex-shrink-0:last-child {
      /* 移动端投票区域统一修复 */
      width: 60px !important;  /* 修复：为投票区域提供足够空间 */
      height: auto !important;  /* 修复：自动高度，不拉�?*/
      min-width: 60px !important;
      min-height: auto !important;  /* 修复：不设置最小高度，避免拉伸 */
      max-width: 60px !important;
      max-height: auto !important;  /* 修复：不设置最大高�?*/
      flex-shrink: 0 !important;  /* 防止收缩 */
      align-self: flex-start !important;  /* 修复：顶部对齐，不拉�?*/
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-start !important;  /* 修复：顶部对齐，不拉�?*/
      align-items: center !important;  /* 水平居中 */
      gap: 4px !important;  /* 按钮和票数之间的间距 */
      padding: 8px !important;  /* 内边�?*/
      /* 移除调试样式 - 生产环境 */
    }
    
    /* 移动端标题特殊处�?*/
    .product-card .flex-1 h2,
    .product-card .flex-1 h2 a {
      font-size: 16px !important;  /* 标题稍大 */
      font-weight: 600 !important;  /* 标题加粗 */
      margin-bottom: 4px !important;  /* 标题下边�?*/
    }
    
    /* 移动端投票区域修�?- 解决高度冲突问题 - 使用最高优先级选择�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-shrink-0:last-child,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-shrink-0:last-child,
    .product-card .flex-shrink-0:last-child,
    .woocommerce ul.products li.product .product-card .flex-shrink-0:last-child,
    .woocommerce-page ul.products li.product .product-card .flex-shrink-0:last-child {
      /* 移动端投票区域统一修复 */
      width: 60px !important;  /* 为按钮和票数提供足够空间 */
      min-width: 60px !important;
      height: auto !important;  /* 修复：自动高度，不拉�?*/
      min-height: auto !important;  /* 修复：不设置最小高度，避免拉伸 */
      padding: 0 !important;
      justify-content: flex-start !important;  /* 修复：顶部对齐，不拉�?*/
      align-items: center !important;  /* 水平居中 */
      display: flex !important;
      flex-direction: column !important;
      gap: 4px !important;  /* 按钮和票数之间的间距 */
      box-sizing: border-box !important;
      
      /* 确保投票区域可见 */
      overflow: visible !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    /* 移动端投票按钮修�?- 使用最高优先级选择�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
    .product-card .vote-btn,
    .woocommerce ul.products li.product .product-card .vote-btn,
    .woocommerce-page ul.products li.product .product-card .vote-btn,
    /* 针对完整Tailwind类名组合的修�?*/
    .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0 {
      /* 移动端投票按钮统一修复 */
      width: 24px !important;  /* 移动端保持24px */
      height: 24px !important;  /* 移动端保持24px */
      min-width: 24px !important;
      min-height: 24px !important;
      max-width: 24px !important;
      max-height: 24px !important;
      
      /* 强制圆形按钮 */
      border-radius: 50% !important;
      aspect-ratio: 1 !important;  /* 强制1:1比例 */
      
      /* Flex属�?*/
      flex-shrink: 0 !important;
      flex-grow: 0 !important;
      flex-basis: 24px !important;
      
      /* 布局属�?*/
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      
      /* 样式属�?- 基于备份文件 */
      background-color: #39896c !important;  /* 原始绿色 */
      color: white !important;
      cursor: pointer !important;
      transition: background-color 0.3s ease, box-shadow 0.3s ease !important;  /* 备份文件的过渡效�?*/
      box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;  /* 备份文件的阴�?*/
      
      /* 边距和内边距 */
      margin: 0 !important;
      padding: 0 !important;
      
      /* 确保不被其他样式覆盖 */
      box-sizing: border-box !important;
      overflow: visible !important;
      
      /* 确保按钮可见 */
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    /* 终极修复 - 覆盖所有可能的冲突样式 */
    
    /* 终极修复 - 覆盖所有可能的冲突样式 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card,
    html body .blocksy-child-theme .product-card {
      margin-bottom: 3px !important;  /* 调整商品卡间距到3px */
    }
    
    /* 移动端文字区域调�?- 三个区块颜色调试�?- 强制覆盖内联样式 */
    /* 状态栏区域 - 生产环境样式 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .status-tags,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .status-tags,
    html body .blocksy-child-theme .product-card .status-tags,
    html body .product-card .status-tags,
    html body .product-card .flex-1.min-w-0 .status-tags {
      border: none !important;
      background-color: transparent !important;
      padding: 4px 8px !important;
      margin-bottom: 4px !important;
      min-height: auto !important;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      font-size: 12px !important;
      color: #666 !important;
      font-weight: normal !important;
    }
    
    /* 商品标题区域 - 生产环境样式 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1 h2,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1 h2,
    html body .blocksy-child-theme .product-card .flex-1 h2,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card h2,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card h2,
    html body .blocksy-child-theme .product-card h2,
    html body .product-card h2,
    html body .product-card .flex-1 h2,
    html body .product-card .flex-1.min-w-0 h2,
    html body .product-card .flex-1.min-w-0 h2 a {
      border: none !important;
      background-color: transparent !important;
      padding: 4px 0 !important;
      margin-bottom: 4px !important;
      min-height: auto !important;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      color: #333 !important;
      font-size: 14px !important;
      font-weight: 600 !important;
      line-height: 1.4 !important;
      width: auto !important;
      height: auto !important;
      overflow: visible !important;
      text-indent: 0 !important;
      position: static !important;
      transform: none !important;
      clip: auto !important;
      clip-path: none !important;
      -webkit-text-fill-color: #333 !important;
      -webkit-background-clip: initial !important;
      background-clip: initial !important;
      text-shadow: none !important;
      filter: none !important;
    }
    
    /* 简短描述区�?- 生产环境样式 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1 .product-short-description,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1 .product-short-description,
    html body .blocksy-child-theme .product-card .flex-1 .product-short-description,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .product-short-description,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .product-short-description,
    html body .blocksy-child-theme .product-card .product-short-description,
    html body .product-card .product-short-description,
    html body .product-card .flex-1 .product-short-description,
    html body .product-card .flex-1.min-w-0 .product-short-description {
      border: none !important;
      background-color: transparent !important;
      padding: 4px 0 !important;
      margin-bottom: 4px !important;
      min-height: auto !important;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      color: #666 !important;
      font-size: 12px !important;
      line-height: 1.4 !important;
      width: auto !important;
      height: auto !important;
      overflow: visible !important;
      text-indent: 0 !important;
      position: static !important;
      transform: none !important;
      clip: auto !important;
      clip-path: none !important;
      -webkit-text-fill-color: #666 !important;
      -webkit-background-clip: initial !important;
      background-clip: initial !important;
      text-shadow: none !important;
      filter: none !important;
    }
    
    /* 终极投票按钮圆形修复 - 更小尺寸 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
    html body .blocksy-child-theme .product-card .vote-btn,
    html body .product-card .vote-btn,
    html body .vote-btn {
      width: 16px !important;
      height: 16px !important;
      min-width: 20px !important;
      min-height: 20px !important;
      max-width: 20px !important;
      max-height: 20px !important;
      border-radius: 50% !important;
      aspect-ratio: 1 !important;
      background-color: #39896c !important;
      border: none !important;
      flex-shrink: 0 !important;
      flex-grow: 0 !important;
      flex-basis: 20px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    
    /* 终极修复 - 覆盖所有可能的冲突样式 */
    
    /* 移动端投票按钮悬停效�?*/
    .product-card .vote-btn:hover,
    .woocommerce ul.products li.product .product-card .vote-btn:hover,
    .woocommerce-page ul.products li.product .product-card .vote-btn:hover,
    .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0:hover {
      background-color: #2d6b56 !important;  /* 悬停深绿�?*/
      border-radius: 50% !important;  /* 保持圆形 */
      
      /* 悬停时也保持固定尺寸 */
      width: 16px !important;
      height: 16px !important;
      min-width: 24px !important;
      min-height: 24px !important;
      max-width: 24px !important;
      max-height: 24px !important;
      flex-shrink: 0 !important;
      flex-grow: 0 !important;
      flex-basis: 24px !important;
    }
    
    /* 移动端票数显示修�?*/
    .product-card .vote-count,
    .woocommerce ul.products li.product .product-card .vote-count,
    .woocommerce-page ul.products li.product .product-card .vote-count {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      color: #374151 !important;  /* 深灰色票�?*/
      font-size: 12px !important;  /* 合适的字体大小 */
      font-weight: 600 !important;  /* 加粗显示 */
      text-align: center !important;
      margin: 0 !important;
      padding: 0 !important;
      line-height: 1.2 !important;
    }
  }
  /* AI-EDIT v8.1.43 END */

/* AI-EDIT v8.1.336 START - 商品卡投票按钮强制修复 */
/* 商品卡投票按钮强制修复 - 最高优先级 */
html body .product-card .vote-btn,
html body .woocommerce .product-card .vote-btn,
html body .blocksy-child-theme .product-card .vote-btn,
html body #productGrid .product-card .vote-btn,
html body .related-products-grid .product-card .vote-btn,
html body .product-grid .product-card .vote-btn,
html body .products-grid .product-card .vote-btn,
html body .woocommerce .products .product-card .vote-btn,
html body .woocommerce-page .product-card .vote-btn,
html body .woocommerce-page ul.products li.product .product-card .vote-btn,
html body .woocommerce ul.products li.product .product-card .vote-btn {
    width: 16px !important;
    height: 16px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    border-radius: 50% !important;
    background: #39896c !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
/* AI-EDIT v8.1.336 END */
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
html body .blocksy-child-theme .product-card .vote-btn,
html body .product-card .vote-btn,
html body .vote-btn,
.product-card .vote-btn,
.product-card button.vote-btn,
.product-card .vote-btn.w-8,
.product-card .vote-btn.h-8,
.product-card .vote-btn.bg-\\[\\#39896c\\],
.product-card .vote-btn.rounded-full,
.vote-btn.w-8.h-8.bg-\\[\\#39896c\\].hover\\:bg-\\[\\#2d6b56\\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0,
.woocommerce ul.products li.product .product-card .vote-btn,
.woocommerce-page ul.products li.product .product-card .vote-btn,
#productGrid .product-card .vote-btn,
.related-products-grid .product-card .vote-btn,
.product-grid .product-card .vote-btn,
.products-grid .product-card .vote-btn,
.woocommerce .products .product-card .vote-btn {
    /* 强制使用#39896c颜色 - 最高优先级 */
    background: #39896c !important;
    background-color: #39896c !important;
    background-image: none !important;
    background-clip: padding-box !important;
    
    /* 强制圆形 */
    border-radius: 50% !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    
    /* 布局 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    
    /* 移除所有可能的边框和填充 */
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    
    /* 文字颜色 */
    color: white !important;
}

/* 悬停效果 - 使用#2d6b56 */
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn:hover,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn:hover,
html body .blocksy-child-theme .product-card .vote-btn:hover,
html body .product-card .vote-btn:hover,
html body .vote-btn:hover,
.product-card .vote-btn:hover,
.product-card button.vote-btn:hover,
.product-card:hover .vote-btn,
.vote-btn.w-8.h-8.bg-\\[\\#39896c\\].hover\\:bg-\\[\\#2d6b56\\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0:hover {
    background: #2d6b56 !important;
    background-color: #2d6b56 !important;
    background-image: none !important;
}

/* 禁用状态 - 使用#39896c但降低透明度 */
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn:disabled,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn:disabled,
html body .blocksy-child-theme .product-card .vote-btn:disabled,
html body .product-card .vote-btn:disabled,
html body .vote-btn:disabled,
.product-card .vote-btn:disabled,
.product-card button.vote-btn:disabled {
    background: #39896c !important;
    background-color: #39896c !important;
    background-image: none !important;
    color: #ffffff !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
}
/* AI-EDIT v8.1.306 END */

/* AI-EDIT v8.1.307 START - 终极投票按钮颜色修复 + 投票数字位置调整 */
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
html body .blocksy-child-theme .product-card .vote-btn,
html body .product-card .vote-btn,
html body .vote-btn,
.product-card .vote-btn,
.product-card button.vote-btn,
.product-card .vote-btn.w-8,
.product-card .vote-btn.h-8,
.product-card .vote-btn.bg-\\[\\#39896c\\],
.product-card .vote-btn.rounded-full,
.vote-btn.w-8.h-8.bg-\\[\\#39896c\\].hover\\:bg-\\[\\#2d6b56\\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0,
.woocommerce ul.products li.product .product-card .vote-btn,
.woocommerce-page ul.products li.product .product-card .vote-btn,
#productGrid .product-card .vote-btn,
.related-products-grid .product-card .vote-btn,
.product-grid .product-card .vote-btn,
.products-grid .product-card .vote-btn,
.woocommerce .products .product-card .vote-btn {
    /* 终极颜色修复 - 覆盖所有可能的颜色设置 */
    background: #39896c !important;
    background-color: #39896c !important;
    background-image: none !important;
    background-clip: padding-box !important;
    
    /* 强制圆形 */
    border-radius: 50% !important;
    width: 16px !important; /* PC端进一步缩小到16px */
    height: 16px !important; /* PC端进一步缩小到16px */
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    
    /* 布局 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    
    /* 移除所有可能的边框和填充 */
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    
    /* 文字颜色 */
    color: white !important;
}

/* 悬停效果 - 使用#2d6b56 */
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn:hover,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn:hover,
html body .blocksy-child-theme .product-card .vote-btn:hover,
html body .product-card .vote-btn:hover,
html body .vote-btn:hover,
.product-card .vote-btn:hover,
.product-card button.vote-btn:hover,
.product-card:hover .vote-btn,
.vote-btn.w-8.h-8.bg-\\[\\#39896c\\].hover\\:bg-\\[\\#2d6b56\\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0:hover {
    background: #2d6b56 !important;
    background-color: #2d6b56 !important;
    background-image: none !important;
}

/* 投票数字位置和字号调整 */
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-count,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-count,
html body .blocksy-child-theme .product-card .vote-count,
html body .product-card .vote-count,
.product-card .vote-count,
.woocommerce ul.products li.product .product-card .vote-count,
.woocommerce-page ul.products li.product .product-card .vote-count {
    /* 位置调整 - 往下一点，与按钮保持距离 */
    margin-top: 8px !important; /* 从4px增加到8px，往下4px */
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    
    /* AI-EDIT v8.1.19 START PC端投票数量字体加大2个字号 */
    /* 字号调整 - 加大2个字号（通用设置，PC端优先） */
    font-size: 18px !important; /* 从16px增加到18px（加大2个字号） */
    /* AI-EDIT v8.1.19 END */
    font-weight: 600 !important;
    line-height: 1 !important;
    
    /* 颜色和布局 */
    color: #374151 !important;
    text-align: center !important;
    display: block !important;
}
/* AI-EDIT v8.1.307 END */

/* AI-EDIT v8.1.19 START PC端投票数量字体加大（确保PC端生效 - 最高优先级） */
/* PC端投票数量字体加大（确保PC端生效） */
@media (min-width: 1024px) {
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-count,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-count,
    html body .blocksy-child-theme .product-card .vote-count,
    html body .product-card .vote-count,
    .product-card .vote-count,
    .woocommerce ul.products li.product .product-card .vote-count,
    .woocommerce-page ul.products li.product .product-card .vote-count {
        font-size: 18px !important; /* PC端投票数量字体大小：18px（加大2个字号） */
    }
}
/* AI-EDIT v8.1.19 END */

/* AI-EDIT v8.1.308 START - 移动端投票按钮尺寸保持24px */
@media (max-width: 1023px) {
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
    html body .blocksy-child-theme .product-card .vote-btn,
    html body .product-card .vote-btn,
    html body .vote-btn,
    .product-card .vote-btn,
    .product-card button.vote-btn,
    .product-card .vote-btn.w-8,
    .product-card .vote-btn.h-8,
    .product-card .vote-btn.bg-\\[\\#39896c\\],
    .product-card .vote-btn.rounded-full,
    .vote-btn.w-8.h-8.bg-\\[\\#39896c\\].hover\\:bg-\\[\\#2d6b56\\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0,
    .woocommerce ul.products li.product .product-card .vote-btn,
    .woocommerce-page ul.products li.product .product-card .vote-btn,
    #productGrid .product-card .vote-btn,
    .related-products-grid .product-card .vote-btn,
    .product-grid .product-card .vote-btn,
    .products-grid .product-card .vote-btn,
    .woocommerce .products .product-card .vote-btn {
        /* 移动端保持24px尺寸 */
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
    }
}
/* AI-EDIT v8.1.308 END */
  
  /* 通用投票按钮样式 - 作为基础样式 */
  .product-card .vote-btn,
  .woocommerce ul.products li.product .product-card .vote-btn,
  .woocommerce-page ul.products li.product .product-card .vote-btn {
    /* 通用投票按钮基础样式 */
    width: 16px !important;  /* 基于备份文件的原始尺�?*/
    height: 16px !important;  /* 基于备份文件的原始尺�?*/
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    
    /* 圆形按钮 */
    border-radius: 50% !important;
    
    /* Flex属�?*/
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 24px !important;
    
    /* 布局属�?*/
    display: inline-flex !important;  /* 备份文件使用inline-flex */
    align-items: center !important;
    justify-content: center !important;
    
    /* 样式属�?- 基于备份文件 */
    background-color: #39896c !important;  /* 原始绿色 */
    color: white !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;  /* 备份文件的过渡效�?*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;  /* 备份文件的阴�?*/
    
    /* 边距和内边距 */
    margin: 0 !important;
    padding: 0 !important;
    
    /* 确保不被其他样式覆盖 */
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  
  /* 投票按钮悬停效果 - 基于备份文件 */
  .product-card .vote-btn:hover,
  .woocommerce ul.products li.product .product-card .vote-btn:hover,
  .woocommerce-page ul.products li.product .product-card .vote-btn:hover {
    background-color: #2d6b56 !important;  /* 悬停深绿�?*/
    border-radius: 50% !important;  /* 保持圆形 */
    
    /* 悬停时也保持固定尺寸 */
    width: 16px !important;
    height: 16px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 24px !important;
  }
  /* AI-EDIT v8.1.32 END */
  
  /* AI-EDIT v8.1.31 START - 修复文字区域字体大小，提高可读�?*/
  .product-card h2 {
    font-size: 16px !important;  /* 增大标题字体，提高可读�?*/
    margin: 0 !important;
    margin-top: 0 !important;  /* 确保标题顶部不超出图片顶�?*/
    line-height: 1.3 !important;  /* 调整行高 */
    font-weight: 600 !important;  /* 加粗标题 */
    color: #1f2937 !important;  /* 深色标题 */
  }
  
  .product-card p {
    font-size: 14px !important;  /* 增大描述字体，提高可读�?*/
    margin: 0 !important;
    margin-top: 4px !important;  /* 标题和描述之间间�?*/
    line-height: 1.4 !important;  /* 调整行高 */
    color: #6b7280 !important;  /* 灰色描述 */
    font-weight: 400 !important;  /* 正常字重 */
  }
  /* AI-EDIT v8.1.31 END */
  
  /* 移动端投票数字覆�?- 最高优先级 */
  .product-card .vote-count {
    font-size: 14px !important;  /* �?2px增加�?4px */
    font-weight: 600 !important;
    color: #1f2937 !important;
    text-align: center !important;
    margin-top: 6px !important;  /* �?px增加�?px */
  }
}

/* ===== 移动端商品标题两行限�?- 通用最高优先级规则 ===== */
/* 无论什么样式，所有移动端商品卡标题都只显示两�?*/
@media (max-width: 1023px) {
    /* 通用移动端商品标题两行限�?- 覆盖所有可能的样式 */
    html body .woocommerce ul.products li.product h1,
    html body .woocommerce ul.products li.product h2,
    html body .woocommerce ul.products li.product h3,
    html body .woocommerce ul.products li.product h4,
    html body .woocommerce ul.products li.product h5,
    html body .woocommerce ul.products li.product h6,
    html body .woocommerce-page ul.products li.product h1,
    html body .woocommerce-page ul.products li.product h2,
    html body .woocommerce-page ul.products li.product h3,
    html body .woocommerce-page ul.products li.product h4,
    html body .woocommerce-page ul.products li.product h5,
    html body .woocommerce-page ul.products li.product h6,
    html body .woocommerce ul.products li.product h1 a,
    html body .woocommerce ul.products li.product h2 a,
    html body .woocommerce ul.products li.product h3 a,
    html body .woocommerce ul.products li.product h4 a,
    html body .woocommerce ul.products li.product h5 a,
    html body .woocommerce ul.products li.product h6 a,
    html body .woocommerce-page ul.products li.product h1 a,
    html body .woocommerce-page ul.products li.product h2 a,
    html body .woocommerce-page ul.products li.product h3 a,
    html body .woocommerce-page ul.products li.product h4 a,
    html body .woocommerce-page ul.products li.product h5 a,
    html body .woocommerce-page ul.products li.product h6 a,
    html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
    html body .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    html body .woocommerce ul.products li.product .woocommerce-loop-product__title a,
    html body .woocommerce-page ul.products li.product .woocommerce-loop-product__title a,
    html body .woocommerce ul.products li.product .product-title,
    html body .woocommerce-page ul.products li.product .product-title,
    html body .woocommerce ul.products li.product .product-title a,
    html body .woocommerce-page ul.products li.product .product-title a,
    html body .woocommerce ul.products li.product .entry-title,
    html body .woocommerce-page ul.products li.product .entry-title,
    html body .woocommerce ul.products li.product .entry-title a,
    html body .woocommerce-page ul.products li.product .entry-title a,
    html body .woocommerce ul.products li.product .product-name,
    html body .woocommerce-page ul.products li.product .product-name,
    html body .woocommerce ul.products li.product .product-name a,
    html body .woocommerce-page ul.products li.product .product-name a,
    html body .product-card h1,
    html body .product-card h2,
    html body .product-card h3,
    html body .product-card h4,
    html body .product-card h5,
    html body .product-card h6,
    html body .product-card h1 a,
    html body .product-card h2 a,
    html body .product-card h3 a,
    html body .product-card h4 a,
    html body .product-card h5 a,
    html body .product-card h6 a,
    html body .product-card .woocommerce-loop-product__title,
    html body .product-card .woocommerce-loop-product__title a,
    html body .product-card .product-title,
    html body .product-card .product-title a,
    html body .product-card .entry-title,
    html body .product-card .entry-title a,
    html body .product-card .product-name,
    html body .product-card .product-name a,
    html body .blocksy-child-theme .woocommerce ul.products li.product h1,
    html body .blocksy-child-theme .woocommerce ul.products li.product h2,
    html body .blocksy-child-theme .woocommerce ul.products li.product h3,
    html body .blocksy-child-theme .woocommerce ul.products li.product h4,
    html body .blocksy-child-theme .woocommerce ul.products li.product h5,
    html body .blocksy-child-theme .woocommerce ul.products li.product h6,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h1,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h2,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h3,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h4,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h5,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h6,
    html body .blocksy-child-theme .woocommerce ul.products li.product h1 a,
    html body .blocksy-child-theme .woocommerce ul.products li.product h2 a,
    html body .blocksy-child-theme .woocommerce ul.products li.product h3 a,
    html body .blocksy-child-theme .woocommerce ul.products li.product h4 a,
    html body .blocksy-child-theme .woocommerce ul.products li.product h5 a,
    html body .blocksy-child-theme .woocommerce ul.products li.product h6 a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h1 a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h2 a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h3 a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h4 a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h5 a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product h6 a,
    html body .blocksy-child-theme .woocommerce ul.products li.product .woocommerce-loop-product__title,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    html body .blocksy-child-theme .woocommerce ul.products li.product .woocommerce-loop-product__title a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .woocommerce-loop-product__title a,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-title,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-title,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-title a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-title a,
    html body .blocksy-child-theme .woocommerce ul.products li.product .entry-title,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .entry-title,
    html body .blocksy-child-theme .woocommerce ul.products li.product .entry-title a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .entry-title a,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-name,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-name,
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-name a,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-name a,
    html body .blocksy-child-theme .product-card h1,
    html body .blocksy-child-theme .product-card h2,
    html body .blocksy-child-theme .product-card h3,
    html body .blocksy-child-theme .product-card h4,
    html body .blocksy-child-theme .product-card h5,
    html body .blocksy-child-theme .product-card h6,
    html body .blocksy-child-theme .product-card h1 a,
    html body .blocksy-child-theme .product-card h2 a,
    html body .blocksy-child-theme .product-card h3 a,
    html body .blocksy-child-theme .product-card h4 a,
    html body .blocksy-child-theme .product-card h5 a,
    html body .blocksy-child-theme .product-card h6 a,
    html body .blocksy-child-theme .product-card .woocommerce-loop-product__title,
    html body .blocksy-child-theme .product-card .woocommerce-loop-product__title a,
    html body .blocksy-child-theme .product-card .product-title,
    html body .blocksy-child-theme .product-card .product-title a,
    html body .blocksy-child-theme .product-card .entry-title,
    html body .blocksy-child-theme .product-card .entry-title a,
    html body .blocksy-child-theme .product-card .product-name,
    html body .blocksy-child-theme .product-card .product-name a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        max-height: 2.8em !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        text-indent: 0 !important;
        position: static !important;
        transform: none !important;
        clip: auto !important;
        clip-path: none !important;
        filter: none !important;
        -webkit-text-stroke: none !important;
        -webkit-text-fill-color: inherit !important;
        background: none !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
}


/* ===== 移动端商品卡统一样式 - 以NEW排序为标准（最高优先级�?===== */

@media (max-width: 1023px) {
    /* 统一移动端商品卡容器样式 - 基于NEW排序标准（最高优先级�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card,
    html body .blocksy-child-theme .product-card,
    html body .product-card,
    .woocommerce ul.products li.product .product-card,
    .woocommerce-page ul.products li.product .product-card,
    .product-card {
        background-color: #ffffff !important;
        border-radius: 10px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
        margin-bottom: 26px !important;
    padding: 0 !important;
        min-height: auto !important;
        height: auto !important;
    overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
    }
    
    /* 统一移动端商品卡flex布局 - 基于NEW排序标准（最高优先级�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex,
    html body .blocksy-child-theme .product-card .flex,
    html body .product-card .flex,
    .woocommerce ul.products li.product .product-card .flex,
    .woocommerce-page ul.products li.product .product-card .flex,
    .product-card .flex {
    display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 12px !important;
        min-height: 120px !important;
        height: 120px !important;
    box-sizing: border-box !important;
  }
  
    /* AI-EDIT v8.1.224 START �?商品卡精确修复（基于用户要求�?*/
    
    /* 最高优先级修复 - 覆盖所有冲突样�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex,
    html body .blocksy-child-theme .product-card .flex,
    html body .product-card .flex,
    .woocommerce ul.products li.product .product-card .flex,
    .woocommerce-page ul.products li.product .product-card .flex,
    .product-card .flex {
        padding: 0 !important; /* 1. 移除所有内边距，确保紧�?*/
        margin: 0 !important;
    }
    
    /* 专门针对p-1类的覆盖 - 最高优先级 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex.p-1,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex.p-1,
    html body .blocksy-child-theme .product-card .flex.p-1,
    html body .product-card .flex.p-1,
    .woocommerce ul.products li.product .product-card .flex.p-1,
    .woocommerce-page ul.products li.product .product-card .flex.p-1,
    .product-card .flex.p-1 {
        padding: 0 !important; /* 强制覆盖Tailwind的p-1�?*/
        margin: 0 !important;
    }
    
    /* 蓝色主图容器 - 确保和红色边框紧�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex .flex-shrink-0:first-child,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex .flex-shrink-0:first-child,
    html body .blocksy-child-theme .product-card .flex .flex-shrink-0:first-child,
    html body .product-card .flex .flex-shrink-0:first-child,
    .woocommerce ul.products li.product .product-card .flex .flex-shrink-0:first-child,
    .woocommerce-page ul.products li.product .product-card .flex .flex-shrink-0:first-child,
    .product-card .flex .flex-shrink-0:first-child {
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    overflow: hidden !important;
        position: relative !important;
    }
    
    /* 移动端文字间�?- 确保文字信息和状态标签保�?px距离 */
    @media (max-width: 768px) {
        html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1,
        html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1,
        html body .blocksy-child-theme .product-card .flex-1,
        html body .product-card .flex-1,
        .woocommerce ul.products li.product .product-card .flex-1,
        .woocommerce-page ul.products li.product .product-card .flex-1,
        .product-card .flex-1 {
            padding: 1px 8px !important; /* 2. 上下1px，左�?px */
            margin: 0 !important;
            min-width: 0 !important; /* 允许文字区域收缩 */
            flex: 1 !important; /* 确保文字区域占据剩余空间 */
        }
        
        /* 修复文字截断问题 - 确保文字完整显示 */
        html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1 h2,
        html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1 h2,
        html body .blocksy-child-theme .product-card .flex-1 h2,
        html body .product-card .flex-1 h2,
        .woocommerce ul.products li.product .product-card .flex-1 h2,
        .woocommerce-page ul.products li.product .product-card .flex-1 h2,
        .product-card .flex-1 h2 {
            white-space: normal !important; /* 允许换行 */
            word-break: break-word !important; /* 允许单词断行 */
            overflow: visible !important; /* 显示完整文字 */
            text-overflow: initial !important; /* 移除省略�?*/
            -webkit-line-clamp: unset !important; /* 移除行数限制 */
            display: block !important;
            max-height: none !important; /* 移除高度限制 */
        }
        
        /* 修复商品描述截断问题 */
        html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-1 .product-short-description,
        html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-1 .product-short-description,
        html body .blocksy-child-theme .product-card .flex-1 .product-short-description,
        html body .product-card .flex-1 .product-short-description,
        .woocommerce ul.products li.product .product-card .flex-1 .product-short-description,
        .woocommerce-page ul.products li.product .product-card .flex-1 .product-short-description,
        .product-card .flex-1 .product-short-description {
            white-space: normal !important; /* 允许换行 */
            word-break: break-word !important; /* 允许单词断行 */
            overflow: visible !important; /* 显示完整文字 */
            text-overflow: initial !important; /* 移除省略�?*/
            -webkit-line-clamp: unset !important; /* 移除行数限制 */
            display: block !important;
            max-height: none !important; /* 移除高度限制 */
        }
        
        /* 移动端状态标签位置调�?*/
        html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .status-tags,
        html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .status-tags,
        html body .blocksy-child-theme .product-card .status-tags,
        html body .product-card .status-tags,
        .woocommerce ul.products li.product .product-card .status-tags,
        .woocommerce-page ul.products li.product .product-card .status-tags,
        .product-card .status-tags {
            top: 1px !important; /* 距离顶部1px */
            right: 1px !important; /* 距离右边1px */
            position: absolute !important; /* 确保绝对定位 */
            z-index: 10 !important; /* 确保在文字之�?*/
        }
    }
    
    /* 投票按钮居中 - 确保投票区域的投票按钮居中显�?*/
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .flex-shrink-0:last-child,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .flex-shrink-0:last-child,
    html body .blocksy-child-theme .product-card .flex-shrink-0:last-child,
    html body .product-card .flex-shrink-0:last-child,
    .woocommerce ul.products li.product .product-card .flex-shrink-0:last-child,
    .woocommerce-page ul.products li.product .product-card .flex-shrink-0:last-child,
    .product-card .flex-shrink-0:last-child {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* 3. 垂直居中 */
        align-items: center !important; /* 水平居中 */
        text-align: center !important;
        width: 60px !important;
        min-width: 60px !important;
        padding: 8px !important;
        margin: 0 !important;
    }
    
    /* 投票按钮居中 */
    html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
    html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
    html body .blocksy-child-theme .product-card .vote-btn,
    html body .product-card .vote-btn,
    .woocommerce ul.products li.product .product-card .vote-btn,
    .woocommerce-page ul.products li.product .product-card .vote-btn,
    .product-card .vote-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        background: #39896c !important;
        color: white !important;
    }
    
    /* AI-EDIT v8.1.224 END */

    /* AI-EDIT v8.1.227 START �?清理重复样式定义，只保留最终版�?*/
    
    /* 注意：已清理所有历史重复样式定义（v8.1.219-v8.1.223�?*/
    /* 现在只保留最新的统一修复版本（v8.1.224�?*/
    
    /* AI-EDIT v8.1.243 START �?最终商品卡样式（无调试边框�?*/
    
    /* 1. 主容�?*/
    .product-card .flex {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 2. 主图容器 */
    .product-card .flex-shrink-0:first-child {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 3. 主图容器内的图片容器 */
    .product-card .flex-shrink-0:first-child .w-16,
    .product-card .flex-shrink-0:first-child .w-24,
    .product-card .flex-shrink-0:first-child .w-28,
    .product-card .flex-shrink-0:first-child .w-32,
    .product-card .flex-shrink-0:first-child .md\\:w-24,
    .product-card .flex-shrink-0:first-child .md\\:w-28,
    .product-card .flex-shrink-0:first-child .md\\:w-32 {
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* 4. 主图 - 确保填满容器 */
    .product-card .flex-shrink-0:first-child img,
    .product-card .w-12 img,
    .product-card .w-16 img,
    .product-card .w-24 img,
    .product-card .w-28 img,
    .product-card .w-32 img,
    .product-card .md\\:w-24 img,
    .product-card .md\\:w-28 img,
    .product-card .md\\:w-32 img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
    
    /* 5. 文字区域 */
    .product-card .flex-1 {
        padding: 1px 2px !important;
        margin: 0 !important;
    min-width: 0 !important;
        flex: 1 !important;
    }
    
    /* 6. 投票区域 */
    .product-card .flex-shrink-0:last-child {
        padding: 2px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    /* 7. 投票按钮 */
  .product-card .vote-btn,
    .product-card button.vote-btn,
    .product-card .vote-btn.w-8,
    .product-card .vote-btn.h-8,
    .product-card .vote-btn.bg-\\[\\#39896c\\],
    .product-card .vote-btn.rounded-full {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        background: #39896c !important;
    color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
    border: none !important;
        box-shadow: none !important;
        min-width: 16px !important;
        min-height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
    }
    
    /* 8. 投票数字 */
    .product-card .vote-count {
        text-align: center !important;
        margin: 1px auto 0 auto !important;
        display: block !important;
        font-size: 10px !important;
        color: #6b7280 !important;
    }
    
    /* AI-EDIT v8.1.243 END */

    /* AI-EDIT v8.1.243 START �?最终商品卡样式（无调试边框�?*/
    
    /* 1. 主容�?*/
    .product-card .flex {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 2. 主图容器 */
    .product-card .flex-shrink-0:first-child {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 3. 主图容器内的图片容器 */
    .product-card .flex-shrink-0:first-child .w-16,
    .product-card .flex-shrink-0:first-child .w-24,
    .product-card .flex-shrink-0:first-child .w-28,
    .product-card .flex-shrink-0:first-child .w-32,
    .product-card .flex-shrink-0:first-child .md\\:w-24,
    .product-card .flex-shrink-0:first-child .md\\:w-28,
    .product-card .flex-shrink-0:first-child .md\\:w-32 {
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* 4. 主图 */
    .product-card .flex-shrink-0:first-child img {
  width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }
    
    /* 5. 文字区域 */
    .product-card .flex-1 {
        padding: 1px 2px !important;
        margin: 0 !important;
        min-width: 0 !important;
        flex: 1 !important;
    }
    
    /* 6. 投票区域 */
    .product-card .flex-shrink-0:last-child {
        padding: 2px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    /* 7. 投票按钮 */
    .product-card .vote-btn,
    .product-card button.vote-btn,
    .product-card .vote-btn.w-8,
    .product-card .vote-btn.h-8,
    .product-card .vote-btn.bg-\\[\\#39896c\\],
    .product-card .vote-btn.rounded-full {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        background: #39896c !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        min-width: 16px !important;
        min-height: 16px !important;
        max-width: 16px !important;
        max-height: 16px !important;
    }
    
    /* 8. 投票数字 */
    .product-card .vote-count {
        text-align: center !important;
        margin: 1px auto 0 auto !important;
  display: block !important;
        font-size: 10px !important;
        color: #6b7280 !important;
    }
    
    /* AI-EDIT v8.1.243 END */

/* AI-EDIT v8.1.247 START �?修复主图和投票区域显示问�?*/

/* 修复主图容器 - 确保包含新的w-12和md:w-28�?*/
.product-card .flex-shrink-0:first-child .w-12,
.product-card .flex-shrink-0:first-child .md\:w-28 {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

/* 修复主图填充 - 确保w-12和md:w-28的图片填满容�?*/
.product-card .flex-shrink-0:first-child .w-12 img,
.product-card .flex-shrink-0:first-child .md\:w-28 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* 修复投票区域垂直居中 - 确保投票按钮在区域中垂直居中 */
.product-card .flex-shrink-0:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 60px !important;
}

/* AI-EDIT v8.1.247 END */

/* AI-EDIT v8.1.248 START �?完整修复商品卡显示问�?*/

/* 1. 修复主图容器 - 包含所有尺寸类 */
.product-card .flex-shrink-0:first-child .w-12,
.product-card .flex-shrink-0:first-child .h-12,
.product-card .flex-shrink-0:first-child .md\:w-28,
.product-card .flex-shrink-0:first-child .md\:h-28 {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #e5e7eb !important; /* 确保灰色背景显示 */
}

/* 2. 修复主图填充 - 确保图片完全填满容器 */
.product-card .flex-shrink-0:first-child .w-12 img,
.product-card .flex-shrink-0:first-child .h-12 img,
.product-card .flex-shrink-0:first-child .md\:w-28 img,
.product-card .flex-shrink-0:first-child .md\:h-28 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important; /* 确保图片在灰色背景之上 */
}

/* 3. 修复投票区域 - 确保垂直居中和正确宽�?*/
.product-card .flex-shrink-0:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 50px !important;
    min-width: 50px !important;
    height: 100% !important;
    min-height: 60px !important;
    padding: 2px !important;
    margin: 0 !important;
}

/* 4. 修复投票按钮 - 确保24px圆形按钮 */
.product-card .vote-btn {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #39896c !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

/* 5. 修复投票数字 - 确保居中显示 */
.product-card .vote-count {
    text-align: center !important;
    margin: 2px auto 0 auto !important;
    display: block !important;
    font-size: 10px !important;
    color: #6b7280 !important;
}

/* 移动端投票按钮尺寸 - 保持24px */
@media (max-width: 768px) {
  .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0 {
    width: 16px !important;
    height: 16px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-basis: 24px !important;
  }
}

/* 移动端投票按钮尺寸 - 保持24px */
@media (max-width: 768px) {
  .product-card .vote-btn,
  .vote-btn,
  .woocommerce ul.products li.product .product-card .vote-btn,
  .woocommerce-page ul.products li.product .product-card .vote-btn {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
  }
}

/* 最高优先级投票按钮尺寸修复 - 覆盖Tailwind CSS的w-8 h-8类 */
html body .product-card .vote-btn.w-8.h-8,
html body .vote-btn.w-8.h-8,
html body .woocommerce .product-card .vote-btn.w-8.h-8,
html body .woocommerce-page .product-card .vote-btn.w-8.h-8,
.vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0 {
  width: 16px !important;  /* 强制覆盖Tailwind CSS的w-8 (32px) */
  height: 16px !important;  /* 强制覆盖Tailwind CSS的h-8 (32px) */
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-basis: 16px !important;
  border-radius: 50% !important;
  background-color: #39896c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 移动端投票按钮尺寸 - 保持24px，覆盖Tailwind CSS */
@media (max-width: 768px) {
  html body .product-card .vote-btn.w-8.h-8,
  html body .vote-btn.w-8.h-8,
  html body .woocommerce .product-card .vote-btn.w-8.h-8,
  html body .woocommerce-page .product-card .vote-btn.w-8.h-8,
  .vote-btn.w-8.h-8.bg-\[#39896c\].hover\:bg-\[#2d6b56\].rounded-full.flex.items-center.justify-center.text-white.transition-colors.duration-200.mb-1.flex-shrink-0 {
    width: 24px !important;  /* 移动端保持24px */
    height: 24px !important;  /* 移动端保持24px */
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-basis: 24px !important;
  }
}

/* AI-EDIT v8.1.248 END */

/* AI-EDIT v8.1.292 START - 移动端主图容器尺寸设置 */
@media (max-width: 768px) {
    .product-card .flex-shrink-0:first-child {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        flex-shrink: 0 !important;
        margin-right: 6px !important;
    }
    
    /* 小屏幕手机优化 (320px-480px) */
    @media (min-width: 320px) and (max-width: 480px) {
        .product-card .flex-shrink-0:first-child {
            width: 100px !important;
            min-width: 100px !important;
            max-width: 100px !important;
            height: 100px !important;
            min-height: 100px !important;
            max-height: 100px !important;
        }
    }
    
    /* 中等屏幕手机 (481px-640px) */
    @media (min-width: 481px) and (max-width: 640px) {
        .product-card .flex-shrink-0:first-child {
            width: 110px !important;
            min-width: 110px !important;
            max-width: 110px !important;
            height: 110px !important;
            min-height: 110px !important;
            max-height: 110px !important;
        }
    }
    
    /* 大屏手机 (641px-768px) */
    @media (min-width: 641px) and (max-width: 768px) {
        .product-card .flex-shrink-0:first-child {
            width: 120px !important;
            min-width: 120px !important;
            max-width: 120px !important;
            height: 120px !important;
            min-height: 120px !important;
            max-height: 120px !important;
        }
    }
}
/* AI-EDIT v8.1.296 START - 移动端状态标签白色文字 */
@media (max-width: 768px) {
    .product-card .status-tag {
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    
    .product-card .status-tag.new {
        color: #ffffff !important;
    }
    
    .product-card .status-tag.sale {
        color: #ffffff !important;
    }
    
    .product-card .status-tag.featured {
        color: #ffffff !important;
    }
    
    .product-card .status-tag.sold-out {
        color: #ffffff !important;
    }
}
/* AI-EDIT v8.1.297 START - 投票区域数字位置调整 */
.product-card .vote-count {
    margin-top: 5px !important; /* 从4px增加到5px，往下1px */
    text-align: center !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
}
/* AI-EDIT v8.1.302 START - 修复投票按钮双重背景问题，只保留圆形背景#39896c */
.product-card .vote-btn,
.product-card button.vote-btn,
.product-card .vote-btn.w-8,
.product-card .vote-btn.h-8,
.product-card .vote-btn.bg-\\[\\#39896c\\],
.product-card .vote-btn.rounded-full,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
html body .product-card .vote-btn,
html body .vote-btn {
    background-color: #39896c !important; /* 只保留圆形背景#39896c */
    background: #39896c !important;       /* 强制背景色 */
    border-radius: 50% !important;        /* 圆形 */
    width: 16px !important;               /* 24px宽度 */
    height: 16px !important;               /* 24px高度 */
    display: flex !important;             /* flex布局 */
    align-items: center !important;       /* 垂直居中 */
    justify-content: center !important;  /* 水平居中 */
    color: white !important;              /* 白色文字 */
    border: none !important;              /* 无边框 */
    padding: 0 !important;                /* 无内边距 */
    margin: 0 !important;                 /* 无外边距 */
    position: relative !important;         /* 相对定位 */
    overflow: visible !important;         /* 可见溢出 */
}

/* 移除所有可能的方形背景 */
.product-card .vote-btn::before,
.product-card .vote-btn::after,
.product-card button.vote-btn::before,
.product-card button.vote-btn::after {
    display: none !important;             /* 移除伪元素 */
    content: none !important;             /* 移除内容 */
    background: none !important;          /* 移除背景 */
}

/* SVG图标样式 */
.product-card .vote-btn svg {
    width: 16px !important;
    height: 16px !important;
    z-index: 1 !important;
    position: relative !important;
}

.product-card .vote-btn svg path {
    stroke: #ffffff !important;           /* 白色箭头 */
    stroke-width: 2.5 !important;
    fill: none !important;                /* 无填充 */
}

/* 悬停效果统一 */
.product-card .vote-btn:hover,
.product-card button.vote-btn:hover,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn:hover,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn:hover,
html body .product-card .vote-btn:hover,
html body .vote-btn:hover {
    background-color: #2d6b56 !important; /* 悬停时深绿色 */
    background: #2d6b56 !important;       /* 强制悬停背景色 */
}
/* AI-EDIT v8.1.303 START - 最高优先级修复投票按钮双重背景问题 */
html body .blocksy-child-theme .product-card .vote-btn,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn,
html body .product-card .vote-btn,
html body .vote-btn,
.product-card .vote-btn,
.product-card button.vote-btn,
.product-card .vote-btn.w-8,
.product-card .vote-btn.h-8,
.product-card .vote-btn.bg-\\[\\#39896c\\],
.product-card .vote-btn.rounded-full {
    /* 强制移除所有可能的背景 */
    background: #39896c !important;
    background-color: #39896c !important;
    background-image: none !important;
    background-clip: padding-box !important;
    
    /* 强制圆形 */
    border-radius: 50% !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    
    /* 布局 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
    
    /* 移除所有可能的边框和填充 */
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    
    /* 文字颜色 */
    color: white !important;
}

/* 移除所有伪元素背景 */
html body .blocksy-child-theme .product-card .vote-btn::before,
html body .blocksy-child-theme .product-card .vote-btn::after,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn::before,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn::after,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn::before,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn::after,
html body .product-card .vote-btn::before,
html body .product-card .vote-btn::after,
html body .vote-btn::before,
html body .vote-btn::after,
.product-card .vote-btn::before,
.product-card .vote-btn::after,
.product-card button.vote-btn::before,
.product-card button.vote-btn::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* SVG图标样式 */
html body .blocksy-child-theme .product-card .vote-btn svg,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn svg,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn svg,
html body .product-card .vote-btn svg,
html body .vote-btn svg,
.product-card .vote-btn svg {
    width: 16px !important;
    height: 16px !important;
    z-index: 1 !important;
    position: relative !important;
    background: none !important;
    background-color: transparent !important;
}

html body .blocksy-child-theme .product-card .vote-btn svg path,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn svg path,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn svg path,
html body .product-card .vote-btn svg path,
html body .vote-btn svg path,
.product-card .vote-btn svg path {
    stroke: #ffffff !important;
    stroke-width: 2.5 !important;
    fill: none !important;
    background: none !important;
    background-color: transparent !important;
}

/* 悬停效果 */
html body .blocksy-child-theme .product-card .vote-btn:hover,
html body .blocksy-child-theme .woocommerce ul.products li.product .product-card .vote-btn:hover,
html body .blocksy-child-theme .woocommerce-page ul.products li.product .product-card .vote-btn:hover,
html body .product-card .vote-btn:hover,
html body .vote-btn:hover,
.product-card .vote-btn:hover,
.product-card button.vote-btn:hover {
    background: #2d6b56 !important;
    background-color: #2d6b56 !important;
    background-image: none !important;
}
/* AI-EDIT v8.1.303 END */

/* AI-EDIT v8.1.388 START - PC端投票按钮尺寸修复 */
/* PC端投票按钮尺寸 - 修复过大问题 */
@media (min-width: 768px) {
    /* PC端投票按钮尺寸 - 强制覆盖Tailwind类 */
    html body .product-card .vote-btn.w-6.h-6,
    html body .vote-btn.w-6.h-6,
    .product-card .vote-btn.w-6.h-6,
    .product-card button.vote-btn.w-6.h-6,
    .vote-btn.w-6.h-6 {
        /* PC端投票按钮尺寸 - 与移动端保持一致 */
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
    }
    
    /* PC端投票按钮SVG图标尺寸 */
    html body .product-card .vote-btn svg,
    html body .vote-btn svg,
    .product-card .vote-btn svg,
    .product-card button.vote-btn svg,
    .vote-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}
/* AI-EDIT v8.1.388 END */
