/*!
Theme Name: blocksy-child
Description: extension for blocksy.
Author: zlp
Template: blocksy
*/
@import url("../blocksy/style.css");
.woocommerce-variation.single_variation {
  display: none !important;
}

/* 商品详情页 nav */
.ct-breadcrumbs{
  text-transform: none !important;
}
.product-entry-wrapper .product_title {
  font-size: 2rem !important;
  font-weight: 600 !important;
}
.product-entry-wrapper .woocommerce-product-details__short-description {
  font-size: 18px !important;
  color: #333333 !important;
}
.product-entry-wrapper .price {
  font-size: 1.5rem !important;
  color: #333333 !important;
  font-weight: 600 !important;
}
/* 商品详情页变量选择 */
.button-variable-item {
  border-radius: 0 !important;
  background-color: #f4f4f4 !important;
  color: #333333 !important;
}
.button-variable-item.selected {
  background-color: #ffe6d9 !important;
  color: #333333 !important;
  border: 1px solid #f24a00 !important;
  position: relative !important;
  box-shadow: none !important;
}
.button-variable-item.selected .variable-item-contents::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid #f24a00;
  border-bottom: 5px solid #f24a00;
}

/* 商品详情页tabs */
.tabs.wc-tabs.is-width-constrained {
  position: relative;
  z-index: 1;
  border-bottom: 3px solid #e5e5e5 !important;
}
.wc-tabs li {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: #999999 !important;
  font-size: 20px !important;
  transition: color 0.3s ease;
}
.wc-tabs li a {
  padding: 9px 23px !important;
  font-weight: 600 !important;
  color: #999999 !important;
  transition: color 0.3s ease;
}
/* 所有tab的下划线（默认隐藏） */
.wc-tabs li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px; /* 调整位置，避免被border遮挡 */
  width: 100%;
  height: 3px;
  background-color: #f24a00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}
/* 激活tab的下划线（显示） */
.wc-tabs li.active::after {
  transform: scaleX(1);
}
/* 激活tab的样式 */
.wc-tabs .active {
  position: relative;
}
.wc-tabs .active a {
  color: #333333 !important;
  transition: color 0.3s ease;
}
/* 移除不需要的样式 */
.wc-tabs .active::before {
  content: "";
  width: 0;
  height: 0;
}
@media (max-width: 689.98px) {
  .woocommerce div.product div.woocommerce-tabs ul.tabs {
    flex-direction: row !important;
    justify-content: center !important;
  }
  .wc-tabs li a {
    padding: 9px !important;
  }
}
.custom-summary-note {
  background: #f8f9fa;
  color: #444;
  font-size: 14px;
}

.menu-item-object-page a {
  text-transform: none !important;
}
.woocommerce-tabs .wc-tabs li a {
  text-transform: none !important;
}
.wc-tabs .active::after {
  height: 3px !important;
}

#header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}


/* WPC Frequently Bought Together for WooCommerce  */
.woobt-products-layout-default{
  border:none !important;
}

.woobt-product-together {
  display: grid !important;
  grid-template-columns: 10% 20% 70% !important;
  grid-template-rows: 65% 35% !important;
  padding: 20px !important;
  background: #FEEDE6 !important;
  border: 1px solid #F24A00 !important;
  margin-bottom: 20px !important;
}
.woobt-product-together.woobt-hide{
  background: #F8F8F8 !important;
  border:none !important;
}
.woobt-product-together  .woobt-choose{
  grid-column: 1 / 2 !important;
  grid-row: 1 / 3 !important;
  justify-self: center !important;
  align-self: center !important;
}
.woobt-product-together  .woobt-thumb{
  width: 100% !important;
  grid-column: 2 / 3 !important;
  grid-row: 1 / 3 !important;
  justify-self: center !important;
  align-self: center !important;
  margin-right: 10px !important;
}
.woobt-product-together .woobt-title .woobt-title-inner{
  margin-bottom: 10px !important;
  display:inline-block !important;
}
.woobt-product-together .woobt-title .woobt-title-inner a{
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  color: #000000 !important;
  
}
.woobt-product-together  .woobt_variations_form{
  margin-bottom: 10px !important;
}
.woobt-product-together  .woobt_variations_form .variations{
  height:60px !important;
  display: flex !important;
}
.woobt_variations_form .variations .variation{
  flex-grow: 1 !important;
} 
.woobt_variations_form .reset{
  display: none !important;
}
.woobt-product-together  .woobt-checkbox{
  accent-color: #F24A00 !important;
  height: 20px !important;
  width: 20px !important;
}

.woobt-product-together  .woobt-quantity {
  grid-row: 2 / 3 !important;
  grid-column: 3 / 4 !important; 
}
.woobt-product-together .woobt-quantity .quantity{
  height: 40px !important;
}
.woobt-product-together  .woobt-quantity-input {
  height: 100% !important;
}
.woobt-product-together  .woobt-price{
  grid-column: 3 / 4 !important;
  grid-row: 2 / 3 !important;
  margin-left: 140px !important;
  text-wrap: nowrap !important;
}
.woobt-product-together .woobt-price .woocommerce-Price-amount bdi{
  font-size: 16px !important;
  font-weight: 500 !important;
}
.woobt-product-together  .woocommerce-Price-amount bdi:first-child{
  font-size: 20px !important;
  font-weight: 600 !important;
}
.woobt-product-together .woocommerce-Price-amount bdi{
  font-size: 16px !important;
  font-weight: 600 !important;
}
@media only screen and (max-width: 767px) {
  .woobt-product-together{
    display: grid !important;
    grid-template-columns: 10% 20% 70% !important;
    grid-template-rows: 55% 25% 20% !important;
    justify-items: flex-start !important;
  }
  .woobt-product-together .woobt-title{
    text-align: start !important;
  }
  .woobt-wrap-responsive .woobt-products .woobt-product .woobt-price{
    grid-column: 3 / 4 !important;
    grid-row: 3 / 4 !important;
    margin:10px 0px 0px 0px !important;
  }
}

/* cart */
.ppc-button-wrapper{
  margin-top: 20px !important;
}


.my-warranty-link {
  color: #000000;
}

.add_to_cart_button{
  text-transform: uppercase !important;
}



/* cookie */
@media (min-width: 1200px) {
  #cookie-notice{
    width: 40% !important;
    max-width: 40% !important;
    min-width: 40% !important;
    font-family: "manrope", "sans-serif" !important;
  }
}
#cn-close-notice{
  position: absolute !important;
  top:25px !important;
}
#cn-notice-text{
  margin-bottom: 30px !important;
}
#cn-notice-buttons{
  position: absolute !important;
  bottom: 10px !important;
  right: 20px !important;
}
#cn-accept-cookie,#cn-refuse-cookie{
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  font-family: "manrope", "sans-serif" !important;
}




/* 购物车 */
.wc-block-cart-item__wrap .wc-block-components-product-name{
  font-size:1.25rem !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

.wc-block-cart-item__total .wc-block-components-product-price__value{
  font-size:1.25rem !important;
  font-weight: 600 !important;
  color: #000000 !important;
}

.wc-block-grid__product-title{
  font-size:17px !important;
  font-weight: 600 !important;
  color: #000000 !important;
}
.wc-block-grid__product-title:hover{
  color: #F24A00 !important;
}
.wc-block-grid__product .woocommerce-Price-amount{
  font-size:20px !important;
  font-weight: 600 !important;
  color: #000000 !important;
}

.wc-block-grid__product{
  display: flex !important;
  flex-direction: column !important;
}
.wc-block-grid__product .wp-block-button{
  margin-top: auto !important;
  width: 100% !important;
}
.wc-block-grid__product-add-to-cart .add_to_cart_button{
  font-size:15px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

.wp-block-woocommerce-cart-order-summary-totals-block .wc-block-components-totals-item__label{
  font-size:1.125rem !important;
  font-weight: 500 !important;
  color: #000000 !important;
}
.wp-block-woocommerce-cart-totals-block .wc-block-components-totals-footer-item .wc-block-formatted-money-amount{
  font-size:1.5rem !important;
  font-weight: 600 !important;
  color: #000000 !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link{
  border-radius: 0 !important;
  text-transform: none !important;
}
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover{
  color: #F24A00 !important;
  background-color: #ffffff !important;
  border:1px solid #F24A00 !important;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button{
  border-radius: 0 !important;  
  text-transform: none !important;
}

.ct-cart-content .wc-forward{
  border-radius: 0 !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}
  .wp-block-cart-cross-sells-product__product-add-to-cart .wp-block-button__link{
    border-radius: 0 !important;
    text-transform: none !important;
  }
  .wp-block-cart-cross-sells-product__product-add-to-cart .wp-block-button__link:hover{
    color: #F24A00 !important;
    background-color: #ffffff !important;
    border:1px solid #F24A00 !important;
  }
/* store */
.woocommerce-products-header .woocommerce-result-count{
  text-transform: none !important;
  font-size:1.125rem !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

.ct-woo-card-actions .button{
  border-radius: 0 !important;
  text-transform: none !important;
}
.ct-woo-card-actions .button:hover{
  color: #F24A00 !important;
  background-color: #ffffff !important;
  border:1px solid #F24A00 !important;
}
.woo-listing-top .woocommerce-result-count{
  text-transform: none !important;
  font-size:1.125rem !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

.wc-block-cart-item__wrap .wc-block-components-product-metadata__description{
  display: none !important;
}
.wc-block-cart-item__wrap .wc-block-components-product-details{
  font-size:1rem !important;
}
/* checkout */
.wc-block-components-checkbox__label a{
  margin-left: 5px !important;
}
.wc-block-components-product-name{
  font-weight: 600 !important;
}
.wc-block-components-totals-item .wc-block-components-totals-item__value{
  font-weight: 600 !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-formatted-money-amount{
  font-weight: 600 !important;
  font-size: 1.5rem !important; 
  color: #000000 !important;
}
/* account */
.woocommerce-orders-table__cell-order-actions .woocommerce-button{
  border-radius: 0 !important;
}
.woocommerce-orders-table__cell-order-actions .woocommerce-button:hover{
  color: #F24A00 !important;
  background-color: #ffffff !important;
  border:1px solid #F24A00 !important;
}