/* CXD Reviews — xem ảnh phóng to (dùng chung mặt bán hàng và khu quản trị). Phần tử gốc là <dialog> gốc của trình duyệt:
   có sẵn bẫy tiêu điểm, phím Esc và lớp phủ — không tự viết lại. */
.cxd-rv-lb{width:100%;height:100%;max-width:100vw;max-height:100dvh;margin:0;padding:0;border:0;background:transparent;color:#fff;overflow:hidden}
.cxd-rv-lb::backdrop{background:rgba(35,31,32,.78)}
.cxd-rv-lb__khung{position:relative;display:grid;place-items:center;width:100%;height:100%;padding:60px 16px 48px;box-sizing:border-box}
.cxd-rv-lb__anh{display:block;max-width:min(100%,1200px);max-height:calc(100vh - 108px);max-height:calc(100dvh - 108px);object-fit:contain;border-radius:8px;background:#fff}   /* tính theo khung nhìn: % chiều cao không phân giải được trong ô lưới cao theo nội dung → ảnh tràn khỏi màn hình */
.cxd-rv-lb button{position:absolute;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:#fff;color:#231F20;cursor:pointer;
  transition:background-color 150ms cubic-bezier(.2,.7,.2,1)}
.cxd-rv-lb button:hover{background:#FFF200}
.cxd-rv-lb button:focus-visible{outline:3px solid #FFF200;outline-offset:2px}
.cxd-rv-lb__dong{top:8px;right:8px}
.cxd-rv-lb__truoc,.cxd-rv-lb__sau{top:50%;margin-top:-22px}
.cxd-rv-lb__truoc{left:8px}
.cxd-rv-lb__sau{right:8px}
.cxd-rv-lb__dem{position:absolute;left:0;right:0;bottom:12px;margin:0;text-align:center;font:600 .875rem/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.cxd-rv-lb svg{display:block}
.cxd-rv-lb [hidden]{display:none}   /* display:grid ở trên sẽ thắng thuộc tính hidden nếu không ép lại */
@media (prefers-reduced-motion:reduce){.cxd-rv-lb button{transition-duration:.01ms}}
