:root{
    --cl-x: #EC202A;
    --cl-y: #ffd000;
    --cl-gray: #F5F5F5;
    --fs-12: 12px;
    --fs-14: clamp(0.8125rem, 0.8rem + 0.0625vw, 0.875rem);
    --fs-18: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
    --fs-20: clamp(1.0625rem, 1.025rem + 0.1875vw, 1.25rem);
    --fs-24: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
    --fs-28: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
    --fs-36: clamp(1.5rem, 1.35rem + 0.75vw, 2.25rem);
    --fs-title: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);

    --px-content: 8%;
    --py-content: 60px;
}

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

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

a{
    color: #000;
    text-decoration: none;
}

img{
    max-width: 100%;
    height: auto;
}

.fs-12{
    font-size: var(--fs-12) !important;
}

.fs-14{
    font-size: var(--fs-14) !important;
}

.fs-18{
    font-size: var(--fs-18) !important;
}

.fs-20{
    font-size: var(--fs-20) !important;
}

.fs-24{
    font-size: var(--fs-24) !important;
}

.fs-28{
    font-size: var(--fs-28) !important;
}

.text-justify{
    text-align: justify !important;
}

.text-x{
    color: var(--cl-x) !important;
}

.text-y{
    color: var(--cl-y) !important;
}

.text-gray{
    color: var(--cl-gray);
}

/*background*/
.bg-x{
    background-color: var(--cl-x) !important;
}

.bg-y{
    background-color: var(--cl-y) !important;
}

.bg-gray{
    background-color: var(--cl-gray) !important;;
}

.btn-custom{
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.325rem;
    line-height: 1.5;
    font-weight: 500;
    position: relative;
    transition: all .3s ease-in-out;
    vertical-align: middle;
}

.btn-custom:hover{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.btn-x{
    background-color: var(--cl-x);
    color: #fff;
    border: 1px solid var(--cl-x);
}

.btn-x:hover{
    color: #fff;
}

.btn-y{
    background-color: var(--cl-y);
    color: #fff;
    border: 1px solid var(--cl-y);
}

.btn-y:hover{
    color: #fff;
}

.btn-outline-x{
    border: 2px solid var(--cl-x);
    background-color: transparent;
    color: var(--cl-x);
}

.btn-outline-x:hover{
    background-color: var(--cl-x);
    color: #fff;
}

.btn-outline-y{
    border: 2px solid var(--cl-y);
    background-color: transparent;
    color: var(--cl-y);
}

.btn-outline-y:hover{
    background-color: var(--cl-y);
    color: #fff;
}

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

.block{
    position: relative;
    padding: var(--py-content) var(--px-content);
}

.bg-cover{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.bg-cover.has-gradient:before,
.bg-cover.has-gradient:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 20%;
}

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

.bg-cover.has-gradient: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;
}

.main-title{
    margin-bottom: 0;
    font-weight: 700;
    font-size: var(--fs-title);
    text-transform: uppercase;
    position: relative;
}

/*nav menu*/
.navbar{
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #fff;
}

.navbar>*{
    width: 100%;
    max-width: 100%;
}

.navbar-top{
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.navbar-main{
    padding-top: 0;
    padding-bottom: 0;
    position: unset;
    z-index: 10;
}

.navbar-fixed{
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    animation: animate 1s;
    transition: all 2s ease-in-out;
    z-index: 30;
}

@keyframes animate {
    0% {
        transform: translateY(-100px);
    }
    100% {
        transform: translateY(0px);
   }
}

.navbar-fixed.navbar{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.navbar-nav{
    width: 100%;
    align-items: center;
}

.navbar-nav .nav-item .nav-link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.navbar-nav .nav-item .nav-link,
.navbar-nav .nav-item .nav-link a{
    color: #fff;
}

.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link.active a{
    color: #fff;
}

.navbar-nav .nav-item:hover .nav-link,
.navbar-nav .nav-item:hover .nav-link a{
    color: var(--cl-y);
}

/*===*/
.navbar-nav .dropdown-menu .dropdown-item{
    padding: 0.375rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-nav .dropdown-menu .dropdown-item:active{
    background-color: var(--cl-y);
}

.navbar-nav .toggle-menu{
    margin-left: 0.5rem;
}

.navbar-brand{
    margin: 0;
    padding: 0;
}

.logo{
    width: 200px;
    transition: all .3s ease-in-out;
}

.navbar-toggler{
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    margin-left: 0;
    align-items: center;
    border: 2px solid var(--cl-x);
    box-shadow: none !important;
    color: var(--cl-x);
}

.box-search-header{
    display: flex;
    width: 100%;
    padding: 2px;
    border-radius: 50rem;
    overflow: hidden;
    background-color: #fff;
}

.box-search-header input{
    flex: 1;
    width: 100%;
    padding: 0.125rem 1rem;
    border: none !important;
    outline: none;
    background-color: transparent;
    font-size: var(--fs-14);
    box-shadow: none !important;
}

.box-search-header button{
    width: 3.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    font-size: var(--fs-14);
    clip-path: url('#clip-path-btn-search');
}

.box-search-header button > *{
    margin-left: 0.5rem;
}


.btn-popup-search{
    padding: 0;
    border: 0;
    box-shadow: none !important;
    background-color: transparent;
    color: #fff;
}

.btn-popup-search svg{
    fill: var(--cl-x);
}

.cart-shopping{
    display: flex;
    align-items: center;
    gap: 6px; 
    border-radius: 8px;
    color: var(--cl-x);
    font-size: var(--fs-18);
    position: relative;
}

.label-quantity{
    position: absolute;
    top: -6px;
    right: -10px;
    width: 1rem;
    height: 1rem;
    font-size: 12px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--cl-x);
}

.translate{
    display: flex;
}

.translate .lang-item{
    font-weight: 600;
    color: rgba(255, 255, 255, 0.42);
}

.translate .lang-item + .lang-item{
    margin-left: 0.25rem;
    padding-left: 0.25rem;
    border-left: 2px solid #fff;
}

.translate .lang-item.active{
    color: #fff;
}


/*============*/
.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

/*banenr-page*/
.banner-page{
    min-height: clamp(11rem, 10rem + 5vw, 16rem);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner-page .title{
    display: block;
    margin-bottom: 0;
    font-weight: 700;
    color: #fff;
    font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.banner-page .breadcrumb{
    justify-content: center;
    margin-bottom: 0;
}

.banner-page .breadcrumb .breadcrumb-item,
.banner-page .breadcrumb .breadcrumb-item a,
.banner-page .breadcrumb-item + .breadcrumb-item::before{
    color: #fff;
}

.banner-page .breadcrumb .breadcrumb-item.active{
    color: #fff;
}



/*===*/
.box-hover-zoom .box-thumbnail,
.box-hover-zoom-long .box-thumbnail{
    overflow: hidden;
}

.box-hover-zoom .box-thumbnail img{
    transition: all 0.3s ease-in-out;
}

.box-hover-zoom:hover .box-thumbnail img,
.box-hover-zoom-long:hover .box-thumbnail img{
    transform: scale(1.1);
}

.box-hover-zoom-long .box-thumbnail img{
    transition: all 1s ease-in-out;
}

.wrapper-slide{
    position: relative;
} 

.wrapper-slide .swiper-button-next,
.wrapper-slide .swiper-button-prev{
    width: clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem);
    height: clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem);
    background-color: #fff;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    color: var(--cl-x);
    transition: all .3s ease-in-out;
    pointer-events: all;
}

.wrapper-slide .swiper-button-next:after,
.wrapper-slide .swiper-button-prev:after{
    font-size: 1rem;
}


/* Home ============*/
.main-slide{
    height: 800px;
    overflow: hidden;
    position: relative;
}

.main-slide .swiper-slide{
    position: relative;
}

.wrapper-main-slide-thumb{
    position: absolute;
    left: var(--px-content);
    bottom: var(--py-content);
    z-index: 1;
    width: 40%;
}

.main-slide-thumb .box-img{
    border: 0.25rem solid #fff;
    border-radius: 0.5rem;
    overflow: hidden;
}


.main-slide-thumb .swiper-slide{
    filter: brightness(0.5);
    transition: all .3s ease-in-out;
}

.main-slide-thumb .swiper-slide-thumb-active{
    filter: brightness(1);
}

.main-slide .swiper-slide .banner-slide{
    position: absolute;
    left: var(--px-content);
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.main-slide .banner-slide h2{
    margin-bottom: 0;
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
}

.box-title-main h1,
.box-title-main h2{
    margin-bottom: 0.5rem;
    font-size: var(--fs-title);
    position: relative;
}


/*===*/
.block-achievement:before{
    content: "";
    position: absolute;
    top: 0;
    right: 5%;
    width: 40%;
    height: clamp(2.5rem, 2rem + 2.5vw, 5rem);
    background-color: #fff;
    border-radius: 2rem;
    transform: translateY(-70%);
}

.block-achievement:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 40%;
    height: clamp(2.5rem, 2rem + 2.5vw, 5rem);
    background-color: #fff;
    border-radius: 2rem;
    transform: translateY(70%);
}

.box-counter{
    color: #fff;
    text-align: center;
}

.box-counter .box-top{
    font-size: 1.5rem;
    font-weight: 700;
}

.box-counter .box-top .counter{
    font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
    line-height: 1;
}

.box-counter .box-bottom{
    font-weight: 600;
}


/*===*/
.box-category .box-thumbnail{
    border: 1px solid #D8D8D8;
    border-radius: 0.5rem;
}

.box-category .box-content{
    padding: 0.75rem;
}

.box-category .title{
    margin-bottom: 0;
    text-align: center;
    font-weight: 700;
    font-size: var(--fs-18);
}



/*===*/
.box-project{
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.box-project .box-content{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3rem 1rem 1rem;
    background: linear-gradient(0deg, #EC202A 0%, rgba(255, 255, 255, 0.00) 100%);
}

.box-project .box-content .title{
    margin-bottom: 0;
    padding-left: 0.5rem;
    border-left: 4px solid #fff;
    font-size: var(--fs-18);
    color: #fff;
}



/**/
.product-slide .swiper-slide{
    height: calc((100% - 24px) / 2);
}

.box-product{
    overflow: hidden;
}

.box-product .box-thumbnail{
    position: relative;
    border: 1px solid #D8D8D8;
    border-radius: 0.5rem;
}

.box-product .box-badge{
    position: absolute;
    left: 0;
    top: 1rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--cl-x);
    font-size: var(--fs-18);
    color: #fff;
}

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

.box-product .title{
    margin-bottom: 0;
    font-size: var(--fs-18);
    font-weight: 700;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

.box-product .box-excerpt{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-product .box-price{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    font-weight: 600;
}

.box-product .box-price .label-sale-price{
    color: #000;
}

.box-product .box-price .label-regular-price{
    color: #939393;
    text-decoration: line-through;
    font-size: var(--fs-14);
}

.box-product:hover .title{
    color: var(--cl-x);
}

/*===*/
.box-blog{
    position: relative;
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.125));
    transition: all .3s ease-in-out;
}

.box-blog .inner-box-blog{
    padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
    background-color: #F8F8F8;
    clip-path: url('#clip-path-box-blog');
}

.box-blog .box-thumbnail{
    border-radius: 0.5rem;
}

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

.box-blog .title{
    font-size: var(--fs-18);
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

.box-blog .box-excerpt{
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box-blog .box-meta{
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #A1A1A1;
}

.box-blog .box-view-more{
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    background-color: #F8F8F8;
    border-radius: 0.75rem;
    color: var(--cl-x);
    font-weight: 700;
}

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

.box-blog:hover{
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.25));
}

.box-blog:hover .title{
    color: var(--cl-x);
}

.box-blog .box-view-more:hover svg{
    transform: translateX(0.25rem);
}



/*===*/

.partner-slide .swiper-wrapper{
    transition-timing-function: linear;
}

.partner-slide .swiper-slide{
    width: 12%;
}


.box-img-partner{
    padding: 0.5rem;
    background-color: #fff;
    border-radius: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.125);
}



/*===*/
.footer{
    position: relative;
    color: #fff;
    overflow: hidden;
}

.footer:after{
    content: "";
    position: absolute;
    top: 0;
    right: 5%;
    width: 40%;
    height: clamp(2.5rem, 2rem + 2.5vw, 5rem);
    background-color: #fff;
    border-radius: 2rem;
    transform: translateY(-70%);
}


.footer-bottom{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.footer a{
    color: #fff;
    text-decoration: none;
}

.footer a:hover{
    color: var(--cl-y);
}

.footer p{
    margin-bottom: 0.7rem;
}

.logo-footer{
    width: clamp(8.75rem, 8rem + 3.75vw, 12.5rem);
}

.title-footer{
    position: relative;
    margin-bottom: 1rem;
    font-size: var(--fs-20);
    font-weight: bold;
    text-transform: uppercase;
}

.list-footer ul{
    list-style: none;
    list-style-position: inside;
    margin-bottom: 0;
    padding-left: 0px;
}

.list-footer ul li a{
    position: relative;
}

.list-footer ul li a::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    bottom: -4px;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .2s ease-in-out;
}

.list-footer ul li a:hover::before{
  transform-origin: left;
  transform: scaleX(1);
}

.list-footer ul li{
    transition: transform .2s ease-in-out;
}

.list-footer ul li:hover{
    transform: translateX(5px);
}

.list-footer ul li + li{
    margin-top: 0.7rem;
}

.list-footer ul li i{
    margin-right: 6px;
    color: var(--cl-x);
}

.social-contact{
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-contact .item{
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    border-radius: 50%;
    background-color: var(--cl-x);
    color: #fff;
    font-size: var(--fs-20);
    transition: all .2s ease-out;
}

.social-contact .item.item-zalo{
    font-size: 12px;
    font-weight: 900;
    color: #fff;
}

.social-contact-footer .item:hover{
    animation: scale-icon 0.5s;
    background-color: var(--cl-y);
    color: #fff;
}

@keyframes scale-icon {
    0% { transform: scale(0.8); }
    100% { transform: scale(1); }
}

.coppyright{
    font-size: clamp(0.625rem, 0.5625rem + 0.3125vw, 0.9375rem);
    font-weight: 300;
    text-align: center;
}
   


/*===*/
.box-iframe iframe{
    width: 100%;
    max-width: 100%;
}
.box-iframe-contact iframe{
    /*height: 100%;*/
}

.contact-information{
    padding: 5% 20%;
    border-radius: 1rem;
    background-color: var(--cl-x);
}

.contact-information li{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-align: center;
}

.contact-information li + li{
    margin-top: 1.5rem;
}

.contact-information li span{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--cl-x)
}



#tab-history{
    justify-content: space-around;
    border-bottom: 0;
}

#tab-history .nav-link{
    padding: 1rem 0.5rem;
    border-radius: 0;
    border: 0;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
    font-weight: 700;
    color: #000;
    background-color: transparent;
}

.title-content-history{
    font-size: clamp(2rem, 1.6rem + 2vw, 4rem);
    font-weight: 700;
    text-align: center;
    color: var(--cl-x);
}

.line-hostory{
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
}

.line-hostory:before,
.line-hostory:after{
    content: "";
    position: absolute;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #000;
    transform: translateY(-50%);
}

.line-hostory:after{
    left: 100%;
}


.mv-shape-cover:before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 60%;
    background-color: #C7242C;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%);
}   

.mv-shape-cover:after{
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: 0;
    width: 62%;
    background-color: var(--cl-x);
    clip-path: url('#clip-path-ms-right');
}


.mv-shape-cover-left:before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60%;
    background-color: #C7242C;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}   

.mv-shape-cover-left:after{
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 0;
    width: 62%;
    background-color: var(--cl-x);
    clip-path: url('#clip-path-ms-left');
}



/*===*/
.block-login{
    display: flex;
    align-items: center;
    height: 100vh;
}

.form-user-login{
    background-color: #ffffff26;
    padding: 2rem;
    backdrop-filter: blur(12px);
    border-radius: 0.5rem;
    color: #fff;
}

.form-user-login .form-control{
    padding: 0.75rem 1rem;
    font-size: inherit;
    box-shadow: none;
}


.left-sidebar{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100vh;
    background-color: #383838;
}


.list-parent-sidebar ul li a.nav-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 0.25rem 0.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
}

.list-parent-sidebar ul li a.nav-link.active,
.list-parent-sidebar ul li a.nav-link:hover{
    background-color: #414141;
}

.box-user{
    margin-top: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background-color: #414141;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
}

.box-user .box-avatar{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
}


.wrapper-right-content{
    overflow-y: scroll;
    padding: 1.5rem;
    height: 100vh;
    background: #fafafa;
}


.nav-fillter-project a.nav-link{
    padding: 0.25rem 1rem;
    background-color: #ececec;
    border-radius: 50rem;
    color: #000;
}

.nav-fillter-project a.nav-link.active,
.nav-fillter-project a.nav-link:hover{
    background-color: var(--cl-x);
    color: #fff;
}