.cart{
    display: flex;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    min-height: 61vh;
}

.cart .shopping-cart {
    width: 69%;
    margin: 0px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    padding-bottom: 20px;
    height: min-content;
    background: var(--text-secondary);
}

.total-coin{
    display: flex;
}
.cart .cart-summary{
    width: 29%;
    height: unset;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 10px 20px 20px 20px;
    box-shadow: var(--box-shadow);
    height: min-content;
    background: var(--text-secondary);
}

.cart-heading{
    display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    margin: 0px 20px 0px 20px;
    border-bottom: 1px solid rgb(238 238 238);
    border-width: 90%;
}

.cart-heading h1 , .cart-heading h2{
    font-weight: 600;
    font-size: 1rem;
}

.cart-summary h1{
    width: 100%;
    padding: 5px 0px 15px 0px;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgb(238 238 238);
}

.price-summary{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
}

.coin{
    width: 15px;
    height: 15px;
    margin: auto;
}

.cart-address{
    padding-top: 20px;
}

.cart-address h4{
    margin-bottom: 15px;
    font-weight: 600;
}

.cart-address>p{
    margin-bottom: 10px;
}

.cart-address a{
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-summary p{
    display: flex;
    align-items: center;
    font-weight: 500;
    color: rgb(112, 112, 112);
}

.total-cost{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px 0px;
    border-top: 1px solid rgb(238 238 238);
    font-weight: 600;
    font-size: 1.1rem;
}

.checkout{
    padding: 5px 15px;
    width: 100%;
    border-radius: 5px;
    margin: auto;
    background-color: var(--primary-color);
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.checkout:hover{
    transition: 0.2s ease-out;
    cursor: pointer;
    transform: scale(.98);
}

.responsive{
    column-gap: 0;
    border-collapse: collapse;
    border-radius: 5px;
    
    width: 100%;
    border-radius: 10px;
}

.responsive-table{
    width: 100%;
    overflow-x:auto;
    padding: 0px 20px ;
}

.responsive thead{
    width: 100%;
    border: none;
    padding: 10px 15px;
    border-radius: 5px 5px 0px 0px;
}

.responsive th{
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center !important;
}
.responsive tr{
    width: 100%;
    border-bottom: 1px solid rgb(238 238 238);
}

.responsive td{
    text-align: center;
    border: none;
    padding: 10px 15px;
    
    font-size: 0.8rem;
    color: rgb(112, 112, 112);
}

.remove-item a{
    color: #000;
}

.remove-item-icon{
    width: 30px;
    height: 30px;
    margin:auto;
}

.remove-item:hover .remove-item-icon{
    color: var(--primary-color);
}
.remove-item-icon:hover {
    cursor: pointer;
}

.edit-address{
    margin-top: 30px;
    width: 100%;
    display: flex;
    align-self: center;
    justify-content: space-between;
}

.edit-address svg{
    width: 20px;
    height: 20px;
}

.responsive tr:nth-last-child(1){
    border: none !important;
}

.tbody tr{
    height: 100px;
}

.item-img img{
   height: 100px;
}

.item-head{
    display: flex;
}

#myform {
    text-align: center;
    padding: 5px;
    margin: 2%;
}
  
  .qty {
    width: 40px;
    height: 25px;
    text-align: center;
    border-radius: 3px;
    border: var(--border-primary);
}
  
  input.qtyplus {
    width: 25px;
    height: 25px;
    border: none;
    background-color: var(--secondary-color);
    border-radius: 3px;
    color: #fff;
    font-weight: 800;
}
  
  input.qtyminus {
    width: 25px;
    height: 25px;
    border: none;
    background-color: var(--secondary-color);
    border-radius: 3px;
    color: #fff;
    font-weight: 800;
}

input.qtyminus:hover , input.qtyplus:hover {
    cursor: pointer;
    background-color: var(--primary-color);
}

.item-info{
    text-align: left;
    padding: 5px 5px 5px 15px;
}

.item-info h2{
    font-size: 1rem;
    font-weight: 500;
}

@media only screen and (max-width:1024px){
    .item-img img{
        height: 60px;
    }
}

@media only screen and (max-width:844px){
    .cart{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cart .shopping-cart , .cart .cart-summary {
        width: 95%;
        margin-bottom: 25px;
    }

    .responsive td{
        min-width: 150px;
    }

    .item-info h2{
        font-size: 1rem;
    }

    .item-info p{
        font-size: 0.8rem !important;
    }
}

@media screen and (max-width:441px) {
    .responsive td{
        flex-direction: column;
    }

    .cart-heading h1 ,.cart-heading h2{
        font-size: 1rem;
    }
    .responsive thead tr th{
        text-align: center !important;
    }
}


/* BEGIN: Confirm Popup */
.confirm-popup{
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.58);
}

.popup-box{
    padding: 25px 45px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 24px 0 rgb(34 41 47 / 10%);
}

.decision-btn{
    display: flex;
    justify-content: center;
    padding: 15px 0px 5px 0px;
}

.decision-btn button{
    padding: 5px 15px;
    margin: 0px 5px;
    border: none;
    outline: none;
    border-radius: 3px;
    color: #fff;
}

.decision-btn button:hover{
    cursor: pointer;
    
}

.decision-confirm{
    background-color: var(--primary-color);
}

.decision-cancel{
    background-color: var(--secondary-color);
}

.toggle-popup{
    display: flex;
}

@media screen and (max-width:441px) {
    .popup-box{
        width: 95%;
        margin: auto;
    }
}
/* END: Confirm Popup */