* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

.app {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.app-header h1 {
  font-size: 2.5rem;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.category {
  color: #94a3b8;
  font-size: 1.1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.availability {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.availability.available {
  background: #10b981;
  color: #fff;
}

.availability.unavailable {
  background: #ef4444;
  color: #fff;
}

.btn-primary {
  padding: 0.875rem 1.5rem;
  background: #3b82f6;
  border: none;
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #2563eb;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.main-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.info-card h2 {
  color: #f8fafc;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.description {
  color: #cbd5e1;
  font-size: 1.125rem;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pricing-item {
  background: #0f172a;
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-label {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
}

.pricing-value {
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-value.price {
  color: #10b981;
}

.pricing-value.cost {
  color: #ef4444;
}

.pricing-value.margin {
  color: #3b82f6;
}

.allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.allergen-badge {
  padding: 0.625rem 1rem;
  background: #7f1d1d;
  color: #fca5a5;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.modifiers-panel {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: fit-content;
}

.modifiers-panel h2 {
  color: #f8fafc;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.modifier-group {
  margin-bottom: 1.5rem;
}

.modifier-group:last-child {
  margin-bottom: 0;
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.group-header h3 {
  color: #f8fafc;
  font-size: 1.125rem;
}

.required-badge {
  padding: 0.25rem 0.625rem;
  background: #fbbf24;
  color: #78350f;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modifiers-list {
  background: #0f172a;
  border-radius: 0.5rem;
  overflow: hidden;
}

.modifier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #334155;
}

.modifier-row:last-child {
  border-bottom: none;
}

.modifier-name {
  color: #cbd5e1;
  font-size: 0.9375rem;
}

.modifier-price {
  color: #10b981;
  font-weight: 600;
  font-size: 0.875rem;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: #94a3b8;
  font-size: 1.1rem;
}
