body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

main > section.items h2 {
    text-align: center;
    margin-top: 0;
    width: 100%;
}
main {
    display: flex;
    justify-content: center;
    align-items:flex-start;
    flex-wrap: wrap;
    padding-top: 20px;
}

main > section.items {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    max-width: 500px;
    min-width: 300px;
    justify-content: center;
}

section.items .product {
    border: 1px solid lightgrey;
    border-radius: 5px;
    margin: 6px;
    flex: 0 0 calc(33.333% - 24px);
    cursor: pointer;
    text-align: center;
    padding: 5%;
}

section.items .product.selected {
    border: 2px solid rgb(29, 134, 233);

}

section.items .photo img {
    max-width: 90px;
}

section.items .description {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    line-height: 15px;
}

section.items  .description .price {
    font-weight: bold;
    margin: 4px auto;
}

section.items  .description .quantity-area {
    margin: 8px auto;
    height: 14px;
}

section.items  .description .quantity-area button {
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 5px;
    background-color: bisque;
    border-radius: 5px;
    border: none;
}

section.items  .description .quantity-area .quantity {
    font-weight: bold;
    margin: 0 4px;
}

section.summary {
    background-color: rgb(245, 245, 245);
    padding: 20px;
    min-height: 200px;
    min-width: 200px;
    text-align: center;
    position: sticky;
    top: 15px;
}

section.summary table {
    width: 100%;
    padding-top: 12px;
    font-size: 1rem;
    margin: auto;
}

section.summary table tbody tr:last-of-type th {
    border-top: 1px solid black;
    padding-top: 4px;
}