/* kubota-sd-gallery.css — กรอบซูมรูปของหน้ารายละเอียด */
.kbsd-overlay{position:fixed;inset:0;z-index:9999;background:rgba(12,10,8,.86);display:flex;align-items:center;justify-content:center;padding:24px}
.kbsd-overlay[hidden]{display:none}
.kbsd-frame{position:relative;display:flex;align-items:center;justify-content:center;max-width:96vw;max-height:92vh}
.kbsd-img{max-width:92vw;max-height:86vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.5);background:#111}
.kbsd-close,.kbsd-prev,.kbsd-next{position:absolute;border:0;cursor:pointer;color:#fff;background:rgba(0,0,0,.5);border-radius:999px;font-size:26px;line-height:1;width:44px;height:44px;display:flex;align-items:center;justify-content:center;transition:background .15s}
.kbsd-close:hover,.kbsd-prev:hover,.kbsd-next:hover{background:rgba(237,118,31,.9)}
.kbsd-close{top:-18px;right:-18px;font-size:28px}
.kbsd-prev{left:-22px}
.kbsd-next{right:-22px}
.kbsd-cap{position:absolute;bottom:-34px;left:0;right:0;text-align:center;color:#f3ece2;font:600 14px/1.4 Inter,system-ui,sans-serif}
@media (max-width:640px){.kbsd-prev{left:4px}.kbsd-next{right:4px}.kbsd-close{top:4px;right:4px}.kbsd-img{max-width:94vw;max-height:78vh}}
