/* Estilos para las cards con sombra */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Estilo para el badge del plan */
.card .badge-plan {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    padding: 5px 10px;
    z-index: 1;
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

/* Asegurar que la imagen mantenga sus dimensiones */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limita a 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em; /* Altura fija para 2 líneas */
    line-height: 1.2em;
}

.badge-dark {
    background-color: #820F2F !important; 
    padding: 0.5rem !important;
    /* Hacer un degradado */
    background-image: linear-gradient(to right, #820F2F, #a14f4f);
    /*bordes redondeados*/
    border-radius: 10px;
}