/* ===== Cart Page ===== */

.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 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.cart-container {
  background: #f2f5f8;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 22px 26px;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
}

.cart-item-info h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.cart-item-meta {
  color: #555;
  font-size: 0.95rem;
}

.cart-item-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #0077b6;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.qty-btn:hover {
  background: #1f4568;
}

.remove-btn {
  background: transparent;
  border: none;
  color: #c0392b;
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-footer {
  text-align: right;
  margin-top: 40px;
}

.checkout-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #0077b6;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background: #1f4568;
  transform: translateY(-2px);
}

.empty-cart {
  text-align: center;
  font-size: 1.2rem;
  color: #777;
  margin-top: 80px;
}

/* Responsive */
@media (max-width: 650px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .cart-footer {
    text-align: center;
  }
}
