/* Container principal do slider */
.slider-container { 
    width: 100%; 
    max-width: 700px; 
    margin: 0 auto; /* centraliza no container */
    text-align: center; 
    position: relative; 
}

/* Imagem principal */
.main-image-container { 
    position: relative; 
    width: 100%;
    height: 450px;
    overflow: hidden; 
    margin-bottom: 20px; 
}

.main-image-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    display: block; 
    border-radius: 0; 
}

/* Galeria de miniaturas */
.thumbnail-gallery { 
    width: 100%;
    position: relative;
}

.thumbnails-wrapper { 
    display: flex; 
    overflow-x: auto; 
    width: 100%; 
    gap: 10px; 
    scroll-behavior: smooth;
    padding-bottom: 5px;
    box-sizing: border-box;

    /* ESCONDER SCROLLBAR */
    -ms-overflow-style: none;  /* IE e Edge */
    scrollbar-width: none;      /* Firefox */
}

.thumbnails-wrapper::-webkit-scrollbar {
    display: none;             /* Chrome, Safari e Opera */
}

.thumbnail { 
    flex: 0 0 auto; /* nÃ£o cresce, largura fixa */
    width: calc((100% - 40px) / 4); /* 4 miniaturas visÃ­veis no desktop */
    height: 100px; 
    object-fit: cover; 
    cursor: pointer; 
    border-radius: 0; 
    transition: transform 0.3s; 
}

.thumbnail:hover { 
    transform: scale(1.05); 
}

/* Setas do slider */
.arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(0,0,0,0.8);
    border: none; 
    cursor: pointer; 
    border-radius: 0!important;
    font-size: 19px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: background 0.3s; 
    z-index: 10; 
    width: 32px;
    height: 32px;
}

.arrow.left { left: 0; }
.arrow.right { right: 0; }

/* Responsividade */
@media (max-width: 1024px) {
    .thumbnail { 
        width: calc((100% - 30px) / 3); /* 3 miniaturas visÃ­veis */
    }
}

@media (max-width: 767px) {
    .main-image-container { 
        height: 300px; 
        margin-bottom: 15px; 
    }
    .thumbnail { 
        width: calc((100% - 20px) / 2); /* 2 miniaturas visÃ­veis */
        height: 70px; 
    }
    .arrow { 
        width: 28px; 
        height: 28px; 
        font-size: 16px; 
    }
}