.button__copy--link{
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding:6px 12px;
  font-weight: 500;
  border-radius: 10px;
  transition: all .2s ease-in-out;
  color: var(--color-background-27);
  justify-content: end;
  width: fit-content;
}
.button__box{
  display: flex;
  width: 100%;
  justify-content: end;
  gap: 8px;
  align-items: center;
}
.button__box a {
  display: flex;
  justify-content: end;
  align-items: center;
}
.button__box a ion-icon{
  font-size: 2.5rem;
  color: var(--color-background-19);
}
.button__copy--link:hover{
  background: var(--color-background-29);
}
.button__copy--link ion-icon{
  font-size: 1.3rem;
}
.button__copy--link span{
  font-size: 1.2rem;
}
.duong_dan_breadcrumb{
  display: flex;
  overflow: hidden;
  margin: 0;
  background: #fff;
  }
  .duong_dan_breadcrumb ul{
    display: flex;
    
  }
  .duong_dan_breadcrumb li a{
  text-wrap: wrap;
  display: flex;
  white-space: nowrap;
  font-size: 1.2rem;
  color: var(--color-background-28); 
  padding: 0 10px 0 0;
  }
  .duong_dan_breadcrumb li{
  display: flex;
  vertical-align: middle;
  font-size: 1.2rem;
  } 
  .duong_dan_breadcrumb span{
  display: flex;
  font-size: 1.2rem;
  color: #999; 
  line-height: 1;
  padding-right: 7px;}
.card-wrapper{
    max-width: 1100px;
    margin: 0 auto;
}

.img-display img{
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    background-color: var(--color-background-12);
}
.img-display{
  overflow: hidden;
}
.img-display::before{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 300px;
  background: transparent;
  content: '';
  z-index: 1;
  display: none;
}

/* .detail__blog--main__description table {
  border: 1px solid black;
  border-collapse: collapse;
}
.detail__blog--main__description td,.detail__blog--main__description  th {
   border: 1px solid #999;
} */
.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}
.img-showcase figure,
.img-showcase img{
    min-width: 100%;
}

.hide-after::after {
  display: none;
}

figure.zoom {
  background-position: 50% 50%;
  background-repeat: no-repeat !important;
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
  display: flex;

}

figure.zoom img:hover {
  opacity: 0;
}

figure.zoom img {
  transition: opacity 0.5s;
  display: block;
  width: 100%;
}

.img-select{
  width: 100%;
  overflow-x: scroll;
  display: flex;
}
.img-select::-webkit-scrollbar-thumb { 
  background: transparent;
}
.img-item img{
  height: 100px;
  object-fit: contain;
  width: 100px;
  background-color: var(--color-background-12);
}
.img-item{
    width: 100px;
    margin: 0.3rem;
}
.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3){
    margin-right: 0;
}
.img-item:hover{
    opacity: 0.8;
}
.product-content{
    padding: 2rem 1rem;
}
.product-title{
    font-size: 3rem;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    color: #12263a;
    margin: 1rem 0;
}
.product-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: #12263a;
}
.product-link{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: #256eff;
    color: #fff;
    padding: 0 0.3rem;
    transition: all 0.5s ease;
}
.product-link:hover{
    opacity: 0.9;
}
.product-rating{
    color: #ffc107;
}
.product-rating span{
    font-weight: 600;
    color: #252525;
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.product-price span{
    font-weight: 400;
}
.last-price span{
    color: #f64749;
    text-decoration: line-through;
}
.new-price span{
    color: #256eff;
}
.product-detail h2{
    text-transform: capitalize;
    color: #12263a;
    padding-bottom: 0.6rem;
}
.product-detail p{
    font-size: 0.9rem;
    padding: 0.3rem;
    opacity: 0.8;
}
.product-detail ul{
    margin: 1rem 0;
    font-size: 0.9rem;
}
.product-detail ul li{
    margin: 0;
    list-style: none;
    background: url(https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/checked.png) left center no-repeat;
    background-size: 18px;
    padding-left: 1.7rem;
    margin: 0.4rem 0;
    font-weight: 600;
    opacity: 0.9;
}
.product-detail ul li span{
    font-weight: 400;
}
.detail__blog--container.product__detail .woocommerce-Reviews-title{
  font-size: 2rem;
  padding-left: 0;
}
.comment-form-rating .stars span a:hover{
  background: var(--color-background-5);
}
.comment-form-rating .stars span a.active{
  background: var(--color-background-5);
}
.comment-form-rating .stars span a{
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--color-background-30);
  color: var(--color-background-6);
  border-radius: 10px ;
  justify-content: center;
}
.comment-form-rating .stars span{
  display: flex;
  align-items: center;
  gap: 6px;
}
.purchase-info{
    margin: 1.5rem 0;
}
.purchase-info input,
.purchase-info .btn{
    border: 1.5px solid #ddd;
    border-radius: 25px;
    text-align: center;
    padding: 0.45rem 0.8rem;
    outline: 0;
    margin-right: 0.2rem;
    margin-bottom: 1rem;
}
.purchase-info input{
    width: 60px;
}
.purchase-info .btn{
    cursor: pointer;
    color: #fff;
}
.purchase-info .btn:first-of-type{
    background: #256eff;
}
.purchase-info .btn:last-of-type{
    background: #f64749;
}
.purchase-info .btn:hover{
    opacity: 0.9;
}
.social-links{
    display: flex;
    align-items: center;
}
.social-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #000;
    border: 1px solid #000;
    margin: 0 0.2rem;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.5s ease;
}
.social-links a:hover{
    background: #000;
    border-color: transparent;
    color: #fff;
}
.detail__blog--main.product__detail{
 margin-top: 30px;
}
@media screen and (min-width: 992px){
    .card{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
    }
    .card-wrapper{
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-imgs{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .product-content{
        padding-top: 0;
    }
}
.detail__blog{
    padding-top: 63px;
    width: 100%;
    background: var(--color-background-12);
}
.detail__blog--container{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.detail__blog--suggest.product__detail{
  width: 40%;
}
.detail__blog--main.product__detail{
  width: 59%;

}
.detail__blog--main{
    width: 65%;
    background: var(--color-background-6);
    padding: 20px;
    border-radius: 20px;

}

.detail__blog--suggest{
    width: 34%;
    background: var(--color-background-6);
    padding: 20px;
    border-radius: 20px;
    position: sticky;
    top:93px;
    height:90vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}
.detail__blog--main.product__detail .blog__content--list__item--readmore.product__price--archive{
  display: flex;
  justify-content: start;
  padding: 13px 15px 11px 15px;
  background: var(--color-background-3);
}
.detail__blog--suggest__relative--list__not{
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail__blog--suggest__relative--list__not p{
  position: relative;
  background: var(--color-background-29);
  color: var(--color-background-27);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 15px
}
.detail__blog--suggest::-webkit-scrollbar {
  display: none;
}
.detail__blog--main__content{
    width: 100%;
}
.detail__blog--main__img img,
.detail__blog--main__img{
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    border-radius: 20px;
    object-fit: cover;
}
.detail__blog--main__img img{
  border: .75px solid var(--color-background-33);
}
.detail__blog--main__info{
  flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    max-width: 500px;
}
.detail__blog--main.product__detail .detail__blog--main__time{
  text-align: end;
  color: var(--color-background-2);
  font-weight: 400;
}
.detail__blog--main__time,
.detail__blog--main__category,
.detail__blog--main__category a{
    color: var(--color-background-28);
    font-weight: 600;
    font-size:1.3rem;
}
.detail__blog--main__title{
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-background-27);
}
.detail__blog--main__description{
    line-height: 1.35;
    color: var(--color-background-1);
   
    
}
.product__detail .detail__blog--main__content{
  position: relative;
}
.product__detail .detail__blog--main__description{
  transition: height 1s ease-in;
  overflow: hidden;
  position: relative;
}
.product__detail .detail__blog--seemore__description{
  position: absolute;
  padding: 4px 6px;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  border: 1px solid gray;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  bottom: -60px;
}
.product__detail .detail__blog--main__content::after{
  position: absolute;
  content: "";
  background-image: linear-gradient(to bottom, #ffffff00, #fff);
  left: 0;
  width: 100%;
  height: 35px;
  bottom: 0;

}
.detail__blog.blog .detail__blog--main{
  margin-top: 30px;
}
.detail__blog--main__extra--tag,
.detail__blog--main__info,
.detail__blog--main__title,
.detail__blog--main__description{
    padding: 10px 0;
}
.detail__blog--main__description .wp-caption{
  width: 100% !important;
}
.detail__blog--main__extra{
    width: 100%;
}
.detail__blog--main__extra--tag{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.detail__blog--main__extra--tag a{
    font-size: 1.3rem;
    background: var(--color-background-33);
    padding: 5px 15px;
    border-radius: 7px;
    color: var(--color-background-6);
}
.detail__blog--main__extra--new{
  position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    padding-top: 10px;
}
.detail__blog--main__extra--new__item{
    width: 30%;
}

.detail__blog--suggest__follow,
.detail__blog--suggest__tag,
.detail__blog--suggest__relative,
.detail__blog--suggest__category{
    padding-bottom: 15px;
}
.comment-awaiting-moderation{
  color: var(--color-background-28);
  padding: 5px 0;
  font-size: 1.2rem;
}
.comment-meta.commentmetadata a{
  color: var(--color-background-27);
  font-size: 1.1rem;
}
.comment-body .says{
  display: none;
}
.reply{
  display: none;
}
#comments,
#reply-title{
  color: var(--color-background-27);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2;
}
#comments{
  font-size: 1.6rem;
}

#comments,
#reply-title,
.detail__blog--suggest__follow--header,
.detail__blog--suggest__tag--header,
.detail__blog--suggest__relative--header,
.detail__blog--suggest__category--header{
  padding-bottom: 5px;
  border-bottom: 2px solid var(--color-background-29);
  margin-bottom: 20px;
}
.detail__blog--suggest__follow--header p,
.detail__blog--suggest__tag--header p,
.detail__blog--suggest__relative--header p,
.detail__blog--suggest__category--header p{
  color: var(--color-background-27);
  font-size: 1.5rem;
  font-weight: 800;
}
.detail__blog--suggest__relative--list{
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
}
.detail__blog--suggest__relative--item{
    width: 100%;
    display: flex;
    gap: 10px;
}
.detail__blog--suggest__relative--item img{
    width: 30%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}
.detail__blog--main__description li{
  margin-left: 15px;
}
.detail__blog--suggest__relative--item p{
    width: 70%;
}
.detail__blog--suggest__category--header__item a{
    color: var(--color-background-1);
    font-weight: 500;
    padding: 5px;
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.detail__blog--main__category .post-categories{
  display: flex;
  gap: 20px;
}
.detail__blog--main__category .post-categories li{
  position: relative;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-background-2);
}
.detail__blog--main__category .post-categories li::before{
  position: absolute;
  content: '/';
  right: -12px;
  bottom: 2px;
}
.detail__blog--main__category .post-categories li:last-child:before{
  display: none;
}
.detail__blog--suggest__category--header__sub{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.detail__blog--suggest__category--header__sub a{
    font-weight: 500;
}
.detail__blog--suggest__relative--item p{
    font-size: 1.6rem;
    color: var(--color-background-1);
    font-weight: 500;
    display: block;
    display: -webkit-box;
    margin: 0 auto;
    line-height: 1.2;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.detail__blog--suggest__tag--list{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.detail__blog--suggest__tag--list a{
    background: var(--color-background-12);
    padding: 3px 12px;
    border-radius: 5px;
    color: var(--color-background-2);
    font-size: 1.2rem;
}
.detail__blog--suggest__follow--list{
  display:flex ;
  gap: 10px;
}
.detail__blog--suggest__follow--list a{
  font-size: 2.2rem;
}
.comment-respond{
  width: 100%;
}
.comment-respond .comment-form label{
  font-size: 1.4rem;
}

.comment-respond .comment-form textarea,
.comment-respond .comment-form input{
  padding: 6px 10px;
  background: var(--color-background-29);
  border-radius: 7px;
  width: 100%;
}
.comment-respond .comment-form textarea{
  border: none;
  outline: none;
  resize: none;
  height: 100px;
}
.comment-form-cookies-consent label{
  font-size: 1.3rem !important;
}
.comment-respond .form-submit{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.comment-respond .form-submit input:hover{
  background: var(--color-background-29);
  color: var(--color-background-27);
}
.comment-respond .form-submit input{
  background: var(--color-background-27);
  color: var(--color-background-6);
  padding: 9px 20px;
  line-height: 1;
  font-weight: 500;
  width: auto;
}
.comment-form-cookies-consent{
  margin: 10px 0 !important;
}
#wp-comment-cookies-consent{
  width: 20px !important;
}
.detail__blog--main__description img{
  padding: 10px 0;
  cursor: pointer;
}
#slb_viewer_wrap .slb_theme_slb_baseline *,
.slb_template_tag.slb_template_tag_item.slb_template_tag_item_title{
  font-size: 1.3rem; 
  color: var(--color-background-6);
  font-style: normal;
  line-height: 1;
}
.detail__blog--main__description h1,.detail__blog--main__description h2,.detail__blog--main__description h3,.detail__blog--main__description h4,.detail__blog--main__description h5,.detail__blog--main__description h6{
  color: var(--color-background-27);
  padding-left: 10px;
}
.detail__blog--main__description h1{
  font-size: 2.2rem;
}
.detail__blog--main__description h2{
  font-size: 2rem;
}
.detail__blog--main__description h3{
  font-size: 1.8rem;
}
.detail__blog--main__description h4{
  font-size: 1.6rem;
}
.detail__blog--main__description ul{
  padding:7px 0;
}
.detail__blog--main__description li{
  padding: 5px 0;
}
#main-menu li,
.post-categories li,
.blog__content--category__list ul,
.blog__content--category__list li{
  list-style-type: none;
} 

.slb_data_content{
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
html.slb_overlay body{
  overflow: hidden;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_container{
  box-shadow: none !important;
  background: transparent !important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_controls .slb_template_tag_ui{
  background-size: cover !important;
  opacity: 1 !important;
  width: 30px !important;
  height: 30px !important;
}
.detail__product--form{
  display: flex;
  justify-content: end;
  padding: 20px 0 0 0;
  gap: 10px;
}
.quantity__and--submit .button__box {
  justify-content: start;
  gap: 5px;
  width: auto;
}
.quantity__and--submit{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.detail__product--form .quantity input{
  width: 50px;
}
.detail__product--form button{
  padding: 0 20px !important;
  background: var(--color-background-28) !important;
  color: var(--color-background-6);
}
.detail__blog--main.product__detail .detail__blog--main__title{
  font-size: 2rem;
}
.detail__product--form button,
.detail__product--form .quantity input{
  padding: 0px 10px;
  background: var(--color-background-12);
  height: 45px;
  padding: 0px 10px;
  border-radius: 5px;
  border: 1px solid var(--color-background-3);
}
.detail__product--form .detail__redbtn{
  margin: 0;
}
.detail__blog--main__info.product__detail{
  width: 100%;
  max-width: unset;
}
.detail__blog--main__info.product__detail .detail__blog--main__category{
  width: 100%;
}
.woocommerce-product-attributes-item__value,
.woocommerce-product-attributes-item__label{
  color: var(--color-background-1);
  font-size: 1.4rem;
  padding: 5px;
}
@media (max-width: 1025px) {
  .detail__blog--container.product__detail{
    flex-wrap: wrap;
  }
  .detail__blog--suggest.product__detail{
    padding: 10px;
    border-radius: 0;
  }
  .detail__blog--suggest.product__detail,
  .detail__blog--main.product__detail{
    height: auto;
    position: unset;
    width: 100%;
    display: block;
    margin-top: 0;
  }
  #slb_viewer_wrap .slb_theme_slb_baseline{
    top: 100px !important;
  }
  .detail__blog--main{
    width: 100%;
    border-radius: 0;
    padding: 10px;
  }
  .detail__blog--suggest{
  display: none;
  }
  .detail__blog{
    padding-top: 53px;
  }
  .detail__blog--main__img img, .detail__blog--main__img {
    max-height: 300px;
  }
  .detail__blog--main__title{
    padding: 0;
  }
  .img-display img {
    max-height: 300px;
  }
  .img-item img{
    width: 80px;
    height: 80px;
  }
  #comments,
#reply-title{
  color: var(--color-background-27);
  font-size: 1.6rem;
  font-weight: 600;
}
}


.direction{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: center;
}
.direction button{
  font-weight: bold;
  background-color: var(--color-background-12);
  border:none;
  width:40px;
  height:40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.5s;
  margin:0 10px;
  font-size: 2rem;
  color: var(--color-background-27);
}
.direction button:hover{
  background-color: var(--color-background-29);
}
.item{
  padding: 10px;
  border-radius: 15px;
  width:300px;
  background: var(--color-background-3);
  overflow: hidden;
  transition: 0.5s;
  margin:10px;
  scroll-snap-align: start;
}
.item .avatar{
  height: 150px;
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}
.item .content{
  padding:10px;
  color: var(--color-background-27);
  font-weight: 500;
}

#list{
  display: flex;
  width:max-content;
}
#formList{
  width:1280px;
  max-width: 100%;
  overflow: auto;
  margin:0 auto;
  scroll-behavior: smooth;
  scroll-snap-type: both;
}
#formList::-webkit-scrollbar{
  display: none;
}
@media screen and (max-width: 1024px){
  .item{
      width: calc(33.3vw - 20px);
  }
  .direction{
      display: none;
  }
  .img-display::before{
    display: block;
  }
}

.vietrick-auto-toc{
  padding:2rem 2rem 0.5rem 3rem;
  margin-bottom:2rem;
  background:#f5f7fa;
  border-radius: 16px;
  overflow:auto;
  z-index: 11;
  overflow-y: hidden;
 }
 .vietrick-auto-toc .toc-list {
  margin-left: 1.1rem;
 }
 .vietrick-auto-toc .toc-title{
  font-size:1.5rem;
  cursor: pointer;
  font-weight:700;
  margin: 0 0 1rem;
 }

 .toc-list li:not(:last-child) {
  padding-bottom: 0.5rem;
 }
 .toc-list a,
 .toc-list ul li{
  list-style-type: disc;
 }
 .entry-content li::marker{color: #f56f46;}
 .vietrick-auto-toc a{
  font-size:16px;
  font-weight: 500;
 }
 .detail__blog--select__menu a:hover{
    background: var(--color-background-27);
    color: var(--color-background-6);
 }
 .detail__blog--select__menu a{
  transition: all .3s ease;
    color: var(--color-background-27);
    background: var(--color-background-29);
    font-size: 1.3rem;
    padding: 7px 14px;
    border-radius: 10px;
    font-weight:500;
    cursor: pointer;
 }
 #slb_viewer_wrap .slb_theme_slb_default .slb_data_title, #slb_viewer_wrap .slb_theme_slb_default .slb_group_status{
  font-family: "Montserrat", sans-serif !important;
 }


 @media screen and (max-width: 768px){
  .quantity__and--submit .button__box .button__copy--link{
    position: relative;
  }
  .quantity__and--submit .button__box .button__copy--link::before{
    content: 'Sao chép thành công';
    position: absolute;
    left: -10px;
    bottom: calc(100% + 8px);
    background: var(--color-background-29);
    width: 140px;
    height: auto;
    color: var(--color-background-27);
    font-size: 1.1rem;
    padding: 6px 10px;
    border-radius: 10px;
    display: none;
  }
  .quantity__and--submit .button__box .button__copy--link.popupMobile::after,
  .quantity__and--submit .button__box .button__copy--link.popupMobile::before{
    display: block;
  }
  .quantity__and--submit .button__box .button__copy--link::after{
    display: none;
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    transform: translateX(-50%);
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--color-background-29);
  }
  .quantity__and--submit .button__box .button__copy--link span{
    display: none;
  }
  .quantity__and--submit .button__box .button__copy--link{
    padding: 7px;
    border-radius: 99px;
  }
  .product__detail .detail__blog--seemore__description{
    bottom:-38px;
  }
  .item{
      width: calc(60vw - 20px);
  }
  .direction{
      display: none;
  }
  .vietrick-auto-toc{
    padding:1rem 1rem 0.5rem 2rem;
  }
}