/* =====================
   COVERFLOW SLIDER
===================== */

.coverflow-section {
    margin-top: 80px;
    padding: 60px 0;
    background: #fff;
}

.coverflow {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverflow-track {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
}

.coverflow-item {
    position: absolute;
    width: 260px;
    height: 380px;
    opacity: 0;
    transform: scale(0.6);
    transition: all .45s ease;
}

.coverflow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0,0,0,.35);
}

/* ESTADOS */
.coverflow-item.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 5;
}

.coverflow-item.left {
    opacity: .45;
    transform: translateX(-280px) scale(.8) rotateY(35deg);
}

.coverflow-item.right {
    opacity: .45;
    transform: translateX(280px) scale(.8) rotateY(-35deg);
}

/* BOTONES */
.coverflow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    z-index: 10;
}

.coverflow-btn.prev { left: -60px; }
.coverflow-btn.next { right: -60px; }

/* MOBILE */
@media (max-width: 768px) {
    .coverflow-track { height: 320px; }

    .coverflow-item {
        width: 200px;
        height: 300px;
    }

    .coverflow-item.left {
        transform: translateX(-180px) scale(.7) rotateY(25deg);
    }

    .coverflow-item.right {
        transform: translateX(180px) scale(.7) rotateY(-25deg);
    }

    .coverflow-btn.prev { left: -20px; }
    .coverflow-btn.next { right: -20px; }
}
