/*
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.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.col, .columns, .gallery-item {
    padding: 15px;
}


/* Header */

.nav-line-bottom>li>a:before{
  height: 1px;
}

/* Page */

.section_banner {
    height: 100vh;
}


 .col_about_right{
  display: grid;
  align-items: end;
}

.fix_col_center{
  display: flex;
  align-items: center;
}

.title_h2 {
  text-transform: uppercase;
}

/* .section_thanhphan {
    margin-bottom: -35px;
} */

.ul_thanhphan li{
  list-style: none;
}

ul.ul_thanhphan {
    background: #fff;
    color: #000;
    padding: 20px 50px;
    font-size: 14px;
    text-align: left;
}

.img_thanhphan{
z-index: 11;
}

.button.is-outline{
  border: 1px solid #fff;
  font-weight: 500;
}
.button.is-outline span{
  font-weight: 400;
}

.quytrinh .icon-box{
  display: flex;
    align-items: center;
}

.quytrinh p{
  font-size: 16px;
}

img.css_img_thanhphan {
    margin-left: -100%;
    margin-bottom: -55%;
}

.text_mb {
  font-size: 14px;
}

.css_fix_vitri_mb{
  margin-top: -35%;
}

.about_right_img{
  transform: rotate(10deg);
}
.img_thanhphan1{
  transform: rotate(-8deg);
}

.text_thanhphan ul{
  list-style: none;
}


/* Sản phẩm */
nav.woocommerce-breadcrumb{
    text-align: center;
}

.product-small  .box-image  img{
  display: block;
  height: 190px;
  width: auto ;
  margin: 20px auto;
}

.products .product_cat-san-pham .col-inner, .row_product_relate .flickity-viewport .col-inner{
  background: url("/wp-content/uploads/2025/06/product-item_bg.jpg") 0 0 repeat;
    margin: 0 5px;  
    text-align: center;
    height: 100%;
}
.products   .product_cat-san-pham .col-inner:hover,.detail_product_left .col-inner {
    border: 1px solid #000;
}

.product-title a {
    color: #940101;
    font-weight: 600;
}

.detail_product_left img{
  display: block;
  height: 450px;
  width: auto ;
  margin: 20px auto;
}

.detail_product_right h1.product-title {
  color: #940101;
}

.detail_share::before{
  content: "Chia sẻ: ";
  color: #000;
  font-weight: 600;
}

.related-products-wrapper h3.product-section-title,.absolute-footer.dark{
  display: none;
}



/* Sidebar */
.widget .is-divider {
    display: none;
}

.widget_custom_html {
    background: #940101;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 15px;
    margin: 0;
}

.widget_categories span.widget-title span ,.widget_recent_entries span{
    display: none;
}

.widget_categories ul, .widget_product_categories ul,.widget_recent_entries ul{
  padding: 10px;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
}

/* Bài viết */
.post-item .col-inner .box-blog-post .box-text {
  display: block;
}

.col-lienhe-left ul{
  list-style: none;
}

/* .step-wrapper {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      width: 80%;
      margin: 0 auto;
      padding: 50px 0;
      position: relative;
    } */

    .step-row {
      display: flex;
      align-items: flex-start;
      position: relative;
      margin-bottom: 40px;
    }



    /* Vẽ đường thẳng từ step-icon xuống step-icon tiếp theo */
    .step-row:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 175px;
    left: 9%;
    width: 2px;
    height: 90px;
      /* khoảng cách giữa các step */
      background-color: rgb(243, 215, 135);
      z-index: 1;
    }


  
    /* Vẽ đường ngang nối giữa các step-icon */
    .step-item1:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 60px;
          right: -35%;
    width: 70%;
      height: 2px;
      background-color:  rgb(243, 215, 135);
    }

    /* Ngăn đường kéo dài ngoài row cuối */
    .step-item1:last-child::after {
      content: none;
    }

    .icon_index img{
      z-index: 2;
    }

    .step-icon {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background-color: #6B0101;
      border: 3px solid rgb(243, 215, 135);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 2;
      position: relative;
    }

    .step-icon .number {
      font-weight: bold;
      font-size: 25px;
      color: rgb(243, 215, 135);
    } 

.toggle{
  color: rgb(243, 215, 135);
}


.lightbox-content {
    background-color: #ffffff00;
    box-shadow: none;
}

.custom-popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.custom-popup {
  background: #fff;
  width: 100%;
  max-width: 550px;
  border-radius: 6px;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.custom-popup-content {
  overflow-y: auto;
  max-height: 90vh;
}

/* Chặn scroll nền */
body.popup-open {
  overflow: hidden;
  touch-action: none;
}

.custom-step {
    height: 140px;
    width: 140px;
    border: 3px solid #F3D787;
    padding: 10px;
    border-radius: 99px;
}

.custom-step p{
  margin-bottom: 10px;
  color: #F3D787 !important;
}



/* Nền lightbox */
  .mfp-bg {
    z-index: 99999 !important; /* Ưu tiên cao nhất */
  }

  /* Khung popup */
  .mfp-wrap {
    z-index: 100000 !important; /* Cao hơn nền */
  }

  /* Nội dung popup full màn hình */
  .mfp-content {
    height: 100vh !important;
    max-height: 100vh !important;
  }

 

  /* Chặn scroll nền khi popup mở */
  body.popup-lock {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }


