/* Жалпы стили */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #4caf50;
    color: white;
}

header .logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

/* Навигация */
.navbar {
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 10px 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

/* Гамбургер меню */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Адаптивдүүлүк */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #4caf50;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Продукттарды көрсөтүү */
.products {
  width: 100%;
  padding-top: 20px;
  color: #000;
}

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

.product-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-item {
  max-width: 150px;
  max-height: 300px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-img {
  max-width: 100px;
  min-width: 50px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.product-name {
  font-size: 18px;
  margin: 10px 0;
}

.product-description {
  max-width: 90%;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.product-price {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-item>button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  bottom: 0;
}

.product-item>button:hover {
  background-color: #0056b3;
}

.product-item>button>img {
  height: 16px;
  width: 16px;
}
/* Модалдык терезе стили */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.modal-content h3 {
  margin-bottom: 10px;
}

.modal-content input {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
}

.modal-content .confirm-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content .confirm-btn:hover {
  background-color: #0056b3;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #aaa;
}

@media (max-width: 480px) {
  .modal-content {
    width: 50%;
  }
      }
