.shop {
  padding: 120px 20px;
  text-align: center;
  min-height: 900px; /* ajuste selon tes cartes */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.shop .subtitle {
  color: #aaa;
  margin-bottom: 50px;
}

/* GRID */
.shop-grid {
  display: grid;
  flex: 1; /* prend tout l’espace */
  grid-template-columns: repeat(3, 1fr); /* 3 cartes sur PC */
  gap: 40px;
  margin-top: 60px;
  height: 700px; /* 🔥 hauteur fixe */
}

.subtitle a {
  color: #ff003c; /* ou ta couleur */
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

/* CARD */
.shop-card {
  cursor: pointer;
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
  position: relative;
  transition: transform 0.4s, box-shadow 0.4s, opacity 0.3s ease;
  max-height: 400px; /* ajuste selon tes cards */
}

.shop-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(255,0,60,0.5);
}

.shop-card:active {
  transform: translateY(-5px) scale(0.98);
  opacity: 0.9;
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  z-index: 10;
}

/* TABLET */
@media (max-width: 1000px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* IMAGE */
.shop-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* TEXT */
.shop-card h3 {
  margin: 15px;
}

.shop-card h4 {
  color: #aaa;
  margin: 0 15px 15px;
}

.shop-card p {
  color: #aaa;
  margin: 0 15px 15px;
}

/* BUTTON */
.shop-card .btn {
  margin-bottom: 20px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 80px; /* 🔥 hauteur fixe */
  margin-top: 50px;
  text-align: center;
  z-index: 10;
}

.pagination button {
  background: #111;
  color: white;
  border: 1px solid #ff003c;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: 0.3s;
}

.pagination button:hover {
  background: #ff003c;
}

#pageInfo {
  color: #aaa;
}