/*
Theme Name: Thiên An Minh
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
html {
    font-family:sans-serif;
    font-size: 15px;
}
b, strong, .product-info span.price{
    font-weight: bold
}
.header-search-form-wrapper{
    padding-left: 10px;
    padding-right: 10px
}
/*.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
    border-radius: 100px
}
.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
    border-radius: 0 100px 100px 0
}*/
/*.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
        padding: 13px 48px 13px 24px;
}*/
/*.dgwt-wcas-preloader.dgwt-wcas-close{
    right: 33px !important;
}*/
/*.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
    top: 12px
}*/

.header-vertical-menu__opener{
    border-radius: 7px 7px 0 0;
}

li.html.custom.html_topbar_right .icon-hotline-gif{
    background: url('inc/img/hotline-gif.gif') no-repeat;
    background-size: 40px 40px;
    background-position: 0;
    padding-left: 25px;
}
li.html.custom.html_topbar_right i{
    color: #cf3034;
    text-decoration: none;
    outline: none;
    font-size: 40px;
    width: 40px;
    height: 40px;
    text-align: center;
    margin: 0 auto;
    float: left;
    margin-right: 10px;
}
li.html.custom.html_topbar_right a{
    margin-right: 15px;
    line-height: 20px !important;
}
li.html.custom.html_topbar_right a {
    padding: 0;
    color: #555;
    white-space: nowrap;
    font-weight: normal;
}
li.html.custom.html_topbar_right i{
    text-align: center;
    padding: 0;
    font-size: 26px;
    width: 40px;
    height: 40px;
}
li.html.custom.html_topbar_right strong {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #cf3034;
}

.is-divider{
    display: none
}

.header-bottom{
    border-top: 1px solid #F5F5F5
}
#search-lightbox .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    height: 50px !important;
    font-size: 16px !important;
}

.section-title-container{
    margin-bottom: 20px
}
/*Menu dọc*/
/* Menu chính - dọc */
.nav > li > a, .header-vertical-menu__title, .header-vertical-menu__opener{
    font-size: 1em
}
.nav-dropdown{
    padding: 0
}
.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a{
    padding: 13px 15px
}
.nav>li>a, .nav-dropdown>li>a, .nav-column>li>a, .nav-vertical-fly-out>li>a{
    color: #000
}

.header-vertical-menu__fly-out .current-dropdown.menu-item .nav-dropdown{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 1040px;

}
.header-vertical-menu .nav-dropdown li{
    display: flex;
    flex-direction:column;
    text-align: center;
    flex-wrap: wrap
}
.header-vertical-menu .nav-dropdown li img.ux-menu-icon{
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0 !important;
}
/*End menu dọc*/
.nav-dropdown-simple .nav-column li>a:hover, .nav-dropdown.nav-dropdown-simple>li>a:hover, .header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a:hover{
    color: #d33;
}
.nav-dropdown-simple .nav-column li > a:hover, .nav-dropdown.nav-dropdown-simple > li > a:hover{
    background-color: rgba(0,0,0,.1)
}
.nav-dropdown-has-arrow li.has-dropdown::after{
    bottom: 0
}
blockquote, dl, figure, form, ol, p, pre, ul{
    margin-bottom: 1em
}
/*.row.luanlt, .luanlt .row-small:not(.row-collapse) {
    margin-left: -5px
}*/
.row.luanlt, .luanlt .col-inner>.img:not(:last-child), .luanl .col>.img:not(:last-child) {
    margin-bottom: 10px !important
}

.primary, input[type=submit], input[type=submit].button{
    background-color: var(--primary-color);
}
.button.is-outline, input[type=submit].is-outline, input[type=reset].is-outline, input[type=button].is-outline{
    border-width: 1px
}
.box-text-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Tiêu đề */
.product-title-line a {
    text-decoration: none;
    color: #222;
}
.box-image>a img{
    padding: 10px
}
.box-image .image-cover  a img{
    padding: 0
}
.box-text.box-text-products{
    padding-bottom:10px
}
.box-text.box-text-products a.button {
    margin: 0;
    border-radius: 100px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add_to_cart_button i{
    margin: 0!important
}
/* Dòng dưới: chia 2 cột */
.product-bottom-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-bottom-line .button:not(.icon)>i{margin: 0; font-size: 18px; top: 0}
.price-wrapper {
    font-size: 15px;
    font-weight: bold;
    color: #d0021b;
}

.currency {
    font-size: 13px;
}

/* Nút giỏ hàng */
.add-to-cart-wrapper a.button {
    background-color: #0073aa;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.add-to-cart-wrapper a.button:hover {
    background-color: #005177;
    text-decoration: none;
}


p.section-title{
    font-weight: bolder
}

.section-title-normal span {
    border-bottom: 2px solid rgb(255,0,0);
}
.section-title-normal .section-title-normal span{
    padding: 10px 0;
    margin-right: 0;
}
.header-bottom{
    border-top: 1px solid #F5F5F5;
}
.header, .header-wrapper{
    box-shadow: 0 1px 14px rgba(0, 0, 0, 0.06);
}

/*.product-title a{
    font-size: 14px;
    overflow: hidden;
    height: 40px;
    white-space: normal;
    display: -webkit-box;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: bold;
    color: #000;
}
.product-small.box{
    overflow: hidden;
    border-radius: 5px;
    background-color: #fff;

}

.product-small.box:hover{

    box-shadow: 0px 2px 0 rgba(60,64,67, 0.1), 0 2px 6px 2px rgba(60,64,67,0.15);
    cursor: pointer;
}*/
h3.name.product-title.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Thêm dấu "..." */
    max-height: 40px;

}

.luanlt_cateogry  .img-inner{
    border-radius: 3px
}
.price, .price-wrapper .price, .product-info .price{

    font-size: 1em
}
.product.col .col-inner{
    background: #FFF;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #DDD;
}
.product-small.box span.thong-tin-bo-sung{
    display: none
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link{
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
.product-small:hover a.woocommerce-LoopProduct-link, a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover{
    color: #d33;
}
.product .box-text{
    padding-left: 10px;
    padding-right: 10px
}
h4.luanlt_product_sub_title {
    font-size: 11px;
    font-weight: 400;
    background-color: #e5e5e5;
    border-radius: 3px;
    padding: 3px;
    margin-bottom: 5px;
    text-transform: capitalize;
}
/* Badge Sale */
span.onsale{

    font-size: 13px;
    font-weight: 400
}
.badge-container {
    margin: 10px
}

.badge-square-inside .badge-inner, .badge-square .badge-inner {
    position: relative;
    padding: 0 5px;
    background: none;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 13px;
    border-radius: 2px;
}
.badge.callout.badge-square {
    height: auto;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #C90000;
}

.box-image .out-of-stock-label{
    background: #f00;
    padding: 0 5px;
    color: #fff;
    font-size: 13px;
    text-transform: none;
    padding: 0 5px;
    bottom: 0;
    top: auto
}
span.amount{
    color: #EC2226;
    font-weight: 600;
    font-size: 16px;
}
.product-summary span.amount{
    font-size: 22px
}
del span.amount{
    color: #111;
    font-weight: bold;
}
.sticky-add-to-cart__product .product-title-small{
    max-width: 100%
}
h1.entry-title{
    font-size: 1.2em
}
/*Home page*/
.main_slider .large-3{
    flex-basis: 250px;
    max-width: 250px;
}
.main_slider .large-9{
    flex-basis: calc(100% - 250px);
    max-width: calc(100% - 250px);
}
.luanlt_20{
    max-width: 20%;
    flex-basis: 20%;
}
.luanlt_80{
    max-width:  80%;
    flex-basis: 80%;
}
.luanlt  .img-inner img{
    border-radius: 5px;
    border: 1px solid #E5E5E5;
}
.luanlt_feature_product .col{
    padding-bottom: 0
}
.luanlt_feature_product .col-inner {
    border: 2px solid #cf3034;
    padding: 60px 15px 0 15px;
    border-radius: 5px;
    background: #FFF;
    margin-bottom: 20px;
    position: relative;
}
.luanlt_feature_product .product.col .col-inner {
    margin-bottom: 10px;
    padding: 10px;
}
.luanlt_title_feature {
    color: #FFF;
    font-weight: bold;
    background: #cf3034;
    padding: 8px 50px 8px 20px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 100px 0;
}
.luanlt_title_feature h2 {
    border-bottom: none;
    position: static;
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
    color: #fff;
}
.luanlt_feature_product .row-small>.col, .luanlt_feature_product .row-small>.flickity-viewport>.flickity-slider>.col{
    padding-bottom: 0
}
.button.primary.is-outline.lowercase.luanlt_buttom {
    display: table;
    margin: 0 auto;
    padding: 3px 20px;
}
.luanlt_buttom span{
    line-height: 1;
    font-weight: normal;
    font-size: 14px;
}
.luanlt_post_cat_container  .section-title-container{
    margin-bottom: 0
}
.luanlt_cat_post{
    position:  absolute;
    right: 0;
    top: 0px;
    display: inline-block
}
.luanlt_post_cat_container .section-title.section-title-normal a{
    padding-left: 0;
}
.luanlt_cat_post .ux-menu-link{
    float: left;
}
.luanlt_cat_post .ux-menu-link a{

    border: 1px solid #EEE;
    border-radius: 22px;
    padding: 5px 20px;
    color: #555;
    margin-right: 10px;
    line-height: 1;
    min-height: auto
}
.col.post-item a img{
    border-radius: 5px;
}
.text.luanlt_title a{
    color: #0b4ab1;
}
.luanlt_list_cat{
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #EEE;
    margin-bottom: 30px
}
.luanlt_list_cat .col{
    padding-bottom: 0
}
/*Sigle Product*/
.variations_form .ux-swatch.selected {
    box-shadow: 0 0 0 0.1rem #13afe5 !important;
    background-color: #13afe5;
    color: #fff;
}
a.add-request-quote-button.button{
    margin-right: 0;
    font-size: 13px;
}
.woocommerce.single-product .product .yith-ywraq-add-to-quote{
    margin-top: 0
}
a.add-request-quote-button.button:before{
    content:"\e00c";
    font-family: fl-icons;
    margin-right: 10px;
}

.wp-block-image figcaption{
    margin-top: 0;
    font-size: 13px;
}
.nav-pagination>li>a, .nav-pagination>li>span{
    border: 1px solid;
}
.entry-content a{
    color: #EC2226;
}

#ft-contact-icons .icon-phone::before{
    display: none;
}
.product-small.product{
    display: flex;
}
.archive .box-image .out-of-stock-label{
    display: none
}

.showcoupon {
    background-color: #EC2226;
    -webkit-border-radius: 60px;
    border-radius: 60px;
    border: none;
    color: #eeeeee;
    cursor: pointer;
    display: inline-block;


    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
}
/*@keyframes glowing {
    0% {
        background-color: #2ba805;
        box-shadow: 0 0 5px #2ba805;
    }
    50% {
        background-color: #49e819;
        box-shadow: 0 0 20px #49e819;
    }
    100% {
        background-color: #2ba805;
        box-shadow: 0 0 5px #2ba805;
    }
}*/
.showcoupon {
    animation: glowing 1300ms infinite;
}

/*.button, button, input[type=button], input[type=reset], input[type=submit]{
    font-weight: bold;
}*/
.wp-block-image figcaption{
    text-align: center;
    font-style: italic;
    background-color:#f3f3f3;
    margin-top: 0;
    padding-top: 7px;
    padding-bottom: 7px
}
.woovr-variations[class*="woovr-variations-grid"] .woovr-variation::before{
    top: 3px;
    right: 0
}
.grecaptcha-badge {
    display: none !important;
}

.quantity, .text-center .quantity{
    align-items: center;
}
/*.widget {
    margin-bottom: 1.5em;
    padding: 10px;
    border: solid 1px #ccc;
    border-radius: 10px;
}*/
/*.widget_product_categories{
    padding: 0;
    border: none
}*/
.widget .current-cat>a{
    font-weight: normal;
    color: #EC2226
}
.luanlt_logo_mobile{
    display: none
}
/*#reviews #comments .cr-summaryBox-wrap .crstar-rating span::before{
    content: "\e005";
    font-family: fl-icons !important;
    font-weight: 400 !important;
}*/
.entry-header-text{
    padding: 0
}
.entry-content{
    padding-top: 0
}

.rank-math-breadcrumb p{
    margin-bottom: 0;
    color: #000;
    font-weight: normal
}
.rank-math-breadcrumb{
    padding: 10px 0;
    display: table;
    border-radius: 5px;
    line-height: 20px;
    font-size: 14px;
    text-transform: none;
    color: #555;
    min-height: 40px;
}
.rank-math-breadcrumb a{
    color: #555;
    font-size: 14px;
    text-transform: none;
}
h1.entry-title{
    margin-top: 0;
}
.post .entry-header-text.entry-header-text-top.text-center{
    text-align: left;
    padding: 0
}
.post h1.entry-title{
    font-size: 1.7em
}

.luanlt_text_counter {
    line-height: 20px;
    margin-bottom: -20px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    text-align: center;
    color: #fff;
}
/*Begin Flash Sale*/
.flash-sale-header {
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin-bottom: 20px
}

.flash-sale-header .title_count {
    height: 30px;
    line-height: 1.875rem;
    margin: 0 auto;
    position: relative;
    display: inline-flex;
    pointer-events: all;
}

.flash-sale-header .title_count span {
    background: #222;
    color: #f4f4f4;
    width: 27px;
    height: 24px;
    line-height: 23px;
    margin-left: 6px;
    border-radius: 2px;
    display: inline-block;
}

.flash-sale-header .title_count .tempo {
    width: 350px;
    padding: 0;
}

.flash-sale-header .title_count .tempo li {
    text-align: left;
    display: inline-block;
    font-size: 24px;
    width: 31%;
    margin-top: -50px;
    margin-left: -1px;
}

.flash-sale-header__title {
    text-transform: uppercase;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1.25rem;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.54);
    font-weight: 500;
    line-height: 1;
}

.flash-sale-header__title__flash-sale {
    padding-left: 16px;
    width: 114px;
    height: 30px;
    line-height: 30px;
    text-transform: uppercase;
    display: inline-block;
    background: url('inc/img/flashsale-label.png') center no-repeat;
    background-size: contain;
}

.flash-sale-header__title__countdown {
    margin-left: 0.625rem;
    height: 30px;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    transform: scale(0.84);
    backface-visibility: hidden;
    cursor: default;
    color: #000;
}

.flash-sale-header__title__countdown p {
    margin-top: 0;
    font-weight: bold;
    text-align: center;
}

.flash-sale-header a {
    text-decoration: none !important;
    color: #ee4d2d;
    line-height: 1;
}

.flash-sale-header a button {
    padding: 0.3125rem 0.4375rem;
    background-color: transparent;
    border: none;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    color: #ee4d2d;
    margin: 0;
}

.flash-sale-header a button:focus {
    outline: none;
}

.flash-sale-header a button svg {
    width: 0.625rem;
    fill: #ee4d2d;
}
.back-to-top{
    height: 2.19em
}

.luanlt .col{
    padding-bottom: 0
}

/*footer*/
footer .section{
    padding-bottom: 0;
}
footer .ux-menu i{
    color: #EC2226;
}
footer .section-title-normal span{
    font-weight: 700;
    color: #333;
    font-size: 18px;
}
.ux-menu-link--active .ux-menu-link__link, .ux-menu-link:hover .ux-menu-link__link{
    color: #EC2226
}
.absolute-footer{
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

/*end footer*/

.related_post .section-title-main{
    font-weight: bold;
}

.post-number{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #CCC;
    font-size: 19px;
    padding: 5px 15px;
    color: #222;
    border: none;
    display: table

}
/*End Flash Sale*/
@media screen and (min-width: 850px){
    /*    .archive .large-3 {
            flex-basis: 20%;
            max-width: 20%;
        }
        .archive .large-9 {
            flex-basis: 80%;
            max-width: 80%;
        }*/
    .col-divided {
        border-right: none;
        padding-right: 15px;
    }
    .col-border+.col, .col-divided+.col {
        padding-left: 15px;
    }

}

@media only screen and (min-width: 650px){
    .medium-logo-left .logo{
        display: block;
    }
    .luanlt_logo_mobile{
        display: none ;
    }
}
@media only screen and (max-width: 640px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .header-search-form-wrapper{
        padding: 0
    }
    .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
        top: 7px
    }
    .main_slider .large-3{
        display: none
    }
    .main_slider .large-9{
        flex-basis: 100%;
        max-width: 100%;
        padding-bottom: 15px;
    }
    .medium-logo-left .logo{
        display: none;
    }
    .luanlt_feature_product .col-inner{
        border: none;
        padding-left: 0;
        padding-right: 0;
    }
    .luanlt_title_feature{
        width: 100%;
        border-radius: 0
    }
    .luanlt_cat_post{
        display: none
    }
    .mobile-nav.nav.nav-left li{
        margin: 0
    }
    .luanlt_category{
        border: 1px solid #EEE;
        overflow: hidden;
    }
    .luanlt_category.row-dashed .col-inner, .luanlt_category.row-solid .col-inner{
        padding: 5px;

    }
    .luanlt_category .icon-box.featu#EC2226-box.icon-box-center p{
        margin-bottom: 0
    }
    .luanlt_logo_mobile{
        display: block ;
    }
    .off-canvas .nav-vertical>li>a{
        text-transform: capitalize;
        font-size: 1em;
    }
    .luanlt_20{
        max-width: 100%
    }
    .luanlt_80{
        max-width: 100%;
        flex-basis: 100%;
    }
    .price, .price-wrapper .price, .product-info .price{

        font-size: 14px
    }
    #at_posts_related{
        border: solid 1px #ddd;
        border-radius: 10px;
        padding: 10px
    }
    #at_posts_related .post-item{
        flex-basis: 100%;
        max-width: 100%;
        padding-bottom: 15px;
    }

    #at_posts_related .box-image{
        width: 30%;
    }
    #at_posts_related .box-text.text-center{
        width: 70%;
        text-align: left;
    }
    #at_posts_related .box-blog-post{
        display: flex
    }
}