
/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* General Body Style */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F4CBA0;
  color: #333;
}

/* Centered container box */
.container {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Plus and Minus buttons */
.quantity-button {
  background-color: black;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  box-shadow: 0 0 0 2px black;
}

.quantity-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px black, 0 0 10px rgba(0, 0, 0, 0.3);
}






/* Buttons and Next button */
button, .next-btn {
  background-color: black;
  color: white;
  border: 2px solid black;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
button:hover, .next-btn:hover {
  background-color: white;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Payment option styles */
.payment-option {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid #ccc;
  border-radius: 12px;
  margin: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 600;
}

.payment-option:hover {
  border-color: #ff4e50;
  background: #ffe7e0;
  box-shadow: 0 6px 20px rgba(255, 78, 80, 0.2);
  transform: scale(1.05);
}

/* Cart item styling */
.cart-item {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f8f8;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Total price section */
#total-price {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 1rem;
}
.payment-option {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid #ccc;
  border-radius: 12px;
  margin: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 600;
  background: white;
}

/* Hover style */
.payment-option:hover {
  border-color: #ff4e50;
  background: #ffe7e0;
  box-shadow: 0 6px 20px rgba(255, 78, 80, 0.2);
  transform: scale(1.05);
}

/* Selected style using only CSS */
.payment-option input[type="radio"]:checked + span {
  border: 2px solid #4CAF50;
  background: #e6ffe6;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.3);
  padding: 1rem 2rem;
  border-radius: 12px;
  display: inline-block;
  transform: scale(1.05);
}

/* drop down ice cream */
select {
  background-color: black;
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  padding: 0.5rem 2.5rem 0.5rem 1rem; /* Extra right padding for space */
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;

  /* Custom arrow icon aligned further right */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14l-4.796-5.482C1.885 5.018 2.33 4 3.204 4h9.592c.874 0 1.319 1.018.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center; /* More to the right */
  background-size: 1rem;
}

select:focus {
  outline: none;
  border-color: #ccc;
  background-color: white;
  color: black;
}
button, input, select {
  font-size: 16px;
}
