:root {
  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
}

body {
  background-color: var(--gray-100);
  color: var(--gray-900);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-dark {
  background-color: var(--gray-800);
  border: none;
  padding: 10px 20px;
  transition: all 0.3s;
}

.btn-dark:hover {
  background-color: var(--gray-900);
}

.badge {
  font-size: 0.9rem;
  padding: 5px 10px;
}

.text-gray {
  color: var(--gray-600);
}

.toast-notification {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #2c3e50;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 10000;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.error {
  background: #e74c3c;
}

.toast-icon {
  font-size: 20px;
}

.toast-message {
  font-size: 15px;
}

.cart-item-img {
  border-radius: 4px;
}

.cart-item {
  transition: background-color 0.2s;
}

.cart-item:hover {
  background-color: #f8f9fa;
}

.remove-item {
  transition: all 0.2s;
}

.remove-item:hover {
  transform: scale(1.1);
}

/* Стили для формы заказа */
.form-control {
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--gray-600);
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

.form-control::placeholder {
  color: var(--gray-500);
  opacity: 1;
}

/* Индикатор загрузки */
#orderSpinner {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}