.btn-favori {
	position: relative;
	z-index: 11;
	background: hsla(0, 0%, 100%, .9);
    border-radius: 100px;
    border: none;
    padding: 1px 8px 0px 8px;
    font-size: 28px;
    color: hsla(0, 0%, 90%, 0);
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Galbi', sans-serif;
	-webkit-text-stroke: 2px hsl(204, 0%, 80%);
	/*paint-order: stroke fill;*/
}

.btn-favori.actif {
    color: hsl(355, 44%, 71%);
    -webkit-text-stroke: 2px hsla(355, 44%, 71%, 1);
}

.nb-faves {
	position: relative;
	z-index: 12;
    -webkit-text-stroke: 3px hsla(0, 0%, 100%, .9);
    paint-order: stroke fill;
    text-decoration: none;
    color: hsla(204, 0%, 80%, 1);
    font-size: 11px;
    font-weight: 500;
    margin-left: -8px;
}

#btn-plus-favoris {
	cursor: pointer;
	border: none;
	border-top: 1px solid #D9D9D9;
	background: linear-gradient(to bottom, hsla(0, 0%, 100%, 1), hsl(34, 54%, 95%)); ;
	margin: 10px auto 32px auto;
	padding: 8px 80px 24px 80px;
	font-size: 17px;
	border-radius: 100px;
}

#btn-plus-favoris:hover {
	/*box-shadow: 0px 0px 2px 1px HSL(204, 40%, 70%);*/
	/*border: 1px solid HSL(204, 40%, 100%);*/
	border-top: 1px solid HSL(204, 40%, 70%);
}

.case-police:has(.btn-favori.actif) .nb-faves {
    color: hsla(355, 44%, 71%, 1);
}

@media (min-width:901px) /*desk*/
{
.btn-favori {
	background: hsl(0 0% 97% / 1);
	color: hsl(204 0% 100% / 1);
	-webkit-text-stroke: 2px hsl(204 0% 72% / 1);
	border-radius: 2px;
}

.btn-favori.actif {
    color: hsl(355, 44%, 71%);
    -webkit-text-stroke: 2px hsla(355, 44%, 71%, 1);
    background: hsl(0 0% 100% / .9);
}

.nb-faves {
    color: hsl(204 0% 72% / 1);
    -webkit-text-stroke: 3px hsl(0 0% 100% / 0);
    background: hsl(0 0% 97% / 1);
    padding-right: 6px;
    padding-left: 0px;
    padding-bottom: 2px;
    border-radius: 0px;
}

.case-police:has(.btn-favori.actif) .nb-faves {
    color: hsla(355, 44%, 71%, 1);
    background: hsl(0 0% 100% / .9);
}
}

.case-police {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 10;
}

.favoris-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    direction: rtl;
    min-height: 200px;
}

.favoris-item {
    /*background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 25px;*/
    /*text-align: center;*/
    /*box-shadow: 0 4px 6px rgba(0,0,0,0.05);*/
    /*display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;*/
    /*transition: transform 0.2s ease;*/
    margin: 0px 16px;
}

.favoris-item h2 {
    margin: 0 0 20px 0;
    font-size: 26px;
    color: #333;
    width: 100%;
}

#compteur-favoris {
    color: #fff;
    padding: 0px 0px 0px 0px;
    opacity : .75;
    margin-right: 4px;
}

#icon-heart {
    font-size: 16px;
    transition: color 0.3s ease;
}

.msg-vide {
	background: white;
	padding: 64px;
	margin: 24px 0px 8px 0px;
	border-radius: 40px;
	box-shadow: inset 0px 0px 16px 16px #F9F3EB;
}