/* ... (Seu código CSS anterior aqui, que é totalmente compatível) ... */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    font-family: sans-serif;
}

.carrossel-container {
    position: relative;
    max-width: 90%; 
    width: 600px; 
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0; 
    object-fit: cover; 
    max-height: 70vh; 
}

/* Estilo dos botões de navegação (setas) */
.btn-carrossel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.btn-carrossel:hover {
    background: rgba(0, 0, 0, 0.8);
}

.seta-esquerda {
    left: 10px;
}

.seta-direita {
    right: 10px;
}

/* Estilo do botão Salvar Foto */
.btn-salvar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.3s;
}

.btn-salvar:hover {
    background: #0056b3;
    transform: translateX(-50%) scale(1.05);
}

/* Responsividade para telas menores (ex: mobile) */
@media (max-width: 768px) {
    .carrossel-container {
        width: 100%;
        max-width: none;
        border-radius: 0;
    }
    
    .btn-carrossel {
        padding: 10px;
        font-size: 1.2rem;
    }
}