/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 
.nla_hp_rating {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nla_hp_rating svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nla_hp_rating span {
  margin-left: 10px;
  line-height: 30px;
  padding: 0 15px;
  background: white;
  font-weight: 600;
  border-radius: 50px;
}

.nla_hp_sticker-group {
  display: flex;
  gap: 10px;
}

.nla_hp_sticker-group--item {
  padding: 0 15px;
  height: 30px;
  background: #fff9;
  border-radius: 50px;
  display: flex;
  align-items: center;
  font-size: 13px;
}

.nla_hp_sticker-group--item svg {
  width: 1em;
  height: 1em;
  display: block;
  margin-right: 5px;
}

.nla_hp_brands {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-item {
  background: white;
  border-radius: 0px;
  padding: 20px;
  border: 1px solid #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2/1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: content-box;
}

.brand-item:hover {
  /*
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  */
}

.brand-logo {
  max-width: 160px;
  width: 100%;
  height: 80%;
  object-fit: contain;
  display: block;
}

/* Демонстрационные SVG логотипы */
.logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

/* Планшеты - 3 колонки */
@media (max-width: 1024px) {
  .nla_hp_brands {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

/* Телефоны - 2 колонки */
@media (max-width: 768px) {
  .nla_hp_brands {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .brand-item {
    padding: 15px;
  }

  .logo-placeholder {
    font-size: 12px;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .nla_hp_brands {
    gap: 20px;
  }

  .brand-item {
    padding: 15px;
  }
}
