/* V45 – shared product content renderer: Admin AI preview/editor + public detail */
.product-content-render,
.v38-result-pane[data-v38-content="long"]{
  --pc-green:#146c43;--pc-green-dark:#174a31;--pc-soft:#f3faf6;--pc-line:#dbe9e1;--pc-text:#253a31;--pc-muted:#64766d;
  color:var(--pc-text);font-size:16px;line-height:1.78;overflow-wrap:anywhere
}
.product-content-render>*:first-child,
.v38-result-pane[data-v38-content="long"]>*:first-child{margin-top:0}
.product-content-render>*:last-child,
.v38-result-pane[data-v38-content="long"]>*:last-child{margin-bottom:0}
.product-content-render p,
.v38-result-pane[data-v38-content="long"] p{margin:0 0 16px;color:var(--pc-text)}
.product-content-render h2,
.v38-result-pane[data-v38-content="long"] h2{
  position:relative;margin:34px 0 16px;padding:0 0 11px 17px;color:var(--pc-green-dark);font:800 25px/1.35 "Be Vietnam Pro",Arial,sans-serif;letter-spacing:-.02em;border-bottom:1px solid var(--pc-line)
}
.product-content-render h2:before,
.v38-result-pane[data-v38-content="long"] h2:before{content:"";position:absolute;left:0;top:.22em;width:5px;height:1.05em;border-radius:6px;background:var(--pc-green)}
.product-content-render h3,
.v38-result-pane[data-v38-content="long"] h3{margin:24px 0 10px;color:#245941;font:750 19px/1.45 "Be Vietnam Pro",Arial,sans-serif}
.product-content-render ul,.product-content-render ol,
.v38-result-pane[data-v38-content="long"] ul,.v38-result-pane[data-v38-content="long"] ol{
  margin:14px 0 22px;padding:16px 18px 16px 42px;border:1px solid var(--pc-line);border-radius:14px;background:linear-gradient(180deg,#f8fcfa,var(--pc-soft))
}
.product-content-render li,
.v38-result-pane[data-v38-content="long"] li{margin:7px 0;padding-left:3px}
.product-content-render li::marker,
.v38-result-pane[data-v38-content="long"] li::marker{color:var(--pc-green);font-weight:800}
.product-content-render strong,
.v38-result-pane[data-v38-content="long"] strong{color:var(--pc-green-dark);font-weight:800}
.product-content-render blockquote,
.v38-result-pane[data-v38-content="long"] blockquote{
  margin:20px 0;padding:17px 20px;border:1px solid #cfe7d8;border-left:5px solid var(--pc-green);border-radius:12px;background:#f1faf5;color:#36584a;font-style:normal
}
.product-content-render table,
.v38-result-pane[data-v38-content="long"] table{width:100%;margin:18px 0 26px;border-collapse:separate;border-spacing:0;border:1px solid var(--pc-line);border-radius:14px;overflow:hidden;background:#fff;font-size:14px}
.product-content-render th,.product-content-render td,
.v38-result-pane[data-v38-content="long"] th,.v38-result-pane[data-v38-content="long"] td{padding:12px 14px;text-align:left;vertical-align:top;border-right:1px solid var(--pc-line);border-bottom:1px solid var(--pc-line)}
.product-content-render th:last-child,.product-content-render td:last-child,
.v38-result-pane[data-v38-content="long"] th:last-child,.v38-result-pane[data-v38-content="long"] td:last-child{border-right:0}
.product-content-render tr:last-child td,
.v38-result-pane[data-v38-content="long"] tr:last-child td{border-bottom:0}
.product-content-render thead th,
.v38-result-pane[data-v38-content="long"] thead th{background:#eaf7ef;color:var(--pc-green-dark);font-weight:800}
#product-rich-editor.product-content-render{min-height:380px;padding:22px;border:1px solid #d8e4dd;border-radius:0 0 12px 12px;background:#fff;outline:none}
#product-rich-editor.product-content-render:focus{border-color:#58a77d;box-shadow:0 0 0 3px rgba(20,108,67,.08)}
.v38-result-pane[data-v38-content="long"]{max-height:540px;overflow:auto;padding:20px;background:#fff;border:1px solid #e1ebe5;border-radius:12px}
.detail-content.prose>.product-content-render{max-width:920px;margin:0 auto}
.detail-content.prose>.product-content-render>p:first-child{font-size:18px;line-height:1.8;color:#3f5b4e}
@media(max-width:768px){
  .product-content-render,.v38-result-pane[data-v38-content="long"]{font-size:15px;line-height:1.72}
  .product-content-render h2,.v38-result-pane[data-v38-content="long"] h2{margin-top:27px;font-size:21px;padding-left:14px}
  .product-content-render h3,.v38-result-pane[data-v38-content="long"] h3{font-size:17px}
  .product-content-render ul,.product-content-render ol,.v38-result-pane[data-v38-content="long"] ul,.v38-result-pane[data-v38-content="long"] ol{padding:13px 14px 13px 34px;border-radius:11px}
  .product-content-render table,.v38-result-pane[data-v38-content="long"] table{display:block;overflow-x:auto;white-space:normal;-webkit-overflow-scrolling:touch}
  .product-content-render th,.product-content-render td,.v38-result-pane[data-v38-content="long"] th,.v38-result-pane[data-v38-content="long"] td{min-width:135px;padding:10px 11px}
  #product-rich-editor.product-content-render{min-height:320px;padding:15px}
  .v38-result-pane[data-v38-content="long"]{padding:14px;max-height:58vh}
  .detail-content.prose>.product-content-render>p:first-child{font-size:16px}
}

/* V51 blocks inserted by the admin editor */
.product-content-render figure.v51-editor-image{margin:24px auto;text-align:center;max-width:100%}.product-content-render figure.v51-editor-image img{display:block;max-width:100%;height:auto;margin:auto;border-radius:12px}.product-content-render figure.v51-editor-image figcaption{margin-top:8px;font-size:13px;color:#6b7d74}.product-content-render .v51-editor-image.w-50{width:50%}.product-content-render .v51-editor-image.w-75{width:75%}.product-content-render .v51-editor-image.w-100,.product-content-render .v51-editor-image.align-full{width:100%}.product-content-render .v51-editor-image.align-left{margin-left:0}.product-content-render .v51-editor-image.align-right{margin-right:0}.product-content-render .v51-cta{margin:26px 0;padding:20px 22px;border:1px solid #b9d9c7;border-left:4px solid #2e7d32;border-radius:12px;background:#f2faf5}.product-content-render .v51-cta h3{margin:0 0 7px;color:#174a31}.product-content-render .v51-faq{margin:28px 0}.product-content-render .v51-faq-item{padding:16px 18px;margin:10px 0;border:1px solid #dce8e2;border-radius:12px;background:#fbfdfc}.product-content-render .v51-faq-item h3{margin-top:0;color:#174a31}@media(max-width:700px){.product-content-render .v51-editor-image.w-50,.product-content-render .v51-editor-image.w-75{width:100%}}

/* V516L63: polished public product detail, without changing editor or SQL */
.v120-content-main .product-content-render{max-width:100%;line-height:1.85;color:#263c32}
.v120-content-main .product-content-render p{margin:0 0 18px}
.v120-content-main .product-content-render img{display:block;max-width:100%;height:auto;margin:20px auto;border-radius:14px}
.v120-content-main .product-content-render a{color:#146c43;text-decoration:underline;text-underline-offset:3px}
.v120-content-main .product-content-render table{max-width:100%;box-shadow:0 7px 22px rgba(23,74,49,.05)}
.v120-content-main .product-content-render :is(td,th){overflow-wrap:break-word}
@media(max-width:768px){.v120-content-main .product-content-render{font-size:15px}.v120-content-main .product-content-render img{border-radius:10px}}
/* V516L64: structured manual article */
.v64-product-article{line-height:1.85;overflow-wrap:anywhere}.v64-product-article h2{color:#174a31;border-bottom:2px solid #dbe9df;padding:13px 0;margin:28px 0 14px;font-size:clamp(19px,2vw,25px)}.v64-product-article .v64-heading-num{display:inline-grid;place-items:center;background:#174a31;color:white;border-radius:50%;width:32px;height:32px;margin-right:12px;font-size:18px}.v64-product-article p{margin:0 0 15px}.v64-product-article .v64-info-item{padding:12px 16px;margin:8px 0;background:#f5f9f6;border-left:3px solid #278450;border-radius:7px}.v64-product-article .v64-highlight-heading{color:#174a31;background:#f1f7f3;padding:14px;border-radius:8px}#v64-auto-html{background:#174a31;color:#fff;border-radius:7px;padding:9px 13px;font-weight:700}#v64-html-dialog{width:min(960px,95vw);max-height:90vh;border:0;border-radius:14px;padding:22px;box-shadow:0 20px 70px #0004}#v64-html-dialog::backdrop{background:#0009}.v64-dialog-head,.v64-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.v64-dialog-head strong{font-size:19px;color:#174a31}.v64-dialog-head button,.v64-dialog-actions button{padding:10px 16px;border:1px solid #c9d9d0;border-radius:8px;cursor:pointer}.v64-dialog-actions{justify-content:flex-end;margin-top:15px}.v64-dialog-actions [data-v64-apply]{background:#174a31;color:#fff}.v64-note{color:#875c14;background:#fff8e7;padding:12px;border-radius:8px}.v64-preview{overflow:auto;max-height:60vh;padding:14px;border:1px solid #e2e9e4;border-radius:10px}

/* V516L65: readable manual HTML sections */
.product-content-render .v65-product-article h2,.v65-product-article h2{font-size:clamp(19px,2vw,25px);line-height:1.4;margin:30px 0 15px;padding:12px 15px;border-left:5px solid #087a46;background:#f0f8f3;border-radius:0 9px 9px 0;color:#124b32}
.v65-product-article p{line-height:1.85;margin:0 0 14px}.v65-product-article .v64-info-item{margin:9px 0;padding:12px 15px;border:1px solid #dcece2;border-radius:10px;background:#f8fcf9}.v65-product-article .v64-highlight-heading{margin:25px 0 12px;padding:13px 16px;background:#fff6e9;border-radius:10px;color:#a54d09}.v65-price-warning{border:1px solid #e3a04a;background:#fff8eb;border-radius:12px;padding:16px;margin:18px 0;overflow-wrap:anywhere}.v65-price-warning p{margin:8px 0}.v65-price-raw{overflow-wrap:anywhere}@media(max-width:640px){.v65-product-article h2{font-size:19px;padding:10px}}
/* V516L66: semantic heading hierarchy and mobile-friendly pricing */
.product-content-render .v66-table-scroll,.v64-preview .v66-table-scroll{width:100%;overflow-x:auto;margin:20px 0;border-radius:12px;border:1px solid #dce9e0}
.product-content-render .v66-price-table,.v64-preview .v66-price-table{width:100%;border-collapse:collapse;min-width:650px;font-size:14px}
.product-content-render .v66-price-table th,.v64-preview .v66-price-table th{background:#174a31;color:#fff;padding:13px;text-align:left}
.product-content-render .v66-price-table td,.v64-preview .v66-price-table td{padding:12px;border-bottom:1px solid #e5ede8;vertical-align:top}
.product-content-render .v66-price-table tbody tr:nth-child(even),.v64-preview .v66-price-table tbody tr:nth-child(even){background:#f3f8f5}
.product-content-render .v66-product-article h2,.product-content-render .v65-product-article h2{font-size:clamp(20px,2vw,26px);font-weight:750;line-height:1.4;color:#174a31;border-left:5px solid #14834a;padding:8px 0 8px 16px;margin:30px 0 16px}
.product-content-render .v65-product-article h3{font-size:clamp(17px,1.5vw,21px);color:#174a31;margin:22px 0 12px}
