.pm-efp2{width:100%;}

/* ===== Expert card layout (theme-resistant) ===== */
.pm-efp2-expert{width:100%; position: relative; padding-top: 28px;}

.pm-efp2-card{
  background: #e5e5e5 !important;
  border: 1px solid var(--pm-efp2-border, #e5e5e5);
  border-radius: 10px;
  overflow: hidden;
}

.pm-efp2-card__header{
  padding: 14px 20px 10px;
  background: #e5e5e5 !important;
}

.pm-efp2-h2{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  /* keep on one line when possible, but allow wrap on small screens */
  white-space: nowrap;
}

@media (max-width: 420px){
  .pm-efp2-h2{white-space: normal;}
}

.pm-efp2-card__content{
  display: flex;
  gap: 16px;
  padding: 0 20px 20px;
  background: #e5e5e5 !important;
}

.pm-efp2-card__media{
  flex: 0 0 auto;
  margin-left: 6px;
  background: transparent !important;
}

/* Force the expert photo size even if theme overrides img rules */
.pm-efp2-card__media .pm-efp2-avatar{
  width: 160px !important;
  height: 270px !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover;
  border-radius: 8px;
}

.pm-efp2-avatar--placeholder{
  width: 160px;
  height: 270px;
  border-radius: 8px;
  background: rgba(0,0,0,.05);
}

.pm-efp2-card__body{
  flex: 1 1 auto;
  min-width: 0;
  background: transparent !important;
}

.pm-efp2-meta{margin-bottom: 10px;}

/* plus spécifique que "h3" */
.pm-efp2 h3 {
  font-family: var(--body-font-family), Arial, Helvetica, sans-serif;
font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin-top: 0 !important;
}





.pm-efp2-expertline{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.pm-efp2-expertname{font-weight: 700;}

.pm-efp2-expertjob{opacity: .8;}

.pm-efp2-expertline::after{
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--pm-efp2-hr-color, rgba(0,0,0,.12));
  margin-top: 8px;
}

.pm-efp2-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px){
  .pm-efp2-grid{grid-template-columns: 1fr;}
}

.pm-efp2-h4{margin: 0 0 8px; font-size: 15px; font-weight: 800;}

.pm-efp2-reco{
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-efp2-reco__item{
  position: relative;
  margin: 0 0 8px;
  padding-left: 22px;
}

.pm-efp2-reco__item::before{
  content: "\2713"; /* checkmark */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pm-efp2-accent, #ffc107);
  font-weight: 900;
}

.pm-efp2-block--tip{
  background: linear-gradient(90deg, var(--pm-efp2-tip-grad-start, #ffd54d), var(--pm-efp2-tip-grad-end, #ffffff));
  border-radius: 10px;
  padding: 32px;
  padding-right: 26px;
  border: 1px solid #d5d5d5;
}

.pm-efp2-tip{margin:0;}

.pm-efp2-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px;  padding-bottom: 6px;
}

.pm-efp2-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration:none !important;
  font-weight: 700;
}

.pm-efp2-btn--primary{
  background: var(--pm-efp2-accent, #ffc107);
  color: #111;
}

.pm-efp2-btn--primary:hover,
.pm-efp2-btn--primary:hover *{
  color: #fff !important;
}

.pm-efp2-btn--ghost{
  background: #fff !important;
  border: 1px solid var(--pm-efp2-border, #e5e5e5);
  color: #111 !important;
}


/* Responsive: stack media above text on smaller screens */
@media (max-width: 768px){
  .pm-efp2-card__content{flex-direction: column;}
  .pm-efp2-card__media .pm-efp2-avatar,
  .pm-efp2-avatar--placeholder{width: 160px !important; height: 270px !important;}
}

/* ===== FAQ full width section (inherits theme section styles) ===== */
.pm-efp2-faq-section{width:100%;}

/* Sous-titre sous "Questions frequentes" */
.pm-efp2-faq-subtitle{
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  font-style: italic;
  margin: -4px 0 22px;
  font-weight: 400;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* CTA "Posez votre question" en bas de la FAQ — style identique à la version catégorie */
.pm-efp2-ask-cta{
  text-align: center !important;
  margin: 32px auto 12px !important;
  padding: 0 16px !important;
  width: 100%;
  display: block;
}
.pm-efp2-ask-cta-sub{
  margin: 0 0 14px !important;
  font-size: 14px !important;
  color: #6c757d !important;
  font-style: italic !important;
  text-align: center !important;
}
.pm-efp2-ask-cta-btn,
a.pm-efp2-ask-cta-btn{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 12px 28px !important;
  background: #2fadce !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(47,173,206,.30) !important;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease !important;
}
.pm-efp2-ask-cta-btn:hover,
a.pm-efp2-ask-cta-btn:hover{
  background: #258caa !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(47,173,206,.40) !important;
  text-decoration: none !important;
}

/* Layout : 1 seule colonne, 80% de largeur centrée pour confort de lecture */
.pm-efp2-faq__list{
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}
@media (max-width: 991px){
  .pm-efp2-faq__list{ width: 92%; }
}
@media (max-width: 767px){
  .pm-efp2-faq__list{ width: 100%; }
}

.pm-efp2-faq__item{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  margin: 0; /* le gap du grid gere l espacement */
  background: #fff;
  overflow: hidden;
  height: fit-content;
}

.pm-efp2-faq__q{
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 400;
  transition: background-color .15s ease, color .15s ease;
}
/* Hover gris clair sur la question */
.pm-efp2-faq__q:hover{
  background-color: #f3f4f6;
  color: #1a1a1a;
}
/* Etat ouvert : leger fond gris */
.pm-efp2-faq__item[open] > .pm-efp2-faq__q{
  background-color: #f8f9fa;
}

.pm-efp2-faq__a{
  padding: 14px 22px 22px;
  line-height: 1.65;
  font-size: 14px;
  color: #444;
}
.pm-efp2-faq__a p{ margin: 0 0 .8rem; }
.pm-efp2-faq__a p:last-child{ margin-bottom: 0; }
.pm-efp2-faq__a strong, .pm-efp2-faq__a b{ color: #1a1a1a; font-weight: 700; }
.pm-efp2-faq__a em, .pm-efp2-faq__a i{ font-style: italic; }
.pm-efp2-faq__a a{ color: #2fadce; text-decoration: underline; border-bottom: 0; transition: color .15s ease; }
.pm-efp2-faq__a a:hover{ color: #1d7d96; }

/* === CCC : Avis d expert PRO — design Promateriel-style aux couleurs CCC === */
.ccc-expert-card-wrap {
  position: relative;
  margin: 28px 0 18px;
  padding-top: 18px;
}
/* CCC : Quand le bloc est deplace en full-width par le JS, il prend 100% de la page produit */
.ccc-expert-card-wrap.ccc-fullwidth-section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 28px !important;
}
@media (max-width: 768px) {
  .ccc-expert-card-wrap.ccc-fullwidth-section {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.ccc-expert-ribbon {
  position: absolute;
  top: 0;
  left: 24px;
  background: #2fadce;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 7px 16px 7px 14px;
  border-radius: 6px 6px 0 6px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(47,173,206,.30);
}
/* CCC : triangle de coin retire (plus de pseudo-element ::after) */
.ccc-expert-card {
  background: #f5f6f7;
  border-radius: 12px;
  padding: 36px 28px 24px;
  margin: 0;
}
.ccc-expert-card__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .ccc-expert-card__inner { grid-template-columns: 1fr; gap: 18px; }
  .ccc-expert-card { padding: 32px 18px 18px; }
  .ccc-expert-ribbon { left: 14px; font-size: 12px; }
}
.ccc-expert-photo {
  width: 200px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #d8eaf0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ccc-expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ccc-expert-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ccc-expert-body { min-width: 0; }
.ccc-expert-title {
  margin: 0 0 12px; /* CCC : margin-bottom reduite pour rapprocher le nom de l'expert */
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  font-family: Oswald, sans-serif;
  letter-spacing: -.01em;
  /* CCC : pas de troncature, le titre se met sur plusieurs lignes si besoin */
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  display: block;
  position: relative;
  padding: 2px 22px 2px 28px;
}
/* CCC : guillemets graphiques cyan autour du titre (taille reduite pour ne pas pousser le nom trop bas) */
.ccc-expert-title::before {
  content: "\201C"; /* curly open quote */
  position: absolute;
  left: -2px;
  top: -6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
  color: #2fadce;
  font-weight: 700;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(47,173,206,.18);
}
.ccc-expert-title::after {
  content: "\201D"; /* curly close quote */
  position: absolute;
  right: -2px;
  bottom: -10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
  color: #2fadce;
  font-weight: 700;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(47,173,206,.18);
}
.ccc-expert-author {
  font-size: 13px;
  color: #444;
  margin: 0 0 10px;
  padding-left: 28px; /* aligne avec le titre */
}
.ccc-expert-author strong { color: #1a1a1a; font-weight: 700; margin-right: 2px; }
.ccc-expert-author .ccc-expert-job { color: #6c757d; }
.ccc-expert-divider { margin: 12px 0 16px; border: none; border-top: 1px solid #d8d8d8; }
.ccc-expert-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-bottom: 18px;
}
@media (max-width: 767px) { .ccc-expert-grid { grid-template-columns: 1fr; gap: 14px; } }
.ccc-expert-subtitle {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: none;
  letter-spacing: 0;
}
.ccc-expert-reco ul { list-style: none; padding: 0; margin: 0; }
.ccc-expert-reco li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
}
.ccc-expert-reco li:last-child { margin-bottom: 0; }
.ccc-expert-check { color: #2fadce; flex-shrink: 0; margin-top: 4px; }
.ccc-expert-tip {
  background: #ebebeb;
  border-radius: 6px;
  padding: 14px 16px;
}
.ccc-expert-tip p { margin: 0; font-size: 14px; line-height: 1.55; color: #555; }
.ccc-expert-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ccc-expert-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.ccc-expert-btn--primary {
  background: #2fadce;
  color: #fff !important;
  border: 1px solid #2fadce;
  box-shadow: 0 2px 6px rgba(47,173,206,.25);
}
.ccc-expert-btn--primary:hover {
  background: #258caa;
  border-color: #258caa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47,173,206,.40);
}
.ccc-expert-btn--ghost {
  background: #fff;
  color: #1a1a1a !important;
  border: 1px solid #d8d8d8;
}
.ccc-expert-btn--ghost:hover { background: #f0f2f5; border-color: #2fadce; color: #2fadce !important; }

/* Listes a puces / numerotees : reset + style propre (les themes prestashop neutralisent souvent ul/ol) */
.pm-efp2-faq__a ul,
.pm-efp2-faq__a ol{
  list-style: revert;
  margin: .5rem 0 .8rem 0;
  padding-left: 1.6rem;
}
.pm-efp2-faq__a ul li,
.pm-efp2-faq__a ol li{
  margin: .35rem 0;
  padding-left: .25rem;
  line-height: 1.55;
  color: #444;
}
.pm-efp2-faq__a ul li::marker{ color: #2fadce; }
.pm-efp2-faq__a ol li::marker{ color: #2fadce; font-weight: 700; }
.pm-efp2-faq__a ul ul,
.pm-efp2-faq__a ol ol,
.pm-efp2-faq__a ul ol,
.pm-efp2-faq__a ol ul{ margin: .25rem 0 .35rem; }

.pm-efp2-btn--ghost:hover,
.pm-efp2-btn--ghost:hover *{
  background: #f7f7f7 !important;
  color: #111 !important;
}





/* si tu as des icônes SVG */
a.pm-efp2-btn.pm-efp2-btn--ghost:hover svg,
a.pm-efp2-btn.pm-efp2-btn--ghost:hover svg * {
  fill: #f2c100 !important;
  stroke: #f2c100 !important;
}


/* Expert badge tab (image) */
.pm-efp2-expert-tab{
  position: absolute;
  top: 20px;
  left: 20px;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}
.pm-efp2-expert-tab img{
  display: block;
  width: auto;
  height: auto;
  max-width: 260px;
}
@media (max-width: 480px){
  .pm-efp2-expert{padding-top: 22px;}
  .pm-efp2-expert-tab{left: 18px;}
  .pm-efp2-expert-tab img{max-width: 210px;}
}
