/* Taking Whisks Recipe Cards. Colors fall back to the brand hex values if the Elementor variables are missing. */

/* ---------- recipe toolbar ---------- */
.tw-toolbar button, .twf button { text-transform: none; letter-spacing: normal; white-space: nowrap; }
.tw-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding-top: 6px;
	font-family: var(--tw-body, 'Nunito Sans'), sans-serif;
}
.tw-tool {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	box-sizing: border-box;
}
.tw-toolbar .tw-btn,
.tw-stepper,
.tw-seg {
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: var(--tw-ink, #2E2A28);
	background: var(--tw-card, #FFFDF7);
	border: 1.5px solid var(--tw-ink, #2E2A28);
	border-radius: 999px;
	padding: 0 16px;
	text-decoration: none;
	cursor: pointer;
}
.tw-toolbar .tw-btn:hover,
.tw-toolbar .tw-btn:focus-visible { background: var(--tw-mint, #BFE6D3); color: var(--tw-ink, #2E2A28); }
.tw-toolbar .tw-btn[aria-pressed="true"] { background: var(--tw-ink, #2E2A28); color: #fff; }
.tw-toolbar .tw-btn-dark { background: var(--tw-cocoa-dark, #5E4436); border-color: var(--tw-cocoa-dark, #5E4436); color: #fff; }
.tw-toolbar .tw-btn-dark:hover, .tw-toolbar .tw-btn-dark:focus-visible { background: var(--tw-ink, #2E2A28); color: #fff; }

.tw-stepper { padding: 0 4px 0 14px; cursor: default; }
.tw-tool-label { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--tw-green-text, #3F6B57); margin-right: 2px; }
.tw-toolbar .tw-step-btn {
	width: 32px; height: 32px; border-radius: 50%;
	border: 0; padding: 0; margin: 0;
	background: var(--tw-mint-bg, #E6F4ED); color: var(--tw-ink, #2E2A28);
	font: 800 18px/1 var(--tw-body, 'Nunito Sans'), sans-serif; cursor: pointer;
}
.tw-toolbar .tw-step-btn:hover, .tw-toolbar .tw-step-btn:focus-visible { background: var(--tw-mint, #BFE6D3); }
.tw-count { min-width: 2.2em; text-align: center; font-weight: 800; font-size: 17px; }

.tw-seg { padding: 3px; gap: 2px; cursor: default; }
.tw-toolbar .tw-seg-btn {
	border: 0; margin: 0; border-radius: 999px; padding: 0 14px; height: 32px;
	background: transparent; color: var(--tw-ink, #2E2A28);
	font: 700 14px/1 var(--tw-body, 'Nunito Sans'), sans-serif; cursor: pointer;
}
.tw-toolbar .tw-seg-btn[aria-pressed="true"] { background: var(--tw-ink, #2E2A28); color: #fff; }

/* ---------- tap to check off ---------- */
.tw-checkable { cursor: pointer; transition: opacity .15s; }
.tw-done { opacity: .45; }
.tw-ingredient.tw-done, .tw-step.tw-done .tw-body { text-decoration: line-through; }

/* ---------- cook mode: bigger, easier to read from the counter ---------- */
body.tw-cook .tw-ingredient { font-size: 20px; padding-top: 12px; padding-bottom: 12px; }
body.tw-cook .tw-step .tw-body { font-size: 20px; line-height: 1.55; }

/* ---------- backstory jump ---------- */
html { scroll-behavior: smooth; }
.tw-story { scroll-margin-top: 90px; }
.tw-print-url { display: none; }

/* ---------- print: just the card ---------- */
@media print {
	body.tw-is-recipe { background: #fff !important; }
	body.tw-is-recipe #wpadminbar,
	body.tw-is-recipe .site-header,
	body.tw-is-recipe .site-footer,
	body.tw-is-recipe .tw-no-print,
	body.tw-is-recipe .tw-story,
	body.tw-is-recipe .tw-recipe-img,
	body.tw-is-recipe .tw-photo { display: none !important; }
	body.tw-is-recipe .tw-recipe-hero,
	body.tw-is-recipe .tw-recipe-card,
	body.tw-is-recipe .tw-ing-card,
	body.tw-is-recipe .tw-step,
	body.tw-is-recipe .tw-lined {
		box-shadow: none !important; background: #fff !important; background-image: none !important;
	}
	body.tw-is-recipe .tw-recipe-wrap { padding: 0 !important; gap: 12px !important; }
	body.tw-is-recipe .tw-recipe-card { padding: 0 !important; }
	body.tw-is-recipe .tw-recipe-title { font-size: 30pt !important; }
	body.tw-is-recipe .tw-recipe-body { flex-wrap: nowrap !important; gap: 20px !important; }
	body.tw-is-recipe .tw-ing-card { flex: 0 0 38% !important; padding: 0 !important; }
	body.tw-is-recipe .tw-step { padding: 4px 0 !important; break-inside: avoid; }
	body.tw-is-recipe .tw-step-num { background: #fff !important; color: #000 !important; border: 1.5px solid #000; }
	body.tw-is-recipe .tw-done { opacity: 1; text-decoration: none !important; }
	body.tw-is-recipe .tw-print-url { display: block; margin-top: 16px; font-size: 9pt; color: #555; }
}

/* ---------- fridge search ---------- */
.twf { display: flex; flex-direction: column; gap: 12px; font-family: var(--tw-body, 'Nunito Sans'), sans-serif; color: var(--tw-ink, #2E2A28); }
.twf-title { margin: 0; font-family: var(--tw-display, 'Young Serif'), serif; font-weight: 400; font-size: 34px; line-height: 1.15; }
.twf-sub { margin: 0; font-size: 17px; color: var(--tw-muted, #5A544A); }
.twf-field {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	padding: 10px 12px; background: var(--tw-card, #FFFDF7);
	border: 2px solid var(--tw-ink, #2E2A28); border-radius: 12px;
}
.twf-field:focus-within { box-shadow: 0 0 0 3px var(--tw-mint, #BFE6D3); }
.twf .twf-chips { display: contents; }
.twf .twf-chip {
	border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer;
	background: var(--tw-mint, #BFE6D3); color: var(--tw-ink, #2E2A28);
	font: 700 14px/1 var(--tw-body, 'Nunito Sans'), sans-serif;
}
.twf .twf-chip:hover { background: var(--tw-mint-dark, #6FB596); color: #fff; }
.twf-input {
	flex: 1 1 200px; min-width: 160px; border: 0 !important; outline: 0; background: transparent !important;
	font: 400 17px/1.4 var(--tw-body, 'Nunito Sans'), sans-serif; color: var(--tw-ink, #2E2A28); padding: 6px 2px !important;
	box-shadow: none !important;
}
.twf-opt { font-size: 14px; color: var(--tw-muted, #5A544A); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.twf-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.twf-results:empty { display: none; }
.twf-card {
	display: flex; flex-direction: column; text-decoration: none; color: inherit;
	background: var(--tw-card, #FFFDF7); border-radius: 4px; overflow: hidden;
	box-shadow: 0 1px 0 #C9D9CF, 0 10px 20px rgba(46,42,40,.10);
	transition: transform .15s;
}
.twf-card:hover { transform: translateY(-2px); color: inherit; }
.twf-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.twf-body {
	display: flex; flex-direction: column; gap: 6px; padding: 12px 16px 16px;
	background-image: repeating-linear-gradient(var(--tw-card, #FFFDF7) 0, var(--tw-card, #FFFDF7) 31px, var(--tw-card-line, #CFE0EA) 31px, var(--tw-card-line, #CFE0EA) 32px);
}
.twf-head { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--tw-card-red, #D98C7A); }
.twf-cat { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--tw-cocoa-dark, #5E4436); }
.twf-name { margin: 0; font-family: var(--tw-hand, 'Caveat'), cursive; font-weight: 700; font-size: 28px; line-height: 1.15; }
.twf-have { margin: 0; font-weight: 800; font-size: 15px; color: var(--tw-green-text, #3F6B57); }
.twf-all { color: var(--tw-cocoa-dark, #5E4436); }
.twf-need { margin: 0; font-size: 14px; color: var(--tw-muted, #5A544A); }
.twf-empty { margin: 0; color: var(--tw-muted, #5A544A); }
