/*
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{
	--fs-title: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
}

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

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

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

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

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

.button{
    border-radius: 0.375rem;
}

.button.is-large{
    font-size: 1.25rem;
}

.svg-clip-path {
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
}

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

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

.wpcf7 .wpcf7-not-valid-tip{
    position: absolute;
    margin-top: -0.25rem;
    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-button-1 .button{
    font-size: 1.125rem;
    font-weight: 700;
    line-height normal
}

.header-search-lightbox i{
    font-size: 1.25rem !important;
}

.nav-icon .header-button .button{
    width: 2.25rem;
    height: 2.25rem;
    min-width: unset;
    min-height: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 1px solid #000 !important;
    color: #000;
    font-size: 1.25rem;
}

.nav-icon .header-button .button i{
    font-size: inherit;
}


/*===*/
.header-nav > li.menu-item{
    margin: 0 0.5rem;
}

.header-nav > li.menu-item a{
    padding: 0.75rem 0.75rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
}


#logo img{
    padding: 0.25rem 0 !important;
}

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

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

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

.searchform-wrapper input[type=search]{
    height: 40px;
    padding: 0.5rem 1rem;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.searchform-wrapper button[type="submit"]{
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
}

.mfp-container{
    height: auto;
}



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


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

.banner-page .text-box{
    margin-left: 15px;
    margin-right: 15px;
}

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


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


/*======*/

.woo-cat-slider{
    padding: 0.25rem;
}

.box-category{
    display: block;
    height: 100%;
    border-radius: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.box-category .box-content{
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
}

.box-category .title{
    margin: 0;
    font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    color: var(--fs-color-primary);
    text-align: center;
    line-height: normal;
}




/*===*/
ul li.bullet-checkmark{
    list-style-image: url('/wp-content/themes/flatsome-child/images/check-list.svg');
    padding: 0.25rem 0;
    border-bottom: 0;
    list-style-position: inside;
}

ul li.bullet-checkmark:before{
    content: unset !important;
}



/*===*/
.icon-counter{
    padding: 1.5rem;
    background-color: var(--fs-color-primary);
    border-radius: 0.625rem;
    box-shadow: 0 4px 0 0 var(--fs-color-secondary);
    transition: all .3s ease-in-out;
    color: #fff;
    line-height: normal;
}

.icon-counter .number{
    font-size: 2rem;
    font-weight: 700;
}





/*===*/
.woo-product-slider{
    padding: 0.25rem;
}

.swiper .product-small.col,
.swiper .product-small.col .col-inner{
    padding: 0;
    height: 100%;
}

.product-small.box{
    height: 100%;
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    border-radius: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

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

.product-small.box .box-text{
    padding: 0.75rem 0 0;
    text-align: center;
}

.product-small.box .product-title{
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
}




/*===*/
.icon-process h3{
    font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
}


/*===*/
.icon-wcu{
    height: 100%;
    padding: 1rem;
    border-radius: 0.625rem;
    background-color: #fff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

.icon-wcu h3{
    margin-bottom: 0;
}




/*====*/
.box-blog-post{
    padding: 0.5rem;
    border-radius: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.box-blog-post .box-image{
    border-radius: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
}

.box-blog-post .box-text{
    padding: 0.75rem 0.5rem 0;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
}

.box-blog-post .box-text-inner{
    display: flex;
    flex-direction: column;
}

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

.box-blog-post .post-title a{
    margin: 0;
    color: inherit;
}

.box-blog-post .post-meta{
    order: -1;
    margin-bottom: 0.25rem;
    font-size: inherit;
    color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    line-height: normal;
}

.box-blog-post .is-divider{
    display: none;
}

.box-blog-post .button{
    color: var(--fs-color-primary);
    background-color: transparent !important;
    border: 0;
    margin: 0;
    padding: 0;
    width: fit-content;
    min-height: unset;
    font-size: inherit;
    line-height: unset;
}

.box-blog-post .button:after{
    content: "\f061";
    margin-left: 0.25rem;
    font-family: "Font Awesome 6 Pro";
    color: var(--fs-color-secondary);
}


.form-footer{
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 0.325rem;
}

.form-footer .wpcf7-form-control-wrap{
    flex: 1;
}

.form-footer .form-control{
    margin-bottom: 0;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.form-footer .wpcf7-submit{
    margin: 0;
    padding: 0.375rem 1rem;
    border-radius: 0 0.325rem 0.325rem 0;
    background-color: var(--fs-color-secondary);
}

.wpcf7 .wpcf7-not-valid-tip{
    margin-top: -0.25rem;
}


.col-cover-contact:after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20%;
    width: 150%;
    z-index: -1;
    background-color: #ccc;
    background-image: url('/wp-content/themes/flatsome-child/images/img-cover-contact.jpg');
    background-repeat: no-repeat;
    background-size: center center;
    background-size: cover;
    clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);

}





/*=== Footer*/
.col-footer h3{
    font-size: clamp(1.125rem, 1.1rem + 0.125vw, 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: #fff;
    border: 0;
    color: #000;
    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;
}

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


.box-map-footer{
    height: 200px;
    border-radius: 0.5rem;
    overflow: hidden;
}

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



/*==== 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: var(--fs-color-primary);
    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(1.125rem, 1.1rem + 0.125vw, 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: rgba(255, 255, 255, 0.15);
}

.wrapper-form-contact .form-contact .form-control{
    height: unset;
    background-color: #F4F2F2;
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem) 1rem;
    border: 0;
    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;
}



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


.shop-page-title {
    margin-bottom: 0.5rem;
}

.shop-page-title .page-title-inner{
    padding-top: 0;
    max-width: unset !important;
}

.shop-page-title .breadcrumbs {
    font-size: 1.5rem;
    color: var(--fs-color-primary);
}


/*===*/
.box-contact-sidebar{
    border-radius: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    overflow: hidden;
}

.box-contact-sidebar .icon-box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}




/*=== Sản phẩm*/
.product-info .woocommerce-breadcrumb {
    display: none;
}

.product-title{
    font-size: var(--fs-title);
    color: var(--fs-color-primary);
}


.product-gallery .product-images{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-gallery .product-thumbnails .flickity-slider > .col a{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 0.5rem;
    margin: 0.25rem;
    overflow: hidden;
}

.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 .ux-quantity + .single_add_to_cart_button {
    display: none;
}

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

.product-info .button{
    margin: 0;
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: 1rem !important;
    line-height: normal;
}

.product-info .single_add_to_cart_button .label-bottom{
    font-size: 0.875rem;
    font-weight: 400;
}

/*===*/
.product-footer .row,
.woocommerce-tabs,
.product-section-title{
    max-width: unset !important;
}


/*===*/
.product-footer .woocommerce-tabs{
    border-top: unset;
    padding-top: 20px;
}

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

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

.woocommerce-tabs .tabs li a{
    padding: 0 0;
    border-radius: 0;
    font-size: var(--fs-title);
    line-height: unset;
    border-bottom: 2px solid transparent;
}

.woocommerce-tabs .tabs li.active a{
    background-color: transparent;
    color: var(--fs-color-primary);
    border-bottom: 2px solid var(--fs-color-secondary);
}


.related-products-wrapper{
    margin-bottom: 2rem;
    border-top: unset;
}

.product-section-title-related{
    margin: 0 0 1.5rem;
    border-bottom: 1px solid  rgba(0, 0, 0, 0.2);
    font-size: var(--fs-title);
    color: var(--fs-color-primary);
    line-height: normal;
    position: relative;
}

.product-section-title-related:after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 23rem;
    height: 2px;
    background-color: var(--fs-color-secondary);
}



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

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

.widget_product_categories .widget-title{
    background-color: var(--fs-color-primary);
    margin-bottom: 0;
    padding: 1rem;
    border-radius: clamp(0.75rem, 0.7rem + 0.25vw, 1rem) clamp(0.75rem, 0.7rem + 0.25vw, 1rem) 0 0;
    text-align: center;
    color: #fff;
}

.product-categories{
    padding: 0 0.5rem;
    border-radius: 0 0 clamp(0.75rem, 0.7rem + 0.25vw, 1rem) clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    border: 1px solid rgba(0, 0, 0, 0.2);
}


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

.product-categories li.cat-item + li.cat-item{
    border-top-color: rgba(0, 0, 0, 0.2);
}

.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: var(--cl-x);
}

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



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