label {
    font-family: "NTJSans-Medium", sans-serif !important;
}

.parallax.breadcrumb {
    display: block;
}

/* .menu-bar.sticky {
    position: relative !important;
} */
.menu-bar.none-sticky{
    position: relative;
}

.product {
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-product {
    position: relative;
    width: 100%;
    height: auto;
}

.banner-product .banner img,
.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.text-h1.product-text-h1 {
    font-size: 1.75rem;
    margin: 3.125rem auto 3.125rem auto;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
    color: #A2041B;
}

.text-h1.sub-text-h1 {
    font-size: 2.75rem;
    margin: 3.125rem auto 3.125rem auto;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
    color: #A2041B;
}

.productMenu {
    text-align: center;
    padding: 0 2rem 2rem 2rem;
}

.swiper-wrapper-box.menuProduct {
    max-width: 52rem;
    margin: 0 auto;
    position: relative;
}

.productMenu .swiper-wrapper-box.menuProduct .swiper-button-next,
.productMenu .swiper-wrapper-box.menuProduct .swiper-button-prev {
    z-index: 1;
    top: 38%;
}

.menuProduct .list-menu img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.list-menu a p {
    font-family: "NTJSans-Medium", sans-serif;
    position: relative;
    display: inline-block;
    padding-bottom: 0.25rem;
    margin: 1rem 0 0 0;
    font-size: 0.875rem;
}

.list-menu a p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.06rem;
    background-color: #A2041B;
    /* Màu gạch chân */
    transition: width 0.5s ease-in-out;
}

.list-menu a p:hover::after {
    width: 100%;
}

.jewelry-list {
    position: relative;
    padding: 0 10rem;
    /* z-index: 2; */
    background-color: #FFFFFF;
}

.breadcrumbs li a {
    font-family: 'NTJSans', sans-serif;
    font-weight: 400 !important;
    font-size: 0.85rem;
}

.breadcrumbs {
    padding: 15px 0;
    margin: 0;
}

.breadcrumbs li {
    display: inline-block;
    margin-right: 10px;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: capitalize;
}

.breadcrumbs li:after {
    content: '\2022';
    margin-left: 10px;
}

.breadcrumbs li:last-of-type:after {
    content: '';
}

.container-jewelry-list {
    max-width: 85.562rem;
    padding: 2rem 2.375rem 6.25rem 2.375rem;
    margin: 0 auto;
}

.wishlist .new {
    font-size: 0.75rem;
}
.wishlist .checked-hover{
    cursor: pointer;
    position: absolute;
    right: 0.625rem;
}
.jewelry-list-product {
    display: grid;
    grid-gap: 1.325rem;
    grid-template-columns: repeat(4, 1fr);
}

.term-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jewelry-list-product .term-image-block.twotwo:first-child {
    grid-row: 1 / span 2;
}

.jewelry-list-product .term-image-block {
    grid-column: auto / span 2;
}

.jewelry-list-product .term-image-block.twoone {
    grid-column: span 2;
    grid-row: auto;
}

.product-jewelry {
    display: flex !important;
    background-color: #F7F7F7;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
}

.product-jewelry:hover {
    border: 1px solid #6f6f6f;
}

/* .product-jewelry:hover img {
    transform: scale(1.1);
} */

.wishlist {
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
    padding: 1.25rem 0 1.25rem 0.625rem;
    height: 1.5rem;
    align-items: center;
    position: absolute;
    top: 0;
}

.product-jewelry img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    -webkit-transition: all .25s;
    transition: all .25s;
}

.text-product{
    display: flex;
    width: 100%;
    margin-top: 1rem;
    /* padding-left: 0.5rem; */
    color: #3c3c41;
    font-size: 1rem;
    /* min-height: 5.5rem; */
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.text-product p{
    margin: 0.15rem;
    letter-spacing: 0;
    font-weight: 500;
    font-family: 'NTJSans-Light',sans-serif;
}

.text-product .ty-price-num {
    text-decoration: underline;
}

.price-product .num-price {
    padding-right: 0.25rem;
}
.price-product{
    font-family: 'NTJSans-Regular',sans-serif !important;
    color: #3e3d42;
    margin: 0;
}
.text-product .name-product {
    margin: 0;
}

.name-product {
    font-size: 0.875rem;
}
.text-product p span{
    cursor: pointer;
}
.pagination-load strong {
    font-family: 'NTJSans-Bold', sans-serif;
    color: #3e3d42;
    font-weight: 500;
}

.pagination-load {
    text-align: center;
    padding-top: 2rem;
    font-size: 1rem;
    color: #3e3d42;
    /* border-bottom: 1px solid #A2041B; */
}

.btn-seemore {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
}

.load-more {
    color: #A2041B;
    background: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #A2041B;
    padding: 0.75rem 1rem;
}

.load-more:hover {
    color: #f5ca8e;
    background-color: #A2041B;
    border: 1px solid #f5ca8e;
}

.popular-categories {
    text-align: center;
    padding: 0 2rem 6.125rem 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 {
    z-index: 1;
    top: 42%;
}

.list-categories img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.text-categories {
    font-family: "NTJDisplay-SemiBold", sans-serif;
    text-align: center;
    font-size: 1.75rem;
    color: #A2041B;
    margin: 0;
    /* font-weight: 600; */
    text-transform: uppercase;
}

.listCategories {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.listCategories img {
    width: 100%;
    height: auto;
    -webkit-transition: all .25s;
    transition: all .25s;
    object-fit: cover;
}

.text-list {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    font-size: 1rem;
}

.text-list:hover,
.text-list:hover::after {
    cursor: pointer;
    color: #A2041B;
}



.text-list::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: #3e3d42;
    font-size: 0.95rem;
    margin-left: 0.75rem;
    margin-top: 0.15rem;
    content: '\e902';
}

.span-icon {
    font-family: "NTJSans-Bold", sans-serif;
    display: none;
    padding: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
}

.modal.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.5s ease-out;
}

.buttons-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #FFFFFF;
    text-align: center;
    width: 100%;
    padding-bottom: 3.125rem;
    flex-shrink: 0;
}

ul.active.two-columns {
    column-count: 2;
}

.clear-modal,
.apply-modal {
    padding: 0.625rem 0.75rem;
    border: 1px solid #A2041B;
    color: #A2041B;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.clear-modal:hover,
.apply-modal:hover {
    background-color: #A2041B;
    color: #f8c883;
    border: 1px solid #f8c883;

}

.close-modal {
    color: #A2041B;
    font-family: 'icomoon-mobile' !important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    font-size: 1rem;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.close-modal::before {
    content: '\e907';
    position: absolute;
    top: 0.75rem;
    right: 1rem;
}

.sort-section {
    display: none;
}

.sort-btn {
    font-family: 'NTJSans-Bold', sans-serif;
    font-size: 0.875rem;
    padding: 0.625rem;
    text-transform: uppercase;
}

.sort-btn::after {
    font-family: 'icomoon';
    content: "\e902";
    margin-left: 0.75rem;
    transform: rotate(90deg);
    position: relative;
    display: inline-block;
    top: 0.125rem;
    color: #3e3d42;
    font-size: 1rem;
    transition: transform .3s ease-in;
}

.modal-content h3 {
    margin-top: -0.3rem;
    font-size: 1rem;
    color: #3e3d42;
    text-transform: none;

}

.toolbar-modal h3::after {
    font-family: 'icomoon';
    content: "\e902";
    margin-left: 0.625rem;
    position: relative;
    display: inline-block;
    color: #3e3d42;
    font-size: 0.875rem;
    transition: transform .3s ease-in;
}

.toolbar-modal h3.is-open::after {
    transform: rotate(90deg);
}

.toolbar-modal h3.is-open,
.toolbar-modal h3.is-open::after {
    color: #A2041B;
}

.sort-section .modal-content h3 {
    text-transform: none;
    display: none;
    margin-top: 0;
    font-family: 'NTJSans-Bold', sans-serif;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    margin-bottom: 1.25rem;
    cursor: pointer;
}

.close-modal {
    float: right;
    cursor: pointer;
    font-size: 1.125rem;
}

.toolbar-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.toolbar-modal ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.toolbar-modal ul li label {
    font-size: 1rem;
}

.toolbar-modal ul.active {
    max-height: 50rem
}

.toolbar-modal ul li {
    padding-bottom: 0.5rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.related-images {
    display: none;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #F7F7F7;
    width: calc(100% - 0.5rem);
    height: calc(100% - 8rem);
    text-align: center;
    z-index: 0;
    justify-content: center;
    align-items: center;
}

.related-images .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 0.5rem);
    height: calc(100% - 0.5rem);
    overflow: hidden;
    position: relative;
}

.related-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.related-images img.active {
    opacity: 1;
    transform: translateX(0);
}

.related-images img.prev {
    transform: translateX(-100%);
}

.related-images .btn-next {
    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: #3e3d42;
    position: absolute;
    top: 50.5%;
    right: -0.25rem;
}

.related-images .btn-prev {
    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: #3e3d42;
    transform: rotate(-180deg);
    position: absolute;
    top: 50.5%;
    z-index: 1;
    left: -0.25rem;
}

.related-images .btn-next::after,
.related-images .btn-prev::after {
    content: '\e902';
    cursor: pointer;
    ;
}

.btn-see {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.see-more {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    cursor: pointer;
}

.see-more:hover,
.see-more:hover::after {
    color: #A2041B;
}

.see-more::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: #3e3d42;
    margin-left: 0.5rem;
    content: '\e902';
}

/* @media(min-width:1024px){
    .productMenu .swiper-wrapper-box.menuProduct .swiper-button-next,
    .productMenu .swiper-wrapper-box.menuProduct .swiper-button-prev {
        display: none !important;
    }
} */
@media(max-width:1024px) {
    .jewelry-list-product {
        grid-template-columns: repeat(3, 1fr);
    }

    .latest {
        padding-left: 1rem;
    }
    .menu-bar.none-sticky{
        position: sticky;
    }
    .col-lg-1,
    .col-6 {
        padding-right: 0;
    }

    .overlay {
        top: 2%;
    }

    /* .dots {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        z-index: 1;
        margin-top: -1rem;
    }
    
    .dot {
        width: 0.35rem;
        height: 0.35rem;
        background-color: #bbb;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.3s;
    }
    
    .dot.active {
        background-color: #333;
        transform: scale(1.2);
    } */
}

@media(min-width:768px) {
    .banner-product {
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .js-loaded .banner-product {
        opacity: 1;
    }
}

@media(max-width:768px) {
    .text-h1.product-text-h1 {
        position: relative;
        top: 0;
        left: 0;
        padding: 0 1rem;
    }

    .breadcumb {
        padding-left: 1rem;
    }

    .term-image-block {
        display: none;
    }

    .text-product p {
        font-size: 0.75rem;
    }

    .container-jewelry-list {
        padding: 2rem 1rem 3.125rem 1rem;
    }

    .jewelry-list-product {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 0.625rem;
    }

    .popular-categories .swiper-wrapper-box.cate .swiper-button-next,
    .popular-categories .swiper-wrapper-box.cate .swiper-button-prev {
        display: none !important;
    }

    .product-jewelry img {
        width: 100%;
        aspect-ratio: 194 / 194;
    }

    .product-jewelry {
        border: none;
    }

    .product-jewelry:hover {
        border: none;
    }

    .text-product {
        background-color: #FFFFFF;
        justify-content: start;
        /* padding: 0.625rem 0; */
    }
}

@media (max-width: 480px) {

    /* Ẩn khi chưa init xong, tránh nhảy layout */
    .swiper-pre-init {
        visibility: hidden;
        opacity: 0;
    }

    /* Chỉ hiển thị sau init */
    .swiper-initialized {
        visibility: visible !important;
        opacity: 1;
        transition: opacity .2s ease;
    }

    .text-h1.sub-text-h1 {
        font-size: 1.75rem;
        margin: 2rem 0;
    }

    .menuProduct .list-menu img {
        aspect-ratio: 209 / 209;
        display: block;
    }
}
.ajax-loading {
    position: fixed; /* hoặc fixed nếu muốn phủ toàn trang */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.7); /* nền mờ */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ajax-loading .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #f0c850;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
