/* =============================
   BARRA DE GALERIAS (AJUSTE FINAL)
   ============================= */
.barra-galerias {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding: 10px 0;
}

/* ===== SETAS ===== */
.seta {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(241, 92, 5, 0.5);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 32px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    color: #fff;
    transition: 0.3s;
    z-index: 50;
    font-weight: bold;
    line-height: 1;
}

.seta:hover {
    background: rgba(255, 140, 0, 0.35);
}

/* ===== CONTAINER ROLANTE ===== */
.galerias-container {
    display: flex;
    gap: 20px;

    /* >>> ESSA LARGURA MOSTRA APROX. 5 MINIATURAS NO PC */
    width: 650px;

    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.galerias-container::-webkit-scrollbar {
    display: none;
}

/* ===== MINIATURAS ===== */
.galeria-item {
    width: 120px;
    height: 160px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    border: 2px solid rgba(255, 140, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);

    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
    padding: 10px;
}

.galeria-item img.mini {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.galeria-item span {
    font-size: 0.9rem;
    font-weight: bold;
    color: #000;
}

.galeria-item:hover,
.galeria-item.selecionada {
    background: rgba(255, 140, 0, 0.75);
    box-shadow: 0 0 15px rgba(255, 140, 0, 1);
}

/* =============================
   RESPONSIVO
   ============================= */
@media (max-width: 768px) {

    /* container menor (mantém cerca de 3 miniaturas por vez) */
    .galerias-container {
        width: 80%;
        gap: 15px;
    }

    /* setas maiores para toque */
    .seta {
        padding: 12px 22px;
        font-size: 40px; 
    }
}
