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

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
	--cl-x: #1F66B3;
	--cl-y: #0E2A47;
    --fs-title: clamp(1.25rem, 1.125rem + 0.625vw, 1.875rem);
}

body{
    font-family: "Inter", sans-serif;
}

#main, #wrapper{
    background: linear-gradient(0deg, #f5f8fc 0%, #b6c9da 50%, #f5f8fc 100%);
}

p:last-of-type{
	margin-bottom: 0;
}

.justify-content-center{
	justify-content: center;
}

.row-inner-full > .col > .col-inner{
	height: 100%;
}

.row-slider .flickity-slider > .col{
	padding-bottom: 0 !important;
}

.button, button, input[type=button], input[type=reset], input[type=submit], .button.icon{
    /*line-height: normal;*/
    /*min-width: unset;*/
    /*min-height: unset;*/
    margin: 0;
    font-size: 1rem;
    /*padding: 0.325rem 1rem;*/
    span{
        /*line-height: inherit;*/
    }
}

.wpcf7-form{
    margin-bottom: 0;
}

.wpcf7 .wpcf7-spinner{
    display: none;
}

.wpcf7 .wpcf7-not-valid-tip{
    position: absolute;
    margin-top: -1rem;
    font-size: 0.75rem;
    z-index: 1;
}

.social-icons a{
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 !important;
}

.social-icons a i{
    top: unset;
}

.section-bg-linear .section-bg:before,
.section-bg-linear .section-bg:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
}

.section-bg-linear .section-bg:before{
    top: 0;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 50%);
}

.section-bg-linear .section-bg:after{
    bottom: 0;
    background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 50%);
}


/*====*/
#top-bar{
    overflow: hidden;
}

#top-bar .flex-left{
    position: relative;
}

#top-bar .flex-left:after{
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    top: 50%;
    width: 300%;
    height: 180%;
    transform: translate(20%, -50%);
    background-color: var(--cl-x);
    clip-path: polygon(0 0, 100% 0, 99% 50%, 100% 100%, 0 100%);
}

.header-top .nav-small.nav>li.html,
.header-top .nav>li>a{
	font-size: 0.875rem;
    color: var(--cl-x);
}

.header-top .nav-left.nav-small.nav>li.html{
    color: #fff;
}

.hotline-header{
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem !important;
    background-color: var(--cl-x);
    border-radius: 5rem;
    color: #fff !important;
}


#search-lightbox{
    font-size: 1rem;
}

.searchform-wrapper .flex-row{
    flex-direction: row-reverse;
    background-color: rgba(217, 217, 217, 0.2);
    border-radius: 0.375rem;
}

.searchform-wrapper .flex-col{
    padding: 0 !important;
}

.searchform-wrapper.form-flat .flex-col:last-of-type{
    margin-left: 0;
}

.searchform-wrapper input[type=search]{
    height: unset;
    padding: 0.25rem;
    border: 0;
    background-color: transparent;
}

.searchform-wrapper  input[type=search]::placeholder{
    color: #A0A0A0 !important;
}

.searchform-wrapper button[type="submit"].button.icon{
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    color: #A0A0A0 !important;
}



/*===*/
.banner-page{
    height: clamp(12rem, 3.1999999999999993rem + 44vw, 56rem);
    background-color: transparent;
}

.banner-page .bg-fill{
    background-position: center bottom;
}

.title-banner-page{
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

.rank-math-breadcrumb p{

}


/**/
.main-title h2{
    margin-bottom: 0;
    font-size: var(--fs-title);
}

.box-main-title h2{
    margin-bottom: 0.325rem;
    font-size: var(--fs-title);
}

.section-title{
    font-size: var(--fs-title);
}

.section-title{
    margin: 0;
    border-bottom: 0;
}

.section-title b{
    visibility: hidden;
}

.section-title span.section-title-main{
    position: relative;
}

.section-title.section-title-normal span.section-title-main{
    border-bottom: 0;
}

.section-title.section-title-normal span.section-title-main:after{
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0rem;
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(90deg, #1f66b3 0%, rgba(30, 102, 179, 0) 100%);
}

.section-title.section-title-center span.section-title-main:before{
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0rem;
    width: 100%;
    height: 3px;
    background: linear-gradient(190deg, #1f66b3 0%, rgba(30, 102, 179, 0) 100%);
}

.section-title.section-title-center span.section-title-main:after{
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0rem;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1f66b3 0%, rgba(30, 102, 179, 0) 100%);
}


.section-title.section-title-bold span.section-title-main{
    padding: 0;
    border: 0;
}

.section-title.section-title-bold b:last-of-type{
    visibility: visible;
    opacity: 1;
    display: inline-block;
    width: 100%;
    height: 3px;
    margin-left: 1rem;
    background: linear-gradient(90deg, #1f66b3 0%, rgba(30, 102, 179, 0) 100%);
}

.text-box-banner-home .button.white{
    color: var(--cl-x) !important;
}



/*===*/

.pnv-yt-swiper .pnv-yt-main{
    margin-bottom: 1rem;
    border-radius: clamp(0.25rem, 0.15rem + 0.5vw, 0.75rem);
}

.pnv-yt-swiper .pnv-yt-iframe-wrap{
    height: clamp(15.625rem, 11.875rem + 18.75vw, 34.375rem);
}

.pnv-yt-swiper .pnv-yt-iframe-wrap iframe{
    width: 100%;
    height: 100%;
}

.pnv-yt-swiper .pnv-yt-thumb{
    border-radius: clamp(0.25rem, 0.15rem + 0.5vw, 0.75rem);
    overflow: hidden;
    padding-top: 50%;
}



/*===*/
.product-small.box{
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    .box-image{
        width: 100%;
    }

    .box-text{
        flex: 1;
        display: flex;
        flex-direction: column;
        background-color: #62A0E4;
        padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
        .product-title{
            margin: 0;
            font-size: clamp(0.8125rem, 0.775rem + 0.1875vw, 1rem);
            font-weight: 700;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-title a{
            margin: 0;
            color: #fff;
        }

        .price-wrapper{
            margin-bottom: 0.75rem;
        }

        span.amount{
            color: #fff;
        }

        .button.white{
            margin: auto 0 0;
            border-width: 1px;
            width: 100%;
            min-height: unset;
            padding: 0.375rem 1rem;
            border: 1px solid #fff;
            border-radius: 50rem;
            font-size: clamp(0.625rem, 0.55rem + 0.375vw, 1rem);
            color: #fff !important;
            line-height: normal;
        }

        .button.white:hover{
            color: var(--cl-x) !important;
        }
    }
}

/*.row-slider .flickity-slider .col{
    top: 0;
    bottom: 0;
}

.row-slider .flickity-slider .col .col-inner{
    height: 100%;
}*/


/*====*/
.box-blog-post{
    display: flex;
    flex-direction: column;
    .box-image{
        width: 100%;
        border-radius: 0.5rem;
    }

    .box-text{
        flex: 1;
        padding: 0.75rem 0 0;
        font-size: inherit;
        line-height: 1.3;
    }
    .box-text-inner{
        
    }

    .is-divider{
        display: none;
    }

    .post-meta{
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
        opacity: 1;
        color: #7F7F7F;
    }

    .post-meta:before{
        content: "\f073";
        font-family: "Font Awesome 6 Pro";
        color: var(--cl-x);
        margin-right: 0.5rem;
    }

    .post-title{
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        font-weight: 700;
    }

    .post-title a{
        margin: 0;
    }

    .from_the_blog_excerpt{
        line-height: inherit;
        font-size: 0.875rem;
    }

    .badge.post-date{
        top: 0%;
        left: 0.5rem;
        transform: translateY(calc(-100% - 0.5rem));
        width: 2.75rem;
        height: 2.75rem;        
    }

    .badge.post-date .badge-inner{
        border-radius: 0.325rem;
        background-color: #fff;
        font-size: 1.25rem;
    }

    .badge.post-date .badge-inner span{ 
        color: #000;
        text-transform: uppercase;
    }

    :hover .post-title a{
        
    }
}

.box-blog-post.box-vertical{
    flex-direction: row;
}

.box-blog-post.box-vertical .box-text{
    padding: 1rem;
}


.box-overlay.dark .box-text{
    padding: 1rem;
    text-shadow: none;
    color: #fff;
    background: linear-gradient(0deg, #000000 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 0.5rem;
}

.box-blog-post.box-overlay.dark .box-text *{
    color: #fff !important;
}


/*=== Footer*/
.logo-footer{
    padding-top: 1rem;
    padding-bottom: clamp(2rem, 1.8rem + 1vw, 3rem);
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.col-footer h3{
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

.col-footer p{
    margin-bottom: 0.325rem;
}

.col-footer .ux-menu .ux-menu-link + .ux-menu-link{
    margin-top: 0.5rem !important;
}

.col-footer .ux-menu .ux-menu-link__link{
    flex: unset;
    min-height: unset;
    padding: 0;
    transition: all .3s ease-in-out;
}

.col-footer .ux-menu .ux-menu-link__link:hover{
    transform: translateX(0.5rem);
    color: #BF7C00 !important;
}

.social-icons.social-footer{
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: inherit;
}

.social-icons.social-footer span{
    font-weight: 500;
}

.social-icons.social-footer a{
    margin: 0;
    padding: 0.25rem;
    width: 2rem;
    height: 2rem;
    min-width: unset;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 0;
    color: var(--cl-x);
    font-size: 1rem;
}

.icon-envelop:before{
    content: "\f0e0";
    font-family: "Font Awesome 6 Pro";
}

.absolute-footer{
    display: none;
}

.form-footer{
    display: flex;
    background-color: #fff;
    border-radius: 50rem;
}

.form-footer .form-control{
    height: unset;
    margin: 0;
    padding: 0.625rem 1rem;
    border: 0;
    border-radius: 0.325rem;
    background-color: transparent;
    box-shadow: unset !important;
    color: #fff !important;
    font-size: inherit;
}

.form-footer .form-control::placeholder{
    color: rgba(0, 0, 0, 0.5);
}

.form-footer button[type="submit"]{
    min-width: unset;
    margin: 0;
    padding: 0 1.5rem;
    border: 1px solid #fff;
    border-radius: 50rem;
    color: #fff;
}

.back-to-top{
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
}


/*==== Page Contact*/
.icon-info-contact{
    --w-icon: 6rem;
    height: 100%;
    padding: 1rem;
    border-left: 0.325rem solid var(--cl-x);
    border-right: 0.325rem solid var(--cl-x);
    border-top: 0.325rem solid var(--cl-y);
    border-bottom: 0.325rem solid var(--cl-y);
    position: relative;
}

.icon-info-contact .icon-box-img{
    width: var(--w-icon) !important;
    height: var(--w-icon);
}

.icon-info-contact .icon,
.icon-info-contact .icon-inner{
    width: 100%;
    height: 100%;
}

.icon-info-contact .icon-box-img img{
    padding-top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-info-contact .icon-box-text{
    padding: 0.75rem;
    line-height: normal;
}

.icon-info-contact .icon-box-text h3{
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}


.box-map{
    border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    overflow: hidden;
    height: 400px;
}

.box-map iframe{
    width: 100%;
}

.wrapper-form-contact{
    padding: 2rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    background-color: #F5F5F5;
}

.wrapper-form-contact .form-contact .form-control{
    height: unset;
    background-color: rgba(0, 0, 0, 0.05);
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem) 1rem;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 0.25rem;
    box-shadow: none !important;
    color: #000;
}

.wrapper-form-contact .form-contact .form-control::placeholder{
    color: rgba(0, 0, 0, 0.5);
}

.wrapper-form-contact .form-contact input[type=submit]{
    margin: 0;
    border: 0;
    border-radius: 0.25rem;
    font-weight: 600;
}



/*=== Blog*/
.blog-archive > .row > .col{
    padding-bottom: 0;
}



/*=== Sản phẩm*/
.custom-header-category{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.custom-header-category .left-header h2{
    margin-bottom: 0.5rem;
    font-size: var(--fs-title);
}

.custom-header-category .right-header ul.nav-category{
    --gap: 0.75rem;
    --col: 6;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    list-style: none;
    margin-bottom: 0;
}

.custom-header-category .right-header ul.nav-category li{
    margin-bottom: 0;
    flex: 0 0 calc((100% - (calc(var(--col) - 1) * var(--gap))) / var(--col));
}

.custom-header-category .right-header ul.nav-category li a{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--cl-x);
    border-radius: 0.25rem;
    color: var(--cl-x);
    text-align: center;
    transition: all .3s ease-in-out;
}

.custom-header-category .right-header ul.nav-category li.active a,
.custom-header-category .right-header ul.nav-category li:hover a{
    background-color: var(--cl-x);
    color: #fff;
}



.row.products .product-small.col .col-inner{
    height: 100%;
}



.product-info .woocommerce-breadcrumb {
    display: none;
}

.product-info .product-short-description{
    margin-bottom: 1rem;
}

.product-info .ux-quantity.quantity{
    display: flex;
}

.product-info .ux-quantity.quantity input[type="button"]{
    margin: 0;
    width: 2.5rem;
    height: 2.5rem;
    font-weight: 700;
    text-shadow: none;
}

.product-info .ux-quantity.quantity input[type="number"]{
    height: 2.5rem;
    box-shadow: none !important;
}

.product-info .single_add_to_cart_button:not(.buy_now){
    display: none;
}


.wrapper-contact-purchase{
    margin-bottom: 1rem;
}

.wrapper-contact-purchase a{
    flex: 1;
}

.wrapper-contact-purchase .contact-purchase{
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--cl-x);
    color: #fff;
    transition: all .3s ease-in-out;
}

.wrapper-contact-purchase a:first-child .contact-purchase{
    background-color: var(--cl-y);
}

.wrapper-contact-purchase .contact-purchase:hover{
    transform: translateY(-0.25rem);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}


.product-info .social-icons{
    display: flex;
    gap: 0.25rem;
}

.product-info .social-icons a{
    background-color: var(--cl-x);
    border: 0;
    border-radius: 0.5rem !important;
    color: #fff;
}

.product-info .social-icons a i{
    opacity: 1;
}


.product-footer .woocommerce-tabs{
    padding: 2rem;
    background-color: #fff;
    position: relative;
}

.woocommerce-tabs .tabs{
    margin-top: 0 !important;
    border-bottom: 1px solid #ccc;
}

.woocommerce-tabs .tabs li a{
    padding: 0;
    font-size: var(--fs-title);
}

.woocommerce-tabs .tabs li a:before{
    top: 100%;
    content: unset;
}

/* CSS cơ bản */
#tab-description {
    overflow: hidden;
    max-height: 400px;
    transition: max-height 400ms ease;
}

#tab-description .toggle-desc-btn {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: #F3F3F3;
    border: 0;
    cursor: pointer;
}


.related-products-wrapper{
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 0;
}

.product-section-title-related{
    position: relative;
    margin-bottom: 1.5rem;
    padding-top: 0;
    padding-bottom: 0.5rem;
    display: inline-block;
    width: auto;
    font-size: var(--fs-title);
}

.product-section-title-related:after{
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0rem;
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(90deg, #1f66b3 0%, rgba(30, 102, 179, 0) 100%);
}



/*=== Shop Sidebar*/
.widget .is-divider{
    display: none;
}

.widget .widget-title{
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.widget .searchform .flex-row{
    background-color: #F6F6F6;
    border-radius: 0,.25rem;
    overflow: hidden;
}

.widget .searchform input{
    background-color: transparent !important;
    border: 0;
    box-shadow:  unset !important;
    color: rgba(0, 0, 0, 1);
}

.widget .searchform input::placeholder{
    color: rgba(0, 0, 0, 0.5);
}

.widget .searchform button{
    border: 0;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.5);
}


.widget .product-categories li.cat-item{
    transition: all .3s ease-in-out;
}

.widget .product-categories li.cat-item:hover{
    transform: translateX(0.25rem);
}

.widget .product-categories li.cat-item a{
    font-weight: 600;
}

.widget .product-categories li.cat-item a:before{
    content: "\f111";
    font-family: "Font Awesome 6 Pro";
    font-weight: 700;
    font-size: 0.325rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}



/*button contact*/
.button-contact-fixed{
    position: fixed;
    bottom: 8%;
    right: 0.25rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.box-ring {
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: visibility .5s;
    position: relative;
}

.box-ring-outline {
    position: absolute;
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid rgba(30, 30, 30, 0.5);
    background-color: transparent;
    border-radius: 50%;
    opacity: .5;
    transition: all .5s;
    animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
}

.box-ring-inline {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(3rem, 2.8rem + 1vw, 4rem);
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .5s;
    animation: coccoc-alo-circle-fill-anim 2.3s infinite ease-in-out;
}

.box-ring-image{
    width: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    height: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #000;
    opacity: 1;
    animation: coccoc-alo-circle-img-anim 1s infinite ease-in-out;
}

.box-ring-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-ring-label{
	position: absolute;
	right: 2rem;
	height: 2.25rem;
	z-index: -1;
	padding: 0.25rem 3rem 0.25rem 1rem;
	border-radius: 50rem;
	white-space: nowrap;
	color: #fff;
	display: flex;
	align-items: center;
}

@keyframes coccoc-alo-circle-anim {
    0% {
        transform: rotate(0) scale(.5) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
    30% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
        opacity: .5
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
}

@keyframes coccoc-alo-circle-fill-anim {
    0% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
}

@keyframes coccoc-alo-circle-img-anim {
    0% {
        transform: rotate(0) scale(1) skew(1deg)
    }
    10% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }
    20% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }
    30% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }
    40% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg)
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg)
    }
}