.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fab-actions {
  margin-top: 8px;
  display: none;
  flex-direction: column;
  align-items: flex-end;
}

.fab-actions.open {
  display: flex;
}

.fab-action-button {
  margin-top: 4px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  display: flex;
  justify-content: center; /* Keep the container centered horizontally */
  align-items: center;
  min-height: 100vh;
}

.container {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 32px;
  width: 90%;
  max-width: 960px;
}

.header {
  text-align: left; /* Align header text to the left */
  margin-bottom: 24px;
}

.header h1 {
  color: #333;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.header p {
  color: #666;
  font-size: 1.1rem;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  align-items: start; /* Align items to the start (top) of the grid cell */
}

.button {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center; /* Keep text inside the button centered */
  text-decoration: none;
  width: 100%; /* Make buttons take full width of their grid cell */
  display: inline-block; /* Ensure proper width calculation */
}

.button:hover {
  background-color: #0056b3;
}

.cart-button {
  background-color: #28a745;
}

.cart-button:hover {
  background-color: #1e7e34;
}

.primary-button {
  background-color: #6c757d;
}

.primary-button:hover {
  background-color: #545b62;
}

.secondary-button {
  background-color: #fd7e14;
}

.secondary-button:hover {
  background-color: #ca6f11;
}

.accent-button {
  background-color: #17a2b8;
}

.accent-button:hover {
  background-color: #117a8b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 24px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .button-grid {
    grid-template-columns: 1fr; /* Stack buttons on smaller screens */
  }

  .button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

.round-button {
  position: absolute; /* To position it outside the container */
  top: 20px; /* Adjust as needed for vertical positioning */
  right: 20px; /* Adjust as needed for horizontal positioning */
  background-color: #4caf50; /* Example background color */
  color: white;
  border: none;
  border-radius: 50%; /* Makes it round */
  padding: 15px 20px; /* Adjust padding for size */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow */
}

.round-button:hover {
  background-color: #45a049; /* Darker shade on hover */
}
