  /* .photo-gallery {
    column-count: 3;
    column-gap: 16px;
    padding: 16px;
  }
  
  .photo-gallery img {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: block;
    break-inside: avoid;
  }
  
  .photo-gallery img.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  } */

  /* .photo-gallery {
    column-count: 3;
    column-gap: 16px;
    padding: 16px;
  }
  
  .gallery-image-wrapper {
    break-inside: avoid;
    margin-bottom: 16px;
    min-height: 250px;
  }
  
  .gallery-image-wrapper img {
    width: 100%;
    display: block;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-image-wrapper img.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  
  @media (max-width: 768px) {
    .photo-gallery {
      column-count: 1;
    }
  } */
  .photo-gallery {
    column-count: 3;
    column-gap: 16px;
    padding: 16px;
    position: relative;
  }

  .gallery-category-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    padding: 8px 16px 20px;
  }

  .gallery-category-btn {
    border: 1px solid rgba(166, 122, 82, 0.35);
    background: transparent;
    color: var(--main-text-dark-color);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  .gallery-category-btn:hover,
  .gallery-category-btn:focus-visible {
    border-color: rgba(166, 122, 82, 0.6);
    background: rgba(166, 122, 82, 0.12);
    outline: none;
  }

  .gallery-category-btn.is-active {
    background: rgba(166, 122, 82, 0.18);
    border-color: rgba(166, 122, 82, 0.7);
  }
  
  .gallery-image-wrapper {
    break-inside: avoid;
    margin-bottom: 16px;
    background: #eee;
    position: relative;
    overflow: hidden;
  }

  .gallery-image-wrapper.is-hidden {
    display: none;
  }
  
  /* Optional loading shimmer */
  .gallery-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #eee, #f5f5f5, #eee);
    animation: shimmer 1.5s infinite;
    z-index: 1;
  }
  
  @keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
  }
  
  /* Hide image initially */
  .gallery-image-wrapper img {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    /*border-radius: 16px;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
  }
  
  /* Reveal and animate */
  .gallery-image-wrapper img.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .gallery-image-wrapper.loaded {
    background: transparent;
  }

  /* Stop shimmer after image is visible */
  .gallery-image-wrapper.loaded::before {
    content: none;
  }
  
  @media (max-width: 768px) {
    .photo-gallery {
      column-count: 1;
    }

    .gallery-category-menu {
      padding: 4px 12px 12px;
      gap: 10px 12px;
    }

    .gallery-category-btn {
      font-size: 12px;
      letter-spacing: 0.16em;
      padding: 8px 14px;
    }
  }


  .gallery-image-wrapper {
    break-inside: avoid;
    margin-bottom: 16px;
    position: relative;
    background: #eee;
    overflow: hidden;
    min-height: 250px;
  }
  
  /* Shimmer effect */
  .gallery-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
      120deg,
      #f0f0f0 0%,
      #e0e0e0 50%,
      #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 0;
  }
  
  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  .gallery-title {
    text-align: center;
    padding: 32px 16px 8px;
  }

  .gallery-title img {
    max-width: 250px;
    width: 60vw;
    height: auto;
    display: inline-block;
  }

  .gallery-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(253, 250, 246, 0.90);
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .gallery-loading-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
  }

  .gallery-loading-logo {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    animation: galleryLogoBounce 1.2s ease-in-out infinite;
  }

  .loading-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    line-height: 0.75;
    gap: 12px;
    color: var(--main-text-dark-color);
    font-weight: bold;
  }

  .loading-dots span {
    display: inline-block;
    width: 1ch;
    text-align: center;
    animation: loadingDot 1.2s ease-in-out infinite;
  }

  .loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
  }

  .loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes galleryLogoBounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  @keyframes loadingDot {
    0%, 100% {
      opacity: 0.2;
      transform: translateY(0);
    }
    50% {
      opacity: 1;
      transform: translateY(-4px);
    }
  }

  @media (max-width: 768px) {
    .gallery-title {
      padding: 12px 12px 0;
    }

    .gallery-title img {
      width: 80vw;
      max-width: 200px;
    }
  }
