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

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


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


}

.header-block .col-inner span {
  color: #ffffff !important;
}

.searchform {
    box-shadow: none
}
.searchform .search-field{
    height: 38px;
    border:0px;
    border-radius: 3px 0px 0px 3px;
    box-shadow: none;
}
.searchform .ux-search-submit{
    width: 38px;
    height: 38px;
    background: #fff !important;
    color: #000;
    border-radius: 0px 3px 3px 0px;
    box-shadow: none;
    border: 0px;
}
}/* Đổi màu chữ phần hotline tư vấn 24/7 thành trắng */
.header-block .col-inner * {
  color: #ffffff !important;
}
/* Đổi màu trắng cho toàn bộ phần hotline */
.header-block h3,
.header-block strong,
.header-block span,
.header-block p {
  color: #ffffff !important;
}


.TextCaptions{
    padding: 0px !important
}
/* === MOBILE (<= 849px): bật scroll ngang === */
@media (max-width: 849px){
  .scroll-flex{
    display: flex;               /* bỏ !important */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
  }
  .scroll-flex > .col,
  .scroll-flex > .ux-col{
    flex: 0 0 auto;
    min-width: 150px;
    max-width: 150px;
    scroll-snap-align: start;
  }
}

/* === TABLET & DESKTOP (>= 850px): trả về bình thường === */
@media (min-width: 850px){
  .scroll-flex{
    display: block;              /* để UX Builder tự ẩn/hiện theo lớp “Only for Mobile” */
    overflow: visible;
  }
  .scroll-flex > .col,
  .scroll-flex > .ux-col{
    min-width: unset;
    max-width: none;
    flex: 0 0 auto;
  }
}

.wbcslider_tgdd .TextCaptions .item{
    background: #fff;
    padding: 10px 0px !important;
    margin: 0px !important;
    color: #333333 !important;
    text-align: center !important;
    cursor: pointer !important;
    border-right: 1px solid #f0f0f0 !important;
    display: block;
    font-size: 12px;
    height: auto !important
}


.wbcslider_tgdd .TextCaptions .item.is-selected{
    font-weight: bold;
    border-bottom:4px solid #dc0f20;
}

.widget .is-divider{
    display: none;
}
.sidebar-inner aside.widget {
    padding: 15px;
    border: solid 1px #eee;
    border-top: none;
    margin-bottom: 0px;
    background: #fff;
}
.sidebar-inner aside.widget ul li a{
  
    padding: 0px;
}

.widget>ul>li .count{
    display: none;
}
.woocommerce-tabs .nav-tabs > li > a {
    text-transform: uppercase;
    font-size: 18px;
    background: #fff;
    color: #333;
    border:0px !important;
}/* Hiệu ứng thu nhỏ ảnh trong grid khi hover */
.col-inner .has-hover img {
  transition: transform 0.3s ease;
}

.col-inner .has-hover:hover img {
  transform: scale(0.97);
}


.woocommerce-tabs .nav-tabs > li.active > a {
    border-top-color: #dc0021;
    background: #dc0021 !important;
    color: #fff;
    border:0px !important;
}
.woocommerce-tabs .nav-tabs > li{
    margin: 0px !important;
    border:0px !important;
}
.woocommerce-tabs .nav-tabs{
    background: #fff
}
.woocommerce-tabs .nav-tabs+.tab-panels{
    border:0px;
    border-top: 1px solid #f0f0f0;
}


.yith-wcan-list li a{
    font-size: 14px;
    font-weight: 400;
    color: #333
}

.yith-wcan-list li{
    border:0px !important;
}
.yith-wcan-list li a:before{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome !important;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f096";
    margin-right: 10px;
    color: #7d7d7d;
    font-size: 13px !important
}
.yith-wcan-list li.chosen a:before{
    content: "\f046" !important;
}
#mega-menu-wrap{
    position: initial;
    background: none
}
.header-nav-main{
   position: initial; 
}
#masthead .header-inner{
    position: relative;
}
#mega-menu-title{
    font-size: 15px;
    font-weight: 600;
    height: 52px;
    line-height: 30px;
    text-transform: uppercase;
    padding-left: 15px;
    cursor: pointer;
    border-bottom: none;
    color: #222;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 20%);
    background: #fff;
}
#mega_menu{
}/* Tuỳ chỉnh menu danh mục sản phẩm */
#mega-menu-wrap {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 52px !important; /* Cho bằng với thanh menu chính */
  display: flex;
  align-items: center;
}
/* In đậm chữ "Danh mục sản phẩm" */
#mega-menu-title {
  font-weight: 700 !important;
}

/* Đẩy gần sang phải - sát phần menu kế bên */
#mega-menu-wrap {
  margin-right: 20px !important; /* Rút ngắn khoảng cách so với menu kế bên */
}

/* Thêm đường kẻ phân cách bên phải "Danh mục sản phẩm" */
#mega-menu-wrap::after {
  content: "|";
  color: #ccc;
  font-weight: 300;
  margin-left: 15px;
  font-size: 14px;
}

/* Canh giữa và thu nhỏ chữ + icon */
#mega-menu-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 0 10px !important;
  line-height: 52px !important;
  height: 52px !important;
  display: flex;
  align-items: center;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Thu nhỏ icon (3 gạch) */
#mega-menu-title i,
#mega-menu-title svg {
  font-size: 14px !important;
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* Ẩn menu danh mục ban đầu */
#mega_menu {
    display: none !important;
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    width: 260px;
    background: white;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

/* Hiện menu khi hover vào phần bọc chứa */
#mega-menu-wrap:hover #mega_menu {
    display: block !important;
}

@media(min-width: 992px){

#masthead .flex-left{
    max-width: 470px
}

#masthead .flex-right{
    min-width: 460px
}

}

.header-block{
    width: auto
}
.header-button-1 a{
    font-weight: normal;
    font-size: 10px;
}
.header-button-1 a span{
    font-size: 12px;
    text-transform: uppercase;
    display: block;
}
.header-block{
    min-width: 350px
}
.header-block p {
  font-size: 14px;
  color: #000;
}

.header-block p strong {
  color: #000;
  font-size: 16px;
  font-weight: 700;
}
.header-block .hotline .icon-box-img .icon-inner{
    line-height: 40px
}
.header-block .cuahang .icon-box-img .icon-inner{
    
}
.header-block .icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 5px
}
.header-block .cuahang .icon-box-text p{
    line-height: 29px
}
.header-main .nav > li > a .header-cart-title{
    font-weight: normal;
}
.nav-dark .is-outline, .dark .nav>li>a, .dark .nav>li.html, .dark .nav-vertical li li.menu-item-has-children>a, .dark .nav-vertical>li>ul li a, .nav-dropdown.dark>li>a, .nav-dropdown.dark .nav-column>li>a, .nav-dark .nav>li>a, .nav-dark .nav>li>button{
    color: #fff
}

.cart-item [data-icon-label]:after {
    top: 0px;
    right: 0px;
    background-color: #fff !important;
    color: #6d000e;
    box-shadow: none;
    font-weight: 500;
    opacity: 1;
    font-size: 14px;
}

.mobile-nav .image-icon img{
    width: 27px
}
#wide-nav{
    box-shadow: 2px 2px 3px rgb(0 0 0 / 10%);
}
#mega_menu>li>a{

    border: 0px;
    padding: 4px 10px;

}


#mega_menu{
    border:0px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}
#mega_menu>li:last-child{
    border-radius: 0px 0px 5px 5px
}
#mega_menu a{
    font-size: 12px
}
.sf-menu a{
    border:0px;
     padding: 6px 10px;
     font-size: 12px;
}
#mega_menu .sub-menu{
    border-radius: 3px
}
.logo-left .logo{
    margin-right: 10px
}
@media (max-width: 549px){
header #logo img {
   padding: 0px
}
}

.ux-timer span strong{
    display: none !important;
}
.ux-timer{
    width: auto !important
}
.ux-timer span {
    padding: 2px 4px !important;
    border-radius: 3px;
    background: #333;
    font-size: 14px;
    color: #fff;
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important
}


.hdevvn-show-cats .hdevvn_cats{
    display: inline-block;
    margin-bottom: 0px;
    margin-left: 10px
}
.section-title-normal a{
    padding: 5px 15px;
    background: #fff;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 0 1px rgba(0,0,0,.075);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    color: #666;
    cursor: pointer;
    -webkit-transition: .3s ease-out;
    -moz-transition: .3s ease-out;
    -ms-transition: .3s ease-out;
    -o-transition: .3s ease-out;
    transition: .3s ease-out;
    font-weight: normal;
    margin-bottom: 5px;
    margin-left: 0px
}
.section-title-normal b{
    opacity: 0
}
main .section-title-normal.section-title{
    padding:5px 10px;
    border-bottom: 0px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
}
.section-title-normal span{
    border-bottom: 0px;
    padding-bottom: 0px
}
.section-title-normal.section-title .section-title-main{
    font-size: 16px;
}


.product-small .badge-inner.on-sale{
    width: 39px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 5px;
    background-image: url(images/sticker.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 0px;
    background-color: #fff0 !important;
    margin-right: 0px
}
.product-small .badge-container{
    margin: 0px;
    left: auto;
    right: 0px
}
.product-small .product-title{
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4em;
    color: #444;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-small .product-title a{
    line-height: 18px;
    color: #333;
}
.product-small .title-wrapper{
    margin-bottom: 10px
}
.product-small.box {
    padding: 10px
}

.section-title-container{
    margin-bottom: 0px
}


.slider > .flickity-prev-next-button.previous{
    padding-right: 7px;
    border-radius: 0 5px 5px 0;
    left: -2px;
    width: 30px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #707070;
    top: 35%;
    transition: .3s;
    outline: none;
    opacity: .9;
    margin-top: 0px !important;
    transform:initial !important;
    background-color: rgba(63,63,63,.5)!important;
    box-shadow: 0 7px 10px 0 rgb(72 139 216 / 20%);

}
.slider > .flickity-prev-next-button.next{
    padding-left: 7px;
    border-radius: 5px 0 0  5px;
    right: -2px;
    width: 30px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #707070;
    top: 35%;
    transition: .3s;
    outline: none;
    opacity: .9;
    margin-top: 0px !important;
    transform:initial !important;
    background-color: rgba(63,63,63,.5)!important;
    box-shadow: 0 7px 10px 0 rgb(72 139 216 / 20%);

}
.slider .flickity-prev-next-button svg, .flickity-prev-next-button .arrow{
    fill: #fff;
}
.slider > .flickity-prev-next-button svg{
    width: 25px !important
}
.star-rating{
    font-size: 12px
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){
    box-shadow: none !important
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {

    border: 2px solid #dc0f20;
}

.box-image .box-image img{
    padding: 20px
}
.box-category .box-image{
    display: none;
}
.box-category .header-title{
    font-size: 12px;
    font-weight: 400;
    color: #4a90e2;
    text-transform: inherit;
    padding: 10px
}
.box-category .box-text{
    padding: 0px;
    border-radius: 10px
}
.product-category.col{
    padding-bottom: 0px
}

b, strong {
    font-weight: 700;
}


.product-small .badge-inner.on-sale ,  .product-main .badge-inner.on-sale {
        background-image: linear-gradient(-90deg,#ec1f1f 0%,#ff9c00 100%);
    border-radius: 10px;
    padding: 1px 7px;
    padding-left: 0;
    padding-right: 0px;
    height: 20px;
    color: #fff;
    font-weight: 600;
    left: 10px;
    z-index: 1;
    bottom: 10px;
    font-size: 11px;
    width: auto;
    display: block;
}
.product-small .badge-container,.product-main .badge-container {
    margin: 0px;
    left: auto;
    right:10px;
    top: 5px;
}
.product-small .badge-inner.on-sale:before ,.product-main .badge-inner.on-sale:before {
    content: ' ';
    display: inline-block;
    background: url(images/flash.png);
    background-size: 50% 50%;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f13500;
    border-radius: 50%;
    vertical-align: middle;
    position: relative;
    top: -1px;
    margin-right: 5px;
    left: 0px
}
.product-small .badge-inner.on-sale ,.product-main .badge-inner.on-sale{
    padding-right: 5px
}
.product-title.product_title.entry-title{
    color: #393d3f;
    font-size: 21px;
    font-weight: 700;
    display: block;
    float: left;
}

h1, h2, h3, h4, h5, h6, .heading-font {
    color: #0a0a0a;
    font-size: 100%;
}

span.amount{
    color: #e11b1e;
}
p{
    margin-bottom: 10px
}

[data-icon-label]:after, .secondary.is-underline:hover, .secondary.is-outline:hover, .icon-label, .button.secondary:not(.is-outline), .button.alt:not(.is-outline), .badge-inner.on-sale, .button.checkout, .single_add_to_cart_button, .current .breadcrumb-step{
    border-radius: 3px
}
#product-sidebar span.widget-title{
    display: block;
    width: 100%;
    background-color: #f7f7f7;
    float: left;
    text-align: center;
    text-transform: uppercase;
    border: 1px #eee solid;
    line-height: 40px;
    color: #3c3d41;
}
.recent-blog-posts-li .badge{
    width: 70px;
    height: 60px
}
#product-sidebar  a{
    font-size: 14px;
    line-height: 18px
}
#product-sidebar  span.amount{
    font-size: 14px
}
.shop-page-title .page-title-inner{
border-bottom: 2px solid #f7f7f7;
    padding-bottom: 20px;
}
footer#footer {
    font-size: 14px
}
footer#footer .widget .is-divider{
    display: none;
}
footer#footer .footer-2{
    font-size: 12px
}
.absolute-footer{
    
}
::-webkit-scrollbar {
    width: 8px;
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background: #9A9A9A;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    border-radius: 10px;
    background-color: #f5f5f5;
}



.live-chat {
    position: fixed;
    z-index: 99;
    font-size: 0;    border: 1px solid var(--primary-color);
    right: 20px;
    bottom: 70px;
}
.live-chat .items-action, .live-chat .items-action svg {
    position: relative;

}
.live-chat .items-action svg {
    max-height: 40px;
    -webkit-transition: width .3s;
    transition: width .3s;
    z-index: 9;
}
.items-icons{height: 46px;width: 46px;text-align: center; cursor: pointer; padding-top: 15px;  display: block;position: relative;align-items: center;}
.items-icons:not(:first-child):before{
    content: "";width: 36px;height: 0px;border: 1px solid var(--primary-color);position: absolute;top: 0;left: 5px;
}
.items-icons svg{margin: auto;max-height: 25px;position: relative;z-index: 9}
.live-chat .items-icons .title-action {
    height: 48px;
    line-height: 48px;
    position: absolute;
    z-index: 2;
    right: 0;
    top: -1px;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    -webkit-transition: max-width .3s ease,padding .3s ease;
    transition: max-width .3s ease,padding .3s ease;
    text-align: right;
    background: var(--primary-color);
    color: #fff;
    font-size: 17px;
	
}
.live-chat .items-icons:hover svg, .live-chat .items-icons:hover svg > *{fill: #fff;}
.live-chat .items-action .title-action b {
    font-size: 18px;
}
.live-chat .go-top.items-icons .title-action{top: -1px;}

.live-chat .items-icons:hover .title-action {
    padding: 0 65px 0 10px;
    max-width: 160px;
    width: 160px;
}
@media (max-width: 549px){.live-chat {left: 0px;bottom: 0px;width: 100%;display: block;background: #ffffff;}.live-chat > .items-icons{display: inline-block !important;width: 33.33%;border-top: none;}.items-icons:not(:first-child):before{ content: none;}.items-icons:nth-child(2){border-left: 1px solid var(--primary-color);border-right: 1px solid var(--primary-color);}.live-chat .items-icons:hover svg, .live-chat .items-icons:hover svg > *{fill: var(--primary-color);;}.live-chat .items-icons:hover .title-action { display: none;}}
footer#footer ul.menu>li+li, .widget>ul>li+li{
    border:0px;
}


.category .col.post-item .post-title {
        font-weight: 600;
    letter-spacing: 0.6px;
        font-size: 20px
}
.category .post-item{
}
.category .post-item .cat-label{
    color: #dd3333;
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 1
}
.category .post-item .post-meta {
    font-weight: 700;
    color: #ccc;
    color: #ababab;
    font-size: 12px;
    opacity: 1;
}
.recent-blog-posts-li .badge.post-date{
width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
}

#secondary .widget .is-divider{
    display: none;
}
 .breadcrumbs {
    font-size: 13px;
    position: relative;
    font-weight: 300;
}
.archive-page-header{
    margin-bottom: 30px
}
.breadcrumbs a {
    color:#e11b1e;
    font-weight: normal;
}
.dvls_maps_sidebar,.dvls_maps_header{
    background: none !important
}

.dvls_maps_wrap input.dvls-submit {
    border: 0;
    background: #000000 !important;
    height: 35px;
    padding: 0 15px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
}
.dvls_result_item {
    border:0px !important;
    background: none !important;
    padding: 2px 10px !important
}
.dvls_result_infor{
    overflow: hidden;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 13px;
    line-height: 15px;
}
.dvls_maps_row.dvls_maps_header{
    display: none
}



#comments a.btn-reviews-now {
    background-color: #f6470e;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 3px;
    /* text-transform: uppercase; */
    font-weight: 300;
    text-decoration: none;
}
span.devvn_num_reviews {
    min-width: 150px;
    color: #f6470e;
}
span.devvn_stars_value i {
    margin: 0 3px;
    color: #f57201;
}



@media(max-width: 768px){
    .hdevvn-show-cats{
        display: none;
    }
}


.header-main .nav > li > a.header-cart-link .header-cart-title{
    order: 2;
}
.header-main .nav > li > a.header-cart-link .header-cart-icon{
    order: 1;
    margin-left: 0px;
    margin-right: 10px
}
#logo img{
    margin: auto
}

#wide-nav ul li a{
    font-weight: 400
}
#wide-nav #mega_menu li a img{
    margin-right: 10px;
    height: 22px;
    filter: opacity(.5);
    width: 22px;
}
#wide-nav .header-bottom-nav li a img{
    margin-right: 5px;
}

#mega_menu>li {
    cursor: pointer;
    white-space: nowrap;
    border-top: 1px solid #dcdee3;
    text-overflow: ellipsis;
}

#mega_menu>li > a {
    display: flex;
    position: relative;
    padding: 6px 10px;
    display: -webkit-flex;
    align-items: center;
    font-size: 14px;
    color: #3f3f3f;
}



.sf-vertical.sf-arrows>li>.sf-with-ul:after{
    font-family: "FontAwesome";
    content: '\f105';
    color: #a6a6a6;
    font-size: 18px;
    position: absolute;
    right: 8px;
    transition: all .3s;
    border: 0px;
    margin: 0px !important;
    height: auto;
    width: auto;
    top: 6px;
}
#mega_menu a:hover {
    background-color: #ffffff;
    color: #fe0000;
    z-index: 999;
}
#mega_menu li:hover {
    background-color: #ffffff;
    z-index: 999;
}
.sf-vertical.sf-arrows>li:hover>.sf-with-ul:after {
    right: 3px;
    color: #f00;
}

.tinhot .box-vertical .box-image{
    display: none;
}
.tinhot .col.post-item{
    border-top: 1px solid #ededed;
}
.tinhot .col.post-item h5{
        display: block;
    overflow: hidden;
    height: 35px;
    font-weight: normal;
    line-height: 1.3em;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px
}
.box-blog-post .is-divider{
    display: none;
}
.tinhot .box-vertical .box-text{
    padding-bottom: 0px
}
.tinhot .section-title-normal.section-title{
    color: #4a90e2;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 20px;
    padding: 11px 0 8px 12px;
    background: #fff;
    border:0px;
    margin-bottom: 0px
}
.tinhot .section-title-normal.section-title span{

    font-size: 14px;
}
.product-small.col{
    background: #fff;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-small .box-image{
    margin: 20px 0px
}
.yith-wcbr-brands-logo{
    margin: 5px 0px;
    text-align: center;
}

.sanpham-hot .section-title-container .section-title-center{
    height: 45px;
   
    margin-bottom: 0px;
  
    background: var(--primary-color);
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
}
.sanpham-hot .section-title-container .section-title-center > span.section-title-main
{
	top: -10px;
    left: calc(50% - 240px);
    position: absolute;
    box-sizing: border-box;
    width: 480px;
    height: 2em;
    line-height: 2em;
    border-radius: 0.5em 0.5em 2.5em 2.5em;
    border: 2px solid #ffffff;
    background: #99040D;
   
    padding-left: 1.5em;
    padding-right: 1.5em;
    text-align: center;
    font-size: 150%;
    color: #ffffff !important;
}
.section-title-container .section-title-center b{
    opacity: 0
}
.sanpham .tabbed-content .nav{
    background:#fff;
    border-bottom: 1px solid #f3f3f3;
}
.sanpham .tabbed-content .tab-panels {
    padding-top: 0px
}

.sanpham .tabbed-content .nav li a {
    flex: 1;
    margin: 0;
    padding: 0px 10px;
    font-size: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    color: #333;
    border-right: 1px solid #f3f3f3;
    border-radius: 0px;
    font-weight: 400;
}
.sanpham .tabbed-content .nav li{
	border-top:2px solid #ffffff;
}
.sanpham .tabbed-content .nav li.active a{
    color: #fff
}
.tintuc .post-item{
    border-bottom: 1px solid #f3f3f3;
    margin-bottom: 5px
}
.tintuc .post-item:last-child{
    border-bottom: 0px;

}
.tintuc .list-small h5{
    font-weight: 400
}
.yith-wcbr-brands-logo{
    height: 32px;
    overflow: hidden;
}
.yith-wcbr-brand-thumbnail-carousel ul li{
    margin-bottom: 10px;
    transition: 0.3s;
    -webkit-box-shadow: 0 2px 4px 1px rgb(0 0 0 / 12%);
    box-shadow: 0 2px 4px 1px rgb(0 0 0 / 12%);
    border-radius: 3px;
    background: #fff;
    margin-top: 5px
}
.yith-wcbr-brand-thumbnail-carousel.shadow{
    padding: 10px
}
.yith-wcbr-brand-thumbnail-carousel h3{
    text-align: left !important;
    padding: 5px 10px;
    border-bottom: 0px;
    margin-bottom: 20px;
    border-left: 5px solid #cd0d14;
}
.yith-wcbr-brand-thumbnail-carousel .yith-wcbr-thumbnail-list{
    margin-left: -10px;
    margin-right: -10px 
}
.yith-wcbr-brand-thumbnail-carousel.shadow.horizontal .yith-wcbr-thumbnail-list ul li.swiper-slide-visible a:after, .yith-wcbr-brand-thumbnail-carousel.centered-title.horizontal .yith-wcbr-thumbnail-list ul li.swiper-slide-visible a:after{
    display: none;
}

.yith-wcbr-brand-thumbnail .yith-wcbr-thumbnail-list ul li{
    margin: 0px;
    margin-bottom: 10px
}
.sidebar-inner aside.widget ul li a {
    padding: 0px;
    min-height: 30px;
    line-height: 30px;
}
.sidebar-inner aside.widget .yith-wcbr-thumbnail-list ul li a {
    padding: 0px;
    min-height: 40px;
    line-height: 40px;
}
.yith-wcbr-brand-thumbnail.default .yith-wcbr-thumbnail-list:before{
    display: none;
}
#shop-sidebar{
    background: #fff
}


#shop-sidebar span.widget-title{
    display: block;
    margin-bottom: 15px
}
.product-main .product-gallery,.product-main .product-info{
    padding: 15px !important;
    background: #fff
}

@media(min-width: 850px){
    .product-main .product-gallery{
    border-radius: 8px 0px 0px 8px;
    margin-left: 12px
    }
  
}

.product-title.product_title.entry-title{
overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: 3.775rem;
    min-height: 3.775rem;
    font-size: 24px;
    line-height: 1.33;
    display: unset;
    word-break: break-word;
    font-weight: normal;
}
.product-info .price-wrapper {
    border-bottom: 1px dashed rgb(224, 224, 224);
        margin-bottom: 20px;
}
.product-info .product-short-description {
    font-size: 13px;
    display: inline-block;
    border: 1px solid rgb(20, 53, 195);
    background-color: rgba(20, 53, 195, 0.08);
    padding: 0.5rem 1.25rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
}

.css-18wywdr {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0px 36px 36px 0px;
    border-color: transparent rgb(20, 53, 195) transparent transparent;
}
.css-th3zma {
    position: absolute;
    top: 0px;
    right: 6px;
    color: rgb(255, 255, 255);
    z-index: 0;
    font-size: 10px;
}
.product-section h5{
        color: #333;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.product-section h5:before{
       position: absolute;
    left: 0;
    margin-top: 2px;
    width: 3px;
    height: 21px;
    background-color: #333;
    content: "" 
}

.product-gallery .flickity-button{
    display: none !important;
}
.product-thumbnails .is-nav-selected a {
    border-color: rgb(20 53 195);
    padding: 10px;
    border-radius: 5px
}
.product-thumbnails a {
       padding: 10px; 
}

.product-main .product-info {
    border-radius: 0px 8px 8px 0px;
}
#product-sidebar aside {
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    position: relative;
    padding: 10px;
}
.product-section {
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    padding: 15px;
    margin-bottom: 20px;
}
.page-title:not(.featured-title)+main .product-main{
    padding-top: 0px
}
.category-page-row{
    padding-top: 0px
}
#product-sidebar .icon-box {
    font-size: 14px;
}
footer span.widget-title{
    display: block;
    margin-bottom: 10px
}

.post-sidebar aside {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}
.post-item .box-text {
    background: #fff;
    border-radius: 0px 8px 8px 0px;
}

.blog-single article.post {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}
body.page-template-default #content > .row-main > .large-12 > .col-inner{
    background: #fff;
    border-radius: 8px;
    padding: 20px; 
}

.nav.nav-vertical li img{
    width: 22px;
    margin-right: 10px
}
.off-canvas .mobile-sidebar-slide{
    background: #fff
}
.off-canvas .mobile-sidebar-slide .nav.nav-vertical li a{
    color: #333;
    font-weight: 400;
}
@media(max-width: 768px){
footer .footer-1 .widget > div{
    display: none;
}
}
.devvn-popup-content-desc .thongso{
    display: none;
}
.ot-overplay.active-menu main#main:after{
    z-index: 9
}
/* Mobile + Tablet: Header kéo dài xuống 50px + Banner 95% */
@media (max-width:1024px){

  /* Tắt mọi shape/::after cũ nếu có */
  .header-main::after,
  .header-bottom::after,
  .site-header::after{ content:none !important; }

  /* Header (bao 2 hàng) */
  #header.header-wrapper,
  .header-wrapper,
  .site-header{
    position: sticky; top:0; z-index:9999;
    background:#2f2f2f; /* đen than chì */
  }

  /* KÉO DÀI header XUỐNG THÊM 50px – đẩy nội dung xuống, KHÔNG chồng lên banner */
  #header.header-wrapper::after,
  .header-wrapper::after,
  .site-header::after{
    content:"";
    display:block;
    height:2px;          /* ← 50px như yêu cầu */
    background:#2f2f2f;
  }

  /* Banner thu nhỏ 5% và căn giữa */
  .hero-banner{ width:97% !important; margin:0 auto !important; padding-top:0 !important; }
  .hero-banner img{ width:100%; height:auto; display:block; }
}
/* Mobile + Tablet: mảng trắng = đúng chiều rộng ô search, không full */
@media (max-width:1024px){
  :root{
    --edge:   6px;   /* khoảng hở hai mép header */
    --shrink: 3vw;   /* rút ngắn so với full màn hình (tăng/giảm tùy ý) */
    --barH:   34px;  /* cao của input */
    --radius: 10px;  /* bo nhẹ mảng trắng */
    --padL:   14px;
    --padR:   44px;
  }

  /* 1) Bỏ nền trắng ở hàng chứa search (khiến header lộ ra hai bên) */
  #header .header-wrapper .header-bottom,
  #header .header-wrapper .header-bottom .container,
  #header .header-wrapper .header-bottom .flex-row{
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }

  /* 2) MẢNG TRẮNG chỉ bọc quanh search, rộng = search và căn giữa */
  #header .header-wrapper :is(.searchform-wrapper, .header-search){
    width: calc(100vw - var(--shrink) - (var(--edge)*2)
           - env(safe-area-inset-left) - env(safe-area-inset-right)) !important;
    margin: 8px auto 10px !important;        /* CĂN GIỮA */
    background: #ffffff !important;          /* mảng trắng thu gọn */
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    padding: 1.3px !important;                 /* viền trắng quanh input (tuỳ) */
  }

  /* 3) Bản thân form/input trong suốt để thấy mảng trắng ở ngoài */
  #header .header-wrapper :is(form.searchform, form.search-form, form.ux-search-form){
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: relative;
  }
  #header .header-wrapper :is(form.searchform, form.search-form, form.ux-search-form)
                           :is(input[type="search"], input.search-field){
    height: var(--barH) !important;
    line-height: var(--barH) !important;
    padding: 0 var(--padR) 0 var(--padL) !important;
    background: transparent !important;
    border: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4) Nút kính lúp nằm trong mảng trắng, không tạo mảng màu khác */
  #header .header-wrapper :is(form.searchform, form.search-form, form.ux-search-form)
                           :is(.button.icon, .submit-button, button[type="submit"]){
    position: absolute !important;
    right: 10px !important;
    top: 50% !important; transform: translateY(-50%) !important;
    height: var(--barH) !important; width: var(--barH) !important;
    background: transparent !important; border: 0 !important;
    box-shadow: none !important;
  }
}