/* ========== Hero-баннер вверху страницы с общим фото ассортимента ========== */
.hero-assortment {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #161616 50%, #0a0a0a 100%);
  padding: 80px 0;
  overflow: hidden;
}
.hero-assortment-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(68, 214, 44, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 214, 44, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: heroGridMove 22s linear infinite;
  z-index: 1;
}
@keyframes heroGridMove {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
.hero-assortment .container { position: relative; z-index: 2; }
.hero-assortment-text { color: #fff; }
.hero-assortment-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #44D62C;
  background: rgba(68, 214, 44, 0.1);
  border: 1px solid rgba(68, 214, 44, 0.35);
  border-radius: 30px;
}
.hero-assortment-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: #fff;
}
.hero-assortment-subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 28px;
  max-width: 520px;
}
.hero-assortment-image { text-align: center; }
.hero-assortment-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(68, 214, 44, 0.3);
}
@media (max-width: 991px) {
  .hero-assortment { padding: 60px 0; text-align: center; }
  .hero-assortment-subtitle { margin-left: auto; margin-right: auto; }
  .hero-assortment-image { margin-top: 36px; }
  .hero-assortment-title { font-size: 42px; }
}
@media (max-width: 575px) {
  .hero-assortment { padding: 45px 0; }
  .hero-assortment-title { font-size: 32px; }
  .hero-assortment-subtitle { font-size: 16px; }
  .hero-assortment-image img { border-radius: 14px; }
}

/* ========== Карточки товара: 3 в ряд на десктопе, центровка, больше картинки без обрамления ========== */
@media (min-width: 1024px) {
  .products-gallery {
    grid-template-columns: repeat(2, minmax(0, 500px));
    justify-content: center;
    gap: 36px;
    max-width: 1100px;
  }
  .products-gallery-image { height: 460px; }
  .products-gallery-item { display: flex; flex-direction: column; }
  /* Описание всегда видно под картинкой — не оверлей */
  .products-gallery-info {
    position: static !important;
    transform: none !important;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a) !important;
    padding: 22px 24px 26px !important;
    border-radius: 0 0 16px 16px;
  }
  .products-gallery-item:hover .products-gallery-info { transform: none !important; }
  .products-gallery-item:nth-child(9),
  .products-gallery-item:nth-child(10) { grid-column: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .products-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
  }
  .products-gallery-image { height: 340px; }
  .products-gallery-info {
    position: static !important;
    transform: none !important;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a) !important;
    padding: 18px !important;
    border-radius: 0 0 16px 16px;
  }
  .products-gallery-item:hover .products-gallery-info { transform: none !important; }
}
@media (max-width: 767px) {
  .products-gallery-image { height: 300px; }
}
/* Картинка без обрамления, занимает всю область карточки */
.products-gallery-image img {
  object-fit: cover !important;
  object-position: center !important;
  filter: none !important;
}
.products-gallery-item:hover .products-gallery-image img {
  filter: none !important;
  transform: scale(1.05) !important;
}
