/*
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=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --fs-title: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    --fs-16-18: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    --fs-14-20: clamp(0.875rem, 0.8rem + 0.375vw, 1.25rem);
    --fs-16-20: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    --fs-18-20: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
    --rounded-8-16: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
}

body{
    font-family: "Be Vietnam Pro", sans-serif;
    line-height: normal;
}

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

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

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

.button{
    min-height: unset;
    padding: 0.5rem 1rem;
    line-height: normal;
    font-size: 1rem;
    font-weight: 600;
}

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

.button.secondary{
    color: #fff;
}

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

.button.is-outline{
    border-width: 1px;
    line-height: normal;
}

.button.icon-celendar i:before{
    content: "\f073";
    font-family: "Font Awesome 6 Pro";
}
.button.icon-download i:before{
    content: "\e094";
    font-family: "Font Awesome 6 Pro";
}

i.icon-angle-right:before{
    content: "\f061";
    font-family: "Font Awesome 6 Pro";
}

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

.img-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.section-bg-linear .section-bg:before,
.section-bg-linear .section-bg:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    height: 50%;
    pointer-events: none;
}

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

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

.justify-content-between{
    justify-content: space-between;
}

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

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

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

.social-icons a{
    width: 1.75rem;
    height: 1.75rem;
    min-width: unset !important;
    min-height: unset;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: 1px solid #3A3A3C !important;
    border-radius: 50%;
    padding: 0 !important;
    line-height: normal;
    font-size: 1rem !important;
    color: #3A3A3C;
}

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

.social-icons a.is-outline{
    /*color: #fff;*/
}


/*===*/
.header-main{
    transition: all .3s ease;
}

.header-nav.header-nav-main .menu-item a{
    font-size: var(--fs-16-20);
    font-weight: 400;
    color: #000;
}

.header-nav.header-nav-main .menu-item.current-menu-item a{
    color: var(--fs-color-secondary) !important;
}

.header-nav-main.nav-right > li{
    margin: 0 0.25rem;
}

.header-main li .icon.button,
.mobile-nav .nav-icon a{
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #323232;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
    border: 0;
}

.header-main li .icon.button i:not(.icon-shopping-cart),
.mobile-nav .nav-icon a i{
    top: unset;
    line-height: normal;
    font-size: 1rem !important;
    opacity: 0;
}

.header-main li.cart-item .icon.button i:after{
    position: absolute;
    top: -24px;
    right: -24px;
}

.header-main li.cart-item .icon.button i:before{
    content: "";
}

li.header-search .icon.button{
    background-image: url('/wp-content/themes/flatsome-child/images/icon-search.svg');
}

li.account-item .icon.button{
    background-image: url('/wp-content/themes/flatsome-child/images/icon-user.svg');
}

li.cart-item .icon.button{
    background-image: url('/wp-content/themes/flatsome-child/images/icon-cart.svg');
}

.mobile-nav .nav-icon a{
    background-image: url('/wp-content/themes/flatsome-child/images/icon-menu.svg');
}


#logo img{
    transition: all .3s ease;
}


#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: unset;
    padding: 0.5rem 1rem;
}

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


/*===*/
.banner-page{
    height: clamp(15rem, 13rem + 10vw, 25rem);
    background-color: transparent;
}

.banner-page .title-banner-page{
    margin: 0;
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.75rem);
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

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


/*===*/
input.form-control{
    padding: clamp(0.625rem, 0.55rem + 0.375vw, 1rem) 1rem;
    height: unset;
    background-color: #fff;
    box-shadow: none;
    border-radius: 0.375rem;
    transition: all .3s ease;
    font-size: inherit;
}

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


.button.open-video{
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.button.open-video i{
    top: unset;
}



.product-small.box .box-image{
    border-radius: var(--rounded-8-16);
}

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

.product-small.box .box-text .product-title{
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: var(--fs-14-20);
}

.product-small.box .box-text .product-title a{
    color: #000;
}

.product-small.box .box-text .price-wrapper{
    font-size: var(--fs-14-20);
}

.product-small.box .quick-view{
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 0.25rem 1rem;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50rem;
    color: #000;
    cursor: pointer;
    font-size: var(--fs-14-20);
    transition: all .3s ease;
}

.product-small.box .quick-view :hover{

}


.flatsome-colors-in-loop.custom-swatches-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.custom-swatches-wrapper .swatch-circle {
    display: block;
    width: clamp(1.125rem, 1rem + 0.625vw, 1.75rem);
    height: clamp(1.125rem, 1rem + 0.625vw, 1.75rem);
    border-radius: 50%;
    outline: 1px solid #fff;
    outline-offset: 2px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-swatches-wrapper .swatch-circle:hover,
.custom-swatches-wrapper .swatch-circle.active {
    outline: 1px solid #000;
}

.custom-tooltip[title]:hover:after {
    font-size: 12px;
    padding: 4px 8px;
    bottom: 130%;
}


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

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

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

.product-info .price-wrapper{
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #000;
}

.product-info .price-wrapper .price{
    font-size: clamp(0.875rem, 0.775rem + 0.5vw, 1.375rem);
}


table.variations .label{
    font-size: clamp(0.875rem, 0.775rem + 0.5vw, 1.375rem);
}

.variations .label label{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: inherit;
}

.ux-swatch--label{
    font-size: clamp(0.875rem, 0.775rem + 0.5vw, 1.375rem);
}

.ux-swatch-selected-value{
    font-size: inherit !important;
}

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


.product-info .quantity .button{
    line-height: unset;
    width: clamp(2rem, 1.9rem + 0.5vw, 2.5rem);
}

.quantity input[type=number]{
    width: 2.5rem;
    height: unset;
}


.single_add_to_cart_button,
.ux-buy-now-button{
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #DDDDDD !important;
    font-size: var(--fs-16-20);
    color: #323232;
}

.single_add_to_cart_button:hover,
.ux-buy-now-button:hover{
    background-color: #000 !important;
    color: #fff;
}

.ux-buy-now-button{
    border-color: #323232;
}



/*===*/
.product-quick-view-container > .row {
    max-width: unset !important;
}



/*=== Giỏ hàng*/
.cart.shop_table tr th{
    font-weight: 300;
    font-size: var(--fs-16-20);
}

.woocommerce-cart-form__cart-item.cart_item td{
    font-size: var(--fs-16-20);
}

.woocommerce-cart-form__cart-item.cart_item .ux-quantity{
    background-color: #E5E5E5;
    border-radius: 50rem;
    overflow: hidden;
}

.woocommerce-cart-form__cart-item.cart_item .ux-quantity input{
    height: unset;
    background-color: transparent;
    width: 2rem;
    height: 2.5rem;
    min-height: unset;
    border: 0;
    line-height: unset;
}

.woocommerce-cart-form__cart-item.cart_item .ux-quantity input[type=number]{
    box-shadow: none;
    width: 2.5rem;
}

.woocommerce-cart-form__cart-item.cart_item .product-remove{
    position: absolute;
}

.woocommerce-cart-form__cart-item.cart_item .product-remove a{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    border: 0;
    line-height: inherit !important;
}



.flatsome-custom-total-cart{
    background-color: #C4C4C4;
    border-radius: 0.5rem;
}

.flatsome-custom-total-cart .cart-header{
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-16-20);
    color: #000;
    padding: 1rem;
    border: 1px solid #8B8B8B;
    border-radius: 0.5rem;
    background-color: #fff;
}

.flatsome-custom-total-cart .cart-body{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.flatsome-custom-total-cart .cart-body .button{
    display: inline-block;
    min-width: unset;
    margin: 0;
    padding: 0.75rem 1rem;
    background-color: #000;
}

/*===*/
.category-page-title{
    margin-top: 2rem;
}

h1.shop-page-title{
    font-size: 1.125rem;
    font-weight: 500;
    color: #595959;
}

.woocommerce-breadcrumb.breadcrumbs{
    color: #7D7D7D;
    font-size: 1.125rem;
    font-weight: 400;
}

.woocommerce-breadcrumb.breadcrumbs a{
    color: inherit;
}


/* CSS cho Wrapper chứa các dropdown */
.custom-filter-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-filter-select {
    width: auto;
    appearance: none;
    -webkit-appearance: none;
    background-color: #f2f2f2;
    border: none !important;
    border-radius: 20px !important;
    padding: 6px 30px 6px 15px !important;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    box-shadow: none !important;
    font-weight: 500;
    min-width: 90px;    
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 55%;
    background-size: 8px auto;
}

.custom-filter-select:focus,
.custom-filter-select:hover {
    background-color: #e5e5e5;
    outline: none;
}


/*===*/
form.checkout h3{
    font-size: var(--fs-16-20);
}

.checkout.woocommerce-checkout .form-row input,
.checkout.woocommerce-checkout .form-row select,
.checkout.woocommerce-checkout .form-row .select2-selection{
    padding-left: 0;
    padding-right: 0;
    height: 2.75rem;
    box-shadow: none;
    transition: all .3s ease;
    border-width: 0 0 1px 0;
}

.checkout.woocommerce-checkout textarea{
    padding-left: 0;
    padding-right: 0;
    border-width: 0 0 1px 0;
    box-shadow: none;
}


/*=== Footer*/
.row-footer:after{
    content: none;
}

.col-footer h3{
    margin-bottom: 1.25rem;
    font-size: var(--fs-18-20);
}

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

.col-footer .ux-menu .ux-menu-link + .ux-menu-link{
    margin-top: 0.75rem !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: var(--cl-y) !important;
}

/*==*/
.form-contact-footer{
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #fff;
}

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

.form-contact-footer input{
    height: unset;
    margin: 0;
    padding: 0.5rem 0;
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
    color: #fff !important;
}

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

.form-contact-footer button{
    margin: 0;
    padding: 0.25rem 1rem;
    background-color: #000;
}


.absolute-footer{
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}


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

#footer .social-icons a{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem !important;
    border: 0 !important;
}


/*===*/
.nav-pagination>li{
    margin: 0 0.25rem !important;
}

.nav-pagination>li>a,
.nav-pagination>li>span{
    min-width: unset;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    border: 1px solid #000;
    line-height: normal;
}

.nav-pagination>li i{
    top: 0;
    font-size: inherit;
}


/**/
.flatsome-custom-top-content{
    margin-bottom: 1.5rem;
}

.flatsome-custom-top-content .title-single-content{
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.flatsome-custom-top-content .meta-post{
    display: flex;
    gap: 1.5rem;
    color: #333333;
}


/*=== Trang liên hệ*/
.form-contact .form-control{
    height: unset;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    box-shadow: none;
    transition: all .3s ease;
}

.form-contact textarea.form-control{
    height: 8.5rem;
}



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