/*
Theme Name: Recettes Air Fryer Express
Theme URI: https://recettes-airfryer-express.fr
Author: Recettes Air Fryer Express
Author URI: https://recettes-airfryer-express.fr
Description: Theme WordPress premium pour recettes Air Fryer, guides, comparatifs et affiliation Amazon.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: recettes-air-fryer-express
*/

/* =========================
   WP Recipe Maker - couleurs personnalisées
   ========================= */

/* =========================================================
   PAGE GUIDES DÉBUTANTS AIR FRYER
   ========================================================= */

.page-hero {
  padding: 80px 0 60px;
  background: #fff7ed;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.page-hero .lead {
  max-width: 680px;
  color: #5f6b7a;
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  margin-bottom: 12px;
  color: #f97316;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn,
.hero-actions a,
.guide-card a,
.product-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-primary,
.hero-actions a:first-child {
  background: #f97316;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.btn-primary:hover,
.hero-actions a:first-child:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.btn-secondary,
.hero-actions a:last-child {
  background: #ffffff;
  color: #1f2937 !important;
  border: 1px solid #fed7aa;
}

.btn-secondary:hover,
.hero-actions a:last-child:hover {
  background: #ffedd5;
  transform: translateY(-2px);
}

.page-hero__card {
  padding: 30px;
  border: 1px solid #fed7aa;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(124, 45, 18, 0.08);
}

.page-hero__card h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.page-hero__card ul {
  margin: 0;
  padding-left: 20px;
}

.page-hero__card li {
  margin-bottom: 10px;
  color: #4b5563;
  line-height: 1.6;
}

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 60px 0;
}

.section--alt {
  background: #fff7ed;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-heading p {
  color: #5f6b7a;
  font-size: 17px;
  line-height: 1.7;
}

.prose {
  max-width: 950px;
}

.prose h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.prose p {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.8;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.guide-card,
.product-card,
.recipe-card,
.tip-box {
  padding: 26px;
  border: 1px solid #f3e3d3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(124, 45, 18, 0.06);
  transition: all 0.2s ease;
}

.guide-card:hover,
.product-card:hover,
.recipe-card:hover,
.tip-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(124, 45, 18, 0.10);
}

.guide-card h3,
.product-card h3,
.recipe-card h3,
.tip-box h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.guide-card p,
.product-card p,
.recipe-card p,
.tip-box p {
  margin-bottom: 18px;
  color: #5f6b7a;
  font-size: 15.5px;
  line-height: 1.7;
}

.guide-card a,
.product-card a {
  background: #fff7ed;
  color: #ea580c !important;
  border: 1px solid #fed7aa;
}

.guide-card a:hover,
.product-card a:hover {
  background: #f97316;
  color: #ffffff !important;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid #f3e3d3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(124, 45, 18, 0.06);
}

.cooking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.cooking-table th {
  background: #f97316;
  color: #ffffff;
  text-align: left;
  font-size: 14px;
  padding: 18px;
}

.cooking-table td {
  padding: 18px;
  border-bottom: 1px solid #f3e3d3;
  color: #4b5563;
  font-size: 15px;
}

.cooking-table tr:last-child td {
  border-bottom: none;
}

.cooking-table tbody tr:hover {
  background: #fff7ed;
}

.note,
.affiliate-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid #f97316;
  border-radius: 14px;
  background: #fff7ed;
  color: #4b5563;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 950px;
}

.faq-list details {
  border: 1px solid #f3e3d3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(124, 45, 18, 0.05);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: #1f2937;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff7ed;
  color: #f97316;
  font-weight: 900;
}

.faq-list details[open] summary::before {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px 56px;
  color: #5f6b7a;
  line-height: 1.7;
}

.final-cta {
  background: #ffffff;
}

.cta-box {
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  box-shadow: 0 24px 70px rgba(124, 45, 18, 0.10);
}

.cta-box h2 {
  max-width: 850px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cta-box p {
  max-width: 760px;
  color: #5f6b7a;
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .cards-grid,
  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-hero {
    padding: 56px 0 40px;
  }

  .section,
  .section--tight {
    padding: 56px 0;
  }

  .cards-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__card,
  .guide-card,
  .product-card,
  .recipe-card,
  .tip-box,
  .cta-box {
    border-radius: 22px;
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn,
  .hero-actions a,
  .guide-card a,
  .product-card a {
    width: 100%;
  }

  .faq-list p {
    padding-left: 24px;
  }
}

/* Hero image guides débutants */

.page-hero__visual {
  position: relative;
  min-height: 360px;
}

.page-hero__visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(124, 45, 18, 0.14);
}

.hero-floating-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 280px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(124, 45, 18, 0.16);
  backdrop-filter: blur(8px);
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 6px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 900;
}

.hero-floating-card span {
  display: block;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .page-hero__visual {
    min-height: auto;
  }

  .page-hero__visual img {
    height: 280px;
    border-radius: 24px;
  }

  .hero-floating-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }
}

/* Section Commencer ici */

.start-here-section {
  padding-top: 20px;
}

.start-here-box {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 34px;
  align-items: center;
  padding: 38px;
  border: 1px solid #fed7aa;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: 0 24px 70px rgba(124, 45, 18, 0.08);
}

.start-here-box h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.start-here-box p {
  color: #5f6b7a;
  font-size: 16px;
  line-height: 1.7;
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.start-step {
  padding: 22px;
  border: 1px solid #f3e3d3;
  border-radius: 24px;
  background: #ffffff;
}

.start-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #f97316;
  color: #ffffff;
  font-weight: 900;
}

.start-step h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.15;
}

.start-step p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .start-here-box {
    grid-template-columns: 1fr;
  }

  .start-steps {
    grid-template-columns: 1fr;
  }
}

/* Alignement des boutons en bas des cartes guides */

.guide-card,
.product-card,
.recipe-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-card p,
.product-card p {
  flex-grow: 1;
}

.guide-card a,
.product-card a {
  margin-top: auto;
}

/* =========================================================
   PRODUITS / ACCESSOIRES - CSS PROPRE ET UNIQUE
   Remplace tous les anciens blocs doublons liés aux accessoires
   ========================================================= */

/* Grilles produits : page accessoires = 4 colonnes */
.affiliate-grid,
.products-grid,
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

/* Accueil : section accessoires recommandés = 3 colonnes */
body.home .affiliate-grid,
body.home .products-grid,
body.home .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Cartes produits / accessoires */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 500px !important;
  padding: 34px !important;
  border: 1px solid #f3e3d3 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 40px rgba(124, 45, 18, 0.06) !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Hover uniquement sur la carte */
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 60px rgba(124, 45, 18, 0.10) !important;
}

/* Zone image : aucun cadre, aucun fond, aucun rond */
.product-card figure,
.product-card picture,
.product-card .product-image,
.product-card .product-thumb,
.product-card .affiliate-product-image,
.product-card .product-card__image,
.product-card .product-card__media,
.product-card a:has(img) {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 210px !important;
  margin: 0 0 26px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Supprime les cercles / cadres créés par pseudo-éléments */
.product-card figure::before,
.product-card figure::after,
.product-card picture::before,
.product-card picture::after,
.product-card .product-image::before,
.product-card .product-image::after,
.product-card .product-thumb::before,
.product-card .product-thumb::after,
.product-card .affiliate-product-image::before,
.product-card .affiliate-product-image::after,
.product-card .product-card__image::before,
.product-card .product-card__image::after,
.product-card .product-card__media::before,
.product-card .product-card__media::after,
.product-card a:has(img)::before,
.product-card a:has(img)::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Image produit propre */
.product-card img {
  display: block !important;
  width: 100% !important;
  max-width: 260px !important;
  height: 210px !important;
  max-height: 210px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  clip-path: none !important;
}

/* Désactive tout hover orange sur l'image ou son lien */
.product-card:hover img,
.product-card img:hover,
.product-card:hover figure,
.product-card:hover picture,
.product-card:hover .product-image,
.product-card:hover .product-thumb,
.product-card:hover .affiliate-product-image,
.product-card:hover .product-card__image,
.product-card:hover .product-card__media,
.product-card a:has(img):hover {
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Titres accessoires */
.product-card h3 {
  width: 100% !important;
  min-height: 86px !important;
  margin: 0 0 16px 0 !important;
  color: #111827 !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  text-align: left !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Descriptions accessoires */
.product-card p {
  flex: 1 1 auto !important;
  min-height: 120px !important;
  margin: 0 0 24px 0 !important;
  color: #5f6b7a !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  text-align: left !important;
  overflow: visible !important;
}

/* Bouton aligné en bas */
.product-card a:not(:has(img)) {
  margin-top: auto !important;
  align-self: flex-start !important;
}

/* Boutons produits */
.product-card > a,
.product-card p + a,
.product-card h3 + a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  padding: 11px 18px !important;
  border: 1px solid #fed7aa !important;
  border-radius: 999px !important;
  background: #fff7ed !important;
  color: #ea580c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Hover bouton seulement */
.product-card > a:hover,
.product-card p + a:hover,
.product-card h3 + a:hover {
  background: #f97316 !important;
  color: #ffffff !important;
  border-color: #f97316 !important;
}

/* Bloc comparatif */
.comparison-block {
  margin-top: 70px !important;
}

.comparison-block h2 {
  margin-bottom: 10px !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1 !important;
}

.comparison-block p {
  margin-bottom: 22px !important;
  color: #5f6b7a !important;
}

/* Tablette */
@media (max-width: 1100px) {
  .affiliate-grid,
  .products-grid,
  .product-grid,
  body.home .affiliate-grid,
  body.home .products-grid,
  body.home .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product-card {
    min-height: 480px !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .affiliate-grid,
  .products-grid,
  .product-grid,
  body.home .affiliate-grid,
  body.home .products-grid,
  body.home .product-grid {
    grid-template-columns: 1fr !important;
  }

  .product-card {
    min-height: auto !important;
    padding: 24px !important;
  }

  .product-card figure,
  .product-card picture,
  .product-card .product-image,
  .product-card .product-thumb,
  .product-card .affiliate-product-image,
  .product-card .product-card__image,
  .product-card .product-card__media,
  .product-card a:has(img) {
    height: 220px !important;
  }

  .product-card img {
    height: 220px !important;
    max-height: 220px !important;
    max-width: 280px !important;
  }

  .product-card h3 {
    min-height: auto !important;
    font-size: 22px !important;
  }

  .product-card p {
    min-height: auto !important;
  }
}

/* =========================================================
   RECETTES - CARTES PROPRES COMME LES ACCESSOIRES
   ========================================================= */

/* Grille recettes : accueil + page Recettes */
.recipe-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

/* Carte recette */
.recipe-grid .recipe-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 500px !important;
  padding: 34px !important;
  border: 1px solid #f3e3d3 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 40px rgba(124, 45, 18, 0.06) !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.recipe-grid .recipe-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 60px rgba(124, 45, 18, 0.10) !important;
}

/* Zone image : suppression totale du style ovale/bouton */
.recipe-card .recipe-card__media {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 210px !important;
  margin: 0 0 26px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: none !important;
  text-decoration: none !important;
}

.recipe-card .recipe-card__media::before,
.recipe-card .recipe-card__media::after {
  content: none !important;
  display: none !important;
}

/* Image recette propre en haut */
.recipe-card .recipe-card__media img {
  display: block !important;
  width: 100% !important;
  height: 210px !important;
  max-height: 210px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  transform: none !important;
}

/* Aucun hover orange autour de l'image */
.recipe-card:hover .recipe-card__media,
.recipe-card .recipe-card__media:hover,
.recipe-card:hover .recipe-card__media img,
.recipe-card .recipe-card__media:hover img {
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Badge catégorie */
.recipe-card .recipe-card__media .badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  margin: 0 !important;
  padding: 7px 11px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #f97316 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.10) !important;
}

/* Corps de carte */
.recipe-card .recipe-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Titre : texte normal, pas bouton orange */
.recipe-card .recipe-card__body h3 {
  min-height: 58px !important;
  margin: 0 0 18px 0 !important;
  color: #111827 !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  text-align: left !important;
}

.recipe-card .recipe-card__body h3 a {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
}

.recipe-card .recipe-card__body h3 a:hover {
  color: #ea580c !important;
  background: transparent !important;
  transform: none !important;
}

/* Cache les descriptions vides */
.recipe-card .recipe-card__body > p.muted:empty {
  display: none !important;
}

/* Meta pills en bas avant le bouton */
.recipe-card .recipe-card__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: auto !important;
  margin-bottom: 18px !important;
}

.recipe-card .meta-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 10px !important;
  border: 1px solid #f3e3d3 !important;
  border-radius: 999px !important;
  background: #fffaf5 !important;
  color: #5f6b7a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* Bouton final uniquement */
.recipe-card .recipe-card__body > a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  margin: 0 !important;
  padding: 11px 18px !important;
  border: 1px solid #fed7aa !important;
  border-radius: 999px !important;
  background: #fff7ed !important;
  color: #ea580c !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.recipe-card .recipe-card__body > a.button:hover {
  background: #f97316 !important;
  color: #ffffff !important;
  border-color: #f97316 !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 1100px) {
  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .recipe-grid .recipe-card {
    min-height: 480px !important;
  }
}

@media (max-width: 700px) {
  .recipe-grid {
    grid-template-columns: 1fr !important;
  }

  .recipe-grid .recipe-card {
    min-height: auto !important;
    padding: 24px !important;
  }

  .recipe-card .recipe-card__media,
  .recipe-card .recipe-card__media img {
    height: 220px !important;
    max-height: 220px !important;
  }

  .recipe-card .recipe-card__body h3 {
    min-height: auto !important;
    font-size: 22px !important;
  }
}

/* =========================================================
   ACCESSOIRES RECOMMANDÉS SUR LES PAGES RECETTES
   Version premium : 4 max, grille 2x2, cartes propres
   ========================================================= */

.recipe-accessories {
  margin-top: 72px !important;
}

.recipe-accessories h2 {
  margin-bottom: 18px !important;
  font-size: clamp(34px, 4vw, 48px) !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
}

.recipe-accessories .affiliate-note {
  max-width: 100% !important;
  margin: 0 0 28px 0 !important;
  padding: 16px 18px !important;
  border-left: 4px solid #f97316 !important;
  border-radius: 16px !important;
  background: #fff7ed !important;
  color: #4b5563 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Grille premium : 2 colonnes, donc les cartes respirent */
.recipe-accessories .product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

/* Carte uniforme */
.recipe-accessories .product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 470px !important;
  padding: 28px !important;
  border: 1px solid #f3e3d3 !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 45px rgba(124, 45, 18, 0.07) !important;
  overflow: hidden !important;
}

/* Hover propre */
.recipe-accessories .product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 26px 65px rgba(124, 45, 18, 0.12) !important;
}

/* Zone image propre en haut */
.recipe-accessories .product-card figure,
.recipe-accessories .product-card picture,
.recipe-accessories .product-card .product-image,
.recipe-accessories .product-card .product-thumb,
.recipe-accessories .product-card .affiliate-product-image,
.recipe-accessories .product-card .product-card__image,
.recipe-accessories .product-card .product-card__media,
.recipe-accessories .product-card a:has(img) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 190px !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Image produit */
.recipe-accessories .product-card img {
  display: block !important;
  width: 100% !important;
  max-width: 230px !important;
  height: 190px !important;
  max-height: 190px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Supprime tout effet bizarre autour des images */
.recipe-accessories .product-card figure::before,
.recipe-accessories .product-card figure::after,
.recipe-accessories .product-card picture::before,
.recipe-accessories .product-card picture::after,
.recipe-accessories .product-card .product-image::before,
.recipe-accessories .product-card .product-image::after,
.recipe-accessories .product-card .product-thumb::before,
.recipe-accessories .product-card .product-thumb::after,
.recipe-accessories .product-card a:has(img)::before,
.recipe-accessories .product-card a:has(img)::after {
  content: none !important;
  display: none !important;
}

/* Titre lisible, plus de mots cassés partout */
.recipe-accessories .product-card h3 {
  min-height: 78px !important;
  margin: 0 0 14px 0 !important;
  color: #111827 !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  text-align: left !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Description alignée */
.recipe-accessories .product-card p {
  flex: 1 1 auto !important;
  min-height: 96px !important;
  margin: 0 0 24px 0 !important;
  color: #5f6b7a !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  text-align: left !important;
}

/* Bouton toujours en bas */
.recipe-accessories .product-card a:not(:has(img)) {
  margin-top: auto !important;
  align-self: flex-start !important;
}

/* Style bouton propre */
.recipe-accessories .product-card > a,
.recipe-accessories .product-card p + a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  padding: 11px 18px !important;
  border: 1px solid #fed7aa !important;
  border-radius: 999px !important;
  background: #fff7ed !important;
  color: #ea580c !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.recipe-accessories .product-card > a:hover,
.recipe-accessories .product-card p + a:hover {
  background: #f97316 !important;
  color: #ffffff !important;
  border-color: #f97316 !important;
}

/* Tablette : garde 2 colonnes */
@media (max-width: 900px) {
  .recipe-accessories .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .recipe-accessories .product-card {
    min-height: 470px !important;
    padding: 24px !important;
  }
}

/* Mobile : 1 colonne */
@media (max-width: 640px) {
  .recipe-accessories .product-grid {
    grid-template-columns: 1fr !important;
  }

  .recipe-accessories .product-card {
    min-height: auto !important;
  }

  .recipe-accessories .product-card h3,
  .recipe-accessories .product-card p {
    min-height: auto !important;
  }
}

/* =========================================================
   PAGE RECETTE - contenu plus large + sidebar moins dominante
   ========================================================= */

/* Conteneur global de la page recette */
.single-recette .content-layout,
.single .content-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 820px) 260px !important;
  gap: 48px !important;
  align-items: start !important;
}

/* Colonne principale plus large */
.single-recette .content-layout .prose,
.single .content-layout .prose {
  max-width: 820px !important;
  width: 100% !important;
}

/* Mémo cuisson plus compact */
.single-recette .content-layout > aside.info-block,
.single .content-layout > aside.info-block {
  width: 260px !important;
  max-width: 260px !important;
  padding: 24px !important;
  border-radius: 18px !important;
  position: sticky !important;
  top: 100px !important;
}

/* La section principale prend mieux la largeur */
.single-recette .section--tight .container,
.single .section--tight .container {
  max-width: 1180px !important;
}

/* Les blocs internes de recette peuvent respirer */
.single-recette .wprm-recipe-container,
.single .wprm-recipe-container {
  max-width: 100% !important;
}

/* Accessoires recommandés alignés avec la largeur recette */
.single-recette .recipe-accessories,
.single .recipe-accessories {
  max-width: 820px !important;
}

.site-logo img {
  max-width: 260px !important;
  width: 260px !important;
  height: auto !important;
  display: block !important;
}

.site-header,
.header,
.main-header {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

@media (max-width: 768px) {
  .site-logo img {
    max-width: 190px !important;
    width: 190px !important;
  }
}