/* Reset & base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fefff2;
}

/* Layout container */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

/* Menu card */
.menu {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Typography */
h1 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.1rem;
  margin: 12px 0;
}

/* Inputs */
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

/* Drink buttons */
.drinks {
  display: grid;
  gap: 10px;
}

.drinks button {
  padding: 14px;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  background: #eff7d6;
  cursor: pointer;
}

/* Customize grid */
.grid {
  display: grid;
  gap: 8px;
}

/* Order section */
.order {
  margin-top: 16px;
}

.order button {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 16px;
  border: none;
  background: #d7dbb4;
  cursor: pointer;
}

/* Desktop & laptop enhancements */
@media (min-width: 768px) {
  .menu {
    max-width: 520px;
    padding: 28px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .drinks button:hover {
    background: #f4dab6;
    transform: translateY(-1px);
  }

  .order button:hover {
    background: #d6a39a;
  }
}

/* Selected drink button */
.drinks button.selected {
  background: #e4f4b6;
  box-shadow: inset 0 0 0 2px #d8a78f;
  transform: scale(0.98);
}

/* Tap feedback (mobile) */
.drinks button:active {
  transform: scale(0.96);
}

/* Drink cards */
.drink-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

/* Ingredients hidden by default */
.ingredients {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  font-size: 0.9rem;
  color: #555;
  background: #fff0f5;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

/* Expanded state */
.drink-card.expanded .ingredients {
  max-height: 80px;
  padding: 10px 14px;
}

/* Selected button still darkens */
.drinks button.selected {
  background: #f4b6c2;
  box-shadow: inset 0 0 0 2px #d88fa3;
}

/* Button animation */
.drinks button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.15s ease;
}
