.container,.img-size {
    opacity: 0; /* Ẩn nội dung trước khi JS hoàn thành */
    transition: opacity 0.3s ease-in-out;
}
.js-loaded .container,.js-loaded .img-size {
    opacity: 1;
}
.warranty {
    min-height: 31.25rem;
    margin-bottom: 6.25rem;
}
.div-textH1{
    max-width: 91.625rem;
    margin: 0 auto;
    position: relative;

}
.img-size {
    position: relative;
}

.img-size img {
    width: 100%;
    /* max-height: 38.75rem; */
    height: auto;
    object-fit: cover;
}
.div-textH1 .text-h1 {
    position: absolute;
    bottom: 0;
    /* bottom: 30%; */
    /* left: 14.75%; */
    padding: 0 3.438rem 3.438rem;
    text-align: left;
    margin-top: 6.25rem;
    margin-bottom: 9.38rem;
}

.text-h1 {
    /* font-family: "NTJSans-Regular", sans-serif; */
    font-size: 1.75rem;
    margin: 0;
    text-transform: uppercase;
    /* font-weight: bold; */
    color: #a2041b;
    text-align: center;
}

.content-warranty {
    max-width: 91.625rem;
    margin: 0 auto;
    padding: 0 3.438rem;
    display: flex;
    flex-wrap: wrap;
}

/* .warranty .content-right .content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
} */

.menu-left {
    flex-shrink: 0;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -moz-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.content-right {
    flex-grow: 1;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -moz-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.menu-warranty {
    font-family: "NTJSans-Bold",sans-serif;
    cursor: pointer;
    line-height: 2.875;
    letter-spacing: 1px;
    margin-bottom: 0.313rem;
    /* display: flex; */
    text-transform: uppercase;
    /* justify-content: start; */
    /* align-items: center; */
    position: relative;
    /* border-bottom: 1px solid #eee; */
    font-size: 1rem;
}

.menu-warranty.active {
    /* background-color: #f5f5f5;
    border-left: 0.188rem solid #a2041b; */
    color: #a2041b;
}

.menu-warranty.active::before {
    content: url(../images/dot-active.svg);
    /* padding-right: 1rem; */
    /* margin-left: -2.535rem; */
    position: absolute;
    top: 0;
    left: -2rem;
}

.submenu-warranty {
    height: 0;
    overflow: hidden;
    opacity: 0;
    /* transition: max-height 0.3s ease, opacity 0.3s ease; */
}

.submenu-warranty.active {
    height: 100%;
    /* Đặt giá trị lớn hơn chiều cao thực tế của nội dung */
    opacity: 1;
}

.submenu-item:hover,
.submenu-item.active,
.submenu-item.active::after,
.submenu-item:hover::after,
.content a {
    color: #a2041b;
}

.submenu-item {
    margin-top: 0.625rem;
    cursor: pointer;
    margin-bottom: 0.375rem;
    align-items: center;
    font-size: 1rem;
}
.content {
    height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-top: 0;
    line-height: 1.6;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out, margin 0.3s ease-out;
}

.content.active {
    height: auto;
    opacity: 1;
    padding-top: 0.625rem;
    /* padding-bottom: 1.25rem; */
    margin-bottom: 2rem;
    border-top: 1px solid #959595;
}

.submenu-item::after {

    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    font-size: 0.813rem;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #3e3d42;
    margin-left: 0.5rem;
    margin-top: -0.25rem;
    display: inline-block;
    transition: transform 0.3s ease;
    content: '\e902';
    /* Hiệu ứng chuyển đổi */
}
/* 
.arrow-warranty::after {
    content: '\e902';
} */

.submenu-item.active::after {
    transform: rotate(90deg);
    /* Xoay 90 độ */
}
.submenu-warranty .content.active ul li .alignnone{
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    display: inline-block;
}
/* .menu-warranty:hover,
.submenu-item:hover {
    background-color: #f5f5f5;
} */
.content-right .submenu-warranty .submenu-item.active,
.content-right .submenu-warranty .submenu-item:hover {
    color: #a2041b;
}
.content p {
    font-size: 1rem ;
    text-align: left !important;
    margin: 0;
    margin-bottom: .3rem;

}
.parent-title{
    display: none;
}

.content strong {
    font-size: 1rem ;
    margin: 0;
    margin-bottom: .3rem;
    font-weight: 400;
    font-family: 'NTJSans-Bold',sans-serif;
    /* color: #a2041b; */
}
.warranty ul {
    padding-left: 2.25rem;
    padding-bottom: 1.125rem;
    /* padding-left: 0; */
}

.warranty ul li {
    word-break: keep-all;
    list-style-type: disc;
    /* text-align: justify; */
    font-size: 1rem;
}

.span-level1 {
    /* padding-left: 1rem; */
    word-break: keep-all;
}

.warranty ul li ul {
    padding-left: 2rem;
}
.submenu-warranty .submenu-child-title {
    display: none;
}
.content-right .submenu-warranty .submenu-item {
    /* font-family: 'NTJSans-Bold',sans-serif; */
    font-size: 1rem;
    color: #3e3d42;
    padding: 0;
}
/* .content-right .submenu-warranty .content {
    height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.content-right .submenu-warranty .content.active {
    height: auto;
    -webkit-line-clamp: unset;
    display: block;
} */
/* Áp dụng cho bảng trong khu vực warranty (tuỳ chỉnh selector) */
.warranty tbody tr:nth-child(odd) {
    background-color: #f7f7f7;
}

.warranty tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.warranty ul li ul li {
    word-break: keep-all;
    list-style-type: circle;
}

.warranty table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    text-align: left;
}

.warranty th,
.warranty td {
    border: 1px solid #dddddd;
    padding: 0.625rem;
    font-size: 1rem !important;
}

.warranty td[rowspan] {
    vertical-align: middle;
}
/* .warranty .table-one tr th:first-of-type {
    width: 41%;
} */
.warranty tbody tr th {
    text-align: left;
    background-color: #FFF4E8;
    color: #a2041b;
    /* font-family: 'NTJSans-Bold',sans-serif; */
}

.order-one {
    color: #a2041b;
    text-transform: uppercase;
}

.warranty ul li a {
    color: #a2041b;
}
@media(min-width:1440px){
    .menu-left {
        flex-shrink: 0;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 33.33333%;
        -moz-box-flex: 0;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
    .content-warranty {
        max-width: 91.625rem;
        margin: 0 auto;
        padding: 0 3.438rem;
        display: flex;
    }
    .content-right {
        flex-grow: 1;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 66.66667%;
        -moz-box-flex: 0;
        -ms-flex: 0 0 66.66667%;
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }
}
@media (min-width:768px){
    .warranty tbody tr th:nth-last-child(-n+3){
    width: 20%;
    }
    .warranty tbody tr th:first-child {
        width: 12%;
    }
}
@media (max-width: 768px) {
    .content-row .div-textH1{
        display: flex;
        flex-direction: column-reverse;
    }
    .div-textH1 .text-h1 {
        position: unset;
        bottom: 0;
        top: -0.75rem;
        padding: 0 1.5rem 0;
        margin-top: 2rem;
        margin-bottom: 0;
    }
    .content-warranty {
        padding: 2.5rem 3.438rem 0 3.438rem ;
    }
    .parallax.breadcrumb{
        position: unset;
        bottom: 1.5rem;
    }
    /* .warranty .table-one tr th:first-of-type {
        width: 30%;
    } */
    /* .warranty-item:not(:last-child) .content .table-one tr th:last-child {
        width: 50%;
    } */
    .breadcumb{
        padding: 0 1.5rem 0;
    }
    .text-h1{
        font-size: 1.25rem;
    }
    .warranty th,
    .warranty td {
        border: 1px solid #dddddd;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem !important;
    }
    .content.active{
        margin-bottom: 1.75rem;
    }
    .warranty tbody tr th {
        text-align: center;
    }
    .warranty-container {
        display: flex;
        flex-direction: column;
    }
    .warranty-item {
        display: flex;
        flex-wrap: wrap;
    }
    .warranty ul li {
        text-align: left;
        margin: 0.25rem 0;
    }
    .content.active img{
        height: auto !important;
    }
    .content p {
        text-align: left;
        margin-top: 0.875rem;
    }
    .warranty ul{
        padding-bottom: 0.25rem;
    }
    table tbody tr td a{
        font-size: 0.75rem;
    }
    .warranty-item:not(:last-child) .content tbody tr th:not(:first-child) {
        width: 40%;
    }
    .warranty-item:not(:last-child) .content table:last-of-type tbody tr th:first-of-type{
        width: 20%;
    }
    .warranty-item:last-child .content table tbody tr th{
        width: 20%;
    }
    .warranty-item:last-child .content table tbody tr th:nth-child(3),
    .warranty-item:last-child .content table tbody tr th:nth-child(4){
        width: 10%;
    }


}

@media (max-width:480px) {
    .menu-warranty{
        margin-bottom: 0;
    }
    .content-warranty {
        flex-direction: column;
        padding: 2.5rem 2.5rem 0 2.5rem;
    }

    .menu-left {
        width: 100%;
    }

    .content-right {
        width: 100%;
    }
}