/* FiveMRides Product FAQ - Miami Vice accordion.
   Rendered under the product gallery (left column), so it sizes to its container. */

.fmr-faq {
	--fmr-cyan: #00e5ff;
	--fmr-magenta: #ff2bd6;
	--fmr-bg: #0e0b20;
	--fmr-panel: #161031;
	--fmr-panel-2: #1d1640;
	--fmr-line: rgba(0, 229, 255, .22);
	--fmr-text: #e9e6ff;
	--fmr-muted: #a89fd4;
	--fmr-green: #2ee6a6;
	--fmr-yellow: #ffd166;

	box-sizing: border-box;
	width: 100%;
	/* The single-product container is a 2-col grid (gallery | summary). Span both
	   columns so the FAQ sits full-width below the product, not inside one column.
	   Ignored harmlessly when the parent is not a grid. */
	grid-column: 1 / -1;
	clear: both;
	margin: 28px 0 8px;
	padding: 20px 18px 22px;
	border: 1px solid var(--fmr-line);
	border-radius: 16px;
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(255, 43, 214, .10), transparent 55%),
		radial-gradient(120% 90% at 100% 0%, rgba(0, 229, 255, .10), transparent 55%),
		var(--fmr-bg);
	color: var(--fmr-text);
	font-family: 'Chakra Petch', 'Rajdhani', system-ui, -apple-system, sans-serif;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.fmr-faq *,
.fmr-faq *::before,
.fmr-faq *::after {
	box-sizing: border-box;
}

/* --- spec pills --- */
.fmr-faq__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.fmr-faq__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 11px;
	border: 1px solid var(--fmr-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .03);
	font-size: 12px;
	line-height: 1.2;
}

.fmr-faq__pill-label {
	color: var(--fmr-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 600;
	font-size: 10.5px;
}

.fmr-faq__pill-value {
	font-weight: 700;
}

.fmr-faq__pill--green .fmr-faq__pill-value {
	color: var(--fmr-green);
}

.fmr-faq__pill--yellow {
	border-color: rgba(255, 209, 102, .4);
}

.fmr-faq__pill--yellow .fmr-faq__pill-value {
	color: var(--fmr-yellow);
}

/* --- title --- */
.fmr-faq__title {
	margin: 0 0 14px;
	padding: 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: .01em;
	background: linear-gradient(90deg, var(--fmr-cyan), var(--fmr-magenta));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--fmr-cyan);
}

/* --- accordion --- */
.fmr-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fmr-faq__item {
	border: 1px solid var(--fmr-line);
	border-radius: 12px;
	background: linear-gradient(180deg, var(--fmr-panel), var(--fmr-panel-2));
	overflow: hidden;
}

.fmr-faq__heading {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.fmr-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	color: var(--fmr-text);
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease;
}

.fmr-faq__q:hover {
	background: rgba(0, 229, 255, .06);
}

.fmr-faq__q[aria-expanded="true"] {
	color: var(--fmr-cyan);
}

.fmr-faq__q:focus-visible {
	outline: 2px solid var(--fmr-magenta);
	outline-offset: -2px;
}

.fmr-faq__chevron {
	flex: 0 0 auto;
	color: var(--fmr-magenta);
	transition: transform .22s ease;
}

.fmr-faq__q[aria-expanded="true"] .fmr-faq__chevron {
	transform: rotate(180deg);
	color: var(--fmr-cyan);
}

.fmr-faq__a {
	padding: 0 16px 16px;
	color: var(--fmr-muted);
	font-size: 14px;
	line-height: 1.6;
}

.fmr-faq__a[hidden] {
	display: none;
}

.fmr-faq__a-text {
	margin: 2px 0 0;
}

/* --- vehicle chips --- */
.fmr-faq__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 12px;
}

.fmr-faq__chip {
	padding: 4px 10px;
	border: 1px solid rgba(255, 43, 214, .35);
	border-radius: 999px;
	background: rgba(255, 43, 214, .08);
	color: var(--fmr-text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

/* --- tool funnel CTA button --- */
.fmr-faq__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 9px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .01em;
	color: #0a0a16;
	background: linear-gradient(90deg, var(--fmr-cyan), var(--fmr-magenta));
	box-shadow: 0 4px 18px rgba(255, 43, 214, .25);
	transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.fmr-faq__cta:hover,
.fmr-faq__cta:focus-visible {
	color: #0a0a16;
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 6px 22px rgba(0, 229, 255, .3);
}

.fmr-faq__cta:focus-visible {
	outline: 2px solid var(--fmr-text);
	outline-offset: 2px;
}

.fmr-faq__cta-arrow {
	transition: transform .18s ease;
}

.fmr-faq__cta:hover .fmr-faq__cta-arrow {
	transform: translateX(3px);
}

/* --- animated open (progressive enhancement via JS class) --- */
.fmr-faq__item.is-open .fmr-faq__a {
	animation: fmr-faq-in .22s ease;
}

@keyframes fmr-faq-in {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.fmr-faq__chevron,
	.fmr-faq__q,
	.fmr-faq__cta,
	.fmr-faq__cta-arrow {
		transition: none;
	}
	.fmr-faq__item.is-open .fmr-faq__a {
		animation: none;
	}
}

@media (max-width: 480px) {
	.fmr-faq {
		padding: 16px 13px 18px;
	}
	.fmr-faq__q {
		font-size: 14px;
	}
}
