body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: #f6f7f9;
  color: #222;
  line-height: 1.6;
}

/* Контейнер */
.container {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
}

/* ========== ШАПКА ========== */
header {
  background-color: #ffffffcc;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e1e4e8;
}

header .container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 10px 0;

}

header h1 {
  font-size: 0.9rem; /* Уменьшил размер логотипа еще больше */
  letter-spacing: 0.6px;
  color: #000000;
  margin: 0;
  font-weight: 60;
}

.navbar {
  font-weight: 700;
  font-size: 0.9rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
  font-size: 0.9rem;
}

nav a:hover {
  color: #5a7bcf;
}

/* ========== ОСНОВНОЙ КОНТЕНТ ========== */
main {
  padding: 40px 0;
}

main h2 {
  text-align: center;
  color: #283048;
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ========== КАТАЛОГ ========== */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 15px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 3px 15px rgba(0, 20, 50, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ebef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 40, 100, 0.08);
}

/* Фото товаров */
.product-card img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-card h3 {
  font-size: 1rem;
  color: #1f2937;
  margin: 4px 0 6px;
}

.product-card p {
  color: #555;
  font-size: 0.85rem;
  margin: 5px 0;
}

.product-card .price {
  color: #4a67c7;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 10px 0;
}

/* Кнопки */
.product-card button {
  background: linear-gradient(135deg, #6d8ee8, #5776c9);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 3px 10px rgba(87, 118, 201, 0.2);
  margin-top: auto;
}

.product-card button:hover {
  background: linear-gradient(135deg, #809ef0, #6483d4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(87, 118, 201, 0.25);
}

/* ========== ФУТЕР ========== */
footer {
  margin-top: 60px;
  text-align: center;
  color: #888;
  font-size: 0.85rem;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }

  header h1 {
    font-size: 0.8rem; /* Уменьшил логотип на мобильных */
  }

  nav ul {
    gap: 8px;
  }

  main h2 {
    font-size: 1.4rem;
  }

  .product-card {
    padding: 15px;
  }

  .product-card img {
    max-width: 160px;
    height: 160px;
  }
  
  nav a {
    font-size: 0.85rem;
  }
}
.fixed-image {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 220px;
      height: 130px;
      z-index: 1001;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
      border: 2px solid #fff;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      object-fit: cover;
      background: white;
      padding: 3px;
    }

    .fixed-image:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    /* Остальные стили сайта */
    body {
      margin: 0;
      font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
      background-color: #f6f7f9;
      color: #222;
      line-height: 1.6;
      min-height: 200vh; /* Для демонстрации скролла */
    }

    .container {
      width: 90%;
      max-width: 1300px;
      margin: 0 auto;
    }

    header {
      background-color: #ffffffcc;
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid #e1e4e8;
    }

    header .container {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 10px 0;
      gap: 25px;
    }

    /* Адаптивность для мобильных */
    @media (max-width: 768px) {
      .fixed-image {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
        border-radius: 8px;
      }
    }

    /* Для очень маленьких экранов */
    @media (max-width: 480px) {
      .fixed-image {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
      }
    }