/* --- General Page Styles --- */
body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: #f5f5f5;
  color: #222;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  margin: 30px 0 10px 0;
  font-size: 2rem;
  color: #333;
}

/* --- Navbar --- */
.navbar1 {
  background-color: #ffffff;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar1 a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

.navbar1 a:hover {
  color: grey; /* accent color */
}

/* --- Checkout Cart Container --- */
.checkout-cart {
  max-width: 800px;
  margin: 30px auto 20px auto;
  background-color: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.checkout-cart p {
  margin: 0;
}

/* --- Cart Items --- */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item strong {
  font-size: 1rem;
  color: #222;
}

/* --- Remove Button --- */
.remove-cart-btn {
  background-color: #ff4d4d;
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.remove-cart-btn:hover {
  background-color: #e60000;
  transform: scale(1.05);
}

/* --- Total Price --- */
.checkout-total {
  text-align: center;
  font-size: 1.3rem;
  margin: 25px 0;
  font-weight: 500;
}

/* --- PayPal Button Container --- */
#paypal-checkout-buttons {
  max-width: 400px;
  margin: 20px auto 40px auto;
  display: flex;
  justify-content: center;
}

/* --- Checkout Page Buttons (if needed elsewhere) --- */
.checkout-cart button {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* --- Scrollbar Fix & Responsive --- */
@media (max-width: 600px) {
  .checkout-cart {
    padding: 20px;
    margin: 20px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .remove-cart-btn {
    margin-top: 8px;
  }

  h1 {
    font-size: 1.8rem;
    margin: 20px 0;
  }
}

