:root {
    --primary-color: #cd9b32;
    --sale-color: #dd433f;
    --white-color: #fff;
}

* {
    box-sizing: border-box;
    padding: 0 ;
    margin: 0;
}

html {
   font-size: 62.5%;
   line-height: 1.6rem;
   font-family: 'Roboto', sans-serif;
   box-sizing: border-box;
}

.subnav a:hover {
    text-decoration: none;
}

.col-custom {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.pd0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.w-20 {
    width: 20% !important;
}

.w-15 {
    width: 15% !important;
}

.pd-l-0 {
    padding-left: 0 !important;
}

.pd-r-0 {
    padding-right: 0 !important;
}

.highligh {
    color: var(--primary-color);
}

.hide {
    display: none;
}

.display-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
    align-items: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-90 {
    margin-bottom: 90px;
}

.pl-30 {
    padding-left: 30px;
}

.pr-30 {
    padding-right: 30px;
}

.saleOf-list.flip {
    animation: flipPage 1s ease-in-out; /* Chạy lặp lại */
}

.rotate-icon {
    height: fit-content;
}

/* animation */
@keyframes flipPage {
    0% {
        transform: rotateY(0deg);
    }
    /* 45% {
        transform: rotateY(180deg);
    } */
    /* 50% {
        transform: rotateY(180deg);
    } */
    /* 95% {
        transform: rotateY(360deg);
    } */
    100% {
        transform: rotateY(180deg); /* Trở lại trạng thái ban đầu */
    }
}

@keyframes content_banner_2 {
    from {
        transform: translateY(16px);
        transform: opacity(0.3);
    }
    to {
        transform: translateY(0);
        transform: opacity(1);
    }
}

@keyframes tagItemA {
    from {
        transform: translateY(0);
        opacity: 1
    }
    to {
        transform: translateY(-5px);
        opacity: 0.8
    }
}


@keyframes tagA {
    from {
        bottom: 10px;
    }
    to {
        bottom: 20px;
    }
}

@keyframes rotateX {
    from {
        transform: rotateX(80deg);
    }
    to {   
        transform: rotateX(0);
    }
}

@keyframes rotateY {
    from {
        transform: rotateY(80deg);
    }
    to {   
        
        transform: rotateY(0);
    }
}

@keyframes navigationA {
    from {
        transform: translatey(-100%);
    }
    to {
        transform: translatey(0);
    }
}

@keyframes slow {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        top: 90px;
        opacity: 0.4;
    }
    to {
        top: 80px;
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        top: 90px;
    }
    to {
        top: 80px;
    }
}


@keyframes flip {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(180deg);
    }
}

@keyframes flip90 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(90deg);
    }
}

@keyframes noflip {
    from {
        transform: rotate(180deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes noflip90deg {
    from {
        transform: rotate(90deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes slideUp {
    from {
        top: calc(100% + 16px);
        opacity: 0.3;
    }
    to {
    top: calc(100% + 4px);
    opacity: 1;
    }
}

@keyframes noslideUp {
    from {
        top: calc(100% + 4px);
        opacity: 1;
    }

    to {
        top: calc(100% + 16px);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}





/* Modal */ 
.modal {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: none;
    z-index: 999;
    animation: FadeIn linear 1s;
}

.modal__overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
 
  .modal__body { 
    --growth-form: 0.7;
    --growth-to: 1;  
    margin: auto;
    position: relative;
    z-index: 3;
    animation: growth linear 0.1s;
}

.exit-btn {
    width: 20px;
    height: 20px;
    text-align: center;
}

.exit-icon {
    font-size: 2rem;
    font-weight: 100 !important;
    margin-left: 10px;
}



/* Modal Search */
.Modal-Search {
    width: 100%;
    height: 90px;
    padding: 10px 0;
    background-color: #fff;
    display: none;
} 

.search-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: auto;
}

.search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.4px solid var(--primary-color);
    height: 47px;
    width: 450px;
    border-radius: 4px;
    gap: 0;
}

.Search-input {
    width: 89%;
    height: 100%; 
    padding-left: 10px;
    border-top-style: hidden;
    border-right-style: hidden;
    border-left-style: hidden;
    border-bottom-style: hidden;
    border-radius: 4px;
}

.Search-input:focus {
    outline: none;
}

.search-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: var(--primary-color);
    text-align: center;
    margin: 4px;
    line-height: 40px;
    font-size: 1.6rem;
    color: #fff;
}

/* modal addCart */
.addCart {
    width: 100%;
    height: fit-content;
    position: relative;
    top: 25vh;
    display: none;
    justify-content: center;
}

.addCart-list {
    height: fit-content;
    width: 343px;
    list-style: none;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    background-color: #fff;
}

.addCart-item:first-child {
    display: flex;
    width: 100%;
    height: 41px;
    padding: 10px 10px 10px 10px;
    align-items: center ;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    justify-content: space-between;
    background-color: #cd9b32;
}

.addCart-item:nth-child(2) {
    width: 100%;
    height: 70px;
    padding: 10px;
    display: flex;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--primary-color);
}

.addCart-item__title {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
    gap: 4px;
    color: #fff;
}

.addCart-item__title-check-icon {
    font-size: 1.8rem;
}

.addCart-item__exit {
    width: 24px;
    text-align: center;
    height: 24px;
    line-height: 24px;
}

.addCart-item__exit:hover .addCart-item__exit-icon {
    animation: flip90 linear 0.3s forwards;
}

.addCart-item__exit:not(:hover) .addCart-item__exit-icon {
    animation: noflip90deg linear 0.3s forwards;
}

.addCart-item__exit-icon {
    font-size: 2.4rem;
    color: #fff;
}

.addCart-item__img-block {
    height: 100%;
    width: 60px;
    padding-right: 10px;
}

.addCart-item__img {
    width: 100%;
    height: 100%;
}

.addCart-item__des-product {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.addCart-item__name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.addCart-item__price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.addCart-item .addCart-item__des {
    height: 21px;
    padding: 0 10px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.addCart-item .addCart-item__des a {
    color: #000;
    text-decoration: none;
}

.addCart-item__btn {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 10px;
    gap: 10px;
}

.addCart-item__payNow,
.addCart-item__continueBuy {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    height: 36px;
    line-height: 36px;
    border-radius: 6px;
    text-align: center;
    background-color: var(--primary-color);
}

/* .addCart-item__continueBuy {
    padding: 0 20px;
} */

.addCart-item__payNow-link {
    display: block;
    height: 100%;
    width: 100%;
    color: #fff;
    text-decoration: none;
    padding: 0 20px;
}

.addCart-item__continueBuy:hover,
.addCart-item__payNow-link:hover {
    background-color: #e4a53d;
    border-radius: 6px;
}

/* modal searchInfor Start*/
.searchInfor {
    position: relative;
    top: 5vh;
    width: 100%;
    display: flex;
    justify-content: center;
}

.searchInfor-list {
    position: relative;
    padding: 20px;
    width: 760px;
    display: none;
    height: fit-content;
    z-index: 9999;
    list-style: none;
    border-radius: 6px;
    border: 2px solid var(--primary-color);
    background-color: #fff;
}

.searchInfor-item {
    flex: 1;
}

.searchInfor-item:first-child {
    height: 400px;
}

.searchInfor-item:last-child {
    padding: 0 15px;
}

.searchInfor-item__IMG {
    width: fit-content;
    height: 300px;
    padding: 0 15px;
    border-radius: 4px;
}

.searchInfor-img {
    width: 100%;
    border-radius: 4px;
    height: 100%;
    border: 1px solid var(--primary-color);
}

.searchInfor-item__IMG-option {
    display: flex;
    gap: 16px;
    width: 100%;
    height: 80px;
    padding: 5px 0;
    margin-top: 12px;
    list-style: none;
    
}

/* .searchInfor-item__IMG-option-item {

} */

.searchInfor-item__IMG-option-item-img {
    height: 100%;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
}

.searchInfor-list__level2 {
    list-style: none;
}

.searchInfor-item__level2 {

}

.searchInfor-item__level2:nth-child(2) {
    display: flex;
    width: 100%;
    height: 14px;
    margin-bottom: 8px;
    justify-content: space-between;
}

.searchInfor-item__level2:nth-child(3) {
    display: flex;
    height: 42px;
    margin-bottom: 8px;
    gap: 6px;
}

.searchInfor-item__level2:nth-child(4) {
    height: 21px;
    margin-bottom: 8px;
}

.searchInfor-item__name {
    font-size: 2.4rem;
    font-weight: 500;
    height: fit-content;
    line-height: 34px;
    margin-bottom: 8px;
}

.searchInfor-item__productCode,
.searchInfor-item__productStatus {
    height: 14px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 14px;
}   

.searchInfor-item__productStatus-title,
.searchInfor-item__productCode-title {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.searchInfor-item__priceSale {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 42px;
}

.searchInfor-item__priceOriginal {
    opacity: 0.6;
    text-decoration: line-through;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 54px;
}   

.searchInfor-item__addCartBtn,
.searchInfor-item__productQuantity,
.searchInfor-item__productInfor {
    font-size: 1.2rem;
    font-weight: 400;
}

.searchInfor-item__productQuantity {
    
}

.searchInfor-item__productQuantity-number {
    display: block;
    margin-bottom: 10px;
}

.CustomizeQuantity {
    display: flex;
    list-style: none;
    height: 30px;
    line-height: 26px;
    width: 110px;
    padding: 2px;
    border-radius: 4px;
    margin-bottom: 14px;
    border: 1px solid var(--primary-color);
}

.CustomizeQuantity-add,
.CustomizeQuantity-remove {
    width: 26px;
    height: 100%;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 4px;
    text-align: center;
    color: #fff;
    background-color: var(--primary-color);
}

.CustomizeQuantity-number {
    flex: 1;
    text-align: center;
}

.CustomizeQuantity-icon {
    display: block;
}

.searchInfor-item__addCartBtn {
    height: 40px;
    line-height: 40px;
    width: 150px;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    padding: 0 10px;
    background-color: var(--primary-color);
    text-transform: uppercase;
}

.searchInfor-list__level2-exit {
    position: absolute;
    top: 1%;
    right: 2px;
    width: 16px;
    height: 16px;
    line-height: 20px;
    text-align: center;
}

.searchInfor-list__level2-exit-icon {
    font-size: 1.2rem;
    font-weight: 400;
}

/* modal searchInfor End*/

/* modal menu mobile start */
.Modal-MenuMobile-block {
    background-color: #fff;
    display: none; /*flex*/
    margin: auto;
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
}

.Modal-MenuMobile-block__header {
    width: 100%;
    height: 90px;
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.Modal-MenuMobile-block__header div a {
    display: block;
    background: #cd9b32;
    color: #fff;
    padding: 8px 5px;
    border-radius: 5px;
    font-weight: 600;
}

.Modal-MenuMobile-block__header div:nth-child(1),
.Modal-MenuMobile-block__header div:nth-child(2) {
    width: 50%;
    padding: 0 4px;
    text-align: center;
    font-size: 1.4rem;
    height: 37px;
}

.Modal-MenuMobile-block__header div:nth-child(3) {
    width: 100%;
    height: 37px;
    padding: 0 4px;
    text-align: center;
    font-size: 1.4rem;
}

.Modal-MenuMobile-block__content-list {
    margin: 0;
}

.Modal-MenuMobile-block__content-item-link {
        padding: 0 30px 0 10px !important;
        color: #000;
        height: unset;
        line-height: 30px;
        display: block;
        font-size: 16px;
        font-weight: 600;
}


/* modal menu mobile start */



/* Responsive */

/* Mobile & Tablet */
@media (max-width: 1023px) {

}

/* Mobile */
@media (max-width: 739px) {

}

/* Tablet */
@media (min-width: 740px) and (max-width: 1023px) {
    
}