.prices-container {
  padding: 2rem;
}

.price-switch {
  display: flex; -webkit-flex: flex; -webkit-flex: flex; -ms-flex: flex; -ms-flexbox: flex;
  justify-content: center; -webkit-justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap;
}

.price-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 0.7rem; -webkit-border-radius: 0.7rem;
  cursor: pointer; -webkit-cursor: pointer;
  transition: background 0.3s; -webkit-transition: background 0.3s;
}

.price-button:hover {
  background: #444;
}

.price-section {
  margin-top: 2rem;
}

.price-section.hidden {
  display: none; -webkit-flex: none; -webkit-flex: none; -ms-flex: none; -ms-flexbox: none;
}

.price-grid, .offers-grid {
  display: grid; -webkit-flex: grid; -webkit-flex: grid; -ms-flex: grid; -ms-flexbox: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); -ms-grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card, .offer-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem; -webkit-border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.offer-card .prix {
  font-size: 1.6rem;
  color: #333;
}

.btn {
  display: inline-block; -webkit-flex: inline-block; -webkit-flex: inline-block; -ms-flex: inline-block; -ms-flexbox: inline-block;
  padding: 0.8rem 1.4rem;
  font-weight: bold;
  margin-top: 1rem;
  border-radius: 0.5rem; -webkit-border-radius: 0.5rem;
  text-decoration: none; -webkit-text-decoration: none;
  border: none;
  cursor: pointer; -webkit-cursor: pointer;
}

.btn-free {
  background: linear-gradient(to right, #00c853, #64dd17);
  color: white;
}

.btn-pay {
  background: linear-gradient(to right, #2962ff, #00b0ff);
  color: white;
}

/* Responsive : empiler les boutons sur mobile */
@media (max-width: 600px) {
  .price-switch {
    flex-direction: column;
    align-items: center; -ms-align-items: center;
  }

  .price-button {
    width: 100%;
    max-width: 300px;
  }
}
