/*
 * ОФОРМЛЕНИЕ ЛЕНТЫ КАРТОЧЕК.
 *
 * Раньше эти стили лежали в styles/order_cards.css — отдельно от самой
 * разметки. Теперь они внутри компонента: переносите папку cards-strip
 * целиком, и оформление едет вместе с ней.
 *
 * Подключается общим списком в components/assets.php:
 *   <link rel="stylesheet" href="/components/cards-strip/cards-strip.css" />
 */

.a-set-of-cards__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(#d7e0ff, #ede3f5);
  border-radius: 20px;
  padding: 30px;
}

.a-set-of-cards__header-container {
  grid-column: 1 / -1;
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.a-set-of-cards__header-container h2 {
  font-size: 22px;
  font-weight: bold;
  color: inherit;
  margin: 0;
}

.a-set-of-cards__card-icon {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.a-set-of-cards__card-heading h3 {
  font-family: SB-Sans, sans-serif;
  font-size: 19px;
  line-height: 1.2;
  color: #5a1a8b;
}

.a-set-of-cards__card-heading .grey {
  font-size: 12px;
  color: #888;
}

.icon_image {
  width: 25px;
  height: auto;
  margin-bottom: 5px;
}

.icon-size {
  font-size: 22px;
  margin-bottom: 5px;
}

/* Адаптация для планшетов */
@media (max-width: 900px) {
  .a-set-of-cards__container {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .a-set-of-cards__container {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    padding: 20px;
    gap: 15px;
  }

  .a-set-of-cards__card {
    padding: 15px;
    height: 140px;
  }
}
