/* ==========================================================================
   WooCommerce Styles - 商品/搜索/列表等样式
   ========================================================================== */

/* 商品图库圆角 */
.ct-product-gallery-container img {
    border-radius: 6px;
}

/* 商品属性颜色选择器字体 */
.ct-swatch-container .ct-swatch {
	font-weight: 400;
}

/* "Reasons to Buy" 部分样式 */
.ct-product-additional-info ul li {
  margin: 10px 0;
  padding: 12px 15px;
  border-radius: 8px;
  border-left: 4px solid #e74c3c;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.ct-product-additional-info ul li:hover {
  transform: translateX(5px);
  background-color: #f0f0f0;
}

.ct-product-additional-info .ct-icon-container {
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e74c3c;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ct-product-additional-info .ct-icon-container svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ct-product-additional-info .ct-label {
  font-weight: 400;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
  line-height: 1.4;
}

/* 促销盒子样式 商品详情页买2送1*/
.promotion-box {
    background-color: #FFF8D1;
    border: 2px dashed #FF4F4F;
    padding: 15px;
    font-family: Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
}

h3.promotion-title {
    color: #D7462D;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.promotion-description {
    color: #555;
    font-size: 16px;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.promotion-description strong {
    color: #FF4F4F;
}
/* 商品搜索页面样式 */
.swp-rp-page-header h1 {
    font-size: 20px;
}
.swp-search-results {
    margin: 20px 0;
}
.swp-result-item {
    padding: 15px 0;
    text-align: center;
}
.swp-result-item--info-container .entry-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
    text-align: center;
    padding:10px 5px 0;
}
.swp-result-item--info-container .entry-title a:hover {
    color:#ce5a45;
}
.swp-result-item--price {
    font-size: 14px;
    color: #FF745F;
    font-weight: 500;
    text-align: center;
}
.swp-result-item--img-container,
.swp-result-item--img {
    border-radius: 5px;
    overflow: hidden;
}
.swp-grid .swp-result-item--img {
    margin-bottom: 12px;
    width: 100%;
}
.swp-result-item--img img {
    border-radius: 5px;
}
.swp-load-more .swp-load-more-button {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}
.navigation.pagination .swp-results-pagination.nav-links {
    margin: 30px 0;
}
.navigation.pagination .swp-results-pagination .page-numbers {
    font-size: 14px;
    height: 30px;
    width: 30px;
    color: #666;
    border-color: #e0e0e0;
}

/* 响应式调整 */
@media (max-width: 999.98px) {
  .swp-flex .swp-result-item--img-container {
      flex-basis: 25%;
  }
  .swp-result-item--info-container .entry-title {
      font-size: 15px;
  }
  .swp-result-item--desc {
      font-size: 12px;
  }
}
