/* ==========================================
   SCRIBUBBLE CART
========================================== */

.sb-cart-page{

    display:grid;

    grid-template-columns:minmax(0,1fr) 360px;

    gap:42px;

    align-items:start;

    margin:55px auto 80px;

}

.sb-cart-items{

    display:flex;

    flex-direction:column;

    gap:28px;

}


/* ==========================================
   CART CARD
========================================== */

.sb-cart-card{

    background:#fff;

    border-radius:28px;

    padding:28px;

    display:grid;

    grid-template-columns:170px 1fr auto;

    gap:28px;

    align-items:center;

    border:1px solid #f2dce6;

    box-shadow:0 20px 55px rgba(55,20,40,.05);

    transition:.35s;

}

.sb-cart-card:hover{

    transform:translateY(-4px);

    box-shadow:0 28px 70px rgba(55,20,40,.08);

}

.sb-cart-image{

    aspect-ratio:1;

    border-radius:22px;

    overflow:hidden;

    background:#faf7f8;

}

.sb-cart-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.35s;

}

.sb-cart-card:hover img{

    transform:scale(1.05);

}


/* ==========================================
   PRODUCT INFO
========================================== */

.sb-cart-info h2{

    margin:0;

    font-family:"Coiny",cursive;

    font-size:34px;

    color:#7b3c5b;

    line-height:1.15;

}

.sb-cart-info h2 a{

    text-decoration:none;

    color:inherit;

}

.sb-cart-desc{

    margin:16px 0;

    color:#777;

    line-height:1.8;

    font-size:15px;

}

.sb-cart-price{

    font-size:32px;

    color:#cb5c8c;

    font-weight:700;

    margin-bottom:22px;

}


/* ==========================================
   REMOVE
========================================== */

.sb-remove{

    display:inline-block;

    margin-top:18px;

    color:#a14d70;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

}

.sb-remove:hover{

    color:#7b2f4c;

}


/* ==========================================
   TOTAL
========================================== */

.sb-cart-total{

    font-size:30px;

    font-weight:700;

    color:#7b3c5b;

    white-space:nowrap;

}


/* ==========================================
   ORDER SUMMARY
========================================== */

.sb-cart-summary{

    position:sticky;

    top:120px;

}

.sb-summary-card{

    background:#fff;

    border-radius:30px;

    padding:34px;

    border:1px solid #f2dce6;

    box-shadow:0 20px 55px rgba(55,20,40,.05);

}

.sb-summary-card h3{

    font-family:"Coiny",cursive;

    font-size:34px;

    color:#7b3c5b;

    margin-bottom:35px;

}

.sb-summary-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:18px;

    color:#666;

}

.sb-summary-total{

    display:flex;

    justify-content:space-between;

    margin:30px 0;

    padding-top:25px;

    border-top:1px solid #eee;

    font-size:28px;

    font-weight:700;

    color:#7b3c5b;

}


/* ==========================================
   CHECKOUT BUTTON
========================================== */

.sb-checkout{

    display:block;

    width:100%;

    text-align:center;

    background:#cb5c8c;

    color:#fff;

    padding:18px;

    border-radius:999px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.sb-checkout:hover{

    background:#b44f7b;

    transform:translateY(-2px);

}


/* ==========================================
   QUANTITY
========================================== */

.sb-cart-qty{

    display:flex;

    align-items:center;

    width:max-content;

    border:1px solid #ecd9e2;

    border-radius:999px;

    overflow:hidden;

}

.sb-cart-qty button{

    width:46px;

    height:52px;

    border:none;

    background:#fff;

    cursor:pointer;

    font-size:24px;

    color:#7b3c5b;

}

.sb-cart-qty input{

    width:48px;

    border:none;

    text-align:center;

    font-size:18px;

    appearance:textfield;

    -moz-appearance:textfield;

}

.sb-cart-qty input::-webkit-inner-spin-button,
.sb-cart-qty input::-webkit-outer-spin-button{

    display:none;

}
/* COD Progress */

.sb-cod-progress{

background:#fff8f8;

border:1px solid #ead9d9;

padding:18px;

border-radius:16px;

margin-bottom:22px;

text-align:center;

}

.sb-cod-text{

font-size:14px;

color:#555;

margin-bottom:14px;

line-height:1.6;

}

.sb-cod-bar{

height:10px;

background:#ececec;

border-radius:100px;

overflow:hidden;

margin-bottom:10px;

}

.sb-cod-fill{

height:100%;

background:linear-gradient(90deg,#8a1d3b,#c06b8b);

border-radius:100px;

transition:.4s;

}

.sb-cod-amount{

font-size:13px;

color:#777;

letter-spacing:.5px;

}

.sb-cod-success{

background:#f6fff7;

color:#2f7a39;

border:1px solid #b9e2c0;

padding:14px;

border-radius:12px;

font-weight:600;

}


/* ==========================================
   MOBILE
========================================== */

@media(max-width:900px){

.sb-cart-page{

grid-template-columns:1fr;

}

.sb-cart-summary{

position:relative;

top:auto;

}

.sb-cart-card{

grid-template-columns:1fr;

text-align:center;

}

.sb-cart-image{

max-width:240px;

margin:auto;

}

.sb-cart-total{

margin-top:20px;

}

.sb-cart-qty{

margin:auto;

}

}