/* ==========================================================================
   Homepage — design 4a
   MOBILE FIRST: alle maten hieronder komen uit de referentie op 390px.
   Opschalen gebeurt onderaan met min-width.
   ========================================================================== */

.bc-home {
	background: var(--bc-wit);
}

/* De homepage bepaalt haar eigen marges; de standaardpadding van het
   thema zou de secties met volle achtergrond doen inspringen. */
.wp-site-blocks > main:has(.bc-home),
main:has(> .bc-home) {
	padding-left: 0;
	padding-right: 0;
	margin-block-start: 0;
}

/* Gedeelde sectiekop (19px, donkerbruin). */
.bc-sectiekop {
	margin: 0;
	font-size: var(--bc-fs-kop);
	font-weight: 700;
	line-height: 1.2;
	color: var(--bc-bruin);
}

/* Grijs vlak waar nog een foto moet komen. */
.bc-plaatshouder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 10px;
	color: #B08968;
	background: var(--bc-creme) repeating-linear-gradient(
		45deg,
		rgba(232, 119, 34, 0.08) 0 8px,
		transparent 8px 16px
	);
}


/* --- 1. Adviesblok ------------------------------------------------------ */

.bc-advies {
	background: var(--bc-creme);
	padding: 26px var(--bc-gutter) 64px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.bc-advies__tekst {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.bc-advies__tekst > p,
.bc-advies__tekst > h2 {
	margin: 0;
}

.bc-advies__titel {
	font-size: var(--bc-fs-kop-klein);
	font-weight: 700;
	line-height: 1.2;
	color: var(--bc-bruin);
}

.bc-advies__body {
	font-size: var(--bc-fs-body);
	line-height: 1.5;
}

/* Deze knop staat groter dan de standaardpil: hij is de belangrijkste
   actie van het blok en moet opvallen naast de foto. */
.bc-advies__knop {
	font-size: var(--bc-fs-groot);
	padding: 12px 20px;
}

.bc-advies__foto {
	width: var(--bc-cirkel-hilde);
	height: var(--bc-cirkel-hilde);
	flex: 0 0 auto;
	border-radius: 50%;
	object-fit: cover;
}


/* --- 2. Zwevende herokaart ---------------------------------------------- */

.bc-hero {
	position: relative;
	z-index: 2;
	/* De negatieve marge laat de kaart half over het adviesblok vallen. */
	margin: var(--bc-overlap) var(--bc-gutter) 0;
	background: var(--bc-wit);
	border-radius: var(--bc-radius-kaart);
	box-shadow: var(--bc-schaduw-hero);
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bc-hero__titel {
	margin: 0;
	font-size: var(--bc-fs-hero);
	font-weight: 700;
	line-height: 1.1;
	color: var(--bc-bruin);
}

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

.bc-hero__knoppen {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* De twee heroknoppen zijn de hoofdacties van de hele pagina; ze staan
   daarom een maat groter dan de standaardpil. */
.bc-hero__knoppen .bc-btn {
	font-size: 16px;
	padding: 13px 20px;
}

.bc-hero__knoppen .bc-btn--outline {
	/* De rand van 2px telt mee in de hoogte, dus iets minder padding
	   houdt beide knoppen even groot. */
	padding: 11px 18px;
}


/* --- 3. Shop per categorie ---------------------------------------------- */

.bc-cats {
	padding: 24px var(--bc-gutter) 8px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bc-cats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.bc-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	text-align: center;
}

.bc-cat__cirkel {
	width: var(--bc-cirkel-cat);
	height: var(--bc-cirkel-cat);
	max-width: 100%;
	border-radius: 50%;
	border: 3px solid var(--bc-oranje);
	object-fit: cover;
	box-sizing: border-box;
}

.bc-cat__label {
	font-size: var(--bc-fs-label);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--bc-oranje-tekst);
}

.bc-cat:hover .bc-cat__cirkel,
.bc-cat:focus .bc-cat__cirkel {
	border-color: var(--bc-oranje-hover);
}


/* --- 4. Routine in 3 stappen -------------------------------------------- */

.bc-routine {
	padding: 20px var(--bc-gutter) 8px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.bc-routine__stappen {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	gap: 10px;
}

.bc-stap {
	flex: 1;
	min-width: 0;
	background: var(--bc-creme);
	border-radius: var(--bc-radius-klein);
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bc-stap__nummer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: var(--bc-radius-pill);
	background: var(--bc-oranje);
	color: var(--bc-wit);
	font-size: 13px;
	font-weight: 700;
}

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

.bc-stap__product {
	font-size: var(--bc-fs-meta);
	line-height: 1.35;
	color: var(--bc-meta);
	text-decoration: none;
}

.bc-stap__product:hover,
.bc-stap__product:focus {
	color: var(--bc-oranje-tekst);
	text-decoration: underline;
}

.bc-routine__link {
	font-size: var(--bc-fs-body);
	font-weight: 700;
	color: var(--bc-oranje-tekst);
	text-decoration: none;
	padding: 6px 0;
}

.bc-routine__link:hover,
.bc-routine__link:focus {
	text-decoration: underline;
}


/* --- 5. Huidtest-banner ------------------------------------------------- */

.bc-quiz {
	margin: 20px var(--bc-gutter) 0;
	border: 2px dashed var(--bc-blauw);
	border-radius: var(--bc-radius-kaart);
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.bc-quiz p {
	margin: 0;
}

.bc-quiz__titel {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--bc-bruin);
}

.bc-quiz__sub {
	font-size: 12px;
	color: var(--bc-meta);
}

.bc-quiz__knop {
	flex: 0 0 auto;
	font-size: var(--bc-fs-body);
	padding: 10px 16px;
}


/* --- 6. Beauty-tips ----------------------------------------------------- */

.bc-tips {
	padding: 20px var(--bc-gutter) 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bc-tip {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--bc-rand);
	border-radius: var(--bc-radius-klein);
	padding: 10px;
	text-decoration: none;
}

.bc-tip:hover,
.bc-tip:focus {
	border-color: var(--bc-oranje);
}

.bc-tip__foto {
	width: 64px;
	height: 64px;
	flex: 0 0 auto;
	border-radius: var(--bc-radius-mini);
	object-fit: cover;
}

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

.bc-tip__titel {
	font-size: var(--bc-fs-body-plus);
	font-weight: 700;
	color: var(--bc-body);
}

.bc-tip__meta {
	font-size: var(--bc-fs-meta);
	color: var(--bc-meta);
}


/* ==========================================================================
   Opschalen naar grotere schermen
   Het ontwerp blijft leidend; we verruimen alleen waar het leeg zou ogen.
   ========================================================================== */

@media (min-width: 700px) {

	.bc-home {
		max-width: 1120px;
		margin: 0 auto;
	}

	.bc-advies {
		padding: 48px 40px 72px;
		gap: 32px;
	}

	.bc-advies__tekst {
		gap: 12px;
	}

	.bc-advies__titel {
		font-size: 28px;
	}

	.bc-advies__body {
		font-size: var(--bc-fs-groot);
		max-width: 46ch;
	}

	.bc-advies__knop {
		font-size: 17px;
		padding: 14px 24px;
	}

	.bc-advies__foto {
		/* Schaalt mee met de ingestelde grootte, zodat de verhouding
		   tussen mobiel en desktop altijd klopt. */
		width: calc(var(--bc-cirkel-hilde) * 1.7);
		height: calc(var(--bc-cirkel-hilde) * 1.7);
	}

	.bc-hero {
		margin: -56px 40px 0;
		padding: 28px 32px;
		max-width: 620px;
	}

	.bc-hero__titel {
		font-size: 34px;
	}

	.bc-hero__knoppen .bc-btn {
		font-size: 18px;
		padding: 15px 26px;
	}

	.bc-hero__knoppen .bc-btn--outline {
		padding: 13px 24px;
	}

	.bc-cats,
	.bc-routine,
	.bc-tips {
		padding-left: 40px;
		padding-right: 40px;
	}

	.bc-cats {
		padding-top: 40px;
		gap: 20px;
	}

	.bc-cats__grid {
		gap: 24px;
	}

	.bc-cat__cirkel {
		width: 160px;
		height: 160px;
	}

	.bc-cat__label {
		font-size: 16px;
	}

	.bc-sectiekop {
		font-size: 24px;
	}

	.bc-routine {
		padding-top: 32px;
		gap: 16px;
	}

	.bc-stap {
		padding: 18px;
		gap: 8px;
	}

	.bc-stap__naam {
		font-size: var(--bc-fs-groot);
	}

	.bc-stap__product {
		font-size: var(--bc-fs-body);
	}

	.bc-quiz {
		margin: 32px 40px 0;
		padding: 22px 28px;
	}

	.bc-quiz__titel {
		font-size: 18px;
	}

	.bc-tips {
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.bc-tip {
		padding: 14px;
		gap: 16px;
	}

	.bc-tip__foto {
		width: 88px;
		height: 88px;
	}

	.bc-tip__titel {
		font-size: var(--bc-fs-groot);
	}
}
