/* ÉCLORYA — maillage interne discret Produits ↔ Carnet */

/* Liens contextuels directement dans les textes des fiches. */
.eclorya-product-page .eclorya-context-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(174,129,80,.58);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.eclorya-product-page .eclorya-context-link:hover {
  color: var(--efp-copper);
  text-decoration-color: var(--efp-copper);
}

/* Petit rappel du Carnet, sans cartes ni grandes images. */
.eclorya-product-page .efp-carnet-mini {
  max-width: 900px;
  padding-top: clamp(48px, 5vw, 68px);
  padding-bottom: clamp(46px, 5vw, 66px);
}

.eclorya-product-page .efp-carnet-hand {
  margin: 0 0 9px !important;
  color: var(--efp-copper);
  font-family: var(--efp-hand);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2 !important;
  text-align: left;
}

.eclorya-product-page .efp-carnet-list {
  border-top: 1px solid var(--efp-line);
}

.eclorya-product-page .efp-carnet-list a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--efp-line);
  color: var(--efp-ink);
  text-decoration: none;
  transition: color .25s ease, padding-left .25s ease;
}

.eclorya-product-page .efp-carnet-list a:hover {
  color: var(--efp-copper);
  padding-left: 4px;
}

.eclorya-product-page .efp-carnet-list span {
  color: var(--efp-copper);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eclorya-product-page .efp-carnet-list strong {
  font-family: var(--efp-title-font);
  font-size: clamp(.88rem, 1.45vw, 1.04rem);
  font-weight: 400;
  line-height: 1.3;
}

.eclorya-product-page .efp-carnet-list b {
  color: var(--efp-copper);
  font-size: .95rem;
  font-weight: 400;
  text-align: right;
}

/* Dans le Journal : simple lien texte vers le soin correspondant. */
.eclorya-article-product-text {
  max-width: 720px;
  margin: 36px auto 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(23,19,15,.12);
  color: #65584e;
  font-size: .82rem;
  line-height: 1.55;
}

.eclorya-article-product-text span {
  color: #a77e4f;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.eclorya-article-product-text a {
  color: #17130f;
  text-decoration-line: underline;
  text-decoration-color: rgba(174,129,80,.5);
  text-underline-offset: 3px;
}

.eclorya-article-product-text a:hover {
  color: #936245;
}

@media (max-width: 640px) {
  .eclorya-product-page .efp-carnet-mini {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .eclorya-product-page .efp-carnet-list a {
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 12px 0;
  }

  .eclorya-product-page .efp-carnet-list strong {
    font-size: .94rem;
  }
}

/* -------------------------------------------------------------------------
 * Questions naturelles GEO : petites bulles accordéon, sans transformer
 * la fiche produit en FAQ technique.
 * ---------------------------------------------------------------------- */
.eclorya-product-page .efp-geo-questions {
  max-width: 980px;
  padding-top: clamp(18px, 2.5vw, 34px);
  padding-bottom: clamp(32px, 4vw, 50px);
}

.eclorya-product-page .efp-geo-intro {
  position: relative;
  max-width: 760px;
  margin: 0 auto clamp(24px, 3vw, 34px);
  padding: 30px 34px 22px;
  text-align: center;
}

.eclorya-product-page .efp-geo-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 1px;
  background: rgba(174,129,80,.52);
  transform: translateX(-50%);
}

.eclorya-product-page .efp-geo-hand {
  margin: 0 0 4px !important;
  color: var(--efp-copper) !important;
  font-family: var(--efp-hand);
  font-size: clamp(1.78rem, 3.2vw, 2.42rem);
  line-height: 1.25 !important;
  transform: rotate(-1deg);
}

.eclorya-product-page .efp-geo-copy {
  margin: 0 !important;
  color: var(--efp-soft) !important;
  font-size: clamp(.76rem, 1.2vw, .88rem);
  line-height: 1.6 !important;
}

.eclorya-product-page .efp-geo-list {
  display: grid;
  gap: 10px;
}

.eclorya-product-page .efp-geo-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(23,19,15,.10);
  border-radius: 22px;
  background: rgba(255,254,251,.72);
  box-shadow: 0 8px 28px rgba(50,37,27,.025);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.eclorya-product-page .efp-geo-item:hover,
.eclorya-product-page .efp-geo-item[open] {
  border-color: rgba(174,129,80,.32);
  background: var(--efp-white);
  box-shadow: 0 12px 34px rgba(50,37,27,.045);
}

.eclorya-product-page .efp-geo-item summary {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 26px;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 14px 20px;
  color: var(--efp-ink);
  cursor: pointer;
  list-style: none;
}

.eclorya-product-page .efp-geo-item summary::-webkit-details-marker { display: none; }

.eclorya-product-page .efp-geo-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(174,129,80,.36);
  border-radius: 50%;
  color: var(--efp-copper);
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.eclorya-product-page .efp-geo-question {
  font-family: var(--efp-title-font);
  font-size: clamp(.98rem, 1.55vw, 1.14rem);
  font-weight: 400;
  line-height: 1.35;
}

.eclorya-product-page .efp-geo-plus {
  position: relative;
  width: 20px;
  height: 20px;
  justify-self: end;
}

.eclorya-product-page .efp-geo-plus::before,
.eclorya-product-page .efp-geo-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: var(--efp-copper);
  transform: translate(-50%,-50%);
  transition: transform .25s ease;
}

.eclorya-product-page .efp-geo-plus::after {
  transform: translate(-50%,-50%) rotate(90deg);
}

.eclorya-product-page .efp-geo-item[open] .efp-geo-plus::after {
  transform: translate(-50%,-50%) rotate(0deg);
}

.eclorya-product-page .efp-geo-answer {
  padding: 0 64px 18px 66px;
}

.eclorya-product-page .efp-geo-answer p {
  max-width: 760px;
  margin: 0 !important;
  color: var(--efp-soft) !important;
  font-size: .78rem;
  line-height: 1.72 !important;
}

/* Le Carnet suit directement les questions, donc moins d'espace qu'avant. */
.eclorya-product-page .efp-geo-questions + .efp-carnet-mini {
  padding-top: 10px;
}

@media (max-width: 700px) {
  .eclorya-product-page .efp-geo-questions {
    width: min(100% - 32px, 980px);
  }

  .eclorya-product-page .efp-geo-intro {
    padding: 26px 8px 18px;
  }

  .eclorya-product-page .efp-geo-item {
    border-radius: 18px;
  }

  .eclorya-product-page .efp-geo-item summary {
    grid-template-columns: 30px minmax(0,1fr) 22px;
    gap: 10px;
    min-height: 64px;
    padding: 13px 14px;
  }

  .eclorya-product-page .efp-geo-number {
    width: 27px;
    height: 27px;
    font-size: .57rem;
  }

  .eclorya-product-page .efp-geo-question {
    font-size: .94rem;
  }

  .eclorya-product-page .efp-geo-answer {
    padding: 0 42px 16px 53px;
  }

  .eclorya-product-page .efp-geo-answer p {
    font-size: .75rem;
  }
}
