.products-container {
    width: 1200px;
    max-width: 100vw;
    margin: auto;
    padding-top: 30px;
    text-align: center;
}

.listProduct .item img {
    width: 80%;
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.listProduct .item {
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 24px 0 rgba(103, 151, 255, 0.1), 0 12px 64px 0 rgba(103, 151, 255, 0.1);
    border-radius: 15px;
}

.listProduct .item h2 {
    font-size: x-large;
    font-weight: 500;
    padding: 15px;
    padding-bottom: 5px;
}

.listProduct .item .price {
    letter-spacing: 1px;
    font-size: medium;
}

/* detail page */
.title {
    font-size: xxx-large;
    font-weight: 700;
    padding-top: 50px;
    padding-bottom: 35px;
    letter-spacing: 1px;
}
.detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left;
}
.detail .image img {
    width: 100%;
    max-width: 450px;
}
.detail .image {
    display: flex;
    position: relative;
    justify-content: center;
}
.detail .name {
    font-size: xxx-large;
    padding: 40px 0 0 0;
    margin: 0 0 10px 0;
}
.detail .price {
    font-weight: bold;
    font-size: x-large;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.detail .buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.detail .buttons button {
    background-color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    font-size: large;
    font-weight: 600;
}
.detail .buttons svg {
    width: 15px;
}
.detail .buttons span {
    background-color: #3f78e0;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 20px;
}
.detail .buttons button:nth-child(2) {
    background-color: #004bd7;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #eee;
    box-shadow: 0 10px 20px #2f2f2f77;
}
.detail .description {
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.75;
}

.highlight.current-product {
    text-transform: uppercase;
}
@media screen and (max-width: 1500px) {
    .products-container {
        padding-top: 0;
    }
    .listProduct {
        padding-left: 5%;
        padding-right: 5%;
    }
    .listProduct .item {
        margin-right: 0.5em;
        margin-bottom: 0.5em;
    }
    .detail {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media screen and (max-width: 1250px) {
    .products-container {
        padding-top: 0;
    }
    .listProduct {
        padding-left: 8%;
        padding-right: 8%;
        grid-template-columns: 1fr 1fr;
    }
    .listProduct .item {
        margin-bottom: 1em;
    }
    .detail {
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
        grid-template-columns: 1fr;
    }
    .detail .image img {
        width: 85%;
        height: auto;
    }
    .detail .name {
        font-size: xx-large;
        margin: 0;
    }
    .price {
        margin-top: 2%;
        font-size: large !important;
    }
    .detail .buttons button {
        font-size: small;
    }
    .detail .buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 700px) {
    .products-container {
        padding-top: 0;
    }
    .listProduct {
        padding-left: 8%;
        padding-right: 8%;
        grid-template-columns: 1fr;
    }
    .listProduct .item {
        margin-bottom: 1em;
    }
    .detail {
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
        grid-template-columns: 1fr;
    }
    .detail .image img {
        width: 85%;
        height: auto;
    }
    .detail .name {
        font-size: x-large;
        margin: 0;
    }
    .price {
        margin-top: 2%;
        font-size: medium !important;
    }
    .detail .buttons button {
        font-size: small;
    }
    .detail .buttons {
        justify-content: center;
    }
}
