.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.results-count {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    padding: 16px 16px;
    align-items: center;
    gap: 16px;
}

.gallery-header {
    text-align: left;
    /* margin-bottom: 50px; */
    color: white;
}

.gallery-title {
    /* font-size: 33px;
    text-align: left;
    /* margin-bottom: 30px; 
    color: #333;
    font-weight: bold;
    /* font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); */ 
}

.gallery-subtitle {
    font-size: 21px;
    opacity: 0.9;
    font-weight: 300;
    color: #333;
}

.cards-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    padding: 20px 0;
}

.view-details-btn.filter {
    display: none;
    gap: 16px;
    margin-top: 0px;
}

/* .filter-button {
    position: relative;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: 2px solid #e55a2b;
    border-radius: 4px;
    padding: 14px 24px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-button:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d4851a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    border-color: #d4851a;
}

.filter-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 107, 53, 0.3);
}

*/

.filter-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

/* Spinner inside button */
/* .spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #555;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} */

.separator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0; /* space between galleries */
  }
  
  .separator {
    flex: 1;
    height: 1px;
    background-color: #ccc; /* adjust color */
  }
  
  .view-details-btn {
    margin: 0 1rem;
    padding: 0.5rem 1.5rem;
    background-color: #FF8A00; /* orange button color */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
  }
  
  .view-details-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  

.loading-dots {
    display: inline-block;
}

.loading-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background: white; /* adjust to match button text color */
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

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

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

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-6px); }
}
  

/*
.filter-button.active {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border-color: #495057;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.filter-button.active:hover {
    background: linear-gradient(135deg, #5a6268 0%, #3d4449 100%);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.filter-button.active .filter-icon {
    transform: rotate(180deg);
} */
@media (max-width: 1016px) {
    .view-details-btn.filter {
        display: flex;
    }
}


@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
/*     
    body {
        padding: 20px 15px;
    } */
}