/* =====================================================
   Bons plans – IDEE&CO
   Page spécifique : bonsplans.php
   ===================================================== */
/* Mise en page de la liste */
main {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px 44px;
}

.breadcrumb {
  font-size: .95rem;
  margin: 10px 0 12px;
  color: #666
}

.breadcrumb a {
  color: inherit;
  text-decoration: none
}

h1 {
  font-size: clamp(26px, 3.4vw, 42px);
  margin: .2em 0 .6em;
  line-height: 1.12
}

.bp-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width:980px) {
  .bp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:620px) {
  .bp-grid {
    grid-template-columns: 1fr;
  }
}

.bp-card {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  border-color: rgba(218, 83, 44, .35);
  /* liseré cuivre doux */
}

.bp-media {
  position: relative;
}

.bp-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.bp-body {
  padding: 12px 14px 14px;
}

.bp-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin: .1em 0 .35em;
  color: #111
}

.bp-text {
  color: #333;
  line-height: 1.55;
  margin: 0 0 .45em
}

.bp-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: .2em 0 .2em
}

.price {
  font-weight: 800;
  color: #1a1a1a;
  background: #fff4ec;
  border: 1px solid #ffd9c6;
  padding: 6px 10px;
  border-radius: 999px;
}

.date {
  color: #222;
  background: #eef6ff;
  border: 1px solid #d7e7ff;
  padding: 6px 10px;
  border-radius: 999px;
}

.bp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: .6em
}

.ic-btn {
  background: linear-gradient(180deg, #e4a976, #da532c);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  font-weight: 700;
  text-decoration: none
}

.ic-chip {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 9px 12px;
  text-decoration: none
}

/* Zoom au survol (visuel) */
.bp-media a {
  display: block;
  overflow: hidden
}

.bp-media img {
  transition: transform .35s ease
}

.bp-card:hover .bp-media img {
  transform: scale(1.04)
}

/* Bas de page – conditions */
.cond {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fafafa;
  color: #333;
  line-height: 1.55;
}

/* Bouton haut */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 20px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer
}

#scrollTopBtn:hover {
  background: #222
}