/* Bodri Események – esemény termékoldal (Figma: Bodri – Naplemente Borkóstoló / Desktop) */

:root {
	--be-bg: #f6f2eb;
	--be-area: #f3f1eb;
	--be-card: #f0f6f7;
	--be-ink: #171714;
	--be-ink-2: #1f1c17;
	--be-line: #bfc4bf;
	--be-qty-line: #d6d6d6;
	--be-qty-ink: #262626;
	--be-primary: #49cbdb;
	--be-primary-hover: #33b4c5;
	--be-font: "Raleway", "Helvetica Neue", Arial, sans-serif;
	--be-font-num: "Inter", "Helvetica Neue", Arial, sans-serif;
}

body.be-event-page {
	margin: 0;
	background: var(--be-bg);
}

.be-event {
	font-family: var(--be-font);
	color: var(--be-ink);
	background: var(--be-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.be-event *,
.be-event *::before,
.be-event *::after {
	box-sizing: border-box;
}

.be-event p,
.be-event h1,
.be-event h2,
.be-event ul {
	margin: 0;
}

.be-event img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ---------- HERO ---------- */

.be-hero {
	position: relative;
	height: 600px;
	background: #2a2622 center / cover no-repeat;
	overflow: hidden;
}

.be-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	pointer-events: none;
}

.be-hero__bar {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 90;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 40px;
	pointer-events: none;
}

body.admin-bar .be-hero__bar {
	top: 32px;
}

.be-hero__bar .be-cart {
	pointer-events: auto;
	width: 56px;
	height: 56px;
	margin: -8px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: transparent;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.be-hero__bar .be-cart.is-scrolled {
	background: #0e0e0e;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.be-hero__bar .be-cart.is-scrolled svg {
	width: 28px;
	height: 28px;
}

.be-hero__bar .be-cart .be-cart__count {
	top: 2px;
	right: 2px;
}

.be-cart {
	position: relative;
	display: inline-flex;
	width: 40px;
	height: 40px;
	color: #fff;
	text-decoration: none;
	transition: transform 0.15s ease;
}

.be-cart:hover {
	transform: translateY(-1px);
	color: #fff;
}

.be-cart svg {
	width: 40px;
	height: 40px;
}

.be-cart__count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--be-primary);
	color: #fff;
	font: 600 11px/20px var(--be-font);
	text-align: center;
}

/* ---------- ESEMÉNY KÁRTYA ---------- */

.be-card-area {
	background: var(--be-area);
	padding: 0 16px 73px;
}

.be-card {
	position: relative;
	width: 768px;
	max-width: 100%;
	margin: -154px auto 0;
	padding: 40px;
	background: var(--be-card);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	z-index: 1;
}

.be-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 90px;
	text-decoration: none;
	color: var(--be-ink);
}

.be-card__logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.be-card__logo-text {
	font: 600 22px/1.15 var(--be-font);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
}

.be-card__inner {
	width: 688px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.be-overline {
	font: 600 12px/normal var(--be-font);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	text-align: center;
	color: var(--be-ink);
	padding-left: 0.32em; /* letter-spacing kiegyenlítés középre igazításnál */
}

.be-overline--left {
	text-align: left;
	padding-left: 0;
	font-weight: 400;
	color: var(--be-ink-2);
}

.be-card__title {
	width: 100%;
	font: 400 55px/normal var(--be-font);
	text-transform: uppercase;
	text-align: center;
	color: var(--be-ink);
	overflow-wrap: anywhere;
}

.be-meta {
	list-style: none;
	padding: 0 40px;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.be-meta__item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--be-ink);
}

.be-meta__item svg {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

.be-meta__text {
	display: flex;
	flex-direction: column;
	font: 400 16px/normal var(--be-font);
	white-space: nowrap;
}

.be-meta__text strong {
	font-weight: 600;
}

.be-divider {
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--be-line);
}

/* Értesítések (WooCommerce) */

.be-notices:empty {
	display: none;
}

.be-notices {
	width: 100%;
}

.be-notices .woocommerce-message,
.be-notices .woocommerce-error,
.be-notices .woocommerce-info,
.be-notices .wc-block-components-notice-banner {
	display: block;
	margin: 0 0 4px;
	padding: 14px 18px;
	font: 400 14px/1.5 var(--be-font);
	list-style: none;
	border: 1px solid var(--be-line);
	border-left: 3px solid var(--be-primary);
	border-radius: 0;
	background: #fff;
	color: var(--be-ink);
	box-shadow: none;
}

.be-notices .wc-block-components-notice-banner.is-success,
.be-notices .wc-block-components-notice-banner.is-info {
	border-color: var(--be-line);
	border-left-color: var(--be-primary);
	background: #fff;
	color: var(--be-ink);
}

.be-notices .wc-block-components-notice-banner > svg {
	display: none;
}

.be-notices .wc-block-components-notice-banner__content {
	padding: 0;
	align-self: auto;
}

.be-notices .woocommerce-error,
.be-notices .wc-block-components-notice-banner.is-error {
	border-color: #e2c8c3;
	border-left-color: #b03a2e;
	color: #7c2a20;
	background: #fdf6f5;
}

.be-notices li {
	margin: 0;
	padding: 0;
}

.be-notices a {
	color: var(--be-primary);
	font-weight: 600;
}

.be-notices a.be-button,
.be-notices .wc-block-components-notice-banner__content a.be-button {
	color: #fff;
	text-decoration: none;
}

/* Kosárba tétel utáni üzenet */

.be-added {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.be-added__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--be-primary);
	color: #fff;
	flex: 0 0 28px;
}

.be-added__text {
	flex: 1 1 200px;
	font-size: 14px;
}

.be-added__text strong {
	font-weight: 600;
}

.be-added__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.be-added__more {
	font: 600 13px/1 var(--be-font);
	color: var(--be-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.be-button--small {
	padding: 10px 14px;
	font-size: 12px;
}

/* Jegytípusok */

.be-tickets {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 100px;
	flex-wrap: wrap;
}

.be-ticket {
	width: 255px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.be-ticket__label {
	font: 400 13px/normal var(--be-font);
	text-align: center;
	color: var(--be-ink);
}

.be-ticket__price {
	font: 400 32px/normal var(--be-font);
	text-align: center;
	color: var(--be-ink);
	white-space: nowrap;
}

.be-ticket__date {
	font: 400 12px/normal var(--be-font);
	text-align: center;
	color: var(--be-ink);
}

.be-ticket__buy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-top: 10px;
	width: 100%;
}

.be-ticket--expired,
.be-ticket--soldout {
	opacity: 0.55;
}

.be-ticket--upcoming .be-ticket__price {
	opacity: 0.85;
}

.be-qty {
	display: flex;
	align-items: center;
	height: 39px;
	border: 1px solid var(--be-qty-line);
	background: transparent;
}

.be-qty__btn,
.be-qty__input {
	width: 40px;
	height: 37px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--be-qty-ink);
	font: 700 16px/1.45 var(--be-font-num);
	text-align: center;
	appearance: none;
	-moz-appearance: textfield;
	box-shadow: none;
	outline-offset: -2px;
}

.be-qty__btn {
	cursor: pointer;
	transition: background 0.15s ease;
}

.be-qty__btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.be-qty__input::-webkit-outer-spin-button,
.be-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.be-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border: 0;
	border-radius: 0;
	background: var(--be-primary);
	color: #fff;
	font: 600 13px/normal var(--be-font);
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease;
}

.be-button:hover,
.be-button:focus-visible {
	background: var(--be-primary-hover);
	color: #fff;
}

.be-button--disabled {
	background: #b9b6ac;
	cursor: default;
}

.be-button--disabled:hover {
	background: #b9b6ac;
}

/* ---------- AZ ESEMÉNYRŐL ---------- */

.be-about {
	background: #fff;
	padding: 100px 150px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 60px;
}

.be-about__text {
	width: 560px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 100px;
	overflow-wrap: break-word;
}

.be-about__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.be-about__title {
	font: 400 48px/normal var(--be-font);
	text-transform: uppercase;
	color: var(--be-ink);
}

.be-about__content {
	font: 400 16px/normal var(--be-font);
	color: var(--be-ink-2);
}

.be-about__content > * {
	margin: 0;
}

.be-about__content > * + * {
	margin-top: 0.4em;
}

.be-about__content h2,
.be-about__content h3,
.be-about__content h4 {
	font: 600 16px/normal var(--be-font);
	margin-top: 1em;
}

.be-about__content ul,
.be-about__content ol {
	padding-left: 1.2em;
}

.be-about__content a {
	color: var(--be-primary);
}

.be-about__quote {
	width: 420px;
	max-width: 100%;
	font: italic 400 29px/normal var(--be-font);
	color: var(--be-ink-2);
}

.be-about__photo {
	flex: 0 0 490px;
	width: 490px;
	height: 610px;
	margin: 0;
}

.be-about__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Téma lábléc ---------- */

.be-theme-footer {
	background: var(--be-bg);
}

/* ---------- Reszponzív ---------- */

@media (max-width: 1100px) {
	.be-about {
		padding: 80px 40px;
		gap: 40px;
	}

	.be-about__photo {
		flex-basis: 40%;
		width: 40%;
		height: auto;
		aspect-ratio: 490 / 610;
	}

	.be-about__title {
		font-size: 40px;
	}
}

@media (max-width: 860px) {
	.be-hero {
		height: 460px;
	}

	.be-hero__bar {
		padding: 20px;
	}

	.be-card-area {
		padding-bottom: 80px;
	}

	.be-card {
		margin-top: -120px;
		padding: 32px 24px;
		gap: 24px;
	}

	.be-card__title {
		font-size: 36px;
	}

	.be-meta {
		flex-direction: column;
		align-items: flex-start;
		padding: 0;
		gap: 14px;
	}

	.be-meta__text {
		white-space: normal;
	}

	.be-tickets {
		gap: 40px;
	}

	.be-about {
		flex-direction: column-reverse;
		align-items: flex-start;
		padding: 60px 24px;
	}

	.be-about__text {
		width: 100%;
		gap: 48px;
	}

	.be-about__title {
		font-size: 32px;
	}

	.be-about__quote {
		font-size: 24px;
	}

	.be-about__photo {
		width: 100%;
		flex-basis: auto;
		max-height: 420px;
	}
}

@media (max-width: 480px) {
	.be-card__title {
		font-size: 28px;
	}

	.be-ticket {
		width: 100%;
	}

	.be-ticket__buy {
		flex-wrap: wrap;
	}

	.be-button {
		flex: 1 1 auto;
	}
}

/* ---------- Lábléc (plugin) ---------- */

.be-footer {
	background: #1f1c17;
	color: #d9d3c7;
	font-family: var(--be-font);
	-webkit-font-smoothing: antialiased;
}

.be-footer *,
.be-footer *::before,
.be-footer *::after {
	box-sizing: border-box;
}

.be-footer a {
	color: #fff;
	text-decoration: none;
	transition: color 0.15s ease;
}

.be-footer a:hover {
	color: var(--be-primary);
}

.be-footer__inner {
	display: grid;
	grid-template-columns: 1.2fr 1.4fr 0.8fr;
	gap: 48px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 72px 24px 56px;
}

.be-footer__brand .be-card__logo {
	width: auto;
	height: auto;
	max-width: 200px;
	max-height: 80px;
	justify-content: flex-start;
	color: #fff;
	margin-bottom: 20px;
}

.be-footer__brand .be-card__logo-img {
	max-height: 80px;
	width: auto;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.be-footer__brand .be-card__logo-text {
	font-size: 20px;
	text-align: left;
}

.be-footer__text,
.be-footer__text p {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.6;
	color: #b9b3a6;
}

.be-footer__contact {
	margin: 12px 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
}

.be-footer__heading {
	margin: 0 0 20px;
	font: 600 11px/1 var(--be-font);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #9d978a;
}

.be-footer__events,
.be-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.be-footer__events li {
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.be-footer__events li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.be-footer__events a {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 2px 18px;
	padding: 14px 0;
	align-items: baseline;
}

.be-footer__date {
	grid-row: 1 / span 2;
	font: 600 12px/1.4 var(--be-font);
	letter-spacing: 0.08em;
	color: var(--be-primary);
	white-space: nowrap;
}

.be-footer__event-title {
	font: 600 15px/1.3 var(--be-font);
	color: #fff;
}

.be-footer__venue {
	font: 400 12px/1.3 var(--be-font);
	color: #9d978a;
}

.be-footer__events a:hover .be-footer__event-title {
	color: var(--be-primary);
}

.be-footer__empty {
	margin: 0;
	font-size: 14px;
	color: #9d978a;
}

.be-footer__links li {
	margin: 0 0 10px;
	font-size: 14px;
}

.be-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 24px;
	text-align: center;
	font-size: 12px;
	color: #7f796d;
}

@media (max-width: 900px) {
	.be-footer__inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 56px 24px 40px;
	}

	.be-footer__events a {
		grid-template-columns: 84px 1fr;
	}
}

/* ---------- Egyszerű tartalmi oldal (Adatvédelem, ÁSZF) ---------- */

.be-simple__wrap {
	max-width: 860px;
}

.be-simple__content {
	background: #fff;
	border: 1px solid #ebe6dc;
	padding: 48px 56px;
	font: 400 16px/1.7 var(--be-font);
	color: var(--be-ink-2);
}

.be-simple__content > :first-child {
	margin-top: 0;
}

.be-shop .be-simple__content h2,
.be-shop .be-simple__content h3,
.be-shop .be-simple__content h4 {
	margin: 1.8em 0 0.6em;
	font-family: var(--be-font);
	font-weight: 600;
	color: var(--be-ink);
	text-transform: none;
	letter-spacing: 0;
}

.be-shop .be-simple__content h2 {
	font-size: 22px;
	line-height: 1.3;
}

.be-shop .be-simple__content h3 {
	font-size: 18px;
}

.be-shop .be-simple__content h4 {
	font-size: 16px;
}

.be-simple__content p,
.be-simple__content ul,
.be-simple__content ol {
	margin: 0 0 1.1em;
	font-size: 16px;
}

.be-simple__content ul,
.be-simple__content ol {
	padding-left: 1.3em;
}

.be-simple__content li {
	margin-bottom: 0.35em;
}

.be-simple__content a {
	color: var(--be-primary);
}

.be-simple__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
	font-size: 14px;
}

.be-simple__content th,
.be-simple__content td {
	padding: 10px 12px;
	border: 1px solid #e6e1d7;
	text-align: left;
	vertical-align: top;
}

.be-simple__content th {
	background: var(--be-bg);
	font-weight: 600;
}

.be-simple__content .be-placeholder {
	padding: 14px 18px;
	background: #fdf6e3;
	border-left: 3px solid #d8b24a;
	font-size: 14px;
}

@media (max-width: 720px) {
	.be-simple__content {
		padding: 28px 20px;
	}
}

/* ---------- Logó-változatok (fehér logó fekete háttéren) ---------- */

/* Világos felületen (termékkártya): invertálás + a fehér háttér eltüntetése */
.be-card .be-card__logo-img.be-logo--dark,
.be-simple .be-card__logo-img.be-logo--dark {
	filter: invert(1);
	mix-blend-mode: multiply;
}

/* Sötét felületen (fekete fejléc, lábléc): a fekete háttér eltüntetése */
.be-shop__bar .be-card__logo-img.be-logo--dark,
.be-footer .be-card__logo-img.be-logo--dark {
	filter: none;
	mix-blend-mode: screen;
}

.be-footer__brand .be-card__logo-img.be-logo--dark {
	filter: none;
}
