.card__body {
    min-height: 470px !important;
}

.promotion-search-container {
    margin: 1.5rem 0rem;
}

.promotion-search {
    font-size: 20px;
}

.promotion-search::placeholder {
    font-size: 1.2rem;
}

.category-filter {
    background: transparent;
    font-size: 0.7rem;
    border: solid 2px var(--primary);
    width: 8rem;
    white-space: nowrap;
}

.card__body:hover {
    filter: brightness(1.05);
}

.card__content {
    overflow: hidden;
}

.card__img__content {
    overflow: hidden;
    padding: 0.25rem;
    border: 1px solid #e6e0e0;
}

.card__img {
    background-color: #fff;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s;
    border-radius: 5px;
}

.card__img:hover {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card__border {
    border-radius: 5px;
}
.card__border:hover {
    background: transparent;
    border-radius: 5px;
    transition: border 1s;
    position: relative;
}

.cardpromo__neuf__btn {
    border: 2px solid rgb(238, 102, 102);
    border-radius: 0%;
    color: #7c7c7c;
}
.cardpromo__neuf__btn:hover {
    border: 2px solid rgb(206, 43, 43);
    color: #000000;
}

.c__border {
    border-radius: 0 !important;
}

.promo__cards__main {
    margin-bottom: 3rem ;
}

/* Adding delay */
.hiddenElPromCards:first-child {
    /* Animation for the first child element */
    transition-delay: 0s;
}


.hiddenElPromCards:not(:first-child) {
    transition-delay: 0.2s;
}
.hiddenElPromCards:nth-child(n+2) {
    transition-delay: 0.1s;
}
.hiddenElPromCards:nth-child(n+3) {
    transition-delay: 0.2s;
}

/* Adding Animation */
.hiddenElPromCards {
    transform: translateY(8%);
    transition: all 0.8s;
}

.hiddenElPromCards {
    opacity: 0;
}

.showElPromCards {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 1200px) {
    .mk_rounded_cat {
        border-radius: 50rem;
        padding: 0.5rem !important;
    }
    .category-filter {
        border: solid 2px var(--primary);
        width: 8rem;
        white-space: nowrap;
        /* padding: 0 !important; */
    }
    .promotion-search-container>.input-group-text {
        padding: 0rem 0.75rem !important;
    }
    .card__body {
        min-height: 440px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .promotion-title {
        font-size: 0.8rem;
    }
    .mk_make_year {
        font-size: 0.8rem;
    }
    .card__body {
        min-height: 400px !important;
    }
}

@media screen and (max-width: 768px) {
    .promotion-search-container {
        justify-content: center;
    }
}

@media screen and (max-width: 360px) {
    .hiddenElPromCards {
        transform: translateY(15%);
        filter: blur(1px);
        transition: all 0.4s;
    }
    .showElPromCards {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
    .promo__cards__main {
        margin-bottom: 2rem ;
    }
}

/* For Galaxy Fold 280px */
@media screen and (max-width: 280px) {
    .promo__cards__main {
        margin-bottom: 1rem ;
    }

}
