body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #fff;
  color: #333;
}
header {
  background-color: #f5f5f5;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}
.logo img {
  height: 50px;
}
.socials img {
  width: 30px;
  margin-left: 10px;
}
nav ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  background-color: #333;
  padding: 10px;
}
nav ul.menu li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
}
nav ul.menu li a:hover {
  background-color: #666;
}
nav ul.menu li ul.submenu {
  display: none;
  position: absolute;
  background-color: #444;
  list-style: none;
  padding: 0;
}
nav ul.menu li:hover ul.submenu {
  display: block;
}

/* Banner */
.banner {
  position: relative;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.slides { display: none; }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); }

/* Form */
.form-datlich {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 20px auto;
}
.form-datlich input, .form-datlich select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button {
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #45a049;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
  margin-top: 40px;
}

/* Animation */
.fade { animation: fade 1.5s; }
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


.category-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.category-menu a {
  background: #ff6b81;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.category-menu a:hover {
  background: #ff4757;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 20px 0 50px;
}

.product-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.product-item h4 {
  font-size: 16px;
  margin: 10px 0 5px;
}

.product-item p {
  color: #ff4757;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-item button {
  background: #ff6b81;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-item button:hover {
  background: #ff4757;
}
