/* Trust strip ----------------------------------------------------------
   Icon, heading and one sentence, three or four across — the row of reasons
   to buy here. Same breakpoint as the tile grid: one column on a phone, the
   stored count from the tablet up. */

.features {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .features--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  color: var(--secondary);
}

/* The icon is an inline drawing with no size of its own, and base.css gives
   every svg display:block; the box above is what fixes both. */
.feature__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature__title {
  margin: var(--space-2) 0 0;
  font-size: var(--text-base);
  font-weight: 700;
}

.feature__body {
  margin: var(--space-1) 0 0;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* Cards: each item on a surface of its own, the icon bare in the shop's
   pink and the title in the brand face. What a product page uses for the
   three facts of an album's box ("Photobook-harmonijka · 1,6 m"); the
   strip above stays the home page's row of reasons to buy here. Large
   corners stay — the wife likes them — the air inside is tighter, like
   the mock-up. */
.features--cards {
  gap: var(--space-3);
}

.features--cards .feature {
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.features--cards .feature__icon {
  width: auto;
  height: auto;
  justify-content: flex-start;
  background: none;
  color: var(--primary);
  margin-bottom: 2px;
}

.features--cards .feature__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.features--cards .feature__title {
  margin: 0;
  font-family: var(--font-brand);
}

.features--cards .feature__body {
  margin: 0;
}
