/* Bổ sung cho bản WordPress (giao diện gốc nằm ở main.css) */

/* Dấu đầu dòng cho danh sách soạn trong trình soạn thảo (không có icon SVG) */
.doc li:not(:has(>svg))::before,
.art-body li:not(:has(>svg))::before,
.ptab-body li:not(:has(>svg))::before{
  content:"";width:16px;height:16px;flex-shrink:0;margin-top:5px;background:var(--green-600);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.art-body li:not(:has(>svg))::before,.ptab-body li:not(:has(>svg))::before{background:var(--gold)}
.doc ol,.art-body ol,.ptab-body ol{padding-left:22px;list-style:decimal;margin:0 0 14px}
.doc ol li,.art-body ol li,.ptab-body ol li{display:list-item}
.doc ol li::before,.art-body ol li::before,.ptab-body ol li::before{display:none}
.doc a,.art-body a{color:var(--green-700)}
.doc img,.art-body img,.ptab-body img{height:auto;border-radius:8px;margin:10px 0}
.art-cover-img{background:none;height:auto}
.art-cover-img img{width:100%;height:auto;max-height:420px;object-fit:cover;border-radius:12px}

/* Giá cũ trên trang chi tiết */
.pd-price del{color:#a8a39a;font-size:16px;margin-left:8px}
.pd-meta a:hover{color:var(--green-700)}

/* Thông báo lỗi trong form */
.xt-err{display:none;background:#fdecea;border:1px solid #f3c3bd;color:var(--red);border-radius:8px;padding:10px 12px;font-size:13.5px;margin:12px 0 0}
.xt-err.on{display:block}
button.submit[disabled],button.submit.busy{opacity:.65;cursor:wait}

/* Sau khi đặt hàng: mã đơn + chuyển khoản */
.xt-code{font-size:15px}
.xt-code b{color:var(--green-800);font-size:18px}
.xt-bank{display:none;max-width:460px;margin:0 auto 22px;border:1px solid var(--line);border-radius:12px;padding:18px;text-align:left;background:#fff}
.xt-bank.on{display:block}
.xt-bank h4{font-size:16px;color:var(--green-800);margin-bottom:10px;text-align:center}
.xt-bank img{width:240px;max-width:100%;margin:0 auto 12px;border-radius:8px}
.xt-bank .row{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:6px 0;border-bottom:1px dashed var(--line)}
.xt-bank .row:last-child{border-bottom:0}
.xt-bank .row b{color:var(--ink);text-align:right}

/* Phân trang */
.xt-pager{margin:26px 0 0;text-align:center}
.xt-pager .nav-links{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.xt-pager .page-numbers{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;padding:0 10px;font-size:14px}
.xt-pager .page-numbers.current{background:var(--green-700);color:#fff;border-color:var(--green-700)}
.xt-pager h2{display:none}
.xt-none{padding:30px 0;color:var(--ink-soft);text-align:center}

/* Thanh quản trị WordPress khi đăng nhập */
.admin-bar .nav{top:32px}
@media (max-width:782px){.admin-bar .nav{top:0}}

/* Căn chỉnh ảnh/khối của trình soạn thảo */
.alignleft{float:left;margin:0 16px 10px 0}
.alignright{float:right;margin:0 0 10px 16px}
.aligncenter{margin-left:auto;margin-right:auto}
.wp-caption-text,figcaption{font-size:13px;color:var(--ink-soft);text-align:center}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
