/* ===== 评价图片缩微图悬停放大 ===== */
.review-thumb { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.review-thumb:hover { transform: scale(2.5); z-index: 100; box-shadow: 0 4px 16px rgba(0,0,0,0.25); position: relative; }

/* ===== 商品主图悬停放大 ===== */
.img-thumb-wrap { position: relative; display: inline-block; }
.img-thumb-wrap img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid #e0e0e0; cursor: pointer; transition: transform .2s; }
.img-thumb-wrap img:hover { transform: scale(1.05); }
.img-preview {
  position: absolute; z-index: 200; left: 68px; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px; background: #fff; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18); border: 1px solid #eee;
  visibility: hidden; opacity: 0; padding: 6px; pointer-events: auto;
  transition: opacity .15s, visibility .15s;
}
.img-preview img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; cursor: zoom-in; }
.img-thumb-wrap:hover .img-preview,
.img-preview:hover { visibility: visible; opacity: 1; }
/* 点击预览图弹出大图查看器 */
.img-lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
}
.img-lightbox-overlay.active { visibility: visible; opacity: 1; }
.img-lightbox-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.img-lightbox-close {
  position: absolute; top: 20px; right: 30px; color: #fff; font-size: 32px; cursor: pointer; opacity: .7; transition: opacity .2s;
}
.img-lightbox-close:hover { opacity: 1; }

/* 用户管理加载动画 */
@keyframes um-spin { to { transform: rotate(360deg); } }
