/* ==========================================================================
   BeautyConsult Shop — aanvullingen (audit november 2026)

   Alles wat bij inc/aanvullingen.php en de uitbreiding van de huidtest
   hoort. Bewust in één eigen bestand: wie een onderdeel niet wil, zet het
   uit onder "BC teksten" en hoeft hier niets te veranderen.
   ========================================================================== */


/* --- 1. Header: de knop "Shop" ---------------------------------------------
   Eén knop (gevuld; op de winkelpagina omlijnd), op elke schermbreedte op dezelfde rij als het logo en
   de winkelmand: logo links, knop en winkelmand rechts. Zo blijft de
   header op een telefoon één rij hoog. Het logo krimpt mee als het krap
   wordt (assets/css/header.css). */

.bc-headerknoppen {
	display: flex;
	flex: 0 0 auto;
	margin-left: auto;
}

.bc-headerknop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 0 0 auto;
	min-height: 38px;
	padding: 6px 20px;
	border: 2px solid var(--bc-oranje);
	border-radius: var(--bc-radius-pill);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-body-plus);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bc-headerknop--vol {
	background: var(--bc-oranje);
	color: var(--bc-wit);
}

.bc-headerknop--vol:hover,
.bc-headerknop--vol:focus-visible {
	border-color: var(--bc-oranje-hover);
	background: var(--bc-oranje-hover);
	color: var(--bc-wit);
}

/* De knop op de winkelpagina (Huidtest): omlijnd, met oranje tekst. */
.bc-headerknop--lijn {
	background: var(--bc-wit);
	color: var(--bc-oranje-tekst);
}

.bc-headerknop--lijn:hover,
.bc-headerknop--lijn:focus-visible {
	border-color: var(--bc-oranje-hover);
	background: var(--bc-creme);
	color: var(--bc-oranje-hover);
}

/* Heel smalle telefoons: iets minder lucht in de knop. */
@media (max-width: 359px) {

	.bc-headerknop {
		padding: 6px 14px;
	}
}

@media (min-width: 768px) {

	.bc-headerknop {
		min-height: 36px;
		padding: 5px 22px;
	}
}


/* --- 1b. Homepage: de link "Vraag gratis advies" onder de huidtestknop ---- */

.bc-advies__link {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--bc-bruin);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-body);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bc-advies__link:hover,
.bc-advies__link:focus-visible {
	color: var(--bc-oranje-tekst);
}


/* --- 2. Productpagina: de regel onder de bestelknop ----------------------- */

.bc-belofte {
	margin: 12px 0 0;
	color: var(--bc-body);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-body);
	line-height: 1.45;
}


/* --- 3. Productpagina: de bestelknop onderaan op een telefoon -------------
   Alleen onder 768 px. Het attribuut "hidden" wint altijd, ook van de
   display hieronder. */

.bc-plakknop,
.bc-plakknop[hidden] {
	display: none;
}

@media (max-width: 767px) {

	.bc-plakknop:not([hidden]) {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		box-sizing: border-box;
		padding: 10px var(--bc-gutter);
		padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--bc-rand);
		background: var(--bc-wit);
		box-shadow: 0 -6px 18px rgba(92, 65, 48, 0.12);
	}

	.bc-plakknop__info {
		display: flex;
		flex-direction: column;
		min-width: 0;
		font-family: var(--bc-font);
		line-height: 1.3;
	}

	.bc-plakknop__naam {
		overflow: hidden;
		color: var(--bc-bruin);
		font-size: var(--bc-fs-klein);
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.bc-plakknop__prijs {
		color: var(--bc-bruin);
		font-size: var(--bc-fs-groot);
		font-weight: 700;
	}

	.bc-plakknop__knop {
		flex: 0 0 auto;
	}

	/* Ruimte onderaan, zodat de balk de laatste regels van de footer
	   niet afdekt. */
	body.bc-heeft-plakknop {
		padding-bottom: 72px;
	}
}


/* --- 4. Winkelwagen: het voorstel voor gratis verzending ------------------ */

.bc-verzendtip {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 14px;
	width: 100%;
	margin: -6px 0 18px;
	padding: 10px 14px;
	border: 1px solid var(--bc-rand);
	border-radius: var(--bc-radius-mini);
	background: var(--bc-wit);
	color: var(--bc-bruin);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-body);
	line-height: 1.45;
}

.bc-verzendtip[hidden] {
	display: none;
}

/* De houder is er altijd; zonder voorstel neemt hij geen plaats in. */
.bc-verzendtip-houder:empty {
	display: none;
}

.bc-verzendtip__tekst {
	flex: 1 1 200px;
	min-width: 0;
}

.bc-verzendtip__tekst a {
	color: var(--bc-oranje-tekst);
	font-weight: 700;
}

.bc-verzendtip__knop {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 6px 16px;
	border: 2px solid var(--bc-oranje);
	border-radius: var(--bc-radius-pill);
	color: var(--bc-oranje-tekst);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bc-verzendtip__knop:hover,
.bc-verzendtip__knop:focus-visible {
	background: var(--bc-oranje);
	color: var(--bc-wit);
}


/* --- 5. Huidtest: "Breid je routine uit" en het totaal --------------------
   Een crème vlak onder de uitslag, met de foto van Hilde bij de kop en
   twee producten. Op een smal scherm een liggende kaart per product (foto
   links), vanaf 700 px twee staande kaarten naast elkaar. */

.bc-test__uitbreiden {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 4px 0 20px;
	padding: 18px 14px;
	border-radius: var(--bc-radius-kaart);
	background: var(--bc-creme);
}

.bc-test__uitbreiden[hidden],
.bc-test__totaal[hidden] {
	display: none;
}

.bc-test__uitbreidenkop {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bc-test__uitbreidenfoto {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border: 2px solid var(--bc-wit);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--bc-rand);
	object-fit: cover;
}

.bc-test__uitbreidenteksten {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bc-test .bc-test__uitbreidentitel {
	margin: 0;
	color: var(--bc-bruin);
	font-family: var(--bc-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
	letter-spacing: 0;
}

.bc-test__uitbreidentekst {
	margin: 0;
	color: var(--bc-body);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-body);
	line-height: 1.4;
}

.bc-test__uitbreidenlijst {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Smal: foto links, naam en prijs rechts, uitleg en knop eronder. */
.bc-test__uitbreiding {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	grid-template-areas:
		"foto inhoud"
		"waarom waarom"
		"knop knop";
	column-gap: 12px;
	row-gap: 10px;
	align-items: start;
	padding: 12px;
	border: 2px solid var(--bc-rand);
	border-radius: var(--bc-radius-kaart);
	background: var(--bc-wit);
	transition: border-color 0.15s ease;
}

.bc-test__uitbreiding.is-gekozen {
	border-color: var(--bc-oranje);
}

.bc-test__uitbreidingfoto {
	grid-area: foto;
	position: relative;
	display: block;
	width: 76px;
	height: 76px;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid var(--bc-rand);
	border-radius: var(--bc-radius-mini);
	background: var(--bc-wit);
}

.bc-test__uitbreidingfoto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bc-test__uitbreidinginhoud {
	grid-area: inhoud;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

/* Het categorielabel: op een smal scherm boven de naam, breed op de foto. */
.bc-test__uitbreidingcat {
	display: inline-block;
	padding: 2px 8px;
	border-radius: var(--bc-radius-pill);
	background: var(--bc-bruin);
	color: var(--bc-wit);
	font-family: var(--bc-font);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bc-test__uitbreidingfoto .bc-test__uitbreidingcat {
	display: none;
}

.bc-test__uitbreidingprijs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin: 0;
	font-family: var(--bc-font);
	font-size: var(--bc-fs-klein);
	color: var(--bc-body);
}

.bc-test__uitbreidingprijs strong {
	color: var(--bc-bruin);
	font-size: var(--bc-fs-groot);
}

.bc-test__uitbreidingwaarom {
	grid-area: waarom;
	margin: 0;
	color: var(--bc-body);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-body);
	line-height: 1.45;
}

.bc-test__uitbreidingwaarom strong {
	color: var(--bc-oranje-tekst);
}

.bc-test__uitbreidknop {
	grid-area: knop;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: var(--bc-tap);
	margin: 0;
	padding: 8px 16px;
	border: 2px solid var(--bc-oranje);
	border-radius: var(--bc-radius-pill);
	background: var(--bc-wit);
	color: var(--bc-oranje-tekst);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-label);
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bc-test__uitbreidknop:hover,
.bc-test__uitbreidknop:focus-visible {
	background: var(--bc-creme);
}

.bc-test__uitbreidknop[aria-pressed="true"] {
	background: var(--bc-oranje);
	color: var(--bc-wit);
}

.bc-test__uitbreidknop[aria-pressed="true"]:hover,
.bc-test__uitbreidknop[aria-pressed="true"]:focus-visible {
	background: var(--bc-oranje-hover);
}

.bc-test__uitbreidteken {
	font-size: 1.15em;
	line-height: 1;
}

/* Breed: twee staande kaarten naast elkaar, foto bovenaan met het label. */
@media (min-width: 700px) {

	.bc-test__uitbreiden {
		padding: 24px;
		gap: 16px;
	}

	.bc-test__uitbreidenfoto {
		width: 48px;
		height: 48px;
	}

	.bc-test .bc-test__uitbreidentitel {
		font-size: 20px;
	}

	.bc-test__uitbreidenlijst {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bc-test__uitbreidenlijst[data-aantal="1"] {
		grid-template-columns: minmax(0, 1fr);
		max-width: 320px;
	}

	.bc-test__uitbreiding {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto 1fr auto;
		grid-template-areas:
			"foto"
			"inhoud"
			"waarom"
			"knop";
		padding: 0 0 14px;
		overflow: hidden;
	}

	.bc-test__uitbreidingfoto {
		width: 100%;
		height: 150px;
		border: 0;
		border-bottom: 1px solid var(--bc-rand);
		border-radius: 0;
	}

	.bc-test__uitbreidingfoto .bc-test__uitbreidingcat {
		display: inline-block;
		position: absolute;
		top: 10px;
		left: 10px;
	}

	.bc-test__uitbreidingcat--klein {
		display: none;
	}

	.bc-test__uitbreidinginhoud,
	.bc-test__uitbreidingwaarom {
		padding: 0 14px;
	}

	.bc-test__uitbreidknop {
		width: auto;
		margin: 0 14px;
	}
}

/* Het totaal net boven de knop. */
.bc-test__totaal {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px;
	padding: 14px 16px;
	border: 1px solid var(--bc-rand);
	border-radius: var(--bc-radius-klein);
	background: var(--bc-wit);
	font-family: var(--bc-font);
}

.bc-test__totaalrij {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	color: var(--bc-body);
	font-size: var(--bc-fs-body-plus);
	line-height: 1.35;
}

.bc-test__totaalrij--korting {
	color: var(--bc-bruin);
	font-size: var(--bc-fs-groot);
	font-weight: 700;
}

.bc-test__totaaloud {
	color: var(--bc-meta);
	text-decoration: line-through;
	white-space: nowrap;
}

.bc-test__totaalbedrag {
	white-space: nowrap;
}

.bc-test__totaaluitleg {
	margin: 2px 0 0;
	color: var(--bc-body);
	font-size: var(--bc-fs-klein);
	line-height: 1.45;
}


/* --- 6. Huidtest: het uitklapbare overzicht van alle producten ------------ */

.bc-test__overzicht {
	margin: 28px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--bc-rand);
	border-radius: var(--bc-radius-klein);
	background: var(--bc-wit);
	color: var(--bc-body);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-body);
	line-height: 1.5;
}

.bc-test__overzicht summary {
	color: var(--bc-bruin);
	font-size: var(--bc-fs-label);
	font-weight: 700;
	cursor: pointer;
}

.bc-test__overzicht h3 {
	margin: 16px 0 6px;
	color: var(--bc-bruin);
	font-size: var(--bc-fs-label);
}

.bc-test__overzicht ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-test__overzicht li {
	padding: 8px 0;
	border-top: 1px solid var(--bc-rand);
}

.bc-test__overzicht li a {
	color: var(--bc-oranje-tekst);
	font-weight: 700;
}

.bc-test__overzichtmeta {
	color: var(--bc-meta);
	white-space: nowrap;
}

.bc-test__overzichttekst {
	display: block;
}


/* --- 7. Huidtest: de uitslag naar jezelf mailen ---------------------------
   Een crème kaart onder de knoppen, zoals het nieuwsbriefblok dat er
   vroeger stond. De invoervelden volgen de formulieren elders op de site. */

.bc-test__mail {
	margin: 4px 0 24px;
	padding: 20px 18px 18px;
	border-radius: var(--bc-radius-kaart);
	background: var(--bc-creme);
	font-family: var(--bc-font);
}

.bc-test__mail[hidden],
.bc-test__mailvelden[hidden],
.bc-test__mailmelding[hidden] {
	display: none;
}

.bc-test__mailkop {
	margin: 0 0 4px;
	color: var(--bc-bruin);
	font-family: var(--bc-font);
	font-size: var(--bc-fs-kop);
	font-weight: 700;
	line-height: 1.25;
}

.bc-test__mailtekst {
	margin: 0 0 14px;
	color: var(--bc-body);
	font-size: var(--bc-fs-body-plus);
	line-height: 1.5;
}

.bc-test__mailvelden {
	display: grid;
	gap: 12px;
}

.bc-test__mailveld {
	display: block;
}

.bc-test__mailveld span {
	display: block;
	margin-bottom: 5px;
	color: var(--bc-bruin);
	font-size: var(--bc-fs-body);
	font-weight: 700;
}

.bc-test__mailveld input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--bc-rand);
	border-radius: 12px;
	background: var(--bc-wit);
	color: var(--bc-body);
	font-family: var(--bc-font);
	font-size: 16px; /* Kleiner laat een iPhone inzoomen bij het typen. */
	line-height: 1.4;
}

.bc-test__mailveld input:focus {
	border-color: var(--bc-oranje);
	outline: 2px solid rgba(232, 119, 34, 0.25);
	outline-offset: 1px;
}

.bc-test__mailvink {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--bc-body);
	font-size: var(--bc-fs-body);
	line-height: 1.45;
	cursor: pointer;
}

.bc-test__mailvink input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--bc-oranje);
}

/* Het veld voor robots: uit beeld, niet met display:none (dat slaan ze over). */
.bc-test__mailpot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bc-test__mailvelden .bc-btn {
	justify-self: start;
	cursor: pointer;
}

.bc-test__mailvelden .bc-btn[disabled] {
	opacity: 0.6;
	cursor: default;
}

.bc-test__mailmelding {
	margin: 12px 0 0;
	color: var(--bc-bruin);
	font-size: var(--bc-fs-body-plus);
	font-weight: 700;
	line-height: 1.45;
}

.bc-test__mailmelding.is-fout {
	color: #B3261E;
}

.bc-test__mailklein {
	margin: 12px 0 0;
	color: var(--bc-body);
	font-size: var(--bc-fs-klein);
	line-height: 1.45;
}

.bc-test__mailklein a {
	color: inherit;
	text-decoration: underline;
}

@media (min-width: 560px) {

	.bc-test__mail {
		padding: 26px 28px 24px;
	}

	.bc-test__mailvelden {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.bc-test__mailvink,
	.bc-test__mailvelden .bc-btn {
		grid-column: 1 / -1;
	}
}


/* --- 8. Footer: de nieuwsbrief meer in het oog ----------------------------
   De kop groter, en de zin eronder niet langer in de gedempte kleur van de
   rest van de footer maar wit en groter, met een oranje streep ervoor. Zo
   leest hij als een uitnodiging in plaats van als kleine lettertjes. */

.bc-footer .bc-nieuwsbrief--footer .bc-nieuwsbrief__kop {
	margin-bottom: 10px;
	font-size: 22px;
	line-height: 1.2;
}

.bc-footer .bc-nieuwsbrief--footer .bc-nieuwsbrief__tekst {
	max-width: 46ch;
	margin-bottom: 20px;
	padding-left: 12px;
	border-left: 3px solid var(--bc-oranje);
	color: var(--bc-wit);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
}

@media (min-width: 700px) {

	.bc-footer .bc-nieuwsbrief--footer .bc-nieuwsbrief__kop {
		font-size: 26px;
	}

	.bc-footer .bc-nieuwsbrief--footer .bc-nieuwsbrief__tekst {
		font-size: 18px;
	}
}
