#favorite-list,
.favorite-list {
	list-style: none;
	margin: 2rem 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: flex-start;
	width: 100%;
}

.favorite-list li {
	flex: 1 1 23%;
	max-width: 23%;
	min-width: 300px;
	border: 1px solid #000;
	border-radius: 8px;
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem;
	box-sizing: border-box;
	transition: box-shadow 0.2s ease;
	-moz-transition: all 0.2s ease-out;  /* FF4+ */
	-o-transition: all 0.2s ease-out;  /* Opera 10.5+ */
	-webkit-transition: all 0.2s ease-out;  /* Saf3.2+, Chrome */
	-ms-transition: all 0.2s ease-out;  /* IE10 */
	transition: all 0.2s ease-out;
}

.favorite-list li:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	background-color: var(--e-global-color-8aa2beb);
}

@media screen and (max-width: 767px) {
	#favorite-list,
	.favorite-list {
		gap: 18px 4%;
	}
  .favorite-list li {
	flex: 1 1 calc(50% - 1rem);
	min-width: 46%;
  }
}
@media screen and (max-width: 300px) {
  .favorite-list li {
	flex: 1 1 100%;
	max-width: 100%;
  }
}


.favorite-list a {
	display: flex;
	flex-direction: column;
	text-align: center;
	text-decoration: none;
	color: #000;
	flex-grow: 1;
}

.favorite-list img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	height: auto;
	margin-bottom: 0.75rem;
	border-radius: 8px;
	background-color: #FFF;
	padding: 5px;
}

.favorite-list span {
	display: block;
	margin: 0.25rem 0;
}
.favorite-list .title{
	font-family: var( --e-global-typography-399a806-font-family ), Sans-serif;
}

.remove-favorite {
	margin-top: auto;
	background: none;
	border: none;
	background-color: #FFF;
	color: #444;
	padding: 0.5rem;
	font-size: 0.85rem;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.remove-favorite:hover {
	background-color: #000;
	border-color: #000;
	color: #FFF;
}

.favorite-list .price {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.25rem;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
}

.favorite-list .price .woocommerce-Price-amount,
.favorite-list .price .woocommerce-Price-currencySymbol,
.favorite-list .price bdi {
	display: inline;
	margin: 0;
}


.spinner {
  border: 4px solid #eee;
  border-top: 4px solid #e87500; /* oranje BikeBudget-kleur */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
