.elementor-widget-fga_faq_accordion,
.elementor-widget-fga_faq_accordion > .elementor-widget-container,
.elementor-element.elementor-widget-fga_faq_accordion {
	overflow: visible !important;
}

.fga-faq {
	--fga-header-h: 58px;
	--fga-badge-size: 92px;
	--fga-badge-out: 22px;
	--fga-icon-box: 48px;
	box-sizing: border-box;
	width: 100%;
	overflow: visible;
	/* فضای سایه شیپ از لبه راست */
	padding-inline-start: 8px;
}

.fga-faq *,
.fga-faq *::before,
.fga-faq *::after {
	box-sizing: border-box;
}

.fga-faq__sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.fga-faq__list {
	display: flex;
	flex-direction: column;
	gap: 32px;
	overflow: visible;
}

.fga-faq__item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: visible;
}

.fga-faq__header {
	position: relative;
	z-index: 2;
	height: var(--fga-header-h);
	min-height: var(--fga-header-h);
	background: linear-gradient(90deg, #ffffff 0%, #f3f3f3 100%);
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
	overflow: visible;
}

.fga-faq__trigger {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: calc(var(--fga-badge-size) - var(--fga-badge-out)) minmax(0, 1fr) var(--fga-icon-box);
	align-items: center;
	gap: 4px;
	padding: 0 0 0 8px;
	border: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: inherit;
	font: inherit;
	text-align: right;
	cursor: pointer;
	overflow: visible;
	appearance: none;
	-webkit-appearance: none;
	transition: none;
}

.fga-faq__trigger:hover,
.fga-faq__trigger:focus,
.fga-faq__trigger:active,
.fga-faq__header:hover .fga-faq__trigger {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: inherit;
	border-color: transparent;
	transform: none;
}

.fga-faq__trigger:focus-visible {
	outline: 2px solid #A27031;
	outline-offset: 3px;
	border-radius: 999px;
}

.fga-faq__list[data-fga-numbers="0"] .fga-faq__trigger {
	grid-template-columns: minmax(0, 1fr) var(--fga-icon-box);
	padding-inline-start: 20px;
}

.fga-faq__badge {
	position: relative;
	width: var(--fga-badge-size);
	height: var(--fga-badge-size);
	margin-block: calc((var(--fga-badge-size) - var(--fga-header-h)) / -2);
	margin-inline-start: calc(var(--fga-badge-out) * -1);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	z-index: 2;
	pointer-events: none;
}

.fga-faq__badge-shape {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
	filter: drop-shadow(0 6px 14px rgba(162, 112, 49, 0.35));
}

.fga-faq__number {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	line-height: 1;
	pointer-events: none;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.fga-faq__question {
	display: block;
	margin: 0;
	font-size: clamp(0.9rem, 2.2vw, 1.05rem);
	font-weight: 600;
	line-height: 1.55;
	color: #2b2b2b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fga-faq__chevron {
	display: grid;
	place-items: center;
	width: var(--fga-icon-box);
	height: var(--fga-icon-box);
	color: #4a4a4a;
	transition: transform 0.28s ease, color 0.2s ease;
	line-height: 1;
}

.fga-faq__chevron svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.fga-faq__item.is-open .fga-faq__chevron {
	transform: rotate(180deg);
}

/*
 * پنل پاسخ — فقط با کلاس is-open باز/بسته می‌شود (بدون height دستی)
 * پدینگ داخلی برای جلوگیری از کات‌شدن سایه
 */
.fga-faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.32s ease;
}

.fga-faq__item.is-open .fga-faq__panel {
	grid-template-rows: 1fr;
}

.fga-faq__panel-inner {
	min-height: 0;
	overflow: hidden;
}

.fga-faq__answer {
	margin: 12px 16px 20px;
	padding: 18px 28px;
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 20px;
	box-shadow:
		0 4px 10px rgba(0, 0, 0, 0.08),
		0 14px 32px rgba(0, 0, 0, 0.12);
	font-size: 0.95rem;
	line-height: 1.9;
	color: #6b6b6b;
}

.fga-faq__answer p:first-child {
	margin-top: 0;
}

.fga-faq__answer p:last-child {
	margin-bottom: 0;
}

/* Tablet */
@media (max-width: 1024px) {
	.fga-faq {
		--fga-header-h: 54px;
		--fga-badge-size: 84px;
		--fga-badge-out: 20px;
		--fga-icon-box: 44px;
	}

	.fga-faq__list {
		gap: 28px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.fga-faq {
		--fga-header-h: 52px;
		--fga-badge-size: 78px;
		--fga-badge-out: 18px;
		--fga-icon-box: 40px;
	}

	.fga-faq__list {
		gap: 24px;
	}

	.fga-faq__trigger {
		gap: 2px;
		padding: 0 0 0 4px;
	}

	.fga-faq__question {
		font-size: 0.88rem;
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.fga-faq__number {
		font-size: 1.25rem;
	}

	.fga-faq__panel-inner {
		padding: 0;
	}

	.fga-faq__answer {
		margin: 8px 6px 14px;
		padding: 14px 16px;
		border-radius: 16px;
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.fga-faq {
		--fga-header-h: 50px;
		--fga-badge-size: 70px;
		--fga-badge-out: 14px;
		--fga-icon-box: 36px;
	}

	.fga-faq__number {
		font-size: 1.1rem;
	}
}
