/* Shared product body typography: frontend and product UEditor only. */
.zk-product-content {
    color: #334155;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: break-word;
}
.zk-product-content h1, .zk-product-content h2, .zk-product-content h3,
.zk-product-content h4 { color: #172033; font-weight: 700; line-height: 1.45; margin: 1.7em 0 .75em; }
.zk-product-content h1, .zk-product-content h2 { font-size: 1.35em; }
.zk-product-content h3 { font-size: 1.15em; }
.zk-product-content h4 { font-size: 1.05em; }
.zk-product-content > :first-child { margin-top: 0; }
.zk-product-content p { margin: 0 0 1em; }
.zk-product-content strong, .zk-product-content b { font-weight: 700; }
.zk-product-content a { color: #496fea; text-decoration: underline; text-underline-offset: 3px; }
.zk-product-content ul, .zk-product-content ol { padding-left: 1.5em; margin: 0 0 1.25em; }
.zk-product-content ul { list-style: disc outside; }
.zk-product-content ol { list-style: decimal outside; }
.zk-product-content li { margin: .3em 0; padding-left: .15em; }
.zk-product-content li > p { margin: .3em 0; }
.zk-product-content blockquote { margin: 1.25em 0; padding: .75em 1em; border-left: 3px solid #496fea; background: #f8fafc; }
.zk-product-content blockquote p:last-child { margin-bottom: 0; }
.zk-product-content .rich-table-wrap { margin: 1.25em 0 1.75em; }
.zk-product-content table { width: 100%; max-width: 100%; margin: 1.25em 0; border-collapse: collapse; table-layout: auto; font-size: .95em; line-height: 1.65; }
.zk-product-content .rich-table-wrap > table { margin: 0; }
.zk-product-content th, .zk-product-content td { border: 1px solid #dfe5ee !important; padding: 12px 16px !important; vertical-align: top; color: #334155; background-color: #fff; word-break: normal !important; overflow-wrap: break-word; }
.zk-product-content th, .zk-product-content tr.firstRow > td { background-color: #f1f5f9; color: #26364b; font-weight: 700; text-align: left; }
.zk-product-content td:first-child { background-color: #f8fafc; }
.zk-product-content table p { margin: 0 !important; }
.zk-product-content table p + p { margin-top: .4em !important; }
.zk-product-content table p, .zk-product-content table span { font-size: inherit !important; font-family: inherit !important; line-height: inherit !important; word-break: normal !important; }
.zk-product-content img, .zk-product-content video { max-width: 100%; height: auto; }
.zk-product-content pre { max-width: 100%; overflow: auto; white-space: pre-wrap; padding: 1em; background: #f8fafc; border: 1px solid #e2e8f0; }
.zk-product-content code { font-family: ui-monospace, monospace; font-size: .9em; overflow-wrap: anywhere; }
/* Empty pasted heading/paragraph spacers should not create repeated large gaps. */
.zk-product-content h1:has(> br:only-child), .zk-product-content h2:has(> br:only-child),
.zk-product-content h3:has(> br:only-child), .zk-product-content h4:has(> br:only-child) { display: none; }
@media (max-width: 640px) {
    .zk-product-content { font-size: 15px; }
    .zk-product-content th, .zk-product-content td { padding: 10px 12px !important; }
    .zk-product-content table { min-width: 420px; }
    .zk-product-content .rich-table-wrap { max-width: 100%; overflow-x: auto; }
}
