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

/*************** ADD CUSTOM CSS HERE.   ***************/
h1, h2, h3, h4, h5, h6 {
    text-wrap: inherit;
}

i.icon-menu,i.icon-shopping-cart {
    color: #000;
}
.cssbg .section-bg img {
    object-fit: contain;
}
.icon-box.text-right, .icon-box.text-left {
    display: flex;
    align-items: center;
}
.chatluong .icon img{padding: 0}
.tieude1>h3:after {
    content: "";
    display: inline-block;
    width: 100px;
    height: 65px;
    background-image: url(/mac2/wp-content/themes/webvip/images/hot-sale_6952151.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    vertical-align: middle
}

@media (min-width: 850px) {
    #menu-item-1093,#menu-item-1097,#menu-item-1103{
        display:none
    }
    .sixbox .icon-box-text.last-reset {
        margin: 0 10px;
    }
    .sixbox .icon-box-text.last-reset p{
        margin: 0;
    }
    .sixbox .icon-box-center .icon-box-img {
        margin: 0;width: 16px !important;
    }
    .sixbox .text-center {
        display: flex;align-items: center;
    }
    .sixbox .icon-box-img img, .icon-box-img svg {
        padding: 0;
    }
}
/*Menu vertical*/
.header-vertical-menu__fly-out {
    background-color: #f3f3f3;
    width: 100%;
}
.nav-dropdown>li.image-column, .nav-dropdown>li.nav-dropdown-col {
    display: table;
}
ul.sub-menu.nav-dropdown.nav-dropdown-simple > li {
    border-bottom: 1px dotted #d3d3d3;
    width: 100%;
}
.header-vertical-menu__fly-out .nav-top-link {
    font-size: 15px;color: #000;
}
ul.sub-menu.nav-dropdown.nav-dropdown-simple {
    padding: 0;
}
/*Menu vertical*/
.form-flat input:not([type=submit]), 
.form-flat select, 
.form-flat textarea {
    background-color: rgba(0, 0, 0, .03);
    border-color: #ffba00;
    color: #ccc !important;
}
input#woocommerce-product-search-field-0::placeholder {
  color: #000;
}
#woocommerce-product-search-field-0{
	border-color: #ccc;
}
#woocommerce-product-search-field-0::placeholder {
  color: #fff;
}
.success.is-outline, .success.is-outline:hover {
    background-color: transparent;
    border: 1px solid #ffba00;
    color: #fff;
	line-height: 39px;
	font-weight: 500;
}
.button.secondary:hover{
	color: #000;
	background-color: #ffba00 !important;
	box-shadow:none;
}
.white.is-outline, .white.is-outline:hover {
    background-color: transparent !important;
    border: 1px solid #ffba00;
    color: #2a2e2d;
	line-height: 39px;
	font-weight: 500;
}
.flickity-page-dots {
    bottom: 0px;
}
.copyright-footer {
    color: #000;
}
/*sanpham*/
.product-short-description {
    max-height: 200px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}
.product_meta>span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
span.amount {
    color: #F63737;
}
.tabsphome .nav-box>li.active>a,.tabsphome .nav-pills>li.active>a {
    background: #fff;
    color: #000;
}
.tabsphome li >a{
    background: #e1e2e2;
    border: 1px solid #e1e2e2;
    padding: 0px 20px;
    color: #000;
    line-height: 26px;
    font-weight: 600 !important;
}
.tabsphome .nav {
    gap: 20px;
}
/* Container chung để chứa phần trăm khuyến mại và giá chênh lệch */
.header-cart-icon img{
    max-width: 124px;
}
.discount-percentage-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 15px;
    z-index: 10;
}
.product-small .box-text {
    position: initial;
}
.product-small{
    position: relative;
}
.spkhuyenmai .box-text.text-center {
    padding: 0;
}
.category-page-row .custom-read-more-wrapper{display:none;}
.product-small.box.has-hover.box-bounce.box-text-bottom,
.product-small.box.spkhuyenmai.has-hover.box-normal.box-text-bottom{
    padding: 10px;
    background: #fff;
}
p.name.product-title.woocommerce-loop-product__title a{
    font-weight: 400;
    color: #1A1A1A;
    font-size: 14px;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;     /* Số dòng muốn hiển thị */
    overflow: hidden;
    text-overflow: ellipsis;
}
.price-wrapper {
    padding-top: 5px;
}
.box-bounce .box-text {
    padding: 0;
}
.custom-read-more-wrapper {
    margin-top: 10px;
}
.custom-read-more {
	font-size:17px;
    display: block !important;
    padding: 0px;
	margin: 0;
    background-color: #21624e;
    color: #fff;
	text-transform: inherit;
    font-weight: 600;
}
.custom-read-more:hover,button.single_add_to_cart_button.button.alt:hover {
    background-color: #21624e;
    color: #000;
	box-shadow:none;
}
.custom-read-more-wrapper {
    margin: 0;
}
.product-policises-wrapper {
    margin: 15px 0px
}
.product-policises-wrapper .product-policises {
    font-size: 16px;
	margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr))
}
@media (max-width: 767px) {
    .product-policises-wrapper .product-policises {
        grid-template-columns:1fr
    }
}
.product-policises-wrapper .product-policises .media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: center;
    margin-bottom: 15px
}
.product-policises-wrapper .product-policises .media>div:not(.media-body) {
    width: 32px;
    height: 32px;
    margin-right: 15px
}
.product-policises-wrapper .product-policises .media .media-body {
    -ms-flex: 1;
    flex: 1
}
.product-hotline,.product-policises-wrapper {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
    font-weight: 500
}
.product-hotline img {
    height: 25px;
	margin: 0 !important;
}
.product-hotline a {
    color: #C90000;
    font-weight: bold
}
.product-hotline a:hover {
    opacity: 0.7
}
.details-pro{
    margin: 0;
    padding-bottom: 0;
}
.related-products-wrapper .price-wrapper{
	display:none;
}
.related-products-wrapper .box-image img {
    height: 300px;
    object-fit: cover;
}
.related-products-wrapper .product-small .col-inner{
    padding: 10px;
    background: #fff;
}
.spkhuyenmai .custom-read-more-wrapper{display:none;}

.slider-nav-light .flickity-page-dots .dot.is-selected, .slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
    background-color: #c49431;
}
.badge-container {
    margin: 10px 0 0;
}
.badge {
    height: 30px;
}
span.onsale {
    padding: 5px 8px;
    font-size: 14px;
    line-height: 31px;
}
.badge-circle .badge-inner, .badge-circle-inside .badge-inner {
    background: #ffba00;
    color: #000;
}
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    min-height: 167px;
	width: auto;
    display: flex;
    justify-content: center;
    object-fit: cover;
    padding: 10px;
}
img.show-on-hover.absolute.fill.hide-for-small.back-image {
    display: none;
}
.featured-title {
    background-color: var(--fs-color-primary);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
    min-height: 334px;
    display: flex;
}
.product-small.box.has-hover.box-normal.box-text-bottom,
.product-small.box.sanpham-home {
    border-radius: 15px;
    border: 1px solid #d3d3d3;
}
.has-shadow .box-text,.sanphamnb-home .box-image,.product-small.box.sanpham-home .box-image  {
    padding: 15px 10px;
}
p.name.product-title.woocommerce-loop-product__title {
    
}
.slider-type-fade .flickity-slider>.is-selected,
.flickity-slider>a, .flickity-slider>a>img, .flickity-slider>div:not(.col), .flickity-slider>figure, .flickity-slider>img, .flickity-slider>p{
    /*
    display: flex;
    justify-content: center;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #ccc;
    */
}
.danhmucsp{

}
.danhmucsp .col {
    padding-bottom: 0;
}
.danhmucsp .icon-box-center .icon-box-img {
    background: #f2f2f2;
    border-radius: 50%;
    overflow: hidden;
}
.danhmucsp .icon-box-img img, .danhmucsp .icon-box-img svg {
    padding-top: .2em;
    width: 100%;
    height: 100px;
    object-fit: cover;
    background: #f2f2f2;
    padding: 15px;
}
.danhmucsp .icon-box-text.last-reset > *{
    font-size: 14px;
}
.danhmucsp .icon-box-img {
    transition: all 0.4s ease-in-out;
}
.danhmucsp .icon-box-img:hover {
    transform: translateY(-15px);
    transition: all 0.4s ease-in-out;
}
.return-to-shop .button {
    font-size: 14px;
}
.cart-item ul.nav-dropdown.nav-dropdown-simple {
    padding-bottom: 0;
}
.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    color: #000 !important;
}
.shop-page-title .breadcrumbs {
    padding: 0;
}
span.product-title:hover {
    color: #ffba00;
}
.nav-dots-small .flickity-page-dots .dot, .row-slider .flickity-page-dots .dot {
    background-color: #fff;
    opacity: 0.7;
}
.type-product .price-wrapper {
    text-align: left;
}
.price-wrapper {
    text-align: left;
}
.sanphamnb-home .products .featured .col-inner{
    border-radius: 10px;
    overflow: hidden;
}
.price-wrapper .price {
    display: inline;
}
del span.amount {
    font-size: 13px;
}
ins span.amount {
    color: #F63737;
    font-size: 14px;
    padding-top: 5px;
    display: inline-block;
}
.button span {
    font-weight: 400;
}
nav.woocommerce-breadcrumb.breadcrumbs {
    padding: 0 10px;
}
.product-gallery-slider img.wp-post-image.ux-skip-lazy{
    width: 100%;
    border: 1px solid #d3d3d3;
    border-radius: 15px;
}
.attachment-woocommerce_thumbnail{
    min-height: 90px;
    object-fit: cover;
    margin-bottom: 0 !important;
}
.product-thumbnails a {
    border: 1px solid #d3d3d3;
}
.ux-quantity.quantity.buttons_added.form-flat {
    display: none;
}
button.single_add_to_cart_button.button.alt {
    width: 100%;
    background: #c01515;
    padding: 10px;
    border-radius: 5px;
}
.chitietsp1{padding-bottom: 0;}
.product-short-description {

}
.shop-container .products .col-inner {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #d3d3d3;
}
td.shipping__inner {
    padding-left: 0 !important;
}
/*endsanpham*/
/*content*/
.breadcrumbs {
    padding: 1.5em;padding-bottom: 0;
}
.type-post .article-inner.has-shadow .entry-header-text-top{
	padding-top: 0;
    padding-bottom: 0;
}
.type-post .entry-divider{display:none;}
.type-post .entry-content.single-page{
	
}
.type-post h1.entry-title {
    text-align: left;
}
.blog-wrapper header.archive-page-header {


}
.blog-wrapper header.archive-page-header::before {

}
.blog-wrapper .archive-page-header .page-title {
    font-size: 22px;
    text-align: left;
}
.blog-wrapper.blog-archive.page-wrapper{
    
}

/*endcontent*/
.recent-blog-posts-li .post_comments{display:none;}
.widget-title {
    background-color: #c01515;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
	display: block;
}
.widget .is-divider {
    margin-top: .66em;
    display: none;
}
ul.product_list_widget,#support-online ul,#filter-form,.flatsome_recent_posts ul{
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
}
.searchform .button.icon i {
    font-size: 13px;
    color: #dddddd;
}
.reviewkh .flickity-slider .align-equal.is-selected{
    display: flex;
    justify-content: center;
    background: transparent;
    border: none;
}
.sc_home-customer-quote {
    color: #ffba00;
    font-size: 20px;
    margin-right: 10px;
}
.tintuc-home .box-text a.button.secondary {
    padding: 0 30px;
    font-size: 15px;
}
.not-found .page-content form {
    display: none;
}
.header-search-form-wrapper input#woocommerce-product-search-field-0 {
    min-width: 400px;color: #000 !important;
}
.mobile-nav li.nav-icon a{color: #ffba00;}

/*term-descriptio*/
.term-description {
	overflow: hidden;
	position: relative;
	margin-bottom: 20px;
	padding-bottom: 25px;
	margin-top: 25px;
}
.devvn_readmore_taxonomy_flatsome {
	text-align: center;
	cursor: pointer;
	position: absolute;
	z-index: 10;
	bottom: 0;
	width: 100%;
	background: #fff;
}
.devvn_readmore_taxonomy_flatsome:before {
	height: 55px;
	margin-top: -45px;
	content: "";
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff00', endColorstr='#ffffff',GradientType=0 );
	display: block;
}
.devvn_readmore_taxonomy_flatsome a {
	color: #161616;
	display: block;
}
.devvn_readmore_taxonomy_flatsome a:after {
	content: '';
	width: 0;
	right: 0;
	border-top: 6px solid #161616;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	display: inline-block;
	vertical-align: middle;
	margin: -2px 0 0 5px;
}
.devvn_readmore_taxonomy_flatsome_less:before {
	display: none;
}
.devvn_readmore_taxonomy_flatsome_less a:after {
	border-top: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #161616;
}
/*term-descriptio*/
.page-id-386 #footer .form-lienhe{}
.menu-danh-muc-san-pham-container li a:hover{
	color: #ffba00;font-size: 16px;
}
li.html.custom.html_topbar_left {
    padding-right: 30px;
}
li.html.custom.html_topbar_left i{
    color: #F63737;
}
ul.nav.header-nav.header-bottom-nav > .menu-item *,
span.header-vertical-menu__title{
    font-size: 15px;
    color: #000 !important;
}

.sanpham-home > .col > .col-inner{
    border: 1px solid #d3d3d3;
    border-radius: 10px;
}
.menuthuonghieu{
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: flex-end;
}
.menuthuonghieu .ux-menu-link.flex.menu-item a{
    background: #F2F2F2;
    padding: 3px 15px;
    border-radius: 10px;
    min-height: auto;
    text-transform: uppercase;
}
.iconwhy{
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 43px;
    padding: 10px;
}
.iconwhy .icon-box-img {
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
}
.iconwhy .icon-box-img:hover {
    transform: translateY(-20px);
    transition: all 0.4s ease-in-out;
}
.bannerwhy{
    border-radius: 15px;
    overflow: hidden;
}
/*Loc SP*/
.filter-form-widget ul {
    list-style: none;
    padding-left: 0;
}
.filter-form-widget {
    font-family: inherit;
    font-size: 16px;
    margin-bottom: 30px;
}

.filter-form-widget label {
    cursor: pointer;
    line-height: 19px;
}
.filter-form-widget button {
    padding: 0px 14px !important;
    background-color: #666;
    color: #fff;
    border-radius: 99px;
    cursor: pointer;
    font-size: 12px !important;
}

.filter-form-widget li {
    margin-bottom: 5px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 19px;
}
.filter-item label input,ul.filter-list.brand-list label input{
    margin: 0;
    margin-right: 5px;
}
.toggle-subcats {
    cursor: pointer;
    display: inline-block;
    width: 18px;
    height: 18px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    line-height: 16px;
    user-select: none;
}
.subcats {
    margin-left: 20px;
    padding-left: 10px;
    border-left: 1px dashed #ccc;
}
#filter-form strong{
    margin-bottom: 7px;
    display: inline-block;
}
/*End*/
.bloghome2 .col.post-item {
    padding-bottom: 15px;
}
a#js-hide-all-icon-e {
    display: none !important;
}
@media (min-width: 850px) {
	#menu-item-804,#menu-item-817,#menu-item-820,#menu-item-821,#menu-item-824{display:none;}
}
@media screen and (max-width: 820px) { 
    /* webvip/assets/css/styles.css */
    li.header-search-form.search-form.html.relative.has-icon {
        margin: 0;
    }
    li.html.custom.html_topbar_right .menu-container .menu-item-382{display: none !important;}
    input#woocommerce-product-search-field-1 {
        border: 1px solid #d3d3d3;
        margin-top: 5px;
        height: 34px;
        border-radius: 5px !important;
    }
    .menu-container {
        width: 100%;
        overflow: visible !important;
        padding: 5px 0;
        background-color: #fff;
        position: fixed;
        left: 0;
        z-index: 9;
        padding-left: 15px;
    }

    .menu-container .custom-menu-items {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding: 0 10px;
        margin: 0;
        list-style: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 100%;
    }

    .menu-container .custom-menu-items::-webkit-scrollbar {
        display: none;
    }

    .menu-container .custom-menu-items .menu-item {
        flex: 0 0 auto !important;
        display: inline-flex;
        align-items: center;
        padding: 0px 15px;
        margin-right: 10px;
        margin-bottom: 0;
        border: 1px solid #ddd;
        border-radius: 20px;
        background-color: #fff;
        cursor: pointer;
        transition: background-color 0.3s;
        white-space: nowrap !important;
        text-align: center;
        justify-content: center;
    }

    .menu-container .custom-menu-items .menu-item.active,
    .menu-container .custom-menu-items .menu-item.current-menu-item,
    .menu-container .custom-menu-items .menu-item.current_page_item {
        background-color: #e0f7fa;
        border-color: #00acc1;
    }

    .menu-container .custom-menu-items .menu-item:hover {
        background-color: #f0f0f0;
    }

    .menu-container .custom-menu-items .menu-item a {
        font-size: 14px;
        color: #333;
        text-decoration: none;
        white-space: nowrap;
    }

    .menu-container .custom-menu-items .sub-menu,.custom-menu-items .pll-parent-menu-item,
    .menu-item-358,.menu-item-307,.menu-item-327,.menu-item-336,.menu-item-348{
        display: none !important;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .header-cart-icon img {
        max-width: 80px;
    }
	.banner2-home{
		margin-top:20px;
	}
	#woocommerce_products-15{display:none;}
	li.menu-item:hover > a,li.menu-item a:active {
		color: #ffba00;
	}
	.sanphammb .product_cat-tu-bep-nhua:nth-last-child(1),
    .sanphammb .product_cat-tu-bep-nhua:nth-last-child(2) {
        display: none;
    }
	.sanphammb .product_cat-cua-nhua:nth-last-child(1),
    .sanphammb .product_cat-cua-nhua:nth-last-child(2),
	.sanphammb .product_cat-cua-nhua:nth-last-child(3),
	.sanphammb .product_cat-cua-nhua:nth-last-child(4){
        display: none;
    }
	.slider-show-nav .flickity-prev-next-button, .slider .flickity-prev-next-button {
		opacity: 1;
	}
	.cart-item .header-cart-link{color: #ffba00;}
    .menuthuonghieu {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: flex-start;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        margin: 0;
        list-style: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 100%;
    }
    .menuthuonghieu .ux-menu-link.flex.menu-item a {
        font-size: 13px;
    }
    .sixbox .icon-box-center .icon-box-img {
        margin: 0 auto 2px;
    }
    .tabsphome .nav {
        gap: 10px;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        margin: 0;
        list-style: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 100%;
    }
    .nav-vertical>li>ul li a {
        color: #000;
        transition: color .2s;
        font-size: 14px;
    }
    .off-canvas .nav-vertical>li>a {
        color: #000;
    }
    .product-short-description {
        max-height: 500px;
    }
}