/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.woocommerce .large-5 .col-inner.has-border{
      border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.woocommerce-billing-fields__field-wrapper{
  display: flex;
    flex-wrap: wrap; 
}
#billing_first_name_field {
    order: 1; /* Đặt trường Tên ở vị trí đầu tiên */
    flex: 1 1 100%; /* Đặt kích thước đầy đủ chiều rộng */
        margin-right: 0;
}

#billing_phone_field {
    order: 2; /* Đặt trường Số điện thoại ở vị trí thứ hai */
    flex: 1 1 100%; /* Đặt kích thước đầy đủ chiều rộng */
}

#billing_address_1_field {
    order: 3; /* Đặt trường Địa chỉ ở vị trí thứ ba */
    flex: 1 1 100%; /* Đặt kích thước đầy đủ chiều rộng */
        margin-right: 0;
}
#billing_custom_note_field{
   order: 4; /* Đặt trường Địa chỉ ở vị trí thứ ba */
    flex: 1 1 100%; 
}

.large-5 .button.alt{
      margin-top: 30px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.form-row.place-order{
  display: none;
}
#billing_country_field {
  display: none;
}
.form-row-first {
  width: 100% !important;
}
.img_border_5px img,
.img_border_5px {
  border-radius: 5px !important;
}
#woo-commerce-subscription-opt-in {
  display: none !important;
}
.button-size {
  border: none;
  background: transparent;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #2d68a8;
  padding-left: 0;
  font-weight: normal;
}
.button-size img {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.cart-collaterals {
  background-color: #fff8e7;
  border-radius: 20px;
  padding: 20px !important;
}
.continue-shopping {
  display: none;
}
.amlab_continue-shopping {
  border: none;
  border-radius: 10px;
  font-size: 2.2rem;
  color: #fc6514;
  display: inline-block;
}
.trustbadge-product {
  margin: 15px 0;
  display: block;
  text-align: center;
}
.trustbadge-product p {
  color: #0273b6;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.trustbadge-product img.payment {
  max-width: 450px;
  object-fit: cover;
  margin: auto;
  display: inline-block;
  width: 100%;
}
.pb-0 {
  padding-bottom: 0;
}
.archive main#main > .row {
  max-width: 100%;
}
.archive .shop-page-title.category-page-title .page-title-inner {
  max-width: 100%;
  padding-right: 40px;
  padding-left: 40px;
}
.archive main#main > .row .col.large-3 {
  padding-left: 40px;
}
.archive main#main > .row .col.large-9 .shop-container .products.row {
  max-width: 100%;
}
.woocommerce-billing-fields .optional {
  display: none;
}
.archive
  main#main
  > .row
  .col.large-9
  .shop-container
  .products.row
  .product
  .box
  .box-text
  .title-wrapper
  .product-title
  a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* #billing_address_1_field {
  width: 100%;
} */
.single-product .product-page-title {
  background-color: #f6f6f6;
}
.single-product .product-page-title .page-title-inner {
  padding: 0 !important;
  background-color: #f6f6f6;
}
.single-product .product-page-title .page-title-inner .breadcrumbs a {
  color: #222222 !important;
}
#amlab_tab_product {
  background-color: #f6f6f8;
}
.product-footer #amlab_tab_product .woocommerce-tabs {
  border: none !important;
}
.quantity .button.minus,
.quantity .button.plus {
  border-radius: 9999px;
}
.form-minimal.quantity .qty {
  max-width: 4em !important;
}
.variations_form .ux-swatch.selected {
  background-color: #222222;
  color: white;
}
button.single_add_to_cart_button {
  width: 300px;
  border-radius: 9999px;
  background-color: #ee2d74 !important;
}
.woocommerce-variation-add-to-cart .ux-buy-now-button{
  border-radius:99px;
}
#amlab_recently_viewed {
  margin: 60px 0;
  border: none;
}
#amlab_recently_viewed h3.product-section-title {
  font-size: 24px;
}
#amlab_recently_viewed .slider {
  max-width: 100% !important;
}
#amlab_related_product {
  margin: 60px 0;
  border: none;
}
#amlab_related_product h3.product-section-title {
  font-size: 24px;
}
#amlab_related_product .slider {
  max-width: 100% !important;
}
#amlab_product_banner img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
}
/* #shipping_address_1_field {
  width: 100%;
} */
.absolute-footer {
  display: none;
}
.t4s-shipping-title {
  font-size: 16px;
  color: #222222;
  font-weight: 500;
  margin-bottom: 4px;
}
.icb_footer .icon-box-text {
  padding-left: 0.5em !important;
}
.icb_footer .icon-box-text p {
  font-size: 13px;
}
.text-footer h3 {
  color: rgb(222, 134, 178);
}
.slider_collection section.section {
  padding: 0 5px !important;
}
.badge-container .badge .badge-inner {
  font-family: "Poppins";
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  background-color: #fe9931;
  align-items: center;
  color: #fff;
  display: flex;
  height: 45px;
  justify-content: center;
  padding: 0 10px;
  float: left;
  margin-left: 3px;
  margin-top: 3px;
  width: 45px;
  font-size: 12px;
}
.single-product h1 {
  font-size: 20px;
  font-weight: bold;
}
tr.woocommerce-shipping-totals{
  display: none;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .devvn_prod_cmt {
    padding: 0 10px;
  }
  #reviews.woocommerce-Reviews {
    padding: 0 10px;
  }
  .archive main#main > .row .col.large-9 .shop-container .products.row {
    margin: 0 auto;
  }
  #amlab_accordion {
    max-width: 90%;
    margin: -50px auto 30px;
  }
  #amlab_accordion .accordion-item .accordion-inner {
    padding: 10px;
  }
  #amlab_accordion .accordion-item .accordion-inner .document p {
    font-family: "Poppins";
    font-size: 14px;
  }
  #amlab_accordion .accordion-item .accordion-title {
    padding: 0.6em 2.3em 0.6em 10px !important;
    background-color: #f6f6f8;
    border: none;
    margin-bottom: 10px;
    font-size: 14px;
    font-family: "Poppins";
  }
  #amlab_accordion .accordion-item .accordion-title .toggle i {
    font-size: 20px;
  }
  #amlab_accordion .accordion-item .accordion-title.active .toggle {
    top: 3px;
  }
  #amlab_accordion .accordion-item .accordion-title .toggle {
    right: 0 !important;
    left: unset !important;
    background-color: black;
    border-radius: 0;
    margin-right: 0;
    color: white;
    width: 37px;
    height: 37px;
    top: 0;
  }

  #amlab_tab_product {
    padding: 0 15px;
  }
  .single-product .page-title-inner {
    min-height: fit-content;
  }
  #header .html_topbar_left p {
    font-size: 11px;
  }
.woocommerce-variation-add-to-cart .ux-buy-now-button {
      width: 100%;
    }
.single_variation_wrap button.single_add_to_cart_button {
        width: 74%;

}

}

