/* ==========================================================================
   Chafery – policy pages & FAQ
   ========================================================================== */

.chafery-policy,
.chafery-policy #wrapper,
.chafery-policy #main { background: #fff; }

/* Light header (policy pages) */
.cf-page-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	padding: 30px 16px;
	background: #f8f9fa;
	text-align: center;
}
.cf-page-hero h1 {
	margin: 0 0 10px;
	color: #111;
	font-family: "Jost", sans-serif;
	font-size: 40px;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1.15;
	text-transform: uppercase;
}
.cf-page-hero__crumbs { display: flex; gap: 8px; color: #111; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.cf-page-hero__crumbs a { color: #666; }
.cf-page-hero__crumbs a:hover { color: #111; }
.cf-page-hero__crumbs span[aria-hidden] { color: #aaa; }

/* Editor content */
.cf-policy__content {
	max-width: 1000px;
	margin: 0 auto;
	padding: 50px 24px 70px;
	color: #444;
	font-family: "Jost", sans-serif;
	font-size: 15px;
	line-height: 1.85;
}
.cf-faq__intro.cf-policy__content { max-width: none; padding: 0 0 10px; }
.cf-policy__content h2,
.cf-policy__content h3,
.cf-policy__content h4 {
	margin: 36px 0 14px;
	color: #111;
	font-family: "Jost", sans-serif;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.3;
}
.cf-policy__content > :first-child { margin-top: 0; }
.cf-policy__content h2 { font-size: 30px; }
.cf-policy__content h3 { font-size: 24px; }
.cf-policy__content h4 { font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.cf-policy__content p { margin: 0 0 16px; }
.cf-policy__content ul,
.cf-policy__content ol { margin: 0 0 18px 22px; }
.cf-policy__content li { margin-bottom: 6px; }
.cf-policy__content ul ul { margin-top: 6px; }
.cf-policy__content a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.cf-policy__content a:hover { color: #e01e1e; }
.cf-policy__content strong { color: #111; }

/* FAQ hero */
.cf-faq-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 36px 16px;
	background: #a3d9c9;
	text-align: center;
}
.cf-faq-hero__label {
	margin-bottom: 14px;
	padding: 3px 12px;
	border-radius: 20px;
	background: #ffd84d;
	color: #111;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.cf-faq-hero h1 {
	margin: 0;
	color: #fff;
	font-family: "Jost", sans-serif;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
}

/* FAQ body */
.cf-faq__wrap {
	max-width: 1000px;
	margin: 0 auto;
	padding: 46px 24px 30px;
	font-family: "Jost", sans-serif;
}
.cf-faq-group { max-width: 640px; margin-bottom: 26px; }
.cf-faq-group h2 {
	margin: 0 0 16px;
	color: #111;
	font-family: "Jost", sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.35;
}
.cf-faq-list { border: 1px solid #e6e6e6; }
.cf-faq-item + .cf-faq-item { border-top: 1px solid #e6e6e6; }
.cf-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}
.cf-faq-item summary::-webkit-details-marker { display: none; }
.cf-faq-item summary svg { flex: none; transform: rotate(90deg); transition: transform .2s; color: #666; }
.cf-faq-item[open] summary svg { transform: rotate(-90deg); }
.cf-faq-item[open] summary { border-bottom: 1px solid #e6e6e6; }
.cf-faq-item__answer { padding: 14px 16px 6px; }
.cf-faq-item__answer p { margin: 0 0 12px; color: #555; font-size: 14px; line-height: 1.75; }

.cf-faq .cf-about-reviews { padding-top: 20px; }

/* Bestsellers on the FAQ page */
.cf-faq-products {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 24px 60px;
}
.cf-faq-products__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}
.cf-faq-products__head h2 {
	margin: 0;
	color: #111;
	font-family: "Jost", sans-serif;
	font-size: 28px;
	font-weight: 500;
}
.cf-faq-products .products { margin-left: -6px; margin-right: -6px; }
.cf-faq-products .product-small.col { padding: 0 6px 14px; }

@media (max-width: 849px) {
	.cf-page-hero { min-height: 140px; }
	.cf-page-hero h1 { font-size: 28px; }
	.cf-policy__content { padding: 34px 16px 50px; font-size: 14px; }
	.cf-policy__content h2 { font-size: 24px; }
	.cf-policy__content h3 { font-size: 20px; }

	.cf-faq-hero { min-height: 160px; }
	.cf-faq-hero h1 { font-size: 28px; }
	.cf-faq__wrap { padding: 32px 16px 20px; }
	.cf-faq-products { padding: 0 12px 40px; }
	.cf-faq-products__head h2 { font-size: 24px; }
}
