/*
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*/
.copyright-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
}
.iconwhy{
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 24px;
    display: flex;
    align-items: center;
}
.iconwhy p,.iconabout p,.iconavata .icon-box-text p,.iconavata .icon-box-text h4{
    margin-bottom: 0;
}
.iconabout{
    padding: 16px 0;
    border-top: 1px dashed #E2E8F0;
    display: flex;
    align-items: center;
}
.iconavata{
    display: flex;
    align-items: center;
}
.iconavata .icon-inner img{
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
}
.iconavata .icon-box-text p{

}
.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;
}

.widget-title,.sidebar_title {
    background-color: #0D1B2E;
    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{
    overflow: hidden;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
}
.sanphamnb-home .product-small .box-image,.products .col-inner > .product-small .box-image {
    overflow: hidden;
    border-radius: 8px;
}
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: #0D1B2E;
    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,.bloghome .col.post-item .col-inner{
    background-color: #F8FAFC;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #E8ECF2;
}
.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  ***************/
    .iconwhy {
        padding: 10px;
    }
    .iconabout {
        padding: 5px 0;
    }
}