
.products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    row-gap: 1em;
    column-gap: 1em;
    margin-bottom: 1em;
    justify-items: center;
}

.products a {
    text-decoration: none;
    color: var(--label-color);
}

.product .hero-card {
    border-radius: 1em;
    width: 90%;
    border: 5px solid var(--img-border-color);
    box-shadow: 0 5px 10px 0px rgba(78, 74, 74, 0.5);
}

.product-details {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    margin-top: 2em;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: space-evenly;
}

.product-img img {
    height: 250px;
    border-radius: 1em;
    border: 5px solid var(--img-border-color);
    box-shadow: 0 5px 10px 0px rgba(78, 74, 74, 0.5);
}

a.products-back {
    /* background-color: red; */
}

h1.product-info-title {
    font-family: 'Montserrat'
}

h3.product-info-price {
    font-weight: bold;
}
/* .product-info-price {
    font-size: 1.5rem;
    font-weight: 500;
} */

.product-form label {
    width: 120px;
}

button {
    background-color: var(--secondary-color);
    padding: 1em 2em;
    color: var(--label-color);
    border-radius: 2em;
    font-family: 'Montserrat';
    font-size: 1.8rem;
    cursor: pointer;
    pointer-events: auto;
    text-align: center;
    text-decoration: none;
    border-radius: 2.5em;
    text-shadow: none;
}

button:hover {
    background-color: red;
}

.cart {
    width: 100%;
    /* background-color: red; */
    border: 1px solid #ccc;
}

.cart {
    border: 1px solid #ccc;
    /* background-color: red; */
}

.cart tr {
    background-color: var(--bg-color);
    border: 1px solid #ccc;
}

.cart td,
th {
    padding: 10px;
}

.cart th.right,
td.right {
    text-align: right;
}

.cart th.left,
td.left {
    text-align: left;
}

.cart .total,
.num {
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-form {
    display: flex;
}

.order-form {
    border: 1px solid #ccc;
    padding-bottom: 20px;
}

.order-form label {
    width: 150px;
}
@media only screen and (min-width:701px) and (max-width:1100px) {
.products {
        grid-template-columns: 1fr 1fr 1fr 1fr;
}
}

@media only screen and (min-width:50px) and (max-width:700px) {
.products {
        grid-template-columns: 1fr 1fr;       
        /* width: 100px; */
    }
}