/* ===== ESTRUTURA DO CARROSSEL — IDÊNTICA AO LIVROS ===== */

.acervo-carousel-container {
    position: relative;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin-top: 2rem;
}

/* Viewport — elemento que faz scroll, igual a .livros-viewport */
.acervo-viewport {
    overflow-x: auto;
    scroll-behavior: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    cursor: grab;
    touch-action: pan-x;
}

.acervo-viewport.active {
    cursor: grabbing;
}

.acervo-viewport * {
    user-select: none;
    -webkit-user-drag: none;
}

.acervo-viewport::-webkit-scrollbar {
    display: none;
}

/* Track — igual a .livros-track */
.acervo-track {
    display: flex;
    align-items: flex-start;
    width: max-content;
    padding: 1rem 0;
    gap: 25px;
}

/* Cards */
.album-card {
    flex-shrink: 0;
    width: 150px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    align-self: flex-start;
    transition: transform 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-cover {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.album-title {
    display: block;
    margin-top: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.2;
    width: 100%;
}

/* Setas iguais às dos Livros */
.acervo-carousel-container .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 45px;
    height: 45px;
    background-color: var(--accent-gold, #D4AF37);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.acervo-carousel-container .carousel-arrow:hover {
    background-color: var(--primary-green, #2E8B57);
    transform: translateY(-50%) scale(1.1);
}

.acervo-carousel-container .left-arrow { left: 5px; }
.acervo-carousel-container .right-arrow { right: 5px; }
