/* ==========================================================================
   Soul Foodie — Recipe Features Styling
   Uses CSS custom properties so colors can be adjusted from the child
   theme's style.css without touching this file.
   ========================================================================== */

:root {
	--color-primary: #8AB661;      /* light green - wordmark primary */
	--color-secondary: #4A7C59;    /* deep olive green - headings, depth */
	--color-background: #FAF6F0;   /* warm cream/off-white */
	--color-accent: #F5C500;       /* mustard gold - badges, buttons */
	--color-supporting: #E66229;   /* terracotta - callouts, hover states */
	--color-text: #2b2420;
}

/* Card badges — spice + budget only, shown on grid/index views */
.sf-card-badges {
	display: flex;
	gap: 8px;
	margin: 8px 0;
}
.sf-badge {
	font-size: 0.95rem;
	line-height: 1;
}

/* Page badges — full "Spread" section on the single recipe page */
.sf-page-badges {
	background: var(--color-background);
	border: 1px solid var(--color-accent);
	border-radius: 8px;
	padding: 14px 18px;
	margin: 16px 0;
}
.sf-page-badge {
	margin: 4px 0;
	color: var(--color-text);
}
.sf-flavor-pill {
	display: inline-block;
	background: var(--color-secondary);
	color: #fff;
	border-radius: 999px;
	padding: 2px 10px;
	margin: 2px 4px 2px 0;
	font-size: 0.85rem;
}

/* The Spread section wrapper */
.sf-the-spread h2 {
	color: var(--color-secondary);
}
.sf-spread-list {
	list-style: none;
	padding: 0;
	margin: 0 0 8px 0;
}
.sf-spread-list li {
	margin: 2px 0;
}

/* Styled callout boxes: Remix Notes, Origin Story, Notes from the Soul */
.sf-callout {
	border-radius: 8px;
	padding: 16px 20px;
	margin: 20px 0;
}
.sf-callout h3 {
	margin-top: 0;
	font-size: 1.05rem;
}
.sf-remix-notes {
	background: #fdece2;
	border-left: 4px solid var(--color-supporting);
}
.sf-origin-story {
	background: #eef2ec;
	border-left: 4px solid var(--color-secondary);
}
.sf-soul-notes {
	background: #fdf6e3;
	border-left: 4px solid var(--color-accent);
}

/* FAQ section */
.sf-faq-item {
	margin-bottom: 14px;
}
.sf-faq-question {
	margin-bottom: 2px;
}

/* Copy buttons (ingredients + shopping list) */
.sf-copy-btn {
	background: var(--color-accent);
	color: #2b2420;
	border: none;
	border-radius: 6px;
	padding: 8px 16px;
	font-weight: 600;
	cursor: pointer;
	margin: 10px 0;
}
.sf-copy-btn:hover {
	opacity: 0.9;
}
.sf-copy-btn-success {
	background: var(--color-secondary);
	color: #fff;
}

/* Meal plan display */
.sf-meal-plan-recipes {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 16px 0;
}
.sf-meal-plan-recipe-card {
	width: 150px;
	text-align: center;
}
.sf-meal-plan-recipe-card img {
	border-radius: 8px;
	width: 100%;
	height: auto;
}
.sf-meal-plan-total-cost {
	font-size: 1.1rem;
	color: var(--color-supporting);
}
.sf-shopping-list-items {
	columns: 2;
}

@media (max-width: 600px) {
	.sf-shopping-list-items {
		columns: 1;
	}
}

/* Recipe filters + grid (Recipe Index page) */
.sf-recipe-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	background: var(--color-background);
	padding: 14px;
	border-radius: 8px;
	margin-bottom: 24px;
}
.sf-recipe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
}
.sf-recipe-grid-card img {
	border-radius: 8px;
	width: 100%;
	height: auto;
}
.sf-recipe-grid-card h3 {
	font-size: 1rem;
	margin: 8px 0 4px 0;
	color: var(--color-text);
}
