/* Étrend single (.ep-) — a 0909-es sablon szerinti kinézet minden nézeten: mobil egy oszlop, tablet és asztal rácsokkal. */

/* GP-konténer kinyitása (mint a body.single-recept): a krém háttér a teljes szélességet kapja, nincs fehér sáv. */
body.single-etrend .site.grid-container.container,
body.single-etrend .site.grid-container {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.single-etrend .site-content {
	display: block;
	max-width: 100%;
	width: 100%;
	padding: 0;
}

body.single-etrend {
	background: #FDF8F7;
}

/* Rejtett nappanelek — szigorúan az étrend oldalon belül, hogy a téma/más modulok [hidden]-je érintetlen maradjon. */
.ep-page [hidden] {
	display: none !important;
}

.ep-page {
	box-sizing: border-box;
	background: #FDF8F7;
	font-family: 'Nunito Sans', system-ui, sans-serif;
	color: #391B3B;
	padding: 0 20px 96px;
	font-size: 16px;
	line-height: 1.65;
}

.ep-page *,
.ep-page *::before,
.ep-page *::after {
	box-sizing: border-box;
}

.ep-page :focus-visible {
	outline: 3px solid #8D4F7D;
	outline-offset: 3px;
}

.ep-page a {
	color: #8D4F7D;
	text-decoration: none;
}

.ep-page a:hover {
	color: #7A3B6D;
}

/* --- Konténer --- */

.ep-wrap {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

/* --- Morzsa --- */

.ep-crumb {
	padding: 24px 0 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: #6B5A5E;
}

.ep-crumb a {
	text-decoration: none;
	font-weight: 600;
}

.ep-crumb-cur {
	color: #383135;
}

/* --- Hero --- */

.ep-hero {
	padding: 40px 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ep-eyebrowrow {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ep-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #C79A62;
}

.ep-eyebrow--muted {
	color: #6B5A5E;
}

.ep-dot {
	width: 3px;
	height: 3px;
	border-radius: 999px;
	background: #D2B4C1;
}

.ep-title {
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-weight: 700;
	font-size: 34px;
	line-height: 1.15;
	color: #5D2C56;
	margin: 16px 0 0;
}

.ep-subtitle {
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-style: italic;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.35;
	color: #8D4F7D;
	margin: 10px 0 0;
}

.ep-lead {
	font-size: 16px;
	line-height: 1.65;
	color: #391B3B;
	margin: 22px 0 0;
	max-width: 100%;
}

.ep-lead--2 {
	font-size: 15px;
	margin-top: 12px;
}

.ep-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

.ep-chip {
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	border-radius: 999px;
	background: #8D4F7D;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #FFFFFF;
	line-height: 1;
}

.ep-chip--white {
	gap: 8px;
	padding: 9px 18px 9px 14px;
	background: #FFFFFF;
	border: 1px solid #EED7DE;
	box-shadow: 0 6px 18px rgba(77, 36, 76, 0.05);
}

.ep-chip--white .ep-t {
	font-size: 14px;
	font-weight: 600;
	color: #5D2C56;
}

.ep-chip--white .ep-ico {
	color: #8D4F7D;
}

/* --- DS gomb --- */

.ep-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'Nunito Sans', system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1.5px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	line-height: 1;
	transition: background 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ep-page .ep-btn--primary {
    background: #8d4f7d0f;
    font-size: 15px;
    font-weight: 600;
    color: #8d4f7d;
    font-family: 'Nunito Sans', system-ui, sans-serif;
    text-transform: none;
}

.ep-page .ep-btn--primary:hover {
	background: #7A3B6D;
	color: #FFFFFF;
}
.ep-page .ep-btn--secondary {
    background: transparent;
    color: #8D4F7D;
    border-color: #8d4f7d0f;
    text-transform: none;
}

.ep-page .ep-btn--secondary:hover {
	background: #F3E6EE;
	color: #8D4F7D;
}

.ep-btn--lg {
	padding: 15px 28px;
	font-size: 15px;
}

.ep-ctas {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: 30px;
	width: 100%;
	max-width: 360px;
}

.ep-herophoto {
	width: 100%;
	margin-top: 40px;
}

/* --- Fotó-keret --- */

.ep-photo {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #F8EBE9;
	border: 1px solid #EED7DE;
}

.ep-photo--hero {
	aspect-ratio: 16 / 9;
	border-radius: 16px;
}

.ep-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- Szekciók --- */

.ep-sec {
	padding: 56px 0 0;
}

.ep-sec--48 {
	padding: 36px 0 0;
}

.ep-eyebrow--sec {
	display: block;
}

.ep-h2 {
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.25;
	color: #5D2C56;
	margin: 14px 0 0;
}

.ep-h2--32 {
	font-size: 24px;
}

.ep-h2--mb20 {
	margin-bottom: 20px;
}

.ep-h2--mb24 {
	margin-bottom: 24px;
}

.ep-h2--115 {
	line-height: 1.15;
	margin-top: 12px;
}

.ep-list {
	margin: 20px 0 0;
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ep-list li {
	font-size: 16px;
	line-height: 1.7;
	color: #391B3B;
}

/* --- Napfülek --- */

.ep-daytabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px;
	margin-top: 20px;
	border-bottom: 1px solid #EED7DE;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ep-daytab {
	border: none;
	background: transparent;
	cursor: pointer;
	font-family: 'Nunito Sans', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #6B5A5E;
	padding: 12px 14px;
	border-bottom: 1.5px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
	flex: 0 0 auto;
	transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ep-daytab:hover {
	color: #8D4F7D;
}

.ep-daytab--active,
.ep-daytab--active:hover {
	font-weight: 700;
	color: #5D2C56;
	border-bottom-color: #C79A62;
}

/* --- Étkezések --- */

.ep-meals {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ep-meal {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	align-items: center;
	background: #FFFFFF;
	border: 1px solid #EED7DE;
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(77, 36, 76, 0.06);
	padding: 18px;
}

.ep-meal__ico {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: #F3E6EE;
	color: #8D4F7D;
	display: grid;
	place-items: center;
	align-self: start;
}

.ep-meal__slot {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6B5A5E;
	line-height: 1;
}

.ep-meal__title {
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-weight: 600;
	font-size: 19px;
	line-height: 1.3;
	color: #5D2C56;
	margin-top: 4px;
}

.ep-meal__nutri {
	font-size: 14px;
	color: #6B5A5E;
	margin-top: 6px;
}

.ep-meal__note {
	font-size: 14px;
	line-height: 1.6;
	color: #8D4F7D;
	margin-top: 8px;
}

.ep-meal__link {
	grid-column: 2;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	justify-self: start;
}

.ep-total {
	background: #F8EBE9;
	border-radius: 16px;
	padding: 18px 22px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 0;
}

.ep-total__lab {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #6B5A5E;
	line-height: 1;
}

.ep-total__val {
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-weight: 600;
	font-size: 18px;
	color: #5D2C56;
}

/* --- Előkészítés --- */

.ep-prep {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 100%;
}

.ep-prep p {
	font-size: 16px;
	line-height: 1.7;
	color: #391B3B;
	margin: 0;
}

/* --- Bevásárlólista --- */

.ep-shophead {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.ep-shopside {
	display: flex;
	align-items: center;
	gap: 18px;
}

.ep-shopcount {
	font-size: 14px;
	font-weight: 600;
	color: #6B5A5E;
}

.ep-clearbtn {
	border: none;
	background: transparent;
	padding: 0;
	font-family: 'Nunito Sans', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #8D4F7D;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ep-shop {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-top: 24px;
}

.ep-group {
	background: #FFFFFF;
	border: 1px solid #EED7DE;
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(77, 36, 76, 0.06);
	padding: 22px 20px;
}

.ep-group__head {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #C79A62;
}

.ep-group__tit {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6B5A5E;
	line-height: 1;
}

.ep-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
}

.ep-item {
	display: flex;
	align-items: center;
	gap: 12px;
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font-family: 'Nunito Sans', system-ui, sans-serif;
	font-size: 15px;
	color: #383135;
}

.ep-item__box {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	border-radius: 6px;
	background: #FFFFFF;
	border: 1.5px solid #D2B4C1;
}

.ep-item--done {
	color: #6B5A5E;
	text-decoration: line-through;
}

.ep-item--done .ep-item__box {
	background: #8D4F7D url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
	border-color: #8D4F7D;
}

/* --- Cserek --- */

.ep-swaps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.ep-swap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 14px 0;
	border-bottom: 1px solid #EED7DE;
}

.ep-swap__from {
	font-size: 16px;
	font-weight: 600;
	color: #383135;
}

.ep-swap__to {
	font-size: 15px;
	color: #8D4F7D;
	text-align: left;
}

/* --- Figyelmeztetés --- */

.ep-note {
	background: #F3E6EE;
	border-radius: 16px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
	max-width: 860px;
}

.ep-note .ep-ico {
	color: #8D4F7D;
}

.ep-note p {
	font-size: 16px;
	line-height: 1.7;
	color: #383135;
	margin: 0;
}

/* --- GYIK --- */

.ep-faqs {
	max-width: 760px;
}

.ep-faq {
	border-bottom: 1px solid #EED7DE;
}

.ep-faq summary {
	list-style: none;
}

.ep-faq summary::-webkit-details-marker {
	display: none;
}

.ep-faq__q {
	width: 100%;
	text-align: left;
	cursor: pointer;
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-weight: 600;
	font-size: 17px;
	color: #5D2C56;
	padding: 18px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ep-faq__ico {
	display: inline-flex;
	flex: 0 0 auto;
	color: #8D4F7D;
}

.ep-faq__ico svg {
	transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ep-faq[open] .ep-faq__ico svg {
	transform: rotate(90deg);
}

.ep-faq__a {
	font-size: 16px;
	line-height: 1.7;
	color: #6B5A5E;
	margin: 0;
	padding: 0 0 18px;
	max-width: 660px;
}

/* --- CTA sáv --- */

.ep-cta {
	background: linear-gradient(160deg, #5D2C56 0%, #4A234C 100%);
	border-radius: 22px;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.ep-cta__txt {
	max-width: 560px;
}

.ep-cta__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #C79A62;
	line-height: 1;
}

.ep-cta__h2 {
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	color: #FFFFFF;
	margin: 12px 0 0;
}

.ep-cta__p {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
	margin: 12px 0 0;
}

.ep-cta__right {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.ep-price {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.ep-price__now {
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 1;
	color: #FFFFFF;
}

.ep-price__old {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: line-through;
}

/* --- További étrendek --- */

.ep-morehead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.ep-alllink {
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ep-more {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-top: 32px;
}

/* A single-ben is a rács kártyája fut (pb_etrend_kartya_html) — az alap stílus az etrend-grid.css-ből jön, itt csak a kompakt méretek jönnek. */
.ep-more .ep-cardtitle {
	font-size: 18px;
}

.ep-more .ep-body {
	padding: 20px 20px 24px;
}

/* --- Ikonok --- */

.ep-ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ep-ico svg {
	display: block;
}

/* Minden ikon a sablon szerinti vékony vonallal (a Lucide beépített 2 helyett; a CSS felülírja az SVG-attribútumot). */
.ep-page svg {
	stroke-width: 1.5;
}

/* ==========================================================================
   Tablet (≥768)
   ========================================================================== */

@media (min-width: 768px) {
	.ep-page {
		padding-left: 24px;
		padding-right: 24px;
	}

	.ep-crumb {
		font-size: 13px;
		flex-wrap: nowrap;
	}

	.ep-title {
		font-size: 44px;
		line-height: 1.1;
	}

	.ep-subtitle {
		font-size: 24px;
	}

	.ep-lead {
		font-size: 17px;
		max-width: 58ch;
	}

	.ep-lead--2 {
		font-size: 16px;
	}

	.ep-ctas {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		width: auto;
		max-width: none;
	}

	.ep-photo--hero {
		aspect-ratio: 18 / 9;
	}

	.ep-sec {
		padding: 64px 0 0;
	}

	.ep-h2 {
		font-size: 30px;
	}

	.ep-h2--32 {
		font-size: 28px;
	}

	.ep-list {
		gap: 12px;
	}

	.ep-list li {
		font-size: 17px;
	}

	.ep-daytabs {
		flex-wrap: wrap;
		gap: 8px;
		overflow-x: visible;
	}

	.ep-daytab {
		font-size: 15px;
		padding: 14px 18px;
	}

	.ep-meals {
		margin-top: 32px;
	}

	.ep-meal {
		grid-template-columns: 56px 1fr auto;
		gap: 20px;
		padding: 22px 26px;
	}

	.ep-meal__ico {
		width: 56px;
		height: 56px;
	}

	.ep-meal__title {
		font-size: 21px;
	}

	.ep-meal__link {
		grid-column: auto;
		justify-self: end;
	}

	.ep-total {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}

	.ep-total__val {
		font-size: 20px;
	}

	.ep-prep {
		max-width: 760px;
	}

	.ep-prep p {
		font-size: 17px;
	}

	.ep-shophead {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}

	.ep-shop {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.ep-swaps {
		grid-template-columns: repeat(2, 1fr);
		gap: 0 40px;
	}

	.ep-swap {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: space-between;
		gap: 16px;
		padding: 16px 0;
	}

	.ep-swap__to {
		text-align: right;
	}

	.ep-note {
		flex-direction: row;
		gap: 16px;
		padding: 24px 28px;
	}

	.ep-faq__q {
		font-size: 19px;
		padding: 22px 0;
	}

	.ep-faq__a {
		padding: 0 0 24px;
	}

	.ep-cta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 32px;
		padding: 40px;
	}

	.ep-cta__h2 {
		font-size: 28px;
	}

	.ep-price__now {
		font-size: 38px;
	}

	.ep-more {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

/* ==========================================================================
   Asztal (≥1025)
   ========================================================================== */

@media (min-width: 1025px) {
	.ep-page {
		padding-left: 24px;
		padding-right: 24px;
	}

	.ep-title {
		font-size: 54px;
		line-height: 1.08;
	}

	.ep-subtitle {
		font-size: 27px;
	}

	.ep-lead {
		font-size: 18px;
	}

	.ep-lead--2 {
		font-size: 17px;
	}

	.ep-photo--hero {
		aspect-ratio: 21 / 9;
	}

	.ep-sec {
		padding: 72px 0 0;
	}

	.ep-sec--48 {
		padding: 48px 0 0;
	}

	.ep-h2 {
		font-size: 34px;
		line-height: 1.2;
	}

	.ep-h2--32 {
		font-size: 32px;
	}

	.ep-note {
		padding: 28px 32px;
	}

	.ep-shop {
		grid-template-columns: repeat(4, 1fr);
	}

	.ep-cta {
		padding: 52px 48px;
	}

	.ep-cta__h2 {
		font-size: 32px;
	}

	.ep-cta__p {
		font-size: 17px;
	}

	.ep-more {
		grid-template-columns: repeat(3, 1fr);
		gap: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ep-page * {
		transition-duration: 0.01ms !important;
	}
}
