/* Grille produits [selection_produits] — charte Interflora blog */
.ifl-products-title {
  margin: 28px 0 4px;
  font-family: 'Heldane Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #303938;
}
.ifl-products-title + .ifl-products-grid { margin-top: 12px; }
.ifl-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.ifl-product {
  background: #fff;
  /* bordure filaire en box-shadow (n'occupe pas d'espace) → épouse parfaitement
     les coins arrondis, image et label clippés par overflow sans liseré */
  box-shadow: 0 0 0 1px #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.ifl-product__media { position: relative; line-height: 0; }
.ifl-product__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.ifl-product__badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 52px;
  height: auto;
  z-index: 2;
}
.ifl-product__title {
  font-family: 'Sofia Pro', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  color: #303938;
  margin: 14px 14px 6px;
}
.ifl-product__price {
  font-weight: 700;
  color: #303938;
  margin: 0 0 12px;
}
.ifl-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  margin: auto 0 14px;
  padding: 9px 22px;
  background: #04726b;
  color: #fff;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.ifl-product__cta:hover { background: #005f59; color: #fff; transform: translateY(-1px); }
.ifl-product__cta:focus-visible { outline: 2px solid #04726b; outline-offset: 2px; }
.ifl-product__cta-icon { vertical-align: middle; }
.ifl-product__reassurance {
  font-size: 0.8rem;
  font-style: italic;
  color: #5a6b6a;
  background: #f5f5f5;
  margin: 0;
  padding: 8px;
}

/* ── Surcharges spécificité : battre .entry-content a / img du thème ── */
/* Le media (position:relative pour le badge) n'est pas clippé par l'overflow de
   la carte → il se clippe lui-même : rayon + overflow sur le media.
   Avec la bordure en box-shadow (sans espace), elle colle pile au haut de l'image. */
.ifl-products-grid .ifl-product__media { border-radius: 12px 12px 0 0; overflow: hidden; margin: 0; }
/* .entry-content img/p imposent des marges (16px) qui creent des bandes blanches
   en haut (image) et en bas (bande grise) de la carte → on les neutralise. */
.ifl-products-grid .ifl-product__img { border-radius: 0; margin: 0; }
.ifl-products-grid .ifl-product__title { margin: 14px 14px 6px; }
.ifl-products-grid .ifl-product__price { margin: 0 0 12px; }
.ifl-products-grid .ifl-product__reassurance { margin: 0; border-radius: 0 0 12px 12px; }
.ifl-products-grid .ifl-product__cta,
.ifl-products-grid .ifl-product__cta:hover,
.ifl-products-grid .ifl-product__cta:link,
.ifl-products-grid .ifl-product__cta:visited { color: #fff; text-decoration: none; }

/* ── Mise en avant d'un produit unique [ifl_produit] (row 37) ── */
.ifl-product-highlight {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  box-shadow: 0 0 0 1px #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  margin: 28px 0;
}
.ifl-product-highlight__media { position: relative; line-height: 0; align-self: stretch; }
.ifl-product-highlight__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}
.ifl-product-highlight__body { padding: 20px 24px 20px 0; }
.ifl-product-highlight__title {
  font-family: 'Heldane Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: #303938;
  margin: 0 0 10px;
}
.ifl-product-highlight__desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5a6b6a;
  margin: 0 0 14px;
}
.ifl-product-highlight .ifl-product__price { margin: 0 0 14px; }
.ifl-product-highlight .ifl-product__cta { align-self: flex-start; margin: 0 0 12px; }
.ifl-product-highlight .ifl-product__cta,
.ifl-product-highlight .ifl-product__cta:hover,
.ifl-product-highlight .ifl-product__cta:link,
.ifl-product-highlight .ifl-product__cta:visited { color: #fff; text-decoration: none; }
.ifl-product-highlight .ifl-product__reassurance {
  display: inline-block;
  border-radius: 6px;
  margin: 0;
}
@media (max-width: 600px) {
  .ifl-product-highlight { grid-template-columns: 1fr; }
  .ifl-product-highlight__media { border-radius: 12px 12px 0 0; overflow: hidden; }
  .ifl-product-highlight__body { padding: 16px 20px 20px; }
}
