/* Pet FAQ Cards — base styles
   Note: colors/sizes/radius/etc. are primarily controlled via Elementor's
   Style tab (inline <style> generated per-instance). The rules below are
   fallback defaults so the widget still looks right with zero customization. */

.pfc-wrapper {
	width: 100%;
}

.pfc-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pfc-item {
	background-color: #FDF1E7;
	border-radius: 16px;
	overflow: hidden;
	transition: background-color 300ms ease;
}

.pfc-item:hover {
	background-color: #FCE7D4;
}

.pfc-item-header {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.pfc-item-header:focus-visible {
	outline: 2px solid #F4793A;
	outline-offset: 2px;
}

/* Icon badge */
.pfc-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #FFFFFF;
	border: 1.5px solid #F9C9A8;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 300ms ease, border-color 300ms ease;
}

.pfc-icon i,
.pfc-icon svg {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #F4793A;
	line-height: 1;
	transition: color 300ms ease, fill 300ms ease;
}

.pfc-item:hover .pfc-icon {
	background-color: #F4793A;
	border-color: #F4793A;
}

.pfc-item:hover .pfc-icon i,
.pfc-item:hover .pfc-icon svg {
	color: #FFFFFF;
	fill: #FFFFFF;
}

/* Image badge (alternative to icon) */
.pfc-image {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #FFFFFF;
	border: 1.5px solid #F9C9A8;
}

/* Question text */
.pfc-question {
	flex-grow: 1;
	min-width: 0;
	font-size: 16px;
	font-weight: 700;
	color: #241047;
	line-height: 1.4;
	transition: color 300ms ease;
}

.pfc-item:hover .pfc-question {
	color: #F4793A;
}

/* Toggle (plus/cross) button */
.pfc-toggle {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #F4793A;
	transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), color 300ms ease, background-color 300ms ease;
	transform: rotate(0deg);
}

.pfc-toggle svg {
	width: 100%;
	height: 100%;
}

.pfc-item.is-open .pfc-toggle {
	transform: rotate(135deg);
}

/* Answer panel */
.pfc-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pfc-answer-inner {
	padding: 0 20px 20px 20px;
}

.pfc-answer-inner p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #6B5E7A;
}

.pfc-answer-inner p + p {
	margin-top: 10px;
}

@media (max-width: 600px) {
	.pfc-item-header {
		padding: 14px 16px;
		gap: 12px;
	}
	.pfc-icon,
	.pfc-image {
		width: 38px;
		height: 38px;
	}
	.pfc-icon i,
	.pfc-icon svg {
		font-size: 16px;
		width: 16px;
		height: 16px;
	}
	.pfc-question {
		font-size: 14px;
	}
	.pfc-answer-inner {
		padding: 0 16px 16px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pfc-item,
	.pfc-icon,
	.pfc-icon i,
	.pfc-icon svg,
	.pfc-question,
	.pfc-toggle,
	.pfc-answer {
		transition: none !important;
	}
}
