/**
 * Agora Kitchen — recipe browser styles.
 * Moved out of the shortcode output 2026-08-24 alongside the JS: anything
 * rendered through `the_content` is exposed to every content filter, and
 * wptexturize had already destroyed the inline script. An enqueued stylesheet
 * is never filtered.
 *
 * Mobile-first on purpose: Jennifer is the primary user and this is a
 * one-handed, standing-in-the-kitchen surface. Tap targets are 40-44px minimum.
 */

.kr-app { max-width: 720px; margin: 0 auto; padding: 8px 12px 40px; font-size: 17px; line-height: 1.45; }
.kr-head h2 { margin: .2em 0 .1em; font-size: 1.6em; }
.kr-sub { color: #555; margin: .2em 0 1em; }

.kr-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kr-chip { display: inline-block; padding: 9px 15px; border-radius: 999px; background: #eee; color: #333;
	cursor: pointer; user-select: none; font-size: .95em; line-height: 1; text-transform: capitalize; }
.kr-chip.is-on { background: #b23b2e; color: #fff; }
.kr-sortwrap { font-size: .9em; color: #555; }
.kr-sortwrap select { font-size: 1em; padding: 7px 8px; margin-left: 6px; }

.kr-card { border: 1px solid #e3e3e3; border-radius: 14px; padding: 14px 16px; margin: 0 0 16px;
	box-shadow: 0 1px 4px rgba(0,0,0,.05); background: #fff; }
.kr-card h3 { margin: .1em 0 .35em; font-size: 1.2em; }
.kr-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: .35em 0; align-items: center; }
.kr-cat { background: #f2ede4; border-radius: 999px; padding: 4px 10px; font-size: .8em; text-transform: capitalize; }
.kr-ings { color: #555; font-size: .92em; margin: .4em 0 .6em; }

.kr-rate { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 10px;
	border-top: 1px solid #f0f0f0; padding-top: 12px; }
.kr-stars { display: flex; gap: 2px; }
.kr-star { background: none; border: 0; font-size: 1.9em; line-height: 1; padding: 2px 3px; cursor: pointer;
	color: #d6d6d6; min-width: 40px; min-height: 40px; }
.kr-star.is-on { color: #f0a500; }
.kr-thumb { background: #f4f4f4; border: 1px solid #ddd; border-radius: 10px; font-size: 1.25em;
	padding: 9px 14px; cursor: pointer; min-width: 52px; min-height: 44px; }
.kr-thumb.is-on[data-thumb="1"] { background: #dff3e2; border-color: #8bc79a; }
.kr-thumb.is-on[data-thumb="-1"] { background: #fbe3e1; border-color: #dfa2a2; }

.kr-why { width: 100%; margin-top: 10px; display: none; }
.kr-why.is-open { display: block; }
.kr-why input { width: 100%; padding: 11px 12px; font-size: 1em; border: 1px solid #ccc; border-radius: 10px; }
.kr-why .kr-btn { margin-top: 8px; }

.kr-btn { display: inline-block; background: #b23b2e; color: #fff; border: 0; border-radius: 10px;
	padding: 11px 20px; font-size: 1em; font-weight: 600; cursor: pointer; text-decoration: none; }
.kr-btn:hover { opacity: .92; color: #fff; }

.kr-note { font-size: .85em; color: #666; margin: .45em 0 0; font-style: italic; }
.kr-msg { font-size: .85em; margin-top: 8px; min-height: 1.1em; }
.kr-msg.err { color: #b32d2e; }
.kr-msg.ok { color: #1a7f37; }

.kr-empty { background: #fbf8f2; border: 1px dashed #ddd0b8; border-radius: 14px; padding: 22px;
	text-align: center; color: #5a5348; }
.kr-addcat { background: none; border: 1px dashed #bbb; border-radius: 999px; padding: 4px 10px;
	font-size: .8em; cursor: pointer; color: #666; }

.kr-gate { max-width: 520px; margin: 24px auto; padding: 24px; text-align: center;
	border: 1px solid #eee; border-radius: 14px; font-size: 17px; }

@media (max-width: 480px) {
	.kr-app { font-size: 18px; }
	.kr-controls { flex-direction: column; align-items: flex-start; }
	.kr-star { font-size: 2.1em; min-width: 44px; }
}
