#gallery-section {
    padding-bottom: 1.5rem;
  }
  
  .gallery-controls {
    margin-top: 0.5rem;
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .gallery-controls label {
    color: #ddd;
    font-size: 0.9rem;
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
  }
  
  .gallery-controls select {
    background: #0f0f14;
    color: #fff;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
  }
  
  #gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 1rem;
  }
  
  .gallery-card {
    border: 1px solid #333;
    padding: 0.75rem;
    border-radius: 10px;
    background: #0b0b0f;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .gallery-card .img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
  }
  
  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
  }
  
  .gallery-meta {
    text-align: left;
  }
  
  .gallery-meta h4 { margin: 0; }
  .gallery-meta small { color: gray; }
  
  .gallery-pagination {
    margin: 1rem auto 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .gallery-pagination button {
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #444;
    background: #111;
    color: white;
    cursor: pointer;
  }
  
  .gallery-pagination button:disabled {
    opacity: 0.4;
    cursor: default;
  }
  
  /* Lightbox */
  #gallery-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  #gallery-lightbox.open {
    display: flex;
  }
  
  .glb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
  }
  
  .glb-img {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .glb-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: #111;
    color: #fff;
    border: 1px solid #444;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
  }