/* Bounded editorial formatting for product descriptions and their Editor preview. */
.product-rich-description { min-width: 0; max-width: 100%; overflow-wrap: anywhere; white-space: normal; line-height: 1.75; }
.product-rich-description :is(p, h3, h4, ul, ol) { margin: 0 0 .85em; max-width: 100%; }
.product-rich-description > :last-child, .product-rich-description li > :last-child { margin-bottom: 0; }
.product-rich-description :is(h3, h4) { color: inherit; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.3; text-wrap: balance; }
.product-rich-description h3 { margin-top: 1.25em; font-size: 1.4em; }
.product-rich-description h4 { margin-top: 1.2em; font-size: 1.18em; }
.product-rich-description > :is(h3, h4):first-child { margin-top: 0; }
.product-rich-description :is(ul, ol) { padding-inline-start: 1.5em; list-style-position: outside; }
.product-rich-description ul { list-style-type: disc; }
.product-rich-description ol { list-style-type: decimal; }
.product-rich-description li { display: list-item; margin: .25em 0; }
.product-rich-description li > p { margin-bottom: .25em; }
.product-rich-description strong { font-weight: 650; }
.product-rich-description em { font-style: italic; }
.product-rich-description a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.product-rich-description a:hover { text-decoration-thickness: 2px; }
.product-rich-description a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.storefront .gallery-product-page .product-notes .product-note-content.product-rich-description { display: block; }
.storefront .gallery-product-page .product-notes .product-note-content.product-rich-description > p { margin: 0 0 .85em; }
.storefront .gallery-product-page .product-notes .product-note-content.product-rich-description > p:last-child { margin-bottom: 0; }
body.editor-app .product-preview-description.product-rich-description { display: block; white-space: normal; }
body.editor-app .product-preview-description.product-rich-description :is(h3, h4) { margin-bottom: .65em; }
