.gaf-categories li { list-style: none; margin: 10px 0; }
.products { display:flex; flex-wrap:wrap; gap:20px; }
.products li { flex:0 0 23%; border:1px solid #eee; padding:10px; }
.products img { max-width:100%; height:auto; }

.gaf-single-product { margin:40px auto; max-width:1200px; }
.gaf-single-product .product-header { margin-bottom:20px; }
.gaf-single-product .brand { display:flex; align-items:center; gap:10px; }
.gaf-single-product .brand-logo { max-height:80px; }

.gaf-single-product .summary { flex:1 1 55%; }
.gaf-single-product .product-pdfs ul { list-style:disc; margin-left:20px; }
.gaf-single-product .product-specs table { width:100%; border-collapse:collapse; margin-top:20px; }
.gaf-single-product .product-specs th,
.gaf-single-product .product-specs td { border:1px solid #eee; padding:8px 10px; }
.gaf-single-product .product-specs th { background:#f9f9f9; text-align:left; width:35%; }

.lte-image { margin-bottom:10px; }

/* product-content ne doit PAS être flex si tu utilises media-top en grid */
.gaf-single-product .product-content{
  display: block;
}

/* media-top = 2 colonnes */
.gaf-single-product .media-top{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 35px;
  align-items: start;
  margin-bottom: 24px;
}

.gaf-single-product .images,
.gaf-single-product .summary-top{
  min-width: 0;
}

/* images */
.gaf-single-product .gallery img,
.gaf-single-product .product-image{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* responsive */
@media (max-width: 900px){
  .gaf-single-product .media-top{
    grid-template-columns: 1fr;
  }
}


.gaf-single-product .images,
.gaf-single-product .summary-top{
  min-width: 0; /* CRUCIAL: empêche la colonne de casser */
}

.gaf-single-product .gallery img,
.gaf-single-product .product-image{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.gaf-single-product .description-full{
  margin-top: 24px;
}



/* Air Fortier Product (AFP) - SEO Product Template */
.afp { 
  --afp-red: #df0735;
  --afp-blue: #0672b9;
  --afp-text: #1b1f24;
  --afp-muted: #5a6672;
  --afp-border: rgba(0,0,0,.10);
  --afp-bg: #ffffff;
  --afp-soft: rgba(6,114,185,.08);
  --afp-soft2: rgba(223,7,53,.08);
  font-family: inherit;
  color: var(--afp-text);
  line-height: 1.65;
}

.afp a { color: var(--afp-blue); text-decoration: none; }

.afp-section { margin: 50px 0; }
.summary-top .afp-section { margin:20px 0; }
.afp-section--tight { margin: 18px 0; }

.afp-h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 19px 0;
  padding-left:15px;
  border-left: 4px solid var(--afp-blue);
}
.afp-h3 {
  font-size: 1.05rem;
  margin: 0 0 12px 0;
}
.afp-p { margin: 0 0 12px 0; }
.afp-muted { color: var(--afp-muted); }
.afp-note { font-size: .92rem; color: var(--afp-muted); margin-top: 10px; }

/* HERO */
.afp-hero {
  background: linear-gradient(120deg, var(--afp-soft), rgba(255,255,255,1));
  border: 1px solid var(--afp-border);
  border-radius: 16px;
  padding: 22px;
}
.afp-hero__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.afp-hero__brandlogo {
  width: 120px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: saturate(1.05);
}
.afp-hero__badge {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  background: linear-gradient(90deg, var(--afp-red), var(--afp-blue));
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.afp-hero__title {
  font-size: 1.9rem;
  line-height: 1.12;
  margin: 6px 0 10px 0;
}
.afp-hero__subtitle {
  font-size: 1.05rem;
  color: var(--afp-muted);
  margin: 0 0 14px 0;
}
.afp-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px 0; }
.afp-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--afp-border);
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .9rem;
}
.afp-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.afp-hero__fineprint { margin: 14px 0 0 0; font-size: .92rem; color: var(--afp-muted); }

/* BUTTONS */
.afp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .05s ease, filter .15s ease;
}
.afp-btn:active { transform: translateY(1px); }
.afp-btn--primary {
  background: var(--afp-red);
  color: #fff;
}
.afp-btn--outline {
  background: #fff;
  border-color: var(--afp-border);
  color: var(--afp-text);
}
.afp-btn--outline:hover { filter: brightness(.98); }

/* GRID */
.afp-grid { display: grid; gap: 18px; }
.afp-grid--cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
.afp-grid--two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.afp-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }

@media (max-width: 900px){
  .afp-grid--cards, .afp-grid--two, .afp-grid--three { grid-template-columns: 1fr; }
  .afp-hero__title { font-size: 1.6rem; }
}

/* CARDS / PANELS */
.afp-card, .afp-panel {
  border: 1px solid var(--afp-border);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
}
.afp-panel { background: linear-gradient(180deg, rgba(255,255,255,1), rgba(6,114,185,.03)); }

/* LISTS */
.afp-list { margin: 0; padding-left: 18px; }
.afp-list li { margin: 6px 0; }

.afp-list--check { list-style: none; padding-left: 0; }
.afp-list--check li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}
.afp-list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--afp-blue);
  font-weight: 900;
  font-size: .85rem;
}

/* KPI */
.afp-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 14px 0 18px 0;
}
@media (max-width: 900px){
  .afp-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.afp-kpi {
  border: 1px solid var(--afp-border);
  background: #fff;
  border-radius: 14px;
  padding: 12px;
}
.afp-kpi__label { display:block; color: var(--afp-muted); font-size: .9rem; }
.afp-kpi__value { display:block; font-weight: 900; font-size: 1.05rem; margin-top: 2px; }

/* SPECS */
.afp-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 900px){
  .afp-specs { grid-template-columns: 1fr; }
}
.afp-spec {
  display:flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--afp-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
}
.afp-spec span { color: var(--afp-muted); }
.afp-spec strong { text-align: right; }

/* CALLOUTS */
.afp-callout {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--afp-border);
  margin-top: 12px;
}
.afp-callout--info { background: var(--afp-soft); }
.afp-callout--accent { background: var(--afp-soft2); border-color: rgba(223,7,53,.20); }
.afp-callout--warn { background: rgba(223,7,53,.06); border-color: rgba(223,7,53,.20); }

/* FAQ */
.afp-faq { display: grid; gap: 10px; }
.afp-faq__item {
  border: 1px solid var(--afp-border);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.afp-faq__q {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 800;
  list-style: none;
}
.afp-faq__q::-webkit-details-marker { display:none; }
.afp-faq__a {
  padding: 0 14px 14px 14px;
  color: var(--afp-text);
}
.afp-faq__item[open] .afp-faq__q {
  background: linear-gradient(90deg, rgba(6,114,185,.10), rgba(255,255,255,1));
  border-bottom: 1px solid var(--afp-border);
}

/* DOWNLOADS */
.afp-downloads { display: grid; gap: 10px; }
.afp-download{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Icône PDF */
.afp-download__icon{
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #df0735, #b00525);
  position: relative;
}

/* Pictogramme PDF (sans image) */
.afp-download__icon::before{
  content: "PDF";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: .7rem;
  letter-spacing: .5px;
}
/* FOOTER CTA */
.afp-footer__box {
  border-radius: 18px;
  border: 1px solid var(--afp-border);
  padding: 18px;
  background: linear-gradient(120deg, rgba(223,7,53,.08), rgba(6,114,185,.08));
}
.afp-footer__title { border-left-color: var(--afp-red); }
.afp-footer__cta { display:flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.gaf-single-product .brand--side{
  display:flex;
  align-items:center;
  gap:10px;
}


.gaf-single-product .brand--side .brand-name{
  font-weight: 900;
  display:none;
}


/* Bouton devis */
.afp-quote{
  margin: 14px 0 18px 0;
}

/* Bloc formulaire caché */
.gaf-quote-form{
  margin: 18px 0 22px 0;
}

.gaf-quote-form__inner{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.gaf-quote-form__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.gaf-quote-close{
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  font-weight: 900;
  cursor: pointer;
}

.gaf-quote-close:hover{
  filter: brightness(.98);
}

.gaf-quote-form input {
	padding:6px 0 8px !important;
}

.gaf-cat-intro{
  margin: 10px 0 30px;
}

/* === INTRO CATÉGORIES === */
.gaf-categories-intro{
  margin: 0 auto 40px;
}

.gaf-categories-intro .afp-h2{
  margin-bottom: 16px;
}

.gaf-categories-intro .afp-p{
  margin-bottom: 14px;
}

/* === GRILLE CATÉGORIES === */
.gaf-categories-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin: 30px 0;
}

/* === CARTE === */
.gaf-cat-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gaf-cat-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

/* === LIEN === */
.gaf-cat-link{
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* === IMAGE === */
.gaf-cat-image{
  background: #f7f7f7;
  overflow: hidden;
}

.gaf-cat-image img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}

.gaf-cat-card:hover .gaf-cat-image img{
  transform: scale(1.06);
}

/* === CONTENU === */
.gaf-cat-content{
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gaf-cat-title{
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #0672b9 !important;
}

.gaf-cat-desc{
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: auto;
}

/* === CTA === */
.gaf-cat-cta{
  margin-top: 18px;
  font-weight: 600;
  color: #df0735;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gaf-cat-cta::after{
  content: "→";
  transition: transform .2s ease;
}

.gaf-cat-card:hover .gaf-cat-cta::after{
  transform: translateX(4px);
}

/* === INTRO CATÉGORIES === */
.gaf-categories-intro{
  margin: 0 auto 40px;
}

.gaf-categories-intro .afp-h2{
  margin-bottom: 16px;
}

.gaf-categories-intro .afp-p{
  margin-bottom: 14px;
}

/* Grille produits */
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

ul.products li.product {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow .35s cubic-bezier(.4,0,.2,1),
    transform  .35s cubic-bezier(.4,0,.2,1),
    border-color .35s ease;
	
}

ul.products li.product:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* Image */
.lte-item .lte-image {
  position: relative;
  background: #fafafa;
  text-align: center;
}
.lte-item .lte-image img {
  max-width: 100%;
  height: auto;
   transition:
    transform .45s cubic-bezier(.4,0,.2,1),
    opacity   .35s ease;
	
}
.lte-item:hover .lte-image img {
  transform: scale(1.05);
}

/* Titre produit */
.woocommerce-loop-product__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 15px 0 10px;
  color: #222;
  text-align: center;
}

/* Description courte */
.lte-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  margin: 0 15px 15px;
  text-align: center;
}

/* Boutons */
.lte-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0 20px;
}
.lte-btn {
  background: #1e6ba5;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background .2s ease;
}
.lte-btn:hover {
  background: #018bb6;
}

.summary-top .modele{
  margin:20px 0 10px;
}

/* titre déjà stylé par afp-h2 mais on renforce l'espace */
.summary-top .modele .afp-h2{
  margin-bottom:10px;
}

/* texte du modèle */
.summary-top .modele p{
  font-size:16px;
  font-weight:600;
  letter-spacing:0.4px;
  color:#333;
  margin:0;
}

/* si tu veux un look "spec technique" */
.summary-top .modele p{
  display:inline-block;
  padding:8px 12px;
  background:#f4f6f8;
  border-radius:6px;
  border-left:4px solid #1e6ba5;
}