*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, sans-serif;
  background:#fffafa;
  color:#111;
}

.cart-page{
  width:min(94%,1350px);
  margin:0 auto;
  padding:38px 0 60px;
}

.back-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:35px;
  color:#e7357c;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.cart-header{
  margin-bottom:35px;
}

.cart-header span{
  color:#e7357c;
  font-size:12px;
  font-weight:800;
  letter-spacing:4px;
  text-transform:uppercase;
}

.cart-header h1{
  font-family:"Cormorant Garamond", serif;
  font-size:64px;
  font-weight:500;
  text-transform:uppercase;
  margin-top:8px;
}

.cart-header p{
  color:#555;
  font-size:16px;
}

.cart-layout{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:28px;
}

.cart-card,
.summary-card{
  background:#fff;
  border:1px solid #f4d7e2;
  border-radius:20px;
  box-shadow:0 18px 45px rgba(0,0,0,.06);
}

.cart-card{
  padding:28px;
}

.cart-headings{
  display:grid;
  grid-template-columns:1.7fr .7fr .7fr .7fr;
  gap:18px;
  padding-bottom:18px;
  border-bottom:1px solid #f3cdda;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.cart-item{
  display:grid;
  grid-template-columns:1.7fr .7fr .7fr .7fr;
  gap:18px;
  align-items:center;
  padding:24px 0;
  border-bottom:1px solid #f5dce5;
}

.cart-product{
  display:flex;
  align-items:center;
  gap:20px;
}

.cart-product img{
  width:125px;
  height:125px;
  object-fit:contain;
  background:#fff4f8;
  border-radius:14px;
}

.cart-product h3{
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:8px;
}

.cart-product p{
  font-size:14px;
  color:#666;
  line-height:1.5;
}

.remove-btn{
  margin-top:13px;
  border:none;
  background:none;
  color:#e7357c;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  cursor:pointer;
}

.price{
  color:#e7357c;
  font-weight:900;
}

.qty-box{
  width:112px;
  height:42px;
  border:1px solid #f0bfd2;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
}

.qty-box button{
  border:none;
  background:none;
  color:#e7357c;
  font-size:18px;
  cursor:pointer;
}

.item-total{
  font-weight:900;
}

.summary-card{
  padding:34px;
  height:max-content;
  background:linear-gradient(180deg,#fff,#fff4f8);
}

.summary-icon{
  width:74px;
  height:74px;
  margin:0 auto 22px;
  border-radius:22px;
  background:#fff4f8;
  color:#e7357c;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
}

.summary-card h2{
  text-align:center;
  font-size:20px;
  letter-spacing:3px;
  text-transform:uppercase;
  margin-bottom:28px;
}

.summary-row{
  display:flex;
  justify-content:space-between;
  padding:18px 0;
  border-bottom:1px solid #f3cdda;
}

.summary-total{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:28px 0;
  font-weight:900;
  text-transform:uppercase;
}

.summary-total strong{
  color:#e7357c;
  font-size:28px;
}

.checkout-btn{
  width:100%;
  height:58px;
  border:none;
  border-radius:14px;
  background:#e7357c;
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:1.5px;
  text-transform:uppercase;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  transition:.3s ease;
}

.checkout-btn:hover{
  background:#c91f64;
  transform:translateY(-3px);
}

.checkout-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
}

.empty-cart{
  display:none;
  text-align:center;
  padding:70px 20px;
}

.empty-cart i{
  font-size:42px;
  color:#e7357c;
  margin-bottom:18px;
}

.empty-cart h3{
  font-size:24px;
  margin-bottom:8px;
}

.empty-cart p{
  color:#666;
}

@media(max-width:900px){
  .cart-layout{
    grid-template-columns:1fr;
  }

  .cart-headings{
    display:none;
  }

  .cart-item{
    grid-template-columns:1fr;
    gap:14px;
  }
}

@media(max-width:600px){
  .cart-page{
    width:calc(100% - 24px);
    padding:28px 0 45px;
  }

  .cart-header h1{
    font-size:46px;
  }

  .cart-card,
  .summary-card{
    padding:20px;
    border-radius:18px;
  }

  .cart-product{
    align-items:flex-start;
    gap:14px;
  }

  .cart-product img{
    width:92px;
    height:92px;
  }

  .cart-product h3{
    font-size:13px;
  }

  .cart-product p{
    font-size:12px;
  }

  .summary-total strong{
    font-size:24px;
  }
}