.elementor-775 .elementor-element.elementor-element-440f4bd4{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;overflow:visible;}.elementor-775 .elementor-element.elementor-element-2cc2ad83{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;overflow:visible;}.elementor-775 .elementor-element.elementor-element-a49b34c{--display:flex;overflow:visible;}.elementor-775 .elementor-element.elementor-element-5adf3f18.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-775 .elementor-element.elementor-element-5adf3f18.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(min-width:768px){.elementor-775 .elementor-element.elementor-element-440f4bd4{--width:100%;}}@media(max-width:1024px){.elementor-775 .elementor-element.elementor-element-5adf3f18.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-775 .elementor-element.elementor-element-5adf3f18.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for html, class: .elementor-element-6da53f61 *//* 主要横幅样式 */
.give-a-gift-banner {
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
              url('https://d3a1v57rabk2hm.cloudfront.net/treats/bold-copy-103/images/shop-banner2.jpg?ts=1637735072&host=my.cratejoy.com');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 15px 20px; /* 设定上下边距，控制高度 */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 380px; /* 桌面端最小高度 */
}

/* 标题样式 */
.banner-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #40BABF;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 图片样式 */
.banner-image {
  max-width: 100%;
  height: auto;
  padding-top: 10px;
}

/* 移动端样式，调整高度和间距 */
@media (max-width: 768px) {
  .give-a-gift-banner {
    height: auto !important;
    padding: 5px 20px !important; /* 手机设备使用更小的间距 */
    min-height: 300px; /* 移动端最小高度设置为300px */
  }

  .banner-title {
    font-size: 1.8rem; /* 小屏设备标题字体稍微缩小 */
  }
}/* End custom CSS */
/* Start custom CSS for wc-archive-products, class: .elementor-element-5adf3f18 *//* 产品整体卡片 */
ul.products li.product {
  width: 100%;
  max-width: 400px;
  background: #fff;
  text-align: center;
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 12px;
}

/* 鼠标悬停时卡片浮起 */
ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* 商品图片 */
ul.products li.product img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 5px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* 鼠标悬停时图片放大 */
ul.products li.product:hover img {
  transform: scale(1.05);
}

/* 商品标题 */
ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  margin: 10px 0 6px 0;
  padding: 0 12px;
  transition: text-decoration 0.3s ease, color 0.3s ease;
}

ul.products li.product:hover h2.woocommerce-loop-product__title {
  text-decoration: underline;
  color: #c8102e;
}

/* 价格区域横向排列 */
ul.products li.product .price {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  line-height: 1.2;
}

/* 现价样式 */
ul.products li.product .price ins {
  order: 1;
  color: #c8102e;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

/* 原价样式 */
ul.products li.product .price del {
  order: 2;
  color: #999;
  font-size: 13px;
  font-weight: 400;
  display: inline-block;
  white-space: nowrap;
  transform: translateY(-10px);
}

/* Sale 标记 */
ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background-color: #c8102e;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 加入购物车按钮 */
ul.products li.product .add_to_cart_button {
  display: block;
  width: 90%;
  margin: 16px auto 10px;
  padding: 14px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  background-color: #ff9e59;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, border 0.3s, transform 0.2s;
  border: 2px solid transparent;
  box-shadow: 0 3px 6px rgba(255, 174, 107, 0.4);
}

/* 按钮悬停效果 */
ul.products li.product .add_to_cart_button:hover {
  background-color: #fff;
  color: #c8102e;
  border: 2px solid #c8102e;
  transform: scale(1.03);
}

/* 商品图片（缩小 + 保持比例） */
ul.products li.product img {
  width: 100%;
  height: 220px; /* 可根据需要缩小为 200px、180px 等 */
  object-fit: contain; /* 保持图片原始比例 */
  display: block;
  margin-bottom: 5px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.3s ease, filter 0.3s ease;
  background-color: #f8f8f8; /* 可选，让白底图片更协调 */
  padding: 10px; /* 可选，内边距让图片居中更舒服 */
}/* End custom CSS */