/**
 * FAQ-блок «Остались вопросы?» (product-faq.inc.php).
 * Подключается на карточке товара и на листинге каталога.
 */

.product-faq.product-about {
	box-sizing: border-box;
	width: 100%;
	padding: 16px;
	border-radius: 20px;
	background-color: #fff;
}

.product-faq .product-about__title {
	margin: 0;
	font-family: Gilroy, sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 24px;
	text-transform: none;
	letter-spacing: normal;
}

.product-faq__list {
	margin-top: 12px;
}

.product-faq__item + .product-faq__item {
	margin-top: 8px;
}

.product-faq__trigger {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #EDEEF2;
	border-radius: 12px;
	background-color: #fff;
	cursor: pointer;
	text-align: left;
	overflow: hidden;
	transition: border-color 0.2s;
}

.product-faq__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	padding: 0 16px;
}

.product-faq__question {
	flex: 1 1 auto;
	font-family: Gilroy, sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: inherit;
}

.product-faq__icon {
	display: block;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	box-sizing: border-box;
	margin-left: 12px;
	border-left: 2px solid #A1A7AD;
	border-bottom: 2px solid #A1A7AD;
	border-radius: 1px;
	transform: rotate(-45deg);
	transition: transform 0.25s ease;
}

.product-faq__item.is-open .product-faq__icon {
	transform: rotate(135deg);
}

.product-faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.product-faq__item.is-open .product-faq__panel {
	grid-template-rows: 1fr;
}

.product-faq__panel-inner {
	overflow: hidden;
	min-height: 0;
}

.product-faq__answer {
	padding: 8px 16px 16px;
	font-family: Gilroy, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
}

.product-faq__answer p {
	margin: 0 0 8px;
}

.product-faq__answer p:last-child {
	margin-bottom: 0;
}

.product-faq__answer a {
	color: inherit;
	text-decoration: underline;
}

.product-faq__steps {
	margin: 0 0 8px;
	padding-left: 20px;
}

.product-faq__steps li + li {
	margin-top: 4px;
}

.product-faq__note {
	font-size: 14px;
	line-height: 20px;
}

@media only screen and (max-width: 768px) {
	.product-faq .product-about__title {
		font-family: Gilroy, sans-serif;
		font-weight: 700;
		font-size: 18px;
		line-height: 24px;
	}
}
