/*====================================
            CART SUMMARY
=====================================*/

.cart-summary{

    width:100%;
    max-width:600px;

    margin:50px auto 70px;

    background:white;

    border-radius:22px;

    padding:35px;

    text-align:center;

    box-shadow:0 10px 28px rgba(0,0,0,.10);

}

.cart-summary h2{
    color:#555;

    margin-bottom: 15px;
    
    font-size: 26px;

}

.cart-summary h1{
    color:#ff4f87;
    margin-bottom: 28px;
    font-size:48px;
    font-weight: bold;
}


/*====================================
            CART BUTTON
=====================================*/

.checkout-btn{

    width:100%;

    max-width:340px;

    background:#ff4f87;

    color:white;

    border:none;

    padding:16px;

    border-radius:12px;

    font-size:20px;

    cursor:pointer;

    transition:.3s;

}

.checkout-btn:hover{
    background:#ff2d70;
}


/*====================================
        CART PRODUCTS
=====================================*/

.products-container{
    width:90%;
    max-width:1200px;
    margin:40px auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.product-card{
    background:white;
    border-radius:15px;
    padding:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:15px;
}

.product-card h3{

    color:#333;

    font-size:22px;

    min-height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:14px 0 10px;

}

.product-card p{

    color:#666;

    line-height:1.6;

    min-height:50px;

    margin-bottom:14px;

}

.product-card h4{

    color:#ff4f87;

    font-size:21px;

    margin-bottom:12px;

}


/*==============================
    QUANTITY CONTROLS
==============================*/


.quantity-controls{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;

    margin:18px 0;

}

.quantity-btn{

    width:42px;
    height:42px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#ffffff;

    color:#ff4f87;

    border:2px solid #ffb6cc;

    border-radius:50%;

    text-decoration:none;

    font-size:26px;

    font-weight:bold;

    transition:.25s;

}

.quantity-btn:hover{

    background:#ff4f87;

    color:white;

    transform:scale(1.08);

    box-shadow:0 8px 18px rgba(255,79,135,.35);

}

.quantity-number{

    font-size:28px;

    font-weight:bold;

    min-width:40px;

    text-align:center;

    color:#333;

}

.quantity-btn:active{

    transform:scale(.92);

}

/*==============================
    ITEM TOTAL
==============================*/

.item-total{

    color:#28a745;

    font-size:28px;

    font-weight:bold;

    margin-top:12px;

}

/*==============================
    REMOVE BUTTON
==============================*/


.remove-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-top:18px;

    padding:10px 18px;

    background:#fff3f5;

    color:#dc3545;

    border:1px solid #ffd4db;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    font-size:15px;

    transition:.25s;

}

.remove-btn:hover{

    background:#dc3545;

    color:white;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(220,53,69,.25);

}

/*====================================
        RESPONSIVE - CART
=====================================*/

@media (max-width:768px){

    .products-container{

        width:95%;

        grid-template-columns:1fr;

        gap:25px;

    }

    .product-card{

        width:100%;

        max-width:420px;

        margin:auto;

    }

    .cart-summary{

        width:95%;

        padding:25px;

    }

    .cart-summary h1{

        font-size:34px;

    }

}

@media (max-width:480px){

    .product-card{

        padding:18px;

    }

    .product-card img{

        height:220px;

    }

    .quantity-number{

        font-size:24px;

    }

    .checkout-btn{

        font-size:18px;

    }

}