.cart{
  min-height: 100vh;
  text-align: center;

}.cart-items{
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
  width: 90%;
}

.cart-item{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;

}

.cart-image{
  width: 210px;
  height: 210px;
  overflow: hidden;
  border-radius: 10px;
}

.cart-item-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close-modal{
  position: absolute;
  top: 10px;
  right: 10px;

  background: none;
  border: none;
  color: #777;
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;

  transition: color .2s ease, transform .15s ease;
}

.close-modal:hover{
  color: #000;
  transform: scale(1.1);
}

.qty-controls{
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
}

.qty-btn{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: black;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.qty-value{
  font-size: 1.2rem;
  font-weight: 700;
}

.subtotal span{
  font-size: 1.9rem;
  font-weight: 800;
}
.pay-container{
  margin-top: 10px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}

.button-payment{
  background: #2e7d32;   
  color: white;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;

  transition: background .2s ease, transform .15s ease;
}

.button-payment:hover{
  background: #256428; 
  transform: translateY(-1px);
}


.cart-summary{
  padding: 20px;
  border-top: 2px solid #ddd;
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 700;
}
