/* Oxo Web – Lightbox ảnh dùng chung (assets/js/oxo-lightbox.js) */
.oxo-lb-lock, .oxo-lb-lock body { overflow: hidden !important; }
.oxo-lb { position: fixed; inset: 0; z-index: 2147483000; display: none; background: rgba(8, 9, 12, .96); color: #fff; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; user-select: none; -webkit-user-select: none; }
.oxo-lb.is-on { display: block; animation: oxoLbIn .22s ease; }
@keyframes oxoLbIn { from { opacity: 0; } to { opacity: 1; } }
.oxo-lb button, .oxo-lb a { margin: 0; padding: 0; border: 0; background: none; color: inherit; box-shadow: none; text-transform: none; line-height: 1; cursor: pointer; }
.oxo-lb__top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px 0 18px; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); }
.oxo-lb__cnt { font-size: 14px; font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; }
.oxo-lb__tools { display: flex; gap: 2px; }
.oxo-lb__tools > * { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; opacity: .8; transition: opacity .2s, background .2s; }
.oxo-lb__tools > *:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.oxo-lb__stage { position: absolute; inset: 56px 70px 48px; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.oxo-lb.has-strip .oxo-lb__stage { bottom: 120px; }
.oxo-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); transition: transform .25s ease, opacity .25s; cursor: zoom-in; -webkit-user-drag: none; }
.oxo-lb.is-zoom .oxo-lb__img { cursor: grab; transition: none; }
.oxo-lb.is-load .oxo-lb__img { opacity: .35; }
.oxo-lb__nav { position: absolute; top: 50%; z-index: 3; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-top: -26px !important; border-radius: 50% !important; background: rgba(255, 255, 255, .08) !important; opacity: .85; transition: background .2s, opacity .2s; }
.oxo-lb__nav:hover { background: rgba(255, 255, 255, .18) !important; opacity: 1; }
.oxo-lb__nav.is-prev { left: 10px; }
.oxo-lb__nav.is-next { right: 10px; }
.oxo-lb.is-single .oxo-lb__nav, .oxo-lb.is-single [data-lb="play"], .oxo-lb.is-single [data-lb="thumbs"] { display: none; }
.oxo-lb__cap { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; margin: 0; padding: 0 70px; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.4; text-align: center; }
.oxo-lb.has-strip .oxo-lb__cap { bottom: 92px; }
.oxo-lb__strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: none; gap: 8px; height: 84px; padding: 10px 16px; overflow-x: auto; background: rgba(0, 0, 0, .5); scrollbar-width: thin; }
.oxo-lb.has-strip .oxo-lb__strip { display: flex; justify-content: safe center; }
.oxo-lb__strip button { flex: none; width: 88px; height: 64px; border-radius: 8px !important; background-color: #222 !important; background-position: center !important; background-size: cover !important; background-repeat: no-repeat !important; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.oxo-lb__strip button.is-on { opacity: 1; outline-color: #ec3237; }
.oxo-lb__strip button:focus-visible { opacity: 1; outline: 2px solid #fff !important; outline-offset: 2px; } /* dải ảnh nhỏ: vòng focus cho người dùng bàn phím (G13) */
@media (max-width: 767px) {
	.oxo-lb__stage { inset: 56px 0 44px; }
	.oxo-lb__nav { width: 42px; height: 42px; margin-top: -21px !important; background: rgba(0, 0, 0, .35) !important; }
	.oxo-lb__nav.is-prev { left: 6px; }
	.oxo-lb__nav.is-next { right: 6px; }
	.oxo-lb__tools > * { width: 38px; height: 40px; }
	.oxo-lb__tools [data-lb="full"] { display: none; }
	.oxo-lb__cap { padding: 0 16px; font-size: 13px; }
}
