/* 
.falling-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: 9999;
}

.falling-item {
  position: absolute;
  top: -50px;
  font-size: 24px;
  animation: fall linear;
  opacity: 0.9;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
} */

.banner-main img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.home{
    background-color: #FFFFFF;
    width: 100%;
    height: auto;
}
.wrapvideo.show {
    opacity: 1;
}
/* .panel img{
    max-width: 100%;
    height: 100%; 
    object-fit: cover;
} */
/* .panel:first-child {
    transform: translate3d(0, 0, 0);
    animation: slideIn 2s forwards;
} */
@keyframes slideIn {
    0% {
        transform: translate3d(0, -3.125rem, 0);
        opacity: 0;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
.text-product {
  visibility: hidden;
  opacity: 0;
  position: absolute;
}
.latest-trends{
    background-color: var(--primary-color);
    padding: 3.125rem 2rem 5.125rem 2rem;
}
.latest-trends .btn-see{
    padding-top: 2.125rem;
}
.text-trends{
    display: block;
    text-align: center;
}
.text-trends h3{
    font-family: 'NTJSans-Bold';
    font-weight: 500;
    font-size: 0.875rem;
}
.text-h1{
    font-family: 'NTJDisplay-SemiBold', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    color: #a2041b;
}
.item-submenu {
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: calc(50vw - 1.5rem);
    height: auto;
    background-color: #F7F7F7;
    flex: 0 0 auto;
    padding: 5px;
}
.item-submenu:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.1);

}
.item-submenu:hover a{
   color: #0068FF;
}
.item-submenu img {
    width: 100%;
    height: auto;
    -webkit-transition: all .25s;
    transition: all .25s;
    object-fit: cover;
    display: block;
}
.latest-trends .swiper-slide {
    height: auto !important;   /* ✅ cho slide co theo content cao nhất */
    display: flex;
}
.wishlist {
    display: flex;
    justify-content: end; /* Đẩy các phần tử sang hai bên */
    width: 100%;
    padding: 1.25rem 0;
    height: 1.5rem;
    align-items: center; /* Căn giữa theo chiều dọc */
    position: absolute;
    z-index: 1;
}
.wishlist .new{
    font-size: 0.75rem;
}
.wishlist .checked-hover{
    cursor: pointer;
    position: absolute;
    right: 0.625rem;
}
.text-product{
    display: flex;
    width: 100%;
    padding-left: 0.5rem;
    color: #3c3c41;
    font-size: 1rem;
    min-height: 5.5rem;
    justify-content: center;
    flex-direction: column;
    align-items: start;
}
.text-product p{
    margin: 0.15rem;
    letter-spacing: 0;
    font-weight: 500;
}
.text-product p span{
    cursor: pointer;
}
.text-product p span:hover{
    color: #a2041b;
}
.product-latest{
    position: relative;
    background-color: #F7F7F7;
    /* border: 1px solid transparent; */
    overflow: hidden; /* Chặn ảnh phóng to tràn ra ngoài */
}
.product-latest img{
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    -webkit-transition: all .25s;
    transition: all .25s;
}

.text-list{
    font-family: 'NTJSans-Bold', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    margin: 1.5rem auto;
}
.text-list:hover::after{
    color: #a2041b;
}
.text-list:hover{
    cursor: pointer;
    color: #a2041b;
}

.text-collection{
    display: block;
    max-width: 100%;
    text-align: center;
}
.text-collection h2{
    text-transform: uppercase;
    margin: 0.5rem;
}
.new-collection{
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2,1fr);
    align-items: start;
    gap: 0.5rem;
    width: 100%;
}
.list-collection {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    box-sizing: border-box;
}
.bst-short p{
    font-size: 0.875rem;
    margin-top: 0;
}
.list-collection:last-child{
    margin-left: 16.66667%;
}
.list-collection h3{
    line-height: 1.5;
    font-family: "NTJDisplay-SemiBold", sans-serif;
    color: #a2041b;
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    /* margin-bottom: 1rem; */
}
.text-categories{
    padding-top: 2.75rem;
    margin-bottom: 1.5rem !important;
}
.text-categories,.text-collection-v2 h3{
    line-height: 1.5;
    font-family: "NTJDisplay-SemiBold",sans-serif;
    color: #a2041b;
    margin: 0;
    font-size: 1.75rem;
}

.list-collection img{
    cursor: pointer;
    /* padding-top: 1rem; */
    max-width: 100%;
    aspect-ratio: 658 / 876;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.price-product{
    font-family: 'NTJSans-Bold',sans-serif;
    color: #3e3d42;
}
.text-product .ty-price-num{
    text-decoration: underline;
}
.price-product .num-price{
    padding-right: 0.25rem;
}
.name-product-slide, .price-product-slide{
    font-size: 1rem;
}
.price-product-slide{
    color: #a2041b;
}
.popular-categories{
    text-align: center;
    padding: 0 2rem 9.375rem 2rem;
}
.popular-categories .swiper-wrapper-box.cate{
    max-width: 79.5rem;
    margin: 0 auto;
    position: relative;
}
.popular-categories .swiper-wrapper-box.cate .swiper-button-next,
.popular-categories .swiper-wrapper-box.cate .swiper-button-prev{
    top: 42%;
}
.list-categories img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
.policy,.shop{
    position: relative;
}
.branch-system .policy .text-system p{
    font-family: 'NTJSans-Bold',sans-serif;
    margin-top: 0.25rem;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
}
.policy img,.shop img{
    width: 100%;
    height: 100%;
    -webkit-transition: all .25s;
    transition: all .25s;
}
.text-system{
    font-family: 'NTJSans-Bold',sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #941e22;
    color: #f8c883;
    font-weight: 500;
    display: block;
    width: 40%;
    padding: 0.5rem 0.5rem 0.75rem;
    -webkit-transition: background .2s linear;
    -o-transition: background .2s linear;
    -moz-transition: background .2s linear;
    transition: background .2s linear;
    border: 2px solid #a2041b;
}
.text-system:hover{
    background-color: #FFF4E8;
    color: #a2041b;
}
.btn-see{
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-see.kpn{
    padding: 0.75rem 0 1.25rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.see-more.kpn{
    font-family:"NTJSans-Bold",sans-serif;
}
.see-more{
    font-size: 1rem;
    font-weight: 400;
    font-family:"NTJSans-Bold",sans-serif;
    text-transform: uppercase;
    color: #3c3c41;
    cursor: pointer;
}
.see-more.kpn,.see-more.kpn::after,.text-collection-v2 a,.text-collection-v2 a::after {
    font-size: 1rem;
    color: #a2041b;
}
.see-more:hover,.see-more:hover::after{
    color: #a2041b;
}
.see-more::after,.text-list::after{
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    position: relative;
    top: 1px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #3c3c41;
    margin-left: 0.5rem;
    content: '\e902';
}
/*Ver 2*/
.collection-banner{
    position: relative;
    /* padding: 0 0 0 0; */
}
.banner-text h3{
    font-family: 'NTJDisplay-Light', sans-serif;
    font-size: 6.25rem;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: capitalize;
    font-weight: 500;
    margin: 0;
    text-align: center;
    color: var(--red);
}
.banner-text .btn-see.kpn{
    text-align: center;
    padding: 0;
    /* width: 12rem; */
    margin: 1rem auto 0 auto;
}
.banner-text .btn-see.kpn .see-more{
    padding: 0 0 0.5rem 0;
}
.banner-text .see-more.kpn,.banner-text .see-more.kpn::after{
    color: var(--red);
}
.banner-text{
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 30%;
    left: 0;
}
.collection-banner img{
    width: 100%;
    height: auto;
    object-fit: cover;
    -webkit-transition: all .25s;
    transition: all .25s;
}
.collection-v2{
    margin: 0 auto;
    max-width: 90rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem 3.125rem 2rem;
}
.collection-v2 .text-collection h3{
    margin: 0;
    letter-spacing: 0.75px;
}
.collection-v2.collection-v2-two .text-collection-v2,
.collection-v2.collection-v2-one .text-collection-v2{
    flex: 0.4;
}
.collection-v2 picture{
    flex: 0.6;
}
.collection-v2.collection-v2-one .text-collection-v2{
    padding-left: 6.25rem;
}
.collection-v2.collection-v2-two .text-collection-v2{
    padding-right: 6.25rem;
}
.collection-v2 img{
    width: 100% ;
    height: auto;
    object-fit: cover;
}
.collection-v2.collection-v2-two{
    flex-direction: row-reverse;
}
.hr-box {
    margin-top: 1rem;
    color: #f8c883;
    font-size: 3.75rem;
    text-align: center;
}
.icon-state-2{
    font-family: icomoon !important;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.icon-state-2:before {
    content: "\e911";
}
.branch-system{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 0 2rem;
    margin: 0 auto;
    max-width: 83.375rem;
}

.branch-system img{
    /* max-height: 29.125rem; */
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* .branch-system .branch-policy h3{
    margin: 0 auto;
    line-height: 1.5;
    font-family: 'NTJSans-Medium', sans-serif;
    font-size: 1rem;
} */
.branch-policy{
    position: relative;
}
.branch-policy .cta{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%, -50%);
    background: #941e22;
    text-transform: uppercase;
    color: #f8c883;
    /* font-weight: 700; */
    font-family: 'NTJSans-Medium', sans-serif;
    font-size: 1rem;
    display: block;
    width: 50%;
    padding: 1.5rem 1.5rem 1.25rem;
    -webkit-transition: background .2s linear;
    -o-transition: background .2s linear;
    -moz-transition: background .2s linear;
    transition: background .2s linear;
    border: 2px solid var(--red);
}
.branch-policy .cta.white-hover:hover{
    background-color: var(--primary-color);
    color: var(--red);
} 
.btn-seemore{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.load-more{
    font-family: 'NTJSans-Bold',sans-serif;
    color: #A2041B;
    background: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #A2041B;
    padding: 0.625rem 1.25rem;
}
.load-more:hover{
    color: #f5ca8e;
    background-color: #A2041B;
    border: 1px solid #f5ca8e;
}
.wrapvideo {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 tỷ lệ */
    height: 0;
    margin: 0 auto;
    overflow: hidden;
    background-color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

}

.wrapvideo .video-desktop {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Mặc định: ẩn video mobile */
.video-mobile,.a-mobile{
    display: none;
}
/*Ver 2*/
@media(min-width:1440px){
.home .swiper-wrapper-box.latests {
    position: relative;
    /* max-width: 83rem; */
    max-width: 99.25rem;
    margin: 0 auto;
    padding: 1.5rem 0;
    }
.collection-product{
    display: flex;
    max-width: 105rem;
    padding: 6.25rem 0.938rem 0 0.938rem;
    text-wrap: balance;
    align-items: stretch;
    margin: 0 auto;
    justify-content: space-between;
    text-align: center;
    gap: 3.125rem;
}
}
@media(max-width:1440px){
.home .swiper-wrapper-box.latests {
    position: relative;
    /* max-width: 83rem; */
    max-width: 82.5rem;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.collection-product{
    display: flex;
    max-width: 75.625rem;
    padding: 6.25rem 0.938rem 0 0.938rem;
    text-wrap: balance;
    align-items: stretch;
    margin: 0 auto;
    justify-content: space-between;
    text-align: center;
    gap: 3.125rem;
}
}
@media (max-width:1024px)
{
    .new-collection{
        gap: 2rem;
    }
    .banner-text h3{
        font-size: 2.5rem;
    }
    .banner-text{
        top: 44%;
    }
    .collection-banner{
        padding: 6.25rem 0;
    }
    .text-product p{
        font-size: 0.875rem;
    }
    .policy img,.shop img{
        width: 100%;
        height: auto;
    }
}
@media(min-width:768px){
    .home {
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    .js-loaded .home{
        opacity: 1;
    }
}
@media (max-width:768px)
{
    .wrapvideo.has-mobile {
        position: relative;
        width: 100%;
        padding-bottom: 125%;
        overflow: hidden;
    }
    .wrapvideo .video-mobile {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    .latests .swiper-button-next,.latests .swiper-button-prev{
        display: none;
    }
    /* .panel img{
        aspect-ratio: 412 / 549;
    } */
    .text-trends h3{
        font-size: 0.75rem;
        margin-top: 0;
        margin-bottom: 0.25rem;
    }
    .list-collection:last-child{
        margin-left: 0;
    }
    .list-collection h3, .text-categories{
        font-size: 1.25rem;
    }
    .see-more.kpn,.see-more,.text-list{
        font-size: 0.875rem;
    }
    .text-h1{
        font-size: 1.25rem;
    }
    .collection-product{
        flex-direction: column;
        max-width: 38rem;
        padding: 2.5rem 0.938rem 5rem 0.938rem;
    }
    .latest-trends{
        padding: 1.875rem 1rem;
    }
    .home .swiper-wrapper-box.latests {
        max-width: 33.75rem;
    }

    .text-system{
        position: unset;
        left: 0;
        top: 0;
        -webkit-transform: none;
        transform: none;
        width: 100%;
        background: none;
        color: #3c3c41;
        border: none;
    }
    .text-system p::after{
        font-family: 'icomoon' !important;
        speak: none;
        font-style: normal;
        font-weight: 400;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: #6f6f6f;
        margin-left: 0.5rem;
        content: '\e902';
    }
    .text-system p:hover,.text-system p:hover::after{
        color: #a2041b;
    }
    /*Ver2*/
    .collection-v2{
        flex-direction: column !important;
    }
    .text-collection-v2 h3,.branch-system .branch-policy h3{
        font-size: 1.25rem;
    }
    .branch-system{
        flex-direction: column;
        padding: 6.25rem 1rem 0 1rem;
        max-width: 33.75rem;
    }
    .hr-box{
        margin-top: 2.188rem;
        font-size: 2.5rem;
    }
    .text-categories{
        padding-top: 1rem;
    }
    .popular-categories{
        padding: 0 2rem 6.25rem 2rem;
    }
    .branch-policy .cta{
        width: 75%;
        font-size: 0.875rem;
    }
    .collection-v2.collection-v2-two .text-collection-v2,
    .collection-v2.collection-v2-one .text-collection-v2{
        flex: 1;
    }
    .collection-v2 picture{
        flex: 1;
    }
    .collection-v2.collection-v2-one .text-collection-v2{
        padding-left: 0;
    }
    .collection-v2.collection-v2-two .text-collection-v2{
        padding-right: 0;
    }
    .collection-banner{
        padding:0 0 3.125rem 0;
    }
    .banner-text h3{
        font-size: 4.063rem;
    }
    .swiper-wrapper-box.cate .swiper-button-next,
    .swiper-wrapper-box.cate .swiper-button-prev {
        display: none !important;
    }
    .see-more.kpn, .see-more.kpn::after, .text-collection-v2 a, .text-collection-v2 a::after{
        font-size: 0.875rem;
    }

    .home .hr-box{
        font-size: 2.75rem;
        padding-top: 1rem;
    }
    .list-collection img{
        aspect-ratio: 382 / 509;
    }
    .btn-see.kpn{
        padding: 0.5rem 0 1rem 0;
    }
    .product-latest img{
        aspect-ratio: 248 / 248;
    }
    /*Ver2*/
    /* Nếu có iframe trong .video-mobile-wrapper => ẩn desktop video + link */
    .wrapvideo.has-mobile .a-desk,
    .wrapvideo.has-mobile .video-desktop {
        display: none !important;
    }
    .wrapvideo .video-mobile,.wrapvideo .a-mobile{
        display: block;
    }
}
@media(max-width:480px)
{
    .popular-categories{
        padding: 0 1rem 5.25rem 1rem;
    }
    .see-more h3{
        font-size: 0.8rem;
    }
    .collection{
        padding-top: 0.5rem;
    }
    .collection-banner img{
        width: 100%;
    }
    .policy img,.shop img{
        height: 100%;
    }
    .text-product p{
        font-size: 0.825rem;
    }
    .banner-text{
        top: 40%;
    }
}

