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

/*************** ADD CUSTOM CSS HERE.   ***************/


/* Footer UX Builder: xc-footer-1 / xc-footer-2 */

.absolute-footer{
  display:none !important;
}

.entry-content{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

.xc-footer-1{
  position:relative;
  padding:40px 0 20px !important;
}

.xc-footer-1 .section-bg{
  background-image:url("assets/images/bg-footer.jpg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  background-color:#0d293b;
}

.xc-footer-1 .section-content .col{
  padding-bottom:0 !important;
}

.xc-footer-1__title{
  margin-top:0;
  margin-bottom:14px;
  font-size:16px;
  font-weight:700;
  color:#c2d8e6;
  width:100%;
}

.xc-footer-1__contact{
  width:100%;
  display:flex;
  align-items:flex-start;
  margin-bottom:12px;
}

.xc-footer-1__contact:last-child{
  margin-bottom:0;
}

.xc-footer-1__contact-icon{
  display:block;
  width:15px;
  height:15px;
  line-height:15px;
  border-radius:35px;
  margin-top:6px;
  font-size:16px;
  text-align:center;
  color:#8aa9bc;
  flex:0 0 15px;
}

.xc-footer-1__contact-text{
  display:block;
  width:calc(100% - 25px);
  padding-left:10px;
  color:#8aa9bc;
  font-size:16px;
  word-break:break-word;
}

.xc-footer-1__contact-text a{
  color:#8aa9bc;
  text-decoration:none;
}

.xc-footer-1__contact-text a:hover{
  color:#ff7e00;
}

.xc-footer-1__menu{
  line-height:35px;
  padding-left:0;
  display:flex;
  flex-direction:column;
  gap:0;
}

.xc-footer-1__menu .ux-menu-link{
  margin:0 0 12px 0;
  list-style:none;
}

.xc-footer-1__menu .ux-menu-link:last-child{
  margin-bottom:0;
}

.xc-footer-1__menu .ux-menu-link__link{
  display:inline-flex;
  align-items:flex-start;
  min-height:auto;
  padding-top:0;
  padding-bottom:0;
  border-bottom:none;
  position:relative;
  padding-left:15px;
  color:#8aa9bc;
  -webkit-transition:all ease 0.2s;
  -moz-transition:all ease 0.2s;
  -ms-transition:all ease 0.2s;
  -o-transition:all ease 0.2s;
  transition:all ease 0.2s;
  font-size:16px;
  font-weight:400;
  text-decoration:none;
}

.xc-footer-1__menu .ux-menu-link__link::before{
  content:"";
  width:4px;
  height:4px;
  position:absolute;
  background-color:#8aa9bc;
  left:0;
  top:50%;
  transform:translateY(-50%);
}

.xc-footer-1__menu .ux-menu-link__link:hover{
  padding-left:25px;
  color:#ff7e00;
}

.xc-footer-1__accordion .accordion-title{
  margin-bottom:12px;
  padding:10px 20px 10px 0;
  line-height:22px;
  text-transform:uppercase;
  border-top:none;
  color:#c2d8e6;
}

.xc-footer-1__accordion .accordion-title span{
  font-size:16px;
  font-weight:700;
}

.xc-footer-1__accordion .accordion-inner{
  padding:0;
}

.xc-footer-1__accordion .toggle{
  position:absolute;
  right:0;
  left:auto;
  top:10px;
  width:auto;
  margin-right:0;
}

.xc-footer-1__accordion .toggle i{
  font-size:initial;
}

.xc-footer-1__fb iframe{
  display:block;
  border:none;
  overflow:hidden;
  width:340px;
  max-width:100%;
  height:200px;
}

.xc-footer-2__copyright{
  color:#7092a8;
  padding-top:30px;
}

.xc-footer-2{
  font-size:14px;
  position:relative;
  padding:15px 0 !important;
  width:100%;
  float:left;
  background:rgba(13, 41, 59, 0.7);
}

.xc-footer-2 .section-bg{
  background:transparent;
}

.xc-footer-2 .row{
  display:grid;
  grid-template-columns:5fr 3fr 4fr;
  align-items:center;
}

.xc-footer-2 .row > .col{
  max-width:none;
  width:auto;
  padding-bottom:0;
}

.xc-footer-2 .row > .col:nth-child(1){
  justify-self:start;
}

.xc-footer-2 .row > .col:nth-child(2){
  justify-self:center;
}

.xc-footer-2 .row > .col:nth-child(3){
  justify-self:end;
}

.xc-footer-2 .row > .col:nth-child(2) .col-inner{
  display:grid;
  place-items:center;
}

.xc-footer-2 .img{
  width:auto;
  max-width:208px;
  margin:0;
}

.xc-footer-2 .img img{
  width:auto !important;
  max-width:208px !important;
  height:auto;
  display:block;
  margin:0 auto;
}

.xc-footer-2__links{
  padding-top:30px;
  margin:0;
}

.xc-footer-2__links.stack-col{
  flex-direction:row !important;
}

.xc-footer-2__links{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap;
  justify-content:flex-end;
  align-items:center;
  gap:0;
}

.xc-footer-2__links .ux-menu-link{
  display:inline-flex;
  flex:0 0 auto;
  padding:0 5px;
  position:relative;
  margin:0;
  white-space:nowrap;
}

.xc-footer-2__links .ux-menu-link::before{
  content:"";
  height:10px;
  width:1px;
  position:absolute;
  right:-3px;
  background:#445e6e;
  top:50%;
  transform:translateY(-50%);
}

.xc-footer-2__links .ux-menu-link:last-child::before{
  display:none;
}

.xc-footer-2__links .ux-menu-link__link{
  display:inline-flex;
  flex:0 0 auto;
  color:#7092a8;
  font-weight:400;
  text-decoration:none;
  white-space:nowrap;
  min-height:auto;
  padding-top:0;
  padding-bottom:0;
  border-bottom:none;
}

.xc-footer-2__links .ux-menu-link__link:hover{
  color:#ff7e00;
}

.xc-footer-2 .row > .col:nth-child(1){
  text-align:left;
}

.xc-footer-2 .row > .col:nth-child(1) > .col-inner{
  text-align:left;
}

.xc-footer-2 .row > .col:nth-child(2){
  text-align:center;
}

.xc-footer-2 .row > .col:nth-child(2) > .col-inner{
  text-align:center;
}

.xc-footer-2 .row > .col:nth-child(3){
  text-align:right;
}

.xc-footer-2 .row > .col:nth-child(3) > .col-inner{
  text-align:right;
}

.xc-footer-1 .row{
  margin-bottom:0;
}

.xc-footer-1 .row > .col{
  padding-bottom:10px !important;
}

.xc-footer-1 .row > .col:last-child{
  padding-bottom:0 !important;
}

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

.xc-footer-1{
  padding:40px 0 20px !important;
}

.xc-footer-1 .section-content{
  padding:0 15px;
}

.xc-footer-1__fb iframe{
  width:100%;
  height:360px;
}

.xc-footer-2__links{
  flex-wrap:wrap;
  justify-content:center;
}

.xc-footer-2 .row{
  grid-template-columns:1fr;
}

.xc-footer-2 .row > .col:nth-child(1),
.xc-footer-2 .row > .col:nth-child(2),
.xc-footer-2 .row > .col:nth-child(3){
  justify-self:stretch;
}

.xc-footer-2 .row > .col:nth-child(1),
.xc-footer-2 .row > .col:nth-child(1) > .col-inner,
.xc-footer-2 .row > .col:nth-child(2),
.xc-footer-2 .row > .col:nth-child(2) > .col-inner,
.xc-footer-2 .row > .col:nth-child(3),
.xc-footer-2 .row > .col:nth-child(3) > .col-inner{
  text-align:center;
}

}

/* Section contact */
.section-contact{
  padding:30px 0 !important;
}

.section-contact .row > .col{
  padding-bottom:0 !important;
}

.section-contact .box{
  position:relative;
  overflow:hidden;
  min-height:226px;
}

.section-contact .box .box-image{
  margin:0;
}

.section-contact .box .box-image img{
  width:100%;
  min-height:226px;
  object-fit:cover;
  display:block;
}

.section-contact .box .box-text{
  position:absolute;
  z-index:2;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0, 0, 0, 0.35);
  font-size:16px;
  line-height:1.5;
}

.section-contact .box .box-text .box-text-inner{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
}

.section-contact .summary-contact{
  position:static;
  transform:none;
  padding:0;
  width:100%;
  max-width:100%;
  text-align:center;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.section-contact .summary-contact h3{
  font-size:16px;
  color:#fff !important;
  text-transform:uppercase;
  margin:0 0 6px !important;
  font-weight:600;
  line-height:1.35;
}

.section-contact .summary-contact span{
  display:block;
  margin-bottom:6px;
  font-size:16px;
  color:#fff;
  line-height:1.5;
}

.section-contact .summary-contact p{
  margin:0 0 10px !important;
  color:#fff !important;
  font-size:16px;
  line-height:1.5;
}

.section-contact .box-text .summary-contact a,
.section-contact .summary-contact a{
  margin:0 !important;
  font-size:20px;
  color:#fff !important;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  text-decoration:none;
  line-height:1.3;
}

.section-contact .box-text .summary-contact a:hover,
.section-contact .summary-contact a:hover{
  color:#ff7e00 !important;
}

.section-contact .summary-contact a i{
  margin-right:5px;
}

/* Form newsletter HTML hiện tại (search_bar) */
.section-contact .summary-contact .search_bar{
  width:100%;
}

.section-contact .summary-contact .search_bar form{
  position:relative;
  margin:0;
}

.section-contact .summary-contact .search_bar form input[type="email"]{
  width:100%;
  height:40px;
  min-height:40px !important;
  margin:0 !important;
  padding:0 110px 0 10px;
  border:1px solid #fff;
  background:#fff;
  color:#1c1c1c;
  box-shadow:none !important;
}

.section-contact .summary-contact .search_bar form button{
  position:absolute;
  top:0;
  right:0;
  height:40px;
  margin:0 !important;
  padding:0 15px;
  border:0;
  line-height:40px;
  background:#a46000 !important;
  color:#fff !important;
  text-transform:none;
  font-weight:600;
}

.section-contact .summary-contact .search_bar p{
  margin:0 !important;
}

/* BEM form block: xc-form-dang-ky */
.xc-form-dang-ky{
  width:100%;
}

.xc-form-dang-ky__title{
  margin:0 0 10px 0;
  font-size:16px;
  font-weight:600;
  text-transform:uppercase;
  color:#fff;
}

.xc-form-dang-ky__desc{
  margin:0 0 10px 0;
  font-size:16px;
  color:#fff;
}

.xc-form-dang-ky__bar{
  position:relative;
}

.xc-form-dang-ky__bar p{
  margin:0 !important;
}

.xc-form-dang-ky__bar br{
  display:none;
}

.xc-form-dang-ky__bar .wpcf7-form-control-wrap{
  display:block;
}

.xc-form-dang-ky__input{
  width:100%;
  height:40px;
  padding:0 105px 0 10px;
  border:1px solid #fff;
  background:#fff;
  color:#1c1c1c;
  font-weight:300;
  box-shadow:none !important;
  margin-bottom:0;
}

.xc-form-dang-ky__button{
  position:absolute;
  right:0;
  top:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  line-height:39px;
  padding:0 15px;
  border:0;
  margin:0;
  cursor:pointer;
  background:#a46000;
  color:#fff;
}

@media (max-width: 575.98px){
  .section-contact .box .box-text{
    padding:15px;
  }
}

/* Shop sidebar: WooCommerce product categories + XC brand/price filters */
#shop-sidebar .widget_product_categories{
  margin-bottom:20px;
}

#shop-sidebar .widget_product_categories .widget-title.shop-sidebar,
#shop-sidebar .widget_product_categories > span.widget-title{
  display:block;
  margin:0;
  width:100%;
  font-size:18px;
  font-weight:700;
  text-transform:uppercase;
  line-height:1.4;
  border:1px solid #ebebeb;
  padding:15px 20px;
  color:#0a0a0a;
}

#shop-sidebar .widget_product_categories .is-divider.small{
  display:none;
}

#shop-sidebar .widget_product_categories > ul.product-categories{
  border:1px solid #ebebeb;
  border-top:0;
  padding:0;
  margin:0 !important;
  list-style:none;
}

#shop-sidebar .widget_product_categories > ul.product-categories > li{
  list-style:none;
  margin:0 !important;
  border-bottom:1px solid #ebebeb;
}

#shop-sidebar .widget_product_categories > ul.product-categories > li:last-child{
  border-bottom:none;
}

/* Orange accent: first row of each widget list (ul direct child of aside.widget) */
#shop-sidebar aside.widget > ul > li:first-child{
  border-top:2px solid #ff7e00;
}

/* XC filters: list lives inside .xc-shop-filter */
#shop-sidebar .xc-shop-filter .xc-shop-filter__list > li:first-child{
  border-top:2px solid #ff7e00;
}

#shop-sidebar .widget_product_categories > ul.product-categories > li > a{
  display:block;
  padding:15px 20px;
  color:#323c42 !important;
  font-weight:600;
  font-size:13px;
  line-height:20px;
}

#shop-sidebar .widget_product_categories > ul.product-categories > li > a:hover{
  color:#ff7e00 !important;
}

#shop-sidebar .widget_xc_shop_filter_brand > span.widget-title,
#shop-sidebar .widget_xc_shop_filter_price > span.widget-title{
  display:block;
  margin:0 0 0;
  width:100%;
  font-size:18px;
  font-weight:700;
  text-transform:uppercase;
  line-height:1.4;
  border:1px solid #ebebeb;
  padding:15px 20px;
  color:#0a0a0a;
}

#shop-sidebar .xc-shop-filter{
  margin-bottom:20px;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__list{
  list-style:none;
  margin:0 !important;
  padding:0;
  border:1px solid #ebebeb;
  border-top:0;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__item{
  margin:0 !important;
  border-bottom:1px solid #ebebeb;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__item:last-child{
  border-bottom:none;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__item--any .xc-shop-filter__text{
  font-weight:600;
  color:#666;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__label{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding:15px 20px;
  margin:0 !important;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
  color:#323c42;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__label:hover .xc-shop-filter__text{
  color:#ff7e00;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__input{
  margin:0 !important;
  flex-shrink:0;
  width:auto;
}

#shop-sidebar .xc-shop-filter .xc-shop-filter__count{
  margin-left:auto;
  opacity:0.85;
  font-weight:500;
}

#shop-sidebar ul.products.xc-shop-filter--loading{
  opacity:0.55;
  pointer-events:none;
  transition:opacity 0.2s ease;
}

@media (min-width:576px) and (max-width:1024px){
  .side-bar-category{
    display:none !important;
  }
}

@media (max-width:575.98px){
  #shop-sidebar{
    display:block !important;
  }

  .side-bar-category{
    left:unset !important;
    position:fixed;
    width:270px;
    padding:0;
    top:0;
    background:#fff;
    right:-100% !important;
    transition:all 0.25s ease-in-out;
    z-index:99999;
  }
}

/* Section brand */
.section-brand{
  padding:70px 0 80px !important;
}

.section-brand .row:first-child .col{
  padding-bottom:0 !important;
}

.section-brand .title-about{
  margin:0 0 30px 0;
  border-bottom:1px solid #ebebeb;
  text-align:center;
}

.section-brand .title-about h2{
  display:inline-block;
  width:auto;
  margin:0;
  padding:15px 0;
  font-size:18px;
  line-height:1.2 !important;
  letter-spacing:0;
  text-transform:uppercase;
}

.section-brand .title-about h2 span{
  position:relative;
}

.section-brand .title-about h2 span::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-16px;
  width:100%;
  height:1px;
  background:#ff7e00;
}

.section-brand .row:nth-child(2) > .col{
  padding-bottom:0 !important;
}

.section-brand .row:nth-child(2) .img{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:90px;
}

.section-brand .row:nth-child(2) .img img{
  width:100%;
  max-width:165px;
  height:auto;
  margin:0 auto;
}

@media (min-width: 576px) and (max-width: 1024px){
  .section-brand{
    padding:45px 0 50px !important;
  }
}

@media (max-width: 575.98px){
  .section-brand{
    padding:30px 0 !important;
  }

  .section-brand .section-content{
    padding:0 15px;
  }

  .section-brand .title-about{
    margin-bottom:20px;
  }

  .section-brand .row:nth-child(2) > .col{
    padding-bottom:12px !important;
  }
}

/* Section blog */
.section-blog{
  padding:75px 0 100px !important;
  background-image:url("assets/images/bg-blog.webp");
  background-position:top center !important;
  background-repeat:no-repeat;
  background-size:cover;
}

.section-blog .row > .col{
  padding-bottom:0;
}

/* Blog first row: h2 + .xemthem directly in .col-inner (no .title-about wrapper) */
.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem){
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:30px;
  border-bottom:1px solid #ebebeb;
  text-align:left;
}

.section-blog.dark .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem){
  border-bottom-color:rgba(255,255,255,.25);
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) > h2{
  display:inline-block;
  width:auto;
  margin:0;
  padding:15px 0;
  font-size:18px;
  line-height:1.2 !important;
  letter-spacing:0;
  text-transform:uppercase;
  color:#000 !important;
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) h2 span{
  position:relative;
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) h2 span::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-16px;
  width:100%;
  height:1px;
  background:#ff7e00;
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) h2:not(:has(span)){
  position:relative;
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) h2:not(:has(span))::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:#ff7e00;
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) .xemthem{
  display:inline-block !important;
  margin:0;
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) .xemthem a{
  line-height:52px;
  font-weight:600 !important;
  font-size:14px;
}

.section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem) .xemthem:hover a{
  color:#ff7e00 !important;
}

.section-blog .post-item .box-text{
  display:inline-block;
  width:100%;
  background:#fff;
  padding:15px 25px;
  border:1px solid #ebebeb;
  text-align:left;
}

.section-blog .post-item .box-text-inner{
  display:flex;
  flex-direction:column;
  height:100%;
  position:relative;
  padding-bottom:34px;
}

.section-blog .post-item .post-title{
  order:1;
  margin:0 0 15px;
  font-size:16px;
  font-weight:700;
  line-height:1.4;
  text-align:left;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.8em;
  color:#000;
}

.section-blog .post-item .post-title a{
  color:#000 !important;
}

.section-blog .post-item .post-title a:hover{
  color:#ff7e00 !important;
}

.section-blog .post-item .from_the_blog_excerpt{
  order:2;
  margin:0;
  color:#8b8b8b;
  font-size:14px;
  line-height:24px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden !important;
  text-overflow:ellipsis;
  word-break:break-word;
  text-align:left;
  min-height:72px;
}

.section-blog .post-item .is-divider{
  order:3;
  display:block;
  width:100%;
  max-width:100%;
  height:1px;
  margin:15px 0 5px;
}

.section-blog .post-item .button{
  order:4;
  position:absolute;
  right:0;
  bottom:0;
  margin:0 !important;
  padding:0;
  border-width:0 !important;
  background:transparent;
  color:#0f8ad8;
  font-size:14px !important;
  font-weight:700;
  line-height:1.4;
  min-height:auto;
  text-transform:none !important;
}

.section-blog .post-item .button:hover{
  color:#323c42;
}

.section-blog .post-meta{
  position:absolute;
  left:0;
  bottom:0;
  margin:0;
  display:flex !important;
  align-items:center;
  font-size:14px !important;
  color:#8b8b8b;
  line-height:1.4 !important;
  z-index:2;
}

.section-blog .post-meta::before{
  content:"\f017";
  font-family:fontawesome;
  display:inline-block;
  margin-right:5px;
}

@media (min-width:576px) and (max-width:1024px){
  .section-blog{
    padding:50px 0 60px !important;
  }

  .section-blog .section-content > .row:first-child .col-inner:has(> h2):has(> p.xemthem){
    justify-content:center;
  }

  .section-blog .row-slider .flickity-slider > .col{
    max-width:50% !important;
    flex-basis:50% !important;
  }
}

@media (max-width:575.98px){
  .section-blog{
    padding:40px 0 !important;
  }

  .section-blog .section-content{
    padding:0 15px;
  }

  .section-blog .section-title-container{
    margin-bottom:20px;
  }

  .section-blog .row-slider .flickity-slider > .col{
    max-width:100% !important;
    flex-basis:100% !important;
  }
}

/* Blog archive — layout large-12, card kiểu demo (title2 dòng, mô tả 3 dòng, ngày + Xem chi tiết) */
.blog-archive #post-list > .row:not(.row-collapse){
  margin-left:0 !important;
  margin-right:0 !important;
  max-width:100%;
}

.blog-archive #post-list .box-blog-post .is-divider{
  display:none !important;
}

.blog-archive #post-list .box-text-inner{
  display:flex;
  flex-direction:column;
  min-height:0;
}

.blog-archive #post-list .box-text{
  padding:15px 25px;
  border:1px solid #ebebeb;
}

.blog-archive #post-list .post-title{
  margin:0 0 15px;
  font-size:16px;
  font-weight:700;
  line-height:1.4;
  text-align:left;
}

.blog-archive #post-list .post-title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#0a0a0a;
  font-size:inherit;
  font-weight:inherit;
  line-height:1.4;
}

.blog-archive #post-list .from_the_blog_excerpt{
  margin:0 0 15px;
  color:#8b8b8b;
  font-size:14px;
  line-height:24px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden !important;
  text-overflow:ellipsis;
  word-break:break-word;
  text-align:left;
  min-height:72px;
  flex:1;
}

.blog-archive #post-list .xemchitiet{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  border-top:1px solid #ebebeb;
  padding-top:15px;
  margin-top:auto;
}

.blog-archive #post-list .xemchitiet .post-meta--inline{
  font-size:14px;
  color:#8b8b8b;
  margin:0;
  line-height:1.4;
  display:flex;
  align-items:center;
}

.blog-archive #post-list .xemchitiet .post-meta--inline::before{
  content:"\f017";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  display:inline-block;
  margin-right:5px;
}

.blog-archive #post-list .btn-readmore{
  color:#0f8ad8;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
  flex-shrink:0;
}

.blog-archive #post-list .btn-readmore:hover{
  color:#323c42;
}

@media (max-width:575.98px){
  .blog-archive #post-list{
    padding:0 15px;
  }
}

/* Single post — tin liên quan (cùng style card archive) */
body.single-post .xc-related-posts{
  margin-top:40px;
  padding-top:30px;
  border-top:1px solid #ebebeb;
}

body.single-post .xc-related-posts__title{
  margin:0 0 24px;
  font-size:18px;
  font-weight:700;
  line-height:1.3;
  text-align:left;
  color:#323c42;
  text-transform:none;
}

body.single-post .xc-related-posts .box-text-inner{
  display:flex;
  flex-direction:column;
  min-height:0;
}

body.single-post .xc-related-posts .box-text{
  padding:15px 20px;
  border:1px solid #ebebeb;
}

body.single-post .xc-related-posts .post-title{
  margin:0 0 12px;
  font-size:15px;
  font-weight:700;
  line-height:1.4;
}

body.single-post .xc-related-posts .post-title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#0a0a0a;
}

body.single-post .xc-related-posts .xc-related-posts__excerpt{
  margin:0 0 12px;
  color:#8b8b8b;
  font-size:14px;
  line-height:22px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-align:left;
  flex:1;
}

body.single-post .xc-related-posts .xemchitiet{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  border-top:1px solid #ebebeb;
  padding-top:12px;
  margin-top:auto;
}

body.single-post .xc-related-posts .post-meta--inline{
  font-size:13px;
  color:#8b8b8b;
  margin:0;
  display:flex;
  align-items:center;
}

body.single-post .xc-related-posts .post-meta--inline::before{
  content:"\f017";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  display:inline-block;
  margin-right:5px;
}

body.single-post .xc-related-posts .btn-readmore{
  color:#0f8ad8;
  font-size:13px;
  font-weight:700;
  flex-shrink:0;
}

body.single-post .xc-related-posts .btn-readmore:hover{
  color:#323c42;
}

/* Section pneumatic */
.section-pneumatic{
  padding:30px 0 !important;
}

.section-pneumatic .col-title{
  padding:0 15px !important;
}


.section-pneumatic .row-small{
  max-width:1170px;
  margin:0 !important;
}

.section-pneumatic .row-small > .col{
  padding:0 15px;
  margin-bottom:30px;
}

.section-pneumatic .badge-container{
  display:none;
}

.section-pneumatic .box-image{
  width:110px;
  float:left;
}

.section-pneumatic .box-text{
  width:calc(100% - 110px);
  float:left;
  text-align:left;
  padding:0 0 0 20px;
}

.section-pneumatic .box-text.box-text-products{
  display:block !important;
  text-align:left !important;
  height:auto !important;
}

.section-pneumatic .box-text.box-text-products .title-wrapper,
.section-pneumatic .box-text.box-text-products .price-wrapper,
.section-pneumatic .box-text.box-text-products .add-to-cart-button{
  display:block !important;
  width:100%;
  height:auto !important;
}

.section-pneumatic .product-title a{
  display:block;
  margin:0 0 18px;
  font-size:14px;
  font-weight:500;
  color:#0f8ad8;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.section-pneumatic .price{
  display:flex !important;
  flex-direction:row;
  justify-content:flex-start;
  align-items:baseline;
  gap:10px;
  padding-bottom:0;
  text-align:left;
}

.section-pneumatic .price-wrapper ins .woocommerce-Price-amount,
.section-pneumatic .price-wrapper > .price > .woocommerce-Price-amount{
  font-size:15px;
  font-weight:700;
  color:#ff7e00 !important;
}

.section-pneumatic .price-wrapper del .woocommerce-Price-amount{
  color:#777;
  font-size:13px;
  font-weight:400;
  margin-left:0;
}

.section-pneumatic .price ins{
  order:1;
}

.section-pneumatic .price del{
  order:2;
}

.section-pneumatic .price-wrapper{
  width:100%;
  margin-top:8px;
  margin-bottom:12px;
  text-align:left;
}

.section-pneumatic .product-action{
  position:static;
  transform:none;
  display:flex;
}

.section-pneumatic .btn-buy{
  opacity:1 !important;
  height:35px;
  line-height:35px;
  background:#fff;
  border:1px solid #ebebeb;
  padding:0 15px;
  box-shadow:none;
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 !important;
}

.section-pneumatic .btn-buy i{
  color:#9d9d9d;
}

.section-pneumatic .btn-buy .text{
  padding-left:10px;
  margin-left:10px;
  border-left:1px solid #ebebeb;
  line-height:normal;
}

.section-pneumatic .btn-buy:hover{
  background:#ff7e00;
  color:#fff !important;
  border-color:#ff7e00;
}

.section-pneumatic .btn-buy:hover i{
  color:#fff;
}

/* Markup mới của Flatsome thường dùng add-to-cart-button thay vì product-action */
.section-pneumatic .add-to-cart-button{
  width:100%;
  margin-top:0;
  text-align:left;
}

.section-pneumatic .add-to-cart-button .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0;
  margin:0 !important;
  opacity:1 !important;
  pointer-events:auto !important;
  position:relative;
  z-index:2;
  height:28px;
  line-height:28px;
  min-height:28px;
  padding:0 10px;
  border:1px solid #ebebeb;
  background:#fff;
  color:#9d9d9d;
  box-shadow:none;
  text-transform:none;
  font-size:12px;
}

.section-pneumatic .add-to-cart-button .button::before{
  content:"\f07a";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  margin-right:6px;
  font-size:11px;
}

.section-pneumatic .add-to-cart-button .button:hover{
  background:#ff7e00;
  border-color:#ff7e00;
  color:#fff !important;
}

.section-pneumatic .add-to-cart-button .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0;
  margin:0 !important;
  opacity:1 !important;
  pointer-events:auto !important;
  position:relative;
  z-index:2;
  height:28px;
  line-height:28px;
  min-height:28px;
  padding:0 10px;
  border:1px solid #ebebeb;
  background:#fff;
  color:#9d9d9d;
  box-shadow:none;
  text-transform:none;
  font-size:12px;
}

.section-pneumatic .add-to-cart-button .button i{
  color:#9d9d9d;
}

.section-pneumatic .add-to-cart-button .button .text{
  padding-left:10px;
  margin-left:10px;
  border-left:1px solid #ebebeb;
  line-height:normal;
}

.section-pneumatic .add-to-cart-button .button:hover{
  background:#ff7e00;
  border-color:#ff7e00;
  color:#fff !important;
}

.section-pneumatic .add-to-cart-button .button:hover i{
  color:#fff;
}

@media (min-width:576px) and (max-width:1024px){
  .section-pneumatic .section-content{
    padding-left:15px;
    padding-right:15px;
  }

  .section-pneumatic .col-inner > .row:not(.row-collapse){
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:100%;
  }

  .section-pneumatic .row:nth-child(2) .product-vertical{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
  }

  .section-pneumatic .row:nth-child(2) .product-vertical > .col{
    flex:0 0 280px;
    max-width:280px;
    min-width:280px;
  }
}

@media (max-width:575.98px){
  .section-pneumatic{
    padding:0 !important;
  }

  .section-pneumatic .section-content{
    padding-left:15px;
    padding-right:15px;
    overflow-x:hidden;
  }

  .section-pneumatic .col-inner > .row:not(.row-collapse){
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:100%;
  }

  .section-pneumatic .col-title{
    padding:0 !important;
  }

  .section-pneumatic .row:nth-child(2) .product-vertical{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
  }

  .section-pneumatic .row:nth-child(2) .product-vertical > .col{
    flex:0 0 260px;
    max-width:260px;
    min-width:260px;
    padding:0 15px !important;
  }

  .section-pneumatic .box-text{
    padding:10px 0 0 20px;
  }
}

/* UX Builder / sections: heading row + "Xem thêm" (.text.title-about) */
.title-about{
  margin-bottom:30px;
  border-bottom:1px solid #ebebeb;
  text-align:left;
}

.title-about h2{
  display:inline-block;
  width:auto;
  margin:0;
  padding:15px 0;
  font-size:18px;
  line-height:1.2 !important;
  letter-spacing:0;
  text-transform:uppercase;
}

.title-about h2 span{
  position:relative;
}

.title-about h2 span::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-16px;
  width:100%;
  height:1px;
  background:#ff7e00;
}

/* UX Builder often outputs plain h2 without inner span — still show orange rule */
.title-about h2:not(:has(span)){
  position:relative;
}

.title-about h2:not(:has(span))::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:1px;
  background:#ff7e00;
}

.title-about .xemthem{
  display:inline-block !important;
  margin:0;
}

.title-about .xemthem a{
  line-height:52px;
  font-weight:600 !important;
  font-size:14px;
}

.title-about .xemthem:hover a{
  color:#ff7e00 !important;
}

.section-hand .title-about,
.section-pneumatic .title-about{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

@media (min-width:576px) and (max-width:1024px){
  .section-hand .title-about,
  .section-pneumatic .title-about{
    justify-content:center;
  }
}

/* Section hand */
.section-hand{
  padding:30px 0 !important;
}

.section-hand .col-title{
  padding:0 15px !important;
}

.section-hand .section-title{
  border-bottom:1px solid #ebebeb !important;
  margin:0;
}

.section-hand .section-title a{
  line-height:52px;
  font-size:14px;
  font-weight:600 !important;
}

.section-hand .section-title a:hover{
  color:#ff7e00 !important;
}

.section-hand .badge-container{
  margin:0;
}

.section-hand .badge{
  width:auto;
  height:22px;
}

.section-hand .badge-circle{
  margin-left:0;
}

.section-hand .badge-circle .badge-inner{
  border-radius:0;
}

.section-hand .badge-inner.on-sale{
  background:#ff7e00 !important;
  color:#fff;
  font-size:12px;
  line-height:22px;
  padding:0 8px;
}

.section-hand .row-small > .col{
  margin-bottom:0;
}

.section-hand .medium-8 .product-small .col-inner{
  border:1px solid transparent;
  border-right:1px solid #ebebeb;
  padding:0 15px;
  margin-bottom:40px;
}

.section-hand .medium-8 .product-small:nth-child(4n) .col-inner{
  border-right:none;
}

.section-hand .medium-8 .product-small .col-inner:hover{
  border-color:#ebebeb;
}

.section-hand .product-title a{
  display:block;
  color:#0f8ad8;
  font-size:14px;
  font-weight:500;
  margin:0 0 14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.section-hand .box-text.box-text-products{
  text-align:center !important;
  padding:15px 0 40px !important;
  position:static !important;
  height:auto !important;
}

.section-hand .title-wrapper,
.section-hand .price-wrapper,
.section-hand .add-to-cart-button{
  display:block !important;
  width:100%;
  height:auto !important;
}

.section-hand .price{
  display:flex !important;
  flex-direction:column-reverse;
  justify-content:center;
  align-items:flex-start;
  gap:6px;
}

.section-hand .price-wrapper ins .woocommerce-Price-amount,
.section-hand .price-wrapper > .price > .woocommerce-Price-amount{
  font-size:15px;
  font-weight:700;
  color:#ff7e00 !important;
}

.section-hand .price-wrapper del .woocommerce-Price-amount{
  color:#777;
  font-size:13px;
  font-weight:400;
  margin-left:10px;
}

.section-hand .price-wrapper{
  margin-top:6px;
  text-align:left;
}

.section-hand .add-to-cart-button{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:8px;
  text-align:center;
  position:static;
  transform:none;
  height:auto !important;
}

.section-hand .add-to-cart-button .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 !important;
  margin-right:0 !important;
  min-height:28px;
  height:28px;
  line-height:28px;
  padding:0 10px;
  border:1px solid #ebebeb;
  background:#fff;
  color:#9d9d9d;
  box-shadow:none;
  text-transform:none;
  font-size:12px;
  width:auto;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px);
  transition:all .25s ease;
}

.section-hand .add-to-cart-button .button::before{
  content:"\f07a";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  margin-right:6px;
  font-size:11px;
}

.section-hand .add-to-cart-button .button:hover{
  background:#ff7e00;
  border-color:#ff7e00;
  color:#fff !important;
}

.section-hand .grid-tools{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%) !important;
  width:auto;
  padding:0 30px !important;
  height:35px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:all .25s ease;
}

.section-hand .box-image .image-tools.grid-tools{
  display:flex !important;
  justify-content:center;
  align-items:center;
  margin-bottom:0 !important;
}

.section-hand .box-image .image-tools.grid-tools a{
  width:auto !important;
  max-width:none;
}

.section-hand .grid-tools a.quick-view,
.section-hand .grid-tools a.quick-view.quick-view-added{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:35px;
  line-height:35px;
  padding:0 15px !important;
  font-size:14px;
  font-weight:500;
  text-transform:none !important;
  letter-spacing:0 !important;
  background:#fff !important;
  color:#323c42 !important;
  border:1px solid #ebebeb !important;
  opacity:1 !important;
}

.section-hand .grid-tools a.quick-view::before,
.section-hand .grid-tools a.quick-view.quick-view-added::before{
  content:"\f00e";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  color:#9d9d9d;
  padding-right:10px;
  border-right:1px solid #ebebeb;
}

.section-hand .grid-tools:hover a.quick-view,
.section-hand .grid-tools:hover a.quick-view.quick-view-added{
  background:#ff7e00 !important;
  border-color:#ff7e00 !important;
  color:#fff !important;
  text-decoration:none !important;
}

.section-hand .grid-tools:hover a.quick-view::before,
.section-hand .grid-tools:hover a.quick-view.quick-view-added::before{
  color:#fff;
  border-right-color:rgba(255,255,255,.45);
}

.section-hand .product-small:hover .grid-tools{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.section-hand .product-small:hover .box-image .image-tools.grid-tools{
  transform:translate(-50%, -50%) !important;
}

.section-hand .product-small:hover .add-to-cart-button .button{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.section-hand .product-small{
  overflow:hidden;
}

.section-hand .medium-4 .box{
  border:1px solid #ebebeb;
  border-bottom:none;
  padding-top:20px;
}

.section-hand .medium-4 .box-image{
  padding:0 20px;
  text-align:center;
}

.section-hand .medium-4 .box-image img{
  width:318px;
  height:318px;
  object-fit:contain;
  margin-left:auto;
  margin-right:auto;
}

.section-hand .box-image > .image-none > a{
  display:flex;
  justify-content:center;
  align-items:center;
}

.section-hand .medium-4 .box-text{
  padding:25px 20px !important;
  background:#f8f8f8;
  border-top:1px solid #ebebeb;
}

.section-hand .medium-4 .product-title a{
  font-size:18px;
  font-weight:700;
  margin:0 0 10px;
}

.section-hand .medium-4 .price-wrapper{
  margin-top:20px;
}

.section-hand .medium-4 .price{
  justify-content:center;
}

.section-hand .medium-4 .price-wrapper ins .woocommerce-Price-amount{
  font-size:21px;
  font-weight:600;
}

.section-hand .text-desc{
  padding:0 20px;
  background:#f8f8f8;
  border:1px solid #ebebeb;
  border-top:none;
}

.section-hand .text-desc .wrapper{
  border-top:1px solid #ccc;
  display:flex;
  justify-content:space-between;
  background:#f8f8f8;
}

.section-hand .text-desc .wrapper ul{
  padding-top:10px;
}

.section-hand .text-desc li{
  list-style:none;
  position:relative;
  margin:0 !important;
  padding:0 10px;
  font-size:13px;
  color:#323c42;
  font-weight:500;
}

.section-hand .text-desc li::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ccc;
  position:absolute;
  left:0;
  top:8px;
}

@media (min-width:576px) and (max-width:1024px){
  .section-hand .section-content{
    padding-left:15px;
    padding-right:15px;
  }

  .section-hand .col-inner > .row:not(.row-collapse){
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:100%;
  }

  .section-hand .medium-4{
    display:none;
  }

  .section-hand .medium-8{
    flex-basis:100%;
    max-width:100%;
  }

  .section-hand .medium-8 .product-small .col-inner{
    border:none;
    margin-bottom:0;
  }

  .section-hand .add-to-cart-button,
  .section-hand .grid-tools{
    display:none !important;
  }
}

@media (max-width:575.98px){
  .section-hand{
    padding:0 !important;
  }

  .section-hand .section-content{
    padding-left:15px;
    padding-right:15px;
    overflow-x:hidden;
  }

  .section-hand .col-inner > .row:not(.row-collapse){
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:100%;
  }

  .section-hand .col-title,
  .section-hand .medium-8{
    padding:0 !important;
  }

  .section-hand .medium-4{
    display:none;
  }

  .section-hand .medium-8 .product-small .col-inner{
    border:none !important;
    margin-bottom:15px;
    padding:0;
  }

  .section-hand .add-to-cart-button,
  .section-hand .grid-tools{
    display:none !important;
  }

  .section-hand .box-text.box-text-products{
    padding:10px 0 0 !important;
  }
}

/* Section about care */
.section-about-care{
  padding:30px 0 !important;
}

.section-about-care .col-title{
  padding:0 15px !important;
}

.section-about-care .title-about{
  display:flex;
  justify-content:center;
  align-items:center;
  border-bottom:1px solid #ebebeb;
  margin-bottom:30px;
}

.section-about-care .title-about h2{
  margin:0;
  width:auto;
  font-size:18px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0;
  padding:15px 0;
}

.section-about-care .title-about h2 span{
  position:relative;
}

.section-about-care .title-about h2 span::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-16px;
  width:100%;
  height:1px;
  background:#ff7e00;
}

.section-about-care .section-content > .row:last-child > .col{
  padding-bottom:0 !important;
}

.section-about-care .box{
  background:#f8f8f8;
  padding:45px 30px;
  min-height:294px;
  display:flex;
}

.section-about-care .box-image{
  width:142px;
  flex:0 0 142px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.section-about-care .box-image img{
  width:auto;
  max-width:142px;
  object-fit:contain;
}

.section-about-care .box-text{
  width:calc(100% - 142px);
  padding:0 0 0 10px !important;
  text-align:left !important;
}

.section-about-care .box-text-inner{
  width:100%;
}

.section-about-care .ux-menu{
  width:100%;
}

.section-about-care .ux-menu-link{
  margin:0 !important;
}

.section-about-care .ux-menu-link__link{
  border-bottom:none;
  padding:.2em 0;
  min-height:auto;
  color:#323c42;
}

.section-about-care .ux-menu-link:first-child .ux-menu-link__link{
  font-size:16px;
  font-weight:600;
  margin-bottom:16px;
}

.section-about-care .ux-menu-link:nth-child(2) .ux-menu-link__link,
.section-about-care .ux-menu-link:nth-child(3) .ux-menu-link__link,
.section-about-care .ux-menu-link:nth-child(4) .ux-menu-link__link{
  font-size:14px;
  line-height:20px;
  font-weight:500;
  padding:0 0 15px;
}

.section-about-care .ux-menu-link:last-child .ux-menu-link__link{
  color:#9f9f9f;
  font-size:14px;
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding-top:2px;
}

.section-about-care .ux-menu-link:last-child .ux-menu-link__text::after{
  content:"\f04b";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  font-size:6px;
  margin-left:5px;
  vertical-align:middle;
}

.section-about-care .ux-menu-link:last-child .ux-menu-link__link:hover{
  color:#ff7e00;
}

@media (min-width:576px) and (max-width:1024px){
  .section-about-care .section-content{
    max-width:720px !important;
    padding-right:15px;
    padding-left:15px;
    margin-right:auto;
    margin-left:auto;
    width:100%;
  }

  .section-about-care .section-content > .row:last-child{
    display:flex;
    flex-flow:row nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    width:auto !important;
    margin-right:-15px !important;
    margin-left:-15px !important;
  }

  .section-about-care .section-content > .row:last-child > .col{
    flex:0 0 330px;
    max-width:330px;
    min-width:330px;
    width:100% !important;
  }

  .section-about-care .box{
    padding:45px 10px;
  }
}

@media (max-width:575.98px){
  .section-about-care{
    padding:0 !important;
  }

  .section-about-care .section-content{
    padding:0 15px;
  }

  .section-about-care .section-content > .row:last-child{
    display:flex;
    flex-flow:row nowrap;
    overflow-x:auto;
    overflow-y:hidden;
  }

  .section-about-care .section-content > .row:last-child > .col{
    flex:0 0 100%;
    max-width:100%;
  }
}

/* Section products */
.section-products{
  padding:70px 0 30px !important;
}

.section-products .col{
  padding-bottom:0 !important;
}

.section-products .tabbed-content{
  display:flex;
  flex-wrap:wrap;
}

.section-products .tabbed-content > .nav{
  display:inline-block !important;
  text-align:center;
  width:100%;
  margin-bottom:30px;
  line-height:1.7;
  height:49px;
  border-bottom:1px solid #ebebeb;
}

.section-products .tabbed-content > .nav.nav-line-bottom::before,
.section-products .tabbed-content > .nav.nav-line-bottom > li::before,
.section-products .tabbed-content > .nav.nav-line-bottom > li::after,
.section-products .tabbed-content > .nav.nav-line-bottom > li > a::before{
  display:none !important;
  content:none !important;
}

.section-products .tabbed-content > .nav.nav-uppercase > li > a{
  text-transform:none !important;
  letter-spacing:0 !important;
  font-weight:500 !important;
}

.section-products .tabbed-content > .nav > .tab > a{
  color:rgba(102,102,102,.85) !important;
}

.section-products .tabbed-content > .nav > .tab.active > a{
  color:rgba(17,17,17,.85) !important;
}

.section-products .nav > li{
  padding:0 20px;
  margin:0 !important;
}

.section-products .tabbed-content > .nav .tab{
  line-height:22px;
  font-size:18px;
  font-weight:400;
  padding:10px 30px;
  position:relative;
}

.section-products .tabbed-content > .nav .tab a{
  position:relative;
  padding:0 !important;
}

.section-products .tabbed-content > .nav .tab span{
  font-size:18px;
  line-height:22px;
  position:relative;
}

.section-products .tabbed-content > .nav .tab.active span{
  color:#333;
  font-weight:700;
}

.section-products .nav li.tab::after{
  content:"|";
  color:#ebebeb;
  position:absolute;
  right:0;
}

.section-products .tabbed-content > .nav .tab:last-child::after{
  display:none;
}

.section-products .tab.active a::before{
  content:"";
  width:0;
  height:0;
  border-style:solid;
  border-width:5px 5px 0 5px;
  border-color:#ff7e00 transparent transparent transparent;
  position:absolute;
  bottom:-23px;
  right:50%;
  transform:translateX(50%);
}

.section-products .tab.active a::after{
  content:"";
  width:100%;
  height:1px;
  background:#ff7e00;
  position:absolute;
  left:0;
  bottom:-18px;
}

.section-products .tab-panels{
  width:100%;
  padding-top:0;
}

.section-products .panel.entry-content{
  margin:0;
  padding:0 !important;
}

.section-products .products-items > .col{
  padding:0 15px !important;
  margin-bottom:40px;
  border:1px solid transparent;
  border-right:1px solid #ebebeb;
}

.section-products .products-items > .col:nth-child(4n){
  border-right:none;
}

.section-products .products-items > .col:hover{
  border:1px solid #ebebeb !important;
}

.section-products .badge-container{
  margin:0;
}

.section-products .badge{
  height:22px;
  width:auto;
}

.section-products .badge-circle{
  margin-left:0;
}

.section-products .badge-circle .badge-inner{
  border-radius:0;
}

.section-products .badge-inner.on-sale{
  background:#ff7e00 !important;
  color:#fff;
  font-size:12px;
  line-height:22px;
  padding:0 8px;
}

/*
 * UX Builder "Products" = [ux_products] (flatsome/inc/shortcodes/ux_products.php). Homepage often has NO body.woocommerce,
 * so never scope these rules with body.woocommerce — they must match .row .col:has(> .col-inner > .product-small.box) only.
 */
.row .col:has(> .col-inner > .product-small.box){
  position:relative;
}

.row .col:has(> .col-inner > .product-small.box) > .col-inner{
  position:static !important;
}

.row .col:has(> .col-inner > .product-small.box) .col-inner > .product-small.box{
  position:static !important;
}

.row .col:has(> .col-inner > .product-small.box) .box-text{
  position:static !important;
  text-align:center !important;
  padding:15px 0 72px !important;
  height:auto !important;
  overflow:visible !important;
}

.row .col:has(> .col-inner > .product-small.box) .box-text .price-wrapper{
  margin-bottom:20px !important;
}

/* Homepage / products-items row: anchor add-to-cart to outer .col.product (not .col-inner). */
.section-products .product.type-product,
.row.products-items .product.type-product{
  position:relative;
}

.section-products .product.type-product .col-inner,
.row.products-items .product.type-product .col-inner{
  position:static !important;
}

.section-products .product.type-product .product-small.box,
.row.products-items .product.type-product .product-small.box{
  position:static !important;
}

.section-products .box-text.box-text-products,
.row.products-items .box-text.box-text-products{
  position:static !important;
  text-align:center !important;
  padding:15px 0 72px !important;
  height:auto !important;
}

/* equalize-box (hoặc layout tương tự) có thể ép height:0 / clip khi .add-to-cart-button absolute. */
.section-products .box-text.box-text-products,
.row.products-items .box-text.box-text-products,
.row.products-items.equalize-box .box-text.box-text-products,
.equalize-box .product.type-product .box-text.box-text-products{
  overflow:visible !important;
}

.section-products .product.type-product .add-to-cart-button,
.row.products-items .product.type-product .add-to-cart-button,
.row.products-items.equalize-box .add-to-cart-button,
.row.equalize-box .col:has(> .col-inner > .product-small.box) .add-to-cart-button,
.equalize-box .product.type-product .add-to-cart-button,
.row .col:has(> .col-inner > .product-small.box) .add-to-cart-button,
body.post-type-archive-product .shop-container .product.type-product .add-to-cart-button,
body.tax-product_cat .shop-container .product.type-product .add-to-cart-button,
body.tax-product_tag .shop-container .product.type-product .add-to-cart-button,
body.single-product .related-products-wrapper .product.type-product .add-to-cart-button{
  min-height:28px !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}

.section-products .title-wrapper,
.section-products .price-wrapper,
.section-products .add-to-cart-button,
.section-products .product-action,
.row.products-items .title-wrapper,
.row.products-items .price-wrapper,
.row.products-items .add-to-cart-button,
.row.products-items .product-action,
.row .col:has(> .col-inner > .product-small.box) .title-wrapper,
.row .col:has(> .col-inner > .product-small.box) .price-wrapper,
.row .col:has(> .col-inner > .product-small.box) .add-to-cart-button,
.row .col:has(> .col-inner > .product-small.box) .product-action{
  height:auto !important;
}

.section-products .product-title a{
  margin:0 0 10px;
  display:block;
  font-size:14px;
  font-weight:500;
  color:#0f8ad8;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.section-products .title-wrapper{
  margin:0 0 10px !important;
  padding:0 !important;
}

.section-products .title-wrapper .product-title{
  margin:0 !important;
  padding:0 !important;
  height:auto !important;
}

.section-products .title-wrapper .product-title a{
  margin:0 !important;
  padding:0 !important;
}

.section-products .price-wrapper{
  margin:0 0 14px 0 !important;
  padding:0 !important;
}

.section-products .box-text.box-text-products .price-wrapper,
.row.products-items .box-text.box-text-products .price-wrapper{
  margin-bottom:20px !important;
}

.section-products .price-wrapper .price{
  margin:0 !important;
}

.section-products .price{
  display:flex !important;
  flex-direction:row-reverse;
  justify-content:center;
}

.section-products .price-wrapper ins .woocommerce-Price-amount,
.section-products .price-wrapper > .price > .woocommerce-Price-amount{
  font-size:15px;
  font-weight:700;
  color:#ff7e00 !important;
}

.section-products .price-wrapper del .woocommerce-Price-amount{
  color:#777;
  font-size:13px;
  font-weight:400;
  margin-left:10px;
}

.section-products .product .box .grid-tools{
  position:absolute;
  left:50%;
  top:50%;
  transform:translateX(-50%) !important;
  width:auto;
  height:35px;
  padding:0 30px !important;
}

.section-products .quick-view{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:35px;
  line-height:35px !important;
  padding:0 15px !important;
  font-size:14px;
  font-weight:500;
  text-transform:none !important;
  color:#323c42;
  background:#fff;
  border:1px solid #ebebeb !important;
}

.section-products .quick-view::before{
  content:"\f00e";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  color:#a3a3a3;
  padding-right:10px;
  border-right:1px solid #ebebeb;
}

.section-products .grid-tools:hover a{
  background:#ff7e00 !important;
  color:#fff !important;
  border-color:#ff7e00 !important;
}

.section-products .grid-tools:hover a::before{
  color:#fff !important;
  border-right-color:rgba(255,255,255,.45);
}

.section-products .product.type-product .add-to-cart-button,
.section-products .product.type-product .product-action,
.row.products-items .product.type-product .add-to-cart-button,
.row.products-items .product.type-product .product-action,
.row .col:has(> .col-inner > .product-small.box) .add-to-cart-button,
.row .col:has(> .col-inner > .product-small.box) .product-action,
body.woocommerce .section-products .product.type-product .add-to-cart-button,
body.woocommerce .row.products-items .product.type-product .add-to-cart-button{
  display:flex !important;
  justify-content:center;
  align-items:center;
  margin-top:0;
  position:absolute !important;
  left:50%;
  transform:translateX(-50%);
  bottom:14px;
  width:calc(100% - 24px);
  max-width:100%;
  z-index:12;
  pointer-events:none;
}

/* Homepage: add-to-cart anchor lower (UX Products; often no body.woocommerce). */
body:is(.home,.front-page) .section-products .product.type-product .add-to-cart-button,
body:is(.home,.front-page) .section-products .product.type-product .product-action,
body:is(.home,.front-page) .row.products-items .product.type-product .add-to-cart-button,
body:is(.home,.front-page) .row.products-items .product.type-product .product-action,
body:is(.home,.front-page) .row .col:has(> .col-inner > .product-small.box) .add-to-cart-button,
body:is(.home,.front-page) .row .col:has(> .col-inner > .product-small.box) .product-action{
  bottom:-12px !important;
}

.section-products .add-to-cart-button .button,
.section-products .product-action .btn-views,
.section-products .product-action .btn-buy,
.row.products-items .add-to-cart-button .button,
.row.products-items .product-action .btn-views,
.row.products-items .product-action .btn-buy,
.row .col:has(> .col-inner > .product-small.box) .add-to-cart-button .button,
.row .col:has(> .col-inner > .product-small.box) .product-action .btn-views,
.row .col:has(> .col-inner > .product-small.box) .product-action .btn-buy{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  height:28px;
  line-height:28px;
  padding:0 10px;
  margin:0 !important;
  background:#fff;
  border:1px solid #ebebeb;
  box-shadow:none;
  font-size:12px;
  text-transform:none;
  color:#9d9d9d;
  opacity:0 !important;
  transition:all .3s ease;
}

.section-products .product-action .btn-buy i{
  color:#9d9d9d;
}

.section-products .add-to-cart-button .button::before,
.row.products-items .add-to-cart-button .button::before,
.row .col:has(> .col-inner > .product-small.box) .add-to-cart-button .button::before{
  content:"\f07a";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  margin-right:6px;
  font-size:11px;
}

.section-products .product-action .text{
  padding-left:10px;
  margin-left:10px;
  border-left:1px solid #ebebeb;
  line-height:normal;
}

.section-products .product.type-product:hover .add-to-cart-button,
.section-products .product.type-product:focus-within .add-to-cart-button,
.section-products .product.type-product:hover .product-action,
.section-products .product.type-product:focus-within .product-action,
.row.products-items .product.type-product:hover .add-to-cart-button,
.row.products-items .product.type-product:focus-within .add-to-cart-button,
.row.products-items .product.type-product:hover .product-action,
.row.products-items .product.type-product:focus-within .product-action,
.row.products-items .has-hover:hover .add-to-cart-button,
.row.products-items .has-hover:focus-within .add-to-cart-button,
.row.products-items .has-hover:hover .product-action,
.row.products-items .has-hover:focus-within .product-action,
.row .col:has(> .col-inner > .product-small.box):hover .add-to-cart-button,
.row .col:has(> .col-inner > .product-small.box):focus-within .add-to-cart-button,
.row .col:has(> .col-inner > .product-small.box):hover .product-action,
.row .col:has(> .col-inner > .product-small.box):focus-within .product-action{
  pointer-events:auto;
}

.section-products .product.type-product:hover .add-to-cart-button .button,
.section-products .product.type-product:focus-within .add-to-cart-button .button,
.section-products .product.type-product:hover .product-action .btn-views,
.section-products .product.type-product:focus-within .product-action .btn-views,
.section-products .product.type-product:hover .product-action .btn-buy,
.section-products .product.type-product:focus-within .product-action .btn-buy,
.section-products .product-small:hover .add-to-cart-button .button,
.section-products .product-small:hover .product-action .btn-views,
.section-products .product-small:hover .product-action .btn-buy,
.row.products-items .product.type-product:hover .add-to-cart-button .button,
.row.products-items .product.type-product:focus-within .add-to-cart-button .button,
.row.products-items .product.type-product:hover .product-action .btn-views,
.row.products-items .product.type-product:focus-within .product-action .btn-views,
.row.products-items .product.type-product:hover .product-action .btn-buy,
.row.products-items .product.type-product:focus-within .product-action .btn-buy,
.row.products-items .product-small:hover .add-to-cart-button .button,
.row.products-items .product-small:hover .product-action .btn-views,
.row.products-items .product-small:hover .product-action .btn-buy,
.row.products-items .has-hover:hover .add-to-cart-button .button,
.row.products-items .has-hover:focus-within .add-to-cart-button .button,
.row.products-items .has-hover:hover .product-action .btn-views,
.row.products-items .has-hover:focus-within .product-action .btn-views,
.row.products-items .has-hover:hover .product-action .btn-buy,
.row.products-items .has-hover:focus-within .product-action .btn-buy,
body.woocommerce .row.products-items .has-hover:hover .add-to-cart-button .button,
body.woocommerce .row.products-items .has-hover:focus-within .add-to-cart-button .button,
.row .col:has(> .col-inner > .product-small.box):hover .add-to-cart-button .button,
.row .col:has(> .col-inner > .product-small.box):focus-within .add-to-cart-button .button,
.row .col:has(> .col-inner > .product-small.box):hover .product-action .btn-views,
.row .col:has(> .col-inner > .product-small.box):focus-within .product-action .btn-views,
.row .col:has(> .col-inner > .product-small.box):hover .product-action .btn-buy,
.row .col:has(> .col-inner > .product-small.box):focus-within .product-action .btn-buy{
  opacity:1 !important;
}

.section-products .add-to-cart-button .button:hover,
.section-products .product-action .btn-views:hover,
.section-products .product-action .btn-buy:hover,
.row.products-items .add-to-cart-button .button:hover,
.row.products-items .product-action .btn-views:hover,
.row.products-items .product-action .btn-buy:hover,
.row .col:has(> .col-inner > .product-small.box) .add-to-cart-button .button:hover,
.row .col:has(> .col-inner > .product-small.box) .product-action .btn-views:hover,
.row .col:has(> .col-inner > .product-small.box) .product-action .btn-buy:hover{
  background:#ff7e00;
  border-color:#ff7e00;
  color:#fff !important;
}

.section-products .product-action .btn-buy:hover i,
.row.products-items .product-action .btn-buy:hover i,
.row .col:has(> .col-inner > .product-small.box) .product-action .btn-buy:hover i{
  color:#fff;
}

@media (min-width:576px) and (max-width:1024px){
  .section-products{
    padding:30px 0 !important;
  }

  .section-products .nav li.tab{
    padding:0 15px;
  }

  .section-products .nav li.tab:last-child::after{
    display:none;
  }

  .section-products .products-items > .col{
    border:none;
  }

  .section-products .grid-tools,
  .section-products .add-to-cart-button,
  .section-products .product-action,
  .row.products-items .grid-tools{
    display:none !important;
  }
}

@media (max-width:575.98px){
  .section-products{
    padding:30px 0 !important;
  }

  .section-products .tabbed-content > .nav{
    display:flex !important;
    flex-wrap:nowrap;
    justify-content:flex-start;
    width:100%;
    height:65px;
    overflow-x:auto;
    border-bottom:0;
    margin-bottom:30px;
    position:relative;
  }

  .section-products .tabbed-content > .nav::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:52px;
    height:1px;
    background:#ebebeb;
  }

  .section-products .tabbed-content > .nav .tab{
    min-width:200px;
    margin:0 10px !important;
    padding:15px 0;
    text-align:center;
    cursor:pointer;
    font-size:16px !important;
    height:100%;
  }

  .section-products .tabbed-content > .nav .tab span{
    cursor:pointer;
    margin-right:0 !important;
    font-size:16px;
    line-height:20px;
  }

  .section-products .products-items{
    display:flex;
  }

  .section-products .products-items > .col{
    margin:0;
    border:none !important;
  }

  .section-products .product .box-image .image-none > a{
    height:313px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .section-products .product .box-image img{
    width:auto;
    max-height:100%;
  }

  .section-products .box-text.box-text-products{
    padding:10px 0 0 !important;
  }

  .section-products .grid-tools,
  .section-products .add-to-cart-button,
  .section-products .product-action,
  .row.products-items .grid-tools{
    display:none !important;
  }
}

/* Section banner */
.section-banner{
  padding:0 !important;
  margin-top:-130px;
  z-index:1000;
}

.section-banner .row-1 > .col:nth-child(1){
  padding:0 5px 0 15px;
}

.section-banner .row-1 > .col:nth-child(2){
  padding:0 15px 0 5px;
}

.section-banner .row-banner{
  margin-top:10px;
  background:#fff;
  padding:20px 0;
}

.section-banner .row-banner > .col{
  padding:0 40px 0 20px !important;
  max-height:30px;
}

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

.section-banner .icon-box-img{
  width:40px !important;
  margin-bottom:0 !important;
}

.section-banner .icon-box-img .icon-inner{
  width:40px;
}

.section-banner .icon-box-img img{
  width:auto;
  max-width:100%;
  padding-top:0;
}

.section-banner .row-banner .icon-box-text{
  width:calc(100% - 40px);
  font-size:14px;
  font-weight:600;
  color:#323c42;
  padding-left:5px !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.section-banner .row-banner .icon-box-text p{
  margin:0 !important;
  padding-left:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (min-width:576px) and (max-width:1024px){
  .section-banner{
    margin-top:30px;
  }

  .section-banner .section-content{
    width:100%;
    max-width:720px !important;
    margin:0 auto;
    padding-right:15px;
    padding-left:15px;
  }

  .section-banner .row-banner{
    width:100%;
    max-width:unset;
    margin-bottom:20px;
    padding:15px 0;
    overflow:hidden;
    overflow-x:visible;
    height:90px;
    display:flex;
    flex-wrap:nowrap;
  }

  .section-banner .row-banner > .col{
    min-width:210px;
    margin:0 20px !important;
    padding:0 !important;
    height:100% !important;
    max-height:100%;
    display:flex;
    align-items:center;
  }
}

@media (max-width:575.98px){
  .section-banner{
    margin-top:0;
    padding:0 !important;
  }

  .section-banner .section-content{
    margin-top:30px;
    padding:0 15px;
  }

  .section-banner .row-1{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
  }

  .section-banner .row-1 > .col{
    flex:0 0 230px;
    max-width:230px;
    min-width:230px;
    margin-bottom:30px;
    padding:15px;
  }

  .section-banner .row-banner{
    margin-top:10px !important;
    margin-bottom:20px;
    padding:15px 0;
    max-width:unset;
    overflow:hidden;
    overflow-x:visible;
    height:90px;
    display:flex;
    flex-wrap:nowrap;
  }

  .section-banner .row-banner > .col{
    min-width:210px;
    margin:0 20px;
    padding:0 !important;
    height:100% !important;
    max-height:100%;
    display:flex;
    align-items:center;
  }

  .section-banner .row-banner .icon-box-text{
    font-size:14px;
    font-weight:500;
  }

  .section-banner img{
    width:auto;
  }
}

/* Header sticky - match original */
.header{
  width:100%;
  background-color:rgba(255,255,255,0.122);
}

#header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:1001;
}

#header{
  width:100%;
  background-color:rgba(255,255,255,0.122);
}

#header.header.transparent .header-wrapper,
#header.header.transparent .header-bg-image,
#header.header.transparent .header-bg-color,
#header.header.transparent .header-bottom{
  -webkit-box-shadow:none;
  box-shadow:none;
  background-color:transparent;
  background-image:none !important;
}

#header .container{
  max-width:1170px;
  padding:0 !important;
}

#header #top-bar{
  background-color:transparent !important;
  font-size:14px !important;
  line-height:40px;
  height:40px;
  min-height:40px;
}

#header .contact-header{
  position:relative;
  float:left;
  color:#323c42 !important;
  font-size:14px !important;
  line-height:40px !important;
  font-weight:700;
}

#header .contact-header a{
  color:#323c42;
  font-weight:400;
  padding:0 20px 0 0;
}

#header .contact-header::before{
  content:"";
  position:absolute;
  bottom:0;
  right:-100px;
  width:1000px;
  height:1px;
  background:#ebebeb;
}

#header .contact-header::after{
  content:"";
  position:absolute;
  bottom:0;
  left:310px;
  width:10000px;
  height:1px;
  background:#ebebeb;
}

#header .header-main{
  height:110px;
}

#header #logo{
  width:208px;
}

#header #logo img{
  max-height:110px;
}

#header .flex-col.logo{
  line-height:110px;
  margin-right:0 !important;
  position:relative;
  display:inline-block;
}

#header .flex-col.logo::before{
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width:1000px;
  height:150px;
  background:#fff;
  z-index:-1;
}

#header .flex-col.logo::after{
  content:"";
  position:absolute;
  right:-78px;
  top:-40px;
  height:100%;
  border-style:solid;
  border-width:150px 38px 0 0;
  border-color:#fff transparent transparent transparent;
}

#header .flex-col.logo a{
  display:block !important;
}

#header .flex-col.logo img.header_logo{
  display:inline-block !important;
  vertical-align:middle;
}

#header .flex-col.logo img.header-logo-dark{
  display:none !important;
}

#header .flex-col.hide-for-medium.flex-left.flex-grow{
  padding-left:85px;
}

#header .header-main .nav > li{
  padding:0 20px;
  margin:0;
}

#header .header-main .nav > li > a.nav-top-link{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  height:110px;
  line-height:16px;
  padding:0 !important;
  font-weight:400;
  margin:0;
}

#header .header-main .nav > li > a.nav-top-link img{
  margin-right:0 !important;
  margin-bottom:10px;
}

#header .nav-dark .nav > li.active > a,
#header .nav > li > a:hover{
  color:#0f8ad8 !important;
}

#header .header-nav-main .icon-angle-down{
  display:none !important;
}

#header .nav-dropdown{
  border:none !important;
  width:250px;
  padding:0;
  box-shadow:0 1px 2px 2px rgba(0,0,0,0.04) !important;
}

#header .nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown::before{
  display:none !important;
  content:none !important;
}

#header .nav-dropdown > li{
  margin:0 !important;
  padding:0 !important;
  list-style:none;
}

#header .nav-dropdown > li > a{
  font-weight:500;
  font-size:14px;
  line-height:20px;
  display:block;
  color:#323c42;
  position:relative;
  border-bottom:1px solid #ebebeb;
  padding:15px 20px;
  margin:0 !important;
  text-align:left;
  z-index:9999;
}

#header #woocommerce-product-search-field-0{
  outline:none;
  min-height:40px;
  padding:0 40px 0 10px;
  line-height:40px;
  font-size:14px !important;
  border:none;
  background-color:transparent !important;
}

#header #woocommerce-product-search-field-0::placeholder{
  color:#8a9eaa !important;
}

#header .header .search-form i,
#header .searchform .button.icon i{
  font-size:16px;
  color:#8a9eaa !important;
}

#header .header-cart-link{
  flex-direction:column-reverse !important;
}

#header .header-cart-link .icon-shopping-bag{
  margin:0;
  width:24px;
  height:24px;
  margin-bottom:10px;
}

#header .icon-shopping-bag::before{
  color:#abb8c3 !important;
}

#header .header-nav-main li:nth-child(6){
  border-right:1px solid #4d5e69;
  border-left:1px solid #4d5e69;
}

#header .header-nav-main li:nth-child(7){
  border-right:1px solid #4d5e69;
}

#header i.icon-shopping-bag::after{
  min-width:20px;
  min-height:20px;
  padding:0 2px;
  border-radius:50%;
  background:#ff7e00 !important;
  text-align:center;
  line-height:20px;
  color:#fff;
}

/* Unified header style on all pages */
#header .header-wrapper,
#header .header-bg-image,
#header .header-bg-color,
#header .header-bottom{
  -webkit-box-shadow:none;
  box-shadow:none;
  background-color:transparent;
  background-image:none !important;
}

#header #masthead.header-main{
  background:transparent !important;
}

#header #masthead.header-main .nav > li > a{
  color:rgba(255,255,255,0.8);
}

#header #masthead.header-main .nav > li > a:hover,
#header #masthead.header-main .nav > li.active > a{
  color:#fff !important;
}

@media (min-width:576px) and (max-width:1024px){
  #header{
    position:static !important;
    background-color:#233a48;
  }

  #header .flex-col.logo::after,
  #header .flex-col.logo::before{
    display:none;
  }

  #header #top-bar .nav{
    display:flex;
    flex-wrap:nowrap;
    justify-content:space-between;
    max-width:720px;
    padding-right:15px;
    padding-left:15px;
    margin-right:auto;
    margin-left:auto;
  }

  #header .header-inner{
    max-width:720px;
  }

  #header .header-search-form,
  #header .header-search-form-wrapper,
  #header .searchform-wrapper{
    display:inline-block;
    width:auto !important;
  }

  #header .contact-header,
  #header .contact-header a{
    color:#8a9eaa !important;
  }

  #header .contact-header::after,
  #header .contact-header::before{
    display:none;
  }

  #header .show-for-medium.flex-grow{
    border-bottom:1px solid #4d5e69;
  }

  #header #woocommerce-product-search-field-1{
    min-height:40px;
    padding:0 40px 0 10px;
    border:none;
    background:transparent !important;
    outline:none;
    line-height:40px;
    font-size:14px;
  }

  #header #woocommerce-product-search-field-1::placeholder{
    color:#8a9eaa !important;
  }

  #header .submit-button{
    padding:0 10px;
    height:40px;
    line-height:40px;
  }
}

@media (max-width:575.98px){
  #header{
    position:static !important;
    background-color:#233a48;
  }

  #header #top-bar{
    display:none;
  }

  #header .flex-col.logo::after,
  #header .flex-col.logo::before{
    display:none;
  }

  #header .flex-col.logo a{
    line-height:85px;
    height:85px;
    width:180px !important;
  }

  #header .header-main{
    height:85px !important;
    line-height:85px !important;
  }

  #header #logo img{
    max-height:85px;
  }

  #header .header-main .nav li{
    padding:0;
  }

  #header .header-main .nav > li > a{
    display:inline-block;
  }

  #header .nav-top-link{
    height:auto !important;
  }

  #header .header-inner{
    padding:0 15px !important;
  }

  #header li.nav-icon{
    font-size:20px;
    color:#fff !important;
    width:30px;
    display:block;
    text-align:center;
  }

  #header .nav-right{
    display:inline-block;
  }

  #header .flex-right{
    flex:initial !important;
  }

  #header .header-cart-link{
    height:85px;
    line-height:85px;
  }

  #header .flex-col.logo{
    line-height:85px;
    height:85px;
    width:100% !important;
    text-align:center;
    margin:0;
  }

  #header .flex-col.logo a{
    display:inline-block !important;
  }

  #header .cart-item a{
    color:#fff;
    width:40px;
    text-align:center;
  }
}

/* Custom page title (page, post, product, category, product category) */
.xc-custom-page-title{
  position:relative;
  min-height:368px;
  padding:220px 0 0;
  overflow:hidden;
}

.xc-custom-page-title__bg{
  position:absolute;
  inset:0;
  background:#204359;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.xc-custom-page-title__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.25);
}

.xc-custom-page-title__inner{
  position:relative;
  z-index:2;
  text-align:center;
}

.xc-custom-page-title__heading{
  margin:0 0 10px;
  color:#fff;
  font-size:24px;
  font-weight:600;
  text-transform:uppercase;
}

.xc-custom-page-title__breadcrumbs,
.xc-custom-page-title__breadcrumbs a{
  color:#fff;
}

.xc-custom-page-title__breadcrumbs a:hover{
  color:#ff7e00;
}

.xc-custom-page-title__breadcrumbs .separator{
  opacity:0.75;
}

.xc-custom-page-title__breadcrumbs .last{
  color:#ff7e00;
}

/* Hide default Flatsome titles where custom block is used */
body.page .page-title,
body.single-post .page-title,
body.single-product .page-title,
body.post-type-archive-product .shop-page-title,
body.category .page-title,
body.tax-product_cat .page-title{
  display:none !important;
}

body.page #main,
body.single-post #main,
body.single-product #main,
body.post-type-archive-product #main,
body.category #main,
body.tax-product_cat #main{
  padding-top:0 !important;
}

@media (max-width:1024px){
  .xc-custom-page-title{
    min-height:220px;
    padding:90px 0 20px;
  }
}

/* Single product - match reference */
body.single-product .woocommerce-product-gallery .onsale{
  color:#ffffff;
  font-size:12px;
  line-height:22px;
  text-align:center;
  background-color:#ff7e00 !important;
}

body.single-product .product-gallery .badge-container{
  margin:0;
}

body.single-product .product-gallery .badge{
  height:22px;
  width:auto;
}

body.single-product .product-gallery .badge-circle{
  margin-left:0;
}

body.single-product .product-gallery .badge-circle .badge-inner{
  border-radius:0;
  min-width:auto;
  min-height:22px;
  padding:0 8px;
}

body.single-product .product-gallery .badge-inner.on-sale{
  background:#ff7e00 !important;
  color:#fff;
  font-size:12px;
  line-height:22px;
  font-weight:500;
}

body.single-product .product-gallery .badge-inner.on-sale .onsale{
  display:inline-block;
  line-height:22px;
  background:transparent !important;
  padding:0;
}

body.single-product .product-main{
  padding-top:30px;
}

body.single-product .product-info .product-title{
  color:#323c42;
  line-height:24px;
  margin:0 0 10px;
  font-weight:500;
  font-size:24px;
  text-transform:none;
}

body.single-product .status_brand{
  padding:5px;
  background:#ff7e00;
  margin-bottom:10px;
  line-height:normal;
  display:inline-block;
  color:#fff;
  font-size:14px;
}

body.single-product .status_brand .brand{
  font-weight:500 !important;
}

body.single-product .product-short-description{
  padding:10px 0;
  margin-bottom:10px;
}

body.single-product .product-short-description p{
  font-size:14px;
  color:#969696;
  line-height:24px;
  font-weight:500;
}

body.single-product .product-short-description ul{
  margin:0;
  padding:0;
}

body.single-product .product-short-description ul li{
  margin-bottom:10px;
  font-weight:600;
  position:relative;
  padding-left:10px;
  font-size:14px;
  display:block;
  list-style:none;
}

body.single-product .product-short-description ul li::before{
  content:"";
  width:4px;
  height:4px;
  position:absolute;
  border-radius:50%;
  background-color:#ff7e00;
  left:0;
  top:8px;
}

body.single-product .product-page-price{
  display:flex !important;
  flex-direction:column-reverse;
  margin:0 0 12px;
}

body.single-product .col-price{
  padding-bottom:0;
}

body.single-product .col-price .col-inner{
  width:100%;
  float:left;
  padding:30px 20px;
  background:#f2f5f7;
  margin-bottom:10px;
  display:flex;
  flex-direction:row-reverse;
  justify-content:start;
  align-items:center;
  flex-wrap:nowrap;
}

body.single-product .product-price-container{
  width:160px;
  flex:0 0 160px;
  padding-left:0;
}

body.single-product .add-to-cart-container{
  width:calc(100% - 160px);
  height:100%;
  flex:0 0 calc(100% - 160px);
}

body.single-product .add-to-cart-container form{
  display:flex;
  margin:0 !important;
  width:100%;
  flex-wrap:nowrap;
  align-items:center;
}

body.single-product .price-wrapper .vat{
  color:#a6a6a6;
  font-family:"Muli", sans-serif;
  font-size:14px;
  display:block;
}

body.single-product .product-page-price ins .woocommerce-Price-amount bdi{
  font-size:22px;
  color:#ff7e00;
  font-weight:700;
  line-height:30px;
}

body.single-product .product-page-price del .woocommerce-Price-amount bdi{
  color:#a6a6a6;
  font-size:15px;
  text-decoration:line-through;
}

body.single-product .product-page-price del{
  text-decoration:none;
}

body.single-product form.cart{
  display:flex;
  margin:0;
  width:100%;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
}

body.single-product form.cart .quantity{
  width:70px;
  margin:0;
  position:relative;
}

body.single-product form.cart .qty{
  height:60px !important;
  width:70px !important;
  max-width:70px !important;
  box-shadow:none !important;
  padding-right:20px;
  text-align:center;
}

body.single-product form.cart .ux-quantity__button,
body.single-product form.cart .quantity .is-form{
  background-repeat:no-repeat !important;
  background-size:10px !important;
  font-weight:900;
  color:transparent;
  background-position:50% 50% !important;
  padding:2px 10px;
  text-indent:-999999px !important;
  position:absolute !important;
  right:0 !important;
  border:none !important;
  background-color:transparent !important;
  box-shadow:none !important;
}

body.single-product form.cart .ux-quantity__button{
  color:transparent !important;
  text-indent:-9999px !important;
  font-size:0 !important;
  line-height:0 !important;
  background-repeat:no-repeat !important;
  background-position:50% 50% !important;
  background-size:10px 10px !important;
  width:20px !important;
  height:20px !important;
  padding:0 !important;
  right:0 !important;
  transform:none !important;
}

body.single-product form.cart .ux-quantity__button--plus{
  top:6px !important;
  bottom:auto !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%23000' d='M5 2L9 8H1z'/%3E%3C/svg%3E") !important;
}

body.single-product form.cart .ux-quantity__button--minus{
  top:auto !important;
  bottom:6px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%23000' d='M1 2h8L5 8z'/%3E%3C/svg%3E") !important;
}

body.single-product form.cart .ux-quantity__button--plus,
body.single-product form.cart .quantity .plus{
  top:50%;
  transform:translateY(-85%);
  background-image:url("https://dungcu2.local/wp-content/uploads/2023/09/arrow-up.png");
}

body.single-product form.cart .ux-quantity__button--minus,
body.single-product form.cart .quantity .minus{
  bottom:50%;
  transform:translateY(70%);
  background-image:url("https://dungcu2.local/wp-content/uploads/2023/09/down-filled-triangular-arrow.png");
}

body.single-product .single_add_to_cart_button{
  position:relative;
  width:calc(100% - 62px);
  height:68px;
  line-height:26px;
  font-size:18px !important;
  font-weight:400;
  text-decoration:none;
  background:#0f8ad8 !important;
  color:#fff;
  display:flex;
  flex-flow:column;
  justify-content:center;
  align-items:center;
  border-radius:0;
  border:1px solid #0f8ad8;
  margin:0;
  text-transform:none !important;
  padding:12px 8px !important;
  box-sizing:border-box;
}

body.single-product .single_add_to_cart_button::before{
  content:"";
  position:absolute;
  left:16%;
  top:18%;
  background-image:url("https://dungcu2.local/wp-content/uploads/2023/09/cart_product.webp");
  width:20px;
  height:20px;
  background-repeat:no-repeat;
  background-size:20px 20px;
  display:block;
}

body.single-product .single_add_to_cart_button::after{
  content:"Gọi điện xác nhận và giao hàng tận nơi";
  display:block;
  line-height:normal;
  color:#aadaf9;
  font-weight:300;
  font-size:13px;
  text-transform:none !important;
}

body.single-product .service_product{
  width:100%;
  float:left;
  padding:15px 0;
  border-bottom:1px solid #ebebeb;
  font-family:"Muli", sans-serif;
  font-size:14px;
}

body.single-product .service-left{
  width:40px;
  float:left;
}

body.single-product .service-right{
  width:calc(100% - 40px);
  float:left;
}

body.single-product .service_product .service-left img{
  background:transparent;
  max-width:initial;
}

body.single-product .title-service{
  display:block;
  font-weight:600;
}

body.single-product .summary-service{
  display:block;
}

body.single-product.product-type-variable .variations{
  position:absolute;
  top:-82px;
  left:0;
  padding:0 10px;
}

body.single-product .ux-swatch-selected-value,
body.single-product .reset_variations{
  display:none;
}

body.single-product .woocommerce-variation-add-to-cart{
  display:flex !important;
}

body.single-product .woocommerce td,
body.single-product .woocommerce th{
  border:none;
}

body.single-product .woocommerce-tabs{
  padding-top:40px !important;
}

body.single-product .woocommerce-tabs .product-tabs{
  display:flex;
  flex-wrap:wrap;
  list-style:none;
  margin-bottom:0;
  margin-top:0;
  padding:0;
  text-align:center;
  background:#f2f5f7;
  justify-content:center;
  align-items:center;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs.product-tabs{
  justify-content:center !important;
  border:0 !important;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs.product-tabs li{
  list-style:none !important;
  margin:0 !important;
  padding:10px 30px !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs.product-tabs li::marker{
  content:"" !important;
}

body.single-product .woocommerce-tabs .product-tabs > li{
  list-style:none;
  margin:0 !important;
  padding:10px 30px;
  display:inline-block;
  font-weight:600;
}

body.single-product .woocommerce-tabs .product-tabs > li > a{
  font-size:16px !important;
  font-weight:600 !important;
  text-transform:uppercase !important;
  letter-spacing:0 !important;
  padding:0 !important;
  margin:0 !important;
  min-height:auto !important;
  line-height:1.4 !important;
  color:#323c42 !important;
}

body.single-product .woocommerce-tabs .product-tabs > li > a::before{
  display:none !important;
  opacity:0 !important;
  content:none !important;
}

body.single-product .woocommerce-tabs .product-tabs > li.active{
  background:#fff;
  border-top:2px solid #ff7e00;
}

body.single-product .woocommerce-tabs .product-tabs > li.active > a{
  color:#323c42 !important;
}

/* Kill Flatsome nav-tabs defaults if cached/leftover classes still exist */
body.single-product .woocommerce-tabs .product-tabs.nav-tabs > li.active > a{
  border-top-color:transparent !important;
  background-color:transparent !important;
}

body.single-product .woocommerce-tabs .tab-panels{
  margin:0;
  padding:35px 0 0 !important;
  border:none;
}

body.single-product .woocommerce-tabs .tab-panels ul{
  margin:0;
  padding-left:18px;
}

body.single-product .woocommerce-tabs .tab-panels ul li{
  margin:0 0 8px 0;
  list-style:disc;
}

body.single-product .woocommerce-Tabs-panel--description{
  font-size:16px;
  color:#323c42;
  line-height:1.7;
  transition:height 0.6s linear;
}

body.single-product .woocommerce-Tabs-panel--description li{
  margin:0;
}

body.single-product .woocommerce-Tabs-panel--description.xc-desc-collapsed{
  overflow:hidden;
  position:relative;
  max-height:600px;
}

body.single-product .xc-desc-toggle{
  text-align:center;
  cursor:pointer;
  position:absolute;
  z-index:9;
  bottom:0;
  width:100%;
  background:#fff;
  left:0;
}

body.single-product .xc-desc-toggle::before{
  height:55px;
  margin-top:-45px;
  content:"";
  background:linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  display:block;
}

body.single-product .xc-desc-toggle span{
  width:140px;
  height:40px;
  line-height:40px;
  border:1px solid #ebebeb;
  color:#323c42;
  display:inline-block;
  font-weight:600;
  text-transform:uppercase;
  background:#fff;
}

body.single-product .xc-desc-toggle span:hover{
  background:#ff7e00;
  color:#fff;
}

body.single-product .related-products-wrapper .product-section-title{
  font-size:18px;
  margin:0 0 30px;
  text-transform:uppercase;
  padding:15px 0;
  border-bottom:1px solid #ebebeb;
}

body.single-product .related-products-wrapper .product-small .col-inner,
body.post-type-archive-product .shop-container .product-small .col-inner,
body.tax-product_cat .shop-container .product-small .col-inner,
body.tax-product_tag .shop-container .product-small .col-inner{
  border:1px solid transparent;
  border-right:1px solid #ebebeb;
}

body.single-product .related-products-wrapper .product-small:hover .col-inner,
body.post-type-archive-product .shop-container .product-small:hover .col-inner,
body.tax-product_cat .shop-container .product-small:hover .col-inner,
body.tax-product_tag .shop-container .product-small:hover .col-inner{
  border:1px solid #ebebeb;
}

body.single-product .related-products-wrapper .badge-container,
body.post-type-archive-product .shop-container .badge-container,
body.tax-product_cat .shop-container .badge-container,
body.tax-product_tag .shop-container .badge-container{
  margin:0;
}

body.single-product .related-products-wrapper .badge,
body.post-type-archive-product .shop-container .badge,
body.tax-product_cat .shop-container .badge,
body.tax-product_tag .shop-container .badge{
  height:22px;
  width:auto;
}

body.single-product .related-products-wrapper .badge-circle,
body.post-type-archive-product .shop-container .badge-circle,
body.tax-product_cat .shop-container .badge-circle,
body.tax-product_tag .shop-container .badge-circle{
  margin-left:0;
}

body.single-product .related-products-wrapper .badge-circle .badge-inner,
body.post-type-archive-product .shop-container .badge-circle .badge-inner,
body.tax-product_cat .shop-container .badge-circle .badge-inner,
body.tax-product_tag .shop-container .badge-circle .badge-inner{
  border-radius:0;
}

body.single-product .related-products-wrapper .badge-inner.on-sale,
body.post-type-archive-product .shop-container .badge-inner.on-sale,
body.tax-product_cat .shop-container .badge-inner.on-sale,
body.tax-product_tag .shop-container .badge-inner.on-sale{
  background:#ff7e00 !important;
  color:#fff;
  font-size:12px;
  line-height:22px;
  padding:0 8px;
}

body.single-product .related-products-wrapper .product-title a,
body.post-type-archive-product .shop-container .product-title a,
body.tax-product_cat .shop-container .product-title a,
body.tax-product_tag .shop-container .product-title a{
  margin:0 0 10px;
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap;
  display:block;
  font-size:14px;
  color:#0f8ad8;
  font-weight:500;
}

body.single-product .related-products-wrapper .price,
body.post-type-archive-product .shop-container .price,
body.tax-product_cat .shop-container .price,
body.tax-product_tag .shop-container .price{
  display:flex !important;
  flex-direction:row-reverse;
  justify-content:center;
  margin:0;
}

body.single-product .related-products-wrapper .price-wrapper ins .woocommerce-Price-amount,
body.single-product .related-products-wrapper .price-wrapper > .price > .woocommerce-Price-amount,
body.post-type-archive-product .shop-container .price-wrapper ins .woocommerce-Price-amount,
body.post-type-archive-product .shop-container .price-wrapper > .price > .woocommerce-Price-amount,
body.tax-product_cat .shop-container .price-wrapper ins .woocommerce-Price-amount,
body.tax-product_cat .shop-container .price-wrapper > .price > .woocommerce-Price-amount,
body.tax-product_tag .shop-container .price-wrapper ins .woocommerce-Price-amount,
body.tax-product_tag .shop-container .price-wrapper > .price > .woocommerce-Price-amount{
  font-size:15px;
  font-weight:700;
  color:#ff7e00 !important;
}

body.single-product .related-products-wrapper .price-wrapper del .woocommerce-Price-amount,
body.post-type-archive-product .shop-container .price-wrapper del .woocommerce-Price-amount,
body.tax-product_cat .shop-container .price-wrapper del .woocommerce-Price-amount,
body.tax-product_tag .shop-container .price-wrapper del .woocommerce-Price-amount{
  color:#777777;
  font-size:13px;
  font-weight:400;
  margin-left:10px;
}

/* Neo nút add-to-cart theo ô cột ngoài (div.col.product), không theo .col-inner / .box / .box-text (Flatsome đều position:relative). */
body.single-product .related-products-wrapper .product.type-product,
body.post-type-archive-product .shop-container .product.type-product,
body.tax-product_cat .shop-container .product.type-product,
body.tax-product_tag .shop-container .product.type-product,
body.post-type-archive-product .product.type-product,
body.tax-product_cat .product.type-product,
body.tax-product_tag .product.type-product{
  position:relative;
}

body.single-product .related-products-wrapper .product.type-product .col-inner,
body.post-type-archive-product .shop-container .product.type-product .col-inner,
body.tax-product_cat .shop-container .product.type-product .col-inner,
body.tax-product_tag .shop-container .product.type-product .col-inner,
body.post-type-archive-product .product.type-product .col-inner,
body.tax-product_cat .product.type-product .col-inner,
body.tax-product_tag .product.type-product .col-inner{
  position:static !important;
}

body.single-product .related-products-wrapper .product.type-product .product-small.box,
body.post-type-archive-product .shop-container .product.type-product .product-small.box,
body.tax-product_cat .shop-container .product.type-product .product-small.box,
body.tax-product_tag .shop-container .product.type-product .product-small.box,
body.post-type-archive-product .product.type-product .product-small.box,
body.tax-product_cat .product.type-product .product-small.box,
body.tax-product_tag .product.type-product .product-small.box,
body.single-product .related-products-wrapper .product.type-product .box-text.box-text-products,
body.post-type-archive-product .shop-container .product.type-product .box-text.box-text-products,
body.tax-product_cat .shop-container .product.type-product .box-text.box-text-products,
body.tax-product_tag .shop-container .product.type-product .box-text.box-text-products,
body.post-type-archive-product .product.type-product .box-text.box-text-products,
body.tax-product_cat .product.type-product .box-text.box-text-products,
body.tax-product_tag .product.type-product .box-text.box-text-products{
  position:static !important;
}

body.post-type-archive-product .shop-container .product.type-product .box-text.box-text-products,
body.tax-product_cat .shop-container .product.type-product .box-text.box-text-products,
body.tax-product_tag .shop-container .product.type-product .box-text.box-text-products,
body.post-type-archive-product .product.type-product .box-text.box-text-products,
body.tax-product_cat .product.type-product .box-text.box-text-products,
body.tax-product_tag .product.type-product .box-text.box-text-products,
body.single-product .related-products-wrapper .product.type-product .box-text.box-text-products{
  padding-bottom:72px !important;
  overflow:visible !important;
}

body.post-type-archive-product .shop-container .box-text.box-text-products .price-wrapper,
body.tax-product_cat .shop-container .box-text.box-text-products .price-wrapper,
body.tax-product_tag .shop-container .box-text.box-text-products .price-wrapper,
body.single-product .related-products-wrapper .box-text.box-text-products .price-wrapper{
  margin-bottom:20px !important;
}

body.single-product .related-products-wrapper .add-to-cart-button,
body.post-type-archive-product .shop-container .add-to-cart-button,
body.tax-product_cat .shop-container .add-to-cart-button,
body.tax-product_tag .shop-container .add-to-cart-button,
body.post-type-archive-product .product.type-product .add-to-cart-button,
body.tax-product_cat .product.type-product .add-to-cart-button,
body.tax-product_tag .product.type-product .add-to-cart-button{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:0;
  position:absolute !important;
  left:50%;
  transform:translateX(-50%);
  bottom:10px;
  width:calc(100% - 24px);
  max-width:100%;
  z-index:5;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 0.2s ease, visibility 0.2s ease;
}

body.single-product .related-products-wrapper .product-small:hover .add-to-cart-button,
body.single-product .related-products-wrapper .product-small:focus-within .add-to-cart-button,
body.post-type-archive-product .shop-container .product-small:hover .add-to-cart-button,
body.post-type-archive-product .shop-container .product-small:focus-within .add-to-cart-button,
body.tax-product_cat .shop-container .product-small:hover .add-to-cart-button,
body.tax-product_cat .shop-container .product-small:focus-within .add-to-cart-button,
body.tax-product_tag .shop-container .product-small:hover .add-to-cart-button,
body.tax-product_tag .shop-container .product-small:focus-within .add-to-cart-button,
body.post-type-archive-product .shop-container .has-hover:hover .add-to-cart-button,
body.post-type-archive-product .shop-container .has-hover:focus-within .add-to-cart-button,
body.tax-product_cat .shop-container .has-hover:hover .add-to-cart-button,
body.tax-product_cat .shop-container .has-hover:focus-within .add-to-cart-button,
body.tax-product_tag .shop-container .has-hover:hover .add-to-cart-button,
body.tax-product_tag .shop-container .has-hover:focus-within .add-to-cart-button,
body.post-type-archive-product .product.type-product.has-hover:hover .add-to-cart-button,
body.post-type-archive-product .product.type-product.has-hover:focus-within .add-to-cart-button,
body.tax-product_cat .product.type-product.has-hover:hover .add-to-cart-button,
body.tax-product_cat .product.type-product.has-hover:focus-within .add-to-cart-button,
body.tax-product_tag .product.type-product.has-hover:hover .add-to-cart-button,
body.tax-product_tag .product.type-product.has-hover:focus-within .add-to-cart-button{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

@media (hover:none){
  body.single-product .related-products-wrapper .add-to-cart-button,
  body.post-type-archive-product .shop-container .add-to-cart-button,
  body.tax-product_cat .shop-container .add-to-cart-button,
  body.tax-product_tag .shop-container .add-to-cart-button,
  body.post-type-archive-product .product.type-product .add-to-cart-button,
  body.tax-product_cat .product.type-product .add-to-cart-button,
  body.tax-product_tag .product.type-product .add-to-cart-button{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .section-products .product.type-product .add-to-cart-button,
  .section-products .product.type-product .product-action,
  .row.products-items .product.type-product .add-to-cart-button,
  .row.products-items .product.type-product .product-action,
  .row .col:has(> .col-inner > .product-small.box) .add-to-cart-button,
  .row .col:has(> .col-inner > .product-small.box) .product-action{
    pointer-events:auto;
  }

  .section-products .product.type-product .add-to-cart-button .button,
  .section-products .product.type-product .product-action .btn-views,
  .section-products .product.type-product .product-action .btn-buy,
  .row.products-items .product.type-product .add-to-cart-button .button,
  .row.products-items .product.type-product .product-action .btn-views,
  .row.products-items .product.type-product .product-action .btn-buy,
  .row .col:has(> .col-inner > .product-small.box) .add-to-cart-button .button,
  .row .col:has(> .col-inner > .product-small.box) .product-action .btn-views,
  .row .col:has(> .col-inner > .product-small.box) .product-action .btn-buy{
    opacity:1 !important;
  }
}

body.single-product .related-products-wrapper .add-to-cart-button .button,
body.post-type-archive-product .shop-container .add-to-cart-button .button,
body.tax-product_cat .shop-container .add-to-cart-button .button,
body.tax-product_tag .shop-container .add-to-cart-button .button,
body.post-type-archive-product .product.type-product .add-to-cart-button .button,
body.tax-product_cat .product.type-product .add-to-cart-button .button,
body.tax-product_tag .product.type-product .add-to-cart-button .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  height:28px;
  line-height:28px;
  background:#fff !important;
  border:1px solid #ebebeb;
  padding:0 10px;
  box-shadow:none;
  font-size:12px;
  text-transform:none;
  color:#9d9d9d;
}

body.single-product .related-products-wrapper .add-to-cart-button .button::before,
body.post-type-archive-product .shop-container .add-to-cart-button .button::before,
body.tax-product_cat .shop-container .add-to-cart-button .button::before,
body.tax-product_tag .shop-container .add-to-cart-button .button::before,
body.post-type-archive-product .product.type-product .add-to-cart-button .button::before,
body.tax-product_cat .product.type-product .add-to-cart-button .button::before,
body.tax-product_tag .product.type-product .add-to-cart-button .button::before{
  content:"\f07a";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  margin-right:6px;
  font-size:11px;
}

body.single-product .related-products-wrapper .add-to-cart-button .button:hover,
body.post-type-archive-product .shop-container .add-to-cart-button .button:hover,
body.tax-product_cat .shop-container .add-to-cart-button .button:hover,
body.tax-product_tag .shop-container .add-to-cart-button .button:hover,
body.post-type-archive-product .product.type-product .add-to-cart-button .button:hover,
body.tax-product_cat .product.type-product .add-to-cart-button .button:hover,
body.tax-product_tag .product.type-product .add-to-cart-button .button:hover{
  background:#ff7e00 !important;
  color:#fff !important;
  border-color:#ff7e00 !important;
}

body.single-product .related-products-wrapper .add-to-cart-button .button.is-outline:hover,
body.post-type-archive-product .shop-container .add-to-cart-button .button.is-outline:hover,
body.tax-product_cat .shop-container .add-to-cart-button .button.is-outline:hover,
body.tax-product_tag .shop-container .add-to-cart-button .button.is-outline:hover,
body.post-type-archive-product .product.type-product .add-to-cart-button .button.is-outline:hover,
body.tax-product_cat .product.type-product .add-to-cart-button .button.is-outline:hover,
body.tax-product_tag .product.type-product .add-to-cart-button .button.is-outline:hover{
  background:#ff7e00 !important;
  border-color:#ff7e00 !important;
  color:#fff !important;
}

#shop-sidebar .widget .is-divider.small{
  display:none !important;
}

body.single-product .related-products-wrapper .quick-view,
body.post-type-archive-product .shop-container .quick-view,
body.tax-product_cat .shop-container .quick-view,
body.tax-product_tag .shop-container .quick-view{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:35px;
  line-height:35px !important;
  padding:0 15px !important;
  font-size:14px;
  font-weight:500;
  text-transform:none !important;
  color:#323c42;
  background:#fff;
  border:1px solid #ebebeb !important;
}

body.single-product .related-products-wrapper .quick-view::before,
body.post-type-archive-product .shop-container .quick-view::before,
body.tax-product_cat .shop-container .quick-view::before,
body.tax-product_tag .shop-container .quick-view::before{
  content:"\f00e";
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  color:#a3a3a3;
  padding-right:10px;
  border-right:1px solid #ebebeb;
}

body.single-product .related-products-wrapper .quick-view:hover,
body.post-type-archive-product .shop-container .quick-view:hover,
body.tax-product_cat .shop-container .quick-view:hover,
body.tax-product_tag .shop-container .quick-view:hover{
  background:#ff7e00 !important;
  color:#fff !important;
  border-color:#ff7e00 !important;
}

body.single-product .related-products-wrapper .quick-view:hover::before,
body.post-type-archive-product .shop-container .quick-view:hover::before,
body.tax-product_cat .shop-container .quick-view:hover::before,
body.tax-product_tag .shop-container .quick-view:hover::before{
  color:#fff !important;
  border-right-color:rgba(255,255,255,.45);
}

@media (max-width:575.98px){
  body.post-type-archive-product .shop-container .price,
  body.tax-product_cat .shop-container .price,
  body.tax-product_tag .shop-container .price{
    flex-direction:column-reverse !important;
    align-items:center;
    gap:2px;
  }

  body.post-type-archive-product .shop-container .price del,
  body.tax-product_cat .shop-container .price del,
  body.tax-product_tag .shop-container .price del,
  body.post-type-archive-product .shop-container .price ins,
  body.tax-product_cat .shop-container .price ins,
  body.tax-product_tag .shop-container .price ins,
  body.post-type-archive-product .shop-container .price .woocommerce-Price-amount,
  body.tax-product_cat .shop-container .price .woocommerce-Price-amount,
  body.tax-product_tag .shop-container .price .woocommerce-Price-amount{
    display:block;
    white-space:nowrap;
    margin:0 !important;
  }

  body.post-type-archive-product .shop-container .add-to-cart-button .button,
  body.tax-product_cat .shop-container .add-to-cart-button .button,
  body.tax-product_tag .shop-container .add-to-cart-button .button,
  body.post-type-archive-product .product.type-product .add-to-cart-button .button,
  body.tax-product_cat .product.type-product .add-to-cart-button .button,
  body.tax-product_tag .product.type-product .add-to-cart-button .button{
    min-height:26px;
    height:26px;
    line-height:26px;
    padding:0 8px;
    font-size:11px;
  }
}

@media (max-width:575.98px){
  body.single-product .product-price-container{
    width:auto;
    flex:0 0 0;
    min-width:0;
  }

  body.single-product .product-info{
    padding:0 15px;
  }

  body.single-product form.cart{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
  }

  body.single-product .single_add_to_cart_button{
    width:100%;
  }

  body.single-product form.cart .quantity{
    width:70px;
    margin-right:0;
    align-self:flex-start;
  }

  body.single-product form.cart .qty{
    width:70px !important;
    max-width:70px !important;
    text-align:center !important;
  }

  body.single-product .col-price .col-inner{
    padding:15px;
    flex-direction:column-reverse;
    justify-content:start;
    align-items:start;
  }

  body.single-product .add-to-cart-container{
    width:100%;
    margin-top:20px;
  }

  body.single-product .add-to-cart-container .qty{
    height:60px !important;
    margin-bottom:10px;
  }

  body.single-product form.cart .ux-quantity__button{
    transform:none !important;
  }

  body.single-product .service_product{
    border-bottom:none;
  }

  body.single-product .woocommerce-variation-add-to-cart{
    flex-direction:column;
  }

  body.single-product .woocommerce-tabs .product-tabs{
    background:#fff;
  }

  body.single-product .woocommerce-tabs .product-tabs > li{
    border:1px solid #ebebeb;
    background:#fff;
    margin-bottom:20px;
    text-align:center;
    width:100%;
  }
}

/* --- Trang liên hệ: khối icon + CF7 BEM .xc-page-contact-form --- */
.frame-gg p{
  margin:0 !important;
  height:546px;
  max-width:100%;
}

.frame-gg iframe{
  display:block;
  width:100% !important;
  height:100% !important;
  border:0;
}

@media (max-width:849px){
  .frame-gg p{
    height:360px;
  }
}

@media (max-width:575.98px){
  .frame-gg p{
    height:260px;
  }
}

.single-contact .contact-icon{
  border-radius:50%;
  color:#fff;
  background:#0f8ad8;
  font-size:20px;
  height:50px;
  margin:0 auto 15px;
  line-height:50px;
  display:block;
  width:50px;
  transition:0.3s;
}

.single-contact .title-contact{
  color:#323c42;
  font-size:16px;
  font-weight:700;
  margin-bottom:15px;
}

.single-contact a{
  color:#323c42;
  font-size:16px;
  line-height:20px;
  word-break:break-word;
}

.title-head-contact h1{
  font-weight:700;
  margin:0;
  padding:0 0 25px;
  font-size:16px;
  color:#323c42;
  text-transform:uppercase;
}

.title-head-contact,
.section-page-contact .label-aria{
  padding:0 15px;
}

.section-page-contact .col{
  padding:0;
}

.section-page-contact .xc-page-contact-form .wpcf7-form-control{
  box-shadow:none !important;
}

.section-page-contact .xc-page-contact-form__grid{
  display:flex;
  flex-wrap:wrap;
  margin:0 -15px;
}

.section-page-contact .xc-page-contact-form__grid + .xc-page-contact-form__grid{
  margin-top:0;
}

.section-page-contact .xc-page-contact-form__field{
  flex:0 0 50%;
  max-width:50%;
  padding:0 15px;
  margin-bottom:15px;
  color:#323c42;
}

.section-page-contact .xc-page-contact-form__field--half{
  flex:0 0 50%;
  max-width:50%;
}

.section-page-contact .xc-page-contact-form__label{
  display:block;
  width:100%;
  font-weight:700;
  font-size:.9em;
  margin-bottom:.4em;
  color:#222;
}

.section-page-contact .xc-page-contact-form__control .wpcf7-form-control-wrap{
  display:block;
}

.section-page-contact .xc-page-contact-form__input.wpcf7-text,
.section-page-contact .xc-page-contact-form__input.wpcf7-email,
.section-page-contact .xc-page-contact-form__input.wpcf7-tel,
.section-page-contact input.xc-page-contact-form__input{
  border-radius:0 !important;
  font-size:14px !important;
  color:#323c42 !important;
  height:40px !important;
  padding:0 15px !important;
  border:1px solid #e1e1e1 !important;
  background:#fff !important;
  width:100%;
}

.section-page-contact .xc-page-contact-form__textarea{
  border-radius:0 !important;
  font-size:14px !important;
  color:#323c42 !important;
  padding:10px 15px !important;
  border:1px solid #e1e1e1 !important;
  background:#fff !important;
  width:100%;
  min-height:120px;
}

.section-page-contact .xc-page-contact-form__message{
  margin:0 -15px;
  padding:0;
}

.section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__label,
.section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__control,
.section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__actions{
  padding:0 15px;
}

.section-page-contact .xc-page-contact-form__actions{
  margin-top:12px;
}

.section-page-contact .xc-page-contact-form__actions .wpcf7-spinner{
  margin-left:8px;
}

.section-page-contact .xc-page-contact-form__submit{
  border-radius:0;
  border:1px solid #0f8ad8;
  background:#0f8ad8;
  color:#fff;
  padding:0 20px;
  font-size:12px;
  transition:color 300ms ease-in-out, background-color 300ms ease-in-out;
  font-weight:400;
  text-transform:uppercase;
  height:40px;
  line-height:39px;
  min-width:80px;
  cursor:pointer;
}

.section-page-contact .xc-page-contact-form__submit:hover{
  color:#fff;
  box-shadow:inset 0 0 0 100px rgba(0,0,0,.08);
}

@media (min-width:576px) and (max-width:1024px){
  .section-page-contact{
    padding-top:0 !important;
  }

  .section-page-contact .xc-page-contact-form__field,
  .section-page-contact .xc-page-contact-form__field--half{
    flex:0 0 100%;
    max-width:100%;
    padding:0;
  }

  .section-page-contact .xc-page-contact-form__grid{
    margin:0;
  }

  .section-page-contact .xc-page-contact-form__message{
    margin:0;
    padding:0;
  }

  .section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__label,
  .section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__control,
  .section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__actions{
    padding:0;
  }

  .section-page-contact .section-content{
    max-width:100% !important;
    padding:0;
  }

  .section-page-contact .section-content .row{
    max-width:720px;
    padding:0 15px;
  }
}

@media (max-width:575.98px){
  .section-page-contact .xc-page-contact-form__field,
  .section-page-contact .xc-page-contact-form__field--half{
    flex:0 0 100%;
    max-width:100%;
    padding:0;
  }

  .section-page-contact .xc-page-contact-form__grid{
    margin:0;
  }

  .section-page-contact .xc-page-contact-form__message{
    margin:0;
    padding:0;
  }

  .section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__label,
  .section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__control,
  .section-page-contact .xc-page-contact-form__message > .xc-page-contact-form__actions{
    padding:0;
  }

  .section-page-contact .section-content .row{
    padding-left:15px;
    padding-right:15px;
  }

  .section-page-contact form.wpcf7-form{
    padding:0;
  }

  .title-head-contact{
    padding:0 15px;
  }

  .title-head-contact h1{
    padding-bottom:20px;
  }

  .section-page-contact .section-content{
    padding:0;
  }
}

.main-menu-overlay {
  background-color: #233a48;
}

/* Mobile off-canvas (#main-menu): panel + menu, search, submenu, account, newsletter, social */
@media (max-width: 575.98px) {
  .off-canvas-left .mfp-content {
    width: 280px !important;
    max-width: min(280px, 85vw);
    background-color: #204359 !important;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.35);
  }

  #main-menu.mobile-sidebar,
  .off-canvas .mobile-sidebar {
    background-color: #204359;
    min-height: 100%;
  }

  .off-canvas .sidebar-menu,
  .off-canvas .sidebar-menu.no-scrollbar {
    padding: 0 15px 20px !important;
  }

  li.header-search-form.search-form {
    padding: 20px 0 !important;
  }

  .mobile-sidebar .searchform-wrapper form {
    margin-bottom: 0;
  }

  .mobile-sidebar input.search-field[type="search"] {
    width: 100%;
    padding: 0 50px 0 20px !important;
    border: solid 1px #305973;
    box-shadow: none;
    border-radius: 0;
    outline: none;
    height: 40px;
    min-height: 40px;
    line-height: 30px;
    background: #305973;
    color: #85a8be !important;
  }

  .mobile-sidebar input.search-field[type="search"]::placeholder {
    color: #85a8be !important;
    opacity: 1;
  }

  .mobile-sidebar .searchform-wrapper .flex-grow {
    padding: 0 !important;
  }

  .mobile-sidebar .ux-search-submit.submit-button {
    height: 40px;
    line-height: 30px;
    padding: 0;
    width: 35px;
    text-align: center;
    box-shadow: none;
    background: transparent !important;
    border-color: transparent !important;
    color: #85a8be !important;
    position: relative;
    right: 0;
    top: 0;
  }

  .mobile-sidebar .ux-search-submit::before {
    height: 20px;
    content: "";
    width: 1px;
    background: #436e89;
    position: absolute;
    top: 10px;
    left: 0;
  }

  .mobile-sidebar .ux-search-submit i,
  .mobile-sidebar .icon-search::before {
    line-height: 30px;
    font-size: 16px !important;
    color: #85a8be;
  }

  .mobile-sidebar .nav-sidebar li {
    margin: 0;
    overflow: auto;
    overflow-x: hidden;
  }

  .mobile-sidebar .nav-sidebar.nav-vertical > li {
    padding: 0;
  }

  .mobile-sidebar .nav-sidebar li > a,
  .mobile-sidebar .nav-sidebar .account-item > a.account-link {
    padding: 15px 48px 15px 0 !important;
    font-size: 16px;
    line-height: 29px;
    display: block;
    float: none;
    width: 100%;
    color: #85a8be !important;
    text-decoration: none;
  }

  .mobile-sidebar .nav-sidebar .header-newsletter-item > a,
  .mobile-sidebar .nav-sidebar .header-newsletter-item .header-newsletter-title {
    color: #85a8be !important;
  }

  .mobile-sidebar .header-newsletter-item .icon-envelop {
    color: #85a8be;
    margin-right: 8px;
  }

  .mobile-sidebar .nav-sidebar li.current-menu-item > a,
  .mobile-sidebar .nav-sidebar li.current_page_item > a,
  .mobile-sidebar .woocommerce-MyAccount-navigation-link.is-active > a {
    color: #ff7e00 !important;
  }

  .mobile-sidebar .nav-sidebar.nav-vertical > li + li {
    border: none;
    border-top: solid 1px #2b5168;
  }

  .mobile-sidebar .nav-sidebar.nav-vertical > li:nth-child(2) {
    border-top: none !important;
  }

  .mobile-sidebar .sub-menu.children,
  .mobile-sidebar ul.children {
    padding: 0 !important;
    margin: 0;
  }

  .mobile-sidebar .sub-menu.children > li > a,
  .mobile-sidebar ul.children > li > a {
    padding: 12px 15px 12px 12px !important;
    font-size: 15px;
    line-height: 26px;
    display: block;
    width: 100%;
    color: #85a8be !important;
    text-decoration: none;
  }

  .mobile-sidebar .toggle {
    position: absolute;
    right: 0;
    top: 10px;
    color: #85a8be !important;
  }

  .mobile-sidebar .toggle i {
    font-size: 1.25em;
  }

  .mobile-sidebar .ux-sidebar-menu-icon {
    margin-right: 10px !important;
  }

  .mobile-sidebar .nav-vertical > li.menu-item-has-children,
  .mobile-sidebar .nav-vertical > li.has-child {
    /* flex-wrap: nowrap keeps submenu on one row with link + toggle; use wrap so submenu stacks below */
    flex-wrap: wrap;
    position: relative;
  }

  .mobile-sidebar .nav-sidebar .sub-menu.children,
  .mobile-sidebar .nav-sidebar ul.children {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    order: 3;
  }

  .mobile-sidebar .header-social-icons {
    padding: 15px 0 !important;
  }

  .mobile-sidebar .header-social-icons .social-icons {
    justify-content: flex-start;
    gap: 8px;
  }

  .mobile-sidebar .header-social-icons .icon {
    color: #85a8be !important;
  }

  .mobile-sidebar .header-social-icons .icon:hover {
    color: #ff7e00 !important;
  }

  .mobile-sidebar .header-social-icons i {
    font-size: 18px;
  }
}

/* Mini cart (header dropdown + off-canvas): inner content sát lề */
.nav-dropdown .widget_shopping_cart .widget_shopping_cart_content,
.off-canvas-cart .widget_shopping_cart .widget_shopping_cart_content,
#cart-popup .widget_shopping_cart .widget_shopping_cart_content {
  padding: 16px;
}

/* Mobile: pin Flatsome off-canvas filter button at right center */
@media (max-width: 849px) {
  body.post-type-archive-product .category-filtering.category-filter-row.show-for-medium,
  body.tax-product_cat .category-filtering.category-filter-row.show-for-medium,
  body.tax-product_tag .category-filtering.category-filter-row.show-for-medium {
    display: block !important;
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    margin: 0;
  }

  body.post-type-archive-product .category-filtering .filter-button,
  body.tax-product_cat .category-filtering .filter-button,
  body.tax-product_tag .category-filtering .filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ff7e00;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  }

  body.post-type-archive-product .category-filtering .filter-button i,
  body.tax-product_cat .category-filtering .filter-button i,
  body.tax-product_tag .category-filtering .filter-button i {
    color: #fff !important;
  }

  .xc-floating-filter-button {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: #ff7e00;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  .xc-floating-filter-button i {
    font-size: 14px;
    color: #fff !important;
  }

  .xc-floating-filter-button.is-active {
    background: #323c42;
  }

  .mfp-wrap #shop-sidebar {
    background: #fff;
    padding: 10px 12px;
    height: 100%;
    overflow-y: auto;
  }
}