/**
 * Opmaak van de goodie-onderdelen.
 *
 * Lettertype: 'Albert Sans', hetzelfde als de rest van de shop. Dat font wordt al
 * door Elementor ingeladen (handle elementor-gf-albertsans, Google Fonts, alle
 * gewichten 100-900 met display=swap) op de productpagina, de winkelmand en de
 * afrekenpagina. We laden het hier dus bewust NIET nog een keer; we gebruiken
 * alleen dezelfde declaratie, zodat er geen tweede, afwijkende versie ontstaat.
 *
 * Alles staat gescoped op de eigen wrapper-klassen van deze plugin - nooit op
 * body of *.
 */

/* --------------------------------------------------------------------------
   Lettertype
   -------------------------------------------------------------------------- */

.ll-goodies,
.ll-goodies p,
.ll-goodies ul,
.ll-goodies li,
.ll-goodies span,
.ll-goodies small,
.ll-goodie-sub,
.ll-goodie-free,
.ll-goodie-qty {
	font-family: 'Albert Sans', sans-serif;
}

/* Lopende tekst normaal, kopjes vet. Expliciet, zodat een vet stuk van het
   thema (bijvoorbeeld de productnaam in de winkelmand) niet doorwerkt en er
   geen kunstmatig vetgedrukte tekst ontstaat. */
.ll-goodies,
.ll-goodies__sub,
.ll-goodies__gift,
.ll-goodies__note,
.ll-goodie-sub,
.ll-goodie-qty {
	font-weight: 400;
}

.ll-goodies__lead,
.ll-goodies__amount {
	font-weight: 700;
}

.ll-goodie-free {
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Het voortgangsblok
   -------------------------------------------------------------------------- */

.ll-goodies {
	margin: 18px 0;
	padding: 16px 18px;
	border-radius: 14px;
	background: #FFF7EE;
	border: 1px solid #EBBFC9;
	color: #0B0B0B;
	font-size: 14px;
	line-height: 1.4;
}

.ll-goodies__lead {
	margin: 0 0 2px;
	font-size: 15px;
	color: #0B0B0B;
}

.ll-goodies__sub {
	margin: 0 0 12px;
	font-size: 13px;
	color: #6b5f57;
}

.ll-goodies__track {
	position: relative;
	height: 8px;
	border-radius: 99px;
	background: #F5DCDB;
	overflow: hidden;
}

.ll-goodies__fill {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: #A395C4;
	transition: width .35s ease;
}

.ll-goodies__list {
	display: flex;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.ll-goodies__item {
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
	padding: 8px 4px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #F0E3D8;
	opacity: .65;
}

.ll-goodies__item.is-reached {
	opacity: 1;
	border-color: #A395C4;
	background: #F3F0F9;
}

.ll-goodies__item.is-next {
	opacity: 1;
	border-color: #EBBFC9;
}

.ll-goodies__amount {
	display: block;
	font-size: 13px;
}

.ll-goodies__gift {
	display: block;
	font-size: 11px;
	line-height: 1.25;
	margin-top: 2px;
	color: #6b5f57;
	overflow-wrap: anywhere;
}

.ll-goodies__item.is-reached .ll-goodies__amount:before {
	content: "\2713 ";
	color: #7a6aa8;
}

/* Uitleg bij producten die niet meetellen (bijvoorbeeld de adventskalender). */
.ll-goodies__note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.35;
	color: #6b5f57;
}

/* --------------------------------------------------------------------------
   De cadeauregel in de winkelmand
   -------------------------------------------------------------------------- */

.ll-goodie-sub {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	color: #6b5f57;
	margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Klein scherm
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
	.ll-goodies {
		padding: 14px;
	}

	.ll-goodies__list {
		flex-wrap: wrap;
	}

	.ll-goodies__item {
		flex: 1 1 calc(50% - 6px);
	}
}
