/* -----------------------------------------------------------
   CONTENEDOR GENERAL
----------------------------------------------------------- */

.tf-oferta-destacada {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tf-vista-grid .tf-card-oferta {
    width: calc(33.333% - 20px);
}

.tf-vista-listado .tf-card-oferta {
    width: 100%;
}

/* -----------------------------------------------------------
   TARJETA
----------------------------------------------------------- */

.tf-card-oferta {
    position: relative;
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.08);
    border: 1px solid #ececec;
    transition: all 0.25s ease;
}

.tf-card-oferta:hover {
    box-shadow: 0px 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

/* -----------------------------------------------------------
   BADGE DESTACADA – VERSION C (ELEGANTE)
----------------------------------------------------------- */

.tf-badge-destacada {
    position: absolute;
    top: -10px;
    left: -10px;

    background: linear-gradient(135deg, #ffcb00, #ff9800);
    color: #000;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px 8px 8px 0;
    font-size: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);

    border: 1px solid rgba(255,255,255,0.6);
}

/* -----------------------------------------------------------
   TITULO
----------------------------------------------------------- */

.tf-card-titulo {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #222;
}

/* -----------------------------------------------------------
   EXTRACTO
----------------------------------------------------------- */

.tf-card-extracto {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
}

/* -----------------------------------------------------------
   BOTÓN CIRCULAR "+" (Opción A)
----------------------------------------------------------- */

.tf-mas-info-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;

    width: 28px;
    height: 28px;
    background: #1d1d1d;
    color: #fff;
    font-size: 20px;
    line-height: 26px;
    text-align: center;

    border-radius: 50%;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0px 2px 6px rgba(0,0,0,0.25);
    transition: all 0.2s ease-in-out;
}

.tf-mas-info-btn:hover {
    background: #000;
    transform: scale(1.1);
}

/* Asegurar que el "+" no se pega al borde */
.tf-mas-info-btn span,
.tf-mas-info-btn {
    padding: 0;
}

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */

@media (max-width: 900px) {
    .tf-vista-grid .tf-card-oferta {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .tf-vista-grid .tf-card-oferta {
        width: 100%;
    }
}