.card{
    margin: 20px;
    position: relative;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card .imgBX{
    position: relative;
    width: 100%;
    height: 240px;
    background: #fff;
    border-radius: 15px;
    background-size: cover;
    margin-bottom: 10px;
}
.card:nth-child(1) .imgBX {
    background-image: url('https://i.ibb.co/vzbv5vY/imagen-2024-08-08-203430730.png');
}

.card:nth-child(2) .imgBX {
    background-image: url('https://i.ibb.co/4S6V8Rm/imagen-2024-08-08-204727025.png'); /* Cambia esta URL por la segunda imagen que quieras usar */
}

.card .imgBX::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 black;
}
.card .imgBX::after{
    content: '';
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 black;
}
.card .content{
    position: relative;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 15px;
    border-top-left-radius: 0;
}
.card .content .price{
    position: absolute;
    top: -80px;
    height: 80px;
    width: 50%;
    background-color: #fff;
    border-top: 10px solid black;
    border-right: 10px solid black;
    border-top-right-radius: 25px;
}
.card .content .price::before{
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: -10px -10px 0 black;
}
.card .content .price::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: -25px;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 #fff;
}
.card .content .price a{
    padding: 5px;
    position: relative;
    margin: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #000;
    color: #fff;
    font-weight: bolder;
    text-align: center;
    font-size: 1.4em;
    text-decoration: none;
}
.card .content .text-img{
    margin: 10px;
    padding: 5px;
    border-radius: 10px;
}
.flex{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width:697px) {
    .flex{
        flex-direction: column;
    }
}
@media (max-width:434px) {
    .card .imgBX{
        height: 200px;
    }
}
@media (max-width:388px) {
    .card .content .price a{
        font-size: 1em;
    }
}
@media (max-width:370px) {
    .card .imgBX{
        height: 160px;
    }
}
@media (max-width:335px) {
    .card .imgBX{
        height: 130px;
    }
}

