.products__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products__header {
    margin-bottom: 24px;
}

.products__header p {
    font-weight: 800;
    font-size: 24px;
}

.products__container {
    margin-bottom: 48px;
    margin-top: 24px;
}

.products__list {
    display: grid;
    grid-template-columns: 25% 25% 25% 25% 25%;
    overflow-x: scroll;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.products__list::-webkit-scrollbar {
    height: 5px;
    background: #ddd;
}

.products__list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.products__list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 25px;
}

.products__list__item {
    background: #fff;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-text-black);
    font-size: 16px;
    font-weight: 700;
}

.products__list__item img {
    width: 100%;
}

.product img {
    height: 100%;
    width: 100%;
}

.product {
    margin-top: 70px;
    padding: 24px 0 16px;
}
.product * strong {
    font-weight: 600;
}
.product__wrapper {
    border: 1px solid var(--color-gray);
    padding: 12px;
    background: #fff;
}

.product__image {
    display: flex;
    max-height: 530px;
}

.product__image__main__list {
    position: relative;
    margin-right: 12px;
    min-width: 123px;
    padding-right: 4px;
   
}

.product__image__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
    max-height: 530px;
}

.product__image__list::-webkit-scrollbar {
    width: 5px;
    background: #ddd;
}

.product__image__list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.product__image__list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 25px;
}

.product__image__list li {
    cursor: pointer;
}

.product__image__list li img {
    max-width: 119px;
    max-height: 119px;
}

.product__image__list li:not(.end) {
    margin-bottom: 12px;
}

.product__image__list__item.active {
    opacity: 0.5;
}

.product__image__list__button {
    position: absolute;
    border: 1px solid #fff;
    color: #fff;
    background: #000;
    border-radius: 50%;
    padding: 4px;
    opacity: 0.6;
    cursor: pointer;
    transition: 0.25s;
}

.product__image__list__button:hover {
    opacity: 0.8;
    transition: 0.25s;
}

.product__image__list__up {
    top: 12px;
    left: 50%;
    transform: translate(-50%);
}

.product__image__list__down {
    bottom: 12px;
    right: 50%;
    transform: translate(50%);
}

.product__info__header {
    margin-top: 18px;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 32px;
}

.product__info__header h1 {
    font-size: 24px;
    margin-bottom: 6px;
    font-weight: 700;
}

.product__info__code p {
    font-size: 16px;
    font-weight: 600;
    margin-right: 8px;
    color: #4b5563;
}

.product__info__code a {
    font-size: 16px;
    color: #1a56db;
    font-weight: 700;
}

.product__info__content {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-black);
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray);
}

.product__info__detail {
    margin-top: 24px;
}

.product__info__detail__title {
    font-size: 16px;
    font-weight: 600;
    min-width: 100px;
    color: var(--color-sub-gray);
}

.product__info__detail__title > li {
    margin-bottom: 12px;
}

.product__info__detail__data {
    font-size: 14px;
    font-weight: 700;
    max-width: 526px;
}

.product__info__detail__data > li {
    margin-bottom: 12px;
}
.product__info__detail__data .color-option{
    cursor: pointer;
    padding: 1px 8px;
    border: 1px solid var(--color-white);
}

.product__info__detail__data .selected{
    border-radius: 25px;
    border: 1px solid var(--color-gray);
    background: #E5E7EB;
    
}   
.product__detail-info__wrapper {
    border: 1px solid var(--color-gray);
    padding: 12px;
    background: #fff;
}

.product__detail-info__content{
    padding: 12px 8px 24px;
    font-family: "Inter", sans-serif;
}
.product__detail-info__content  h1 , h2 , h3 , h4 , h5 ,h6 {
    font-size: 20px;
    font-weight: 700;
}

.product__detail-info__content strong {
    font-weight: 600;
}

.product__detail-info__content p {
    font-size: 16px;
    margin-bottom: 12px;
}

.produc__input_quantity{
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}
.produc__input_quantity input{
    width: 62px;
    border: none;
    text-align: center;
}

.produc__input_quantity button {
    background: #E5E7EB;
    border-radius: 0px;
    font-size: 20px;
    line-height: 20px;
}

.produc__input_quantity input:focus-visible{
    outline:0px;
}

.product__info__button__buy {
    width: 100%;
}
.product__info__button__buy button {
    width: 100%;
    max-width: 190px;
    height: 50px;
    text-align: center;
    color: var(--color-white);
    font-weight: 700;
    flex: 1 1 0%;
}
.product__info__button__buy img {
    padding: 12px;
    background: #E5E7EB;
    max-width: 50px;
    max-height: 50px;
}
.add_to_cart {
    background-color: var(--color-green);
}
.buy_now {
    background-color: var(--color-red);
}
.product__info__detail__guarantee{
    font-size: 14px;
    font-weight: 500;
}
.product__info__detail__guarantee img {
    width: 24px;
    height: 24px;
}
@media (max-width: 575.98px) {
    .products__list {
        grid-template-columns: 50% 50%;
        overflow: visible;
    }

    .product__image {
        flex-direction: column;
        max-height: none;
    }

    .product__image__main__list{
        margin: 0;
        order: 2;
    }

    .product__image__main {
        order: 1;
    }

    .product__image__list {
        flex-direction: row;
        justify-content: space-between;
        margin: 12px 0 0;
        overflow-x: scroll;
    }
    .product__image__list::-webkit-scrollbar {
        height: 4px;
    }
    .product__image__list li {
        width: 79px !important;
        height: 79px !important;
    }

    .product__image__list__up {
        top: 50%;
        left: 12px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .product__image__list__down {
        bottom: 50%;
        right: 12px;
        transform: translateY(50%) rotate(-90deg);
    }
    
}

@media (max-width: 767.98px) {
    .products__list {
        grid-template-columns: 33.3333% 33.3333% 33.3333%;
        overflow: visible;
    }

    .product__image {
        flex-direction: column;
        max-height: none;
    }


    .product__image__main {
        order: 1;
    }

    .product__image__list {
        flex-direction: row;
        justify-content: space-between;
        margin: 12px 0 0;
        overflow-x: scroll;
    }
    .product__image__list::-webkit-scrollbar {
        height: 4px;
    }
    .product__image__main__list{
        margin: 0;
        order: 2;
    }
    .product__image__list__up {
        top: 50%;
        left: 12px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .product__image__list__down {
        bottom: 50%;
        right: 12px;
        transform: translateY(50%) rotate(-90deg);
    }

    .product__info__button__buy button {
        max-width: 140px;
        max-height: 40px;
        padding: 0 12px;
    }

    .product__info__button__buy img{
        max-width: 40px;
        max-height: 40px;
    }
}

@media (max-width: 1300px) {
    .product__image {
        flex-direction: column;
        max-height: none;
    }

    .product__image__main__list{
        margin: 0;
        order: 2;
    }

    .product__image__main {
        order: 1;
    }

    .product__image__list {
        flex-direction: row;
        justify-content: space-between;
        margin: 12px 0 0;
        overflow-x: scroll;
        gap: 10px;
    }
    
    .product__image__list__up {
        top: 50%;
        left: 12px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .product__image__list__down {
        bottom: 50%;
        right: 12px;
        transform: translateY(50%) rotate(-90deg);
    }

    .product__image__list {
        flex-direction: row;
        justify-content: space-between;
        margin: 12px 0 0;
    }
    .product__image__list::-webkit-scrollbar {
        height: 4px;
    }
    .product__image__list__item{
        min-width: 60px;
        max-height: 60px;
    }
    .product__image__list__up {
        top: 50%;
        left: 12px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .product__image__list__down {
        bottom: 50%;
        right: 12px;
        transform: translateY(50%) rotate(-90deg);
    }
}
