body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f4f6;
  color: #111827;
}

header {
  background: #0a3d62;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
}

header .logo {
  height: 40px;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

nav a:hover {
  color: #3b82f6;
}

.hero {
  height: 80vh;
  background: linear-gradient(rgba(10,61,98,0.8), rgba(10,61,98,0.8)), url('placeholder.jpg') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.btn {
  background: #3b82f6;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 20px;
  display: inline-block;
}

.btn:hover {
  background: #1e3a8a;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.product-img {
  width: 300px;
  display: block;
  margin: 20px auto;
}

.specs {
  border-collapse: collapse;
  width: 60%;
  margin: 20px auto;
}

.specs td {
  border: 1px solid #ccc;
  padding: 8px;
}

footer {
  background: #0a3d62;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}

/* 📸 Галерея фото */
.product-gallery {
  text-align: center;
  margin: 20px 0;
}

.main-photo img {
  border: 2px solid #ccc;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.thumbnails {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnails img {
  width: 100px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: 0.3s;
}

.thumbnails img:hover {
  border: 2px solid #0073e6;
}