.ordering-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.menu-section {
  margin-bottom: 40px;
}

.category-section {
  margin-bottom: 30px;
}

.category-section h2 {
  color: #d4572a;
  border-bottom: 2px solid #d4572a;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.category-description {
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
}

.plats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.plat-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.plat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.plat-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.plat-info {
  padding: 15px;
}

.plat-info h3 {
  margin: 0 0 10px 0;
  color: #333;
}

.plat-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #d4572a;
  margin-bottom: 5px;
}

.stock {
  font-size: 12px;
  color: #888;
  margin-bottom: 15px;
}

.quantity-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quantity-input {
  width: 60px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.cart-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

.cart-section h2 {
  color: #333;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: white;
  border-radius: 4px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.item-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.item-name {
  font-weight: 500;
}

.item-quantity {
  color: #666;
  font-size: 14px;
}

.item-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.item-price {
  font-weight: bold;
  color: #d4572a;
}

.cart-total {
  text-align: right;
  font-size: 20px;
  color: #333;
  padding: 20px 0;
  border-top: 2px solid #d4572a;
  margin: 20px 0;
}

.order-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.order-form h3 {
  color: #333;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-control {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-control:focus {
  outline: none;
  border-color: #d4572a;
  box-shadow: 0 0 0 2px rgba(212, 87, 42, 0.2);
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #d4572a;
  color: white;
}

.btn-primary:hover {
  background-color: #b8481f;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

.btn-success:hover {
  background-color: #218838;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.empty-cart {
  text-align: center;
  padding: 40px;
  color: #666;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

@media (max-width: 768px) {
  .plats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .item-actions {
    width: 100%;
    justify-content: space-between;
  }
}
