/* =============================================================================
   Best sellers on the home page (redesign batch 3, P3): exactly four cards in a fixed grid.
   4 across from 990px, 2x2 below. No slider, arrows or peeking card. The card itself is the shared one.
   ============================================================================= */

.dpl-featured {
  padding: var(--dpl-section-padding) 0;
}

.dpl-featured__title {
  margin: 0 0 24px;
  font-size: var(--dpl-h2);
  font-weight: var(--dpl-weight-heading);
  line-height: 1.2;
  color: var(--dpl-text);
}

/* Beats Dawn's flex `.grid` with its negative margins and per-item widths. */
.dpl-featured .dpl-featured__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dpl-featured .dpl-featured__item {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.dpl-featured__all {
  margin-top: 24px;
  text-align: center;
}

@media screen and (min-width: 750px) {
  .dpl-featured .dpl-featured__grid {
    gap: var(--dpl-grid-gap);
  }
}

@media screen and (min-width: 990px) {
  .dpl-featured .dpl-featured__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
