
.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 {
    margin-top: 0.125rem;
    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 {
    cursor: pointer;
    margin: 0.5rem 0;
    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;
    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 */
}
.submenu-item.active::after {
    transform: rotate(90deg);
    /* Xoay 90 độ */
}
.content p {
    font-size: 1rem ;
    margin: 0;
    margin-bottom: .3rem;
}
.parent-title{
    display: none;
    font-family: 'NTJSans-Bold',sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    padding-bottom: 2.125rem;
}
.submenu-child-title{
    font-family: 'NTJSans-Bold',sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    color: #3e3d42;
    padding: 0.5rem 0;
}
.content-right .submenu-warranty:not(:first-child) .submenu-child-title {
    display: none;
}
.content-right .submenu-warranty:not(:first-child) .submenu-item {
    /* font-family: 'NTJSans-Bold',sans-serif; */
    font-size: 1rem;
    color: #3e3d42;
    padding: 0;
    margin-top: 0.313rem;
}
.content-right .submenu-warranty:nth-child(4) .submenu-item {
    margin-top: 0.25rem;
}
.content-right .submenu-warranty:nth-child(5) .submenu-item {
    margin-top: 1px;
}
/* .content-right .submenu-warranty:not(:first-child) .content {
    height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.content-right .submenu-warranty:not(:first-child) .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;
}
.content.active div,.content.active table,.content.active h3{
    font-size: 1rem;
    margin: 1rem auto;
    font-family: 'NTJSans-Medium';
    text-align: center;
}

.warranty ul li {
    word-break: keep-all;
    list-style-type: none;
    /* text-align: justify; */
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.span-level1 {
    /* padding-left: 1rem; */
    word-break: keep-all;
}

.warranty ul li ul {
    padding-left: 2rem;
}

.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.75rem 0.875rem;
    font-size: 0.75rem !important;
}

.warranty td[rowspan] {
    vertical-align: middle;
}
.warranty .table-one tr th:first-of-type {
    width: 30%;
}

.warranty tbody tr th {
    text-align: center;
    background-color: #FFF4E8;
    color: #a2041b;
}

.order-one {
    color: #a2041b;
    text-transform: uppercase;
}

.warranty ul li a,.content-right .submenu-warranty:not(:first-child) .submenu-item.active,
.content-right .submenu-warranty:not(:first-child) .submenu-item:hover {
    color: #a2041b;
}
/*Css hướng dẫn đo size*/

.tab-content ol{
    list-style-type:decimal;
}
.tab-content {
    text-align: left !important;
}
.my-size-guide .my-size-guide .size-guide-tabs.nhan{
    max-width: 25rem;
}
.my-size-guide .my-size-guide .size-guide-tabs.vong-tay
{
    max-width: 30rem;
}
.tab-content .step-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.tab-content .step-list li {
  margin-bottom: 0.375rem;
  padding-left: 1rem;
  text-align: left;
  font-size: 1rem;
}
.tab-content .container-box .list-size {
    max-height: 6.438rem;
    overflow: auto;
    border: 1px solid #c5c5c5;
    border-radius: 0;
    background-color: #fff;
    padding: 0.313rem 0.625rem;
    margin-top: 0.313rem;
    box-sizing: border-box;
}
.tab-content .container-box .list-size div label{
    font-size: 0.875rem;
}
.tab-content .container-box .list-size input[type=radio] {
    margin: 0 0.375rem 0 0;
    height: 0.75rem;
    width: 0.75rem;
}
.tab-content .container-box .list-size>div {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    text-align: left;
    font-size: 0.75rem;
}
.tab-content .result-outer{
    text-align: left;
}
.tab-content .container-box .row-1,
.tab-content .container-box .row-2{
    margin: 0 ;
}
.tab-content .container-box{
    display: inline-flex;
    justify-content: start;
    gap: 0.5rem;
    background-color: #dddddd;
    padding:0 0.5rem;
}
.tab-content .ring-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  table-layout: fixed;
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
}

.tab-content .ring-size-table th,
.tab-content .ring-size-table td {
  padding: 0.25rem 0.75rem;
  font-size: 1rem !important;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  text-align: center;
}

.tab-content .ring-size-table thead th {
  background-color: #FFF4E8;
  color: #a2041b;
}

.tab-content .ring-size-table tbody tr:hover {
  background-color: #f9fafb;
}
.ring-size-table tbody tr:nth-child(odd) {
  background-color: #FFFFFF; /* xám nhạt */
}
.ring-size-table tbody tr:nth-child(even) {
  background-color: #f3f4f6; /* trắng */
}

.tab-content .result-outer{
    margin-top: 0.5rem;
}
.tab-content .result-outer span{
    padding: 0.125rem 0.375rem;
    background-color: #FFFFFF;
}
.tab-content .note {
  padding: 0.5rem 0;
  text-align: left !important;
  font-size: 0.75rem !important;
  color: #555555a3;
}
.tab-content .tab-content p{
    margin: 0;
    padding-top: 1rem;
    text-align: center;
}
.tab-content .print-download-box {
  text-align: center;
  margin-top: 1.5rem;
  /* padding: 1rem; */
  background: #fff;
  /* border: 1px dashed #ccc; */
  border-radius: 0.625rem;
}

.tab-content .print-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.tab-content .print-btn,
.tab-content .download-btn {
  padding: 0.5rem 0.875rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s;
}
.tab-content .download-btn {
    text-decoration: underline;
}
.tab-content thead,
.tab-content tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.tab-content tbody {
    display: block;
    max-height: 19.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.tab-content tbody::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.tab-content tbody {
  -webkit-overflow-scrolling: touch;
}
/* .tab-content th, td {
  width: 62vh;
} */
.content.active .tab-content,.content.active .tab-content div,.content.active .size-guide-tabs{
    margin: 0;
    width: 100%;
    max-width: 45.625rem;
}
/*Css hướng dẫn đo size*/

@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){
.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;
}
}
@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;
    }
    .submenu-child-title{
        font-size: 0.875rem;
    }
    .content-warranty {
        padding: 2.5rem 2.5rem 0 2.5rem ;
    }
    .breadcumb{
        padding: 0 1.5rem 0;
    }
    .text-h1{
        font-size: 1.25rem;
    }
    .content.active{
        margin-bottom: 1.75rem;
    }
    .warranty .table-one tr th:first-of-type {
        width: 41%;
    }
    .warranty-container {
        display: flex;
        flex-direction: column;
    }
    .warranty-item {
        display: flex;
        flex-wrap: wrap;
    }
    .warranty ul li {
        text-align: left;
    }
    .content.active img{
        height: auto !important;
    }
    .content p {
        text-align: left;
        margin-top: 0.5rem;
    }
    .parent-title{
        font-size: 1.25rem;
        padding-bottom: 1rem;
    }
    .warranty-item:not(:first-child) .submenu-child-title {
        display: none;
    }
    .tab-content .step-list{
        padding-left: 1.625rem;
    }
    .submenu-item::after {
        margin-left: 1px;
    }
}

@media (max-width:480px) {
    .menu-warranty{
        margin-bottom: 0;
    }
    .content-warranty {
        flex-direction: column;
    }
    .menu-left {
        width: 100%;
    }

    .content-right {
        width: 100%;
    }
    
}