/* Arrangement Cards Grid */
#featured-arrangements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

/* 3 columns */
@media (min-width: 1200px) {
  #featured-arrangements {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
  #featured-arrangements {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 columns */
@media (max-width: 767px) {
  #featured-arrangements {
    grid-template-columns: 1fr;
  }
}

/* Arrangement Card Styles */
.arrangement {
  background-color: var(--background-color);
  border: 2px solid var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.arrangement:hover {
  transform: scale(1.05);
}

.arrangement h3 {
  font-size: 1.2rem;
  color: var(--header-color);
}

.arrangement p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.arrangement img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 3px solid var(--primary-color);
}

/* Cart Styling */
#cart {
  margin-top: 50px;
  background-color: #f8d7a1;
  padding: 20px;
  border-radius: 10px;
}

#cart-items {
  list-style-type: none;
  padding: 0;
}

#cart-items li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 1.2rem;
  color: var(--text-color);
  border-bottom: 1px solid var(--secondary-color);
}

#cart-items li button {
  align-self: flex-end;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  margin-top: 10px;
}

#cart-items li button:hover {
  background-color: var(--secondary-color);
  transition: background-color 0.3s, color 0.3s;
}

#cart-total {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  text-align: right;
}

/* Order Form */
#order {
  display: none;
  margin: 20px 0;
}

#order-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #f8d7a1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

#order-form label {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 5px;
}

#order-form input,
#order-form select,
#order-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Place Order Button */
#order-form button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  text-align: center;
  margin: 5px;
}

#order-form button:hover {
  background-color: var(--secondary-color);
}

.phone-number {
  color: var(--text-color);
}
