/*
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;
}
/*CSS PAGE*/
.bannerwhy{
    border-radius: 15px;
    overflow: hidden;
}
#header ul.header-nav.header-nav-main,
#header ul.nav.header-nav.header-bottom-nav {
    justify-content: center;
}
#header ul.nav.header-nav.header-bottom-nav>li.menu-item {
    margin: 0 25px;
}
#header ul.header-nav.header-nav-main > li.menu-item {
    margin: 0 15px;
}
ul.sub-menu.nav-dropdown.nav-dropdown-default {
    background: rgb(255 255 255 / 95%);
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 5px;
}
.header-bg-image {
    opacity: 0.5;
}
.header-contact li a {
    text-transform: inherit;
}
.header-search-form-wrapper input#woocommerce-product-search-field-0 {
    min-width: 400px;
    color: #000!important;
}
#woocommerce-product-search-field-0 {
    border-color: #ccc;
}
.form-flat .button.icon {
    color: #ccc !important;
}
.rowbox-why .icon-box-text.last-reset h5{
    text-transform: inherit;
}
.rowbox-why .icon-box-text.last-reset .text p{
    margin-bottom: 0;
}
.tieude1 h2:before{
    content: "";
    position: absolute;
    left: -20px;
    top: 18%;
    width: 281px;
    height: 24px;
    background: url(/muckho/wp-content/themes/webvip/images/lefttieude01.svg) left center no-repeat;
}
.tieude1 h2:after{
    content: "";
    position: absolute;
    right: -20px;
    top: 18%;
    width: 281px;
    height: 24px;
    aspect-ratio: 281/24;
    background: url(/muckho/wp-content/themes/webvip/images/righttieude1.svg) left center no-repeat;
}
.tieude2:before{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #576682;
}
.tieude2 h2{
    background: rgb(248 250 252);
    position: relative;
    display: inline;
    padding-right: 15px;
}
.widget-title,.sidebar_title {
    background-color: #E7000B;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px;
    margin-bottom: 10px;
    display: block
}
ul.product_list_widget,ul.product-categories {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px
}
.widget .is-divider {
    margin-top: .66em;
    display: none
}


/*CSS PAGE*/

/*sanpham*/

.sanphamnb-home .product-small,.products .col-inner > .product-small{
	border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d3d3d3;
    padding: 15px;
}
p.name.product-title.woocommerce-loop-product__title a{
	display: block;
    font-weight: 600;
    color: #020618;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid #ebedef;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.price-wrapper .price {
    display: inline;
}
.price-wrapper {
    font-size: 16px;
}
del span.amount {
    color: #90A1B9;
    font-size: 15px;
}
ins span.amount {
    color: #E7000B;
    padding-top: 5px;
    display: inline-block;
}
.add-to-cart-button {
    position: absolute;
    bottom: 0;
    right: 0;
}
.add-to-cart-button a{
	background-color: #d22d2d !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px !important; /* Kích thước icon */
    color: #fff !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 0 !important;
    font-size: 0 !important;
    transition: background-color 0.2s, transform 0.2s;
}

.product-short-description {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng mô tả */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.sanphamnb-home2 .box-text.text-left {
    
}
.sanphamnb-home2 .box-image .image-cover{
    border-radius: 5px;
    overflow: hidden;
}
.row.sanphamnb-home2 {
    background: #fff;
    border: 1px solid #f3f3f3;
    border-radius: 10px;
}
.products .product-small{

}
/*sanpham*/

/*Blog*/
.category .blog-archive.page-wrapper {
    padding-top: 0;
}
.blog-wrapper > .archive-page-header:before,.blog-wrapper > .archive-page-header:before,.page-title.blog-featured-title:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 0%);
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.blog-archive h1.page-title{
    font-size: 32px;
    text-transform: capitalize;
    color: #131212;
    padding: 20px;
}
.page-title.blog-featured-title h1.entry-title {
    font-size: 30px;
    position: relative;
    z-index: 2;
}
.page-title.blog-featured-title:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 0%);
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1;
}
.blog-wrapper .box.box-text-bottom.box-blog-post.has-hover {
    background-color: #fbfbfb;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ffffff;
}
.blog-wrapper .box-text.text-left {
    padding: 15px;
}
.widget .is-divider {
    margin-top: .66em;
    display: none;
}
.product-hotline,.product-policises-wrapper {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
}
.badge.post-date.badge-outline {
    width: 90px;
    height: 60px;
}
span.post_comments.op-7.block.is-xsmall {
    display: none;
}
.flex-row.recent-blog-posts.align-top.pt-half.pb-half {
    padding-top: 15px;
}
.recent-blog-posts a {
    font-size: 14px;
}
.type-post h1.entry-title {
    text-align: left
}
.type-post .article-inner.has-shadow .entry-header-text-top {
    padding-top: 0;
    padding-bottom: 0
}
.type-post .entry-divider {

}
.entry-header-text.entry-header-text-top.text-left {
    padding-top: 0;
    padding-bottom: 0;
}
.entry-content {
    padding-top: 5px;
}
#toc_container p.toc_title {
    text-align: left;
}
.blog-wrapper>.archive-page-header {

}
.blog-archive .box-image .image-cover {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.box-blog-post .is-divider {
    display: none;
}
/*Blog*/

/*Bộ Lọc*/
/* Container bộ lọc */
.filter-form-widget {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Nhóm lọc */
.filter-group {
    margin-bottom: 25px;
}

.filter-group strong {
    display: block;
    font-size: 15px;
    color: #d0021b; /* Màu đỏ tiêu đề giống ảnh demo */
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Danh sách checkbox */
.filter-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

.filter-list label {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.filter-list input[type="checkbox"] {
    margin-right: 12px;
    width: 17px;
    height: 17px;
    cursor: pointer;
    margin-bottom: 0;
}

/* Thụt lề cho danh mục con */
.cat-hierarchy .cat-hierarchy {
    margin-left: 20px !important;
    margin-top: 10px !important;
    border-left: 1px dashed #ccc;
    padding-left: 15px !important;
}
.filter-actions {
    display: flex;
}
.filter-actions button.button.primary{
    
}   
/*Bộ Lọc*/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .tieude1 h2:before,.tieude1 h2:after{display: none;}
    .tieude1 h2 {
        background: #fff;
        z-index: 99999;
        position: relative;
        display: inline;
        padding: 0 10px;
    }
    .tieude1:before {
        content: "";
        position: absolute;
        left: -19px;
        top: 50%;
        width: 130px;
        height: 2px;
        background: #031047;
    }
    .tieude1:after {
        content: "";
        position: absolute;
        right: -20px;
        top: 50%;
        width: 281px;
        height: 2px;
        background: #031047;
    }
}