/* ==========================================================================
   Section: store-features  →  assets/section-store-features.css
   Figma 1352-3532: 64px below the Journal band, on white. Four 240px columns, 48px apart, centred
   (1104 wide at 1440). Column: 40px icon → 24px → title (Heading/H5, 24px box) → 12px → note
   (Body/M on 20px lines, 196 wide, centred). The footer band starts 60px under the row.
   Settings — custom properties on .store-features
     --section-top 64px   --section-bottom 60px
   ========================================================================== */
.store-features {
  --section-top: 64px;
  --section-bottom: 60px;

  padding: var(--section-top) 0 var(--section-bottom);
}

/* Two classes: reset.css zeroes list padding with ul[role="list"] (0,1,1), which would also
   remove .page-width's gutter */
.store-features__list.store-features__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 240px));
  justify-content: center;
  gap: 40px 48px;
  padding-inline: var(--page-gutter);
}

.store-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: var(--color-icon-primary);
  text-align: center;
}

.store-features__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 196px;
  max-width: 100%;
  min-height: 77px; /* Figma's fixed 77px text frame around the 76px column */
}

/* Heading/H5: EB Garamond 500 20px / 1.2, on Figma's 24px box */
.store-features__title {
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.store-features__note {
  color: var(--color-text-secondary);
  font-size: var(--text-body-m-size);
  font-weight: 400;
  line-height: 20px;
}

@media (max-width: 989px) {
  .store-features__list.store-features__list {
    grid-template-columns: repeat(2, minmax(0, 240px));
  }
}

@media (max-width: 749px) {
  .store-features {
    --section-top: 48px;
    --section-bottom: 48px;
  }

  .store-features__list.store-features__list {
    column-gap: 16px;
  }
}
