/* Значки соцсетей внизу */
.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.social-links img {
  height: 54px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin: 0 8px;
  vertical-align: middle;
  transition: transform 0.2s;
}
.social-links img:hover {
  transform: scale(1.1);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f7f7f7;
  color: #222;
  scroll-behavior: smooth;
}

header {
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 3rem;
}

header img.logo {
  height: 80px;
  margin-right: 2rem;
  transition: transform 0.3s ease;
}
header img.logo:hover { transform: scale(1.05); }

nav { display: flex; align-items: center; }
nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.8rem;
  font-weight: 500;
}
nav a:hover { color: #ffcc00; }
.phone-link { color: #ffcc00; margin-left: 2rem; font-weight: 600; text-decoration: none; }
.phone-link:hover { color: #fff; }

#hero { background: linear-gradient(120deg, #111, #333); color: #fff; text-align: center; padding: 0.5rem 1rem; }
#hero h1 { font-size: 1.8rem; margin-bottom: 1rem; }
#hero .btn { display: inline-block; background: #ffcc00; color: #111; padding: 0.8rem 1.6rem; text-decoration: none; font-weight: bold; border-radius: 8px; transition: background 0.3s; }
#hero .btn:hover { background: #e6b800; }

.price {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: #ffcc00;
  color: #111;
  font-weight: bold;
  font-size: 1.4rem;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  min-width: 60%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 2;
  margin: 0;
  text-align: center;
}

section { padding: 1.2rem 2rem; text-align: center; }

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 300px;
  padding: 1rem;
  transition: transform 0.3s;
  position: relative;
}
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; border-radius: 8px; }

.contact-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.contact-buttons a { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; padding: 0.8rem 1.2rem; border-radius: 8px; text-decoration: none; font-weight: 500; }
.whatsapp { background: #25d366; }
.telegram { background: #0088cc; }
.contact-buttons img { width: 50px; height: 36px; }

footer { background: #111; color: #ccc; text-align: center; padding: 1rem; font-size: 0.9rem; }

/* Адаптивная версия для мобильных */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  nav a, .phone-link {
    margin: 0.5rem 0;
    font-size: 1rem;
    display: block;
    width: 100%;
  }
  header img.logo {
    height: 54px;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  .social-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .social-links a img {
    height: 54px;
    max-width: 140px;
  }
  .cards {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .card {
    max-width: 100%;
    margin: 0 auto;
  }
  section {
    padding: 1rem 0.5rem;
  }
}

/* ...старое содержимое... */

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-detail {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 2rem auto;
  max-width: 800px;
  padding: 2rem;
  text-align: left;
}
.product-detail h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.product-gallery {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.product-gallery img {
  width: 220px;
  border-radius: 8px;
  object-fit: cover;
  background: #eee;
}
.order-btn {
  display: block;
  margin: 1.5rem auto 0 auto;
  padding: 0.8rem 2rem;
  background: #ffcc00;
  color: #111;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.order-btn:hover {
  background: #e6b800;
  color: #fff;
}

/* ...остальное содержимое... */

#scrollTopBtn {
  display: none;
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1000;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 4px 16px rgba(24,99,184,0.22);
  /* Кнопка больше */
  width: 48px;
  height: 48px;
}

#scrollTopBtn.show {
  display: block;
  opacity: 0.8;
}

#scrollTopBtn:hover {
  opacity: 1;
}

#scrollTopBtn:hover svg circle {
  fill: #0f3975;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
  header {
    padding: 0.5rem 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  header img.logo {
    height: 60px;
    margin-right: 0;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
  }
  
  nav a {
    margin-left: 0.5rem;
    font-size: 0.9rem;
  }
  
  .phone-link {
    margin-left: 0.5rem !important;
    order: -1;
    background: #ffcc00;
    color: #111 !important;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: fit-content;
  }
  
  #hero h1 {
    font-size: 1.4rem;
  }
  
  section {
    padding: 1rem;
  }
  
  .cards {
    gap: 1rem;
  }
  
  .card {
    max-width: 100%;
    margin: 0 0.5rem;
  }
  
  .price {
    font-size: 1.2rem;
    min-width: 80%;
  }
  
  .product-gallery {
    justify-content: center;
  }
  
  .product-gallery img {
    width: 180px;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .social-links img {
    height: 40px;
    margin: 0 4px;
  }
}

@media screen and (max-width: 480px) {
  header {
    padding: 0.5rem;
  }
  
  header img.logo {
    height: 50px;
  }
  
  nav a {
    font-size: 0.8rem;
    margin-left: 0.3rem;
  }
  
  .phone-link {
    font-size: 0.8rem !important;
    padding: 0.25rem 0.6rem !important;
    margin-left: 0.3rem !important;
  }
  
  #hero h1 {
    font-size: 1.2rem;
  }
  
  .card {
    margin: 0;
  }
  
  .product-gallery img {
    width: 150px;
  }
  
  .price {
    font-size: 1rem;
  }
  
  .social-links img {
    height: 35px;
  }
}