body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffef8;
  color: #222;
}

header {
  background-color: #fff3cd;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 60px 0;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffc107;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 15px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #e0a800;
}

.catalog {
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.item {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 12px;
  background-color: #fff;
  max-width: 300px;
  flex: 1 1 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.item h3 {
  margin-top: 0;
}

.item input {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.item button {
  width: 100%;
  padding: 10px;
  background-color: #ffc107;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.item button:hover {
  background-color: #e0a800;
}

.cart {
  padding: 30px;
}

.cart-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.cart-list {
  margin-bottom: 20px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.cart-actions button {
  margin-left: 5px;
  background: #f8f9fa;
  border: 1px solid #ccc;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.cart-actions button:hover {
  background: #e2e6ea;
}

.cart-summary {
  margin-top: 30px;
  font-size: 18px;
  font-weight: bold;
}

.checkout-btn {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background 0.3s;
}

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

.order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.order-form input,
.order-form textarea {
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.order-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Всплывающее уведомление */
#notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 999;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}
.item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

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