.product-small span.vi-sctv-price {
    display: flex;
    justify-content: center;
}


/*//fix video size*/
#tab-video p:has(iframe) {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

#tab-video p:has(iframe) iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* hide fly contact in cart */
body.woocommerce-cart .flying-contacts{
    display: none;
    opacity: 0;
}

/*hide read more category page*/
@media screen and (max-width: 430px){
    .woocommerce.archive .section-title a{
        display: none;
    }
}


.woocommerce.archive .row .row-small:not(.row-collapse){
    /*margin-left: 0;
    margin-right: 0;*/
    padding-left: 1px;
    padding-right: 1px;
}

.woocommerce.archive .products > .product-small {
    border: 1px solid #eee;
    margin-left: -1px;
    margin-bottom: -1px;
    margin-right: -1px;
    padding: 0 !important;
}

.woocommerce.archive .products > .product-small .product-small{
    border: none;
}

.woocommerce.archive .has-shadow>.col>.col-inner{
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 0;
}

.woocommerce.archive .product-small.col:hover {
    -webkit-box-shadow: 0 0 20px rgb(0 0 0 / 10%);
    box-shadow: 0 0 50px rgb(0 0 0 / 10%);
    z-index: 1;
}

.product-small .image-fade_in_back a img + img.show-on-hover{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/*Task 11*/
.cart_totals .wc-proceed-to-checkout {
    display: flex;
    flex-flow: column-reverse;
    gap: 10px;
}

.cart_totals .wc-proceed-to-checkout .checkout-button{
    margin-bottom: 0;
}

/*Task 10*/
.product-small.box{
    border-bottom: none;
}

.product-small .col-inner:has(.wishList-btn){
    background-color: #fff;
    padding-bottom: 30px;
}
.product-small .wishList-btn {
    position: absolute;
    bottom: 10px;
    display: flex;
    justify-content: right;
    width: calc(100% - 20px);
    background-color: #fff;
}

.product-small .wishList-btn span {
    color: #777;
    font-size: 12px;
    line-height: 20px;
}

.product-small .wishList-btn:hover span {
    color: #194586;
}

.wishList-btn .button-icon {
  padding: 0;
  margin: 0;
  line-height: initial;
  min-height: initial;
  position: relative;
}

.wishList-btn .button-icon .icon-svg {
    display: inline-block;
    height: 20px;
    vertical-align: middle;
    width: 20px;
    color: #d70018;
    fill: #888;
}

.wishList-btn .button-icon .icon-added,
.wishList-btn.added .button-icon .icon-svg{
    display: none;
}

.wishList-btn.added .button-icon .icon-added{
    display: inline-block;
}


.wishList-btn:not(.added):hover .button-icon .icon-svg {
    animation: pulseCps 1s ease-out infinite;
}

@keyframes pulseCps {
  0% {
    fill: #fff;
    transform: scale(1);
    transform-origin: center center;
  }
  50% {
    fill: #194586;
    transform: scale(1.15);
  }
  to {
    fill: #fff;
    transform: scale(1);
  }
}

#product-thumbnails .flickity-prev-next-button.previous,
#product-thumbnails .flickity-prev-next-button.next{
    top: 50%;
    bottom: initial;
    transform: translateY(-50%) !important;
}

#product-thumbnails a:hover{
    cursor: pointer;
}

#product-thumbnails a.video-gallery-icon {
   border-color: rgba(0,0,0,.2);
   border-radius: 4px;
}

.woocommerce-product-gallery__image .show-video-gallery {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.woocommerce-product-gallery__image .show-video-gallery span.icon {
    height: 60px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 70px;
    opacity: 0.8;
    transition: 0.25s;
}

.woocommerce-product-gallery__image .show-video-gallery a:hover span.icon {
    opacity: 1;
}



.fancybox__thumbs {
    --f-thumb-width: 200px !important;
    --f-thumb-height: auto !important;
}

.fancybox__thumbs.is-classic {
    --f-thumb-gap: 18px !important;
}

.fancybox__footer .f-thumbs__slide{
    align-items: flex-start;
}

.fancybox__footer .f-thumbs__slide .f-thumb{
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

@media screen and (min-width: 768px){
    .fancybox__container .fancybox__footer {
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
    }

    .fancybox__container .fancybox__footer .f-thumbs,
    .fancybox__container .fancybox__footer .f-thumbs .f-thumbs__viewport{
        overflow: visible;
    }

    .fancybox__container .fancybox__footer .f-thumbs__slide{
        align-items: flex-start;
    }

    .fancybox__container .fancybox__footer .f-thumbs__slide > div{
        position: static;
        display: flex;
        flex-flow: column;
        gap: 5px;
    }

    .fancybox__container .fancybox__footer .f-thumbs__slide .f-thumb{
        border: 1px solid #e0e0e0;
        max-height: 100%;
        object-fit: cover;
        height: 112px;
    }

    .fancybox__container .fancybox__footer .f-thumbs__slide .caption{
        font-size: 0.8em;
    }
}

@media screen and (max-width: 768px){
    .fancybox__thumbs {
        --f-thumb-width: 120px !important;
/*        --f-thumb-height: 80px !important;*/
    }

    .fancybox__thumbs.is-classic {
        --f-thumb-gap: 8px !important;
    }

    /*#product-thumbnails a.video-gallery-icon{
        padding: 4px;
    }

    #product-thumbnails a.video-gallery-icon img{
        width: 40px;
    }*/

    /*.woocommerce-product-gallery__image .show-video-gallery img{
        min-height: 360px;
    }*/
}



.single-product-banner img {
    margin-top: 25px;
    margin-bottom: 20px;
}

.single-product-banner img[src=""] {
   display: none;
}


.after-product-category-loop .term-description,
.after-product-category-loop .catalog-question-block{
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.1), 0 2px 6px 2px rgba(60,64,67,.15);
    display: block;
    margin-bottom: 15px;
    margin-right: auto;
/*    max-height: 500px;*/
    min-height: 0;
    overflow: hidden;
    padding: 15px 20px;
    position: relative;
    text-align: justify;
    width: 100%;
}

.after-product-category-loop .catalog-question-block{
    max-height: initial;
}

#product-category-sidebar .widget{
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.1), 0 2px 6px 2px rgba(60,64,67,.15);
    display: block;
    margin-bottom: 15px;
    margin-right: auto;
    overflow: hidden;
    width: 100%;
}

#product-category-sidebar .widget .recent-blog-posts-li{
    padding-left: 15px;
    padding-right: 15px;
}


/*vertical menu*/
#wide-nav.header-bottom .header-vertical-menu .header-vertical-menu__fly-out .sub-menu{
    padding: 8px;
}

#wide-nav.header-bottom .header-vertical-menu .header-vertical-menu__fly-out .sub-menu li a{
    margin-left: 0;
    margin-right: 0;
    font-size: 95%;
    border-bottom: none;
    color: #2e3a47;
}

#wide-nav.header-bottom .header-vertical-menu .header-vertical-menu__fly-out .sub-menu li.childmenu-header a{
    border-bottom: 1px solid #ebebeb;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
    text-transform: uppercase;
}


.header .search-form .autocomplete-suggestions, 
.header-block .autocomplete-suggestions{
    max-width: 400px;
    width: 100vw;
    background: #fff;
}

.header .search-form .live-search-results p.title-box {
    background-color: #f3f3f3;
    padding: 5px 10px;
    color: #333;
    font-weight: bold;
}

.header .search-form .live-search-results .autocomplete-suggestions {
    position: relative;
    z-index: 31;
}

.header .search-form .live-search-results .bg_overlay{
    position: fixed;
    display: none;
    content: "";
    background: rgba(0,0,0,.53);
    height: 100vh;
    left: 0;
    top: 100px;
    transition: .3s;
    width: 100%;
/*    z-index: -1;*/
}

.header .search-form .live-search-results .autocomplete-suggestions .autocomplete-suggestion,
.header .search-form .live-search-results p.title-box {
    position: relative;
    z-index: 99;
}

.header .search-form .live-search-results .autocomplete-suggestions .autocomplete-suggestion{
    background: #fff;
    cursor: pointer;
}

@media (max-width: 600px) {

    .header .search-form .live-search-results {
        position: fixed !important;
        top: 88px !important;
        left: 5vw !important;
    }
    
    .header .search-form .live-search-results .autocomplete-suggestions:before{
        top: 86px;
    }

    .header .search-form .autocomplete-suggestions, .header-block .autocomplete-suggestions{
        max-width: initial;
        width: 90vw;
        max-height: calc(80vh - 100px) !important;
    }
}

/*Ẩn tin tức ở sidebar product 2*/
@media (max-width: 768px) {
    #product-sidebar-2 .miviet_related_posts{
        display: none;
    }
}


/* fix header mobile menu */
@media (max-width: 768px) {
    .off-canvas .sidebar-menu{
        padding-top: 0 !important;
    }

    .off-canvas-left .mfp-content {
        width: 100% !important;
        background: #fff;
    }

    .off-canvas:not(.off-canvas-center) li.html {
        padding: 10px 20px !important;
    }

    .off-canvas:not(.off-canvas-center) .nav-vertical li.html > a{
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        
    }

    .off-canvas .nav-vertical>li>a{
        color: #333;
    }

    .off-canvas:not(.off-canvas-center) .nav-vertical li>a .header_logo{
        max-width: 130px;
    }

    .off-canvas:not(.off-canvas-center) .mfp-close {
        background: #fe7500;
        color: #fff;
        font-size: 32px;
        width: 32px;
        height: 32px;
        line-height: 32px;
        mix-blend-mode: initial;
        border-radius: 100%;
        transform: translateY(40%) translateX(-40%);
        opacity: 1;
    }
}


.product-main .button.add-to-compare-button,
.product-main .button.remove-from-compare-button{
    margin-bottom: 10px;
}

.product-small .add-to-compare-button,
.product-small .remove-from-compare-button{
    display: none;
}


.woocommerce-compare-bar-item-placeholder .woocommerce-compare-bar-item {
    background-color: #f1f1f1;
}

a.add-to-compare-button {
    width: 100%;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-bottom: 15px;
    border-radius: 5px;
    text-transform: none;
}

.single-product a.add-to-compare-button:hover{
    background: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

a.remove-from-compare-button{
    width: 100%;
    background-color: #666;
    margin-bottom: 15px;
    border-radius: 5px;
    text-transform: none;
}

.related.related-products-wrapper{
    margin-bottom: 40px;
}

.related .product-small .add-to-compare-button,
.related .product-small .remove-from-compare-button{
    display: inline-block;
    font-size: 0.8em;
}

.related .product-small:not(.box){
    padding: 0 3px 0;
}

.related .product-small.box{
    border: 1px solid #ddd !important;
}

.product-small .add-to-compare-button,
.product-small .remove-from-compare-button{
/*    width: calc(100% - 10px);*/
    margin-bottom: 0;
/*    margin-left: 5px;*/
/*    margin-right: 5px;*/
    font-weight: normal;
    font-size: 0.95em;
    line-height: 2em;
    min-height: 2em;
}

.single-product-compare-key-column.single-product-compare-value-ti,
.single-product-compare-key-column.single-product-compare-value-pr,
.single-product-compare-key-column.single-product-compare-value-re
{
    opacity: 0;
}

#woocommerce-single-compare-table .single-product-compare-value{
    padding-left: 5px;
    padding-right: 5px;
}


.woocommerce-compare-bar {
    box-shadow: none;
}

#woocommerce-compare-bar-items{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
        box-shadow: 0 -2px 10px rgba(0,0,0,.12);
}

#woocommerce-compare-bar-items .woocommerce-compare-bar-item-container{
    border-right: 1px solid #dedede;
}

#woocommerce-compare-bar-items .woocommerce-compare-bar-item-placeholder .woocommerce-compare-bar-item{
    background: url(../img/icon-compare.png) center bottom no-repeat;
    background-size: contain;
}

#woocommerce-compare-bar-items .woocommerce-compare-bar-item img {
    max-width: 60px;
    height: 60px;
    object-fit: contain;
}

#woocommerce-compare-bar-items .woocommerce-compare-bar-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#woocommerce-compare-bar .woocommerce-compare-bar-open-close, .woocommerce-compare-bar-items {
        box-shadow: 0 -2px 10px rgba(0,0,0,.122);
    }

#woocommerce-compare-bar .woocommerce-compare-bar-open-close:hover{
    color: #fd6e1d;
}

@media (max-width: 600px) {
    #woocommerce-compare-bar-items {
        white-space: pre-wrap;
        height: fit-content;
    }

    #woocommerce-compare-bar-items .woocommerce-compare-bar-item-container,
    .woocommerce-compare-bar-layout-2 .woocommerce-compare-bar-actions{
        padding: 10px;
    }

    .woocommerce-compare-bar-layout-2 .woocommerce-compare-bar-actions{
        padding-top: 0;
        padding-bottom: 20px;
    }


}

.btn.woocommerce-better-compare-read-more{
    width: 100%;
    border-radius: 8px;
    text-transform: none;
}

.single-product-compare-value-ca .single_add_to_cart_button ~ * {
    display: none;
}

#woocommerce-single-compare-table .single-product-compare-value-im {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

#woocommerce-single-compare-table .single-product-compare-value-ti,
#woocommerce-single-compare-table .single-product-compare-value-pr,
#woocommerce-single-compare-table .single-product-compare-value-re{
    background-color: #fff !important;
}




#woocommerce-single-compare-table a.woocommerce-compare-single-item-remove{
    width: 20px;
    height: 20px;
    background: #333;
    color: #fff;
    line-height: 18px;
}

#woocommerce-single-compare-table a.woocommerce-compare-single-item-remove i.fa{
    font-size: 12px;
    color: #fff;
}

#woocommerce-single-compare-table a.woocommerce-compare-single-item-remove:hover i.fa{
    color: #ff3300;
}

.page-id-68087 #content .col-inner{
    background: none;
}

.page-id-68087 h1.entry-title.mb {
    margin-bottom: 10px;
    font-size: 18px;
/*    border-bottom: 1px solid #dedfdf;*/
    padding-bottom: 10px;
}

.page-id-68087 .entry-header + blockquote{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 22px;
}

.page-id-68087 .entry-header + blockquote span{
    font-weight: 400 !important;
    margin-left: 4px;
    margin-right: 4px;
}

.single-product-compare-column .single-product-compare-value-group-68103,
.single-product-compare-column .single-product-compare-value-group-68386{
    opacity: 0 !important;
}

.single-product-compare-keys .single-product-compare-value-group-68103 b,
.single-product-compare-keys .single-product-compare-value-group-68386 b{
    text-transform: uppercase;
    color: #194586 !important;
    font-weight: bold;
}

.single-product-compare-keys .single-product-compare-key-column b{
    font-weight: 600 !important;
    color: #444;
}

@media (max-width: 768px) {
    #woocommerce-single-compare-table .single-product-compare-value-ti .single-product-compare-key,
    #woocommerce-single-compare-table .single-product-compare-value-pr .single-product-compare-key,
    #woocommerce-single-compare-table .single-product-compare-value-re .single-product-compare-key{
        display: none;
    }

    #woocommerce-single-compare-table button.buy_now_style{
        font-size: 14px;
    }

    #woocommerce-single-compare-table button.buy_now_style span {
        font-size: 11px;
        font-weight: 300;
        margin: 5px 0 0;
    }
}

.single-product-compare-value-ca .stock{
    text-align: left;
    margin-bottom: 0.8em;
}

.single-product-compare-value-ca .stock{
    display: none;
    opacity: 0;
}

/*.single-product-compare-value-ca:not(:has(.stock)){
    padding-top: 48px;
}*/

.woocommerce.archive .category-page-row{
    padding-top: 20px;
}

.woocommerce.archive .category-page-row .products.row{
    margin-left: 0;
    margin-right: 0;
/*    justify-content: space-between;*/
}


/* Filter block */
.catalog-block-filters ul,
.catalog-block-filters li{
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-filters .filter-sort__title,
.catalog-block-filters .filter-sort__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.brand-filters .filter-sort__title {
    font-size: 19px;
}

.catalog-block-filters .filter-sort__list-filter {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.catalog-block-filters .filter-sort__list-filter .btn-filter {
    align-items: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #444;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    height: 34px;
    margin: 0 10px 10px 0;
    padding: 5px 10px;
    white-space: nowrap;
    text-transform: none;
}

.catalog-block-filters .filter-sort__list-filter input{
    display: none;
}


/*.catalog-block-filters .filter-sort__list-filter .btn-filter:not(.button__filter-parent){
    font-size: 11px;
}*/

.catalog-block-filters .filter-sort__list-filter .btn-filter-item {
    position: relative;
}

.catalog-block-filters .filter-sort__list-filter .btn-filter .icon {
    align-items: center;
    display: flex;
    margin-right: 6px;
    width: 15px;
    position: relative;
}

.catalog-block-filters .filter-sort__list-filter input:checked + .btn-filter,
.catalog-block-filters .filter-sort__list-filter .btn-filter.active {
    background: #fef2f2;
    border: 1px solid #d70018;
    color: #d70018;
    position: relative;
}

.catalog-block-filters .filter-sort__list-filter input:checked + .btn-filter .icon,
.catalog-block-filters .filter-sort__list-filter .btn-filter.active .icon {
    fill: #d70018;
}

.catalog-block-filters .filter-sort__list-filter .btn-filter.active.deactive {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #444;
}

.catalog-block-filters .filter-sort__list-filter .btn-filter.active.deactive .icon {
    fill: #444;
}

.catalog-block-filters .filter-sort__list-filter .list-filter-child input:checked + .btn-filter:after,
.catalog-block-filters .filter-sort__list-filter .btn-filter-item.active:after {
    background-color: #d70018;
    border-radius: 8px 0 10px 0;
    color: #fff;
    content: "✓";
    font-size: 7px;
    height: 10px;
    left: 0;
    padding-bottom: 8px;
    padding-left: 0;
    position: absolute;
    top: 0;
    width: 15px;
}

.catalog-block-filters .filter-sort__list-filter .btn-filter .item-value-filter:not(:last-child):after {
    content: "|";
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper {
    position: relative;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .btn-filter .icon {
    align-items: center;
    display: flex;
    margin-left: 6px;
    margin-right: 0;
    width: 15px;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    display: none;
    opacity: 0;
    padding: 10px 10px 0;
    position: absolute;
    transition: 0.5s;
    width: 365px;
    z-index: -1;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.right {
    left: auto;
    right: 0;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.right.active:after {
    left: auto;
    right: 30px;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.active {
    display: block;
    opacity: 1;
    z-index: 100;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.active:after {
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    content: "";
    left: 30px;
    position: absolute;
    top: -10px;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all {
    width: 800px;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .header-filter-all {
    display: none;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .listFilter {
    display: flex;
    flex-wrap: wrap;
/*    height: 400px;*/
    min-height: 250px;
    overflow-y: auto;
    width: 100%;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .listFilter .filter-wrapper {
    width: 33.3333333333%;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .listFilter .filter-wrapper p {
    font-weight: 700;
    margin-bottom: 5px;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child ul {
    display: flex;
    flex-wrap: wrap;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .btn-filter-group {
    display: none;
    justify-content: space-between;
    margin-bottom: 10px;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .btn-filter-group.show {
    display: flex;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .btn-filter-group .button {
    font-size: 14px;
    font-weight: 600;
    width: calc(50% - 5px);
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .btn-filter-group .button.submit {
    background-color: #d70018;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .price-filter-range .range-header {
    display: flex;
    justify-content: space-between;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .price-filter-range .range-header p{
    margin-bottom: 0;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .price-filter-range .price-range-slider-ltr {
    margin: 10px auto;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .price-filter-range .price-range-slider-ltr .ui-slider {
    background-color: #9f9d9d;
    border-radius: 10px;
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .price-filter-range .price-range-slider-ltr .ui-slider-range {
    transition-duration: 0.25s;
    background-color: rgb(215, 16, 8);
}

.catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child .price-filter-range .price-range-slider-ltr .ui-slider .ui-slider-handle {
    background-color: #fff;
    border: 2px solid rgba(215, 0, 24, 0.52);
    border-radius: 50%;
    box-shadow: 0.5px 0.5px 2px 1px rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
    cursor: pointer;
}

.catalog-block-filters .filter-sort__list-filter .overlay-clear {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
}

@media screen and (max-width: 768px) {
    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all {
        width: calc(100vw - 20px);
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .listFilter {
        height: 350px;
        width: 100%;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .listFilter .filter-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 717px) {
    .catalog-block-filters .filter-sort__list-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper {
        position: static;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child {
        position: absolute;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all {
        background-color: #fff;
        border-radius: 10px 0 0 10px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
            0 2px 4px -1px rgba(0, 0, 0, 0.06);
        height: 100%;
        margin-top: 0 !important;
        overflow: hidden;
        padding: 0;
        position: fixed;
        right: -80%;
        top: 0;
        transition: 0.5s;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all.active {
        bottom: 0;
        opacity: 1;
        right: 0;
        top: 0;
        transform: translateX(0);
        width: 80%;
        z-index: 1021;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .header-filter-all {
        background-color: #d70018;
        display: flex;
        justify-content: space-between;
        padding: 10px;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .header-filter-all .title {
        color: #fff;
        font-size: 18px;
        margin-bottom: 0;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .header-filter-all .title .icon svg {
        fill: #fff;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .header-filter-all .btn-close {
        background-color: transparent;
        border: 0;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .listFilter {
/*        height: calc(100% - 84px);*/
        padding: 10px;
        width: 100%;
        height: fit-content;
        overflow-x: auto;
        max-height: calc(100% - 100px);
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .btn-filter-group {
        bottom: 0;
        display: flex;
        margin-bottom: 0;
        position: absolute;
        width: 100%;
        background: #fff;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .btn-filter-group.show .button.submit {
        background-color: #d70018;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.all .btn-filter-group .button {
        font-size: 14px;
        height: 40px;
        margin-top: 9px;
        margin-bottom: 9px;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.active {
        opacity: 1;
        right: 50%;
        transform: translateX(50%);
        width: 350px;
        z-index: 10;
    }

    .catalog-block-filters .filter-sort__list-filter .filter-wrapper .list-filter-child.active:after {
        display: none;
    }

    .catalog-block-filters .filter-sort__list-filter .overlay-clear.all {
        background: rgba(0, 0, 0, 0.53);
        z-index: 1020;
    }
}

@media screen and (max-width: 540px) {
    .catalog-block-filters .filter-sort__list-filter {
        overflow-x: auto;
    }
}

.devvn_prod_cmt {
    clear: both;
}

.category-product-section.processing{
    position: relative;
}

.category-product-section.processing::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.1);
    z-index: 1;
    top: 0;
    left: 0;
}

.category-page-title .page-title-inner .flex-col:has(.woocommerce-result-count){
    display: none;
}

.product-small .promotion-text {
    background: #f3f4f6;
    margin-top: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.5;
    margin-left: 0;
    overflow: hidden;
    padding: 5px;
    text-transform: none;
    text-align: left;

}

.product-small .promotion-text ul,
.product-small .promotion-text li:last-child{
    margin-bottom: 0;
}

.product-small .promotion-text li::marker {
    color: #444;
}

.catalog-block-filters .brand-filters {
/*    margin-bottom: 10px;*/
}

.catalog-block-filters .brand-filters .filter-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
}

.catalog-block-filters .brand-filters .filter-wrapper:has(.brand-item) {
  margin-bottom: 10px;
}

.row-danh-muc-slider{
    margin-bottom: 10px;
}

.row-danh-muc-slider > .col{
    padding-bottom: 0 !important;
}

.catalog-block-filters .brand-filters .filter-wrapper a.brand-item {
    display: block;
    padding: 3px 8px;
    border-radius: 24px;
    border: 1px solid #e0e0e0;
    min-height: 40px;
    line-height: 32px;
    cursor: pointer;
}

.catalog-block-filters .brand-filters .filter-wrapper a.brand-item img.brand-image {
    height: 24px;
    width: auto;
    cursor: pointer;
}

.catalog-block-filters .brand-filters .filter-wrapper a.brand-item:not(:has(img)){
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .header-filter-all .title{
        display: inline-flex;
        gap: 8px;
    }

    .header-filter-all .btn-close{
        margin: 0;
        line-height: 1.3em;
        min-height: 20px;
    }

    .woocommerce-compare-autocomplete-icon{
        width: 45px;
        line-height: 23px;
    }

    .woocommerce-compare-autocomplete-input {
        width: calc(100% - 45px);
    }

    .single-product-compare-value, .single-product-compare-key-column {
        min-height: 40px;
        font-size: 13px;
    }
}


.grid-tools a.remove-from-compare-button {
    background-color: #666;
}

.woocommerce table.shop_attributes td, .woocommerce table.shop_attributes th {
    text-transform: none;
}

@media (max-width: 767px) {
    .section_product .section-head {
        background: #fff;
    }

    .section_product .section-head h2.title_section{
        width: 100%;
        background: #194586;
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
    }

    .section_product .section-head .viewallcat{
        width: 100%;
        padding: 10px 10px 4px 10px;
    }

    .section_product .section-head .viewallcat a {
        color: #333;
        border: 1px solid #dfdfdf;
        padding: 3px 5px;
        margin-right: 5px;
        margin-bottom: 8px;
        border-radius: 4px;
    }

    .section_product .section-head .viewallcat a:hover{
        border-color: #194586;
    }

    .hidden-xs {
        display: none !important;
    }
}

.product-small .title-wrapper + .price-wrapper{
    display: flex;
    flex-flow: column;
    gap: 8px;
}

.product-small .title-wrapper + .price-wrapper .button:last-of-type{
    margin-top: auto;
}

.single-product .depots-wrap {
    margin-bottom: 8px;
}

.recently_viewed_products{
    margin-bottom: 20px;
}

.recently_viewed_products .row-xsmall>.flickity-viewport>.flickity-slider>.col.product-small{
    padding: 0 3px 0;
}

.recently_viewed_products .product-small .col-inner{
    box-shadow: none;
}

.recently_viewed_products .product-small.box:not(.box-overlay){
    border-width: 0;
    border: 1px solid #ddd;
    
}

.buy_from_tmdt {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.buy_from_tmdt h5{
    width: fit-content;
    margin-bottom: 0;
}

.buy_from_tmdt a {
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 2px solid;
    font-weight: 500;
    color: #fff;
    text-align: center;
    font-size: 14px;
    outline: none;
    color: white !important;
}

.buy_from_tmdt a img{
    border-radius: 50%;
    outline: none;
}

.product-info .single_add_to_cart_button,
.product-info .button-link.buy_now_style{
    font-size: 14px !important;
    border-radius: 99px;
    line-height: 1.3rem;
}

.product-info .single_add_to_cart_button span,
.product-info .button-link.buy_now_style span{
    font-size: 12px;
    text-transform: capitalize;
    font-weight: bold;
}

.bk-btn {
    margin-bottom: 1rem;
}


.single-product .product-info form.cart{
    margin-bottom: 10px;
}