/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
.text-footer ing{
	background:white
}
/*************** ADD CUSTOM CSS HERE.   ***************/
.sidebar-menu {
	padding:0 !important
}
.sidebar-menu .off-canvas:not(.off-canvas-center) .nav-vertical li>a{
	    padding-left: 10px;
}
.nav-sidebar  .menu-item a{
		font-size:14px !important;
	        color: #333 !important;
      text-transform: uppercase;
	    font-family: 'Roboto', sans-serif;
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content{
	background-color:white !important
}
.nav-sidebar.nav-vertical>li+li{
	font-size:14px !important;
	        color: #333 !important;
      
        margin: 0;
        border: 0;
        border-bottom: 1px solid #ccc;
        font-weight: 500;
       
	    font-family: 'Roboto', sans-serif;
	padding:0 !important
	
}
.sidebar-menu .custom-shortcode-logo{
	max-width:180px;
	padding:0 10px !important;
}
.menu-gia > a{
	color:red !important
}
.tieudehome h2,h1{
	font-family: "Noto Serif", sans-serif !important;
}
html,
body,
body * {
    font-family: Arial, Helvetica, sans-serif ;
}
.header-bottom-nav{
	justify-content:start !important
}
.header-bottom-nav .nav li:first-child{
	margin-left: 11px !important
}
/* =========================================================
   SUBMENU 4 CẤP - FLATSOME
   ========================================================= */

.header-bottom .nav > li > .sub-menu {
    position: absolute;
    min-width: 240px;
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
}

/* Tất cả li có submenu */
.header-bottom .nav .sub-menu li {
    position: relative;
}

/* Link có submenu */
.header-bottom .nav .sub-menu li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mũi tên submenu */
.header-bottom .nav .sub-menu li.menu-item-has-children > a:after {
    content: "\f054";
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    font-size: 10px;
    line-height: 1;
    margin-left: 10px;
}

/* =========================================================
   CẤP 3 + CẤP 4
   ========================================================= */

/* Ẩn submenu cấp sâu */
.header-bottom .nav .sub-menu li > .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #d2d2d2;
    z-index: 9999;
}

/* Hover cấp 2 -> mở cấp 3 */
.header-bottom .nav .sub-menu li:hover > .sub-menu {
    display: block;
}

/* Hover cấp 3 -> mở cấp 4 */
.header-bottom .nav .sub-menu li > .sub-menu li:hover > .sub-menu {
    display: block;
}

/* =========================================================
   STYLE CHUNG CHO CẤP 2 - 3 - 4
   ========================================================= */

.header-bottom .nav-dropdown > li > a,
.header-bottom .nav-dropdown .sub-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    border-bottom: 0 !important;
    color: #0a0a0a !important;
    font-size: 16px !important;
    font-weight: normal !important;
    text-transform: none !important;
    line-height: 1.4;
}

/* Hover */
.header-bottom .nav-dropdown > li > a:hover,
.header-bottom .nav-dropdown .sub-menu > li > a:hover {
    color: var(--primary-color) !important;
}

/* =========================================================
   NAV DROPDOWN COL
   ========================================================= */

.nav-dropdown > li.nav-dropdown-col {
    display: block;
    width: 100%;
    border-right: 0;
}

/* Nếu Flatsome tạo ul bên trong nav-dropdown-col */
.nav-dropdown .nav-dropdown-col > ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #d2d2d2;
    z-index: 9999;
}

/* Hover mở submenu */
.header-nav li.nav-dropdown-col:hover > ul {
    display: block !important;
}

/* =========================================================
   MŨI TÊN DROPDOWN
   ========================================================= */

.nav-dropdown-has-arrow li.has-dropdown:before {
    border-width: 10px;
    margin-left: -10px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */


.search  .shop-page-title{
    display: none;
}
.img-has-hover img:hover{
	    box-shadow: 0 0 15px 0 #ccc;
    transition: .4s all;
    transform: translateY(-5px);
}
body{
    scroll-behavior: smooth;
}
.text11-footer h2{
    font-size: 28px;
}
    .text11-footer p{
    font-size: 14px;
}
.row-menu .col{
	padding: 14px 10px;
	padding-left:20px;
}
.post-sidebar ul{
	    padding-left: 0px !important;
}
.icon-box-menu{
	display:flex;
	justify-content:center;
	align-items:center;
}
.icon-box-menu .icon-box-img img{
	min-height:40px;
	padding-top:0;
	border-radius:50%
}
.row-menu > .col > .col-inner > p{
	    font: normal 14px 'Roboto', 'Noto Serif', sans-serif;
	font-weight:600
}
.icon-box-menu 
.nopaddingbottom > .col{
    padding-bottom: 0 ;
}
.copaddingmobile .col{

}
.section1-footer  p{
    margin-bottom:0;
}
.header-main span {
  font-size: 14px;
}
.tieudehome h2{
    font-size: 23px;
    font-weight: 700;
        margin-top: 20px;
    margin-bottom: 15px;
	
}
.post-sidebar .widget-area {
    position: sticky;
    top: 120px;

}
/* CSS cho Banner Section 1 */
.section-banners .banner-main .img-inner {
    height: 100%;
}
.section-banners .banner-main img {
    height: 100%;
    object-fit: cover;
}
.section-banners .banner-sub .img-inner {
    height: 100%;
}
.section-banners .banner-sub img {
    height: 100%;
    object-fit: cover;
}

.product-small .price-wrapper{
    display: flex;
    flex-direction: column-reverse;
    
}
.product-small .box-text{
    padding-bottom:0
}
.product-small .star-rating{
        margin-top: 5px;
        line-height: 14px;
  
}
span.amount{
	    font-family: 'Roboto', sans-serif;
}
.product-small .price del span.amount {
    font-size: 12px;
}
.product-small .price del span.amount .woocommerce-Price-currencySymbol{
    font-size: 12px !important;
}
.woocommerce-variation-add-to-cart, form.cart{
    gap: 5px !important;
}
.star-rating:before,.star-rating span:before{
    color: var(--primary-color) !important;
}
.star-rating{
    font-size: 12px;
    padding-top:5px;
}
/* Bo góc toàn bộ hình ảnh có class này */
.img-custom-radius .img-inner {
    border-radius: 12px !important;
    overflow: hidden;
}
.danh-muc-san-pham .col > .col-inner{
border-radius: 10px;
        box-shadow: 0 0 4px 0 #ccc;
                padding: 10px;
                min-height: 100%;
}
.danh-muc-san-pham .col > .col-inner:hover{
            box-shadow: 0 0 4px 2px #ccc;
}
.danh-muc-san-pham .box-text,.danhmucghe .box-text{
    padding:0 !important
}
.danh-muc-san-pham .box-text h5,.danhmucghe h5{
        font-weight: 400;
    text-transform: capitalize;
    font-size: 13px;
}
.product-title a{
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.woocommerce-Price-currencySymbol{
    text-transform: lowercase;
    font-size: 13px;
    font-weight: 500;
}
.text-so-home {
    display: grid;
    grid-template-columns: 58px 1fr;

    align-items: start;
}
.text-so-home >p:last-child{
    font-size: 14px;
}
.text-so-home > p:first-child {
    grid-column: 1;
    grid-row: 1 / 5;
    font-style: normal;
    width: 42px;
    height: 42px;
    line-height: 42px;
    background-color: var(--primary-color);
    color: #fff;
    display: block;
    float: left;
    border-radius: 50%;
    text-align: center;
    font-weight: 500;
    margin-right: 16px;
    font-size: 18px;
}

.text-so-home > h3 {
        font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 8px;
}
.row2-footer > .col{
    flex-basis: 20%;
        max-width: 20%;
}
.text-footer h3{
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
	
}
/* Icon */ .button-contact-toggle img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius:50%;} /* Mặc định: icon mở */ .button-contact-toggle .contact-toggle-open { display: block; } .button-contact-toggle .contact-toggle-close { display: none; } /* Khi mở: icon đóng */ .button-contact-fixed.is-open .contact-toggle-open { display: none; } .button-contact-fixed.is-open .contact-toggle-close { display: block; }
.text-footer-mxh h3{
	font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}
.text-footer p{
    font-size: 14px;
    margin-bottom: 5px;
}
.absolute-footer{
    display: none;
}
.row-banner .col1-banner{
    flex-basis: 63%;
        max-width: 63%;
}
.col1-banner img{
    border-radius: 15px;
}
.row-banner .col2-banner{
    flex-basis: 37%;
        max-width: 37%;
}
.text3-footer h2{
    font-size: 21px;
        margin-top: 20px;
    margin-bottom: 10px;
}
.text3-footer p {
    margin-bottom: 0;
        font-size: 12px;
}
.section2-footer {
    border-bottom:1px solid white
}
.section1-footer{
    display: none;
}
.home .section1-footer{
    display: block;
}
.text-so-home > p:nth-of-type(3) {
    grid-column: 2;
    font-size: 14px;
    line-height: 1.3rem;
}
.product-small > .col-inner{
            padding: 10px 20px;
            border: 1px solid #edf2f5;
                background-color: white;
                    transition: box-shadow 0.4s;
}
.product-small > .col-inner:hover{
        background-color: white;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.12);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.12);
}
.product-small .price{
    margin-top: 10px;
        font-size: 12px;
        line-height: 20px;
}
.product-small .product-title{
    margin-bottom:10px !important ;
}
.badge-container{
    margin: 0 !important;
        left: unset;
    right: 0;
}
.danh-muc-san-pham .col-inner:hover  h5{
    color:var(--primary-color)
}
.badge-container .badge{
     height: 22px;
    width: 38px;
    text-align: center;
    line-height: 22px;
}
.badge-container .onsale{
    font-size: 12px;
}
.product-small .price span.amount{
    font-size: 16px;
}
.page-wrapper{
    padding: 0 !important;
}
.box-category img {
    width: 108px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    object-fit: contain;
    display: flex;
	margin-bottom:10px
}
.header-bottom .header-bottom-nav  > li > a{
    font-size: 14px;
    text-transform: capitalize;
}
.rank-math-breadcrumb{
    padding:5px 0
}
.rank-math-breadcrumb p{
    margin-bottom:0;
    font-size:14px;
}

.is-divider{
    display: none;
}
.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
            padding-bottom: 50px;
        padding-top: 20px;
}
.category-page-title h1{
        font-weight: 500;
            font-size: 18px;
}
.category-page-title{
    padding: 10px 0;
}
.shop-page-title {
    padding: 0 !important;
  
}
.shop-page-title  .page-title-inner{
    min-height: unset;
}
.blog-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    padding: 20px 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
    text-decoration: none !important;
    transition: all .3s ease;
}

.blog-category-item:hover {
        transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-color: #ddd;
}
.blog-category-item:hover img{
    transform: scale(1.1);
}
.blog-category-item:hover .blog-category-name{
    color:var(--primary-color)
}
.blog-category-image {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
       
}

.blog-category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
     transition: transform 0.3s ease;
}

.blog-category-name {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
}

/* Tablet */
@media (max-width: 849px) {
    .blog-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Mobile */
@media (max-width: 549px) {
    .blog-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .blog-category-item {
        min-height: 160px;
        padding: 15px 10px;
    }

    .blog-category-image {
        width: 85px;
        height: 85px;
    }

    .blog-category-name {
        font-size: 14px;
    }
}
/* =========================================
   BLOG ARCHIVE
========================================= */

.custom-post-archive {
    width: 100%;
}


/* =========================================
   POST ITEM
========================================= */

.custom-post-item {
    width: 100%;
    padding: 0 0 20px;
    margin: 0 0 0px;
    border-bottom: 1px solid #e5e5e5;
}


/* =========================================
   TITLE
   NẰM TRÊN CẢ ẢNH + CONTENT
========================================= */

.custom-post-title {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
        padding-top: 20px;
}

.custom-post-title a {
    color: #111;
    text-decoration: none;
}

.custom-post-title a:hover {
    color: var(--primary-color);
}

.custom-post-item:hover .custom-post-title a {
 color: var(--primary-color);
}

/* =========================================
   BODY
   IMAGE + CONTENT
========================================= */

.custom-post-body {
    display: flex;
    width: 100%;
    gap: 20px;
}


/* =========================================
   IMAGE
========================================= */

.custom-post-image {
    width: 50%;
    flex: 0 0 50%;
    overflow: hidden;
    height: 200px;
}

.custom-post-image a {
    display: block;
    width: 100%;
}

.custom-post-thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* =========================================
   CONTENT
========================================= */

.custom-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =========================================
   META
========================================= */

.custom-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

.custom-post-meta span {
    display: inline-block;
}


/* =========================================
   EXCERPT
========================================= */

.custom-post-excerpt {
    margin: 0 0 12px;
    color: #333;
     font-size: 14px;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
   
}

.custom-post-excerpt p {
    margin: 0;
}


/* =========================================
   READ MORE
========================================= */

.custom-post-readmore {
    margin-top: 8px;
}

.custom-readmore {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none !important;
}

.custom-readmore:hover {
    background: white;
    color: var(--primary-color);
    border-color: #333;
}


/* =========================================
   NO IMAGE
========================================= */

.custom-post-no-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
}


/* =========================================
   PAGINATION
========================================= */

.custom-post-pagination {
    margin-top: 30px;
}

.post-sidebar {
    border-left: 0 !important;
}
.post-sidebar aside{
    background: #fff;
    margin-bottom: 10px;
    padding-bottom: 15px;
    box-shadow: 0 0 8px #ccccccb0;
  
}
.post-sidebar .widget-title {
        background: transparent;
    border-bottom: 1px solid #ccc;
    padding: 8px 10px 4px;
    box-sizing: border-box;
    width: 100%;
    display: block;
}
.post-sidebar  .widget-title span{
    font-size: 18px;
        font-weight: 500;
}
.row-sidebar >.col>.col-inner{
    padding: 10px;
    padding-top: 20px;
}


.widget_recent_entries a {
    border: 0;
    padding: 3px 5px 3px 20px !important;
    margin-left: 8px;
    position: relative;
    line-height: 1.3rem;
    font-size: 13px;
}

.widget_recent_entries a::before {
    content: "\e1d8";
    font-family: "Font Awesome 7 pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 549px) {

    .custom-post-body {
        display: block;
    }

    .custom-post-image {
        width: 100%;
        margin-bottom: 15px;
    }

    .custom-post-content {
        width: 100%;
    }

    .custom-post-title {
        font-size: 16px;
    }

}



/* =========================================================
   CUSTOM REVIEW
========================================================= */
.custom-news-review {
    width: 100%;
    margin: 30px 0;
    box-sizing: border-box;
}
.custom-review-heading {
    margin: 0 0 25px;
    padding: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #333;
}
.custom-review-list {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 15px;
}
.custom-review-item {
    width: 100%;
    margin: 0 0 15px;
    padding: 0 0 5px;
    border: 0;
    box-sizing: border-box;
}
/* =========================================================
   CONTENT
========================================================= */
.custom-review-content {
    position: relative;
    width: 100%;
    margin: 0 0 16px;
    padding: 15px 18px;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.65;
    min-height: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.custom-review-content p {
    margin: 0 0 8px;
    padding: 0;
}
.custom-review-content p:last-child {
    margin-bottom: 0;
}
/* =========================================================
   SPEECH BUBBLE
========================================================= */
.custom-review-content::after {
    content: "";
    position: absolute;
    left: 11px;
    bottom: -11px;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 11px solid #e5e5e5;
    z-index: 1;
}
.custom-review-content::before {
    content: "";
    position: absolute;
    left: 12px;
    bottom: -9px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    z-index: 2;
}
/* =========================================================
   INFO
========================================================= */
.custom-review-info {
    position: relative;
    width: 100%;
    min-height: 42px;
    padding: 0 4px;
    box-sizing: border-box;
}
.custom-review-name {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #333;
}
.custom-review-date {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #999;
    white-space: nowrap;
}
/* =========================================================
   STARS
========================================================= */
.custom-review-stars {
    position: absolute;
    left: 4px;
    top: 21px;
    display: flex;
    align-items: center;
    gap: 1px;
    margin: 0;
    padding: 0;
    height: 18px;
    line-height: 18px;
}
.custom-review-stars .star {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 18px;
    font-family: Arial, sans-serif;
    color: #d5d5d5;
}
.custom-review-stars .star.active {
    color: var(--primary-color);
}
/* =========================================================
   POST / PRODUCT
========================================================= */
.custom-news-review.review-post .custom-review-info {
    min-height: 25px;
}
.custom-news-review.review-product .custom-review-info {
    min-height: 42px;
}
/* =========================================================
   EMPTY
========================================================= */
.custom-review-empty {
    width: 100%;
    margin: 0 0 20px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #eee;
    background: #fafafa;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}
/* =========================================================
   SUCCESS / ERROR
========================================================= */
.custom-review-success {
    width: 100%;
    margin: 0 0 20px;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 1px solid #b7ebc6;
    border-radius: 3px;
    background: #f0fff4;
    color: #218838;
    font-size: 14px;
    line-height: 1.5;
}
.custom-review-error {
    width: 100%;
    margin: 0 0 20px;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 1px solid #f0d98c;
    border-radius: 3px;
    background: #fff8e5;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}
/* =========================================================
   BUTTON
========================================================= */
.custom-review-button-wrap {
    width: 100%;
        margin: 15px 0px;
            padding: 17px 20px;
            background: #edf2f5;
}
.comments-area{
    display: none;
}
.custom-review-open {
    display: inline-block;
    margin: 0;
    padding: 10px 15px;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--primary-color);
    color: #fff !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.custom-review-open:hover {
    background: #333 !important;
    color: #fff !important;
}
/* =========================================================
   MODAL
========================================================= */
.custom-review-modal {
    display: none !important;
    position: fixed !important;
    z-index: 999999 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.custom-review-modal.is-open {
    display: block !important;
}
/* =========================================================
   OVERLAY
========================================================= */
.custom-review-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}
/* =========================================================
   MODAL BOX
========================================================= */
.custom-review-box {
    position: relative;
    z-index: 2;
    width: calc(100% - 30px);
    max-width: 600px;
    max-height: 90vh;
    margin: 5vh auto 0 !important;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    top:25%
}
/* =========================================================
   CLOSE
========================================================= */
.custom-review-close {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    width: 35px !important;
    height: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #333 !important;
    font-size: 30px !important;
    line-height: 35px !important;
    font-weight: 300 !important;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    display: flex;
    align-items: start;
}
.custom-review-close:hover {
    background: transparent !important;
    color: #000 !important;
}
/* =========================================================
   MODAL TITLE
========================================================= */
.custom-review-box h3 {
    margin: 0 0 25px;
    padding: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #333;
}
/* =========================================================
   FORM
========================================================= */
.custom-review-form {
    width: 100%;
    margin: 0;
    padding: 0;
}
.custom-review-field {
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
}
.custom-review-field label {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #333;
}
.custom-review-field label span {
    color: #d63638;
}
/* =========================================================
   INPUT
========================================================= */
.custom-review-field input[type="text"] {
    display: block;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    box-sizing: border-box !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 22px !important;
    outline: none !important;
    box-shadow: none !important;
}
.custom-review-field textarea {
    display: block;
    width: 100% !important;
    min-height: 120px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    resize: vertical;
    outline: none !important;
    box-shadow: none !important;
}
.custom-review-field input[type="text"]:focus,
.custom-review-field textarea:focus {
    border-color: #999 !important;
    outline: none !important;
    box-shadow: none !important;
}
/* =========================================================
   RATING
========================================================= */
.custom-rating-field {
    position: relative;
}
.custom-rating {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 2px !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
}
.custom-rating input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.custom-rating label {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ccc !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 25px !important;
    cursor: pointer !important;
}
.custom-rating label:hover,
.custom-rating label:hover ~ label {
    color: var(--primary-color) !important;
}
.custom-rating input:checked ~ label {
    color: var(--primary-color) !important;
}
/* =========================================================
   RATING WARNING
========================================================= */
.custom-rating-warning {
    display: none;
    margin: 7px 0 0;
    padding: 0;
    color: #b45309;
    font-size: 13px;
    line-height: 20px;
}
.custom-rating-warning.show {
    display: block;
}
/* =========================================================
   SUBMIT
========================================================= */
.custom-review-submit {
    width: 100%;
    margin: 5px 0 0;
    padding: 0;
}
.custom-review-submit button {
    display: block !important;
    
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #777777  !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    border-radius: 5px;
}
.custom-review-submit button:hover {
    background: #333 !important;
    color: #fff !important;
}
/* =========================================================
   PAGINATION
========================================================= */
.custom-review-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    margin: 25px 0 0;
    padding: 0;
}
.custom-review-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    margin: 0;
    padding: 0 8px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 13px;
    line-height: 30px;
    text-decoration: none;
}
.custom-review-pagination a:hover,
.custom-review-pagination a.active {
    border-color: #111;
    background: #111;
    color: #fff;
}
.section-content > .row{
    padding: 0 10px;
}
.danhmucban h5{
    font-size: 13px;
    font-weight: 500;text-transform: capitalize;
}
.flex-col.hide-for-medium.flex-right{
    min-width: 70%;
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
    .custom-news-review {
        margin: 25px 0;
    }
    .custom-review-heading {
        margin-bottom: 20px;
        font-size: 20px;
    }
    .custom-review-item {
        margin-bottom: 22px;
    }
    .custom-review-content {
        padding: 13px 15px;
        font-size: 14px;
        line-height: 1.6;
    }
    .custom-review-info {
        padding: 0 3px;
    }
    .custom-review-name {
        font-size: 14px;
    }
    .custom-review-date {
        font-size: 11px;
    }
    .custom-review-stars {
        left: 3px;
        top: 20px;
    }
    .custom-review-stars .star {
        font-size: 16px;
        line-height: 17px;
    }
    .custom-review-box {
        width: calc(100% - 20px);
        margin-top: 3vh !important;
        padding: 25px 20px;
        max-height: 94vh;
    }
    .custom-rating label {
        font-size: 32px !important;
    }
}
@media (max-width: 480px) {
    .custom-review-content {
        padding: 12px 14px;
    }
    .custom-review-date {
        font-size: 10px;
    }
    .custom-review-box {
        width: calc(100% - 16px);
        padding: 25px 16px;
    }
    .custom-rating label {
        font-size: 30px !important;
    }
}
/* =========================================================
   54. MOBILE NHỎ
========================================================= */
@media (max-width: 480px) {
    .custom-review-content {
        padding: 12px 14px;
    }
    .custom-review-date {
        font-size: 10px;
    }
    .custom-review-box {
        width: calc(100% - 16px);
        padding: 25px 16px;
    }
    .custom-rating label {
        font-size: 30px;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


.medium-text-center{
    float: none !important;
        text-align: start !important;
        width: 100% !important;
}
.category-filter-row{
    display: none;
}
.archive .col.large-9{
        flex-basis: 100% !important;
    max-width: 100% !important;
}
.copaddingmobile > .col{
    padding-bottom: 15px !important;
}
.row-small>.col, .row-small>.flickity-viewport>.flickity-slider>.col{
    padding:0 8px 16px !important
    }
    .row2-footer > .col{
        flex-basis: 33%;
    max-width: 33%;
    }

}


@media (min-width: 577px) {
    .header-bottom {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .06);
                margin-bottom: 8px;
    }
}
@media screen and (min-width: 1001px) and (max-width: 1024px) {
    .danh-muc-san-pham .product-category.col, 
    .danhmucghe .product-category.col, 
    .danhmucban .product-category.col {
        min-width: 20%;
    }
} 
@media(max-width:1024px){
		.nav li:first-child{
	    margin: 0 11px !important; 
}
}
@media(max-width:700px){
	.nav li:first-child{
		margin:0 !important
	}
	.danhmucghe .box-category img {

    margin-bottom: 0px !important;
}
	.mfp-ready .mfp-close{
		right:5% !important
	}
	.back-to-top{
		    right: 10px !important;
	}.button-contact-fixed{
		 right: 13px !important;
	}
		.row-banner .col1-banner,.row-banner .col2-banner{
		flex-basis: 100%;
    max-width: 100%;
	}
	.custom-product-next-prev{
		display: none !important;
	}
    .category-child-list{
        background: #EEE;
            border-bottom: 1px solid #f2f2f2;
    }
    .category-child-list a{
        display: flex;
        flex-direction: row;
                margin: 5px;
                align-items: center;gap: 10px;
    }
    .category-child-list .category-child-image{
        max-width: 48px;
    }
    .category-child-list .category-child-image img{
        margin: 0 !important;
    }
    .category-child-item{
                padding: 2px 2px 2px 5px !important;
    }
    .header-bottom ,.custom.html_topbar_left{
        display: none ;
    }
    .header-main .flex-left{
            max-width: 15px;
    }
    .header-main{
        border-bottom: 1px solid var(--primary-color);
    }
    .shop-page-title .page-title-inner, .category-page-row{
        padding-top: 5px !important;
    }
    .danhmucban {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr); /* Cố định 2 hàng */
    grid-auto-flow: column; /* Lấp đầy hàng 1 xuống hàng 2 rồi mới sang cột mới */
    grid-auto-columns: 30%; /* 100% chia 7 cột = 14.2857% */
    overflow-x: auto; /* Tạo slide/cuộn ngang */
    overflow-y: hidden; /* Ẩn cuộn dọc nếu có */
    scroll-snap-type: x mandatory; /* Giúp cuộn ngang mượt mà từng cột */
}

/* Ẩn thanh cuộn ngang cho giao diện vuốt đẹp hơn như app */
.danhmucban::-webkit-scrollbar {
    display: none; 
}

.danhmucban .product-category {
    min-width: unset !important; /* Ghi đè min-width 30% cũ của bạn */
    max-width: 100% !important; 
    scroll-snap-align: start; /* Kết hợp với snap-type ở trên để vuốt mượt */
}
    .row-small>.col, .row-small>.flickity-viewport>.flickity-slider>.col{
        padding: 5px !important;
    }
    .danh-muc-san-pham .col > .col-inner,.danhmucghe .product-category.col{
        padding: 2px ;
        box-shadow:none !important
    }
    .danhmucghe .product-category .col-inner{
        
        padding: 2px 2px 2px 5px !important;          background: #f2f2f2;
   
        box-sizing: border-box;
        box-shadow: 1px 1px 3px 0 #dadada;
        margin-left: 5px !important;

    }
.danhmucghe {
    width: 100% !important;
}
    .danhmucghe .box-category {
display: flex;
        flex-direction: row;        padding: 2px 5px 2px 0 !important;        justify-content: center;
        align-items: center;
    }
    .danhmucghe .box-category .box-image{
                   flex-basis: 40px;
        margin: 0;
        margin-right: 8px;
        width: 108px;  
        min-width: 40px;   
    }
    .danhmucghe .col{
        padding-left: 5px;
    padding-right: 5px
    }
    .section-content > .row > .col{
        padding-left: 0;
        padding-right: 0; 
    }
    .product-small > .col-inner{
            padding:5px 8px;
    }
    .row2-footer {
        display: block !important;
        width: 100% !important;
    }

    .row2-footer > .col {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
	.row2-footer > .col:last-child{
border-bottom :0}
	
    .row2-footer .col-inner {
        width: 100% !important;
        padding: 0 !important;
    }

    .row2-footer .text-footer {
        width: 100%;
        margin: 0 !important;
    }

    .row2-footer .text-footer h3 {
        position: relative;
        width: 100%;
        margin: 0 !important;
        padding: 15px 35px 15px 0 !important;
        cursor: pointer;
        line-height: 1.4;
    }

    /* Mũi tên */
    .row2-footer .text-footer h3::after {
        content: "";
        position: absolute;
        right: 5px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.25s ease;
    }

    /* Khi mở */
    .row2-footer .text-footer.active h3::after {
        transform: translateY(-30%) rotate(225deg);
    }

    /* Ẩn toàn bộ nội dung */
    .row2-footer .text-footer p {
        display: none;
        margin: 0 !important;
    }

    /* Nội dung khi mở */
    .row2-footer .text-footer.active p {
        display: block;
    }

    /* Để các mục footer không bị dính */
    .row2-footer > .col {
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .text11-footer h2{
    font-size: 24px;
}
}
@media(max-width:375px){
	.mfp-ready .mfp-close {
		right:0 !important
	}
}











/* =========================================
   CATEGORY HEADER
========================================= */

.category-header-custom {
    margin-bottom: 20px;
}

.category-title-custom {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px;
    text-transform: uppercase;
        margin-bottom: 10px;
    margin-top: 10px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 15px;
}

.category-description-custom {
    position: relative;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.category-description-content {
    position: relative;
    max-height: 650px;
    overflow: hidden;
    transition: max-height .3s ease;
}

.category-description-content:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        #fff
    );
    pointer-events: none;
}

.category-description-custom.is-open
.category-description-content {
    max-height: 2000px;
}

.category-description-custom.is-open
.category-description-content:after {
    display: none;
}

.category-description-toggle {
    border: 0;
    background: none;
    padding: 5px 0;
    margin-top: 4px;
        font-style: italic;
    font-size: 13px;
    cursor: pointer;
    text-transform: none;
	text-decoration: underline;
}

.category-description-toggle:hover {
    color: var(--primary-color);
}
.category-description-content a{
	color: var(--primary-color);
}
.category-sort,
.category-per-page {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.category-sort .fa-caret-down,
.category-per-page .fa-caret-down {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
	font-size:12px
}

.category-sort select,
.category-per-page select {
    padding-right: 30px;
}
/* =========================================
   CHILD CATEGORIES
========================================= */

.category-child-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 15px 0 40px;
}

.category-child-item {
    display: block;
    border: 1px solid #eee;
    background: #fff;
    text-align: center;
    padding: 8px 5px;
    transition: all .2s ease;
        box-shadow: 1px 1px 3px 0 #dadada;
}

.category-child-item:hover {
    border-color: #008da8;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.category-child-image {
    width: 100%;
   
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-child-image img {
    max-width: 100%;
    max-height: 108px;
    width: auto;
    height: auto;
    object-fit: contain;
            margin: auto;
}

.category-child-name {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    margin-top: 6px;
    font-weight: 700;
}

.woocommerce-breadcrumb {
    font-size: 14px;
    text-transform: none;
}
/* =========================================
   TOOLBAR
========================================= */
.widget>ul>li ul{
    border-left: 0;
       padding-left: 5px;
}
.widget>ul>li+li{
border-top: 0;
}
.shop-page-title .page-title-inner{
        padding-top: 5px;
    padding-bottom: 5px;
}
.category-page-row{
	padding-top:15px
}
.woocommerce-breadcrumb{
    font-size: 14px;
}
.widget_product_categories > ul > li {
text-transform: uppercase;
}
.widget_product_categories a{
    font-size: 13px;
    padding: 5px 12px !important;
}
.widget .current-cat>a{
    color:var(--primary-color) !important
}
.widget_product_categories{
        background: #fff;
    margin-bottom: 10px;
    padding-bottom: 15px;
    box-shadow: 0 0 8px #ccccccb0;
}
.widget_product_categories .widget-title{
    width: 100%;
        background: transparent;
    border-bottom: 1px solid #ccc;
    padding: 8px 10px 4px;
    box-sizing: border-box;
    font-size: 18px;display: block;
    margin-bottom: 15px;
}
.category-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    margin: 15px 0;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

.category-sort,
.category-per-page {
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-toolbar-label {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}
.category-description-content p {
    margin-bottom:0
}

/* WooCommerce sorting */

.category-sort .woocommerce-ordering {
    float: none;
    margin: 0;
}

.category-sort .woocommerce-ordering select {
    margin: 0;
    height: 38px;
    min-width: 115px;
    padding: 0 25px 0 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #edf2f5;
    font-size: 14px;
}


/* Per page */

.products-per-page-select {
    height: 38px;
    min-width: 75px;
    margin: 0;
    padding: 0 22px 0 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #edf2f5;
    font-size: 14px;
    cursor: pointer;
}

/* =========================================================
   SẢN PHẨM BẠN ĐÃ XEM
========================================================= */

.recently-viewed-row {
    width: 100%;
    max-width: 100%;
    margin: 25px 0 0;
}

.recently-viewed-row > .col {
    padding-bottom: 0;
}

.recently-viewed-row .col-inner {
    padding: 0;
}


/* TITLE */

.recently-viewed-title {
    margin: 0 0 12px;
    padding: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: #222;
    text-transform: uppercase;
}


/* BOX */

.recently-viewed-box {
    width: 100%;
    min-height: 175px;
    padding: 20px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #fff;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;
}


/* ITEM */

.recently-viewed-item {
    flex: 0 0 190px;
    width: 190px;
    display: flex;
    flex-direction: column;
}


/* IMAGE */

.recently-viewed-item-image {
    width: 180px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    overflow: hidden;
}

.recently-viewed-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* INFO */

.recently-viewed-item-info {
    padding: 8px 5px 0;
}


/* NAME */

.recently-viewed-item-name {
    display: block;

    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;

    color: #444;

    text-decoration: none;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.recently-viewed-item-name:hover {
    color: #008ca5;
}


/* PRICE */

.recently-viewed-item-price {
    margin-top: 5px;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;

    color: #333;
}

.recently-viewed-item-price .amount {
    font-size: 15px;
}

.recently-viewed-item-price .woocommerce-Price-currencySymbol {
    font-size: 14px;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.recently-viewed-box::-webkit-scrollbar {
    height: 5px;
}

.recently-viewed-box::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.recently-viewed-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 849px) {
  .page-title-inner div:last-child{
    display: none;
  }

    .recently-viewed-row {
        margin-top: 20px;
    }

    .recently-viewed-title {
        font-size: 17px;
    }

    .recently-viewed-box {
        min-height: 165px;
        padding: 15px 10px;
    }

    .recently-viewed-item {
        flex: 0 0 170px;
        width: 170px;
    }

    .recently-viewed-item-image {
        width: 160px;
        height: 95px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 549px) {
    .category-shop-toolbar{
        margin: 0;
    }
.category-child-list{
    margin-bottom: 0;
    padding-bottom: 10px;
}
    .recently-viewed-row {
        margin-top: 20px;
    }

    .recently-viewed-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .recently-viewed-box {
        min-height: 155px;
        padding: 12px 8px;
        gap: 5px;
    }

    .recently-viewed-item {
        flex: 0 0 145px;
        width: 145px;
    }

    .recently-viewed-item-image {
        width: 140px;
        height: 85px;
    }

    .recently-viewed-item-info {
        padding: 6px 3px 0;
    }

    .recently-viewed-item-name {
        font-size: 11px;
    }

    .recently-viewed-item-price {
        font-size: 13px;
    }

    .recently-viewed-item-price .amount {
        font-size: 13px;
    }

}
/* =========================================
   MOBILE
========================================= */

@media (max-width: 849px) {

    .category-child-list {
        grid-template-columns: repeat(3, 1fr);
    }



}

@media (max-width: 549px) {

    .category-title-custom {
        font-size: 16px;
    }

    .category-description-content {
        max-height: 80px;
    }

    .category-child-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0px;
    }


    .category-child-image img {
        max-height: 55px;
    }





    .category-sort,
    .category-per-page {
        width: auto;
    }

}



/* =========================================================
   PRODUCT BOX
   ========================================================= */

.cv-product-box {
    width: 100%;
    border: 1px solid #ddd;
    background: #fff;
    padding: 0 15px 25px;
    box-sizing: border-box;
}


/* =========================================================
   SIMPLE PRODUCT
   ========================================================= */

.cv-simple-product {
    padding: 0 15px 15px;
}

.cv-simple-product .cv-product-price {
    margin-bottom: 0;
}


/* =========================================================
   PRICE
   ========================================================= */

.cv-product-price {
    padding: 17px 0 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cv-product-price .cv-price span.amount,
.cv-product-price .price span.amount {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 500;
    color: #d4646a !important;
}

.cv-product-price del {
    color: #999;
    font-size: 13px;
    margin-right: 7px;
}

.cv-product-price ins {
    text-decoration: none;
}

.cv-product-price .woocommerce-Price-currencySymbol {
    font-size: 13px;
    color: #111;
}


/* =========================================================
   ATTRIBUTE SCROLL
   ========================================================= */

.cv-attributes {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 7px;
    margin-bottom: 10px;
}

.cv-attributes::-webkit-scrollbar {
    width: 9px;
}

.cv-attributes::-webkit-scrollbar-track {
    background: #eee;
}

.cv-attributes::-webkit-scrollbar-thumb {
    background: #bbb;
}

.cv-attributes::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/* =========================================================
   ATTRIBUTE ROW
   ========================================================= */

.cv-attribute-row {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
}

.cv-attribute-label {
    width: 110px;
    min-width: 110px;
    padding-top: 7px;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
	margin-right:10px;
}

.cv-attribute-content {
    flex: 1;
    min-width: 0;
}


/* =========================================================
   SELECT
   ========================================================= */

.cv-select-wrap {
    width: 240px;
    margin-bottom: 9px;
}

.cv-select-wrap select {
    width: 100%;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 35px 0 13px !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 0 !important;
    background: #f7f7f7 !important;
    box-shadow: none !important;
    font-size: 14px;
    color: #333;
}


/* =========================================================
   SWATCH
   ========================================================= */

.cv-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cv-swatch {
    position: relative;
    width: 119px;
    height: 72px;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid #ccc !important;
    border-radius: 0 !important;
    background: #fff !important;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none !important;
}

.cv-swatch:hover {
    border-color: #999 !important;
}

.cv-swatch.active {
    border-color: #83c900 !important;
}


/* =========================================================
   VARIATION IMAGE
   ========================================================= */

.cv-swatch-image {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* =========================================================
   LABEL
   ========================================================= */

.cv-swatch-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3px 4px;
    background: rgba(255,255,255,.88);
    color: #222;
    font-size: 11px;
    line-height: 15px;
    text-align: center;
}

.cv-swatch-image.has-image + .cv-swatch-label {
    display: none;
}


/* =========================================================
   HIDE NATIVE VARIATION
   ========================================================= */

.cv-variation-form .single_variation {
    display: none !important;
}


/* =========================================================
   PRODUCT INFO
   ========================================================= */

.cv-product-info {
    margin-top: 12px;
}

.cv-info-row {
    display: flex;
    align-items: center;
    min-height: 34px;
    font-size: 14px;
    line-height: 20px;
}

.cv-info-label {
    width: 120px;
    min-width: 120px;
    color: #111;
}

.cv-info-value {
    color: #0876b9;
}

.cv-stock.in-stock {
    color: #00a651;
}

.cv-stock.out-stock {
    color: #e00000;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.cv-quantity-row {
    margin-top: 1px;
}

.cv-quantity {
    position: relative;
    display: flex;
    width: 56px;
    height: 32px;
}

.cv-quantity input.qty {
    width: 38px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 14px;
}

.cv-quantity input.qty::-webkit-inner-spin-button,
.cv-quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cv-quantity input.qty {
    -moz-appearance: textfield;
}


/* =========================================================
   QUANTITY BUTTON
   ========================================================= */

.cv-quantity-buttons {
    position: absolute;
    left: 40px;
    top: 0;
    width: 16px;
}

.cv-qty-plus,
.cv-qty-minus {
    display: block;
    width: 16px !important;
    height: 15px !important;
    min-width: 16px !important;
    min-height: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #aaa !important;
    border-radius: 2px !important;
    background: #fff !important;
    color: #0876b9 !important;
    font-size: 13px !important;
    line-height: 12px !important;
    text-align: center;
    cursor: pointer;
    box-shadow: none !important;
}

.cv-qty-minus {
    margin-top: 2px !important;
}


/* =========================================================
   ONLINE NOTE
   ========================================================= */

.cv-online-note {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 6px;
    background: #ffff00;
    color: #111;
    font-size: 12px;
    line-height: 17px;
        font-weight: 500;
        text-transform: uppercase;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.cv-buttons {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-top: 12px;
}

.cv-buttons button {
    flex: 1;
    width: 50%;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 54px !important;
    text-align: center;
    cursor: pointer;
    box-shadow: none !important;
}

.cv-add-cart {
    background: #079bb2 !important;
    color: #fff !important;
}

.cv-order-now {
    background: #ff7628 !important;
    color: #fff !important;
}

.cv-add-cart:hover {
    background: #078da2 !important;
    color: #fff !important;
}

.cv-order-now:hover {
    background: #ed671e !important;
    color: #fff !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 550px) {

    .cv-product-box {
        padding-left: 12px;
        padding-right: 12px;
    }

    .cv-product-price .cv-price span.amount ,
    .cv-product-price .price span.amount {
        font-size: 25px;
    }

    .cv-attributes {
        max-height: 400px;
    }

    .cv-attribute-row {
        display: block;
    }

    .cv-attribute-label {
        width: 100%;
        min-width: 0;
        padding-top: 0;
        margin-bottom: 5px;
    }

    .cv-select-wrap {
        width: 100%;
    }

    .cv-swatch {
        width: calc(33.333% - 6px);
        height: 65px;
    }

    .cv-info-label {
        width: 90px;
        min-width: 90px;
    }

    .cv-buttons {
        gap: 8px;
    }

    .cv-buttons button {
        font-size: 14px !important;
    }

}


.col-sptt .related > .row > .product-small{
            flex-basis: 50%;
        max-width: 50%;
}
.col-sptt .product-section{
    border-top: 0;
}.col-sptt .product-section-title{
            text-align: center;    font-weight: 500;font-size: 14px;
}
.single-product .custom-review-heading,.row-2cs> .col> .col-inner> h3{
        background: #f2f2f2;
    padding: 10px 10px 5px;
    margin-bottom:0;
    box-shadow: 0 0 4px 0 #ccc;
    font-size: 22px;
}
@media (min-width: 768px) {
    .single-product .custom-review-heading,.row-2cs> .col> .col-inner> h3{
        padding-left: 20px;
        padding-right: 20px;
    }
    .row-chinhsach > .col .col-inner{
    padding-left: 20px;
        padding-right: 20px;
}
}
.row-chinhsach > .col .col-inner{
        background: #fff;
    padding: 15px 10px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px 0 #ccc;
}


.row-chinhsach .col-inner {
    position: relative;
    max-height: 340px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.row-chinhsach .col-inner::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0.8) 55%,
        #fff 100%
    );
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.row-chinhsach .chinhsach-xemthem {
    position: absolute;
    z-index: 5;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 9px 16px;
    background: #fff;
    border: 1px solid #ccc;
    color: #222;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.row-chinhsach .chinhsach-xemthem:hover {
    background: #f5f5f5;
}

.row-chinhsach.is-expanded .col-inner {
    max-height: none;
    overflow: visible;
}

.row-chinhsach.is-expanded .col-inner::after {
    opacity: 0;
    visibility: hidden;
}

.row-chinhsach.is-expanded .chinhsach-xemthem {
    position: relative;
    display: block;
    bottom: auto;
    left: auto;
    transform: none;
    width: max-content;
    margin: 20px auto 0;
}

@media (max-width: 549px) {
    .row-chinhsach .col-inner {
        max-height: 300px;
    }

    .row-chinhsach .col-inner::after {
        height: 110px;
    }

    .row-chinhsach .chinhsach-xemthem {
        bottom: 15px;
        font-size: 12px;
        padding: 8px 14px;
    }
}
.cv-select-wrap {
    position: relative;
}

.cv-select-wrap select {
    padding-right: 35px;
}

.cv-select-wrap .fa-chevron-down {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 13px;
}
.text-giao-hang{
    margin-top: 10px;
        background: #f2f2f2;
    padding: 10px;
    box-sizing: border-box;
    clear: both;
}
.text-giao-hang li{
    font-size: 13px;
        padding: 2px 0;
}





h1.product-title{
    margin-bottom: 5px !important;
	font-size:26px;
	color:#333
}

.custom-review-summary {
    display: flex;
    align-items: center;
    gap: 12px;


}

.custom-review-summary-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.custom-review-summary-stars span {
    color: var(--primary-color);
    font-size: 17px;
    line-height: 1;
}

.custom-review-summary-count,
.custom-review-summary-write {
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    font-size: 14px;
    line-height: 1.4;
    color: #222 !important;
    cursor: pointer;
    text-decoration: none;
    text-transform: none !important;
    font-weight: 400;
}

.custom-review-summary-count:hover,
.custom-review-summary-write:hover {
    background: unset !important;
    color: var(--primary-color) !important;
}

@media (max-width: 549px) {

    .custom-review-summary {
        gap: 8px;
    }

    .custom-review-summary-stars span {
        font-size: 15px;
    }

    .custom-review-summary-count,
    .custom-review-summary-write {
        font-size: 13px;
    }
}

.top-divider{
    border-top: 0 !important
}

.text-header-top a{
    color:red
}
.searchform .relative{
    background: #f7f7f7;
}
.ux-search-submit{
    background: inherit !important;
}
.ux-search-submit .icon-search{
    color: black;
}
.text-lienhe h1{
    font-size: 22px;
}
.text-lienhe p{
    font-size: 14px;
    margin-bottom: 0;
}
.text-lienhe strong{
    min-width: 100px;
}
.text2-lienhe blockquote{
    background: #f8f9f9;
            padding: 20px !important;
}
.text2-lienhe  h2{
    font-size: 22px;
}

@media screen and (max-width: 849px) {
    .medium-logo-left .flex-left {
        flex: 1 1 0;
        order: 1;
    }
        .medium-logo-left .logo {
        margin-left: 0;
        margin-right: 15px;
        order: 2;
    }
}
@media(min-width:768px){
    .medium-logo-left .flex-left {
        display: none;
    }
   
   
}
.nav.header-bottom-nav > li > a{
    font-weight: 400;
}

/* =========================================================
   PRODUCT NEXT / PREV
   ========================================================= */

.custom-product-next-prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
}


/* Vị trí */

.custom-product-position {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.custom-product-of {
    color: #777;
}


/* Nút */

.custom-product-nav {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4aa9e8;
    color: #fff !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none !important;
    transition: .2s ease;
}


/* Mũi tên */

.custom-product-arrow {
    font-size: 18px;
    line-height: 15px;
   
    font-weight: 400;
    margin-top: -2px;
}


/* Hover */

.custom-product-nav:not(.disabled):hover {
    background: #258dcc;
    color: #fff !important;
}


/* Disabled */

.custom-product-nav.disabled {
    opacity: .35;
    cursor: default;
}

.col-ctsp .col-inner{
    display: flex;
    justify-content: space-between;
}

.cv-product-price-sale {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cv-old-price {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 2px;
}

.cv-old-price del {
    color: #333;
}
.cv-price{
    font-size: 30px;
color: #d4646a;
font-weight: 500;
	    font-family: 'Roboto', sans-serif;
}
.cv-product-price-sale .cv-price {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
    color: #d4646a;
}

.cv-product-price-sale .cv-price .woocommerce-Price-currencySymbol {
    font-size: 13px;
    font-weight: 500;
    margin-left: 3px;
}

.cv-saving span.amount,.cv-saving,.cv-saving .woocommerce-Price-currencySymbol{
    font-size: 13px;
    line-height: 1.5;
    color: #df5757 !important;
    margin-top: 2px;
}

/* =========================================================
   SẢN PHẨM ĐÃ XEM
   ========================================================= */

.cv-recently-viewed {
    width: 100%;
    border-top: 1px solid #edf2f5;
    overflow: hidden;
}

.cv-recently-viewed-row {
    display: flex;
    width: 100%;
}
.text-cuoict{
    background: #e66430;
        padding: 10px;
}
.text-cuoict p{
margin-bottom: 0 !important;
    padding: 6px 0;
}
.cv-recently-item {
    width: 20%;
    flex: 0 0 20%;
    position: relative;
    text-align: center;
    padding: 10px 14px 8px;
    box-sizing: border-box;
    border: 1px solid #eee;
    min-width: 0;
}



/* Ảnh */
.cv-recently-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    position: relative;
    margin-bottom: 8px;
}

.cv-recently-image img {
    width: auto !important;
    height: 65px !important;
    max-width: 100%;
    object-fit: contain;
    margin: 0 !important;
}

/* Sale */
.cv-recently-sale {
    position: absolute;
    top: 0;
    right: 5px;
    background: #d93800;
    color: #fff;
    font-size: 12px;
    line-height: 24px;
    height: 24px;
    min-width: 42px;
    padding: 0 6px;
    box-sizing: border-box;
}

/* Tên */
.cv-recently-title {
    display: -webkit-box;
    overflow: hidden;
    text-align: left;
    color: #333;
    font-size: 14px;
    line-height: 20px;
    height: 40px;
    text-decoration: none !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}



/* Giá */
.cv-recently-price {
    margin-top: 4px;
    text-align: center;
        
}
.cv-recently-price del{
    font-size: 13px;
}
.cv-recently-price ins{
    font-size: 18px;
}
.cv-recently-price .price {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #444;
}

.cv-recently-price .price del {
    display: none;
}

.cv-recently-price .price ins {
    text-decoration: none;
}

/* =========================================================
   MOBILE
   ========================================================= */
.stuck .header-bottom{
	margin-bottom:0 !important
}
@media (max-width: 549px) {

    .cv-recently-viewed-row {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .cv-recently-viewed-row::-webkit-scrollbar {
        display: none;
    }

    .cv-recently-item {
        flex: 0 0 50%;
        width: 50%;
    }

    .cv-recently-image {
        height: 85px;
    }

    .cv-recently-image img {
        height: 75px !important;
    }

}
/* =========================================================
   SIDEBAR DANH MỤC
   ========================================================= */
.cv-sidebar-danh-muc {
    width: 100%;
}
.cv-sidebar-category-list,
.cv-sidebar-subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cv-sidebar-category-item {
    position: relative;
    width: 100%;
    margin: 0 !important;
  
}
/* =========================================================
   ROW
   ========================================================= */
.cv-sidebar-category-row {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
/* =========================================================
   LINK
   ========================================================= */
.cv-sidebar-category-link {
    flex: 1;
    display: block;
        padding: 9px 12px;
        padding-top: 5px;
    padding-bottom: 5px;
    color: #222;
    text-decoration: none;
        line-height: 20.8px;

}
#shop-sidebar aside{
        box-shadow: 0 0 8px #ccccccb0;
}
#shop-sidebar .widget-title{
        background: transparent;
    border-bottom: 1px solid #ccc;
    padding: 8px 10px 4px;
    box-sizing: border-box; min-width: 100%;margin-bottom:15px;display: block;line-height: 24px;
}
.cv-sidebar-category-link:hover {
    color: #000;
}
.cv-sidebar-category-name {
    display: block;
    font-size: 13px;
	text-transform:uppercase
}
.cv-sidebar-category-name:hover{
	text-decoration: underline;
}
.cv-sidebar-subcategory-list .cv-sidebar-category-name {
	text-transform:unset;
}
/* =========================================================
   CURRENT CATEGORY
   ========================================================= */
.cv-sidebar-category-item.is-current > .cv-sidebar-category-row
.cv-sidebar-category-link {
    font-weight: 600;
    color: var(--primary-color);
}
/* =========================================================
   TOGGLE
   ========================================================= */
.cv-sidebar-category-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}
/* dấu + */
.cv-sidebar-category-toggle span,
.cv-sidebar-category-toggle span::after {
    position: absolute;
    content: "";
    display: block;
    width: 12px;
    height: 1px;
    background: #222;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform .25s ease;
}
/* dấu dọc */
.cv-sidebar-category-toggle span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
/* Khi mở */
.cv-sidebar-category-item.is-open
> .cv-sidebar-category-row
.cv-sidebar-category-toggle span::after {
    transform: translate(-50%, -50%) rotate(0deg);
}
/* =========================================================
   SUB CATEGORY
   ========================================================= */
.cv-sidebar-subcategory-list {
    display: none;
    padding-left: 18px;
}
.cv-sidebar-category-item.is-open
> .cv-sidebar-subcategory-list {
    display: block;
}
/* =========================================================
   LEVEL 2
   ========================================================= */
.cv-sidebar-subcategory-list
.cv-sidebar-category-link {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 14px;
}
/* =========================================================
   LEVEL 3+
   ========================================================= */
.cv-sidebar-subcategory-list
.cv-sidebar-subcategory-list {
    padding-left: 15px;
}
.cv-sidebar-subcategory-list
.cv-sidebar-subcategory-list
.cv-sidebar-category-link {
    font-size: 13px;
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 849px) {
    .cv-sidebar-category-link {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


.cv-share-social {
    display: flex;
    align-items: center;
    gap: 10px;
     padding: 10px 0;
}

.cv-share-social a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    color: #333;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400 !important;
}

.cv-share-social a:hover {
    opacity: .75;
}

.cv-share-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}
.single-post .cv-share-social{
        border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
   
}
/* =========================================
   BUTTON CONTACT FIXED
========================================= */
.button-contact-fixed {
    position: fixed;
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}
.button-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}
/* =========================================
   ITEM
========================================= */
.button-contact-item {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: unset;
    border-radius: 8px 0 0 8px;
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    text-decoration: none !important;
    transition:
        width .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
	border-radius:50%;
	background:white
}
/* Icon */
.button-contact-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform .25s ease,
        filter .25s ease;
}
.button-contact-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
   border-radius:50%;
    transition:
        transform .3s ease,
        filter .3s ease;
}

/* =========================================
   TOGGLE
   Mặc định ẩn trên PC
========================================= */
.button-contact-toggle {
    display: none;
}



/* =========================================
   MOBILE
========================================= */
@media (max-width: 549px) {
    .button-contact-fixed {
        right: 20px;
        top: auto;
        bottom: 80px;
        transform: none;
        align-items: flex-end;
        pointer-events: none;
		flex-direction:column-reverse;
    }
    /* -------------------------------------
       LIST
    ------------------------------------- */
    .button-contact-list {
        gap: 7px;
        margin-bottom: 8px;
        pointer-events: none;
    }
    /* -------------------------------------
       ITEM MOBILE
    ------------------------------------- */
    .button-contact-item {

        border-radius: 50%;
        opacity: 0;
        transform:
            translateX(35px)
            scale(.75);
        pointer-events: none;
        box-shadow:
            0 3px 12px rgba(0, 0, 0, .16);
        transition:
            opacity .28s ease,
            transform .32s cubic-bezier(.2, .8, .2, 1),
            box-shadow .25s ease;
    }
    .button-contact-item img {
        padding: 5px;
    }
    /* -------------------------------------
       KHI MỞ
    ------------------------------------- */
    .button-contact-fixed.is-open
    .button-contact-item {
        opacity: 1;
        transform:
            translateX(0)
            scale(1);
        pointer-events: auto;
    }
    /* -------------------------------------
       DELAY TỪNG ICON
    ------------------------------------- */
    .button-contact-fixed.is-open
    .button-contact-item:nth-child(1) {
        transition-delay: .03s;
    }
    .button-contact-fixed.is-open
    .button-contact-item:nth-child(2) {
        transition-delay: .08s;
    }
    .button-contact-fixed.is-open
    .button-contact-item:nth-child(3) {
        transition-delay: .13s;
    }
    .button-contact-fixed.is-open
    .button-contact-item:nth-child(4) {
        transition-delay: .18s;
    }
    .button-contact-fixed.is-open
    .button-contact-item:nth-child(5) {
        transition-delay: .23s;
    }
    /* -------------------------------------
       HOVER / ACTIVE
    ------------------------------------- */
    .button-contact-item:active {
        transform: scale(.9) !important;
    }
    /* -------------------------------------
       TOGGLE BUTTON
    ------------------------------------- */
    .button-contact-toggle {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #fff;
                box-shadow: 0 3px 14px rgb(0 0 0 / 31%);
        cursor: pointer;
        pointer-events: auto;
        z-index: 2;
        transition:
            transform .3s ease,
            box-shadow .3s ease;
		margin:0;
		margin-bottom:7px;
		padding:3px
    }
    .button-contact-toggle:active {
        transform: scale(.9);
    }
    /* -------------------------------------
       DẤU +
    ------------------------------------- */
    .contact-toggle-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 30px;
        line-height: 1;
        font-weight: 300;
        transition:
            transform .3s ease;
    }
    /* -------------------------------------
       KHI OPEN -> + XOAY THÀNH X
    ------------------------------------- */
    .button-contact-fixed.is-open
    .contact-toggle-icon {
        transform: rotate(45deg);
    }
    .button-contact-fixed.is-open
    .button-contact-toggle {
        box-shadow:
            0 4px 16px rgba(0, 0, 0, .22);
    }
    /* -------------------------------------
       HIỆU ỨNG PULSE NHẸ CHO NÚT TOGGLE
    ------------------------------------- */
  
}
/* =========================================
   MOBILE NHỎ
========================================= */
@media (max-width: 374px) {
    .button-contact-fixed {
        right: 20px;
        bottom: 70px;
    }

    .button-contact-toggle {
        width: 40px;
        height: 40px;
    }
}

.icon-angle-up:before {
    content: "\f357";
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
}
.back-to-top{
	    border: 1px solid #ccc !important;
    background-color: #eaeaea !important;
    width: 45px;
    height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: all .25s ease-in;
    outline: 0;
	    display: flex !important;
    justify-content: center;
    align-items: center;
	
}










.entry-content {
  color: #212529;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.entry-content figure {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 5px 3px 10px;
  text-align: center;
}

.entry-content h6 {
  font-size: 15px;
}

.entry-content h5 {
  font-size: 17px;
}

.entry-content h4 {
  font-size: 17px;
}

.entry-content h3 {
  font-size: 18px;
}

.entry-content h2 {
  font-size: 20px;
  line-height: 1.5;
}

.entry-content h1 {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.entry-content p {
  color: #333;
  margin-bottom: 15px;
  font-size: 16.5px;
  line-height: 1.6;
}

#content ul,
.entry-content ul {
  list-style: disc;
  padding-left: 20px;
  padding-bottom: 5px;
}

.entry-content ul li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ul li a {
  color: #007bff;
}

#content ol,
.entry-content ol {
  list-style: decimal;
  padding-left: 18px;
  padding-bottom: 5px;
  font-size: 16.5px;
}

.entry-content ol li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ol li a {
  color: #ff5912;
}

.entry-content a {
  font-weight: 700;
}

.entry-content blockquote {
  background: #f3f3f3;
  color: #868686;
  display: block;
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 20px;
  padding: 15px 20px 15px 45px;
  position: relative;
  text-align: justify;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
  content: "";
}

.entry-content code {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  font-size: 0.85rem;
  color: #e83e8c;
  font-size: 15px;
}
.entry-content > div{
  overflow: auto;
}
.entry-content table {
  width: 100%;
  height: auto;
  overflow: auto;
}

.entry-content table > tbody > tr > td,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > td,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > thead > tr > th,
.term-description table > tbody > tr > td,
.term-description table > tbody > tr > th,
.term-description table > tfoot > tr > td,
.term-description table > tfoot > tr > th,
.term-description table > thead > tr > td,
.term-description table > thead > tr > th {
  border: 1px solid #ddd;
  padding: 7px 10px !important;
  font-size: 16.5px !important;
  width: auto !important;
}

.entry-content iframe {
  margin: auto;
}

.entry-content .syntaxhighlighter {
  padding: 10px 0;
}




/* =========================================================
   SIDEBAR DANH MỤC SẢN PHẨM WOOCOMMERCE
   ========================================================= */

.custom-product-category-menu {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
}


/* =========================================================
   RESET
   ========================================================= */

.custom-product-category-menu *,
.custom-product-category-menu *::before,
.custom-product-category-menu *::after {
    box-sizing: border-box !important;
}

.custom-product-category-menu a {
    text-decoration: none !important;
}

.custom-product-category-menu button {
    font-family: Arial, Helvetica, sans-serif !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.custom-product-category-menu a::before,
.custom-product-category-menu a::after,
.custom-product-category-menu button::before,
.custom-product-category-menu button::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   CẤP 1
   ========================================================= */

.custom-cat-level-1 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    border-bottom: 1px solid #d6d6d6 !important;

    background: #fff !important;
}


/* Hàng cấp 1 */

.custom-cat-level-1-row {
    width: 100% !important;
    min-height: 51px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    margin: 0 !important;
    padding: 0 10px !important;

    background: #fff !important;
}


/* Text cấp 1 */

.custom-cat-level-1-link {
    flex: 1 1 auto !important;

    display: flex !important;
    align-items: center !important;

    width: auto !important;
    min-height: 51px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    color: #111 !important;

    text-transform: uppercase !important;
}


/* Hover cấp 1 */

.custom-cat-level-1-link:hover {
    color: var(--primary-color) !important;
}


/* Active cấp 1 */

.custom-cat-level-1.is-active
> .custom-cat-level-1-row
> .custom-cat-level-1-link {
    color: var(--primary-color) !important;
}


/* =========================================================
   NÚT MŨI TÊN CẤP 1
   ========================================================= */

.custom-cat-level-1
.custom-cat-toggle {
    flex: 0 0 44px !important;

    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;

    height: 44px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    cursor: pointer !important;
}


/* Hover nút */

.custom-cat-level-1
.custom-cat-toggle:hover {
    background: #eeeeee !important;
}


/* Mũi tên */

.custom-cat-arrow {
    position: relative !important;

    display: block !important;

    width: 7px !important;
    height: 7px !important;

    margin-top: -4px !important;

    border-right: 2px solid #111 !important;
    border-bottom: 2px solid #111 !important;

    transform: rotate(45deg) !important;

    transition: all 0.2s ease !important;
}


/* Mũi tên khi mở */

.custom-cat-level-1.is-open
> .custom-cat-level-1-row
.custom-cat-arrow {
    margin-top: 4px !important;

    transform: rotate(225deg) !important;
}


/* =========================================================
   WRAPPER CẤP 2
   ========================================================= */

.custom-cat-level-2-wrap {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
}


/* =========================================================
   CẤP 2
   ========================================================= */

.custom-cat-level-2 {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border-bottom: 1px solid #d6d6d6 !important;

    background: #fff !important;
}


/* Hàng cấp 2 */

.custom-cat-level-2-row {
    width: 100% !important;
    min-height: 49px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    margin: 0 !important;

    /*
     * Thụt vào giống ảnh
     */
    padding: 0 10px 0 30px !important;

    background: #fff !important;
}


/* Text cấp 2 */

.custom-cat-level-2-link {
    flex: 1 1 auto !important;

    display: flex !important;
    align-items: center !important;

    width: auto !important;
    min-height: 49px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    color: #009ac2 !important;

    text-transform: none !important;
}


/* Dấu > trước cấp 2 */

.custom-cat-level-2-prefix {
    display: inline-block !important;

    margin-right: 3px !important;

    color: inherit !important;
	font-size:10px
}
.custom-cat-level-1.is-active.has-children .custom-cat-level-1-row,.custom-cat-level-2.is-active.has-children .custom-cat-level-2-row,.custom-cat-level-3.is-active{
	        background: #f2f2f2 !important;
}


/* Hover cấp 2 */

.custom-cat-level-2-link:hover {
    color: var(--primary-color) !important;
}


/* Active cấp 2 */

.custom-cat-level-2.is-active
> .custom-cat-level-2-row
> .custom-cat-level-2-link {
    color: var(--primary-color) !important;
}


/* =========================================================
   NÚT MŨI TÊN CẤP 2
   ========================================================= */

.custom-cat-level-2
.custom-cat-toggle {
    flex: 0 0 44px !important;

    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;

    height: 44px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    cursor: pointer !important;
}


/* Hover nút cấp 2 */

.custom-cat-level-2
.custom-cat-toggle:hover {
    background: #eeeeee !important;
}


/* Mũi tên cấp 2 khi mở */

.custom-cat-level-2.is-open
> .custom-cat-level-2-row
.custom-cat-arrow {
    margin-top: 4px !important;

    transform: rotate(225deg) !important;
}


/* =========================================================
   WRAPPER CẤP 3
   ========================================================= */

.custom-cat-level-3-wrap {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
}


/* =========================================================
   CẤP 3
   ========================================================= */

.custom-cat-level-3 {
    width: 100% !important;
    min-height: 49px !important;

    display: flex !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 15px 0 30px !important;

    border-top: 1px solid #eeeeee !important;

    background: #fff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    /*
     * Cấp 3 mặc định màu đen
     */
    color: #111 !important;

    text-transform: none !important;

    text-decoration: none !important;
}


/* Hover cấp 3 */

.custom-cat-level-3:hover {
    color: var(--primary-color) !important;

    text-decoration: none !important;
}


/* =========================================================
   CẤP 3 ĐANG ACTIVE
   ========================================================= */

.custom-product-category-menu
.custom-cat-level-3.is-active {
    color: var(--primary-color) !important;

    font-weight: 400 !important;
}


/* =========================================================
   ACTIVE TẤT CẢ CẤP
   ========================================================= */

/*
 * Cấp 1
 */

.custom-product-category-menu
.custom-cat-level-1.is-active
> .custom-cat-level-1-row
> .custom-cat-level-1-link {
    color: var(--primary-color) !important;
}


/*
 * Cấp 2
 */

.custom-product-category-menu
.custom-cat-level-2.is-active
> .custom-cat-level-2-row
> .custom-cat-level-2-link {
    color: var(--primary-color) !important;
}


/*
 * Cấp 3
 */

.custom-product-category-menu
.custom-cat-level-3.is-active {
    color: var(--primary-color) !important;
}


/* =========================================================
   KHI HOVER TOÀN BỘ DÒNG
   ========================================================= */

.custom-cat-level-1-row:hover
.custom-cat-level-1-link {
    color: var(--primary-color) !important;
}

.custom-cat-level-2-row:hover
.custom-cat-level-2-link {
    color: var(--primary-color) !important;
}


/* =========================================================
   KHÔNG ĐỂ FLATSOME ĐỔI MÀU LINK
   ========================================================= */

.custom-product-category-menu
.custom-cat-level-1-link,
.custom-product-category-menu
.custom-cat-level-1-link:visited {
    color: #111 !important;
}

.custom-product-category-menu
.custom-cat-level-2-link,
.custom-product-category-menu
.custom-cat-level-2-link:visited {
    color: #009ac2 !important;
}

.custom-product-category-menu
.custom-cat-level-3,
.custom-product-category-menu
.custom-cat-level-3:visited {
    color: #111 !important;
}


/*
 * Active phải đặt sau visited
 */

.custom-product-category-menu
.custom-cat-level-1.is-active
> .custom-cat-level-1-row
> .custom-cat-level-1-link,
.custom-product-category-menu
.custom-cat-level-2.is-active
> .custom-cat-level-2-row
> .custom-cat-level-2-link,
.custom-product-category-menu
.custom-cat-level-3.is-active {
    color: var(--primary-color) !important;
}


/* =========================================================
   XÓA MARGIN CỦA FLATSOME / WOOCOMMERCE
   ========================================================= */

.custom-product-category-menu
.custom-cat-level-1-row,
.custom-product-category-menu
.custom-cat-level-2-row {
    margin-bottom: 0 !important;
}

.custom-product-category-menu
.custom-cat-level-1-link,
.custom-product-category-menu
.custom-cat-level-2-link,
.custom-product-category-menu
.custom-cat-level-3 {
    margin-bottom: 0 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 549px) {

    .custom-product-category-menu {
        width: 100% !important;
    }


    /* Cấp 1 */

    .custom-cat-level-1-row {
        min-height: 51px !important;
        padding: 0 10px !important;
    }

    .custom-cat-level-1-link {
        min-height: 51px !important;

        font-size: 14px !important;
    }


    /* Cấp 2 */

    .custom-cat-level-2-row {
        min-height: 49px !important;

        padding: 0 10px 0 30px !important;
    }

    .custom-cat-level-2-link {
        min-height: 49px !important;

        font-size: 14px !important;
    }


    /* Cấp 3 */

    .custom-cat-level-3 {
        min-height: 49px !important;

        padding: 0 15px 0 30px !important;

        font-size: 14px !important;
    }


    /* Nút */

    .custom-cat-toggle {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
    }
	.custom-cat-level-1-link{
		font-weight:600 !important
	}
	.custom-cat-level-2:first-child{
		border-top:1px solid #d6d6d6 !important
	}
	.custom-cat-level-2:last-child{
		border-bottom:0 !important
	}

}



.text-footer .mxh{
	display:flex;
	gap:5px;
}

.text-footer p img {
    display: block !important;
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
    max-width: 33px !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
	border-radius:50%;
}
.baiviet-trangchu{
	min-width:100%;
	    margin-left: 0 !important;
    margin-right: 0 !important;
}