/* --- 1. CABEÇALHO E GRID DA GALERIA --- */
.prints-page p.subtitle { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin-top: 5px; 
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* --- 2. CARD DE PRINT --- */
.card-print {
    background: var(--bg-container);
    border-radius: var(--radius-large);
    overflow: hidden;
    border: 1px solid var(--border-main);
    transition: transform .2s;
    cursor: pointer;
}

.card-print:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.card-print img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.card-info {
    padding: 12px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-gray);
    background: var(--bg-card-info);
}

/* --- 3. SISTEMA DE LIGHTBOX --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 10px;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, .6);
    border: 2px solid var(--text-white);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: .2s;
}

#lightbox-close:hover {
    background: rgba(255, 255, 255, .2);
}