#cards-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    #cards-container {
        flex-direction: column;
    }
}

.card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    max-width: 345px
}

@media (max-width: 350px) {
    .card {
        max-width: 250px
    }
}

@media (max-width: 400px) {
    .card {
        max-width: 300px
    }
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(233, 44, 51, 0.4);
}

.image-container {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: #000;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.etiqueta {
    display: none;
    position: absolute;
    /* Revisar */
    top: 10px;
    left: 10px;
    background-color: #e92c33;
    color: white;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

.card-content {
    background-color: #fff;
    color: #111;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #e92c33;
    font-weight: bold;
    text-transform: uppercase;
}

.dos-renglones {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limita a 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel_container {
    max-height: 550px;
    overflow: hidden;
}

.info-line {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #333;
}

.info-line i {
    margin-right: 8px;
}

.card-content a {
    margin-top: auto;
    text-align: center;
    background: #e92c33;
    color: white;
    text-decoration: none;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.card-content a:hover {
    background: #ff4048;
}