/*
Theme Name: Izabella Theme 2026
Author: Cristine Eross
Author URI: https://cristine-eross.com/
Description: Oat Queen – Izabella receptblogja. Classic Editor + ACF Pro alapú, block editor és kommentek nélkül.
Version: 2.1
Tested up to: 6.8
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ============================================================
   TOKENS
   Elrendezés: fotós hero → kiemelt receptsáv kerek kategóriákkal →
   rólam (szöveg bal, két egymásra csúsztatott fotó jobb) →
   Instagram rács → zöld hírlevél kártya → footer.
   ============================================================ */
:root {
	/* Eredeti téma színek (a mobil admin is ezeket használja) */
	--color-green: #6ba573;
	--color-cream: #f2cdac;
	--color-grey: #9d9d9d;
	--color-red: #b56b6b;
	--color-green-dark: #4f7d56;
	--color-green-light: #8fbe96;
	--color-cream-dark: #e2b892;
	--color-grey-dark: #6f6f6f;
	--color-grey-light: #c4c4c4;
	--color-red-dark: #944f4f;
	--color-red-light: #cf8b8b;
	--color-background: #faf7f2;
	--color-text: #3d3d3d;

	/* Oat Queen design */
	--bg: #fafaf5;
	--surface: #ffffff;
	--tint: #eef2ea;
	--blush: #f7ece2;
	--ink: #1e2920;
	--muted: #5c675e;
	--line: #e1e5db;
	--green: #4d8a5a;
	--green-deep: #2b4d33;
	--red: #b93e37;
	--peach: #f0cdac;
	--band-fg: #f6f3ea;
	--band-muted: #c9d8c8;
	--shadow: 0 24px 60px -28px rgba(30, 50, 35, .35);

	--f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--f-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
	--f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

	--gutter: clamp(16px, 4vw, 48px);
	--radius: 14px;
	--header-h: 76px;
	--admin-bar: 0px;
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }
@media (max-width: 600px) { .admin-bar { --admin-bar: 0px; } }

/* ============================================================
   BASE
   ============================================================ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
[hidden] { display: none !important; }

html {
	overflow-x: clip;
	scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { text-wrap: balance; }

.hidden { display: none; }

svg.icon { width: 1.2rem; height: auto; }
.oq-ico { width: 18px; height: 18px; flex: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 100000;
	width: auto; height: auto; clip: auto; clip-path: none;
	background: var(--surface); color: var(--ink); padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow);
}

.wrap {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.eyebrow {
	font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}

/* Gombok */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: 600 13.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
	padding: 17px 26px; border-radius: 999px; cursor: pointer;
	border: 1.5px solid transparent;
	transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn .oq-ico { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-solid { background: var(--green-deep); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Régi gombok (más oldalsablonok használhatják) */
.accent-btn {
	background-color: var(--color-green);
	color: var(--color-background);
	padding: 0.5rem 2rem;
	border-radius: 2px;
	transition: background-color 0.2s ease;
	cursor: pointer;
}
.accent-btn:hover { background-color: var(--color-cream); }
.btn-primary {
	display: inline-block; background: var(--green); color: #fff; padding: 13px 44px;
	font-size: 0.9rem; font-weight: 600; border: none; border-radius: 3px; cursor: pointer; transition: background 0.2s ease;
}
.btn-primary:hover, .btn-primary:focus { background: var(--green-deep); color: #fff; }
.btn-secondary {
	display: inline-block; background: #fff; color: var(--green); padding: 13px 44px;
	font-size: 0.9rem; font-weight: 600; border: 1.5px solid #ccc; border-radius: 3px; cursor: pointer; transition: all 0.2s ease;
}
.btn-secondary:hover, .btn-secondary:focus { background: #f5f5f5; }

/* ============================================================
   HEADER
   ============================================================ */
body::before {
	content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
	z-index: 10000; background: var(--bg);
}

.site-header {
	position: sticky;
	top: calc(var(--admin-bar) + env(safe-area-inset-top, 0px));
	z-index: 9999;
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.menu-header {
	display: flex; align-items: center; gap: 32px;
	height: var(--header-h);
	position: relative;
}

.site-branding { margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .custom-logo { height: 48px; width: auto; object-fit: contain; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.brand-word span { font-family: var(--f-hand); font-size: 17px; color: var(--green); margin-top: 2px; }

.primary-menu { display: flex; align-items: center; gap: 34px; list-style: none; }
.primary-menu a {
	display: block; position: relative; padding-block: 6px;
	font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.primary-menu > li:not(.menu-button) > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--red);
	transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.primary-menu > li:not(.menu-button) > a:hover::after,
.primary-menu > li:not(.menu-button) > a.active::after,
.primary-menu > .current-menu-item:not(.menu-button) > a:not([href*="#"])::after { transform: scaleX(1); }

.primary-menu .menu-button > a {
	background: var(--red); color: #fff; border-radius: 999px;
	padding: 13px 22px; font-size: 12.5px; font-weight: 600;
	transition: transform .25s ease;
}
.primary-menu .menu-button > a:hover { transform: translateY(-2px); }

.menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 999px;
	border: 1.5px solid var(--line); background: transparent; cursor: pointer;
	flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
	width: 18px; height: 1.5px; background: var(--ink); border-radius: 999px; transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
	.menu-toggle { display: inline-flex; }
	.site-header-menu {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 22px max(var(--gutter), env(safe-area-inset-left, 0px));
		opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
		transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
	}
	.site-header-menu.active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu > li:not(.menu-button) > a { padding: 16px 0; border-bottom: 1px solid var(--line); }
	.primary-menu > li > a::after { display: none; }
	.primary-menu .menu-button { margin-top: 18px; }
	.primary-menu .menu-button > a { text-align: center; padding: 16px 22px; }
}

/* ============================================================
   PAGE INNERS (más sablonok – változatlan)
   ============================================================ */
.site-content {
	background-color: var(--color-background);
	min-height: 500px;
}
.home .site-content { background-color: var(--bg); }

.page-title {
	width: 100%;
	padding-block: 2rem;
	background-color: var(--color-green);
	color: var(--color-background);
	padding-left: 2rem;
	margin-top: 1rem;
}
.page-title h1 { font-weight: 200; }

.recipes-container {
	width: 100%;
	background-color: var(--color-background);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 1rem;
}
.recipe-card {
	width: 100%;
	background-color: #fff;
	padding: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
.recipe-card img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.recipe-card-text { display: flex; flex-direction: column; gap: 1rem; }
.recipe-card h2 { color: var(--color-green-dark); }
.recipe-card .accent-btn { width: fit-content; }

/*
-----------------------------------
RECIPE APP
-----------------------------------
*/

.recipe-app {
	color: var(--color-text);
	background-color: var(--color-cream);
	padding: 1rem;
	min-height: 100dvh;
	margin-bottom: 100px;
}

.recipe-app header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding-bottom: 1.5rem;
	gap: 2rem;
}

.recipe-app header img {
	width: 50px;
	height: 50px;
	object-fit: cover;
}

/*
-----------------------------------
CARDS
-----------------------------------
*/

.recipe-app .recipe-card {
	background-color: var(--color-background);
	border: 1px solid rgba(157, 157, 157, 0.15);
	border-radius: 14px;

	padding: 1.25rem;
	margin-bottom: 1rem;

	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.recipe-app .recipe-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.recipe-app .recipe-card h3 {
	margin: 0 0 0.5rem 0;

	color: var(--color-green-dark);

	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.recipe-app .recipe-card p {
	margin: 0;

	color: var(--color-text);

	font-size: 0.95rem;
	line-height: 1.6;
}

/*
-----------------------------------
ACTION BUTTONS
-----------------------------------
*/

.recipe-app .recipe-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.recipe-app .recipe-actions button,
.recipe-app .recipe-actions .edit-recipe,
.recipe-app .recipe-actions .delete-recipe {
	flex: 1;

	height: 44px;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0 1rem;

	border: none !important;
	border-radius: 10px !important;

	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.15s ease,
		box-shadow 0.2s ease;
}

.recipe-app .recipe-actions button:active {
	transform: scale(0.97);
}

.recipe-app .recipe-actions .edit-recipe {
	background-color: var(--color-green) !important;
	color: var(--color-background) !important;
}

.recipe-app .recipe-actions .edit-recipe:hover {
	background-color: var(--color-green-dark) !important;
}

.recipe-app .recipe-actions .delete-recipe {
	background-color: var(--color-red) !important;
	color: var(--color-background) !important;
}

.recipe-app .recipe-actions .delete-recipe:hover {
	background-color: var(--color-red-dark) !important;
}

/*
-----------------------------------
FORM
-----------------------------------
*/

.recipe-app #recipe-form {
	width: 100%;
}

.recipe-app #recipe-form label {
	display: block;

	margin-bottom: 0.5rem;

	color: var(--color-grey-dark);

	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.recipe-app #recipe-form input,
.recipe-app #recipe-form textarea {
	width: 100%;

	padding: 0.875rem 1rem;
	margin-bottom: 1.25rem;

	background-color: var(--color-background);

	border: 1px solid var(--color-grey-light);
	border-radius: 10px;

	color: var(--color-text);
	font-size: 1rem;
	font-family: inherit;

	box-sizing: border-box;

	appearance: none;
	-webkit-appearance: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.recipe-app #recipe-form input::placeholder,
.recipe-app #recipe-form textarea::placeholder {
	color: var(--color-grey);
}

.recipe-app #recipe-form input:focus,
.recipe-app #recipe-form textarea:focus {
	outline: none;
	border-color: var(--color-green);
	box-shadow: 0 0 0 3px rgba(107, 165, 115, 0.15);
}

.recipe-app #recipe-form textarea {
	min-height: 120px;
	resize: vertical;
	line-height: 1.5;
}

/*
-----------------------------------
SAVE BUTTON
-----------------------------------
*/

.recipe-app #recipe-form button,
.recipe-app #recipe-submit-button {
	width: 100%;
	height: 50px;

	background-color: var(--color-green) !important;
	color: var(--color-background) !important;

	border: none !important;
	border-radius: 12px !important;

	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;

	cursor: pointer;

	appearance: none;
	-webkit-appearance: none;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.15s ease;
}

.recipe-app #recipe-form button:hover,
.recipe-app #recipe-submit-button:hover {
	background-color: var(--color-cream) !important;
	color: var(--color-text) !important;
}

.recipe-app #recipe-form button:active,
.recipe-app #recipe-submit-button:active {
	transform: scale(0.98);
}

/*
-----------------------------------
MESSAGE
-----------------------------------
*/

.recipe-app #recipe-message {
	margin-top: 1rem;
}

.recipe-app #recipe-message p {
	padding: 0.875rem 1rem;

	background-color: rgba(143, 190, 150, 0.18);
	border-left: 3px solid var(--color-green);
	border-radius: 10px;

	color: var(--color-green-dark);
	font-size: 0.9rem;
	line-height: 1.5;
}

/*
-----------------------------------
BOTTOM NAV
-----------------------------------
*/

.recipe-app .bottom-nav button {
	width: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;

	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;

	color: var(--color-grey-dark) !important;

	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;

	cursor: pointer;
	position: relative;

	appearance: none;
	-webkit-appearance: none;

	transition:
		color 0.2s ease,
		transform 0.15s ease;
}

.recipe-app .bottom-nav {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	position: fixed;
	bottom: 0;
	left: 0;
	background-color: var(--color-background);
	padding-block: 2rem;
}

.recipe-app .bottom-nav button:hover {
	color: var(--color-green) !important;
}

.recipe-app .bottom-nav button.active {
	color: var(--color-green) !important;
}

.recipe-app .bottom-nav button.active::before {
	content: '';

	position: absolute;
	top: calc(100% + 0.5rem);
	left: 20%;
	right: 20%;

	height: 3px;

	background-color: var(--color-green);
	border-radius: 0 0 8px 8px;

	transition: all 0.2s ease;
}

.recipe-app .bottom-nav button:active {
	transform: scale(0.96);
}

.app-view {
    display: none;
}

.app-view.active {
    display: block;
}

.recipe-image-upload {
    margin-bottom: 20px;
}

#recipe-image-preview {
    margin-bottom: 14px;
}

#recipe-image-preview img,
.recipe-thumb {

    width: 100%;

    border-radius: 18px;

    display: block;

    object-fit: cover;
}

.recipe-thumb {
    width: 100%;
	aspect-ratio: 4 / 3;
	padding-top: 1rem;
}

#recipe_featured_image {
    width: 100%;
	height: 100%;
	object-fit: cover;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--color-grey-light);

}




/* ============================================================
   FŐOLDAL (page-home.php)
   ============================================================ */
.home-page h1, .home-page h2, .home-page h3 {
	font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em;
}
.section-head { display: grid; gap: 10px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; }
.home-page h2 em { font-style: italic; color: var(--green); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(18, 28, 20, .78) 0%, rgba(18, 28, 20, .5) 38%, rgba(18, 28, 20, .08) 68%, rgba(18, 28, 20, 0) 100%),
		linear-gradient(0deg, rgba(18, 28, 20, .35), rgba(18, 28, 20, 0) 40%);
}
.hero__inner {
	min-height: clamp(560px, 82vh, 780px);
	display: flex; flex-direction: column; justify-content: center; gap: 26px;
	padding-block: 90px 110px;
}
.hero__kicker {
	display: flex; align-items: center; gap: 14px;
	font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
}
.hero__kicker::before { content: ""; width: 38px; height: 1.5px; background: var(--peach); }
.home-page .hero h1 {
	font-size: clamp(68px, 12vw, 168px); line-height: .88; font-weight: 300;
	font-variation-settings: "opsz" 144; letter-spacing: -.035em;
	position: relative; width: fit-content; margin-top: .22em;
}
.hero h1 .q { font-style: italic; font-weight: 400; position: relative; display: inline-block; }
.crown { position: absolute; left: -.02em; top: -.3em; width: .36em; height: auto; color: var(--peach); transform: rotate(-14deg); }
.hero__sub { display: grid; gap: 12px; max-width: 30ch; }
.hero__sub .lead { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 300; }
.hero__sub p:not(.lead) { font-size: 17px; opacity: .9; max-width: 40ch; }
.squiggle { position: relative; white-space: nowrap; }
.squiggle svg { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .5em; color: var(--peach); overflow: visible; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.badge {
	position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 44px;
	width: clamp(120px, 12vw, 158px); aspect-ratio: 1; max-width: 100%;
	border-radius: 50%; background: var(--peach); color: var(--green-deep);
	display: grid; place-items: center; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
}
.badge > svg { grid-area: 1 / 1; }
.badge__ring { width: 100%; height: 100%; font-family: var(--f-body); animation: oq-spin 26s linear infinite; transform-origin: 50% 50%; }
.badge__mark { width: 34%; height: 34%; }
@keyframes oq-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge__ring { animation: none; } }

.hero__note {
	position: absolute; bottom: 70px;
	right: calc(max(var(--gutter), env(safe-area-inset-right, 0px)) + clamp(130px, 13vw, 170px));
	display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 6px;
	font-family: var(--f-hand); font-size: 26px; transform: rotate(-4deg);
	text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.hero__note svg { width: 46px; height: 30px; transform: rotate(205deg) translate(-4px, 18px); }
@media (max-width: 860px) { .hero__note { display: none; } }
@media (max-width: 640px) {
	.hero::before { background: linear-gradient(0deg, rgba(18,28,20,.85) 0%, rgba(18,28,20,.55) 55%, rgba(18,28,20,.25) 100%); }
	.hero__inner { justify-content: flex-end; padding-block: 120px 150px; min-height: 640px; }
	.badge { bottom: 26px; width: 104px; }
	.hero__actions .btn { flex: 1 1 140px; }
}

/* ---------- Receptek ---------- */
.recipes { padding-block: clamp(80px, 10vw, 130px) clamp(70px, 8vw, 110px); }
.recipes__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 40px; }
.recipes__top .section-head { flex: 1 1 380px; min-width: 0; }
.recipes__top .section-head p:not(.eyebrow) { color: var(--muted); max-width: 46ch; margin-top: 6px; }

.search { flex: 0 1 440px; min-width: 0; display: flex; align-items: center; border-bottom: 1.5px solid var(--ink); }
.search > .oq-ico { width: 20px; height: 20px; color: var(--muted); }
.search input[type="search"] {
	flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
	font: 400 19px/1.3 var(--f-display); padding: 14px 12px; -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--muted); font-style: italic; opacity: .8; }
.search input:focus { outline: none; }
.search:focus-within { border-bottom-color: var(--red); }
.search button {
	border: 0; background: none; cursor: pointer; color: var(--ink);
	font: 600 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; padding: 12px 4px 12px 10px;
}
.search button:hover { color: var(--red); }

.cats {
	list-style: none; margin-top: 56px; padding: 4px 2px 10px;
	display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 3.4vw, 48px);
}
.cat {
	background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
	display: grid; justify-items: center; gap: 12px;
	font: 500 13.5px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
}
.cat__ph {
	width: clamp(76px, 9vw, 108px); aspect-ratio: 1; max-width: 100%;
	border-radius: 50%; overflow: hidden; position: relative;
	outline: 1.5px solid transparent; outline-offset: 5px; transition: outline-color .25s ease;
}
.cat__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat__ph--all { background: var(--tint); display: grid; place-items: center; color: var(--green); }
.cat__ph--all .oq-ico { width: 44%; height: 44%; }
.cat:hover .cat__ph img { transform: scale(1.08); }
.cat[aria-pressed="true"] .cat__ph { outline-color: var(--red); }
.cat[aria-pressed="true"] .cat__lbl { color: var(--red); }

.strip-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 56px 0 22px; }
.strip-count { color: var(--muted); font-size: 15px; }
.strip-count b { color: var(--ink); font-weight: 600; }
.arrows { display: flex; gap: 10px; }
.arrow {
	width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
	border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
	display: grid; place-items: center; transition: border-color .2s, opacity .2s;
}
.arrow:hover:not(:disabled) { border-color: var(--ink); }
.arrow:disabled { opacity: .35; cursor: default; }

.strip {
	list-style: none; padding-bottom: 8px;
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 28px) / 4); gap: 28px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
	transition: opacity .2s ease;
}
.strip::-webkit-scrollbar { display: none; }
.strip > li { scroll-snap-align: start; min-width: 0; }
.recipes.is-loading .strip { opacity: .45; }
@media (max-width: 1080px) { .strip { grid-auto-columns: calc((100% - 2 * 24px) / 2.6); gap: 24px; } }
@media (max-width: 640px) { .strip { grid-auto-columns: 74%; gap: 16px; } }

.oq-card { display: grid; gap: 18px; color: inherit; }
.oq-card__ph {
	aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; border-radius: var(--radius);
	background: var(--tint); position: relative;
}
.oq-card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.oq-card:hover .oq-card__ph img { transform: scale(1.05); }
.oq-card__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); }
.oq-card__empty .oq-ico { width: 30%; height: 30%; opacity: .5; }
.oq-card__new {
	position: absolute; top: 14px; left: 14px; background: var(--surface); color: var(--ink);
	font-family: var(--f-hand); font-size: 20px; line-height: 1; padding: 6px 12px 7px; border-radius: 999px; transform: rotate(-5deg);
}
.oq-card__meta { display: grid; gap: 7px; text-align: center; padding-inline: 6px; }
.oq-card__meta span { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.home-page .oq-card h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.2; transition: color .2s; }
.oq-card:hover h3 { color: var(--green); }

.empty {
	text-align: center; padding: 64px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius);
	display: grid; gap: 12px; justify-items: center;
}
.home-page .empty h3 { font-size: 28px; }
.empty p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }
.chip {
	border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px;
	padding: 8px 16px; font: 500 14px/1 var(--f-body); cursor: pointer;
}
.chip:hover { border-color: var(--green); color: var(--green); }

.all-link { display: flex; justify-content: center; margin-top: 54px; }
.text-link {
	display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px;
	font: 600 13.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
	border-bottom: 1.5px solid var(--red);
}
.text-link .oq-ico { transition: transform .25s; }
.text-link:hover .oq-ico { transform: translateX(4px); }

/* ---------- Rólam ---------- */
.about { background: var(--blush); padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text { display: grid; gap: 22px; min-width: 0; }
.about__text h2 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; }
.about__text .lead { font-family: var(--f-display); font-size: clamp(21px, 2vw, 25px); line-height: 1.45; font-weight: 300; max-width: 34ch; }
.about__text .lead em { font-style: normal; font-weight: 500; color: var(--green); }
.about__body { display: grid; gap: 1em; max-width: 62ch; color: color-mix(in srgb, var(--ink) 82%, var(--bg)); }
.about__body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.facts { list-style: none; margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; max-width: 560px; }
.facts li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; }
.facts svg { width: 34px; height: 34px; flex: none; padding: 7px; border-radius: 50%; background: var(--surface); color: var(--green); }
.sign { display: grid; margin-top: 10px; }
.sign span { color: var(--muted); font-size: 15px; }
.sign b { font-family: var(--f-hand); font-weight: 600; font-size: 46px; line-height: 1; color: var(--red); transform: rotate(-3deg); transform-origin: left; width: fit-content; }

.about__photos { position: relative; min-width: 0; padding-bottom: max(30%, 150px); }
.about__main { width: 80%; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about__main img, .about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__main img { object-position: 50% 30%; }
.about__small {
	position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; max-width: 100%;
	border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
	border: 8px solid var(--blush); transform: rotate(3deg);
}
.about__note {
	position: absolute; left: 4%; bottom: 3%; width: 40%;
	display: grid; gap: 4px;
	font-family: var(--f-hand); font-size: clamp(21px, 2vw, 26px); line-height: 1.1;
	color: var(--green-deep); transform: rotate(-6deg);
}
.about__note svg { width: 70px; height: 36px; justify-self: end; color: var(--red); }
.leaf-deco { position: absolute; top: -26px; right: 6%; width: 74px; height: 74px; color: var(--green); transform: rotate(18deg); }
@media (max-width: 900px) {
	.about__grid { grid-template-columns: minmax(0, 1fr); }
	.about__photos { max-width: 560px; width: 100%; justify-self: center; }
	.facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Instagram ---------- */
.insta { padding-block: clamp(80px, 10vw, 130px); }
.insta__head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.avatar {
	width: 104px; height: 104px; border-radius: 50%; padding: 5px; flex: none;
	background: conic-gradient(from 200deg, var(--peach), var(--red), var(--green), var(--peach));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg); }
.insta__txt { flex: 1 1 360px; min-width: 0; display: grid; gap: 6px; }
.insta__txt h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.insta__txt p:last-child { color: var(--muted); max-width: 70ch; }
.insta__feed { margin-top: 44px; }
.insta__grid { list-style: none; margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.insta__grid a { display: block; position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; border-radius: 10px; }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insta__ov {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: rgba(30, 45, 33, .55); color: #fff; opacity: 0; transition: opacity .3s ease;
}
.insta__ov .oq-ico { width: 28px; height: 28px; }
.insta__grid a:hover img { transform: scale(1.06); }
.insta__grid a:hover .insta__ov, .insta__grid a:focus-visible .insta__ov { opacity: 1; }
@media (max-width: 900px) { .insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.insta__foot { text-align: center; margin-top: 32px; color: var(--muted); }
.insta__foot a { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hírlevél ---------- */
.news { padding-bottom: clamp(80px, 10vw, 130px); }
.news__card {
	position: relative; overflow: hidden;
	background: var(--green-deep); color: var(--band-fg); border-radius: 28px;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
	padding: clamp(36px, 6vw, 80px);
}
.news__card .eyebrow { color: var(--peach); }
.news__card h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; margin-top: 12px; }
.home-page .news__card h2 em { color: var(--peach); }
.news__copy > p:not(.eyebrow):not(.hand-note) { color: var(--band-muted); margin-top: 18px; max-width: 46ch; }
.hand-note { font-family: var(--f-hand); font-size: 26px; color: var(--peach); margin-top: 18px; transform: rotate(-2deg); width: fit-content; }
.news__deco { position: absolute; right: -60px; top: -70px; width: 260px; height: 260px; color: var(--band-fg); opacity: .06; pointer-events: none; }
.news__form { position: relative; display: grid; gap: 16px; }
.news__notice { padding: 14px 18px; border-radius: 12px; font-size: 15px; background: rgba(240, 205, 172, .16); border: 1px solid rgba(240, 205, 172, .4); }
.news__notice--error { background: rgba(241, 154, 143, .14); border-color: rgba(241, 154, 143, .5); }
.form { display: grid; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--band-muted); }
.field input {
	width: 100%; border-radius: 12px; padding: 16px 18px; font: 400 17px/1.3 var(--f-body);
	border: 1.5px solid rgba(246, 243, 234, .3); background: rgba(246, 243, 234, .07); color: var(--band-fg);
}
.field input::placeholder { color: rgba(246, 243, 234, .45); }
.field input:focus { outline: none; border-color: var(--peach); }
.field input[aria-invalid="true"] { border-color: #f19a8f; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--band-muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--peach); flex: none; }
.consent a { color: var(--band-fg); text-decoration: underline; }
.form .btn { margin-top: 6px; width: 100%; }
.form-error { color: #f6b0a6; font-size: 14px; min-height: 1.3em; }
.thanks { display: grid; gap: 10px; }
.home-page .thanks h3 { font-size: 36px; line-height: 1.1; }
.thanks p { color: var(--band-muted); }
.thanks svg { width: 56px; height: 56px; color: var(--peach); }
/* Ha shortcode-os (pl. MailPoet) űrlap kerül be */
.news__form input[type="email"], .news__form input[type="text"] { max-width: 100%; }
@media (max-width: 860px) { .news__card { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--tint); padding-block: 72px 32px; border-top: 1px solid var(--line); color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { width: 74px; height: auto; }
.foot-brand p { color: var(--muted); max-width: 34ch; font-size: 15.5px; }
.social { display: flex; gap: 10px; margin-top: 4px; }
.social a {
	width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
	display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.foot-col h4 { font: 600 12.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 6px 0 18px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { font-size: 15.5px; }
.foot-col a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.foot-col .addr { overflow-wrap: anywhere; }
.foot-col small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.foot-bottom {
	margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--muted); font-size: 14px;
}
.foot-bottom .hand { font-family: var(--f-hand); font-size: 21px; color: var(--green); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

.to-top {
	position: fixed; z-index: 9000;
	right: max(20px, calc(env(safe-area-inset-right, 0px) + 16px));
	bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
	width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--red); color: #fff; display: grid; place-items: center;
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
	opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .oq-ico { width: 20px; height: 20px; }


/* ============================================================
   RECEPTEK OLDAL (page-recipes.php)
   A tipográfia, kereső, kategória körök, kártyák és az üres állapot
   a főoldali stílusokat használja (.home-page wrapper).
   ============================================================ */
.rl { padding-block: clamp(56px, 8vw, 104px) clamp(80px, 10vw, 130px); }
.rl__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 40px; }
.rl__head .section-head { flex: 1 1 420px; min-width: 0; }
.rl__head h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -.025em; }
.rl__head h1 em { font-style: italic; color: var(--green); }
.rl__head .section-head p:not(.eyebrow) { color: var(--muted); max-width: 52ch; margin-top: 8px; }

.cat[aria-current="true"] .cat__ph { outline-color: var(--red); }
.cat[aria-current="true"] .cat__lbl { color: var(--red); }

.rl__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
	margin: 48px 0 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.rl__reset {
	font: 600 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
	color: var(--red); padding-bottom: 4px; border-bottom: 1.5px solid currentColor;
}
.rl__reset:hover { color: var(--ink); }

.recipe-grid {
	list-style: none;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 28px;
	transition: opacity .2s ease;
}
.recipe-grid > li { min-width: 0; }
.rl.is-loading .recipe-grid { opacity: .45; }
@media (max-width: 1080px) { .recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; } }
@media (max-width: 760px)  { .recipes-page .oq-card h3 { font-size: 19px; } .recipes-page .oq-card__new { font-size: 17px; top: 10px; left: 10px; } }

.rl__more { display: flex; justify-content: center; margin-top: 64px; }
.rl__more .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }



/* ============================================================
   RECEPT OLDAL (single-recipe.php)
   ============================================================ */
.recipe-page { --rp-aside: 380px; overflow-x: clip; }

/* ---------- Fej ---------- */
.rp-hero { padding-block: clamp(36px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.rp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: center; }

.rp-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rp-crumbs a { color: var(--red); }
.rp-crumbs a:hover { color: var(--ink); }

.recipe-page .rp-title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.025em; margin: 18px 0 0; text-wrap: balance; }
.rp-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); max-width: 54ch; margin-top: 22px; }

.rp-facts { display: flex; flex-wrap: wrap; margin: 34px 0 0; border-block: 1px solid var(--line); }
.rp-facts > div { padding: 18px 26px 18px 0; margin-right: 26px; border-right: 1px solid var(--line); }
.rp-facts > div:last-child { border-right: 0; margin-right: 0; }
.rp-facts dt { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rp-facts dt .oq-ico { width: 16px; height: 16px; color: var(--green); }
.rp-facts dd { margin: 6px 0 0; font-family: var(--f-display); font-size: 21px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.rp-level { display: inline-flex; gap: 3px; }
.rp-facts dd small { font-family: var(--f-body); font-size: 13px; color: var(--muted); }
.rp-level i { width: 7px; height: 16px; border-radius: 4px; background: var(--line); }
.rp-level i.on { background: var(--green); }

.rp-diets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rp-diets li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--tint); color: var(--green-deep); font-size: 14px; font-weight: 500; }
.rp-diets .oq-ico { width: 13px; height: 13px; color: var(--green); }

.rp-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.rp-iconbtn {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	background: transparent; border: 1.5px solid var(--line); color: var(--ink); transition: border-color .2s, color .2s, transform .2s;
}
.rp-iconbtn:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.rp-toast { position: absolute; left: 0; top: calc(100% + 10px); font-family: var(--f-hand); font-size: 22px; color: var(--green); opacity: 0; transition: opacity .3s; pointer-events: none; }
.rp-toast.is-on { opacity: 1; }

.rp-hero__media { position: relative; margin: 0; }
.rp-hero__media::before {
	content: ""; position: absolute; z-index: -1; inset: 8% -6% -5% 12%;
	background: var(--peach); opacity: .55; border-radius: 46% 54% 40% 60% / 55% 42% 58% 45%;
}
.rp-hero__ph { aspect-ratio: 4 / 5; border-radius: calc(var(--radius) * 1.6); overflow: hidden; background: var(--tint); box-shadow: var(--shadow); }
.rp-hero__ph img { width: 100%; height: 100%; object-fit: cover; }
.rp-hero__empty { display: grid; place-items: center; height: 100%; color: var(--green); opacity: .35; }
.rp-hero__empty .oq-ico { width: 30%; height: auto; }
.rp-hero__new {
	position: absolute; top: 22px; left: -18px; padding: 8px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow);
	font-family: var(--f-hand); font-size: 24px; color: var(--red); transform: rotate(-6deg);
}

/* ---------- Történet ---------- */
.rp-story { max-width: 68ch; margin: 0 auto clamp(56px, 7vw, 96px); font-size: 18px; line-height: 1.78; color: var(--ink); }
.rp-story > * + * { margin-top: 1.1em; }
.rp-story > p:first-child::first-letter { float: left; font-family: var(--f-display); font-size: 4.1em; line-height: .82; padding: .08em .1em 0 0; color: var(--green); }
.rp-story h2, .rp-story h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.2; margin-top: 1.6em; }
.rp-story h2 { font-size: 32px; } .rp-story h3 { font-size: 25px; }
.rp-story a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.rp-story img { border-radius: var(--radius); height: auto; }
.rp-story blockquote { font-family: var(--f-display); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--green-deep); padding-left: 24px; border-left: 3px solid var(--peach); }

/* ---------- Recept: hozzávalók + lépések ---------- */
.rp-main { background: var(--tint); padding-block: clamp(56px, 8vw, 110px); }
.rp-main__grid { display: grid; grid-template-columns: var(--rp-aside) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.rp-main__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.recipe-page .rp-main h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; }

.rp-ings {
	position: sticky; top: calc(var(--header-h) + var(--admin-bar, 0px) + 24px);
	max-height: calc(100vh - var(--header-h) - var(--admin-bar, 0px) - 48px); overflow: auto; overscroll-behavior: contain;
	background: var(--surface); border-radius: calc(var(--radius) * 1.4); padding: 34px 32px; box-shadow: var(--shadow);
}
.rp-ings__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.rp-serv { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tint); }
.rp-serv button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--green-deep); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.rp-serv button .oq-ico { width: 15px; height: 15px; }
.rp-serv button:hover:not(:disabled) { background: var(--green); color: #fff; }
.rp-serv button:disabled { opacity: .4; cursor: default; }
.rp-serv output { min-width: 70px; text-align: center; font-size: 14px; color: var(--muted); }
.rp-serv output b { font-family: var(--f-display); font-size: 19px; font-weight: 400; color: var(--ink); }

.rp-ings__group { font-family: var(--f-hand) !important; font-size: 26px !important; color: var(--red); margin: 22px 0 4px; }
.rp-ings__list { list-style: none; }
.rp-ings__list li + li { border-top: 1px dashed var(--line); }
.rp-ing { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; cursor: pointer; font-size: 16px; line-height: 1.45; }
.rp-ing input { position: absolute; opacity: 0; pointer-events: none; }
.rp-ing__box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--green); display: grid; place-items: center; color: #fff; transition: background .2s; }
.rp-ing__box .oq-ico { width: 13px; height: 13px; opacity: 0; transition: opacity .2s; }
.rp-ing__amt { font-weight: 600; color: var(--green-deep); }
.rp-ing__txt small { display: block; font-size: 13.5px; color: var(--muted); }
.rp-ing input:checked + .rp-ing__box { background: var(--green); }
.rp-ing input:checked + .rp-ing__box .oq-ico { opacity: 1; }
.rp-ing input:checked ~ .rp-ing__txt { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(77, 138, 90, .6); }
.rp-ing input:checked ~ .rp-ing__txt .rp-ing__amt { color: inherit; }
.rp-ing input:focus-visible + .rp-ing__box { outline: 2px solid var(--green); outline-offset: 3px; }

.rp-wake { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font: 500 14px/1.35 var(--f-body); color: var(--muted); cursor: pointer; }
.rp-wake > .oq-ico { color: var(--green); }
.rp-wake span { flex: 1; }
.rp-wake__sw { flex: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.rp-wake__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.rp-wake[aria-pressed="true"] .rp-wake__sw { background: var(--green); }
.rp-wake[aria-pressed="true"] .rp-wake__sw::after { transform: translateX(16px); }

.rp-steps__hint { font-family: var(--f-hand); font-size: 22px; color: var(--green); margin-top: 6px; }
.rp-steps ol { list-style: none; margin-top: 34px; display: grid; gap: 34px; }
.rp-step { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 22px; transition: opacity .3s; }
.rp-step__num {
	width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--green); background: var(--surface); color: var(--green-deep);
	display: grid; place-items: center; cursor: pointer; font: italic 400 24px/1 var(--f-display); transition: background .2s, color .2s;
}
.rp-step__num > * { grid-area: 1 / 1; }
.rp-step__num .oq-ico { width: 24px; height: 24px; opacity: 0; }
.rp-step__num:hover { background: var(--green); color: #fff; }
.rp-step__body { padding-top: 12px; font-size: 18px; line-height: 1.7; }
.rp-step__body p + p { margin-top: .8em; }
.rp-step__img { margin: 18px 0 0; max-width: 560px; border-radius: var(--radius); overflow: hidden; }
.rp-step__img img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; }
.rp-step.is-done { opacity: .5; }
.rp-step.is-done .rp-step__num { background: var(--green); color: #fff; }
.rp-step.is-done .rp-step__num span { opacity: 0; }
.rp-step.is-done .rp-step__num .oq-ico { opacity: 1; }

/* ---------- Extrák ---------- */
.rp-extra { display: grid; gap: clamp(48px, 6vw, 80px); padding-block: clamp(56px, 8vw, 110px) 0; max-width: 1000px; }
.rp-tips { position: relative; overflow: hidden; background: var(--blush); border-radius: calc(var(--radius) * 1.4); padding: clamp(32px, 5vw, 56px); }
.rp-tips__deco { position: absolute; right: -30px; bottom: -40px; width: 200px; height: 200px; color: var(--peach); opacity: .7; }
.rp-tips__hand { position: relative; font-family: var(--f-hand); font-size: 34px; color: var(--red); transform: rotate(-2deg); width: fit-content; }
.rp-tips__body { position: relative; margin-top: 12px; font-size: 17.5px; line-height: 1.75; max-width: 62ch; }
.rp-tips__body > * + * { margin-top: .9em; }
.rp-tips__body ul, .rp-tips__body ol { padding-left: 1.3em; }
.rp-video { border-radius: calc(var(--radius) * 1.4); overflow: hidden; background: var(--ink); }
.rp-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.rp-video blockquote.instagram-media { margin: 0 auto !important; }
.recipe-page .rp-gallery h2 { font-size: clamp(30px, 3.4vw, 42px); }
.rp-gallery h2 em { font-style: italic; color: var(--green); }
.rp-gallery ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.rp-gallery a { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.rp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rp-gallery a:hover img { transform: scale(1.05); }
.rp-tags { display: grid; justify-items: center; gap: 10px; text-align: center; }

/* ---------- Hasonló receptek ---------- */
.rp-related { padding-block: clamp(72px, 9vw, 120px); }
.rp-related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 44px; }

/* ---------- Hírlevél sáv ---------- */
.rp-cta { padding-bottom: clamp(72px, 9vw, 120px); }
.rp-cta__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
	background: var(--green-deep); color: var(--band-fg); border-radius: calc(var(--radius) * 1.6); padding: clamp(32px, 5vw, 56px);
}
.rp-cta__copy { flex: 1 1 380px; }
.rp-cta__hand { font-family: var(--f-hand); font-size: 26px; color: var(--peach); transform: rotate(-3deg); width: fit-content; }
.recipe-page .rp-cta h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; color: #fff; }
.rp-cta h2 em { font-style: italic; color: var(--peach); }

/* ---------- Reszponzív ---------- */
@media (max-width: 980px) {
	.rp-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.rp-hero__media { max-width: 520px; width: 100%; margin-inline: auto; order: -1; }
	.rp-hero__new { left: 12px; }
	.rp-main__grid { grid-template-columns: minmax(0, 1fr); }
	.rp-ings { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 600px) {
	.rp-facts { display: grid; grid-template-columns: 1fr 1fr; }
	.rp-facts > div { margin-right: 0; padding: 16px 12px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.rp-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
	.rp-facts > div:nth-child(even) { padding-left: 16px; }
	.rp-facts > div:nth-last-child(-n+2):nth-child(odd), .rp-facts > div:last-child { border-bottom: 0; }
	.rp-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
	.rp-ings { padding: 28px 22px; }
	.rp-step { grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
	.rp-step__num { width: 46px; height: 46px; font-size: 20px; }
	.rp-step__body { padding-top: 8px; font-size: 17px; }
	.rp-gallery ul { grid-template-columns: 1fr 1fr; gap: 10px; }
	.rp-actions .btn { flex: 1 1 auto; }
}

/* ---------- Nyomtatás ---------- */
@media print {
	.site-header, .site-footer, .to-top, .rp-crumbs, .rp-actions, .rp-diets, .rp-hero__new, .rp-hero__media::before,
	.rp-serv button, .rp-wake, .rp-steps__hint, .rp-tips__deco, .rp-video, .rp-gallery, .rp-tags, .rp-related, .rp-cta { display: none !important; }
	body, .rp-main { background: #fff !important; }
	.rp-hero, .rp-main { padding-block: 0 24px; }
	.rp-hero__grid { grid-template-columns: 1fr 180px; gap: 24px; }
	.rp-hero__media { order: 0; }
	.rp-hero__ph { box-shadow: none; border-radius: 12px; }
	.recipe-page .rp-title { font-size: 30px; }
	.rp-story { font-size: 12pt; margin-bottom: 24px; }
	.rp-main__grid { grid-template-columns: 220px 1fr; gap: 28px; }
	.rp-ings { position: static; max-height: none; box-shadow: none; padding: 0; overflow: visible; }
	.rp-ing__box { display: none; }
	.rp-serv { background: none; padding: 0; }
	.rp-ing input:checked ~ .rp-ing__txt { color: inherit; text-decoration: none; }
	.rp-step.is-done .rp-step__num { background: none; color: var(--green-deep); }
	.rp-step.is-done .rp-step__num span { opacity: 1; }
	.rp-step.is-done .rp-step__num .oq-ico { opacity: 0; }
	.rp-ing { padding: 4px 0; font-size: 11pt; }
	.rp-step { break-inside: avoid; grid-template-columns: 34px 1fr; gap: 10px; opacity: 1 !important; }
	.rp-step__num { width: 30px; height: 30px; font-size: 15px; }
	.rp-step__body { font-size: 11pt; padding-top: 4px; }
	.rp-step__img { display: none; }
	.rp-tips { background: none; border: 1px solid #ccc; padding: 16px; }
	.rp-extra { padding-top: 24px; }
}


/* ---------- "Elkészült!" popup (single-recipe.php) ---------- */
.rp-done {
	position: fixed; z-index: 9500; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px));
	width: min(calc(100% - 32px), 420px);
	display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
	padding: 20px 46px 22px 18px; border-radius: 22px; overflow: hidden;
	background: var(--surface); box-shadow: 0 24px 60px -18px rgba(30, 50, 35, .45), 0 0 0 1px var(--line);
	opacity: 0; transform: translate(-50%, 24px) rotate(-1.5deg) scale(.96);
	transition: opacity .35s ease, transform .45s cubic-bezier(.2, 1.4, .4, 1);
}
.rp-done.is-on { opacity: 1; transform: translate(-50%, 0) rotate(-1.5deg); }
.rp-done::before, .rp-done::after {
	content: ""; position: absolute; width: 14px; height: 14px; border-radius: 0 70% 0 70%;
	background: var(--green); opacity: 0; pointer-events: none;
}
.rp-done::before { left: 30px; top: 18px; }
.rp-done::after { right: 70px; top: 26px; background: var(--peach); width: 11px; height: 11px; }
.rp-done.is-on::before { animation: rpLeaf 1.4s .15s ease-out; }
.rp-done.is-on::after { animation: rpLeaf 1.6s .3s ease-out; }
@keyframes rpLeaf {
	0% { opacity: 0; transform: translateY(14px) rotate(0); }
	25% { opacity: .9; }
	100% { opacity: 0; transform: translateY(-34px) rotate(160deg); }
}

.rp-done__ico {
	width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
	background: var(--blush); color: var(--red);
}
.rp-done__ico .oq-ico { width: 24px; height: 24px; }
.rp-done.is-on .rp-done__ico { animation: rpPop .6s .1s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes rpPop { from { transform: scale(.4) rotate(-20deg); } to { transform: none; } }

.rp-done__body { min-width: 0; font-size: 15px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.rp-done__body a { color: var(--green); font-weight: 600; }
.rp-done__title { font-family: var(--f-hand); font-size: 28px; line-height: 1; color: var(--red); margin-bottom: 6px; }
.rp-done__tag {
	display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; max-width: 100%; margin-top: 10px; padding: 7px 14px; border-radius: 999px; text-align: left;
	background: var(--tint); color: var(--green-deep); font: 600 14px/1.2 var(--f-body); cursor: pointer; border: 0;
}
.rp-done__tag small { font-weight: 400; font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 380px) { .rp-done__tag small { display: none; } }

.rp-done__x {
	position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer;
}
.rp-done__x:hover { background: var(--tint); color: var(--ink); }
.rp-done__x .oq-ico { width: 18px; height: 18px; }

.rp-done__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--peach); transform-origin: left; }
.rp-done.is-on .rp-done__timer { animation: rpTimer var(--rp-done-ms, 5000ms) linear forwards; }
.rp-done.is-paused .rp-done__timer { animation-play-state: paused; }
@keyframes rpTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media print { .rp-done { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .rp-done, .rp-done * { animation: none !important; } }
