@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root{
    --cl-x: #2E3192;
    --cl-y: #9B1313;
    --cl-z: #8EC646;
    --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: 40px;
}

body{

    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;
    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-shape{
    padding-right: 2.5rem;
    border: 0;
    clip-path: polygon(0 0, 90% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.btn-shape:before{
    content: "";
    position: absolute;
    top: -1rem;
    bottom: -1rem;
    right: 0.7rem;
    z-index: 1;
    width: 0.8rem;
    transform: rotate(-20deg);
}

.btn-shape.btn-y:before{
    border-left: 0.25rem solid #fff;
    border-right: 0.25rem solid #fff;
    background-color: var(--cl-y);
}

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

.btn-shape.btn-white:before{
    border-left: 0.25rem solid var(--cl-x);
    border-right: 0.25rem solid var(--cl-x);
    background-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{
    padding: var(--py-content) var(--px-content);
}

.bg-cover{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

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

.main-title.has-underline{
    margin-bottom: 1.75rem;
}

.main-title.has-underline:after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 100px;
    height: 2px;
    background-color: #000;
}

.main-title.has-underline.text-center:after{
    left: 50%;
    transform: translateX(-50%);
}

.main-title.has-underline.text-white:after{
    background-color: #fff;
}

.main-title.has-underline.text-y:after{
    background: var(--cl-y);
}

/*nav menu*/
.navbar{
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--cl-x);
}
.navbar>*{
    width: 100%;
    max-width: 100%;
}

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

.navbar-main{
    padding-top: 0;
    padding-bottom: 0;
}

.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: center;
    align-items: center;
    padding: 2rem 1rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
}

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

.navbar-nav .nav-item:hover .nav-link,
.navbar-nav .nav-item:hover .nav-link a{
    /*color: #2f7901;*/
}

/*===*/
.navbar-nav .dropdown-menu{
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 0;
}

.navbar-nav .dropdown-menu .dropdown-item{
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: normal;
}

.navbar-nav .dropdown-menu .dropdown-item:hover{
    background-color: var(--cl-x);
    color: #fff;
}

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

.navbar-nav .nav-item.dropdown .dropdown-menu{
    animation: menu 0.3s;
}

.navbar-nav .dropdown:hover > .dropdown-menu{
    display: block;
}

.navbar-nav .dropdown .dropdown-menu .dropdown .dropdown-menu{
    top: 0;
    left: 98%;
}

@keyframes menu {
    0% { transform: translateY(20px); }
    100% { transform: translateY(0px); }
}

.navbar-brand{
    margin: 0;
    padding: 0;
    z-index: 10;
}

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

.navbar-fixed .logo{
/*    width: 80px;*/
}

.navbar-toggler{
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    box-shadow: none !important;
    color: #fff;
}

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

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

.box-search-header button{
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.25rem;
    border: none;
    border-radius: 50%;
    font-size: var(--fs-14);
}

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

.btn-popup-search svg{
    fill: #fff;
}

.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 .lang-item{
    padding-left: 0.25rem;
    color: #fff;
}

.translate .lang-item + .lang-item{
    border-left: 1px solid #fff;
}

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


.translate .dropdown{
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.translate .dropdown-menu{
    left: unset;
    right: 0;
    max-width: 3rem !important;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 0;
}

.translate .dropdown-item{
    justify-content: flex-start !important;
    gap: 0.5rem;
    color: #000;
}

/*============*/
.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: #000;
    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: #000;
}

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

.simple-breadcrumb{
    padding-top: 0rem;
    padding-bottom: 0rem;
}
.simple-breadcrumb .breadcrumb .breadcrumb-item,
.simple-breadcrumb .breadcrumb .breadcrumb-item a,
.simple-breadcrumb .breadcrumb-item + .breadcrumb-item::before{
    color: #000;
    font-weight: 400;
    text-decoration: none;
    font-size: 14px;
}

.simple-breadcrumb .breadcrumb-item.active{
    color: var(--cl-x);
}


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

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

.main-slide .swiper-slide .banner-slide{
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    transform: translate(-50%, -50%);
    padding: 3%;
}

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

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


.box-title-flash-sale{
    display: flex;
    align-items: center;
}

.box-title-flash-sale .icon{
    width: clamp(2rem, 1.6rem + 2vw, 4rem);
    height: clamp(2rem, 1.6rem + 2vw, 4rem);
    background-image: url('../images/lightning.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.box-title-flash-sale h2{
    display: inline-block;
    padding: 0.25rem 2rem;
    color: #fff;
    position: relative;
}

.box-title-flash-sale h2:before{
    content: "";
    position: absolute;
    inset: 0rem;
    z-index: -1;
    background-color: var(--cl-y);
    clip-path: polygon(7% 0%, 100% 0%, 93% 100%, 0% 100%);
}

.box-title-flash-sale h2:after{
    content: "";
    position: absolute;
    inset: 0rem;
    z-index: -2;
    background-color: #000;
    clip-path: polygon(7% 0%, 100% 0%, 93% 100%, 0% 100%);
    transform: translate(6px, 6px);
}

/*===*/
.card-hover-circle:hover .thumbnail:before,
.card-hover-circle:hover .thumbnail:after{
    transform: scale(7);
    opacity: 0;
}

.card-hover-zoom .thumbnail,
.card-hover-zoom-long .thumbnail{
    overflow: hidden;
}

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

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

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


.swiper-button-circle .swiper-button-next,
.swiper-button-circle .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);
    opacity: 1;
    transition: all .3s ease-in-out;
    pointer-events: all;
}

.swiper-button-circle .swiper-button-next:after,
.swiper-button-circle .swiper-button-prev:after{
    content: "";
}

.hover-show-button .swiper-button-next,
.hover-show-button .swiper-button-prev{
    opacity: 0;
    transition: all .2s ease-in-out;
}
.hover-show-button:hover .swiper-button-next,
.hover-show-button:hover .swiper-button-prev{
    opacity: 1;
}
.hover-show-button:hover .swiper-button-disabled{
    opacity: 0.5;
}


.wrapper-slide{
    position: relative;
}
.wrapper-slide .swiper-button-next,
.wrapper-slide .swiper-button-prev{
    width: clamp(2rem, 1.9rem + 0.5vw, 2.5rem);
    height: clamp(2rem, 1.9rem + 0.5vw, 2.5rem);
    background-color: #B0B0B0;
    border-radius: 50%;
    z-index: 1;
}

.wrapper-slide .swiper-button-next:after,
.wrapper-slide .swiper-button-prev:after{
/*    content: "";*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1rem;
    color: #fff;
}
.wrapper-slide .swiper-button-next{
    right: calc((-1) * clamp(0rem, -0.6rem + 3vw, 3rem));
}

.wrapper-slide .swiper-button-prev{
    left: calc((-1) * clamp(0rem, -0.6rem + 3vw, 3rem));
}


.has-pagination{
    padding-bottom: 2rem;
}
.has-pagination .swiper-pagination{
    bottom: 0;
}

.has-pagination .swiper-pagination-bullet{
    width: 0.75rem;
    height: 0.75rem;
    background-color: #D9D9D9;
    opacity: 1;
}

.has-pagination .swiper-pagination-bullet-active{
    background-color: #8A8A8A;
}




/*===*/
.card-app .content{
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: #EEE;
}

.card-app .content .icon{
    width: clamp(4rem, 3.6rem + 2vw, 6rem);
    height: clamp(4rem, 3.6rem + 2vw, 6rem);
    padding: 1rem;
    background-color: #fff;
    border: 1px solid var(--cl-y);
    border-radius: 50%;
    transform: translateX(calc((-1) * clamp(1rem, 0.9rem + 0.5vw, 1.5rem)));
}

.card-app .right-content{
    flex: 1;
}

.card-app .title{
    font-size: var(--fs-20);
    font-weight: 700;
    color: var(--cl-y);
}


/*===*/
.card-product{
    position: relative;
    overflow: hidden;
}
.card-product .thumbnail{
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.card-product .content{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-right: 1.5rem;
    margin-top: -1.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.50);
    position: relative;
    z-index: 1;
}

.card-product .title{
    margin-bottom: 0rem;
    height: 2.5rem;
    font-size: 1rem;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

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

.card-product-2{
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.card-product-2 .title{
    font-weight: 700;
    font-size: var(--fs-18);
}

.card-product-2 .content{
    padding: 0.5rem;
}

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

/*===*/
.text-style-behind{
    color: rgba(0, 0, 0, 0.10);
    font-size: clamp(2rem, 0.8rem + 6vw, 8rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    letter-spacing: clamp(0rem, -0.25rem + 1.25vw, 1.25rem);
}

.card-blog .content{

}

.card-blog .content .date{
    padding: 0.5rem 0;
    font-weight: 500;
}

.card-blog .title{
    margin-bottom: 0.25rem;
    height: 44px;
    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;
}

.card-blog .description{
    font-size: 15px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-blog:hover .title{
    color: var(--cl-y);
}


/*===*/
.card-gallery{
    display: block;
    position: relative;
}

.card-gallery .title{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all .3s ease-in-out;
    opacity: 0;
    transform: scale(0.7);
}
.card-gallery:hover .title{
    opacity: 1;
    transform: scale(1);
}

.card-gallery img{
    transition: all .2s ease-in-out;
}

.card-gallery:hover img{
    filter: brightness(0.5);
}

/*===*/
.banner-about{
    margin-top: clamp(3rem, 2.6rem + 2vw, 5rem);
    padding: 7%;
    position: relative;
    color: #fff;
}

.banner-about .inner-banner-about{
    margin-top: -13%;
}

.banner-about .icon-cover{
    position: absolute;
    width: clamp(4rem, 3.6rem + 2vw, 6rem);
    top: 0;
    left: 0;
    transform: translateY(-50%);
}


/*===*/
.footer{
    position: relative;
    color: #fff;
    font-size: 0.9375rem;
}

.footer-bottom{
    background-color: #8EC646;
    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.5rem;
}

.box-logo-footer{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.logo-footer{
    width: clamp(7rem, 6.4rem + 3vw, 10rem);
}

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

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

.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: 0.25rem;
    border-radius: 50rem;
    background-color: transparent;
    color: #fff;
    font-size: var(--fs-20);
    transition: all .2s ease-out;
}

.social-contact .item.item-zalo{
    font-size: var(--fs-12);
    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: 380px;
}

tbody, td, tfoot, th, thead, tr{
    border-width:1.5px;
}
table td,table th{
    padding:4px 4px;
}