/* =========================================================================
   Pagina: Veelgestelde vragen (FAQ)  (Figma node 482:11078)
   Toegankelijke accordion op basis van <details>/<summary>.
   Body-content; header/footer komen uit de theme-templates.
   ========================================================================= */

.sellabees-faq {
	background: #fff;
	color: var(--sellabees-ink, #000);
}

/* --- Hero / grijze titelbalk (Figma rect h=178px) ----------------------- */
.sellabees-faq__hero {
	background: var(--sellabees-search-bg, #ebebeb);
	min-height: 178px;
	display: flex;
	align-items: center;
}

.sellabees-faq__title {
	margin: 0;
	font-family: var(--sellabees-font-heading, Impact, sans-serif);
	font-weight: 400;
	font-size: 64px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--sellabees-ink, #000);
}

/* --- Body --------------------------------------------------------------- */
/* Figma: eerste groepstitel y=408, band eindigt y=358 → ~50px. */
.sellabees-faq__body {
	padding: 50px 0 50px;
}

/* In Figma staat de lijst smaller dan de container, gecentreerd (~896px). */
.sellabees-faq__inner {
	max-width: 896px;
	margin: 0 auto;
}

/* --- Categorie ---------------------------------------------------------- */
/* Figma: laatste item groep 1 eindigt y=759, titel groep 2 op y=816 → 57px. */
.sellabees-faq__group {
	margin: 0 0 57px;
}

.sellabees-faq__group:last-child {
	margin-bottom: 0;
}

.sellabees-faq__group-title {
	margin: 0 0 17px; /* Figma: titel y=408 (h37) → item y=462 */
	font-family: var(--sellabees-font-heading, Impact, sans-serif);
	font-weight: 400;
	font-size: 30px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--sellabees-ink, #000);
}

/* --- Lijst met accordion-items ------------------------------------------ */
.sellabees-faq__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sellabees-faq__item {
	background: var(--sellabees-search-bg, #ebebeb);
}

/* Verberg de standaard browser-marker (driehoekje). */
.sellabees-faq__item summary::-webkit-details-marker {
	display: none;
}
.sellabees-faq__item summary {
	list-style: none;
}

/* --- Vraag (summary) ---------------------------------------------------- */
.sellabees-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 45px;
	/* Figma 482:11304: tekst x=523 (12px), top y=476 (14px); icoon x=1379 → rechts 13px. */
	padding: 14px 13px 14px 12px;
	cursor: pointer;
	font-family: var(--sellabees-font-body, "Avenir LT Pro", Arial, sans-serif);
	font-weight: 300; /* 45 Book */
	font-size: 14px;
	line-height: 1.4;
	color: var(--sellabees-ink, #000);
}

.sellabees-faq__question:focus-visible {
	outline: 2px solid var(--sellabees-red, #dd2532);
	outline-offset: 2px;
}

.sellabees-faq__question-text {
	flex: 1 1 auto;
}

/* --- Rode cirkel met plus / minus (CSS getekend) ------------------------ */
.sellabees-faq__toggle {
	position: relative;
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--sellabees-red, #dd2532);
}

.sellabees-faq__toggle::before,
.sellabees-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
}

/* Horizontale balk van de plus */
.sellabees-faq__toggle::before {
	width: 7px;
	height: 1.5px;
}

/* Verticale balk van de plus (verdwijnt bij open -> wordt een minus) */
.sellabees-faq__toggle::after {
	width: 1.5px;
	height: 7px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.sellabees-faq__item[open] .sellabees-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

/* --- Antwoord ----------------------------------------------------------- */
.sellabees-faq__answer {
	padding: 0 18px 16px;
	font-family: var(--sellabees-font-body, "Avenir LT Pro", Arial, sans-serif);
	font-weight: 300; /* 45 Book */
	font-size: 14px;
	line-height: 1.6;
	color: var(--sellabees-ink, #000);
}

.sellabees-faq__answer p {
	margin: 0;
}

/* --- USP-icoonstrip ----------------------------------------------------- */
.sellabees-faq__usps {
	background: var(--sellabees-search-bg, #ebebeb);
	padding: 76px 0;
}

.sellabees-faq__usp-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.sellabees-faq__usp {
	text-align: center;
	max-width: 383px;
	margin: 0 auto;
}

.sellabees-faq__usp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 117px;
	height: 117px;
	border-radius: 50%;
	background: #d9d9d9;
	margin-bottom: 22px;
}

.sellabees-faq__usp-icon img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.sellabees-faq__usp-title {
	margin: 0 0 10px;
	font-family: var(--sellabees-font-heading, Impact, sans-serif);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--sellabees-ink, #000);
}

.sellabees-faq__usp-text {
	margin: 0;
	font-family: var(--sellabees-font-body, "Avenir LT Pro", Arial, sans-serif);
	font-weight: 300; /* 45 Book */
	font-size: 16px;
	line-height: 27px;
	color: var(--sellabees-ink, #000);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
	.sellabees-faq__title {
		font-size: 48px;
	}
	.sellabees-faq__group-title {
		font-size: 26px;
	}
}

/* --- Mobiel (Figma 488:37921, 393px) ------------------------------------ */
@media (max-width: 981px) {
	/* Titelbalk lager (162px), titel Impact 35px, ~49px zijmarge. */
	.sellabees-faq__hero {
		min-height: 162px;
	}
	.sellabees-faq__hero .sellabees-container,
	.sellabees-faq__body .sellabees-container {
		padding-inline: 49px;
	}
	.sellabees-faq__title {
		font-size: 35px;
	}
	.sellabees-faq__body {
		padding: 36px 0 48px;
	}
	/* Lijst loopt full-width binnen de ingesprongen container. */
	.sellabees-faq__inner {
		max-width: none;
	}
	/* Groepstitels Impact 30px (Figma mobiel). */
	.sellabees-faq__group {
		margin-bottom: 40px;
	}
	.sellabees-faq__group-title {
		font-size: 30px;
	}

	/* Accordion-items compacter (~50px i.p.v. ~87px). Figma 488:38202 e.v.:
	   items ~46-50px hoog, kleinere onderlinge gap. */
	.sellabees-faq__list {
		gap: 10px;
	}
	.sellabees-faq__question {
		min-height: 50px;
		padding: 8px 13px 8px 12px;
		gap: 12px;
	}
	.sellabees-faq__answer {
		padding: 0 12px 12px;
	}

	/* Plus-icoon = rode OUTLINE-plus-glyph (15×15), geen gevulde rode schijf
	   (Figma 488:38213 "Add"). Geen achtergrond/cirkel; rode plus-strepen. */
	.sellabees-faq__toggle {
		width: 15px;
		height: 15px;
		border-radius: 0;
		background: none;
	}
	.sellabees-faq__toggle::before,
	.sellabees-faq__toggle::after {
		background: var(--sellabees-red, #dd2532);
	}
	.sellabees-faq__toggle::before {
		width: 15px;
		height: 2px;
	}
	.sellabees-faq__toggle::after {
		width: 2px;
		height: 15px;
	}
	/* Open = minus: verticale balk weg (Figma toont enkel een plus dicht). */
	.sellabees-faq__item[open] .sellabees-faq__toggle::after {
		transform: translate(-50%, -50%) rotate(90deg);
		opacity: 0;
	}
}
