/* --- Contenedor general del carrusel --- */
.carousel {
    position: relative;
    max-width: 1536px;
    height: auto;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

/* --- Estructura que tú ya tenías --- */
.cards-container {
    display: flex;

    gap: 20px;
    min-width: 100%;
    background: white;
    padding: 20px;
}

.card_principal img {
    width: 550px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.card_principal_2 img {
    width: auto;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.vertical-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vertical-card .card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.vertical-card .card img {
    width: 400px;
    height: 190px;
    object-fit: cover;
}

/* --- Botones del carrusel --- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* --- Indicadores (puntos) --- */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}
