.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.cards-grid .card {
  min-width: 0;
  max-width: none;
  width: 100%;
}

.cards-grid .card-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   TOP PICKS: make cards a GRID
   ================================ */

/* stop clipping + scrolling here */
.top-picks .carousel-wrapper {
  overflow: visible;
}

/* turn the old slider container into a grid */
.top-picks .cards-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  overflow: visible;
  scroll-behavior: auto;
  cursor: default;
}

/* cancel dragging cursor for this section */
.top-picks .cards-container.dragging {
  cursor: default;
}

/* override min/max width from the slider version */
.top-picks .card {
  min-width: 0;
  max-width: none;
  width: 100%;
}

/* MOBILE: 1 card per row */
@media (max-width: 600px) {
  .top-picks .cards-container {
    grid-template-columns: 1fr;
  }
}

/* --- CONTAINER --- */
.page {
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 24px;
}

/* --- GRID LAYOUT --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 per row */
  gap: 32px;
}

/* --- CARD STYLE --- */
.card {
  text-align: left;
}

.card-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
}

.price {
  font-size: 16px;
  color: #444;
  margin-top: 4px;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* --- RESPONSIVE --- */

/* 2 per row on medium screens (optional) */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 1 per row on mobile */
@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
