/*
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=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
body {
    font-family: "Open Sans", sans-serif;
    color: #333;
    font-size: 14px;
}*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --color-main1: #fe5b02;
    --color-main2: #082d85;
}

body{
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    color: #787878;
    line-height: 1.5;
}


h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-weight: 500;
}

b, strong{
    font-weight: 600;
}

.hotline-phone-ring-wrap {
    position: fixed;
    /*bottom: 5%;*/
    bottom: 0;
    left: 0;
    z-index: 999999;
}

.hotline-phone-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.hotline-phone-ring-circle {
    width: 110px;
    height: 110px;
    top: 0;
    left: 0;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #e10000;
    -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
    width: 80px;
    height: 80px;
    top: 16px;
    left: 16px;
    position: absolute;
    background-color: #e10000;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
    background-color: #e10000;
    width: 50px;
    height: 50px;
    top: 31px;
    left: 31px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotline-phone-ring-img-circle .pps-btn-img {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
    width: 33px;
    height: 33px;
}

.hotline-bar {
    position: absolute;
    background: #e10000;
    height: 45px;
    width: 165px;
    line-height: 40px;
    border-radius: 3px;
    padding: 0 10px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    z-index: 9;
    border-radius: 50px !important;
    left: 42px;
    bottom: 31px;
    /*display: none;*/
}

.hotline-bar > a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-indent: 32px;
    letter-spacing: 1px;
    display: block;
    line-height: 45px;
    font-family: Arial;
}

#gom-all-in-one #zalo-vr {
    transition: 1s all;
    -moz-transition: 1s all;
    -webkit-transition: 1s all;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

#button-contact-vr {
    position: fixed;
    /*bottom: 0;*/
    z-index: 99999;
}

#button-contact-vr .button-contact {
    position: relative;
    margin-top: -5px;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#button-contact-vr {
    bottom: 110px;
    left: 10px;
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

@-webkit-keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.5) skew(1deg);
        -webkit-opacity: 0.1;
    }
    30% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        -webkit-opacity: 0.5;
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        -webkit-opacity: 0.1;
    }
}

@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
}

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

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

.phone-bar a {
    position: fixed;
    bottom: 25px;
    left: 30px;
    z-index: -1;
    color: #fff;
    font-size: 16px;
    padding: 8px 15px 7px 50px;
    border-radius: 100px;
}

.product-actions .loadding {
    position: absolute !important;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #370d0da3;
    visibility: hidden;
    transform: translateX(-50%);
}

.loader-ajax:after {
    content: '';
    width: 20px;
    height: 20px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    top: 5px;
    position: relative;
}

.product .col-inner .product-actions span {
    position: relative;
    z-index: 99;
    color: #fff;
}
.loader-ajax.show {
    visibility: visible;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* toast */
.toast-buttons {
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 2em auto;
}

.toast-row {
    display: flex;
    justify-content: center;
    margin: 1em 0;
    padding: 1rem;
    flex-wrap: wrap;
}

button.custom-toast {
    padding: 0.5rem 1rem;
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 5px;
    box-shadow: 2px 2px 10px
    rgba(0, 0, 0, 0.785);
    cursor: pointer;
    width: 150px;
    margin: 0.5em;
    transition: filter 0.2s ease-in-out,
    transform 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    background-color: transparent;
    outline: none;
    background: #3498db;
    color: #fff;
}

button.custom-toast:hover {
    filter: brightness(0.9);
}

button.success-toast {
    background-color: #2ecc71;
}

button.danger-toast {
    background-color: #e74c3c;
}

button.info-toast {
    background-color: #3498db;
}

button.warning-toast {
    background-color: #f1c40f;
}

.toast {
    position: fixed;
    top: 40px;
    right: 15px;
    max-width: 300px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: -1px 1px 10px
    rgba(0, 0, 0, 0.3);
    z-index: 1023;
    animation: slideInRight 0.3s
    ease-in-out forwards,
    fadeOut 0.5s ease-in-out
    forwards 3s;
    transform: translateX(110%);
}

.toast.closing {
    animation: slideOutRight 0.5s
    ease-in-out forwards;
}

.toast-progress {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #b7b7b7;
    animation: toastProgress 3s
    ease-in-out forwards;
}

.toast-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.toast-icon {
    /* padding: 0.35rem 0.5rem; */
    font-size: 1.5rem;
}

.toast-message {
    flex: 1;
    font-size: 0.9rem;
    color: #000000;
    padding: 0.5rem;
}

.toast.toast-success {
    background: #95eab8c9;
}

.toast.toast-success .toast-progress {
    background-color: #2ecc71;
}

.toast.toast-danger {
    background: #efaca5;
}

.toast.toast-danger .toast-progress {
    background-color: #e74c3c;
}

.toast.toast-info {
    background: #bddaed;
}

.toast.toast-info .toast-progress {
    background-color: #3498db;
}

.toast.toast-warning {
    background: #ead994;
}

.toast.toast-warning .toast-progress {
    background-color: #f1c40f;
}

@keyframes slideInRight {
    0% {
        transform: translateX(110%);
    }

    75% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0%);
    }

    25% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(110%);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes toastProgress {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}
@media( max-width: 767px  ) {
    .toast {
        top: 95px!important;
    }
    .left-support {
        padding-bottom: 0;
    }
}
/* toast */

/*css mới*/

.header-top{
    background-color: var(--color-main2);
}

.header-top .flex-col.flex-center{
    width: 100%;
}

.header-top .ux-menu{
    flex-direction: unset;
}

.header-top .ux-menu .ux-menu-link{
    flex: 1;
}

.header-top .ux-menu-link__link{
    color: #fff;
    min-height: unset;
    padding: 5px 15px;
    border-left: 1px solid #fff;
}

.header-top .ux-menu .ux-menu-link:last-child .ux-menu-link__link{
    border-right: 1px solid #fff;
}

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

.header-main .nav>li{
    margin: 0 15px;
}

.header-main .nav>li>a{
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

.header-main .nav>li.active>a, .header-main .nav>li:hover>a{
    color: var(--color-main1);
}

.header-main .header-language-dropdown::before, .header-main .header-language-dropdown::after{
    display: none;
}

.header-main .header-language-dropdown a{
    padding: 0;
}

.box-home .section-content{
    padding-top: 40px;
    padding-bottom: 10px;
}

.cus-title h2{
    font-size: 29px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.icon-box-img img, .icon-box-img svg{
    padding-top: 0;
}

.box-why .item-why .col-inner{
    padding: 60px 30px;
    border-radius: 6px;
}

.box-why .item-why.bg-1 .col-inner{
    background: var(--color-main1);
}

.box-why .item-why.bg-2 .col-inner{
    background: var(--color-main2);
}

.item-why .icon-box .icon-box-img{
    margin: 0 auto 30px;
}

.item-why .icon-box-text{
    text-align: center;
    color: #fff;
}

.item-why .icon-box-text h3{
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.product .product-small{
    position: relative;
}

.product .box-image img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product .box-text{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .6s ease;
}

.product:hover .box-text{
    opacity: 1;
}

.product .title-wrapper{
    text-align: center;
}

.product .title-wrapper a, .product .title-wrapper .product-title a{
    color: #fff;
    display: inline-block;
    transform: translateY(100%);
    transition: all 1s cubic-bezier(.37, .31, .2, .85);
}

.product .title-wrapper a:hover, .product .title-wrapper .product-title a:hover{
    color: var(--color-main1);
}

.product:hover .title-wrapper a, .product:hover .title-wrapper .product-title a{
    transform: translateY(0);
}

.product .title-wrapper .product-category-link, .product .title-wrapper .product-title{
    overflow: hidden;
}

.product .title-wrapper .product-category-link a{
    font-size: 12px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    margin: 0 0 4px;
    transition-delay: .2s;
}

.product .title-wrapper .product-title{
    font-size: 24px;
    padding-top: 6px;
    font-weight: 500;
    margin: 0;
}

.product .title-wrapper .product-title a{
    margin: 0;
}

.box-slider .section-content{
    padding-bottom: 0;
}

.box-certificate .section-content, .box-slider .section-content{
    padding-top: 0;
}

.item-certificate{
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #e1e1e1;
}

.box-cta .large-12 .col-inner{
    max-width: 630px;
    margin: 0 auto;
    text-align: center;
}

.box-cta p{
    color: #fff;
    font-size: 12px;
    margin-bottom: 20px;
}

.box-cta .button{
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.5;
    min-height: unset;
    margin: 0;
}

.footer-wrapper{
    padding-top: 40px;
    border-top: 1px solid #BDBDBD;
}

.contact-footer h2{
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.contact-footer p{
    margin-bottom: 5px;
}

.contact-footer strong{
    color: var(--color-main1);
}

.contact-footer .ux-menu-link__link{
    min-height: unset;
    padding: 0;
    margin-top: 5px;
}

.contact-footer i{
    color: var(--color-main1);
}

.whatsapp-footer h2{
    font-size: 24px;
    margin-bottom: 20px;
}

.whatsapp-footer img{
    width: 300px;
}

.absolute-footer, .shop-page-title, .is-divider, .product .box-image .image-tools, .single-product .product-info .breadcrumbs,
.single-product .product-info .price-wrapper, .product-footer .nav-line>li>a:before, .single-product .product-images .image-tools {
    display: none;
}

.box-main-footer .section-content{
    padding-bottom: 10px;
}

.box-copyright p{
    margin-bottom: 0;
    color: #fff;
}

.woocommerce .category-page-row{
    padding-top: 40px;
    padding-bottom: 10px;
}

.woocommerce .category-page-row > .col{
    padding-bottom: 0;
}

.woocommerce .category-page-row .widget{
    margin-bottom: 30px;
}

.widget.widget_product_categories{
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
}

.widget .widget-title{
    font-size: 18px;
    text-transform: uppercase;
    color: #000;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
    display: inline-block;
    font-weight: 400;
    width: 100%;
}

.widget_product_categories .cat-item a{
    padding: 0;
}

.widget_product_categories a{
    color: #787878;
}

.widget_product_categories a:hover{
    color: #000;
    font-weight: 500;
}

.widget .current-cat>a{
    font-weight: 500;
}

.widget_product_categories .cat-item .count{
    font-size: 16px;
    opacity: 1;
    line-height: 30px;
}

.widget>ul>li+li{
    border-top: none;
    padding-top: 10px;
}

ul.links{
    margin-top: 10px;
    margin-bottom: 30px;
}

.single-product .order-1{
    order: 1;
}

.title-detail-product, .product-section-title-related{
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 400;
}

.single-product .product-info{
    padding-top: 0;
}

.single-product .product-info .product-short-description :last-child, .product-footer .tab-panels .panel :last-child{
    margin-bottom: 0;
}

.product-footer .woocommerce-tabs{
    border-top: none;
    padding: 10px 0 40px;
}

.product-footer .woocommerce-tabs>.nav-line:not(.nav-vertical){
    margin-top: 0;
}

.product-footer .nav>li{
    margin: 0;
}

.product-footer .nav>li>a{
    font-size: 16px;
    padding: 10px 30px;
    border-bottom: 1px solid #7f7f7f;
    font-weight: 700;
}

.product-footer .nav>li:not(.active)>a:hover{
    border-color: var(--color-main1);
    color: var(--color-main1);
}

.product-footer .nav > li.active > a{
    background: var(--color-main2);
    color: #fff;
    border-radius: 5px 5px 0 0;
}

.product-footer .tab-panels{
    padding-top: 40px;
}

.product-main > .row > .col{
    padding-bottom: 0;
}

.product .product-main{
    padding-bottom: 10px;
}

.product-footer .product-navigation{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 40px;
}

.product-footer .product-navigation > a{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    color: #000;
    font-weight: 700;
}

.product-footer .product-navigation > a.next-product{
    margin-left: auto;
}

.next-product svg, .prev-product svg{
    width: 20px;
    fill: #787878;
}

.related.product-section{
    border-top: none;
}

.product .widget{
    margin-bottom: 30px;
}

.product-main .widget_product_categories{
    position: sticky;
    top: 110px;
    z-index: 22;
}

.single .product-main .product-images .flickity-page-dots{
    position: unset;
    padding: 20px 0 0;
}

.single .product-main .product-images .flickity-page-dots .dot{
    border: none;
    opacity: 1;
    background: #dedede;
    width: 10px;
    height: 10px;
}

.single .product-main .product-images .flickity-page-dots .dot.is-selected, 
.single .product-main .product-images .flickity-page-dots .dot:hover {
    background: var(--color-main1);
}

.product .box-image .show-on-hover{
    display: none;
    visibility: hidden;
    opacity: 0;
}

.product:hover .box-image img{
    transform: scale3d(1.1, 1.1, 1);
}

@media(min-width: 850px){
    .header-top .flex-col:not(.flex-center){
        display: none;
    }

    .whatsapp-footer .img-inner{
        text-align: center;
    }
}

@media(max-width: 849px){
    .whatsapp-footer h2{
        text-align: left !important;
    }

    .woocommerce .category-page-row > .col.large-3{
        display: block !important;
        order: 1;
    }
}

@media(max-width: 549px){
    .header-top{
        display: none;
    }

    .title-detail-product, .product-section-title-related{
        font-size: 28px;
    }

    .product-footer .woocommerce-tabs>.nav-line:not(.nav-vertical){
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .product-footer .nav>li{
        flex-shrink: 0;
        width: auto;
    }
}
