/**
 * Typographie descriptions extras — booking bar, résultats, boutique Woo.
 * Rétablit paragraphes, listes et retours à la ligne (sans modifier le contenu en base).
 */

.loft-pms-extra-desc-content,
.loft-extra-modal-desc.loft-pms-extra-desc-content {
  display: block;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.65;
  color: inherit;
}

.loft-pms-extra-desc-content > *:first-child {
  margin-top: 0;
}

.loft-pms-extra-desc-content > *:last-child {
  margin-bottom: 0;
}

.loft-pms-extra-desc-content p {
  display: block;
  margin: 0 0 0.75em;
}

.loft-pms-extra-desc-content p:last-child {
  margin-bottom: 0;
}

.loft-pms-extra-desc-content ul,
.loft-pms-extra-desc-content ol {
  display: block;
  margin: 0 0 0.85em;
  padding: 0 0 0 1.35em;
  list-style-position: outside;
}

.loft-pms-extra-desc-content ul {
  list-style-type: disc;
}

.loft-pms-extra-desc-content ol {
  list-style-type: decimal;
}

.loft-pms-extra-desc-content li {
  display: list-item;
  margin: 0 0 0.5em;
  padding-left: 0.15em;
}

.loft-pms-extra-desc-content li:last-child {
  margin-bottom: 0;
}

.loft-pms-extra-desc-content br {
  display: block;
  margin-bottom: 0.45em;
  line-height: 0;
}

.loft-pms-extra-desc-content strong,
.loft-pms-extra-desc-content b {
  font-weight: 700;
}

.loft-pms-extra-desc-content em,
.loft-pms-extra-desc-content i {
  font-style: italic;
}

.loft-pms-extra-desc-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.loft-pms-extra-desc-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.5em 0;
  border-radius: 8px;
}

.loft-pms-extra-desc-content blockquote {
  display: block;
  margin: 0 0 0.75em;
  padding-left: 0.85em;
  border-left: 3px solid rgba(0, 0, 0, 0.12);
}

.loft-pms-extra-desc-content h2,
.loft-pms-extra-desc-content h3,
.loft-pms-extra-desc-content h4 {
  display: block;
  margin: 0 0 0.5em;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.35;
}

/* Boutique WooCommerce (page extras PMS) */
.loft-pms-extras-shop .woocommerce-product-details__short-description,
.loft-pms-extras-shop .woocommerce-Tabs-panel--description,
.loft-pms-extras-shop .product .summary .description,
.loft-pms-extras-shop .product-short-description,
body.loft-pms-extras-shop-page .woocommerce-product-details__short-description,
body.loft-pms-extras-shop-page .product .summary .description {
  white-space: normal;
  line-height: 1.65;
}

.loft-pms-extras-shop .woocommerce-product-details__short-description p,
.loft-pms-extras-shop .woocommerce-Tabs-panel--description p,
.loft-pms-extras-shop .product .summary .description p,
body.loft-pms-extras-shop-page .woocommerce-product-details__short-description p,
body.loft-pms-extras-shop-page .product .summary .description p {
  display: block;
  margin: 0 0 0.75em;
}

.loft-pms-extras-shop .woocommerce-product-details__short-description ul,
.loft-pms-extras-shop .woocommerce-product-details__short-description ol,
.loft-pms-extras-shop .product .summary .description ul,
.loft-pms-extras-shop .product .summary .description ol,
body.loft-pms-extras-shop-page .woocommerce-product-details__short-description ul,
body.loft-pms-extras-shop-page .woocommerce-product-details__short-description ol {
  display: block;
  margin: 0 0 0.85em;
  padding: 0 0 0 1.35em;
  list-style-position: outside;
}

.loft-pms-extras-shop .woocommerce-product-details__short-description li,
.loft-pms-extras-shop .product .summary .description li,
body.loft-pms-extras-shop-page .woocommerce-product-details__short-description li {
  display: list-item;
  margin: 0 0 0.5em;
}

@media (max-width: 768px) {
  .loft-pms-extra-desc-content {
    line-height: 1.7;
  }

  .loft-pms-extra-desc-content p {
    margin-bottom: 0.85em;
  }

  .loft-pms-extra-desc-content li {
    margin-bottom: 0.55em;
  }
}
