.elementor-287 .elementor-element.elementor-element-f547fb4{--display:flex;--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;}.elementor-287 .elementor-element.elementor-element-98681f4 .woocommerce-breadcrumb{color:#535353;font-family:"Nunito Sans", Sans-serif;font-weight:900;}.elementor-287 .elementor-element.elementor-element-98681f4 .woocommerce-breadcrumb > a{color:#EF1D35;}.elementor-287 .elementor-element.elementor-element-863f9e6{--display:flex;--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;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price ins{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price ins .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products{--products-title-color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.products-heading-show .related-products > h2, .elementor-widget-woocommerce-products.products-heading-show .upsells > h2, .elementor-widget-woocommerce-products.products-heading-show .cross-sells > h2{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del {font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-woocommerce-products.elementor-wc-products .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product{text-align:left;--button-align-display:flex;--button-align-direction:column;--button-align-justify:space-between;border-style:solid;border-width:4px 4px 4px 4px;background-color:#F3F3F3;border-color:#F3F3F3;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:20px;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:"Roboto", Sans-serif;font-weight:600;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .price{color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .price ins{color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .price ins .amount{color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .price del{color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .price del .amount{color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product .button{color:#FFFFFF;background-color:#000000;}.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(min-width:768px){.elementor-287 .elementor-element.elementor-element-f547fb4{--content-width:1400px;}.elementor-287 .elementor-element.elementor-element-863f9e6{--content-width:1400px;}}@media(max-width:1024px){.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-287 .elementor-element.elementor-element-3625a1b.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for woocommerce-products, class: .elementor-element-3625a1b *//* ================================
   Products Grid - Smokemart 风格底部排版
   ✅ 电脑端保持不变
   ✅ 手机端标题更小更细 + 价格单行
================================ */

/* ========== 电脑端 / 通用 ========== */

/* 0) 卡片基础 */
.woocommerce ul.products li.product{
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid #eee !important;
  background: #fff !important;
  padding-bottom: 18px !important;
}

/* 1) 底部灰色区域 */
.woocommerce ul.products li.product::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:140px;
  background:#f3f3f3;
  z-index:0;
}

/* 2) 信息区层级 */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .product-category,
.woocommerce ul.products li.product .product-categories{
  position: relative;
  z-index: 1;
}

/* 3) 产品标题（电脑端位置） */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  margin: 0 96px 8px 16px !important;
  padding: 0 !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  transform: translateY(-32px);
}

/* 4) 价格（电脑端） */
.woocommerce ul.products li.product .price{
  margin: 0 96px 0 16px !important;
  padding: 0 !important;
  font-weight: 700 !important;
}

/* 5) 右下角购物车按钮（电脑端） */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable,
.woocommerce ul.products li.product a.product_type_grouped{
  position: absolute !important;
  right: 16px !important;
  bottom: 18px !important;
  left: auto !important;
  top: auto !important;

  width: 72px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: #000 !important;
  border: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-size: 0 !important;
  padding: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;

  z-index: 2 !important;
}

/* 6) 白色购物车图标 */
.woocommerce ul.products li.product a.button::before,
.woocommerce ul.products li.product a.add_to_cart_button::before,
.woocommerce ul.products li.product a.product_type_simple::before,
.woocommerce ul.products li.product a.product_type_variable::before,
.woocommerce ul.products li.product a.product_type_grouped::before{
  content:"";
  width:18px;
  height:18px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM6.2 6h15.1l-1.4 7.1c-.2 1-1.1 1.9-2.2 1.9H8.1c-1.1 0-2-.8-2.2-1.9L4.3 2H2V0h3.9l.3 2H22v2H6.2Z'/%3E%3C/svg%3E");
}

/* 7) 禁用主图 hover 图标 */
.woocommerce ul.products li.product .product-thumbnail .button{
  display: none !important;
}

/* ========== 手机端修正（≤767px） ========== */
@media (max-width: 767px){

  /* 灰色区域更高，容纳文字+按钮 */
  .woocommerce ul.products li.product::after{
    height: 220px !important;
  }

  /* ✅ 手机端标题：更小 + 更细 */
  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    transform: none !important;
    margin: 0 16px 6px 16px !important;
    padding-top: 6px !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }

  /* ✅ 手机端价格：单行显示 */
  .woocommerce ul.products li.product .price{
    margin: 0 16px 14px 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;

    display: block !important;
    white-space: nowrap !important;
  }

  .woocommerce ul.products li.product .price del,
  .woocommerce ul.products li.product .price ins{
    display: inline !important;
  }

  /* 手机端 ADD 按钮：整行 */
  .woocommerce ul.products li.product a.button,
  .woocommerce ul.products li.product a.add_to_cart_button,
  .woocommerce ul.products li.product a.product_type_simple,
  .woocommerce ul.products li.product a.product_type_variable,
  .woocommerce ul.products li.product a.product_type_grouped{
    left: 16px !important;
    right: 16px !important;
    bottom: 18px !important;

    width: auto !important;
    height: 56px !important;
    border-radius: 999px !important;
  }

  /* 给按钮留空间 */
  .woocommerce ul.products li.product{
    padding-bottom: 86px !important;
  }
}/* End custom CSS */