/* Стили для модального окна каталога */
.catalog-modal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80vh;
  background-color: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  overflow-y: auto;
}

.catalog-modal-content {
  padding: 20px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.catalog-items {
  margin-bottom: 20px;
}

.catalog-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
}

.item-info {
  display: flex;
  align-items: center;
}

.item-checkbox {
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

.item-quantity {
  display: flex;
  align-items: center;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 16px;
  cursor: pointer;
}

.quantity-input {
  width: 50px;
  height: 30px;
  text-align: center;
  margin: 0 5px;
  border: 1px solid #ddd;
}

.order-button {
  width: 100%;
  padding: 15px;
  background: #FFD700;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

/* Анимация появления */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.catalog-modal.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}