.main {
    max-width: 1100px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    margin-top: 140px;
}

.revieww {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 18px;
}

.checkoutgrid {
    display: grid;
    grid-template-columns: 1fr 350px;
    align-items: start;
    column-gap: 12px;
}

.productimage {
    width: 90px;
    height: auto;
}

@media (max-width: 1000px) {
    .checkoutgrid {
        grid-template-columns: 1fr;
    }

    .main {
        max-width: 500px;
    }
}

.cartitemcontainer, .paymentsummary {
    border:  1px solid rgb(222, 222, 222);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.ordersummaryt {
    border: 1px solid rgb(222, 222, 222);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}

@media (max-width: 1000px) {
  .paymentsummary {
    grid-row: 1;
    margin-bottom: 12px;
  }
}

.date {
    color: rgb(0, 118, 0);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.cartitemdetailsgrid {
    display: grid;
    grid-template-columns: 110px 1fr 1fr;
    column-gap: 12px;
}

.itemname, .itemprice  {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.itemprice {
    color: red;
}

@media (max-width: 1000px) {
    .cartitemdetailsgrid {
        grid-template-columns: 100px 1fr;
        row-gap: 30px;
    }
}

.itemquantity {
    margin-left: 3px;
}

@media (max-width: 1000px) {
  .deliveryoptions {
    /* grid-column: 1 means this element will be placed
       in column 1 in the grid. (Normally, the column that
       an element is placed in is determined by the order
       of the elements in the HTML. grid-column overrides
       this default ordering).
       
       / span 2 means this element will take up 2 columns
       in the grid (Normally, each element takes up 1
       column in the grid). */
    grid-column: 1 / span 2;
  }
}

.deliverylabel {
    font-weight: 600;
    margin-bottom: 10px;
}

.deliverychoice {
    display: grid;
    grid-template-columns: 25px 1fr ;
    margin-bottom: 13px;
    column-gap: 3px;
}

.deliverydate {
    font-weight: 600;
    color: rgb(0, 118, 0);
}

.deliveryfee {
    color: gray;
    font-size: 15px;
} 

.itemupdate, .itemdelete, .itemsave {
    color: rgb(1, 124, 182);
    cursor: pointer;
    transition: color 0.3s;
}

.itemdelete:hover, .itemupdate:hover, .itemsave:hover {
    color: rgb(254, 189, 105)
}


.paymentsummarytitle {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
}

.paymentsummaryrow {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 12px;
}

.paymentsummarymoney {
    text-align: right;
}

.totalrow {
    font-size: 18px;
    font-weight: 600;
    color: red;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.subtotalrow .paymentsummarymoney {
  border-top: 1px solid rgb(222, 222, 222);
}

.subtotalrow div {
  padding-top: 15px;
}

.placeorderbutton {
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 8px;
    border: none;
    margin-top: 11px;
    margin-bottom: 15px;
}

.quantity-input, .itemsave {
    display: none;
    width: 30px;
}

.is-editing-quantity .quantity-input,
.is-editing-quantity .itemsave {
    display: initial;
}

.is-editing-quantity .itemupdate, 
.is-editing-quantity .quantitylabel {
    display: none;
}







