/* CSS intégré */
.product-card {
    border: 1px solid darkgrey;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    border-color: orange;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    transition: transform 0.3s ease;
}

.badge-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    z-index: 10;
}

.badge-icons .favorite,
.badge-icons .image-count {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

.card-body {
    padding: 10px;
}

.card-footer {
    border-top: 1px solid #ddd;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.annee{
    background-color: black;
    color: white;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 20%;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #ff5722;
}
.price_petit {
    font-size: 15px;
    font-weight: bold;
    color: #ff5722;
}
/* Étoile pour les favoris */
.favorite-icon {
    position: absolute;
    top: 10px;
    left: 5px;
    font-size: 20px;
    color: gray;
    background-color: transparent;
    border-radius: 100%;
    padding: 5px;
    cursor: pointer;
    transition: color 0.3s, background-color 0.3s;
}

.favorite-icon:hover {
    color: darkorange;
    background-color: white;
}
/* Compteur d'images */
.image-counter {
    position: absolute;
    top: 10px;
    right: 5px;
    font-size: 14px;
    color: gray;
    padding: 5px 10px;
    border-radius: 20px;
}