.slider{
    position:relative;
    width:100%;
    max-width:800px;
    height:300px;
    margin:20px auto;
    overflow:hidden;
    border-radius:12px;
    background:#000;
}

.alider{
    position:relative;
    width:100%;
    max-width:800px;
    overflow:hidden;
    height: 100%;
}

.slide{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;
    transition:opacity .6s ease;

    padding:10px;
    box-sizing:border-box;
}

.alide {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}

.imagen-responsive {
   width: 100%;
    height: 100%;
}

.imagen-responsive img {
    width: 100%;
    height:100%;
    object-fit:contain;
}
.slide.active{
    opacity:1;
    visibility:visible;
    z-index:2;
}

.alide.active{
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .slider {
        min-height:520px;
        height:auto;
    }
}

.af-card{

    width:100%;
    height:100%;

    display:flex;

    background:#1b1b1b;

    border-radius:12px;

    overflow:hidden;
    border:1px solid #303030;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

    font-family:Arial,Helvetica,sans-serif;

}


.af-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
}

.af-image{

    flex:0 0 35%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:12px;

    background:#2a2a2a;

}

.af-image img{

    width:100%;

    height:100%;
    filter:drop-shadow(0 8px 18px rgba(255,255,255,.08));

    object-fit:contain;

}

.af-body{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:15px;

    overflow:hidden;

}

.af-badge{

    display:inline-block;

    align-self:flex-start;

    background:#ff9900;

    color:#fff;

    font-size:10px;

    font-weight:600;

    padding:3px 8px;

    border-radius:12px;

    margin-bottom:6px;

    letter-spacing:.3px;

}

.af-title{

    font-size:20px;

    font-weight:700;

    color:#f5f5f5;

    line-height:1.15;

    margin-bottom:6px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

.af-stars{

    color:#bdbdbd;

    font-size:18px;

    margin-bottom:8px;

}

.af-stars span{

    color:#666;

    font-size:14px;

}

.af-desc{
    font-size:14px;
    line-height:1.35;
    color:#d0d0d0;
    margin-bottom:10px;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.af-features{

    display:flex;

    gap:8px;

    flex-wrap:wrap;

    margin-bottom:8px;

}

.af-features div{

    background:#efefef;

    color:#333;

    padding:3px 8px;

    border-radius:20px;

    font-size:12px;

}

.af-button{

    align-self:flex-start;

    padding:10px 18px;

    border-radius:8px;

    background:#ff9900;

    color:#111;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.af-button:hover{

    background:#ffb300;

}

.af-rating{
    font-size:14px;
    color:#bbb;
    margin-bottom:8px;
}

@media(max-width:700px){

.af-card{

    flex-direction:column;

    height:auto;

}

.af-image{

    width:100%;

    height:180px;

}

.af-body{

    width:100%;

}

.af-title{

    font-size:22px;

}

.af-button{

    width:100%;

    text-align:center;

}

}


.af-legal{
    margin-top:6px;
    font-size:9px;
    color:#999;
    text-align:center;
    line-height:1;
    white-space:nowrap;
}
