/* Jótékonysági Casino Est – termékoldal (csak a kampány termékén töltődik be)
   Blokkos tartalom saját osztályokkal: ce-hero, ce-intro, ce-story, ce-event, ce-help, ce-partners */

.lgya-casino-est,
.editor-styles-wrapper {
	--ce-cream: #fcfbf9;
	--ce-pattern: #eee3cb;
	--ce-burgundy: #622a4a;
	--ce-burgundy-dark: #4a1f38;
	--ce-gold: #d99a37;
	--ce-gold-light: #f0c879;
	--ce-gold-dark: #a8711f;
	--ce-text: #4a3a40;
}

/* Az oldal címét a hero váltja ki */
.lgya-casino-est .wp_productpage_head .product_title,
.lgya-casino-est #content .wp_productpage_head .product_title { display: none; }

.lgya-casino-est .wp-productpage-content,
.lgya-casino-est #content .wp-productpage-content { color: var(--ce-text); }

.lgya-casino-est .wp-productpage-content p,
.lgya-casino-est #content .wp-productpage-content p,
.lgya-casino-est .wp-productpage-content li,
.lgya-casino-est #content .wp-productpage-content li { line-height: 1.65; }

/* Közös címstílusok */
.ce-script-title,
#content .ce-script-title,
.ce-hero .ce-kicker,
#content .ce-hero .ce-kicker {
	font-family: 'CE Script', cursive !important;
	font-weight: 400 !important;
	color: var(--ce-gold) !important;
	line-height: 1.1 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.ce-serif-title,
#content .ce-serif-title {
	font-family: 'CE Cormorant', Georgia, serif !important;
	font-weight: 700 !important;
	color: var(--ce-burgundy) !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.1 !important;
}

/* ---------- Hero ---------- */
.ce-hero,
#content .ce-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 56px 24px 48px !important;
	margin-bottom: 28px !important;
	border-radius: 18px;
	background-color: var(--ce-cream);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23eee3cb'%3E%3Cpath d='M30 8l9 12h-5l8 10h-5l8 11H15l8-11h-5l8-10h-5z'/%3E%3Crect x='28' y='41' width='4' height='6'/%3E%3Cpath d='M90 68l7 9h-4l6 8h-4l7 9H74l7-9h-4l6-8h-4z'/%3E%3Crect x='88' y='94' width='4' height='5'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 110px 110px;
	box-shadow: inset 0 0 0 10px var(--ce-cream), inset 0 0 0 11px #ecd9b2;
}
.ce-hero::before,
#content .ce-hero::before,
.ce-hero::after,
#content .ce-hero::after {
	content: "";
	position: absolute;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
}
.ce-hero::before,
#content .ce-hero::before {
	width: 110px; height: 110px;
	top: 14px; left: 16px;
	background-image: url("img/star-gold.png");
	transform: rotate(-12deg);
}
.ce-hero::after,
#content .ce-hero::after {
	width: 150px; height: 150px;
	right: 8px; bottom: -14px;
	background-image: url("img/bauble-white.png");
}
.ce-hero > *,
#content .ce-hero > * { position: relative; z-index: 1; }
.ce-hero .ce-kicker,
#content .ce-hero .ce-kicker { font-size: clamp(34px, 5vw, 56px) !important; margin: 0 !important; }
.ce-hero .ce-hero-title,
#content .ce-hero .ce-hero-title {
	font-family: 'CE Cormorant', Georgia, serif !important;
	font-weight: 700 !important;
	color: var(--ce-burgundy) !important;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: clamp(34px, 6vw, 66px) !important;
	line-height: 1 !important;
	margin: 4px 0 6px !important;
}
.ce-hero .ce-hero-for,
#content .ce-hero .ce-hero-for {
	font-family: 'CE Script', cursive !important;
	color: var(--ce-burgundy) !important;
	font-size: clamp(30px, 4.2vw, 46px) !important;
	margin: 0 !important;
}
.ce-hero .ce-hero-meta,
#content .ce-hero .ce-hero-meta {
	display: inline-block;
	margin: 22px 0 0 !important;
	padding: 10px 26px;
	border-top: 1px solid var(--ce-gold);
	border-bottom: 1px solid var(--ce-gold);
	font-family: 'CE Cormorant', Georgia, serif;
	font-weight: 700;
	font-size: clamp(18px, 2.2vw, 24px);
	color: var(--ce-gold-dark);
	letter-spacing: .03em;
	font-variant-numeric: lining-nums;
}
.ce-hero .wp-block-buttons,
#content .ce-hero .wp-block-buttons { margin-top: 26px !important; }

/* Arany gomb */
.lgya-casino-est .ce-btn-gold .wp-block-button__link,
.lgya-casino-est #content .ce-btn-gold .wp-block-button__link,
.editor-styles-wrapper .ce-btn-gold .wp-block-button__link {
	background: linear-gradient(180deg, #e9b964, #d99a37 55%, #b97f26) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 14px 34px !important;
	font-weight: 800 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 16px !important;
	box-shadow: 0 8px 22px rgba(169, 113, 31, .35);
	transition: transform .2s, box-shadow .2s;
	text-decoration: none !important;
}
.lgya-casino-est .ce-btn-gold .wp-block-button__link:hover,
.lgya-casino-est #content .ce-btn-gold .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(169, 113, 31, .45);
}

/* Haladásjelző a hero alatt – a meglévő shortcode színeinek hangolása */
.lgya-casino-est .kampany-progress-container,
.lgya-casino-est #content .kampany-progress-container { max-width: 720px; margin: 0 auto 30px !important; text-align: center; }
.lgya-casino-est .kampany-progress-container > div:first-child,
.lgya-casino-est #content .kampany-progress-container > div:first-child { color: var(--ce-burgundy); font-size: 18px; }

/* ---------- Bevezető ---------- */
.ce-intro,
#content .ce-intro {
	max-width: 760px;
	margin: 0 auto 40px !important;
	text-align: center;
	font-size: 18px;
}
.ce-intro p,
#content .ce-intro p { font-style: italic; }
.ce-intro strong,
#content .ce-intro strong { color: var(--ce-burgundy); }
.ce-rule,
#content .ce-rule {
	width: 220px;
	height: 1px;
	margin: 26px auto !important;
	border: 0 !important;
	background: linear-gradient(90deg, transparent, var(--ce-gold) 20%, var(--ce-gold) 80%, transparent) !important;
	opacity: 1 !important;
}

/* ---------- Tomika története ---------- */
.ce-story,
#content .ce-story { align-items: flex-start !important; gap: 44px !important; margin-bottom: 48px !important; }
.ce-photo,
#content .ce-photo {
	text-align: center;
	position: sticky;
	top: 120px;
	padding-top: 10px;
}
.ce-photo img,
#content .ce-photo img,
.ce-photo-img,
#content .ce-photo-img {
	display: block;
	width: 100%;
	max-width: 360px;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 auto;
	border-radius: 50%;
	border: 8px solid #fff;
	box-shadow: 0 0 0 5px var(--ce-gold-light), 0 0 0 6px var(--ce-gold), 0 18px 40px rgba(98, 42, 74, .2);
}
.ce-photo .ce-photo-caption,
#content .ce-photo .ce-photo-caption {
	font-family: 'CE Script', cursive;
	color: var(--ce-gold);
	font-size: 34px;
	margin-top: 18px !important;
	text-align: center;
}
.ce-story h2,
#content .ce-story h2 { font-size: clamp(28px, 3.4vw, 40px) !important; margin-bottom: 14px !important; }
.ce-story .ce-signature,
#content .ce-story .ce-signature {
	font-family: 'CE Script', cursive;
	color: var(--ce-burgundy);
	font-size: 32px;
	text-align: right;
	margin-top: 8px !important;
}
.ce-story .ce-thanks,
#content .ce-story .ce-thanks { font-style: italic; color: var(--ce-burgundy); font-weight: 600; }

/* ---------- Az est ---------- */
.ce-event,
#content .ce-event {
	position: relative;
	padding: 44px 28px !important;
	margin-bottom: 44px !important;
	border-radius: 18px;
	background: linear-gradient(160deg, #6f3355 0%, var(--ce-burgundy) 45%, var(--ce-burgundy-dark) 100%);
	color: #f8eee4;
	overflow: hidden;
}
.ce-event::after,
#content .ce-event::after {
	content: "";
	position: absolute;
	width: 100px; height: 130px;
	right: 6px; top: -14px;
	background: url("img/pinecone-1.png") no-repeat center / contain;
	transform: rotate(196deg);
	opacity: .9;
	pointer-events: none;
}
.ce-event > *,
#content .ce-event > * { position: relative; z-index: 1; }
.ce-event .ce-script-title,
#content .ce-event .ce-script-title { text-align: center; font-size: clamp(36px, 4.6vw, 52px) !important; color: var(--ce-gold-light) !important; margin-bottom: 26px !important; }
.ce-event .ce-cards,
#content .ce-event .ce-cards { gap: 18px !important; margin-bottom: 30px !important; }
.ce-event .ce-card,
#content .ce-event .ce-card {
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(240, 200, 121, .45);
	border-radius: 14px;
	padding: 20px 18px !important;
	text-align: center;
}
.ce-event .ce-card h3,
#content .ce-event .ce-card h3 {
	font-family: 'CE Cormorant', Georgia, serif !important;
	color: var(--ce-gold-light) !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 18px !important;
	margin: 0 0 8px !important;
}
.ce-event .ce-card p,
#content .ce-event .ce-card p { margin: 0 !important; color: #fff; font-weight: 600; font-variant-numeric: lining-nums; }
.ce-event .ce-card p + p,
#content .ce-event .ce-card p + p { font-weight: 400; font-style: italic; opacity: .85; font-size: .93em; }

.ce-program,
#content .ce-program { max-width: 620px; margin: 0 auto !important; }
.ce-program h3,
#content .ce-program h3 {
	text-align: center;
	font-family: 'CE Cormorant', Georgia, serif !important;
	color: var(--ce-gold-light) !important;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 20px !important;
	margin-bottom: 12px !important;
}
.ce-program ul,
#content .ce-program ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ce-program li,
#content .ce-program li {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 14px;
	padding: 9px 0;
	border-bottom: 1px dashed rgba(240, 200, 121, .3);
	color: #fff;
}
.ce-program li:last-child,
#content .ce-program li:last-child { border-bottom: 0; }
.ce-program li strong,
#content .ce-program li strong {
	color: var(--ce-gold-light);
	text-align: right;
	font-variant-numeric: lining-nums tabular-nums;
}
.ce-event .ce-note,
#content .ce-event .ce-note { text-align: center; font-size: 14px; font-style: italic; opacity: .85; margin-top: 22px !important; }
.ce-event .ce-note a,
#content .ce-event .ce-note a { color: var(--ce-gold-light); }

/* ---------- Hogyan segíthetsz ---------- */
.ce-help,
#content .ce-help { text-align: center; max-width: 760px; margin: 0 auto 40px !important; }
.ce-help h2,
#content .ce-help h2 { font-size: clamp(26px, 3.2vw, 36px) !important; }
.ce-help .ce-script-title,
#content .ce-help .ce-script-title { font-size: 40px !important; margin-bottom: 0 !important; }

/* ---------- Partnerek ---------- */
.ce-partners,
#content .ce-partners { text-align: center; margin-bottom: 30px !important; }
.ce-partners .ce-partners-title,
#content .ce-partners .ce-partners-title {
	font-family: 'CE Cormorant', Georgia, serif;
	font-weight: 700;
	color: var(--ce-burgundy);
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 16px;
	margin-bottom: 14px !important;
}
.ce-partners .ce-logo-row,
#content .ce-partners .ce-logo-row { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.ce-partners img,
#content .ce-partners img { height: 92px; width: auto; border-radius: 8px; box-shadow: 0 6px 16px rgba(74, 31, 56, .18); }
.ce-partners img.ce-logo-wide,
#content .ce-partners img.ce-logo-wide { height: 78px; }

/* ---------- Támogatás doboz (sablon: #tamogatas) ---------- */
.lgya-casino-est .termekoldal_osszefoglalo,
.lgya-casino-est #content .termekoldal_osszefoglalo {
	border: 2px solid var(--ce-gold-light) !important;
	border-radius: 18px !important;
	background: #fffaf1 !important;
	box-shadow: 0 14px 36px rgba(98, 42, 74, .10) !important;
}
.lgya-casino-est .termekoldal_osszefoglalo .beforeprice,
.lgya-casino-est #content .termekoldal_osszefoglalo .beforeprice {
	font-family: 'CE Script', cursive;
	color: var(--ce-burgundy);
	font-size: 34px;
}
.lgya-casino-est .termekoldal_osszefoglalo .single_add_to_cart_button,
.lgya-casino-est #content .termekoldal_osszefoglalo .single_add_to_cart_button {
	background: linear-gradient(180deg, #e9b964, #d99a37 55%, #b97f26) !important;
	border-radius: 999px !important;
	border: 0 !important;
	color: #fff !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: .04em;
	box-shadow: 0 8px 22px rgba(169, 113, 31, .35);
}
.lgya-casino-est .termekoldal_osszefoglalo .single_add_to_cart_button:disabled,
.lgya-casino-est #content .termekoldal_osszefoglalo .single_add_to_cart_button:disabled { opacity: .5; box-shadow: none; }

@media (max-width: 781px) {
	.ce-hero::before,
#content .ce-hero::before { width: 70px; height: 70px; }
	.ce-hero::after,
#content .ce-hero::after { width: 90px; height: 90px; }
	.ce-story,
#content .ce-story { gap: 24px !important; }
	.ce-photo,
#content .ce-photo { position: static; }
	.ce-story .ce-signature,
#content .ce-story .ce-signature { text-align: center; }
	.ce-program li,
#content .ce-program li { grid-template-columns: 92px 1fr; }
	.ce-event::after,
#content .ce-event::after { display: none; }
}

/* ---------- Élő állás a hero alatt: [casino_est_allas] ---------- */
.ce-allas,
#content .ce-allas {
	max-width: 560px;
	margin: -54px auto 36px;
	position: relative;
	z-index: 2;
	text-align: center;
	background: #fff;
	border: 2px solid var(--ce-gold-light);
	border-radius: 18px;
	padding: 18px 24px 20px;
	box-shadow: 0 16px 36px rgba(98, 42, 74, .14);
}
.ce-allas p,
#content .ce-allas p { margin: 0 !important; }
.ce-allas__label,
#content .ce-allas__label { font-family: 'CE Script', cursive; color: var(--ce-burgundy); font-size: 30px; line-height: 1.1; }
.ce-allas__amount,
#content .ce-allas__amount {
	font-family: 'CE Cormorant', Georgia, serif;
	font-weight: 700;
	font-size: clamp(40px, 6vw, 58px);
	line-height: 1.05;
	font-variant-numeric: lining-nums;
	background: linear-gradient(180deg, #f3cf86 0%, #d99a37 45%, #a8711f 75%, #e2ad55 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ce-allas__amount span,
#content .ce-allas__amount span { color: var(--ce-burgundy); -webkit-text-fill-color: var(--ce-burgundy); font-size: .5em; }
.ce-allas__count,
#content .ce-allas__count { font-weight: 700; font-style: italic; color: var(--ce-gold-dark); }
.ce-allas__track,
#content .ce-allas__track { height: 14px; border-radius: 999px; background: #f3ece0; margin-top: 12px; overflow: hidden; padding: 2px; }
.ce-allas__bar,
#content .ce-allas__bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ce-burgundy), #8a3d67 55%, var(--ce-gold)); }
.ce-allas__goal,
#content .ce-allas__goal { font-size: 14px; font-style: italic; color: var(--ce-burgundy); margin-top: 6px !important; }
.ce-hero,
#content .ce-hero { padding-bottom: 86px !important; }

/* ---------- Összeg választó gombok ---------- */
#content .ce-amounts { text-align: center; margin: 0 auto 18px; max-width: 640px; }
#content .ce-amounts .ce-amounts__title {
	font-family: 'CE Script', cursive;
	color: var(--ce-burgundy);
	font-size: 34px;
	line-height: 1.2;
	margin: 0 0 14px;
}
#content .ce-amounts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
#content .ce-amount-btn {
	font-family: 'CE Cormorant', Georgia, serif;
	font-weight: 700;
	font-size: 22px;
	font-variant-numeric: lining-nums;
	color: var(--ce-burgundy);
	background: #fff;
	border: 2px solid var(--ce-gold-light);
	border-radius: 14px;
	padding: 14px 10px;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s, color .15s;
	box-shadow: 0 4px 12px rgba(98, 42, 74, .08);
}
#content .ce-amount-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(98, 42, 74, .14); }
#content .ce-amount-btn.is-active {
	background: linear-gradient(160deg, #6f3355, var(--ce-burgundy));
	border-color: var(--ce-gold);
	color: #fff;
	box-shadow: 0 8px 20px rgba(98, 42, 74, .3);
}
#content .ce-amount-btn--own { font-family: 'CE Mulish', sans-serif; font-size: 16px; font-weight: 800; font-style: italic; }
#content .woonp.ce-own-field { display: none; margin: 4px auto 14px; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
#content .woonp.ce-own-field.is-open { display: flex; }
#content .woonp.ce-own-field label { color: var(--ce-burgundy); font-weight: 700; }
#content .woonp.ce-own-field .ce-own-hint { color: var(--ce-burgundy); font-weight: 700; }
#content .woonp.ce-own-field .ce-own-error { display: none; width: 100%; margin: 4px 0 0; color: #b42318; font-size: 14px; font-style: italic; }
#content .woonp.ce-own-field.has-error .ce-own-error { display: block; }
#content .woonp.ce-own-field.has-error input { border-color: #b42318 !important; }
.lgya-casino-est form.cart .quantity { display: none !important; }
@media (max-width: 560px) {
	#content .ce-amounts__grid { grid-template-columns: repeat(2, 1fr); }
	#content .ce-amount-btn { font-size: 20px; }
}
