/**
 * Single product detail fields (beauty & wellness).
 *
 * Styles the summary block (key benefits, suitability, claim badges) and the
 * Ingredients / How to use / FAQ tab content rendered by inc/product-details.php.
 * Loads only on single product pages, after woocommerce.css.
 */

/* ---- Summary block ---- */
.bf-pd-summary {
	margin: 1.25rem 0;
}

.bf-pd-benefits {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.bf-pd-benefits li {
	position: relative;
	padding-left: 1.6rem;
	line-height: 1.5;
}

.bf-pd-benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.7rem;
	height: 0.4rem;
	border-left: 2px solid var(--bf-green);
	border-bottom: 2px solid var(--bf-green);
	transform: rotate(-45deg);
}

.bf-pd-meta {
	margin: 0.35rem 0;
	font-size: 0.95rem;
	color: var(--bf-graphite);
}

.bf-pd-meta-label {
	font-weight: 600;
	color: var(--bf-green-ink, inherit);
}

/* ---- Pill badges ---- */
.bf-pd-pills {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bf-pd-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.7rem;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	border-radius: 999px;
	border: 1px solid var(--bf-hairline);
	background: var(--bf-mint);
	color: var(--bf-green-ink, var(--bf-forest));
}

.bf-pd-pills--free .bf-pd-pill {
	background: var(--bf-paper);
}

/* ---- Tab content ---- */
.bf-pd-tab {
	max-width: 70ch;
}

.bf-pd-subhead {
	margin: 1.4rem 0 0.5rem;
	font-size: 1.05rem;
}

.bf-pd-subhead:first-child {
	margin-top: 0;
}

.bf-pd-prose :where(p, ul, ol) {
	margin: 0 0 0.75rem;
}

.bf-pd-hero-list {
	margin: 0 0 0.5rem;
	padding-left: 1.1rem;
}

.bf-pd-hero-list li {
	margin-bottom: 0.4rem;
	line-height: 1.5;
}

.bf-pd-inci {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--bf-graphite);
}

.bf-pd-legal {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bf-hairline);
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--bf-graphite);
}

/* ---- FAQ ---- */
.bf-pd-faq {
	margin: 0;
}

.bf-pd-faq-q {
	font-weight: 600;
	margin: 1rem 0 0.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bf-hairline);
}

.bf-pd-faq-q:first-child {
	padding-top: 0;
	border-top: 0;
	margin-top: 0;
}

.bf-pd-faq-a {
	margin: 0;
	line-height: 1.6;
	color: var(--bf-graphite);
}
