* {
  box-sizing: border-box;
}

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

.header {
  background: #11162a;
  padding: 30px 15px;
  text-align: center;
}

.logo {
  height: 60px;
  margin-bottom: 10px;
}

.site-title {
  margin: 0;
}

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

.intro {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  opacity: 0.9;
}

.section-title {
  margin: 40px 0 20px;
}

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

.card {
  background: #171c33;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

.card img {
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
}

.old {
  text-decoration: line-through;
  opacity: 0.6;
}

.bonus {
  font-size: 12px;
  opacity: 0.8;
}

.price {
  font-size: 20px;
  margin: 10px 0;
}

button {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #4f7cff;
  color: #fff;
  cursor: pointer;
}

.note {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

.footer {
  background: #11162a;
  padding: 25px 15px;
  text-align: center;
  font-size: 13px;
}

.footer-actions {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-actions button {
  background: transparent;
  border: 1px solid #4f7cff;
  color: #4f7cff;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.footer-mail a {
  color: #6c8cff;
  text-decoration: none;
}

/* Модальные окна */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: #171c33;
  padding: 25px;
  border-radius: 12px;
  width: 320px;
}

.modal-box input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border-radius: 6px;
  border: none;
}

.scroll {
  max-height: 70vh;
  overflow-y: auto;
}
