/*
Theme Name: Dược phẩm
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

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


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.product-info .variations_form .variations tr>th{
	border-bottom: 0px!important;
    display: flex;
    align-items: center;
    font-size: 16px;
    text-transform: capitalize;
}

.product .product-container{
	background-image: url(https://img.nguyenlieusinhhoc.com/2024/05/hình-backgroud-trang-liên-hệ-PC-scaled.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.shop-container{
    padding-bottom: 0px!important;
}

.product-summary .quantity{
    width: 100%;
}

.product-summary button.single_add_to_cart_button.button.alt.wp-element-button:before{
    content: '\f07a';
    font-family: 'Font Awesome 5 Free';
    margin-right: 10px;
}

.product-summary .single_add_to_cart_button{
    background: rgb(224,246,224)!important;
    color:var(--mauxanhla)!important;
    border-radius: 99px!important;
}

.content-promotion{
    margin-top:15px;
}

.product-main .product-gallery .flickity-slider>.col img{
    height: 110px;
    object-fit: cover;
}


.product-gallery .product-thumbnails a{
    border-color:var(--mauxanhla)!important;
    border:1px solid;
    border-radius: 10px!important;
}

.product-summary .devvn_buy_now {
    border-radius: 99px;
}

.product-summary .quantity .button.minus{
    border-radius: 15px 0px 0px 15px!important;
    border-color: var(--mauxanhla)!important;
    background: #E2F4E1!important;
    font-weight: bold;
}

.product-summary .quantity:before{
    content: "Số lượng:";
    padding: 6px 0px;
    font-weight: bold;
    margin-right: 15px;
}

.product-footer{
    margin-top: 20px;
}

.product-summary .quantity .button.plus{
    border-radius: 0px 15px 15px 0px!important;
    border-color: var(--mauxanhla)!important;
    background: #E2F4E1!important;
    font-weight: bold;
}

.container-edit .woocommerce-tabs .tab-panels{
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 1px 4px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #EBEBEB;
}

.container-edit .woocommerce-tabs{
    border-top: 0px!important;
    padding: 0!important;
}

.title-heading-pro {
    text-transform: uppercase;
    color:var(--mauxanhla);
    text-align: center;
}

.comment-edit{
    width: 100%;
    margin-top: 25px;
    background: #fff;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 1px 4px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #EBEBEB;
}

.review-edit{
    display: none;
}

.header-comment .progress-rating{
    width: 70%!important;
}

.container-edit{
    gap: 10px;
}

.related-products-wrapper{
    /* background: #fff; */
    margin: 40px 0px;
    /* background: #fff;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 1px 4px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #EBEBEB; */
}

.products .col-inner{
    background:#fff;
    border-radius: 15px!important;
}

.products .col-inner>.product-small{
    padding: 0px!important;
}

.related-products-wrapper .col-inner{
    background:#fff;
    border-radius: 15px!important;
}


.related-products-wrapper .product-section-title{
    text-align: center;
    color:var(--mauxanhla);
    font-size: 1.6em;
    position: relative;
}

.product-section{
    border: 0px!important;
}

.widget-edit  ul.product_list_widget li+li{
    border-top: 0px!important;
}

#product-sidebar{
    position: sticky;
    top: 140px;
    padding: 0 15px 0px 15px!important;
}

.category-page-row .shop-container{
    margin-bottom: 15px;
}

#shop-sidebar span.widget-title{
    color:var(--mauxanhla)!important;
    font-size: 20px;

}

#shop-sidebar .widget{
    text-align: center;
}

#shop-sidebar{
    background: #fff;
    padding: 20px 15px;
    border-radius: 15px;
    box-shadow: 1px 4px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #EBEBEB;
    margin-top: 20px;
    position: sticky;
    top: 150px;
}

.term-description{
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 1px 4px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #EBEBEB;
}

.related-products-wrapper .col-inner>.product-small{
    padding: 0px!important;
}

.related-products-wrapper .product-section-title::before{
    content: "";
    width: 50px;
    height: 30px;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-45%);
    border-bottom: 3px solid;
}

.product-cat-edit .box{
    border: 0px!important;
}

.product-cat-edit .box:hover{
    background: #fff!important;
}


.product-cat-edit .product-category .box-text{
    background: #fff!important;
}

.product-cat-edit .product-category .box-image{
    height: 160px!important;
}

.product-cat-edit .product-category .header-title{
    text-transform: none;
    font-size: 15px;
    min-height: 40px;
}

.cat-product-cap1 .col-inner>.product-small{
    padding: 0px!important;
    border: 1px solid #BFC9C4;
}

.cat-product-cap1 .col-inner{
    background:#fff;
    border-radius: 15px!important;
}

.title-edit b{
    background: transparent;
}

.title-edit2 b{
    background: transparent!important;
}

.title-edit2 .tieu-de a{
    font-size: 24px!important;
    color:var(--mauxanhla)!important;
}

.last-title-before b{
    background: transparent!important;
}


.title-before .tieu-de a:before{
    content: "";
    width: 50px;
    height: 30px;
    position: absolute;
    bottom: 620px;
    left: 50%;
    transform: translateX(-45%);
    border-bottom: 3px solid;
}


.last-title-before .tieu-de a{
    font-size: 24px!important;
    color:var(--mauxanhla)!important;
}

.last-title-before  .tieu-de a:before{
    content: "";
    width: 50px;
    height: 30px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-45%);
    border-bottom: 3px solid;
}

.camket .icon-box-text h3{
    color:var(--mauxanhla);
    font-size: 17px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.absolute-footer{
    display: none;
}

.text-ketnoi-footer p{
    margin-bottom: 2px!important;
    font-size: 13px;
}

.social-footer .social-icons a{
    margin-bottom: 0px!important;

}

.container-shop{
    background-image: url(https://img.nguyenlieusinhhoc.com/2024/05/hình-backgroud-trang-liên-hệ-PC-scaled.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.category-page-title{
    display: none;
}

.title-category-custom h1{
    text-align: center;
    color: var(--mauxanhla);
    text-transform: uppercase;
}

.section-category{
    padding-bottom:0px!important;
}

strong{
    font-weight: bold!important;
}

.title-gioithieu{
    margin-bottom: 0px!important;
}

.title-gioithieu .section-title-normal{
    border-bottom: 0px!important;
}

.section-title-normal span{
    border-bottom: 0px!important;
    color: var(--mauxanhla);
}

.title-gioithieu .section-title-main{
    padding-bottom: 0px!important;
}

.section-gioithieu .bg-fill{
    background-position: bottom!important;
}

.text-lienhe p{
    font-size:18px;
    margin-bottom: 15px;
}

.section-top-footer{
    position: absolute;
    bottom: 98%;
}

.container-shop{
    padding-bottom: 105px;
}

/* .content-area{
    padding-bottom: 105px;
} */

.product-container{
    padding-bottom: 105px;
}

.page-wrapper{
    padding-bottom: 105px!important;
}

.btn-nangluc{
    padding: 10px!important;
    border: 2px solid var(--mauxanhla);
    border-radius: 99px;
    color: var(--mauxanhla)!important;
    justify-content: center;
}

.section-title-normal{
    border-bottom: 0px!important;
}

.btn-trangchu{
    background: rgb(191, 33, 40)!important;
    font-size: 18px;
}

.section-chuandoan .section-bg{
    background-position: bottom;
}

.css-chuandoan-tool select{
    background: #fff!important;
}

.product-trangchu .col-inner{
    border-radius: 15px;
    background: #fff;
}

.product-small .title-wrapper .name a{
    text-align: left;
    text-transform: uppercase;
}

.product-small .price-wrapper{
    text-align: left;
}

.product-small .rating-wrapper .star-rating{
    margin-left: unset!important;
    margin-right: unset!important;
}

.product-small  .price-edit{
    text-align: left;
}

.promotion-wrapper{
    text-align: left;
}

.promotion-wrapper a{
    text-align: left;
    padding: 5px;
    border: 2px solid var(--mauxanhla);
    border-radius: 5px;
    color: var(--mauxanhla);
    font-weight: bold;
    font-size: 12px;
}

.promotion-wrapper{
    margin: 7px 0px;
}

.blog-trangchu .post-title {
    color: var(--mauxanhla);
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.blog-trangchu .from_the_blog_excerpt {
    text-align: left;
}

.container-changesize{
    display: flex;
    margin-bottom: 15px;
}

.container-changesize button{
    background: var(--mauxanhla)!important;
    color: #fff;
    border-radius: 99px;
}


.col-form-trangchu{

}

.content-bv h3{
    font-size: 20px;
}

.blog-cat-tintuc .image-cover{
    height: 295px;
}

.wpcf7 form.sent .wpcf7-response-output{
    background: #46b450;
    color: #fff;
}

.content-area>.woocommerce{
    padding-bottom: 105px;
}

.product-info .wrap-top-price ins{
    float: left;
    margin-right: 10px;
}

.product-info .wrap-top-price del{
    font-size: 17px;
    color: gray;
}


.price-wrapper .price del .woocommerce-Price-currencySymbol{
    font-size: 16px!important;
}

.percentage{
    display: none;
    font-size: 12px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 45px;
    background: #458f46;
    margin-left: 5px;
}

.widget-edit del{
    font-size: 13px;
    /* margin-left: 5px; */
    color:gray;
}

.widget-edit del bdi{
    color:gray;
}


.widget-edit ins{
    float: left;
    margin-right: 5px;
}

.badge-inner.on-sale{
    background-color: #499346!important;
}

.product-small .badge-container .onsale:before{
    content: 'Giảm ';
}

.product-small .badge-container .badge-inner {
    font-size: 13px;
    padding: 0px 10px;
}

.product-small .badge-container{
    top: 230px!important;
}

.product-small .badge{
    height: 25px;
}

.price-edit ins{
    margin-right: 10px;
}

.price-edit del{
    margin-right: 10px;
    font-size: 13px;
}

.price-edit del{
    margin-right: 10px;
    font-size: 13px;
    color: grey!important;
}

.price-edit del bdi{
    font-size: 13px;
    color: grey;
}

@media(max-width:400px){
    .product-small .badge-container{
        top: 175px !important;
    }
}

@media(max-width:549px){
    .product-small .badge-container{
        bottom: 0px !important;
    }

    .row-form-trangchu{
        max-width: 100%!important;
    }
    .row-social-mobile .col{
        padding: 0 11px 10px!important;
    }
    
    .container-changesize button{
        font-size: 13px;
    }

    .col-footer-1 .col-inner>div{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .col-footer-1 .col-inner{
        text-align: center;
    }

    .blog-cat-tintuc .image-cover{
        height: 190px!important;
    }

    .header-comment .icon{
        width: 15%!important;
    }

    .last-title-before .tieu-de a{
        font-size: 18px !important;
    }

    .last-title-before .tieu-de a:before{
        bottom: 40px!important;
    }
    .title-edit2 .tieu-de a{
        font-size: 18px!important;
    }
    .product-cat-edit .product-category .box-image {
        height: 110px !important;
    }

    .product-cat-edit .product-category{
        padding-bottom: 0px!important;
    }
    .text-ketnoi-footer p{
        margin-bottom: 2px !important;
        font-size: 13px;
    }
    .product-main .product-gallery .flickity-slider>.col img{
        height: 75px!important;
    }
    .section-top-footer{
        bottom: 99%!important;
    }
}

@media(max-width:850px){
    .product-info .wrap-top-price{
        display: flex;
        align-items: center;
    }
    
    .product-gallery .badge-container{
        display: none;
    }

    .percentage{
        display: block;

    }

    .row-dk-trangchu{
        max-width: 90%!important;
    }


    .sidebar-edit{
        width: 100%!important;
        margin-top: 25px;
    }

    #product-sidebar{
        padding: 0px!important;
    }

    .widget-edit{
        background: unset!important;
    }

    .widget-edit .product_list_widget li{
        background: #fff;
        border-radius: 10px;
        margin-bottom: 15px;
    }
    .widget-edit .widget-title{
        margin-bottom: 20px;
        font-size: 1.6em;
    }

    .related-products-wrapper .product-section-title::before{
        /* bottom: 530px!important; */
        display: none;
    }
    .product-main .breadcrumb-custom{
        padding: 15px;
    }
    .related-products-wrapper .product-section-title{
        font-size: 20px!important;
    }
}

@media(min-width:550px) and (max-width:849px){
    .text-ketnoi-footer p{
        margin-bottom: 2px !important;
        font-size: 12px;
    }
}

/* Màu chữ trắng cho nút THÊM VÀO GIỎ HÀNG trên trang chi tiết sản phẩm */
.single-product form.cart .single_add_to_cart_button,
.product-info .single_add_to_cart_button,
.product-summary .single_add_to_cart_button,
button.single_add_to_cart_button {
    color: #ffffff !important;
}
.single-product form.cart .single_add_to_cart_button *,
.product-info .single_add_to_cart_button * {
    color: #ffffff !important;
}

/* Thông báo miễn phí vận chuyển trong trang Giỏ hàng (< 300K) */
.atw-free-shipping-notice {
    padding: 10px 16px;
    background: #a3d99b;
    color: #1c4b23;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
}
.atw-free-shipping-notice a {
    color: #1c4b23;
    text-decoration: underline;
    font-weight: 700;
}
.atw-free-shipping-notice a:hover {
    color: #0c3314;
}
@media (max-width: 600px) {
    .atw-free-shipping-notice {
        padding: 8px 14px;
        font-size: 13.5px;
    }
}

