/* ------------------------------------------------ */
/* LEM LETTRAGE PERSO */
/* Ajustements structure fiche produit PrestaShop */
/* ------------------------------------------------ */

/* uniquement si le configurateur est présent */
body#product #lem-lp-configurator {
  width: 100%;
  max-width: 100%;
}

/* masquer la colonne galerie native proche du configurateur */
body#product .elementor-widget-product-images,
body#product .ce-product-images,
body#product .images-container,
body#product .product-cover,
body#product .product-images,
body#product .product-thumbnails {
  display: none !important;
}

/* élargir la zone produit quand la galerie est masquée */
body#product #lem-lp-configurator.closest-product-layout,
body#product #lem-lp-configurator {
  width: 100%;
}

/* colonne gauche image masquée + colonne droite pleine largeur */
body#product .elementor-element.elementor-col-33:has(.elementor-widget-product-images) {
  display: none !important;
}

body#product .elementor-element.elementor-col-33:has(#lem-lp-configurator),
body#product .elementor-element.elementor-col-50:has(#lem-lp-configurator) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* sécuriser l'intérieur du configurateur */
body#product #lem-lp-configurator,
body#product #lem-lp-configurator .lem-lp-stage,
body#product #lem-lp-configurator .lem-lp-stage-canvas {
  width: 100%;
  max-width: 100%;
}

body#product #hide_surplus + .lem-lp-product-presentation,
body#product .lem-lp-product-presentation {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid #dbe3f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 10px 28px rgba(0, 10, 102, 0.06);
}

body#product .lem-lp-product-presentation__header {
  margin-bottom: 28px;
}

body#product .lem-lp-product-presentation__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 10, 102, 0.08);
  color: #000a66;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* harmoniser le haut de fiche Elementor avec le style "eyebrow" */
body#product .elementor-widget-product-name .ce-product-name.elementor-heading-title,
body#product .elementor-widget-product-name .ce-product-name--full {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  background: rgba(0, 10, 102, 0.08) !important;
  color: #000a66 !important;
  font-size: 1rem !important; /* même style, taille ajustée */
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  width: fit-content !important;
  max-width: 100% !important;
}

body#product .lem-lp-product-presentation__title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
}

body#product .lem-lp-product-presentation__intro {
  margin: 0;
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}

body#product .lem-lp-product-presentation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

body#product .lem-lp-product-card {
  padding: 22px;
  border: 1px solid #e3eaf5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 10, 102, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body#product .lem-lp-product-card:hover {
  transform: translateY(-2px);
  border-color: #c9d7ee;
  box-shadow: 0 10px 26px rgba(0, 10, 102, 0.08);
}

body#product .lem-lp-product-card__title {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: #000a66;
}

body#product .lem-lp-product-card__text {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.97rem;
}

body#product .lem-lp-product-presentation__subtitle {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 700;
  color: #000a66;
}

body#product .lem-lp-product-presentation__benefits,
body#product .lem-lp-product-presentation__uses,
body#product .lem-lp-product-presentation__steps,
body#product .lem-lp-product-presentation__faq {
  list-style: none;
  margin: 0;
  padding: 0;
}

body#product .lem-lp-product-presentation__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

body#product .lem-lp-product-presentation__benefits li,
body#product .lem-lp-product-presentation__uses li,
body#product .lem-lp-product-presentation__steps li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: #1f2937;
  line-height: 1.65;
}

body#product .lem-lp-product-presentation__benefits li::before,
body#product .lem-lp-product-presentation__uses li::before,
body#product .lem-lp-product-presentation__steps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 10, 102, 0.1);
  color: #000a66;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

body#product .lem-lp-product-presentation__uses,
body#product .lem-lp-product-presentation__steps {
  display: grid;
  gap: 10px;
}

body#product .lem-lp-product-presentation__faq {
  display: grid;
  gap: 14px;
}

body#product .lem-lp-product-presentation__faq li {
  padding: 16px 18px;
  border: 1px solid #e3eaf5;
  border-radius: 14px;
  background: #f9fbff;
}

body#product .lem-lp-product-presentation__faq strong {
  display: block;
  margin-bottom: 6px;
  color: #000a66;
  font-size: 0.98rem;
}

body#product .lem-lp-product-presentation__faq span {
  color: #4b5563;
  line-height: 1.65;
  font-size: 0.95rem;
}

body#product .lem-lp-product-presentation__highlight {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid #d8e2f2;
  border-radius: 16px;
  background: linear-gradient(135deg, #000a66 0%, #1b2d8a 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 10, 102, 0.14);
}

body#product .lem-lp-product-presentation__highlight-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

body#product .lem-lp-product-presentation__highlight-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  body#product .lem-lp-product-presentation__grid,
  body#product .lem-lp-product-presentation__benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  body#product .lem-lp-product-presentation {
    margin-top: 24px;
    padding: 22px 18px;
    border-radius: 14px;
  }

  body#product .lem-lp-product-card {
    padding: 18px;
    border-radius: 14px;
  }

  body#product .lem-lp-product-presentation__title {
    font-size: 1.45rem;
  }

  body#product .lem-lp-product-presentation__highlight {
    padding: 18px;
    border-radius: 14px;
  }
}

/* ------------------------------------------------ */
/* Bloc description Elementor (ID: 168541b) */
/* Style aligné avec la présentation TPL */
/* ------------------------------------------------ */
body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-areas:
    "intro intro"
    "intro2 intro2"
    "left-title right-title"
    "left-list right-text"
    "left-list right-list" !important;
  column-gap: 64px !important;
  row-gap: 18px !important;
  margin-top: 32px !important;
  padding: 32px !important;
  border: 1px solid #dbe3f0 !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important;
  box-shadow: 0 10px 28px rgba(0, 10, 102, 0.06) !important;
  align-items: start !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > p:nth-of-type(1) {
  grid-area: intro !important;
  margin: 0 !important;
  color: #4b5563 !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > p:nth-of-type(2) {
  grid-area: intro2 !important;
  margin: 0 0 10px !important;
  color: #4b5563 !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > h2 {
  margin: 0 !important;
  font-size: 1.12rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #000a66 !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > h2:nth-of-type(1) {
  grid-area: left-title !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > ul:nth-of-type(1) {
  grid-area: left-list !important;
  align-self: start !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > h2:nth-of-type(2) {
  grid-area: right-title !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > p:nth-of-type(3) {
  grid-area: right-text !important;
  margin: 0 !important;
  color: #4b5563 !important;
  line-height: 1.75 !important;
  font-size: 1rem !important;
  align-self: start !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > ul:nth-of-type(2) {
  grid-area: right-list !important;
  margin-top: 2px !important;
  align-self: start !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > ul > li {
  position: relative !important;
  margin: 0 !important;
  padding-left: 32px !important;
  color: #1f2937 !important;
  line-height: 1.65 !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > ul > li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 999px !important;
  background: rgba(0, 10, 102, 0.08) !important;
  color: #000a66 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  text-align: center !important;
}

body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container > p:empty {
  display: none !important;
}

body#product .elementor-element-168541b .elementor-widget-container > ul:nth-of-type(2) {
  justify-self: start !important;
  align-self: start !important;
  margin-top: 8px !important;
}

body#product .elementor-element-168541b .elementor-widget-container > ul:nth-of-type(2) li {
  justify-content: flex-start !important;
}

@media (max-width: 991.98px) {
  body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "intro"
      "intro2"
      "left-title"
      "left-list"
      "right-title"
      "right-text"
      "right-list" !important;
    column-gap: 0 !important;
    row-gap: 16px !important;
  }
}

@media (max-width: 767.98px) {
  body#product .elementor-element-168541b.elementor-widget-text-editor .elementor-widget-container {
    margin-top: 24px !important;
    padding: 22px 18px !important;
    border-radius: 14px !important;
  }
}