body {
    margin: 0;
    font-family: Poppins;
}

a {
    color: unset;
    text-decoration: none;
}

.container {
    width: 1100px;
    margin: auto;
    max-width: 90vw;
    text-align: center;
    padding-top: 10px;
    margin-bottom: 3rem;
}

.title {
    font-size: xx-large;
    padding: 20px 0;
}

.listProduct .item img {
    /* width: 90%;
    filter: drop-shadow(0 50px 20px #0009); */
    width: auto;
    /* max-width: 280px; */
    /* max-width: 180px; */
    max-height: 280px;
    height: auto;
    /* filter: drop-shadow(0 50px 20px #000); */
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.listProduct .item {
    background-color: #FFF;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px hsla(206, 4%, 4%, .2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.listProduct .item h2 {
    font-weight: 500;
    font-size: large;
    justify-content: center;
    width: 80%;
    font-size: 1.25rem;
    margin: 1rem 0;
    /* letter-spacing: .5px; */
}

.listProduct .item .price {
    letter-spacing: 7px;
    font-size: small;
}

/* detail page */

.detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    text-align: left;
    margin-bottom: 2rem;
}


.detail .image img {
    width: 75%;
}

.detail .image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail .image::before {
    position: absolute;
    width: 300px;
    height: 300px;
    content: '';
    /* background-color: #94817733; */
    /* background-color: teal; */
    z-index: -1;
    border-radius: 190px 100px 170px 180px;
    left: calc(50% - 150px);
    top: 50px;

}

.detail .name {
    font-size: xxx-large;
    padding: 20px 0 0 0;
    margin: 0 0 10px 0;
}

.detail .price {
    font-weight: bold;
    font-size: x-large;
    letter-spacing: 7px;
    margin-bottom: 20px;
}

.detail .buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.detail .buttons button {
    display: flex;
    align-items: center;
    background-color: #eee;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    font-family: Poppins;
    font-size: large;
    box-shadow: 0 5px 10px #2F2F2F77;
    transition: .4s;
}

.detail .buttons button:hover {
    transform: translateY(-12px);
}


.detail .buttons svg {
    width: 15px;
}

.detail .buttons span {
    background-color: orange;
    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: #2F2F2F;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #eee;
    box-shadow: 0 10px 20px #2F2F2F77;
}

.detail .description {
    /* font-weight: 300; */
    line-height: 1.5;
    font-size: 1.15rem;
    color: black;
    text-align: justify;
}

.detail .description1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    text-align: left;
}

.description1 {
    display: flex;
    width: 100%;
    line-height: 1.5;
}

/* // ipad */
@media only screen and (max-width: 992px) {
    .listProduct {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .detail {
        grid-template-columns: 40% 1fr;
    }
}


/* mobile */
@media only screen and (max-width: 768px) {
    .listProduct {
        grid-template-columns: repeat(2, 1fr);
    }

    .listProduct .item h2 {
        width: 100%;
    }

    .detail {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .detail .image img {
        width: unset;
        height: 40vh;
    }

    .detail .name {
        font-size: x-large;
        margin: 0;

    }

    .detail .buttons button {
        font-size: small;
    }

    .detail .buttons {
        justify-content: center;
    }
}

.content .buttons {
    margin-top: 2rem;
}

.marleft2 {
    margin-left: .5rem;
    font-size: 3rem;
}


.table-container {
    width: 100%;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

@media (max-width: 768px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        display: none;
    }

    tbody tr {
        border: 1px solid #ddd;
        /* padding: 10px; */
        background: white;
        border-radius: 8px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
        border: none;
    }

    td:first-child {
        font-weight: bold;
        /* color: #007bff; */
    }
}