/**
 * Ecommerce FAQ
 *
 * Design system:
 *   - Background: white / light (page provides light bg)
 *   - Fonts: Manrope 700 (headings), Helvetica (body)
 *   - Container: 820px (single-column for readability)
 *   - border-radius: 0
 *   - Palette: #050507 headings, rgba(0,0,0,x) body
 */

/* ------------------------------------------------
   Section
   ------------------------------------------------ */

.stg-ecfaq {
	position: relative;
	padding: 80px 24px;
}

.stg-ecfaq__inner {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* ------------------------------------------------
   Header
   ------------------------------------------------ */

.stg-ecfaq__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
}

.stg-ecfaq__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.5);
	background: rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 10px 22px;
}

.stg-ecfaq__badge-dot {
	width: 5px;
	height: 5px;
	background: #050507;
	border-radius: 50%;
	opacity: 0.3;
}

.stg-ecfaq__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #050507;
	margin: 0;
	text-transform: uppercase;
}

.stg-ecfaq__title em {
	font-style: italic;
	font-weight: 700;
}

/* ------------------------------------------------
   Accordion List
   ------------------------------------------------ */

.stg-ecfaq__list {
	display: flex;
	flex-direction: column;
}

.stg-ecfaq__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stg-ecfaq__item:first-child {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ------------------------------------------------
   Question (summary)
   ------------------------------------------------ */

.stg-ecfaq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
}

.stg-ecfaq__question::-webkit-details-marker {
	display: none;
}

.stg-ecfaq__question::marker {
	display: none;
	content: '';
}

.stg-ecfaq__q-text {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.7);
	transition: color 0.2s ease;
}

.stg-ecfaq__item[open] .stg-ecfaq__q-text,
.stg-ecfaq__question:hover .stg-ecfaq__q-text {
	color: #050507;
}

.stg-ecfaq__icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: rgba(0, 0, 0, 0.2);
	transition: transform 0.25s ease, color 0.2s ease;
}

.stg-ecfaq__item[open] .stg-ecfaq__icon {
	transform: rotate(180deg);
	color: rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------
   Answer
   ------------------------------------------------ */

.stg-ecfaq__answer {
	padding: 0 0 24px;
}

.stg-ecfaq__answer p {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(0, 0, 0, 0.5);
	margin: 0;
}

.stg-ecfaq__answer p strong {
	font-weight: 600;
	color: rgba(0, 0, 0, 0.75);
}

/* ------------------------------------------------
   Responsive
   ------------------------------------------------ */

@media (max-width: 767px) {
	.stg-ecfaq {
		padding: 48px 20px;
	}

	.stg-ecfaq__inner {
		gap: 32px;
	}

	.stg-ecfaq__q-text {
		font-size: 14px;
	}

	.stg-ecfaq__answer p {
		font-size: 13.5px;
	}

	.stg-ecfaq__question {
		padding: 16px 0;
	}
}

/* ------------------------------------------------
   Reduced Motion
   ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.stg-ecfaq__icon {
		transition: none;
	}

	.stg-ecfaq__q-text {
		transition: none;
	}
}
