/* Product description rich-text content
   Format HTML pasted from external editors (ChatGPT/Notion/etc.)
   Loaded via Magento_Catalog/layout/catalog_product_view.xml */

.product.attribute.description .value,
.product.attribute.description .addReadMore,
.product.attribute.overview .value {
    line-height: 1.6;
}

.product.attribute.description p,
.product.attribute.description .addReadMore p,
.product.attribute.overview .value p {
    margin: 0 0 1em;
}

.product.attribute.description h2,
.product.attribute.description h3,
.product.attribute.description h4,
.product.attribute.description h5,
.product.attribute.description .addReadMore h2,
.product.attribute.description .addReadMore h3,
.product.attribute.description .addReadMore h4,
.product.attribute.description .addReadMore h5 {
    margin: 1.5em 0 .5em;
    font-weight: 700;
    color: #2b2b2b;
}

.product.attribute.description h3,
.product.attribute.description .addReadMore h3 {
    font-size: 20px;
    line-height: 28px;
}

.product.attribute.description h4,
.product.attribute.description .addReadMore h4 {
    font-size: 18px;
    line-height: 26px;
}

.product.attribute.description ul,
.product.attribute.description ol,
.product.attribute.description .addReadMore ul,
.product.attribute.description .addReadMore ol {
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.product.attribute.description ul,
.product.attribute.description .addReadMore ul {
    list-style: disc outside;
}

.product.attribute.description ol,
.product.attribute.description .addReadMore ol {
    list-style: decimal outside;
}

.product.attribute.description li,
.product.attribute.description .addReadMore li {
    margin-bottom: .4em;
    line-height: 1.6;
}

.product.attribute.description li > p,
.product.attribute.description .addReadMore li > p {
    margin: 0;
}

.product.attribute.description strong,
.product.attribute.description b,
.product.attribute.description .addReadMore strong,
.product.attribute.description .addReadMore b {
    font-weight: 700;
}

.product.attribute.description em,
.product.attribute.description i,
.product.attribute.description .addReadMore em,
.product.attribute.description .addReadMore i {
    font-style: italic;
}

.product.attribute.description hr,
.product.attribute.description .addReadMore hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .15);
    margin: 1.5em 0;
}

.product.attribute.description table,
.product.attribute.description .addReadMore table {
    width: 100%;
    margin: 1em 0 1.5em;
    border-collapse: collapse;
}

.product.attribute.description table td,
.product.attribute.description table th,
.product.attribute.description .addReadMore table td,
.product.attribute.description .addReadMore table th {
    padding: 8px 12px;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    text-align: left;
}

.product.attribute.description table tr:first-child td,
.product.attribute.description table th,
.product.attribute.description .addReadMore table tr:first-child td,
.product.attribute.description .addReadMore table th {
    background: #f7f3ec;
    font-weight: 700;
}

.product.attribute.description a,
.product.attribute.description .addReadMore a {
    color: #a8ad00;
    text-decoration: underline;
}
