    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

    body {
      margin: 0;
      padding: 0;
      background: #121212;
      color: #E0E0E0;
      font-family: 'Inter', sans-serif;
    }

    a {
      color: #FFD600;
      text-decoration: none;
      transition: color .3s;
    }

    a:hover {
      color: #BFA500;
    }

    nav {
      background: #1E1E1E;
      padding: 1rem 2rem;
      box-shadow: 0 4px 16px rgba(255,214,0,.25);
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 1000;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      height: 40px;
      width: auto;
      margin-right: 12px;
      filter: brightness(1.1) contrast(1.2);
    }

    .logo span {
      font-size: 1.8rem;
      font-weight: 900;
      letter-spacing: 0.1em;
      color: #FFD600;
      text-transform: uppercase;
    }

    .nav-controls {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .search-form {
      position: relative;
      width: 280px;
    }

    .search-form input {
      width: 100%;
      padding: .6rem 1.6rem;
      border: none;
      border-radius: 50px;
      background: #121212;
      color: #E0E0E0;
      font-size: 1rem;
      box-shadow: inset 0 0 10px rgba(255,214,0,.5);
    }

    .search-form input:focus {
      outline: none;
      box-shadow: 0 0 14px #FFD600;
      background: #1E1E1E;
    }

    .search-form button {
      position: absolute;
      right: 5px;
      top: 50%;
      transform: translateY(-50%);
      background: #FFD600;
      border: none;
      border-radius: 50px;
      color: #121212;
      font-weight: 700;
      padding: .45rem 1.2rem;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(255,214,0,.4);
      transition: background .3s;
    }

    .search-form button:hover {
      background: #BFA500;
    }

    .btn-cart {
      background: #2E2E2E;
      border: none;
      border-radius: 50%;
      padding: .6rem;
      font-size: 1.2rem;
      color: #FFD600;
      cursor: pointer;
      box-shadow: 0 3px 10px rgba(255,214,0,.3);
      transition: transform .2s;
      position: relative;
    }

    .btn-cart:hover {
      transform: scale(1.05);
    }

    .cart-badge {
      position: absolute;
      top: 0;
      right: 0;
      background: #FF0000;
      color: #fff;
      font-size: .7rem;
      padding: 2px 5px;
      border-radius: 8px;
    }

    .container-main {
      max-width: 1280px;
      margin: 2rem auto;
      padding: 0 1rem;
    }

.products {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 1400px;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}

    .product-card {
      background: #1E1E1E;
      border-radius: 18px;
      box-shadow: 0 14px 28px rgba(255,214,0,.3);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform .4s, box-shadow .4s;
      cursor: pointer;
      width: 320px;
      height: 540px;
      flex-shrink: 0;
      flex-grow: 0;
    }

    .product-card:hover {
      transform: translateY(-14px);
      box-shadow: 0 28px 48px rgba(255,214,0,.6);
    }

.product-image {
  height: 240px;
  width: 100%;
  object-fit: contain;
  background: #121212;
  transition: opacity .45s ease-in-out;
}

    .product-card:hover .product-image {
      transform: scale(1.08);
    }

    .product-info {
      padding: 1.8rem 2.2rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .product-name {
      font-size: 1.3rem;
      font-weight: 900;
      color: #FFD600;
      margin-bottom: .4rem;
    }

    .product-model {
      font-size: 1rem;
      font-weight: 600;
      color: #A3A3A3;
      margin-bottom: 1rem;
    }

    .product-description {
      font-size: 1rem;
      color: #E0E0E0;
      margin-bottom: 1.5rem;
      line-height: 1.4;
      flex-grow: 1;
    }

    .product-price {
      font-size: 1.5rem;
      font-weight: 900;
      color: #FFD600;
      margin-bottom: 1.5rem;
    }

    .btn-detail {
      padding: .6rem 2.5rem;
      border: 3px solid #FFD600;
      background: transparent;
      color: #FFD600;
      font-weight: 800;
      font-size: 1.1rem;
      border-radius: 50px;
      transition: background .35s, color .35s;
    }

    .btn-detail:hover {
      background: #FFD600;
      color: #121212;
    }

    footer {
      background: #121212;
      color: #707070;
      text-align: center;
      padding: 3rem 1rem;
      font-size: .9rem;
      border-top: 1px solid rgba(255,214,0,.2);
    }

    footer a {
      margin: 0 .5rem;
      color: #FFD600;
    }

    footer a:hover {
      color: #BFA500;
    }

    /* Фильтр-кнопка под шапкой */
    .filter-btn-container {
      text-align: center;
      margin: 1.5rem 0 0 0;
    }
.btn-filter-open {
  background: #FFD600;
  color: #121212;
  border: none;
  padding: .6rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  box-shadow: 0 5px 18px rgba(255,214,0,.5);
  cursor: pointer;
  transition: background .3s;
}

.btn-filter-open:hover {
  background: #BFA500;
}

    @media (max-width: 768px) {
      .search-form {
        width: 100%;
        margin-bottom: 0.7rem;
      }
      .container-main {
        margin: 1rem auto;
        padding: 0 1rem;
      }
    }
    @media (min-width: 1400px) {
  .products {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .product-card {
    width: 45%;
  }
}

@media (max-width: 576px) {
  .product-card {
    width: 100%;
  }
}

/*стили для страницы карточки товара*/
.product-view {
  display: flex;
  gap: 2rem;
  position: relative;
}
.product-slider {
  flex: 0 0 50%;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}
.product-slider img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.product-info-block {
  flex: 1;
  max-width: 50%;
}
.btn-cart-page {
  margin-top: 1.5rem;
  background: #FFD600;
  color: #121212;
  padding: .8rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .product-view {
    flex-direction: column;
  }
  .product-slider, .product-info-block {
    max-width: 100%;
    position: static;
  }
}
.card-link-wrapper {
  display: block;
}

.card-link-wrapper:hover .product-card {
  transform: translateY(-14px);
  box-shadow: 0 28px 48px rgba(255, 214, 0, 0.6);
}

.card-link-wrapper .btn-detail {
  display: inline-block;
  padding: .6rem 2.5rem;
  border: 3px solid #FFD600;
  background: transparent;
  color: #FFD600;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: background .35s, color .35s;
}

.card-link-wrapper .btn-detail:hover {
  background: #FFD600;
  color: #121212;
}

.hero {
  position: relative;
  background-image: url('back.jpeg'); /* путь к твоему фону */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /*z-index: 1;*/
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  /*z-index: 2;*/
}

.hero-content {
  position: relative;
  /*z-index: 3;*/
  color: #FFD600;
  text-align: center;
  padding: 2rem;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #E0E0E0;
}

.btn-filter-open.reset-btn:hover {
  background: #BFA500;
  color: #121212;
}



