.zoomable {
    cursor: zoom-in;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 220px;
    height: 310px;
    object-fit: cover;
  }
  .zoomable:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  }
  #lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.94);
    touch-action: none;
  }
  #lightbox.open { display: flex; }
  #lb-close {
    position: fixed;
    top: 16px; right: 20px;
    width: 44px; height: 44px;
    border: 2px solid rgba(0,0,0,0.15);
    background: #074b90;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10001;
    transition: background 0.2s;
  }
  #lb-close:hover { background: rgba(0,0,0,0.14); }
  #lb-hint {
    position: fixed;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    color: rgba(0,0,0,0.35);
    font-size: 12px;
    pointer-events: none;
    z-index: 10001;
    white-space: nowrap;
  }
  #lb-canvas {
    width: 100%; height: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
  }
  #lb-canvas.grabbing { cursor: grabbing; }
  #lb-img {
    position: absolute;
    top: 50%; left: 50%;
    transform-origin: center center;
    user-select: none;
    pointer-events: none;
    max-width: none;
    will-change: transform;
  }
  #lb-controls {
    position: fixed;
    bottom: 20px; right: 20px;
    display: flex; gap: 8px;
    z-index: 10001;
  }
  #lb-controls button {
    width: 40px; height: 40px;
    border: 2px solid rgba(0,0,0,0.15);
    background: #074b90;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  #lb-controls button:hover { background: rgba(0,0,0,0.14); }
  #lb-zoom-label {
    position: fixed;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    color: rgba(0,0,0,0.5);
    font-size: 13px;
    z-index: 10001;
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
    background: rgba(0,0,0,0.08);
    padding: 4px 12px;
    border-radius: 20px;
  }
  #lb-zoom-label.visible { opacity: 1; }