@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

.wpsp-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  padding: 30px;
  font-family: 'Roboto Condensed', sans-serif;
}

.wpsp-card {
  background: #111;
  color: #fff;
  border: 2px solid #E5B76E;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.wpsp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* --- Image avec bande diagonale --- */
.wpsp-img {
  background-size: cover;

  height: 220px;
}

/* --- Badge --- */
.wpsp-badge {
  position: absolute;
  top: 10px;
  right: -40px;
  transform: rotate(24deg);
  background: #E5B76E;
  color: #111;
  font-weight: 700;
  padding: 5px 45px;
  font-size: 12px;
}

/* --- Titre --- */
.wpsp-title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Prix --- */
.wpsp-price {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.wpsp-price .old {
  text-decoration: line-through;
  color: #888;
}
.wpsp-price .new {
  color: white;
  font-weight: 700;
  font-size: 47px;
	margin-bottom: 10px;
}

/* --- Sous-packs : plus fins et équilibrés --- */
.wpsp-subpacks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px 0;
}

.wpsp-subpack {
  background-color: black !important;
	background: black !important;
  border: 1.5px solid #E5B76E!important;
  color: white!important;
  border-radius: 4px!important;
  padding: 5px 12px!important;
  font-size: 13px!important;
  font-weight: 700!important;
  text-transform: uppercase!important;
  cursor: pointer!important;
  transition: all 0.25s ease;
  min-width: 90px!important;
  text-align: center!important;
  letter-spacing: 0.5px!important;
}

.wpsp-subpack:hover {
  background: black!important;
  color: white!important;
}

.wpsp-subpack.active {
  background: #E5B76E!important;
  color: white!important;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3)!important;
}

/* --- Liste d'avantages pleine largeur --- */
.wpsp-advantages {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.wpsp-advantages li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease;
}

.wpsp-advantages li:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

.wpsp-advantages li:hover {
  background: rgba(255, 215, 0, 0.12);
}

.wpsp-advantages li::before {
  content: "✓";
  color: #E5B76E;
  font-weight: 700;
  font-size: 15px;
}

/* --- Bouton --- */
.wpsp-btn {
  display: inline-block;
  background: #E5B76E;
  color: #111;
  font-weight: 700;
  padding: 10px 25px;
  border-radius: 10px;
  margin-top: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.wpsp-btn:hover {
  background: white;
  transform: scale(1.05);
}

/* --- Footer --- */
.wpsp-footer {
  margin-top: 12px;
  font-size: 12px;
  color: #777;
}
.wpsp-subpack:first-child {
  background: #FFD700;
  color: #111;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.wpsp-subpack:first-child:hover {
  background: #ffe45c;
  color: #000;
}
/* --- Responsive --- */
@media (max-width: 900px) {
  .wpsp-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wpsp-card {
    width: 100%;
  }
  .wpsp-img {
    height: 220px;
  }
}
