.cart-page {
  max-width: 1000px;
    min-height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
}

.cart-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.cart-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual cart item */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.cart-item-info h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.cart-item-meta {
  font-size: 0.95rem;
  color: #666;
}

/* Action buttons */
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background: #eaeaea;
}

.remove-btn {
  border: none;
  background: #ffecec;
  color: #c62828;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.remove-btn:hover {
  background: #ffd6d6;
}

/* Footer */
.cart-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.checkout-btn {
  background: #1a73e8;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.checkout-btn:hover {
  background: #1558b0;
}

/* Empty cart */
.empty-cart {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-top: 60px;
}

/* Mobile */
@media (max-width: 700px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cart-item-actions {
    align-self: flex-end;
  }
}
