/*==========================
    PLATTERWALA CART V2
===========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body.pw-body{
    background:#f5f5f7;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    color:#222;
}

#pw-cart-app{
    max-width:700px;
    margin:auto;
    padding:16px;
    padding-bottom:120px;
}


.pw-top{

display:flex;

justify-content:space-between;

align-items:flex-start;

gap:10px;

}

.pw-bottom-row{

display:flex;

justify-content:flex-start;

margin-top:12px;

}

/*==========================
    HEADER
===========================*/

.pw-topbar{

    height:70px;

    display:flex;

    align-items:center;

    gap:15px;

    background:#fff;

    padding:0 20px;

    border-radius:18px;

    margin-bottom:18px;

    box-shadow:0 5px 20px rgba(0,0,0,.06);

}

.pw-back{

    font-size:22px;

    cursor:pointer;

}

.pw-heading{

    font-size:34px;

    font-weight:700;

}

/*==========================
    CARD
===========================*/

.pw-card{
    display:flex;
    gap:16px;
    align-items:flex-start;
    background:#fff;
    border-radius:22px;
    padding:14px;
    margin-bottom:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

/*==========================
    IMAGE
===========================*/

.pw-image{
    width:95px;
    height:95px;
    flex-shrink:0;
}

.pw-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:18px;
}

/*==========================
    DETAILS
===========================*/

.pw-content{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:110px;
}

/*==========================
    TITLE
===========================*/

.pw-name{
    font-size:24px;
    font-weight:700;
    line-height:1.25;
}
/*==========================
    PRICE
===========================*/

.pw-price{
    margin-top:8px;
    font-size:20px;
    font-weight:700;
    color:#ff6600;
}


/*==========================
    ACTION ROW
===========================*/

.pw-qty-row{

    margin-top:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/*==========================
    QTY BOX
===========================*/

.pw-qty-box{
    width:140px;
    height:42px;
    display:flex;
    align-items:center;
    border:1px solid #ececec;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
}

.pw-qty-box button{
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fff !important;
    color:#ff6600 !important;
    font-size:26px !important;
    font-weight:700 !important;
    line-height:42px !important;
    text-align:center !important;
    cursor:pointer;
    box-shadow:none !important;
    outline:none !important;
    appearance:none;
    -webkit-appearance:none;
}

.pw-qty-box button:hover{
    background:#fff !important;
    color:#ff6600 !important;
}

.pw-qty{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:19px;
    font-weight:700;
    color:#111;
}
/*==========================
    REMOVE
===========================*/

.pw-remove{
    width:38px;
    height:38px;
    border-radius:50%;
    border:1px solid #e8e8e8;
    background:#fff;
    color:#ff6600;
    font-size:22px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

/*==========================
    BILL
===========================*/

.pw-summary{

    margin-top:20px;

    background:#fff;

    border-radius:22px;

    padding:22px;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

}

.pw-line{

    display:flex;

    justify-content:space-between;

    margin-bottom:16px;

    font-size:17px;

}

.pw-line.total{

    border-top:1px dashed #ddd;

    margin-top:15px;

    padding-top:18px;

    font-size:24px;

    font-weight:700;

}

/*==========================
    BOTTOM
===========================*/

.pw-bottom{

    position:fixed;

    left:0;

    right:0;

    bottom:0;

    background:#fff;

    padding:15px;

    box-shadow:0 -6px 18px rgba(0,0,0,.08);

}

.pw-checkout{

    width:100%;

    height:58px;

    border:none;

    border-radius:16px;

    background:#ff6200;

    color:#fff;

    font-size:21px;

    font-weight:700;

    cursor:pointer;

}

}

.pw-image{
    width:95px;
    height:95px;
    flex-shrink:0;
}

.pw-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:18px;
}

.pw-right{
    flex:1;
    min-height:95px;
    display:flex;
    flex-direction:column;
}


.pw-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
}

.pw-footer{
    margin-top:auto;
    display:flex;
    justify-content:flex-start;
}

/*==========================
    MOBILE
===========================*/

@media(max-width:480px){

#pw-cart-app{

    padding:10px;

    padding-bottom:110px;

}

.pw-topbar{

    height:62px;

    border-radius:16px;

    margin-bottom:14px;

}

.pw-heading{

    font-size:22px;

}

.pw-card{

    padding:14px;

    gap:14px;

    border-radius:20px;

}

.pw-image{

    width:95px;

    height:95px;

}

.pw-image img{

    width:95px;

    height:95px;

}

.pw-name{

    font-size:15px;

}

.pw-price{

    font-size:18px;

}

.pw-qty-box{

    width:120px;

    height:38px;

}

.pw-qty-box button{

    width:38px;

    font-size:24px;

}

.pw-remove{

    width:38px;

    height:38px;

}

.pw-line{

    font-size:15px;

}

.pw-line.total{

    font-size:20px;

}

.pw-checkout{

    height:54px;

    font-size:18px;

}

}

/*==========================
    AJAX LOADING
==========================*/

.pw-loading{
    opacity:.6;
    pointer-events:none;
}

.pw-qty-box button:disabled{
    opacity:.5;
    cursor:not-allowed;
}

.pw-remove:disabled{
    opacity:.5;
    cursor:not-allowed;
}

/*==========================
    STICKY CHECKOUT
==========================*/

#pw-cart-app{
    padding-bottom:110px;
}

/*
.pw-bottom{
    position:fixed;
    left:0;
    right:0;
    bottom:0;

    background:#fff;

    padding:14px 16px;

    box-shadow:0 -6px 20px rgba(0,0,0,.08);

    border-top:1px solid #eee;

    z-index:9999;
}
*/
.pw-bottom{
    position: fixed;
    left: 0;
    right: 0;

    bottom: 60px;   /* pehle 0 tha */

    z-index: 99999;
}

.pw-checkout{

    width:100%;
    height:54px;

    border:none;
    border-radius:14px;

    background:#ff6b00;
    color:#fff;

    font-size:17px;
    font-weight:700;

    cursor:pointer;

    transition:.25s;

}

.pw-checkout:hover{
    transform:translateY(-1px);
}