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

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

.logo { height: 50px; }

.btn {
  background: #222;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 6px;
}

.btn.big { font-size: 18px; }
.btn.small { font-size: 14px; }

.hero {
  padding: 60px 20px;
  text-align: center;
  background: #f4f4f4;
}

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

.catalog {
  padding: 40px;
  background: #fafafa;
}

.catalog h2 { text-align: center; }

.card {
  background: #fff;
  padding: 20px;
  margin: 20px auto;
  max-width: 300px;
  border-radius: 10px;
  text-align: center;
}

.showroom {
  padding: 40px;
  text-align: center;
}

.footer {
  padding: 20px;
  text-align: center;
  background: #222;
  color: #fff;
}

.footer a { color: #fff; }

.tg-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #0088cc;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
}
.gallery {
  padding: 40px;
  background: #f7f7f7;
  text-align: center;
}

.gallery h2 {
  margin-bottom: 30px;
}

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

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
}
/* Фикс больших фото в галерее */
.gallery-grid img {
  width: 100%;
  max-width: 320px;
  height: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
max-width: 260px;
height: 180px;
.catalog {
  padding: 50px 20px;
  background: #f7f7f7;
  text-align: center;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.product {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.product img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fff;
  margin-bottom: 15px;
}

.product h3 {
  margin: 10px 0;
}

.product p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.product strong {
  display: block;
  margin: 10px 0;
  font-size: 16px;
}
/* Слайдер в карточке */
.slider {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 15px;
}

.slides img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: none;
  cursor: pointer;
}

.slides img.active {
  display: block;
}

/* Кнопки */
.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

.slider .prev { left: 8px; }
.slider .next { right: 8px; }
.slider button {
  opacity: 0.7;
}
.slider button:hover {
  opacity: 1;
}
.logo-link {
  display: inline-block;
}

.logo-link:hover {
  opacity: 0.85;
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
html {
  scroll-behavior: smooth;
}
.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}
.nav a:hover {
  text-decoration: underline;
}
.model-detail {
  padding: 50px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.details {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}
.builders {
  padding: 60px 20px;
  background: #222;
  color: #fff;
  text-align: center;
}

.builders ul {
  list-style: none;
  padding: 0;
}

.builders li {
  margin: 8px 0;
}
.hero {
  background: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/shop.jpg") center / cover no-repeat;
  color: #fff;
}
