/**
 * Out-N-Out FAQ / Accordion. Token-driven; native <details> — no JS.
 * Handle: oon-widget-faq.
 */
.oon-faq {
	--oon-faq-icon: 16px;
	max-width: 860px;
	margin-inline: auto;
}

.oon-faq__item {
	background: var(--oon-color-bg, #fff);
	border: 1px solid var(--oon-color-border, #eee);
	border-radius: var(--oon-radius-sm, 4px);
	margin-bottom: 12px;
	overflow: hidden;
}

.oon-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
}
.oon-faq__q::-webkit-details-marker {
	display: none;
}
.oon-faq__q:focus-visible {
	outline: 2px solid var(--oon-color-accent, #9a84c8);
	outline-offset: -2px;
}

.oon-faq__q-text {
	margin: 0;
	font-family: var(--oon-font-heading);
	font-weight: var(--oon-fw-heading, 500);
	font-size: 1.02rem;
	line-height: 1.4;
	color: var(--oon-color-heading, #332d55);
}

.oon-faq__a {
	padding: 0 22px 20px;
	font-family: var(--oon-font-body);
	line-height: var(--oon-body-line-height, 1.6);
	color: var(--oon-color-text-secondary, #666);
}
.oon-faq__a > :last-child {
	margin-bottom: 0;
}

/* ---- Icon: chevron (default) ---- */
.oon-faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: var(--oon-faq-icon, 16px);
	height: var(--oon-faq-icon, 16px);
	color: var(--oon-color-heading, #332d55);
	transition: transform var(--oon-transition, 0.25s ease);
}
.oon-faq--icon-chevron .oon-faq__icon::before {
	content: "";
	position: absolute;
	top: 20%;
	left: 15%;
	width: 60%;
	height: 60%;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transform-origin: center;
}
.oon-faq--icon-chevron .oon-faq__item[open] .oon-faq__icon {
	transform: rotate(180deg);
}

/* ---- Icon: plus / minus ---- */
.oon-faq--icon-plus .oon-faq__icon::before,
.oon-faq--icon-plus .oon-faq__icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	transition: transform var(--oon-transition, 0.25s ease), opacity var(--oon-transition, 0.25s ease);
}
.oon-faq--icon-plus .oon-faq__icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	transform: translateY(-50%);
}
.oon-faq--icon-plus .oon-faq__icon::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	transform: translateX(-50%);
}
.oon-faq--icon-plus .oon-faq__item[open] .oon-faq__icon::after {
	opacity: 0;
	transform: translateX(-50%) rotate(90deg);
}

@media (max-width: 640px) {
	.oon-faq__q {
		padding: 15px 16px;
	}
	.oon-faq__a {
		padding: 0 16px 16px;
	}
	.oon-faq__q-text {
		font-size: 0.98rem;
	}
}
