body{
    margin:0;
    font-family:'Poppins',sans-serif;
    background:
    linear-gradient(
    rgba(0,0,0,.75),
    rgba(0,0,0,.75)),
    url("photos/background.jpg");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:white;
}

.cart-container{
    max-width:1200px;
    margin:auto;
    padding:50px 20px;
}

.cart-header{
    text-align:center;
    margin-bottom:50px;
}

.cart-header h1{
    font-size:3rem;
    color:#d4af37;
    margin-bottom:10px;
}

.cart-header p{
    color:#ddd;
}

.cart-card{

    display:flex;
    gap:25px;
    align-items:center;

    margin-bottom:25px;

    padding:25px;

    background:
    rgba(255,255,255,.08);

    -webkit-backdrop-filter:blur(20px);
    backdrop-filter:blur(20px);

    border:1px solid
    rgba(255,255,255,.15);

    border-radius:20px;

    box-shadow:
    0 8px 30px rgba(0,0,0,.3);

    transition:.4s;
    content-visibility: auto;
    contain-intrinsic-size: 260px;
}

.cart-card:hover{

    transform:translateY(-5px);

    box-shadow:
    0 15px 40px rgba(212,175,55,.25);
}

.cart-card img{

    width:180px;
    height:220px;

    object-fit:cover;

    border-radius:15px;
}

.item-details{
    flex:1;
}

.item-details h3{
    color:#d4af37;
    margin-bottom:10px;
}

.subtotal{
    font-weight:bold;
    font-size:1.1rem;
}

.remove-btn{

    background:#dc3545;
    color:white;

    border:none;

    padding:12px 20px;

    border-radius:50px;

    cursor:pointer;
}

.cart-summary{

    margin-top:50px;

    text-align:right;

    padding:30px;

    background:
    rgba(255,255,255,.08);

    -webkit-backdrop-filter:blur(20px);
    backdrop-filter:blur(20px);

    border-radius:20px;
    content-visibility: auto;
    contain-intrinsic-size: 160px;
}

.cart-summary h2{
    color:#d4af37;
    margin-bottom:25px;
}

.actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
}

.clear-btn{

    background:#444;
    color:white;

    border:none;

    padding:15px 30px;

    border-radius:50px;

    cursor:pointer;
}

.checkout-btn{

    background:#d4af37;
    color:black;

    border:none;

    padding:15px 35px;

    border-radius:50px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.checkout-btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 0 25px rgba(212, 175, 55, 0.354);
}


@media(max-width:768px){

body {
    background-attachment: scroll;
}

.cart-card,
.cart-summary {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.cart-card{

    flex-direction:column;
    text-align:center;
}

.actions{
    flex-direction:column;
}

.checkout-btn,
.clear-btn{
    width:100%;
}

}