/*
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=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
	--cl-x: #000;
	--cl-y: #05294D;
	--fs-title: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);
}

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

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;*/
    font-size: 0.875rem;
    /*padding: 0.325rem 1rem;*/
    span{
        /*line-height: inherit;*/
    }
}

.button.white{
    color: #000 !important;
}

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



.header-main .header-nav-main.nav-left{
    justify-content: center;
}



/*===*/
.banner-page{
    height: 15rem;
    background-color: transparent;
}

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

.title-banner-page{
    margin: 0;
    font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
    font-weight: 700;
    line-height: normal;

    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.rank-math-breadcrumb p{
    margin-top: 0.25rem;
}

.wpapper-beakcrumb{
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}



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

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


/*===*/
.box-category .box-text{
    padding: 0.5rem 1rem;
    text-shadow: none;
}

.box-category .box-text-inner{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.box-category .box-text-inner .header-title{
    flex: 1;
    margin: 0;
    font-weight: 900;
    font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1.25rem);
}

.box-category .box-text-inner .view-more{
    background-color: #000;
    padding: 0.125rem 1rem;
}

.box-category .box-text-inner .view-more svg{
    transition: all .3s ease-in-out;
}

.box-category:hover .box-text-inner .view-more svg{
    transform: translateX(10px);
}



/*===*/
.product-small .badge-container{
    left: unset;
    right: 0.5rem;
    margin-top: 0.5rem;
    .badge{
        height: 1.8rem;
    }
}

.product-small.box{
    .box-image{
        border-radius: 0.25rem;
    }

    .box-text{
        margin-top: 0.75rem;
        padding: 0;
        .product-title{
            margin-bottom: 0.5rem;
            font-size: clamp(0.8125rem, 0.775rem + 0.1875vw, 1rem);
            font-weight: 400;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .price-wrapper{
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.5rem;
        }

        .price-wrapper .price span.amount{
            font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
            font-weight: 800;
        }
    }
    .quick-view{
        display: inline-flex;
        align-items: center;
        padding: 0.25rem 1rem;
        background-color: #000;
        cursor: pointer;
    }
}


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

    .box-text{
        flex: 1;
        padding: 0.75rem 0 0;
        font-size: inherit;
        line-height: 1.3;
    }
    .box-text-inner{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .is-divider{
        display: none;
    }

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

    .post-title{
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
        font-weight: 600;
    }

    .post-title a{
        margin: 0;
    }

    .from_the_blog_excerpt{
        line-height: inherit;
        margin: 0 0 clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
    }

    :hover .post-title a{
        
    }
}


/*=== Footer*/
.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;
    gap: 0.25rem;
    margin-top: 1rem;
}

.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: transparents;
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.75rem;
}

.social-footer a i{
    top: 0;
    line-height: normal;
    font-size: 1rem;
}

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

.absolute-footer{
    display: none;
}

.menu-footer-bottom{
    flex-direction: row;
    gap: 1.5rem;
}

.menu-footer-bottom .ux-menu-link__link{
    min-height: unset;
    padding: 0;
}

.menu-footer-bottom .ux-menu-link__link:hover{
    color: var(--cl-y) !important;
}

.form-footer{
    display: flex;
    gap: 0.5rem;
}

.form-footer .form-control{
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #fff;
    background-color: transparent !important;
    box-shadow: unset !important;
    color: #fff !important;
}

.form-footer .form-control::placeholder{
    color: #fff;
}


.form-footer input[type="submit"]{
    margin: 0;
    border: 0;
    border-bottom: 1px solid #fff;
    background-color: transparent !important;
    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: clamp(3rem, 2.9rem + 0.5vw, 3.5rem);
    height: 100%;
    position: relative;
}

.icon-info-contact:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--w-icon) / 2);
    bottom: 0;
    z-index: -1;
    background-color: #F8F8F9;
    border-radius: 0.5rem;
}

.icon-info-contact .icon-box-img{
    width: var(--w-icon) !important;
    height: var(--w-icon);
    background-color: #000;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.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: 250px;
}

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


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

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

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

.form-contact .form-control:focus{
    background-color: transparent;
    border-color: #000;
}


/*=== Sản phẩm*/
.blog-archive > .row > .col{
    padding-bottom: 0;
}

.custom-header-archieve-product{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.507em;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    background-color: #EFEFEF;
}

.custom-header-archieve-product .woocommerce-ordering,
.custom-header-archieve-product .orderby{
    margin: 0 !important;
}

.custom-header-archieve-product .orderby{
    background-color: transparent;
    box-shadow: none;
    border: none;
}


/*=== Sản phẩm*/

.product-main{
    padding: 1rem 0;
}

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

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

.woocommerce-variation{
    display: none !important;
}

.product-info .price span.amount bdi{
    color: #FA3A3A;
}

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

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

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

.product-info .ux-quantity + .single_add_to_cart_button{
    display: none;
}

.wrapper-button-add-cart{
    display: flex;
    gap: 0.5rem;
}

.product-info .single_add_to_cart_button{
    flex: 1;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid #000;
    background-color: transparent;
    border-radius: 0.25rem;
    line-height: normal;
    color: #000;
}

.product-info .single_add_to_cart_button:hover,
.product-info .single_add_to_cart_button.buy_now{
    background-color: #000;
    color: #fff;
}

.product-info .single_add_to_cart_button:hover{
    transform: translateY(-2px);
}

.product-info .social-icons a{
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

.product-info .social-icons a:hover{
    transform: translateY(-2px);
}

/*===*/
.product-footer .woocommerce-tabs{
    border-top: 0;
}

.product-footer .woocommerce-tabs .tabs{
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.product-footer .woocommerce-tabs .tabs li{
    width: auto !important;
}

.product-footer .woocommerce-tabs .tabs li a{
    font-size: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);
    font-weight: 500;
    color: #000;
}

.product-footer .woocommerce-tabs .tabs li a:before{
    height: 2px;
    transition: all .3s ease-in-out;
}


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


.product-footer{
    margin-bottom: 1.5rem;
}

.product-section-title{
    font-size: clamp(1.125rem, 1.05rem + 0.375vw, 1.5rem);
    font-weight: 500;
}

.product-section-title-upsell{
    text-align: center;
}

/*==== Quick view*/
.product-quick-view-container .product-info h1{
    font-size: 1.25rem;
}

.product-quick-view-container .product-info .is-divider{
    display: none;
}

.product-quick-view-container .product-info .variations_form{
    margin-bottom: 0;
}

.product-quick-view-container .product-info .wrapper-button-add-cart{
    margin-top: 1rem;
}




/*=== 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.active a,
.widget .product-categories li.cat-item:hover a{
    color: #e04742;
}

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


/*=== Checkout*/
.woocommerce-checkout #customer_details .form-row label{
    font-weight: 600;
}

.woocommerce-checkout #customer_details .form-row input{
    padding: 0.75rem 1rem;
    box-shadow: none !important;
    height: 2.75rem;
    border-radius: 0.25rem;
}

.woocommerce-checkout #customer_details .form-row textarea{
    border-radius: 0.25rem;
    box-shadow: none !important;
}

.woocommerce-checkout #customer_details .form-row input:focus,
.woocommerce-checkout #customer_details .form-row input:focus{
    border-color: #000;
}


.woocommerce-checkout #customer_details .form-row .select2-selection{
    height: 2.75rem;
    border-radius: 0.25rem;
}

.woocommerce-checkout #customer_details .form-row .select2-selection__rendered{
    line-height: 2.75rem;
}



.fixed-contact-label{
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 10;
    padding: 1rem 0.5rem;
    background-color: #000;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    color: #fff !important;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(-50%);
}

.fixed-contact-label .label{
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*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)
    }
}