/**
 * Product FAQs Frontend Styles
 *
 * @package MioAnimale\Features\ProductFaqs
 */

.mio-animale-product-faqs {
	margin: 2rem 0;
	padding: 0;
}

.mio-animale-faqs-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.mio-animale-faqs-accordion {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.mio-animale-faq-item {
	border-bottom: 1px solid #e0e0e0;
}

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

.mio-animale-faq-question {
	padding: 1rem 1.25rem;
	font-weight: 600;
	font-size: 1rem;
	color: #333;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f9f9f9;
	transition: background-color 0.2s ease;
}

.mio-animale-faq-question:hover {
	background: #f0f0f0;
}

.mio-animale-faq-question::-webkit-details-marker {
	display: none;
}

.mio-animale-faq-question-text {
	margin: 0;
	font: inherit;
	color: inherit;
}

.mio-animale-faq-question::after {
	content: "+";
	font-size: 1.25rem;
	font-weight: 400;
	color: #666;
	flex-shrink: 0;
	margin-left: 1rem;
	transition: transform 0.2s ease;
}

.mio-animale-faq-item[open] .mio-animale-faq-question::after {
	content: "\2212";
}

.mio-animale-faq-item[open] .mio-animale-faq-question {
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
}

.mio-animale-faq-answer {
	padding: 1rem 1.25rem;
	color: #555;
	font-size: 0.9375rem;
	line-height: 1.6;
	background: #fff;
}

.mio-animale-faq-answer p {
	margin: 0 0 0.75rem;
}

.mio-animale-faq-answer p:last-child {
	margin-bottom: 0;
}

@media (max-width: 600px) {
	.mio-animale-faq-question {
		padding: 0.875rem 1rem;
		font-size: 0.9375rem;
	}

	.mio-animale-faq-answer {
		padding: 0.875rem 1rem;
	}
}
