.sonder-faq-wrapper {
	max-width: 800px;
	margin: 20px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.sonder-faq-search-container {
	margin-bottom: 25px;
	padding: 0 5px;
}

.sonder-faq-search-input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid rgba(128, 128, 128, 0.3);
	border-radius: 4px;
	font-size: 16px;
	outline: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background-color: transparent;
	color: inherit;
}

.sonder-faq-search-input:focus {
	border-color: rgba(128, 128, 128, 0.6);
	box-shadow: 0 0 5px rgba(128, 128, 128, 0.1);
}

.sonder-faq-item {
	border-bottom: 1px solid rgba(128, 128, 128, 0.2);
	margin-bottom: 0;
}

.sonder-faq-item:last-child {
	border-bottom: none;
}

.sonder-faq-question {
	padding: 20px;
	cursor: pointer;
	position: relative;
	font-weight: 600;
	font-size: 1.1em;
	transition: background 0.3s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sonder-faq-question:hover {
	background: rgba(128, 128, 128, 0.05);
}

.sonder-faq-icon {
	width: 20px;
	height: 20px;
	position: relative;
}

.sonder-faq-icon:before,
.sonder-faq-icon:after {
	content: "";
	position: absolute;
	background-color: currentColor;
	transition: transform 0.3s ease;
}

.sonder-faq-icon:before {
	top: 9px;
	left: 0;
	width: 20px;
	height: 2px;
}

.sonder-faq-icon:after {
	top: 0;
	left: 9px;
	width: 2px;
	height: 20px;
}

.sonder-faq-item.active .sonder-faq-icon:after {
	transform: rotate(90deg);
}

.sonder-faq-item.active .sonder-faq-icon:before {
	transform: rotate(180deg);
}

.sonder-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease;
	padding: 0 20px;
	opacity: 0.8;
	line-height: 1.6;
}

.sonder-faq-item.active .sonder-faq-answer {
	max-height: 5000px; /* Large enough to fit content */
	padding: 0 20px 20px 20px;
}

.sonder-faq-answer img {
	max-width: 100%;
	height: auto;
	margin: 10px 0;
}

.sonder-faq-answer p {
	margin-bottom: 15px;
}

.sonder-faq-answer ul, .sonder-faq-answer ol {
	margin: 15px 0;
	padding-left: 20px;
}
