.single-product
.woocommerce-product-gallery
.flex-control-nav.flex-control-thumbs {
  display: none ;
}

/* Nút chọn giao diện */

.wp-element-button.btn_giaodien {
  background: transparent;
  color: #616161;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.wp-element-button.btn_giaodien.is-active {
  background: #0052490A !important;
  color: #005249 !important;
}



.custom-sale-order del{
    font-size: 14px;
}   
/* Tắt số lượng */
.ct-cart-actions .quantity {
    display: none;
}

/* Nút xem demo */

.ct-cart-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Nút demo */
.btn-view-demo {
    background: #fff;
    color: #757575;
    border: 1.5px solid #D1D5DB;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    text-decoration: none;
    transition: all .25s ease;
    max-width: max-content;
}

.btn-view-demo:hover {
    background: #f5f5f5;
    color: #212121;
}


/* Nút thêm giỏ hàng */
.single_add_to_cart_button.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: visible; /* QUAN TRỌNG */
}
.single_add_to_cart_button.button.alt {
    max-width: 242px;
  }

/* icon */
.single_add_to_cart_button.button.alt::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("/wp-content/themes/blocksy-child/images/Cart_icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Side bar */
/* Layout tabs + sidebar */
.custom-tabs-with-sidebar-wrapper {
    width: 100%;
    max-width: var(--theme-container-width, 1200px);
    margin: 0 auto;
    padding-top: 48px;
}

.custom-tabs-with-sidebar-inner {
    display: flex;
    flex-wrap: nowrap; /* Không cho wrap xuống dòng ở desktop/tablet */
    gap: 48px;
    /* Bỏ negative margin, thay bằng padding container nếu cần */
}
.product-tabs-content {
    flex: 1 1 0; /* Chiếm hết không gian còn lại */
    max-width: 942px;
    min-width: 0;
}

.product-tab-sidebar {
    flex: 0 0 306px;
    max-width: 306px;
}
/* Giao diện liên quan */
.related.products.is-layout-slider.is-width-constrained .ct-module-title{
  text-align: center;
}

.product-tabs-content .entry-content > h2:first-of-type { 
  display: none;
}

@media screen and (max-width: 1023px) {  /* Hoặc 991px nếu bạn muốn breakpoint nhỏ hơn */
    .custom-tabs-with-sidebar-inner{
        flex-direction: column;
        flex-wrap: wrap;
        gap: 32px;
    }

    .product-tabs-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .custom-tabs-with-sidebar-inner aside {
        display: none; /* Ẩn sidebar hoàn toàn từ tablet */
    }
}




@media screen and (max-width: 992px) {
  .single_add_to_cart_button.button.alt {
    max-width: 242px;
  }
}
