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

/*************** ADD CUSTOM CSS HERE.   ***************/

@font-face {
    font-family: 'SVN-Poppins Bold';
    src: url(/wp-content/themes/flatsome-child/fonts/SVN-Poppins-Light.otf);
}
@font-face {
    font-family: 'SVN-Poppins light';
    src: url(/wp-content/themes/flatsome-child/fonts/SVN-Poppins-Light.otf);
}
@font-face {
    font-family: 'SVN-Poppins medium';
    src: url(/wp-content/themes/flatsome-child/fonts/SVN-Poppins-Medium.otf);
}
@font-face {
    font-family: 'SVN-Poppins regular';
    src: url(/wp-content/themes/flatsome-child/fonts/SVN-Poppins-Regular.otf);
}
@font-face {
    font-family: 'SVN-Poppins semibold';
    src: url(/wp-content/themes/flatsome-child/fonts/SVN-Poppins-SemiBold.otf);
}

:root{
    --mauchudao: #D52E36;
    --mauchudao2:#3e52a0;
}

/* body{
    font-family: 'SVN-Poppins regular', sans-serif;
} */

.form-flat .searchform .search-field{
    border-radius: 5px!important;
    padding-left: 40px;
    height: 40px;
    background:#fff!important;
    width:410px;
    margin-right: 45px;
}

.form-flat .searchform .ux-search-submit{
    position: absolute;
    top: 3px;
    left: 3px;

}

.header-button .header-cart-link{
    background: var(--mauchudao2);
}

.absolute-footer{
    display:none;
}

.section-title-normal span,.section-title-normal{
    border-bottom:unset;
}

.section-title-container{
    margin-bottom:0px;
}

.title-footer .section-title-main{
    color: #1d1d20;
    text-transform: none;
    font-size: 16px;
}

.tt-footer p{
    margin-bottom:10px;
}

.tt-footer{
    margin-bottom: 15px;
    font-size: 13px;
}

.tt-footer a{
    color:#000;
}

.gallery-footer .gallery-col{
    padding:7px;
}

.menu-ft .ux-menu-link__link{
    min-height: unset !important;
    font-size: 14px;
}

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

.logo-left img{
    filter: brightness(0) invert(1);
}

.header-vertical-menu__opener{
    border-radius: 5px;
    text-transform: uppercase;
    height: 45px;
}

.header-bottom .header-nav{
    gap: 15px;
}

.header-bottom .header-nav>li.current-menu-item>a,.header-bottom .header-nav>li>a:hover{
    color:var(--mauchudao2);
}

.header-bottom .header-nav>li>a{
    color:#000;
    font-size: 14px;
    text-transform:none!important
}

.mega-sub-menu>li>.mega-menu-link{
    color:#000!important;
    
}

.mega-sub-menu>li>.mega-sub-menu>li>a{
    font-size:14px!important
}

.header-bottom{
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.banner-home .banner-bg,.banner-home{
    border-radius: 15px;
}

.col-padding-clear{
    padding-bottom:0px;
}

.category-home .header-title{
    color:#000;
    font-size: 13px;
}

.category-home .box-image{
    background: var(--mauchudao);
    border-radius: 99%;
    padding: 5px;
    margin-bottom: 10px;
}

.header-vertical-menu__opener{
    background-color: var(--mauchudao2)!important;
}

.category-home .box-text{
    padding-bottom:0px;
}

.category-home .product-category {
    padding-bottom:0px;
}

.section-title b{
    background-color:unset!important;
}

.title-home .section-title-main{
    font-size: 25px;
    color:#000;
}

.title-home .section-title{
    margin-bottom:25px;
}

.title-home a{
    font-size: 13px;
    display: flex;
    align-items: center;
    color:var(--mauchudao2)
}

.box-text .category{
    display:none;
}

.product-title{
    margin-bottom: 10px!important;
}

.quick-view{
    display:none!important;
}

.blog-home .post-title a{
    color:var(--mauchudao2);
}

.blog-home .is-divider{
    display:none;
}

.product-small .price>span>bdi,.product-small ins>span>bdi{
    color:#bf292c;
}

.product-small del{
    font-size: 13px;
}

.product-small .price{
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
    gap: 10px;
    align-items: center;
}

.product-small .badge .badge-inner {
    padding: 7px 10px !important;
    background: #bf292c;
    height: auto !important;
    border-radius: 5px;
    font-size: 12px;
    display: block !important;
}

.product-small .badge-container{
    top: 15px;
    right: 10px;
    left: unset;
    margin:0px!important;
}

#shop-sidebar .widget-title {
    color: #000;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

#shop-sidebar .widget .is-divider{
    display:none;
}

/* .product-small .price span bdi */

/* ===== Bộ lọc theo giá WooCommerce ===== */
.widget_price_filter .price_slider_wrapper{
    padding-top: 6px;
}

/* Thanh trượt (track) */
.widget_price_filter .price_slider.ui-slider{
    position: relative;
    height: 6px;
    background: #e5e7eb;
    border: none;
    border-radius: 999px;
    margin: 12px 6px 10px;
}

/* Phần được chọn giữa 2 nút */
.widget_price_filter .ui-slider .ui-slider-range{
    background: var(--mauchudao);
    height: 6px;
    border-radius: 999px;
}

/* Nút kéo (handle) */
.widget_price_filter .ui-slider .ui-slider-handle{
    width: 18px;
    height: 18px;
    top: 50%;
    margin-top: -9px;
    margin-left: -9px;
    background: #fff;
    border: 3px solid var(--mauchudao);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    cursor: grab;
    transition: transform .15s ease, box-shadow .15s ease;
    outline: none;
}
.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active{
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0,0,0,.28);
    cursor: grabbing;
}

/* Khu vực nút LỌC + hiển thị giá */
.widget_price_filter .price_slider_amount{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
}

/* Nút LỌC */
.widget_price_filter .price_slider_amount .button{
    background: var(--mauchudao2);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: background .2s ease, transform .1s ease;
    order: 2;
}
.widget_price_filter .price_slider_amount .button:hover{
    background: var(--mauchudao);
}
.widget_price_filter .price_slider_amount .button:active{
    transform: translateY(1px);
}

/* Dòng hiển thị khoảng giá */
.widget_price_filter .price_slider_amount .price_label{
    order: 1;
    color: #555;
    font-size: 14px;
}
.widget_price_filter .price_slider_amount .price_label span{
    color: var(--mauchudao2);
    font-weight: 700;
}

.product-categories>li>a{
    padding: 3px 0!important;
    font-size: 15px;
    color:var(--mauchudao2);
}

.product-categories>li{
    border-top:0px!important;
}

.woocommerce-breadcrumb{
    text-transform: none!important;
    font-size: 14px;
}

.woocommerce-result-count,.woocommerce-ordering{
    font-size:14px;
}

.product-info .product-title{
    color:var(--mauchudao2);
}

.single_add_to_cart_button{
    background-color: var(--mauchudao)!important;
}

.related{
    border-top:0!important;
}

.related .product-section-title{
    color:var(--mauchudao2)
}

.woocommerce-product-gallery .badge .badge-inner{
    padding: 7px 10px !important;
    background: #bf292c;
    height: auto !important;
    border-radius: 5px;
    font-size: 12px;
    display: block !important;
}

.woocommerce-product-gallery .badge-container {
    top: 15px;
    left: 15px;
    margin: 0px !important;
}

.product-main ins span bdi,.product-main .price>span>bdi{
    color:#bf292c;
}

.product-main .price{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

.product-main del{
    font-size: 16px;
}

.row-product-description{
    display: flex;
    gap: 10px;
}

.col-left-product{
    width:70%;
}

.col-left-product.col-left-product--full{
    width:100%;
}

.col-right-product{
    width:30%;
    padding: 0px 15px;
}

/* ===== Bảng thông số kỹ thuật ===== */
.thongso-box{
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    position: sticky;
    top: 170px;
}
.thongso-box__title{
    margin: 0;
    padding: 10px 16px;
    font-size: 17px;
    font-weight: 700;
    color: var(--mauchudao2);
    border-bottom: 1px solid #e5e7eb;
}
.thongso-table{
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.thongso-table tr{
    background: #fff;
}
.thongso-table tr:nth-child(odd){
    background: #f5f6f7;
}
.thongso-table th,
.thongso-table td{
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border: none;
}
.thongso-table th{
    width: 38%;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}
.thongso-table td{
    color: #555;
    font-weight: 500;
}

.col-content-product h2{
    color: var(--mauchudao);
}

.col-content-product h3,.col-content-product h4,.col-content-product h5{
    color:#000;
}

.product-footer .tabs li a{
    padding: 10px 15px;
    color:#000;
}

#reply-title{
    display:none;
}

.cr-btn-submit{
    margin:0px;
}

.product-main .woocommerce-product-rating{
    display:none;
}

@media (max-width:849px){
    .row-product-description{
        flex-direction: column;
    }
    .col-left-product,
    .col-right-product{
        width: 100%;
        padding: 0;
    }
    .col-right-product{
        margin-top: 20px;
    }
}