/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.0
*/

.elementor-element.elementor-products-grid ul.products li.product a.woocommerce-loop-product__link,
ul.products li.product .woocommerce-LoopProduct-link{
  overflow:hidden; 
  text-overflow:ellipsis;
  display:-webkit-box; 
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2; 
}
ul.products li.product .product-label{
	/* display:none !important; */
}

.select_box:not( .on_ptab ) .select_option:hover, .select_option.selected {
  border-color: #f00;
}
#coupons_list h3{
  margin-top: 20px;
}
.woocommerce-checkout.min-ck header h1{
  color: #fff;
}
body #message-purchased {
bottom: 75px !important;
}

.goods_baoz{
	display: flex;
	align-items:center;
	justify-content:space-between;
	margin-top: 10px;
}
.goods_baoz i{
	font-style: normal;
	padding-left:5px;
}
.goods_baoz img{
	height: 25px;
}
.goods_baoz span{
	display:flex;
}
.peisong{
	background: #fff;
	margin: 10px;
	padding: 5px;
}
/* 显示最近更新的日期 */
.entry-date.published:not(.updated) {
display: none;
}

.updated:not(.published) {
display: inline;
}
/* 更改WooCommerce的信息栏颜色 */
/* Normally Red */
.woocommerce-error {
    background-color: #e2401c;
}
 
/* Normally Blue */
.woocommerce-info {
    background-color: #3d9cd2;
}
 
/* Normally Green */
.woocommerce-message {
    background-color: #3bb54a;
}
 
/* Normally Green */
body.single-product .woocommerce-message .message-inner {
    background-color: #3bb54a;
}

/* 购物车加购区 */
.woocommerce-cart .mobile-filter ,.woocommerce-cart .shoptimizer-sorting{
   display: none;
}
.columns-3>.sfn-cart-addons {
  background-color: #f9f9f9;
  border: 1px solid #e2e2e2;
  overflow: hidden;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
}
.sfn-cart-addons h2{
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 10px;
}

.shoptimizer-sorting{
  overflow: hidden;
}

body .site-main .columns-3 ul.products.sfn-cart-addons li.product {
  width: 25%;
}
ul.products.sfn-cart-addons li.product {
  margin-right:0;
}

/* 購買了該產品的人還購買了 */
.yith-wfbt-form {
  padding: 10px;
}
.price_text {
  padding: 8px 0;
}
.yith-wfbt-submit-block span.total_price{
  color: #f00;
}
.yith-wfbt-items span.product-name {
  text-decoration: underline;
}
.yith-wfbt-items ins span.woocommerce-Price-amount{
  color: #000;
  font-weight: bold;
}
a.yith-wfbt-open-modal {
  display: inline-block;
  background: #448a85;
  color: #fff;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 2px;
}
li.yith-wfbt-item{
  margin-bottom: 10px;
}
/* 分类导航按钮样式 */
a.am-btn.am-btn-default{
  color: #444;
  background-color: #e6e6e6;
  border-color: #e6e6e6;
  display: inline-block;
  margin-bottom: 0;
  padding: .5em 1em;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  outline: 0;
  border-radius: 2px;
  margin-bottom: 10px;
  font-size: 12px;
}

.cate_ad{
  font-size: 13px;
  line-height: 1.4rem;
}
.cate_ad h2{
  font-size: 16px;
  font-weight: bold;
}
.cate_ad h3{
  font-size:15px;
  font-weight: 500;
}
.cate_ad h4{
  font-size:14px;
  font-weight: 400;
}

.woocommerce-pagination {
  visibility: hidden;
  }

/* 首页最新资讯 */

.single-product .site-content .col-full{
  background:none !important;
}

.woocommerce-checkout .woocommerce-shipping-fields h3#ship-to-different-address{
  display: none;
}

span.woo-selected-variation-item-name {
    display: none;
}

table.canshu {
	font-family: verdana,arial,sans-serif;
	font-size:14px;
	color:#333333;
	border-width: 1px;
	border-color: #999999;
	border-collapse: collapse;
}
table.canshu tr {
	background-color:#fff;
}
table.canshu td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #000;
	font-size: 14px;
	display: table-cell;
    vertical-align: middle;
}
table.canshu td.whit{
	width: 25%;
}

/* 商品頁活動字體 */
.awdr_discount_bar{
	margin-bottom:0px !important;
	padding-left:0px !important;
}
.awdr_discount_bar_content{
	font-size:12px;
}
.awdr_discount_bar_content>span,.web_hd{
	  background:#cc0000;
	  color:#fff;
	  padding:3px 6px;
	  margin-right:6px;
}
/* 結賬字段 */
body fieldset {
    padding: 10px 0px;
}
/* 優惠消息標紅 */
body .woocommerce-message strong{
	  color:#cf0000;
	  font-weight:block;
}
/* 結帳頁優惠活動字體 */
.woocommerce-checkout-review-order-table tfoot tr.fee th{
	color:#cf0000;
}
/* 產品標籤樣式 */
.theme-shoptimizer ul.products li.product .woocommerce-advanced-product-label{
	display:inline-block !important;
	background:none;
}
.theme-shoptimizer ul.products li.product .woocommerce-advanced-product-label span.wapl-label-text{
	background:#a40000;
	padding:3px 6px;
	border-radius:0px;
}

/* 结算页运费提示消息 */

.woocommerce .woocommerce-info,.woocommerce-checkout .shoptimizer-archive .woocommerce-info{
   background-color: #3d9cd2 !important;
   clear: both !important;
   margin-bottom: 20px !important;
   margin-left: 0 !important;
   padding: 1em 1.618em !important;
   border-left: 0.6180469716em solid rgba(0,0,0,.15) !important;
   border-radius: 2px !important;
   color: #fff !important;
   font-size: 15px !important;
}


@media (max-width: 767px){

/* 首頁輪播圖 */
.theme-shoptimizer .elementor-main-swiper .elementor-slides img{
	width:100% !important;
	height:auto !important;
}

  
.single-product .site-content .col-full{
  background:none !important;
}

  .site ul.sfn-cart-addons li.product {
    margin-bottom: 2em;
    width: 50% !important;
}
.yith-wfbt-submit-block .yith-wfbt-submit-button {
  width: 100%;
  font-size: 18px;
  height: 58px;
}

.site .elementor-element.elementor-products-grid ul.products li.product {
  margin-bottom: 0 !important;
  padding-bottom: 0px !important;
}

.site .elementor-element.elementor-products-grid ul.products{
  grid-column-gap: 0 !important;
  grid-row-gap: 0 !important;
}
.home-news ul li a{
  font-size: 12px;
}

body.theme-shoptimizer .site-header .custom-logo-link img, body.wp-custom-logo .site-header .custom-logo-link img {
  height: 42px;
}
.elementor-countdown-wrapper {
  text-align: center;
}

}


