/* ===== Design Tokens ===== */
:root {
	--eve-primary: #a84448;
	--eve-primary-dark: #6B3A2A;
	--eve-primary-light: #A8755A;
	--eve-accent: #A84448;
	--eve-text: #2D2D2D;
	--eve-text-light: #555;
	--eve-muted: #8E8E93;
	--eve-border: #E8E0DC;
	--eve-bg: #FAF8F6;
	--eve-bg-card: #FFFFFF;
	--eve-radius: 12px;
	--eve-radius-sm: 8px;
	--eve-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	--eve-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.10);
	--eve-font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Override Astra Theme Button Hover Styles ===== */
.eveilys-teacher-portal button:hover,
.eveilys-teacher-portal button:focus,
.eveilys-teacher-portal .eveilys-btn:hover,
.eveilys-teacher-portal .eveilys-btn:focus,
.eveilys-events-list-layout button:hover,
.eveilys-events-list-layout button:focus,
.eveilys-events-list-layout .eveilys-btn:hover,
.eveilys-events-list-layout .eveilys-btn:focus,
.eveilys-event-detail button:hover,
.eveilys-event-detail button:focus,
.eveilys-event-detail .eveilys-btn:hover,
.eveilys-event-detail .eveilys-btn:focus,
.eveilys-auth-wrap button:hover,
.eveilys-auth-wrap button:focus,
.eveilys-auth-wrap .eveilys-btn:hover,
.eveilys-auth-wrap .eveilys-btn:focus,
.eveilys-student-dashboard button:hover,
.eveilys-student-dashboard button:focus,
.eveilys-student-dashboard .eveilys-btn:hover,
.eveilys-student-dashboard .eveilys-btn:focus,
.eveilys-checkout-wrap button:hover,
.eveilys-checkout-wrap button:focus,
.eveilys-checkout-wrap .eveilys-btn:hover,
.eveilys-checkout-wrap .eveilys-btn:focus,
.eveilys-form-outer button:hover,
.eveilys-form-outer button:focus,
.eveilys-form-outer .eveilys-btn:hover,
.eveilys-form-outer .eveilys-btn:focus {
	background-color: inherit !important;
	color: inherit !important;
	border-color: inherit !important;
}

/* Primary button hover - override Astra */
.eveilys-teacher-portal .eveilys-btn-primary:hover,
.eveilys-teacher-portal .eveilys-btn-primary:focus,
.eveilys-events-list-layout .eveilys-btn-primary:hover,
.eveilys-events-list-layout .eveilys-btn-primary:focus,
.eveilys-event-detail .eveilys-btn-primary:hover,
.eveilys-event-detail .eveilys-btn-primary:focus,
.eveilys-auth-wrap .eveilys-btn-primary:hover,
.eveilys-auth-wrap .eveilys-btn-primary:focus,
.eveilys-student-dashboard .eveilys-btn-primary:hover,
.eveilys-student-dashboard .eveilys-btn-primary:focus,
.eveilys-checkout-wrap .eveilys-btn-primary:hover,
.eveilys-checkout-wrap .eveilys-btn-primary:focus,
.eveilys-form-outer .eveilys-btn-primary:hover,
.eveilys-form-outer .eveilys-btn-primary:focus,
body .eveilys-btn-primary:hover,
body .eveilys-btn-primary:focus {
	background: #8E242C !important;
	background-color: #8E242C !important;
	color: #FFFFFF !important;
	border-color: #8E242C !important;
}

/* Secondary/default button hover - override Astra */
.eveilys-teacher-portal .eveilys-btn:not(.eveilys-btn-primary):hover,
.eveilys-teacher-portal .eveilys-btn:not(.eveilys-btn-primary):focus,
.eveilys-events-list-layout .eveilys-btn:not(.eveilys-btn-primary):hover,
.eveilys-events-list-layout .eveilys-btn:not(.eveilys-btn-primary):focus,
.eveilys-event-detail .eveilys-btn:not(.eveilys-btn-primary):hover,
.eveilys-event-detail .eveilys-btn:not(.eveilys-btn-primary):focus,
.eveilys-auth-wrap .eveilys-btn:not(.eveilys-btn-primary):hover,
.eveilys-auth-wrap .eveilys-btn:not(.eveilys-btn-primary):focus,
.eveilys-student-dashboard .eveilys-btn:not(.eveilys-btn-primary):hover,
.eveilys-student-dashboard .eveilys-btn:not(.eveilys-btn-primary):focus,
.eveilys-checkout-wrap .eveilys-btn:not(.eveilys-btn-primary):hover,
.eveilys-checkout-wrap .eveilys-btn:not(.eveilys-btn-primary):focus,
.eveilys-form-outer .eveilys-btn:not(.eveilys-btn-primary):hover,
.eveilys-form-outer .eveilys-btn:not(.eveilys-btn-primary):focus,
body .eveilys-btn:not(.eveilys-btn-primary):hover,
body .eveilys-btn:not(.eveilys-btn-primary):focus {
	background: #FFF8F8 !important;
	background-color: #FFF8F8 !important;
	color: #A84448 !important;
	border-color: #A84448 !important;
}

/* Filter submit button hover */
.eveilys-filter-submit:hover,
.eveilys-filter-submit:focus,
body .eveilys-filter-submit:hover,
body .eveilys-filter-submit:focus {
	background: #8E242C !important;
	background-color: #8E242C !important;
	color: #fff !important;
}

/* Remove all borders and outlines from form structures */
.eveilys-form-tabs,
.eveilys-form-actions,
.eveilys-form-header,
.eveilys-form-outer {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

.eveilys-form-tabs *,
.eveilys-form-actions * {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

*:focus,
*:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

fieldset {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	outline: none !important;
	box-shadow: none !important;
}

legend {
	display: none !important;
}

/* Hide page titles only within plugin content areas */
.eveilys-teacher-portal .entry-title,
.eveilys-teacher-portal .page-title,
.eveilys-events-list-layout .entry-title,
.eveilys-events-list-layout .page-title,
.eveilys-event-detail .entry-title,
.eveilys-event-detail .page-title,
.eveilys-auth-wrap .entry-title,
.eveilys-auth-wrap .page-title,
.eveilys-student-dashboard .entry-title,
.eveilys-student-dashboard .page-title,
.eveilys-checkout-wrap .entry-title,
.eveilys-checkout-wrap .page-title,
article.eve-event .entry-title,
article.eve-event .page-title,
article.eve-event .entry-header,
article.eve-event .elementor-page-title,
article.eve-event h1.wp-block-post-title,
article.eve-event .ast-the-title,
article.eve-event .page-header,
article.eve-event .single-post-title,
.single-eve-event .entry-title,
.single-eve-event .page-title,
.single-eve-event .entry-header,
.archive-eve-event .page-title,
.archive-eve-event .entry-header,
.post-type-archive-eve-event .page-title,
.post-type-archive-eve-event .entry-header {
	display: none !important;
}

header.entry-header.ast-no-thumbnail {
	display: none;
}

.ast-single-post.ast-page-builder-template .site-main>article {
	padding-top: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.eveilys-teacher-portal,
.eveilys-events-list-layout,
.eveilys-event-detail,
.eveilys-auth-wrap,
.eveilys-student-dashboard,
.eveilys-checkout-wrap {
	--eve-bg: #FFF8F8;
	--eve-surface: #ffffff;
	--eve-border: #D9D9D9;
	--eve-input-border: #C7CCD1;
	--eve-primary: #A84448;
	/* Figma Primary Red */
	--eve-primary-hover: #8E242C;
	--eve-text: #222831;
	--eve-text-body: #39434C;
	--eve-label: #626E79;
	--eve-disabled: #808A94;
	--eve-divider: #E4E7EB;
	--eve-muted: #757575;
	--eve-radius: 8px;
	--eve-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	font-family: 'Zalando Sans SemiExpanded', 'Segoe UI', sans-serif;
	color: var(--eve-text);
	line-height: 1.5;
	background: transparent;
}

/* Prevent horizontal scroll when form header goes full-width */
body:has(.eveilys-form-outer) {
	overflow-x: hidden;
}

/* Prevent horizontal scroll from full-bleed similar section */
body.single-eve-event {
	overflow-x: hidden;
	background-color: #fef8f8;
}

@media (max-width: 768px) {
	.eveilys-form-outer {
		margin-top: 0 !important;
		margin-bottom: 0;
		position: relative;
		z-index: 1;
	}

	.eveilys-event-form-v2 {
		overflow-x: hidden;
	}

	/* Force only the Elementor containers that CONTAIN the form to auto-height */
	.elementor-section:has(.eveilys-form-outer),
	.elementor-container:has(.eveilys-form-outer),
	.elementor-column:has(.eveilys-form-outer),
	.elementor-widget-wrap:has(.eveilys-form-outer),
	.elementor-widget:has(.eveilys-form-outer),
	.elementor-widget-container:has(.eveilys-form-outer),
	.elementor-element:has(.eveilys-form-outer),
	.e-con:has(.eveilys-form-outer),
	.e-con-inner:has(.eveilys-form-outer),
	.site-main:has(.eveilys-form-outer),
	.site-content:has(.eveilys-form-outer),
	.content-area:has(.eveilys-form-outer),
	.entry-content:has(.eveilys-form-outer),
	article:has(.eveilys-form-outer),
	main:has(.eveilys-form-outer),
	#content:has(.eveilys-form-outer),
	#primary:has(.eveilys-form-outer),
	.page-content:has(.eveilys-form-outer),
	.ast-container:has(.eveilys-form-outer),
	[data-elementor-type]:has(.eveilys-form-outer) {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}
}

/* Hide Elementor header sections when event form is displayed */

.eveilys-form-outer {
	width: 100%;
	margin: -40px 0 0 0;
	padding: 0;
	background: transparent;
	--eve-content-width: 1200px;
	--eve-content-gutter: 20px;
}

.eveilys-form-header {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 4px 20px;
	margin: 0 0 0 0;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	gap: 16px;
	background: #FFFFFF !important;
	border-bottom: 1px solid #D9D9D9 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	height: 68px;
	box-sizing: border-box;
}

.eveilys-form-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: calc(var(--eve-content-width) + (var(--eve-content-gutter) * 2));
	gap: 16px;
}

.eveilys-form-title-group {
	display: none !important;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.eveilys-form-main-title {
	font-size: 32px;
	font-weight: 600;
	color: var(--eve-primary);
	margin: 0;
	font-family: 'Zalando Sans SemiExpanded';
}

.eveilys-btn-back {
	display: none !important;
	padding: 8px 16px;
	border: 1px solid var(--eve-primary);
	color: var(--eve-primary);
	border-radius: 100px;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	transition: 0.2s;
}

.eveilys-btn-back:hover {
	background: var(--eve-primary);
	color: #fff;
}

.eveilys-form-meta-row {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	border: none !important;
	padding: 0;
	gap: 12px;
}

.eveilys-form-tabs {
	display: flex;
	gap: 16px;
	align-items: center;
	height: 48px;
	padding-left: 0;
	border: 0 none !important;
	border-top: 0 none !important;
	border-right: 0 none !important;
	border-bottom: 0 none !important;
	border-left: 0 none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

.eveilys-tab-trigger {
	background: transparent !important;
	border: none !important;
	outline: none !important;
	padding: 2px 0 0;
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 20px !important;
	letter-spacing: 0px !important;
	text-align: center;
	vertical-align: middle;
	color: #626E79 !important;
	cursor: pointer;
	position: relative;
	transition: 0.2s;
	height: 48px;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.eveilys-tab-trigger:hover {
	color: #A84448 !important;
}

.eveilys-tab-trigger:focus {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

.eveilys-tab-trigger:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
	background: transparent !important;
}

.eveilys-tab-trigger.is-active {
	color: #A84448 !important;
	border-bottom: none !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
}

.eveilys-tab-trigger.is-active:focus,
.eveilys-tab-trigger.is-active:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Additional tab button reset */
.eveilys-form-tabs button {
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 10px 0 !important;
	margin: 0 !important;
	-webkit-appearance: none;
	appearance: none;
}

.eveilys-form-tabs button:hover {
	background: transparent !important;
	background-color: transparent !important;
	color: #626E79 !important;
	outline: none !important;
}

.eveilys-form-tabs button:focus {
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
}

.eveilys-form-tabs button:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

.eveilys-tab-trigger.is-active::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: #a84448;
	border-radius: 1.5px;
}

.eveilys-tab-trigger[data-tab="questions"] {
	display: none;
}

.eveilys-form-actions.eveilys-form-actions-mobile {
	display: none;
}

.eveilys-form-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-left: auto;
	padding-right: 0;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Reset action buttons */
.eveilys-form-actions button {
	padding: 0 16px !important;
	margin: 0 !important;
	border-radius: 8px !important;
	font-family: 'Inter' !important;
	text-decoration: none !important;
	min-width: 120px;
	height: 40px;
}

.eveilys-form-actions button:focus {
	outline: none !important;
	box-shadow: none !important;
}

.eveilys-template-container {
	max-width: 1256px;
	margin: 20px auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.eveilys-alert {
	background: #fff;
	border: 1px solid var(--eve-border);
	border-left: 4px solid var(--eve-primary);
	padding: 12px 14px;
	margin-bottom: 14px;
	border-radius: 8px;
	font-size: 14px;
}

.eveilys-btn {
	height: 40px;
	border: 1px solid #D9D9D9 !important;
	background: #FFFFFF !important;
	color: #A84448 !important;
	border-radius: 8px;
	padding: 0 18px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	font-family: 'Inter';
	outline: none !important;
	box-shadow: none !important;
}

.eveilys-btn:hover {
	background: #FFF8F8 !important;
	background-color: #FFF8F8 !important;
	border-color: #A84448 !important;
	color: #A84448 !important;
	filter: none !important;
}

.eveilys-btn:focus {
	outline: none !important;
	box-shadow: none !important;
	background-color: inherit !important;
}

.eveilys-btn-primary {
	background: #A84448 !important;
	background-color: #A84448 !important;
	color: #FFFFFF !important;
	border: 1px solid #A84448 !important;
	border-radius: 8px;
	padding: 12px 24px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none !important;
	box-shadow: none !important;
}

.eveilys-btn-primary:hover {
	background: #8E242C !important;
	background-color: #8E242C !important;
	color: #FFFFFF !important;
	border-color: #8E242C !important;
	filter: none !important;
}

.eveilys-btn-primary:focus {
	outline: none !important;
	box-shadow: none !important;
	background: #A84448 !important;
	background-color: #A84448 !important;
	color: #FFFFFF !important;
}

.eveilys-btn-secondary {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	color: #A84448 !important;
	border: 1px solid #D9D9D9 !important;
	border-radius: 8px;
	padding: 12px 24px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.eveilys-btn-secondary:hover {
	border-color: #A84448 !important;
	background: #FFF8F8 !important;
	background-color: #FFF8F8 !important;
	color: #A84448 !important;
}

.eveilys-btn-secondary:focus {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	color: #A84448 !important;
}

.eveilys-card {
	background: transparent;
	border: none !important;
	border-radius: 0;
	padding: 16px;
}

.eveilys-card h1,
.eveilys-card h2,
.eveilys-card h3,
.eveilys-card h4 {
	margin: 0 0 10px;
	line-height: 1.15;
}

.eveilys-card h1 {
	font-size: 48px;
	font-weight: 800;
	color: var(--eve-primary);
	letter-spacing: -0.02em;
}

.eveilys-card h3 {
	font-size: 24px;
	font-weight: 700;
	color: #2b3240;
}

.eveilys-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.eveilys-topbar-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--eve-primary);
}

/* Teacher Dashboard Refined Listing */
.eveilys-teacher-portal {
	max-width: 874px;
	margin: 0 auto;
	padding: 20px;
}



@media (max-width: 768px) {
	.eveilys-teacher-portal {
		padding: 20px 16px 16px 16px;
	}

	/* When editing an event, collapse the empty portal div on mobile */
	.eveilys-teacher-portal:has(+ .eveilys-form-outer) {
		padding: 0 !important;
		margin: 0 !important;
		max-height: 0;
		overflow: hidden;
	}
}

.eveilys-teacher-portal-inner {
	width: 100%;
	min-height: 60vh;
	padding-bottom: 100px;
}

.eveilys-dashboard-listing-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 0;
	padding-bottom: 12px;
	border-bottom: none;
}

.eveilys-dashboard-listing-tabs {
	display: flex;
	align-items: center;
	gap: 24px;
	background: #FFFFFF;
	height: 48px;
	padding: 0 16px;
	border-radius: 8px;
	border: 1px solid var(--eve-border);
	margin-bottom: 10px;
	position: relative;
}

.eveilys-dashboard-listing-tab {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0px;
	text-align: center;
	vertical-align: middle;
	color: var(--eve-muted);
	text-decoration: none;
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	transition: all 0.2s ease;
}

.eveilys-dashboard-listing-tab:hover {
	color: var(--eve-primary);
}

.eveilys-dashboard-listing-tab.is-active {
	color: var(--eve-primary);
	border-bottom: none;
	position: relative;
}

.eveilys-dashboard-listing-tab.is-active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 45px;
	height: 3px;
	background: var(--eve-primary);
	border-radius: 2px;
}

.eveilys-dashboard-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 10px;
}

.eveilys-dashboard-card {
	width: 854px !important;
	max-width: 100%;
	background: #fff;
	border: 1px solid var(--eve-border);
	border-radius: 8px;
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 35px;
	height: 150px;
	transition: box-shadow 0.2s ease;
}

@media (max-width: 1200px) {
	.eveilys-dashboard-card {
		width: 100% !important;
	}
}

@media (max-width: 992px) {
	.eveilys-dashboard-card {
		padding: 20px;
		gap: 20px;
		height: auto;
		min-height: 150px;
	}
}

.eveilys-dashboard-card:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.eveilys-dashboard-card-image {
	width: 133px;
	height: 102px;
	border-radius: 8px;
	overflow: hidden;
	background: #eee;
	flex-shrink: 0;
}

@media (max-width: 992px) {
	.eveilys-dashboard-card-image {
		width: 120px;
		height: 92px;
	}
}

.eveilys-dashboard-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eveilys-dashboard-card-main {
	flex-grow: 1;
}

.eveilys-dashboard-card-title {
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	line-height: 30px !important;
	letter-spacing: 0px !important;
	vertical-align: middle;
	color: var(--eve-primary);
	margin: 0 0 6px;
}

.eveilys-dashboard-card-title-link {
	color: inherit;
	text-decoration: none;
}

.eveilys-dashboard-card-title-link:hover {
	color: inherit;
	text-decoration: none;
}

.eveilys-dashboard-card-image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.eveilys-dashboard-card-image-link:hover {
	text-decoration: none;
}

.eveilys-dashboard-card-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eveilys-dashboard-card-meta-item {
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0px !important;
	vertical-align: middle;
	color: #39434C !important;
	display: flex;
	align-items: center;
	gap: 6px;
}

.eveilys-dashboard-card-meta-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #949ca5;
}

.eveilys-dashboard-card-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.eveilys-dashboard-status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid transparent;
}

.eveilys-dashboard-status-badge.is-published {
	background: #DFF7E7;
	color: #166534;
	border-color: #A7E2B8;
}

.eveilys-dashboard-status-badge.is-draft {
	background: #E7F1FF;
	color: #1D4ED8;
	border-color: #BED7FF;
}

.eveilys-dashboard-card-action {
	width: 36px;
	height: 36px;
	border: 1px solid var(--eve-border);
	background: #fff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--eve-primary);
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

button.eveilys-dashboard-card-action {
	padding: 0;
}

.eveilys-dashboard-card-action:hover {
	border-color: var(--eve-primary);
	background: var(--eve-primary);
	color: #fff;
}

.eveilys-dashboard-card-action--svg {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	color: inherit;
}

.eveilys-dashboard-card-action--svg:hover {
	border: 0;
	background: transparent;
}

.eveilys-dashboard-card-action-icon {
	display: block;
	width: 40px;
	height: 40px;
}

.eveilys-dashboard-card-menu {
	position: relative;
}

.eveilys-dashboard-card-menu-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 230px;
	background: #fff;
	border: 1px solid var(--eve-border);
	border-radius: 8px;
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
	padding: 6px;
	display: none;
	z-index: 50;
}

.eveilys-dashboard-card-menu.is-open .eveilys-dashboard-card-menu-dropdown {
	display: block;
}

.eveilys-dashboard-card-menu.is-open .eveilys-dashboard-card-menu-trigger {
	border-color: var(--eve-primary);
	box-shadow: 0 0 0 1px var(--eve-primary) inset;
	background: #fff;
	color: var(--eve-primary);
}

.eveilys-dashboard-card-menu.is-open .eveilys-dashboard-card-menu-trigger.eveilys-dashboard-card-action--svg {
	border-color: transparent;
	box-shadow: none;
	background: transparent;
	color: inherit;
}

.eveilys-dashboard-card-menu-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 500;
	color: #3e4752;
	text-decoration: none !important;
	line-height: 1.3;
	white-space: nowrap;
}

.eveilys-dashboard-card-menu-dropdown a.eveilys-dashboard-card-menu-item {
	color: #3e4752 !important;
	-webkit-text-fill-color: #3e4752 !important;
	text-decoration: none !important;
}

.eveilys-dashboard-card-menu-dropdown button.eveilys-dashboard-card-menu-item {
	width: 100%;
	margin: 0;
	border: 0 !important;
	outline: 0;
	background: transparent !important;
	box-shadow: none !important;
	font: inherit;
	text-align: left;
	cursor: pointer;
	color: #3e4752 !important;
	-webkit-text-fill-color: #3e4752 !important;
	text-decoration: none !important;
}

.eveilys-dashboard-card-menu-item:hover {
	background: #faf4f5;
	color: var(--eve-primary) !important;
	-webkit-text-fill-color: var(--eve-primary) !important;
	text-decoration: none !important;
}

.eveilys-dashboard-card-menu-item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #667085;
}

.eveilys-dashboard-card-menu-item.is-delete {
	color: #B42318;
}

.eveilys-dashboard-card-menu-dropdown button.eveilys-dashboard-card-menu-item.is-delete,
.eveilys-dashboard-card-menu-dropdown a.eveilys-dashboard-card-menu-item.is-delete {
	color: #B42318 !important;
}

.eveilys-dashboard-card-menu-item.is-delete:hover {
	background: #FEF3F2;
}

.eveilys-dashboard-card-menu-item.is-delete .dashicons {
	color: #B42318;
}

@media (max-width: 768px) {
	.eveilys-dashboard-listing-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding-bottom: 12px;
	}

	.eveilys-dashboard-heading {
		font-family: "Zalando Sans SemiExpanded", sans-serif;
		font-weight: 700;
		font-size: 18px;
		line-height: 1;
		letter-spacing: 0;
		margin: 0;
	}

	.eveilys-dashboard-listing-header .eveilys-btn.eveilys-btn-primary {
		font-family: "Zalando Sans SemiExpanded", sans-serif;
		font-weight: 500;
		font-size: 14px;
		line-height: 1;
		letter-spacing: 0;
		text-align: center;
		vertical-align: middle;
		width: 100%;
		max-width: 100%;
		height: 40px;
		padding: 12px;
		gap: 10px;
		border-radius: 8px;
		border-width: 1px;
		align-self: stretch;
	}

	.eveilys-dashboard-card {
		flex-direction: column;
		align-items: stretch;
		height: auto !important;
		padding: 0;
		gap: 0;
		overflow: visible;
	}

	.eveilys-dashboard-card-image {
		width: 100% !important;
		height: 252px !important;
		margin: 0;
		border-radius: 8px 8px 0 0;
		flex-shrink: unset;
	}

	.eveilys-dashboard-card-main {
		padding: 16px 16px 0 16px;
		width: 100%;
		box-sizing: border-box;
	}

	.eveilys-dashboard-card-title {
		width: 100%;
		margin: 0 0 8px;
	}

	.eveilys-dashboard-card-meta-item {
		font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
		font-size: 12px !important;
		font-weight: 400 !important;
		line-height: 1 !important;
		letter-spacing: 0px !important;
		vertical-align: middle;
		color: #39434C !important;
		display: flex;
		align-items: center;
		gap: 6px;
	}

	.eveilys-dashboard-card-meta .eveilys-dashboard-card-meta-item:last-child {
		font-family: "Zalando Sans SemiExpanded", sans-serif !important;
		font-weight: 500 !important;
		font-size: 12px !important;
		line-height: 16px !important;
		letter-spacing: 0 !important;
		display: block;
		margin-top: 12px;
	}

	.eveilys-dashboard-card-actions {
		padding: 12px 16px 16px 16px;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 10px;
		width: 100%;
		box-sizing: border-box;
	}

	.eveilys-dashboard-card-actions .eveilys-dashboard-status-badge {
		margin-right: auto;
	}

	.eveilys-dashboard-card-actions .eveilys-dashboard-card-action,
	.eveilys-dashboard-card-actions .eveilys-dashboard-card-menu {
		flex-shrink: 0;
	}

	.eveilys-dashboard-card-menu {
		z-index: 81;
	}

	.eveilys-dashboard-card-menu-dropdown {
		top: auto;
		bottom: calc(100% + 8px);
		right: 0;
		left: auto;
		z-index: 80;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.eveilys-dashboard-card {
		flex-direction: column;
		align-items: stretch;
		padding: 0;
		gap: 0;
		height: auto !important;
		overflow: visible;
	}

	.eveilys-dashboard-card-image {
		width: 100% !important;
		height: 388px !important;
		margin: 0;
		border-radius: 8px 8px 0 0;
	}

	.eveilys-dashboard-card-main {
		padding: 20px 20px 0 20px;
		min-height: 150px;
	}

	.eveilys-dashboard-card-actions {
		padding: 14px 20px 20px 20px;
	}
}

.eveilys-dashboard-heading {
	font-size: 26px;
	font-weight: 800;
	color: var(--eve-text);
	margin: 0;
}

.eveilys-badge-past {
	display: inline-block;
	background: #FEE2E2;
	color: #991B1B;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 100px;
	margin-left: 8px;
	vertical-align: middle;
}

.eveilys-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 4px;
}

.eveilys-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #d7dadd;
	border-radius: 8px;
	background: #fff;
	color: #39434c;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.eveilys-pagination .page-numbers:hover {
	border-color: var(--eve-primary);
	color: var(--eve-primary);
	background: #fff8f8;
}

.eveilys-pagination .page-numbers.current {
	border-color: var(--eve-primary);
	background: var(--eve-primary);
	color: #fff;
}

.eveilys-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	min-width: auto;
	padding: 0 2px;
}

.eveilys-event-form-v2 {
	max-width: calc(var(--eve-content-width) + (var(--eve-content-gutter) * 2));
	margin: 0 auto;
	padding: 24px 0 40px;
	background: #FFF8F8;
	border: none !important;
	border-radius: 0;
	box-shadow: none !important;
	outline: none;
	box-sizing: border-box;
}

@media (min-width: 1025px) {
	body.admin-bar:has(.eveilys-event-form-v2) #page {
		min-height: calc(100vh - 32px);
	}
}

.eveilys-tab-pane {
	display: none;
}

.eveilys-tab-pane.is-active {
	display: block;
}

.eveilys-grid-2 {
	display: grid;
	grid-template-columns: minmax(0, 500px) minmax(0, calc(100% - 520px));
	gap: 20px;
}

.eveilys-date-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 24px;
	margin-bottom: 20px;
}

.eveilys-event-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--eve-label);
	font-family: 'Inter';
}

.eveilys-event-form input,
.eveilys-event-form select,
.eveilys-event-form textarea,
.eveilys-enroll-form input,
.eveilys-enroll-form textarea {
	background: #FFFFFF;
	border: 1px solid var(--eve-input-border);
	border-radius: 4px;
	padding: 8px 8px;
	width: 100%;
	font-size: 14px;
	color: #222831;
	font-family: 'Inter';
	box-sizing: border-box;
}

.eveilys-event-form input:focus,
.eveilys-event-form select:focus,
.eveilys-event-form textarea:focus,
.eveilys-enroll-form input:focus,
.eveilys-enroll-form textarea:focus {
	outline: none !important;
	border-color: #A84448 !important;
	box-shadow: none !important;
}

.eveilys-form-subtitle {
	font-size: 14px;
	font-weight: 500;
	margin: 20px 0 8px;
	color: #39434C;
	font-family: 'Zalando Sans SemiExpanded';
}

.eveilys-form-repeaters input {
	margin-bottom: 8px;
}

.eveilys-upload {
	border: 1px dashed #b8bec7;
	border-radius: 10px;
	padding: 18px;
	background: #fafbfc;
}

.eveilys-gallery-grid {
	margin-top: 12px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.eveilys-gallery-cell {
	border-radius: 8px;
	overflow: hidden;
	background: #e8e8e8;
	aspect-ratio: 1 / 1;
}

.eveilys-gallery-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eveilys-events-list-layout {
	padding-top: 8px;
}

.eveilys-events-list-layout.is-loading {
	opacity: 0.65;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.eveilys-events-filters {
	margin-bottom: 24px;
}

.eveilys-filter-item .dashicons {
	color: var(--eve-primary);
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.eveilys-filter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	background: #fff;
	padding: 12px 20px;
	border-radius: 999px;
	/* Pill shape for filter bar */
	border: 1px solid var(--eve-border);
	box-shadow: var(--eve-shadow);
	margin: 0 auto 30px;
	max-width: fit-content;
}

.eveilys-filter-item {
	display: flex;
	align-items: center;
	padding: 0 16px;
	border-right: 1px solid var(--eve-border);
}

.eveilys-filter-item:last-child {
	border-right: none;
}

.eveilys-filter-form input,
.eveilys-filter-form select {
	border: 1px solid var(--eve-input-border) !important;
	background: #fff !important;
	font-size: 15px;
	font-weight: 600;
	color: var(--eve-text);
	padding: 8px 32px 8px 12px;
	cursor: pointer;
	height: 38px;
	box-shadow: var(--eve-shadow);
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	position: relative;
	min-width: 120px;
	border: 1px solid var(--eve-input-border) !important;
	background: #fff !important;
	font-size: 15px;
	font-weight: 600;
	color: var(--eve-text);
	padding: 8px 32px 8px 12px;
	height: 38px;
	box-shadow: var(--eve-shadow);
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
	background-image: url('data:image/svg+xml;utf8,<svg fill="%23a84448" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 8l3 3 3-3" stroke="%23a84448" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px 20px;
	box-sizing: border-box;
}

.eveilys-filter-form input::placeholder {
	color: var(--eve-muted);
}

.eveilys-filter-form select:focus,
.eveilys-filter-form input:focus {
	outline: none;
	border-color: var(--eve-primary) !important;
	box-shadow: 0 0 0 2px rgba(168, 68, 72, 0.12);
}

.eveilys-filter-form .eveilys-btn {
	background: var(--eve-primary);
	color: #fff;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url('data:image/svg+xml;utf8,<svg fill="%23a84448" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 8l3 3 3-3" stroke="%23a84448" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px 20px;
}

.eveilys-filter-form .eveilys-btn span {
	font-size: 20px;
}

.eveilys-list-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.eveilys-results-count {
	font-size: 16px;
	font-weight: 700;
	color: var(--eve-text);
}

.eveilys-map-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #d8d2d5;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	color: #4a5565;
	cursor: pointer;
	transition: all 0.2s;
}

.eveilys-map-toggle:hover {
	background: #f5f5f5;
}

.eveilys-map-toggle.is-active {
	background: #f0eef0;
	color: var(--eve-text);
	border-color: #d8d2d5;
}

.eveilys-events-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.eveilys-events-list-layout.with-map .eveilys-events-content {
	display: flex;
	gap: 30px;
	position: relative;
}

.eveilys-events-cards {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	transition: all 0.3s ease;
}

/* Half-page Map View Active */
.eveilys-events-list-layout.map-active .eveilys-events-cards {
	grid-template-columns: repeat(2, 1fr);
	/* 2 columns when map is open */
}

.eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
	display: block !important;
	width: 45%;
	height: calc(100vh - 150px);
	position: sticky;
	top: 120px;
	border-radius: var(--eve-radius);
	overflow: hidden;
	box-shadow: var(--eve-shadow);
}

.eveilys-map {
	width: 100%;
	height: 100%;
}

@media (max-width: 1024px) {
	.eveilys-events-list-layout.map-active .eveilys-events-content {
		flex-direction: column;
	}

	.eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
		width: 100%;
		height: 400px;
		position: relative;
		top: 0;
	}
}

/* Event Card Refinement */
.eveilys-event-card {
	background: #fff;
	border: 1px solid var(--eve-border);
	border-radius: var(--eve-radius);
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	position: relative;
}

.eveilys-event-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.eveilys-event-card-image {
	position: relative;
	aspect-ratio: 16/9;
	background: #f0f0f0;
}

.eveilys-event-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}

.eveilys-event-card-images img:first-child {
	display: block;
}

.eveilys-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 10;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.9);
	color: var(--eve-text);
}

.status-badge {
	left: auto;
	right: 12px;
	background: #d4edda;
	color: #155724;
}

.eve-favorite-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 11;
	background: rgba(255, 255, 255, 0.9) !important;
	background-color: rgba(255, 255, 255, 0.9) !important;
	border: none !important;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--eve-muted) !important;
	transition: 0.2s;
}

.eveilys-event-card-images:has(.status-badge)+.eve-favorite-btn,
.status-badge~.eve-favorite-btn {
	top: 50px;
	/* Offset if status badge exists */
}

.eve-favorite-btn:hover {
	color: #e91e63 !important;
	background: rgba(255, 255, 255, 0.9) !important;
	background-color: rgba(255, 255, 255, 0.9) !important;
	transform: scale(1.1);
}

.eve-favorite-btn:focus {
	background: rgba(255, 255, 255, 0.9) !important;
	background-color: rgba(255, 255, 255, 0.9) !important;
	color: var(--eve-muted) !important;
	outline: none !important;
}

.eve-favorite-btn.is-favorited {
	color: #A84448 !important;
}

.eve-favorite-btn.is-favorited:hover,
.eve-favorite-btn.is-favorited:focus {
	color: #A84448 !important;
}

.eve-card-slider-nav {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 12px;
	z-index: 10;
	opacity: 0;
	transition: 0.2s;
}

.eveilys-event-card:hover .eve-card-slider-nav {
	opacity: 1;
}

.eve-card-slider-nav .dashicons {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 4px;
	cursor: pointer;
	padding: 4px;
}

.eveilys-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #fff;
	color: var(--eve-text);
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.eveilys-card-badge.is-confirmed {
	color: #2D6A4F;
	background: #D8F3DC;
}

.eveilys-card-favorite {
	position: absolute;
	top: 12px;
	right: 12px;
	color: #fff;
	font-size: 20px;
	z-index: 2;
	cursor: pointer;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.eveilys-event-card-main {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.eveilys-card-category {
	font-size: 12px;
	font-weight: 700;
	color: var(--eve-muted);
	margin-bottom: 4px;
}

.eveilys-event-card-main h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 12px 0;
	line-height: 1.3;
	color: var(--eve-text);
}

.eveilys-meta-line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--eve-text);
	margin-bottom: 8px;
	font-weight: 500;
}

.eveilys-meta-line .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: var(--eve-primary);
	/* Maroon icons per Figma */
}

.eveilys-card-footer {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--eve-border);
	display: flex;
	justify-content: flex-end;
	/* Align price to right */
	align-items: baseline;
	gap: 4px;
}

.eveilys-card-price-label {
	font-size: 13px;
	color: var(--eve-muted);
	font-weight: 500;
}

.eveilys-card-price {
	font-size: 18px;
	font-weight: 800;
	color: var(--eve-text);
}

.eveilys-card-price small {
	font-size: 12px;
	font-weight: 500;
	color: var(--eve-muted);
	display: block;
}

/* Author line in card */
.eve-card-author {
	font-size: 13px;
	color: var(--eve-muted);
	margin-bottom: 8px;
	font-weight: 500;
}

/* Card title link */
.eve-card-title-link {
	text-decoration: none;
	color: var(--eve-accent);
}

.eve-card-title-link:hover {
	color: var(--eve-primary-dark);
}

.eve-card-title-link h3 {
	color: var(--eve-accent);
}

/* Card features / highlights list */
.eve-card-features {
	list-style: disc;
	padding-left: 20px;
	margin: 8px 0 0 0;
	font-size: 13px;
	color: var(--eve-accent);
	flex: 1;
}

.eve-card-features li {
	margin-bottom: 3px;
	line-height: 1.4;
}

/* Meta row grid in card */
.eve-card-meta-grid {
	margin-bottom: 4px;
}

/* =============================================
   EVENTS DIRECTORY — Figma Match
   ============================================= */

/* Page background — Figma: #FFF8F8 */
.eveilys-events-list-layout {
	font-family: var(--eve-font);
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #FFF8F8;
}

/* Filter bar — full-width white strip */
.eveilys-events-list-layout .eveilys-events-filters {
	background: #fff;
	border-bottom: 1px solid #e8e0dd;
	padding: 14px 0;
	margin-bottom: 0;
}

.eveilys-events-list-layout .eveilys-filter-pills {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	border: none;
}

@media (max-width: 768px) {
	.eveilys-events-list-layout .eveilys-filter-pills {
		display: flex !important;
		flex-wrap: wrap;
		gap: 12px;
		align-items: flex-start;
		padding: 0 !important;
		margin: 0 !important;
		max-width: 100% !important;
	}
}

.eveilys-filter-pill {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	background: transparent;
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
	gap: 0;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.eveilys-filter-pill {
		display: flex !important;
		align-items: center;
		flex: 1 1 calc(50% - 6px);
		min-width: 140px;
		white-space: normal;
	}
}

/* Styled dropdown select — professional design */
.eveilys-filter-pill select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid var(--eve-border, #d8d2cc) !important;
	background: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A84448' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 12px !important;
	font-size: 14px;
	font-weight: 500;
	color: var(--eve-text, #333);
	padding: 10px 32px 10px 14px !important;
	margin: 0 !important;
	cursor: pointer;
	height: 40px !important;
	min-height: 40px !important;
	line-height: 1.4;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
	outline: none !important;
	border-radius: 8px !important;
	min-width: 120px;
	width: auto;
	font-family: var(--eve-font);
	text-overflow: ellipsis;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eveilys-filter-pill select:hover {
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 4px 12px rgba(168, 68, 72, 0.12) !important;
}

.eveilys-filter-pill select:focus {
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 0 0 3px rgba(168, 68, 72, 0.15) !important;
}

.eveilys-filter-pill:has(.eveilys-pill-toggle-text) {
	border: 1px solid var(--eve-border, #d8d2cc) !important;
	background: #fff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
	outline: none !important;
	border-radius: 8px !important;
	min-width: 120px;
	height: 40px !important;
	min-height: 40px !important;
	padding: 8px 14px !important;
	gap: 12px;
	justify-content: space-between;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eveilys-filter-pill:has(.eveilys-pill-toggle-text):hover,
.eveilys-filter-pill:has(.eveilys-pill-toggle-text):focus-within {
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 4px 12px rgba(168, 68, 72, 0.12) !important;
}

.eveilys-pill-toggle-text {
	font-size: 14px;
	font-weight: 500;
	color: var(--eve-text, #333);
	line-height: 1.4;
}

@media (max-width: 768px) {
	.eveilys-filter-pill select {
		width: 100% !important;
		min-width: auto !important;
	}

	.eveilys-filter-pill:has(.eveilys-pill-toggle-text) {
		width: 100% !important;
		min-width: auto !important;
	}
}

/* ===== Custom Styled Dropdown ===== */
.eveilys-custom-dropdown {
	position: relative;
	display: inline-block;
}

.eveilys-dropdown-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 14px;
	min-width: 120px;
	height: 40px;
	background: #fff;
	border: 1px solid var(--eve-border, #d8d2cc);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--eve-text, #333);
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	font-family: var(--eve-font);
}

.eveilys-dropdown-trigger:hover {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 4px 12px rgba(168, 68, 72, 0.12) !important;
	color: var(--eve-text, #333) !important;
}

.eveilys-dropdown-trigger:focus {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 0 0 3px rgba(168, 68, 72, 0.15) !important;
	color: var(--eve-text, #333) !important;
	outline: none !important;
}

.eveilys-custom-dropdown.is-open .eveilys-dropdown-trigger {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 0 0 3px rgba(168, 68, 72, 0.15) !important;
	color: var(--eve-text, #333) !important;
}

.eveilys-dropdown-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eveilys-dropdown-arrow {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid var(--eve-primary, #A84448);
	transition: transform 0.2s ease;
}

.eveilys-custom-dropdown.is-open .eveilys-dropdown-arrow {
	transform: rotate(180deg);
}

.eveilys-dropdown-panel {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 100%;
	max-height: 240px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--eve-border, #d8d2cc);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all 0.2s ease;
}

.eveilys-custom-dropdown.is-open .eveilys-dropdown-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.eveilys-dropdown-item {
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 400;
	color: var(--eve-text, #333);
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.eveilys-dropdown-item:first-child {
	border-radius: 7px 7px 0 0;
}

.eveilys-dropdown-item:last-child {
	border-radius: 0 0 7px 7px;
}

.eveilys-dropdown-item:hover {
	background: rgba(168, 68, 72, 0.08);
	color: var(--eve-primary, #A84448);
}

.eveilys-dropdown-item.is-selected {
	background: var(--eve-primary, #A84448);
	color: #fff;
	font-weight: 500;
}

.eveilys-dropdown-item.is-selected:hover {
	background: var(--eve-primary-hover, #8E242C);
	color: #fff;
}

/* Scrollbar styling for dropdown panel */
.eveilys-dropdown-panel::-webkit-scrollbar {
	width: 6px;
}

.eveilys-dropdown-panel::-webkit-scrollbar-track {
	background: #f5f5f5;
	border-radius: 3px;
}

.eveilys-dropdown-panel::-webkit-scrollbar-thumb {
	background: var(--eve-primary, #A84448);
	border-radius: 3px;
}

.eveilys-dropdown-panel::-webkit-scrollbar-thumb:hover {
	background: var(--eve-primary-hover, #8E242C);
}

.eveilys-filter-pill input[type="date"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid var(--eve-border, #d8d2cc) !important;
	background: #fff !important;
	font-size: 14px;
	font-weight: 500;
	color: var(--eve-text, #333);
	padding: 10px 14px !important;
	margin: 0 !important;
	cursor: pointer;
	height: 40px !important;
	min-height: 40px !important;
	line-height: 1.4;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
	outline: none !important;
	border-radius: 8px !important;
	min-width: 140px;
	width: auto;
	font-family: var(--eve-font);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	opacity: 1;
}

.eveilys-filter-pill input[type="date"]:hover {
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 4px 12px rgba(168, 68, 72, 0.12) !important;
}

.eveilys-filter-pill input[type="date"]:focus {
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 0 0 3px rgba(168, 68, 72, 0.15) !important;
}

.eveilys-filter-pill-date-range {
	position: relative;
}

.eveilys-date-range-dropdown {
	position: relative;
	min-width: 140px;
}

.eveilys-date-range-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-width: 140px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--eve-border, #d8d2cc) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--eve-text, #333);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
	font: inherit;
	cursor: pointer;
}

.eveilys-date-range-trigger:hover {
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 4px 12px rgba(168, 68, 72, 0.12) !important;
}

.eveilys-date-range-trigger:focus {
	outline: none !important;
	border-color: var(--eve-primary, #A84448) !important;
	box-shadow: 0 0 0 3px rgba(168, 68, 72, 0.15) !important;
}

.eveilys-date-range-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eveilys-date-range-arrow {
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}

.eveilys-date-range-dropdown.is-open .eveilys-date-range-arrow {
	transform: rotate(225deg);
	margin-top: 4px;
}

.eveilys-date-range-panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 50;
	width: 290px;
	padding: 12px;
	border: 1px solid var(--eve-border, #d8d2cc);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.eveilys-date-range-calendar {
	width: 100%;
}

.eveilys-date-range-calendar .ui-datepicker {
	width: 100%;
	padding: 0;
	border: none;
	background: transparent;
	font-family: var(--eve-font);
}

.eveilys-date-range-calendar .ui-datepicker-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0 10px;
	border: none;
	background: transparent;
	color: var(--eve-text, #333);
	font-weight: 700;
}

.eveilys-date-range-calendar .ui-datepicker-title {
	margin: 0;
	font-size: 14px;
}

.eveilys-date-range-calendar .ui-datepicker-prev,
.eveilys-date-range-calendar .ui-datepicker-next {
	position: static;
	width: 28px;
	height: 28px;
	border: 1px solid var(--eve-border, #d8d2cc);
	border-radius: 8px;
	cursor: pointer;
}

.eveilys-date-range-calendar .ui-datepicker-prev span,
.eveilys-date-range-calendar .ui-datepicker-next span {
	display: none;
}

.eveilys-date-range-calendar .ui-datepicker-prev::before,
.eveilys-date-range-calendar .ui-datepicker-next::before {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 16px;
	font-weight: 700;
	color: var(--eve-text, #333);
}

.eveilys-date-range-calendar .ui-datepicker-prev::before {
	content: "‹";
}

.eveilys-date-range-calendar .ui-datepicker-next::before {
	content: "›";
}

.eveilys-date-range-calendar table {
	margin: 0;
}

.eveilys-date-range-calendar th {
	padding: 0 0 6px;
	font-size: 11px;
	font-weight: 600;
	color: #777;
}

.eveilys-date-range-calendar td {
	padding: 2px;
}

.eveilys-date-range-calendar td span,
.eveilys-date-range-calendar td a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0 auto;
	border: none !important;
	border-radius: 10px;
	background: transparent !important;
	color: var(--eve-text, #333) !important;
	text-decoration: none !important;
}

.eveilys-date-range-calendar td a:hover {
	background: rgba(168, 68, 72, 0.08) !important;
}

.eveilys-date-range-calendar .ui-datepicker-current-day a,
.eveilys-date-range-calendar td.eve-range-start a,
.eveilys-date-range-calendar td.eve-range-end a {
	background: var(--eve-primary, #A84448) !important;
	color: #fff !important;
}

.eveilys-date-range-calendar td.eve-range-between a {
	background: rgba(168, 68, 72, 0.14) !important;
	color: var(--eve-primary, #A84448) !important;
}

.eveilys-date-range-summary {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--eve-text, #333);
	min-height: 18px;
}

.eveilys-date-range-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
}

.eveilys-date-range-clear {
	border: none;
	background: transparent;
	color: var(--eve-primary, #A84448);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}

.eveilys-date-range-clear:hover {
	color: var(--eve-primary-hover, #8E242C);
}

.eveilys-date-range-done {
	border: none;
	border-radius: 8px;
	background: var(--eve-primary, #A84448);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px 14px;
	line-height: 1;
}

.eveilys-date-range-done:hover {
	background: var(--eve-primary-hover, #8E242C);
}

@media (max-width: 768px) {
	.eveilys-filter-pill input[type="date"] {
		width: 100% !important;
		min-width: auto !important;
	}

	.eveilys-date-range-dropdown,
	.eveilys-date-range-trigger {
		width: 100%;
		min-width: auto;
	}

	.eveilys-date-range-panel {
		width: min(290px, calc(100vw - 48px));
	}
}

/* Hide the pill label when date input is visible */
.eveilys-filter-pill .eveilys-pill-label {
	display: none;
}

/* Search submit button — styled */
.eveilys-filter-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--eve-primary, #A84448) !important;
	background-color: #A84448 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	width: auto;
	min-width: 82px;
	height: 40px;
	padding: 0 14px !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	box-shadow: 0 2px 8px rgba(168, 68, 72, 0.25) !important;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	white-space: nowrap;
}

.eveilys-filter-submit:hover {
	background: #8E242C !important;
	background-color: #8E242C !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.eveilys-filter-submit:focus {
	background: #A84448 !important;
	background-color: #A84448 !important;
	color: #fff !important;
	outline: none !important;
}

.eveilys-filter-submit .dashicons {
	display: none;
}

/* ---- Inner container 1200px ---- */
.eveilys-events-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 20px 20px;
}

/* ---- Toolbar ---- */
.eveilys-events-list-layout .eveilys-list-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.eveilys-results-count {
	font-size: 14px;
	font-weight: 600;
	color: var(--eve-text);
}

/* Toggle switch */
.eveilys-map-toggle-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: var(--eve-text);
	user-select: none;
}

.eveilys-toggle-switch {
	width: 40px;
	height: 22px;
	border-radius: 999px;
	background: #ccc;
	position: relative;
	transition: background 0.2s;
}

.eveilys-toggle-switch.is-active {
	background: var(--eve-accent);
}

.eveilys-toggle-knob {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	position: absolute;
	top: 2px;
	left: 2px;
	transition: transform 0.2s;
}

.eveilys-toggle-switch.is-active .eveilys-toggle-knob {
	transform: translateX(18px);
}

/* ---- Split Content: Cards + Map ---- */
/* Override old grid rules */
.eveilys-events-list-layout .eveilys-events-content {
	display: flex !important;
	grid-template-columns: none !important;
	gap: 20px;
	align-items: flex-start;
	padding-top: 16px;
}

.eveilys-events-list-layout.map-active .eveilys-events-content {
	display: flex !important;
	flex-direction: row !important;
	gap: 20px;
	padding-top: 16px;
}

.eveilys-events-list-layout .eveilys-events-cards {
	flex: 1;
	min-width: 0;
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	gap: 12px !important;
}

.eveilys-events-list-layout.map-active .eveilys-events-cards {
	flex: 1;
	min-width: 0;
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	gap: 12px !important;
	overflow-y: auto;
	padding-right: 6px;
}

/* Custom scrollbar */
.eveilys-events-list-layout.map-active .eveilys-events-cards::-webkit-scrollbar {
	width: 4px;
}

.eveilys-events-list-layout.map-active .eveilys-events-cards::-webkit-scrollbar-track {
	background: transparent;
}

.eveilys-events-list-layout.map-active .eveilys-events-cards::-webkit-scrollbar-thumb {
	background: var(--eve-border);
	border-radius: 4px;
}

/* Map container */
.eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
	width: 35% !important;
	flex-shrink: 0;
	display: block !important;
	position: sticky;
	top: 0;
	height: 600px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--eve-border);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.eveilys-events-list-layout.map-active .eveilys-events-map-wrap .eveilys-map {
	width: 100% !important;
	height: 100% !important;
}

/* Numbered map markers — Figma style */
.eve-cluster-marker {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f1e1e2;
	border: 2px solid #A84448;
	color: #A84448;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--eve-font), sans-serif;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Map popup card */
.eve-map-popup-inner {
	display: flex;
	gap: 10px;
	font-family: var(--eve-font), sans-serif;
}

.eve-map-popup-img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.eve-map-popup-info {
	flex: 1;
	min-width: 0;
}

.eve-map-popup-title {
	font-size: 14px;
	font-weight: 700;
	color: #A84448;
	margin-bottom: 4px;
}

.eve-map-popup-meta {
	font-size: 11px;
	color: #666;
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 2px;
}

.eve-map-popup-meta .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

.eve-map-popup-price {
	font-size: 13px;
	color: #222;
	margin-top: 4px;
}

/* Hide map zoom controls */
.eveilys-events-map-wrap .leaflet-control-zoom {
	display: none !important;
}

/* Hide map attribution */
.eveilys-events-map-wrap .leaflet-control-attribution {
	display: none !important;
}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none !important;
	display: none !important;
}

.eveilys-events-list-layout:not(.map-active) .eveilys-events-map-wrap {
	display: none !important;
}

/* ---- Horizontal Event Card ---- */
.eveilys-event-card-h {
	display: flex !important;
	flex-direction: row !important;
	background: #fff;
	border: 1px solid #e8e0dd;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.2s;
	position: relative;
	min-height: 0;
	cursor: pointer;
}

.eveilys-event-card-h:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border-color: var(--eve-accent);
}

.eveilys-event-card-h:focus-visible {
	outline: 2px solid var(--eve-accent);
	outline-offset: 2px;
}

/* Card image section */
.eveilys-card-h-image {
	width: 240px;
	min-width: 240px;
	position: relative;
	overflow: hidden;
	background: #f0ebe7;
	border-radius: 12px;
	margin: 25px 35px 25px 25px;
}

.eveilys-card-h-slider {
	width: 100%;
	height: 100%;
	min-height: 160px;
	position: relative;
}

.eveilys-card-h-slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.eveilys-card-h-slider img:first-child {
	display: block;
}

.eveilys-card-h-slider .eveilys-placeholder {
	width: 100%;
	height: 100%;
	min-height: 160px;
	background: linear-gradient(135deg, #f0ebe7 0%, #e0d5cc 100%);
}

/* Slider arrows — always visible, color switch on hover */
.eveilys-slider-prev,
.eveilys-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	border: 0 !important;
	width: 33px;
	height: 31px;
	border-radius: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 1 !important;
	transition: all 0.25s;
	padding: 0;
	box-shadow: none;
	outline: none !important;
}

.eveilys-slider-prev::before,
.eveilys-slider-next::before {
	content: "";
	display: block;
	width: 33px;
	height: 31px;
	background: url("../images/group-93.svg") no-repeat center / contain;
}

.eveilys-slider-prev::before {
	transform: rotate(180deg);
}

/* Carousel arrow hover — no color change */
.eveilys-slider-prev:hover,
.eveilys-slider-next:hover,
.eveilys-slider-prev:focus,
.eveilys-slider-next:focus,
.eveilys-slider-prev:active,
.eveilys-slider-next:active {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

.eveilys-slider-prev:hover .dashicons,
.eveilys-slider-next:hover .dashicons,
.eveilys-slider-prev:active .dashicons,
.eveilys-slider-next:active .dashicons {
	color: #A84448 !important;
}

.eveilys-slider-prev {
	left: 6px;
}

.eveilys-slider-next {
	right: 6px;
}

.eveilys-slider-prev .dashicons,
.eveilys-slider-next .dashicons {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	opacity: 0 !important;
	background: transparent !important;
	border: 0 !important;
	overflow: hidden !important;
}

/* Force-reset theme button effects behind custom slider arrows */
button.eveilys-slider-prev,
button.eveilys-slider-next,
button.eveilys-slider-prev:hover,
button.eveilys-slider-next:hover,
button.eveilys-slider-prev:focus,
button.eveilys-slider-next:focus,
button.eveilys-slider-prev:active,
button.eveilys-slider-next:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

button.eveilys-slider-prev::after,
button.eveilys-slider-next::after {
	content: none !important;
	display: none !important;
}

button.eveilys-slider-prev::-moz-focus-inner,
button.eveilys-slider-next::-moz-focus-inner {
	border: 0 !important;
	padding: 0 !important;
}

/* Slider dots */
.eveilys-slider-dots {
	position: absolute;
	bottom: 6px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	z-index: 5;
}

.eveilys-dot {
	display: block;
	flex: 0 0 auto;
	width: 5px;
	height: 5px;
	background-image: url("../images/group-copy-4.svg");
	background-repeat: no-repeat;
	background-size: 69px 9px;
	background-position: -13px -2px;
	transition: all 0.2s;
}

.eveilys-dot.is-active {
	width: 8px;
	height: 8px;
	background-position: 0 0;
}

/* Card body */
.eveilys-card-h-body {
	flex: 1;
	padding: 16px 16px 16px 0;
	display: flex;
	flex-direction: column;
	min-width: 0;
	justify-content: center;
}

.eveilys-card-h-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 4px;
}

.eveilys-card-h-title {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: var(--eve-accent);
	text-decoration: none !important;
	line-height: 30px !important;
}

.eveilys-card-h-title:hover {
	color: var(--eve-primary-dark);
	text-decoration: underline;
}

/* Heart — bare outline icon, no container */
.eveilys-card-h-top .eve-favorite-btn {
	position: static;
	flex-shrink: 0;
	background: transparent;
	border: none;
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.2s;
	padding: 4px;
}

.eveilys-card-h-top .eve-favorite-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	-webkit-text-stroke: 1.5px #A84448;
	color: transparent;
}

.eveilys-card-h-top .eve-favorite-btn:hover .dashicons {
	color: #A84448;
}

.eveilys-card-h-top .eve-favorite-btn.is-favorited .dashicons {
	color: #A84448;
}

/* Card meta */
.eveilys-card-h-meta {
	margin-bottom: 4px;
}

.eveilys-card-h-meta .eveilys-meta-line {
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	font-style: normal !important;
	line-height: 1.2em !important;
	letter-spacing: 0px !important;
	vertical-align: middle;
	color: var(--eve-text-light);
	margin-bottom: 1px;
}

.eveilys-card-h-meta .eveilys-meta-line .dashicons {
	font-size: 13px;
	width: 13px;
	height: 13px;
	color: #999;
}

/* Card highlights */
.eveilys-card-h-highlights {
	list-style: disc;
	padding-left: 16px;
	margin: 4px 0 0;
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	line-height: 20px !important;
	letter-spacing: 0 !important;
	color: var(--eve-text-light);
}

.eveilys-card-h-highlights li {
	margin-bottom: 0;
	line-height: 20px;
	position: relative;
	padding-left: 14px;
}

.eveilys-card-h-highlights,
.eveilys-events-list-layout .eveilys-card-h-features,
.eveilys-events-list-layout .eveilys-card-h-highlights,
.eveilys-events-list-layout .eveilys-event-card-features {
	list-style: none !important;
	padding-left: 0 !important;
}

.eveilys-events-list-layout .eveilys-card-h-features li,
.eveilys-events-list-layout .eveilys-card-h-highlights li,
.eveilys-events-list-layout .eveilys-event-card-features li {
	position: relative;
	padding-left: 14px;
}

.eveilys-card-h-highlights li::before,
.eveilys-events-list-layout .eveilys-card-h-features li::before,
.eveilys-events-list-layout .eveilys-card-h-highlights li::before,
.eveilys-events-list-layout .eveilys-event-card-features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 6px;
	background: url("../images/oval-copy-64.svg") no-repeat center / contain;
}

/* Card price */
.eveilys-card-h-price {
	margin-top: 6px;
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	font-style: normal !important;
	line-height: 30px !important;
	letter-spacing: 0px !important;
	vertical-align: middle;
	color: var(--eve-accent);
}

.eveilys-card-h-price .eveilys-price-label,
.eveilys-event-card-price .eveilys-price-label {
	color: var(--eve-accent);
	margin-right: 4px;
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-style: normal !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 20px !important;
	letter-spacing: 0 !important;
	vertical-align: middle;
}

.eveilys-card-h-price strong,
.eveilys-event-card-price strong {
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-weight: 600 !important;
	font-style: normal !important;
	font-size: 20px !important;
	line-height: 30px !important;
	letter-spacing: 0 !important;
	vertical-align: middle;
}

/* ---- Map Popup ---- */
.eve-map-popup {
	font-family: var(--eve-font);
	min-width: 220px;
}

.eve-map-popup-inner {
	display: flex;
	gap: 10px;
}

.eve-map-popup-img {
	width: 70px;
	height: 70px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.eve-map-popup-info {
	flex: 1;
	min-width: 0;
}

.eve-map-popup-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--eve-accent);
	margin: 0 0 4px;
	line-height: 1.2;
}

.eve-map-popup-meta {
	font-size: 11px;
	color: var(--eve-text-light);
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 2px;
}

.eve-map-popup-meta .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
	color: var(--eve-primary);
}

.eve-map-popup-price {
	font-size: 13px;
	font-weight: 700;
	color: var(--eve-accent);
	margin-top: 4px;
}

/* In-map popup card specs (only inside listing map) */
.eveilys-events-map-wrap .leaflet-popup-content-wrapper {
	border-radius: 8px;
	padding: 0;
	border: 1px solid #E2E8F0;
	box-shadow: none;
}

.eveilys-map-single-v2 .leaflet-popup-content-wrapper {
	border-radius: 8px;
	padding: 0;
	border: 1px solid #E2E8F0;
	box-shadow: none;
}

.eveilys-events-map-wrap .leaflet-popup-content {
	margin: 0;
	border: 1px #D9D9D9;
}

.eveilys-map-single-v2 .leaflet-popup-content {
	margin: 0;
}

.eveilys-events-map-wrap .eve-map-popup {
	display: block;
	width: 318px;
	height: 111px;
	box-sizing: border-box;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	text-decoration: none;
	color: inherit;
}

.eveilys-map-single-v2 .eve-map-popup {
	display: block;
	width: 318px;
	height: 111px;
	box-sizing: border-box;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	text-decoration: none;
	color: inherit;
}

.eveilys-events-map-wrap .eve-map-popup-inner {
	display: flex;
	width: 100%;
	height: 100%;
	gap: 8px;
	padding: 8px 16px 8px 8px;
	box-sizing: border-box;
	border-radius: 8px;
	/* border: 1px solid #D9D9D9; */
	background: #fff;
}

.eveilys-map-single-v2 .eve-map-popup-inner {
	display: flex;
	width: 100%;
	height: 100%;
	gap: 8px;
	padding: 8px 16px 8px 8px;
	box-sizing: border-box;
	border-radius: 8px;
	border: 1px solid #E2E8F0;
	background: #fff;
}

.eveilys-events-map-wrap .eve-map-popup-img {
	width: 104px;
	height: 95px;
	border-radius: 3.88px;
	object-fit: cover;
	flex-shrink: 0;
}

.eveilys-map-single-v2 .eve-map-popup-img {
	width: 104px;
	height: 95px;
	border-radius: 3.88px;
	object-fit: cover;
	flex-shrink: 0;
}

.eveilys-events-map-wrap .eve-map-popup-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}

.eveilys-map-single-v2 .eve-map-popup-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}

.eveilys-events-map-wrap .eve-map-popup-title {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0;
	color: #A84448;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eveilys-map-single-v2 .eve-map-popup-title {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0;
	color: #A84448;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eveilys-events-map-wrap .eve-map-popup-meta {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0;
	color: #39434C;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eveilys-map-single-v2 .eve-map-popup-meta {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0;
	color: #39434C;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eveilys-events-map-wrap .eve-map-popup-meta .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
	color: #39434C;
	flex-shrink: 0;
}

.eveilys-map-single-v2 .eve-map-popup-meta .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
	color: #39434C;
	flex-shrink: 0;
}

.eveilys-events-map-wrap .eve-map-popup-price {
	margin-top: auto;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0;
	vertical-align: middle;
	color: #39434C;
}

.eveilys-map-single-v2 .eve-map-popup-price {
	margin-top: auto;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0;
	vertical-align: middle;
	color: #39434C;
}

.eveilys-events-map-wrap .eve-map-popup-price strong {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0;
	vertical-align: middle;
	color: #39434C;
}

.eveilys-map-single-v2 .eve-map-popup-price strong {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0;
	vertical-align: middle;
	color: #39434C;
}

/* ---- Numbered Map Marker ---- */
.eve-cluster-marker {
	width: 30px;
	height: 33px;
	background: transparent;
	background-image: url("../images/eve-map-marker-bg.svg");
	background-repeat: no-repeat;
	background-size: 30px 33px;
	background-position: center;
	color: #fff;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
	border: 0;
	box-shadow: none;
	padding-bottom: 3px;
}

/* Event detail map marker: custom SVG without number */
.eve-detail-custom-marker {
	width: 30px;
	height: 33px;
	background: transparent;
	background-image: url("../images/group-61.svg");
	background-repeat: no-repeat;
	background-size: 30px 33px;
	background-position: center;
}

/* ---- Cluster Popup (Multiple Events) ---- */
.eve-map-popup-cluster {
	font-family: var(--eve-font);
	min-width: 250px;
	max-width: 300px;
}

.eve-map-popup-cluster-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--eve-accent);
	margin: 0 0 12px;
	padding: 0 8px;
	text-align: center;
}

.eve-map-popup-cluster-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 400px;
	overflow-y: auto;
	padding: 0;
}

.eve-map-popup-cluster-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border-radius: 6px;
	background: var(--eve-bg);
	transition: background-color 0.2s ease;
	text-decoration: none !important;
	color: inherit !important;
	font-size: 13px;
	line-height: 1.4;
}

.eve-map-popup-cluster-item:hover {
	background: #F0E8E5;
}

.eve-map-popup-cluster-img {
	width: 50px;
	height: 50px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
}

.eve-map-popup-cluster-item-title {
	font-weight: 600;
	color: var(--eve-text);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.eveilys-events-map-wrap .eve-map-popup-cluster {
	font-family: var(--eve-font);
}

.eveilys-events-map-wrap .eve-map-popup-cluster-title {
	padding: 8px;
}

.eveilys-events-map-wrap .eve-map-popup-cluster-list {
	max-height: 350px;
	padding: 0 8px 8px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.eveilys-events-list-layout .eveilys-events-content {
		flex-direction: column !important;
	}

	.eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
		width: 100% !important;
		height: 300px;
		position: relative;
		top: 0;
		order: -1;
	}

	.eveilys-events-list-layout.map-active .eveilys-events-cards {
		max-height: none;
		overflow-y: visible;
	}

	.eveilys-event-card-h {
		flex-direction: column !important;
	}

	.eveilys-card-h-image {
		width: 100% !important;
		min-width: unset !important;
		max-height: 200px;
	}

	.eveilys-events-list-layout:not(.map-active) .eveilys-events-cards {
		grid-template-columns: 1fr !important;
	}

	.eveilys-events-inner {
		padding: 12px;
	}
}

.eveilys-events-map-wrap {
	position: sticky;
	top: 100px;
	height: calc(100vh - 150px);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--eve-border);
}

.eveilys-map {
	width: 100%;
	height: 100%;
}

/* Event Detail High Fidelity (Figma v2) */
.eveilys-detail-gallery-container {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 12px;
	height: 480px;
	margin-bottom: 40px;
	border-radius: 16px;
	overflow: hidden;
}

.eveilys-detail-gallery-main {
	height: 100%;
	position: relative;
}

.eveilys-detail-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eveilys-detail-gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(2, 1fr);
	gap: 12px;
}

.eveilys-gallery-cell {
	overflow: hidden;
}

.eveilys-gallery-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.eveilys-gallery-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eveilys-detail-main-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 60px;
	margin-bottom: 60px;
	max-width: 1256px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.eveilys-detail-section-map-full {
	grid-column: 1 / -1;
	width: 100%;
}

/* full-bleed similar section — overridden by .eveilys-similar-wrap below */

.eveilys-cat-badge {
	display: inline-block;
	background: #f0eef0;
	color: var(--eve-primary);
	padding: 4px 12px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.eveilys-detail-header-v2 h1 {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 45px;
	font-weight: 600;
	margin-bottom: 30px;
	line-height: 30px;
	letter-spacing: 0%;
	color: #2D3436;
}

.eveilys-detail-meta-grid {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #EAEAEA;
}

.eveilys-meta-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.eveilys-meta-item .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: var(--eve-primary);
}

.eveilys-meta-text {
	display: flex;
	flex-direction: column;
}

.eveilys-meta-text label {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 12px;
	color: #94A3B8;
	font-weight: 500;
}

.eveilys-meta-text span {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 100%;
	letter-spacing: 0px;
	color: #2D3436;
}

.eveilys-section-title {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 20px;
	color: #2D3436;
}

/* Desktop - Section titles in detail sections */
.eveilys-detail-section .eveilys-section-title {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0px;
	margin-bottom: 20px;
}

/* Details content & trainer bio text */
.eveilys-wysiwyg-content,
.eveilys-wysiwyg-content p {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0%;
	color: #2D3436;
}

.eveilys-highlights-v2 {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.eveilys-highlights-v2 li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #4A5568;
}

.eveilys-highlights-v2 .dashicons {
	color: #2D6A4F;
	font-size: 20px;
}

.eveilys-trainer-card-v2 {
	display: flex;
	gap: 20px;
	padding: 24px;
	background: #F8FAFC;
	border-radius: 16px;
}

.eveilys-trainer-avatar-v2 {
	width: 80px;
	height: 80px;
	background: #E2E8F0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.eveilys-trainer-avatar-v2 .dashicons {
	font-size: 40px;
	width: 40px;
	height: 40px;
	color: #94A3B8;
}

.eveilys-trainer-info-v2 h4 {
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 4px;
}

.eveilys-trainer-title-v2 {
	font-size: 14px;
	color: var(--eve-primary);
	font-weight: 700;
	margin-bottom: 12px;
}

.eveilys-trainer-bio-v2 {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0%;
	color: #64748B;
}

/* sidebar pricing v2 */
.eveilys-pricing-card-v2 {
	background: #fff;
	border: 1px solid #E8EAEF;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.eveilys-price-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 24px;
}

.eveilys-price-amount {
	font-size: 32px;
	font-weight: 800;
	color: #2D3436;
}

.eveilys-price-unit {
	font-size: 16px;
	color: #94A3B8;
	font-weight: 600;
}

.eveilys-remaining-badge {
	background: #FEE2E2;
	color: #DC2626;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
}

.eveilys-ticket-selector {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
}

.eve-ticket-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	border: 1.5px solid #E2E8F0;
	border-radius: 12px;
	cursor: pointer;
	transition: 0.2s;
}

.eve-ticket-option:hover {
	border-color: var(--eve-primary);
	background: #FFF5F6;
}

.eve-ticket-option.is-active {
	border-color: var(--eve-primary);
	background: #FFF5F6;
	box-shadow: 0 0 0 1px var(--eve-primary);
}

.eve-ticket-name {
	font-weight: 700;
	font-size: 15px;
}

.eve-ticket-price {
	font-weight: 800;
	color: var(--eve-primary);
}

.eveilys-stepper-v2 {
	display: flex;
	align-items: center;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	overflow: hidden;
	width: fit-content;
}

.eveilys-stepper-v2 button {
	width: 40px;
	height: 40px;
	background: #fff !important;
	background-color: #fff !important;
	border: none !important;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: 0.2s;
	color: var(--eve-text, #333) !important;
}

.eveilys-stepper-v2 button:hover {
	background: #F1F5F9 !important;
	background-color: #F1F5F9 !important;
	color: var(--eve-text, #333) !important;
}

.eveilys-stepper-v2 button:focus {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--eve-text, #333) !important;
	outline: none !important;
}

.eveilys-stepper-v2 input {
	width: 50px;
	height: 40px;
	border: none;
	border-left: 1px solid #E2E8F0;
	border-right: 1px solid #E2E8F0;
	text-align: center;
	font-weight: 700;
	font-size: 16px;
	pointer-events: none;
}

.eveilys-btn-book {
	width: 100%;
	height: 54px;
	background: #A84448 !important;
	background-color: #A84448 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	margin-top: 10px;
	outline: none !important;
	box-shadow: none !important;
}

.eveilys-btn-book:hover,
.eveilys-btn-book:focus,
.eveilys-btn-book:active,
.eveilys-btn-book:visited {
	background: #A84448 !important;
	background-color: #A84448 !important;
	color: #fff !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}



/* ===== Similar Events — Full-Bleed Maroon Strip ===== */
.eveilys-similar-wrap {
	position: relative;
	width: 100vw;
	left: 50%;
	transform: translateX(-50%);
	background: #a84448 !important;
	background-color: #a84448 !important;
	padding: 60px 0;
	margin-top: 48px;
	margin-bottom: 0;
	box-sizing: border-box;
	overflow: hidden;
}

.eveilys-similar-inner {
	max-width: 1250px;
	margin: 0 auto;
	/* padding: 0 20px; */
	box-sizing: border-box;
	overflow-x: hidden;
}

.eveilys-similar-title {
	font-weight: 700;
	font-size: 26px;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 28px;
}

.eveilys-similar-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 20px;
}

/* ===== Similar event card ===== */
.eveilys-similar-event-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--eve-text);
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.eveilys-similar-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
	text-decoration: none;
	color: var(--eve-text);
}

.eveilys-similar-card-image {
	width: 100%;
	height: 194px;
	overflow: hidden;
	flex-shrink: 0;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.eveilys-similar-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eveilys-similar-card-body {
	padding: 12px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.eveilys-similar-card-title {
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 6px;
	line-height: 1.3;
	color: var(--eve-primary);
}

.eveilys-similar-card-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
	font-family: "Zalando Sans SemiExpanded", sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0;
	color: #39434C;
}

.eveilys-similar-card-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.eveilys-similar-card-meta-text {
	display: block;
	min-width: 0;
}

.eveilys-similar-card-meta-item.is-address .eveilys-similar-card-meta-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eveilys-similar-card-meta-item .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
	color: #39434C;
	flex-shrink: 0;
}

.eveilys-similar-card-highlights {
	list-style: disc;
	padding-left: 18px;
	margin: 0 0 8px;
	flex: 1;
	font-family: "Zalando Sans SemiExpanded", sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0;
	color: #222831;
}

.eveilys-similar-card-highlights li {
	margin-bottom: 3px;
	line-height: 16px;
}

.eveilys-similar-card-price {
	font-size: 26px;
	font-weight: 800;
	color: var(--eve-primary);
	margin-top: auto;
	padding-top: 6px;
	letter-spacing: -0.02em;
}

.eveilys-similar-card-price span {
	font-size: 22px;
}

@media (max-width: 1100px) {
	.eveilys-similar-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.eveilys-similar-inner {
		max-width: 1100px;
		margin: 0 auto;
		padding: 0 20px;
		box-sizing: border-box;
		overflow-x: hidden;
	}
}

@media (max-width: 640px) {
	.eveilys-similar-grid {
		display: flex !important;
		overflow-x: auto;
		gap: 16px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
		padding: 0 0 8px 0;
		/* Hide scrollbar */
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.eveilys-similar-grid::-webkit-scrollbar {
		display: none;
	}

	.eveilys-similar-event-card {
		flex: 0 0 100% !important;
		min-width: 100% !important;
		scroll-snap-align: start;
		box-sizing: border-box;
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
		border-radius: 12px;
	}

	.eveilys-similar-wrap {
		padding: 40px 16px;
	}

	.eveilys-similar-card-image {
		height: 160px;
		width: 100%;
		overflow: hidden;
		box-sizing: border-box;
	}

	.eveilys-similar-card-body {
		padding: 12px;
	}

	.eveilys-similar-card-title {
		font-size: 15px;
		margin-bottom: 8px;
	}

	.eveilys-similar-card-meta {
		gap: 4px;
		margin-bottom: 12px;
		font-size: 12px;
	}

	.eveilys-similar-card-price {
		font-size: 22px;
		padding-top: 8px;
	}
}

.eveilys-reservations-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.eveilys-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.eveilys-table th {
	text-align: left;
	font-size: 14px;
	font-weight: 700;
	color: #3e4350;
	padding: 6px 10px;
}

.eveilys-table td {
	background: #f5f6f7;
	border: 1px solid #e0e2e4;
	padding: 13px 12px;
	font-size: 15px;
}

.eveilys-table tr td:first-child {
	border-radius: 8px 0 0 8px;
}

.eveilys-table tr td:last-child {
	border-radius: 0 8px 8px 0;
}

.eveilys-placeholder {
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, #d7d7d7, #efefef);
}

/* === Auth Pages === */

.eveilys-auth-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	padding: 40px 20px;
}

.eveilys-auth-card {
	background: var(--eve-surface);
	border: 1px solid var(--eve-border);
	border-radius: 14px;
	padding: 36px 32px;
	width: 100%;
	max-width: 460px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.eveilys-auth-header {
	text-align: center;
	margin-bottom: 24px;
}

.eveilys-auth-header h2 {
	font-size: 28px;
	font-weight: 800;
	color: var(--eve-primary);
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}

.eveilys-auth-header p {
	color: var(--eve-muted);
	font-size: 14px;
	margin: 0;
}

.eveilys-auth-form {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eveilys-auth-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.eveilys-auth-field span {
	font-size: 13px;
	font-weight: 600;
	color: #556072;
}

.eveilys-auth-field input {
	background: #fff;
	border: 1px solid #d8d2d5;
	border-radius: 8px;
	padding: 11px 12px;
	width: 100%;
	font-size: 14px;
	color: var(--eve-text);
	transition: 0.15s ease;
}

.eveilys-auth-field input:focus {
	outline: none;
	border-color: #bf979b;
	box-shadow: 0 0 0 2px rgba(165, 66, 74, 0.08);
}

.eveilys-auth-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.eveilys-btn-full {
	width: 100%;
	height: 46px;
	font-size: 16px;
	margin-top: 6px;
}

.eveilys-auth-extras {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 6px;
}

.eveilys-auth-link {
	color: var(--eve-primary);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.eveilys-auth-link:hover {
	text-decoration: underline;
}

.eveilys-auth-footer {
	text-align: center;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--eve-border);
	font-size: 14px;
	color: var(--eve-muted);
}

.eveilys-auth-footer a {
	color: var(--eve-primary);
	font-weight: 700;
	text-decoration: none;
}

.eveilys-auth-footer a:hover {
	text-decoration: underline;
}

.eveilys-auth-alert {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
	font-weight: 500;
}

.eveilys-auth-alert.is-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.eveilys-auth-alert.is-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.eveilys-auth-alert.is-failed {
	background: #f8d7da;
	color: #721c24;
}

/* Event Form V2 (Figma Match) */

.eveilys-grid-2 {
	display: grid;
	grid-template-columns: minmax(0, 500px) minmax(0, calc(100% - 520px));
	gap: 20px;
}

.eveilys-tab-pane {
	display: none;
}

.eveilys-tab-pane.is-active {
	display: block;
}

.eveilys-form-section {
	background: #FFFFFF;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.eveilys-form-group {
	margin-bottom: 16px;
}

.eveilys-form-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #39434C;
	margin-bottom: 8px;
}

.eveilys-form-input,
.eveilys-form-textarea {
	width: 100%;
	background: #FFFFFF !important;
	border: 1px solid #C7CCD1 !important;
	border-radius: 4px;
	padding: 6px 8px;
	font-size: 14px;
	color: #39434C;
	font-family: 'Zalando Sans SemiExpanded', 'Inter', sans-serif;
	box-sizing: border-box;
}

.eveilys-form-input:focus,
.eveilys-form-textarea:focus {
	outline: none !important;
	border: 1px solid #A84448 !important;
	box-shadow: none !important;
}

/* Custom Radios for Status */
.eveilys-form-label-inline {
	display: inline-flex;
	align-items: center;
	margin-right: 25px;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	color: #39434C;
}

.eveilys-form-label-inline input[type="radio"] {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.eveilys-radio-custom {
	width: 20px;
	height: 20px;
	min-width: 20px;
	min-height: 20px;
	border: 2px solid #A8B0B8;
	border-radius: 50%;
	margin-right: 10px;
	position: relative;
	background: #fff;
	display: inline-block !important;
	flex-shrink: 0;
	box-sizing: border-box;
}

.eveilys-form-label-inline input[type="radio"]:checked+.eveilys-radio-custom {
	border-color: #a84448 !important;
}

.eveilys-form-label-inline input[type="radio"]:checked+.eveilys-radio-custom::after {
	content: '' !important;
	display: block !important;
	width: 10px;
	height: 10px;
	background: #a84448 !important;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.eveilys-theme-select {
	position: relative;
}

.eveilys-theme-select-trigger {
	width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid #C7CCD1 !important;
	border-radius: 6px;
	background: #fff;
	color: #4b5563;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
}

.eveilys-theme-select-trigger .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #6b7280;
}

.eveilys-theme-select.is-open .eveilys-theme-select-trigger {
	border-color: #A84448 !important;
	box-shadow: 0 0 0 1px rgba(168, 68, 72, 0.08);
}

.eveilys-theme-select-panel {
	margin-top: 8px;
	border: 1px solid #D8DEE4;
	border-radius: 8px;
	background: #fff;
	padding: 12px;
}

.eveilys-theme-search-wrap {
	position: relative;
	margin-bottom: 12px;
}

.eveilys-theme-search-wrap .dashicons {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #64748b;
	pointer-events: none;
	z-index: 2;
}

.eveilys-theme-search-input {
	width: 100%;
	height: 44px;
	padding: 10px 12px 10px 46px;
	border: 1px solid #1D4DA5 !important;
	border-radius: 8px;
	background: #fff !important;
	font-size: 15px;
	color: #334155;
}

.eveilys-theme-search-wrap .eveilys-theme-search-input {
	padding-left: 46px !important;
	padding-right: 12px !important;
	line-height: 1.2 !important;
	text-indent: 0 !important;
	background-image: none !important;
}

.eveilys-theme-options {
	max-height: 180px;
	overflow: auto;
	padding-right: 4px;
}

.eveilys-theme-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 17px;
	font-weight: 500;
	color: #39434C;
	cursor: pointer;
	line-height: 1.2;
	transition: background-color .2s ease, color .2s ease;
}

.eveilys-theme-option:hover {
	background: #faf4f5;
}

.eveilys-theme-option.is-selected {
	background: #f8eeee;
	color: #a84448;
}

.eveilys-theme-option input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.eveilys-theme-empty {
	padding: 8px 10px;
	font-size: 13px;
	color: #64748b;
}

.eveilys-theme-option-check {
	width: 18px;
	height: 18px;
	border: 2px solid #A7AFB8;
	border-radius: 4px;
	background: #fff;
	flex-shrink: 0;
	position: relative;
}

.eveilys-theme-option-check::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	opacity: 0;
}

.eveilys-theme-option.is-selected .eveilys-theme-option-check {
	background: #A84448;
	border-color: #A84448;
}

.eveilys-theme-option.is-selected .eveilys-theme-option-check::after {
	opacity: 1;
}

.eveilys-theme-option-text {
	display: inline-block;
}

.eveilys-date-row {
	display: flex;
	gap: 8px;
}

.eveilys-date-col {
	flex: 1;
}

.eveilys-sub-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #626E79;
	margin-bottom: 4px;
	text-transform: none;
}

.trainer-repeater-item {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	margin-bottom: 16px;
}

.eveilys-trainer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	border-bottom: none;
	padding-bottom: 0;
}

.eveilys-trainer-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.eveilys-trainer-icon {
	width: 40px;
	height: 40px;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #A84448;
}

.eveilys-trainer-icon-btn {
	width: 40px;
	height: 40px;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #A84448;
	background: #FFFFFF;
	padding: 0;
	cursor: pointer;
}

.eveilys-trainer-icon-btn .dashicons {
	font-size: 20px;
	line-height: 1;
	width: 20px;
	height: 20px;
}

.eveilys-trainer-icon-btn:hover {
	border-color: #A84448;
	background: #FFF8F8;
}

.eveilys-trainer-icon-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.eveilys-btn-link {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	border: 1px solid #D9D9D9 !important;
	color: var(--eve-primary) !important;
	font-weight: 500;
	cursor: pointer;
	padding: 8px 12px;
	font-size: 14px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.eveilys-btn-link:hover {
	text-decoration: underline;
	background: #FFF8F8 !important;
	background-color: #FFF8F8 !important;
	border-color: #A84448 !important;
	color: #A84448 !important;
}

.eveilys-btn-link:focus {
	background: #FFFFFF !important;
	background-color: #FFFFFF !important;
	color: var(--eve-primary) !important;
	outline: none !important;
}

/* Photo Upload (Figma Image 5) */
.eveilys-upload-box {
	border: 2px dashed #cbd5e0;
	border-radius: 16px;
	padding: 60px 40px;
	text-align: center;
	cursor: pointer;
	background: #fff;
	transition: all 0.2s;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 220px;
}

.eveilys-upload-box:hover {
	border-color: var(--eve-primary);
	background: #fdf5f6;
}

.eveilys-upload-box .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: var(--eve-primary);
	margin-bottom: 15px;
}

.eveilys-upload-box p {
	font-size: 16px;
	margin: 0 0 5px;
	color: #2d3436;
}

/* Photo Grid v2 (Figma Match) */
.eveilys-photo-grid-v2 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 0;
	width: 100%;
	max-width: none;
}

@media (max-width: 768px) {
	.eveilys-photo-grid-v2 {
		grid-template-columns: 1fr;
		gap: 12px;
		width: 100%;
		max-width: none;
	}

	#tab-photos {
		padding-bottom: 50px;
	}

	.eveilys-upload-trigger,
	.eveilys-photo-slot {
		aspect-ratio: 4 / 3;
	}

	.eveilys-upload-trigger {
		padding: 14px 10px;
	}
}

@media (max-width: 480px) {
	.eveilys-photo-grid-v2 {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.eveilys-upload-trigger-inner p {
		font-size: 12px;
		line-height: 1.3;
	}

	#tab-photos {
		overflow: visible;
		padding-bottom: 50px;
	}
}

.eveilys-upload-trigger {
	border: 2px dashed #D1D5DB;
	border-radius: 12px;
	padding: 20px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	cursor: pointer;
	transition: 0.2s;
	background: #fff;
	aspect-ratio: 4/3;
}

.eveilys-upload-trigger:hover {
	border-color: var(--eve-primary);
	background: #FFF9F9;
}

.eveilys-upload-trigger-inner .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: var(--eve-primary);
	margin-bottom: 8px;
}

.eveilys-upload-trigger-inner p {
	font-size: 13px;
	margin-bottom: 4px;
	color: #2D3436;
	line-height: 1.4;
}

.eveilys-muted-text {
	font-size: 11px;
	color: #757575;
}

.eveilys-photo-slot {
	background: #EAECEF;
	border-radius: 12px;
	aspect-ratio: 4/3;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	transition: all 0.2s;
}

.eveilys-photo-slot.is-empty {
	background: #E5E7EB;
	cursor: pointer;
	border: 1px solid transparent;
}

.eveilys-photo-slot.is-empty:hover {
	background: #D1D5DB;
	border-color: #9CA3AF;
}

.eveilys-photo-slot.is-loading {
	background: #F1F5F9;
	pointer-events: none;
}

.eveilys-photo-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.eveilys-photo-loading .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
	color: var(--eve-primary);
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.eveilys-photo-slot.has-image {
	cursor: grab;
}

.eveilys-photo-slot.is-dragging {
	opacity: 0.5;
	cursor: grabbing;
}

.eveilys-photo-slot.drag-over {
	border: 2px solid var(--eve-primary);
	background: rgba(168, 68, 72, 0.05);
}

.eveilys-empty-slot-plus {
	position: absolute;
	inset: 0;
	cursor: pointer;
}

.eveilys-corner-icon {
	position: absolute;
	width: 28px;
	height: 28px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	z-index: 2;
}

.eveilys-corner-icon .dashicons {
	font-size: 16px !important;
	width: 16px !important;
	height: 16px !important;
	color: #9CA3AF;
	line-height: 1 !important;
}

.eveilys-corner-icon.tl {
	top: 8px;
	left: 8px;
	cursor: grab;
}

.eveilys-corner-icon.tr {
	top: 8px;
	right: 8px;
	cursor: pointer;
}

.eveilys-photo-slot.has-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eveilys-photo-slot-move {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	cursor: grab;
	z-index: 2;
}

.eveilys-photo-slot-move .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #9CA3AF;
}

.eveilys-photo-slot-delete {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #fff;
	color: #9CA3AF;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: 0.2s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 2;
}

.eveilys-photo-slot-delete:hover {
	background: #f3f4f6;
	color: #ef4444;
}

/* Role Selector */
.eveilys-role-selector {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 18px;
}

.eveilys-role-option {
	cursor: pointer;
}

.eveilys-role-option input {
	display: none;
}

.eveilys-role-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 16px 12px;
	border: 2px solid var(--eve-border);
	border-radius: 10px;
	background: #fafafa;
	transition: 0.15s ease;
	text-align: center;
}

.eveilys-role-card .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: var(--eve-muted);
	margin-bottom: 4px;
}

.eveilys-role-option input:checked+.eveilys-role-card {
	border-color: var(--eve-primary);
	background: #fef7f7;
	box-shadow: 0 0 0 1px var(--eve-primary);
}

.eveilys-role-option input:checked+.eveilys-role-card .dashicons {
	color: var(--eve-primary);
}

.eveilys-role-desc {
	font-size: 12px;
	color: var(--eve-muted);
}

/* Ventes / Offers Section (Figma Screen 4) */
.eveilys-ventes-container {
	background: #fff;
	border: 1px solid #E2E8F0 !important;
	border-radius: 8px;
	padding: 24px;
}

.eveilys-ventes-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.eveilys-ventes-header h3 {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0px;
	color: #39434C;
	margin: 0;
}

.eveilys-btn-add-offer {
	width: 147px;
	height: 40px;
	gap: 10px;
	background: var(--eve-primary) !important;
	color: #fff !important;
	border: 1px solid var(--eve-primary) !important;
	padding: 12px;
	border-radius: 8px;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	text-align: center;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.eveilys-btn-add-offer:hover,
.eveilys-btn-add-offer:focus {
	background: var(--eve-primary) !important;
	color: #fff !important;
	border-color: var(--eve-primary) !important;
	outline: none !important;
}

.eveilys-btn-add-question {
	width: 170px;
	height: 40px;
	gap: 10px;
	background: var(--eve-primary) !important;
	color: #fff !important;
	border: 1px solid var(--eve-primary) !important;
	padding: 12px;
	border-radius: 8px;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	text-align: center;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.eveilys-btn-add-question:hover,
.eveilys-btn-add-question:focus {
	background: var(--eve-primary) !important;
	color: #fff !important;
	border-color: var(--eve-primary) !important;
	outline: none !important;
}

.eveilys-offer-card {
	background: #fff;
	border: 1px solid #E2E8F0 !important;
	border-radius: 16px;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.eveilys-offer-card-main {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.eveilys-offer-icon {
	width: 40px;
	height: 40px;
	background: #F1F5F9;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--eve-primary);
}

.eveilys-offer-info h4 {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
}

.eveilys-offer-info p {
	margin: 0;
	font-size: 14px;
	color: var(--eve-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.eveilys-exclusive-badge {
	background: #E0F2FE;
	color: #0369A1;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
}

.eveilys-offer-actions {
	display: flex;
	gap: 10px;
}

.eveilys-offer-action {
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid #E2E8F0 !important;
	color: #64748B;
	cursor: pointer;
	padding: 8px;
	transition: 0.2s;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
}

.eveilys-offer-action:hover {
	color: var(--eve-primary) !important;
	border-color: var(--eve-primary) !important;
	background: #FFF9F9 !important;
	background-color: #FFF9F9 !important;
}

.eveilys-offer-action:focus {
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid #E2E8F0 !important;
	color: #64748B !important;
	outline: none !important;
}

.eveilys-offer-action.is-delete:hover {
	color: #ef4444 !important;
	border-color: #ef4444 !important;
	background: #FEF2F2 !important;
	background-color: #FEF2F2 !important;
}

/* Offer Edit Card */
.eveilys-offer-edit-card {
	background: #fff;
	border: 1px solid #E2E8F0 !important;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
}

.eveilys-offer-edit-card .eveilys-grid-2 {
	grid-template-columns: 3fr 1fr;
}

/* Input with suffix (e.g. €) */
.eveilys-input-suffix-wrap {
	display: flex;
	align-items: stretch;
	gap: 0;
	position: relative;
	width: 100%;
}

.eveilys-input-suffix-wrap .eveilys-form-input {
	flex: 1;
	min-width: 0;
	border: 1px solid #C7CCD1 !important;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: none !important;
}

.eveilys-input-suffix {
	background: #F1F5F9;
	border: 1px solid #C7CCD1;
	border-left: none;
	border-radius: 0 8px 8px 0;
	padding: 0 12px;
	min-width: 40px;
	color: #64748B;
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 0 0 auto;
}

.eveilys-check-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
}

.eveilys-check-label input[type="checkbox"] {
	display: none;
}

.eveilys-check-custom {
	width: 18px;
	height: 18px;
	border: 2px solid #CBD5E1;
	border-radius: 4px;
	position: relative;
}

.eveilys-check-label input:checked+.eveilys-check-custom {
	background: var(--eve-primary);
	border-color: var(--eve-primary);
}

.eveilys-check-label input:checked+.eveilys-check-custom::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.eveilys-early-bird-section {
	background: transparent;
	border-radius: 0;
	padding: 0;
	margin-top: 20px;
}

.eveilys-toggle-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.eveilys-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.eveilys-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.eveilys-toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #CBD5E1;
	transition: .4s;
	border-radius: 34px;
}

.eveilys-toggle input:not(:checked)+.eveilys-toggle-slider {
	border-top: 2px solid var(--Neutral-500, #A8B0B8);
}

.eveilys-toggle-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

.eveilys-toggle input:checked+.eveilys-toggle-slider {
	background-color: var(--eve-primary);
}

.eveilys-toggle input:checked+.eveilys-toggle-slider:before {
	transform: translateX(20px);
}

.eveilys-early-bird-fields {
	margin-top: 16px;
	padding-top: 0;
	border-top: none;
}

.eveilys-offer-edit-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.eveilys-offer-edit-actions .eveilys-btn,
.eveilys-offer-edit-actions .eveilys-btn-primary {
	flex: 1;
}

/* Questions Tab */
.eveilys-questions-container {
	background: #fff;
	border: 1px solid #E2E8F0 !important;
	border-radius: 8px;
	padding: 24px;
}

.eveilys-question-item {
	margin-bottom: 12px;
}

.eveilys-question-input-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 8px 16px;
}

.eveilys-drag-handle {
	color: #CBD5E1;
	cursor: grab;
}

.eveilys-question-remove {
	background: none;
	border: none;
	color: #94A3B8;
	cursor: pointer;
	padding: 5px;
	transition: 0.2s;
}

.eveilys-question-remove:hover {
	color: #ef4444;
}

/* === Student Dashboard === */

.eveilys-student-dashboard {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px;
}

body:has(.eveilys-student-dashboard),
body:has(.eveilys-student-dashboard) #primary,
body:has(.eveilys-student-dashboard) .site-main,
body:has(.eveilys-student-dashboard) .content-area,
body:has(.eveilys-student-dashboard) .site-content {
	background: #fef8f8 !important;
}

@media (max-width: 768px) {
	.eveilys-student-dashboard {
		padding-bottom: 50px;
	}
}

.eveilys-dashboard-tabs {
	display: none !important;
}

.eveilys-dashboard-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 18px;
	font-size: 15px;
	font-weight: 700;
	color: var(--eve-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: 0.15s ease;
}

.eveilys-dashboard-tab:hover {
	color: var(--eve-primary);
}

.eveilys-dashboard-tab.is-active {
	color: var(--eve-primary);
	border-bottom-color: var(--eve-primary);
}

.eveilys-dashboard-tab .dashicons {
	font-size: 17px;
	width: 17px;
	height: 17px;
}

/* Enrolled Events */
.eveilys-enrolled-events {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.eveilys-student-events-card {
	background: #ffffff;
	border: 1px solid #e3e5e8 !important;
	border-radius: 12px;
}

.eveilys-enrolled-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 14px;
	padding: 12px;
	border: 1px solid var(--eve-border);
	border-radius: 10px;
	background: #fafafa;
}

.eveilys-enrolled-image {
	border-radius: 8px;
	overflow: hidden;
	background: #ddd;
	aspect-ratio: 4/3;
}

.eveilys-enrolled-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eveilys-enrolled-info h4 {
	margin: 0 0 6px;
}

.eveilys-enrolled-info h4 a {
	color: var(--eve-primary);
	font-size: 20px;
	font-weight: 800;
	text-decoration: none !important;
	letter-spacing: -0.01em;
}

.eveilys-enrolled-info h4 a:hover,
.eveilys-enrolled-info h4 a:focus,
.eveilys-enrolled-info h4 a:active,
.eveilys-enrolled-info h4 a:visited {
	text-decoration: none !important;
}

.eveilys-enrolled-tickets {
	display: flex;
	gap: 6px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.eveilys-ticket-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	background: #e8eaed;
	color: #3c4043;
}

.eveilys-ticket-badge.is-vip {
	background: #fef3cd;
	color: #856404;
}

.eveilys-ticket-badge.is-completed {
	background: #d4edda;
	color: #155724;
}

.eveilys-ticket-badge.is-upcoming {
	background: #e8f0ff;
	color: #1d4da5;
}

.eveilys-ticket-badge.is-pending {
	background: #fff3cd;
	color: #856404;
}

.eveilys-ticket-badge.is-failed {
	background: #f8d7da;
	color: #721c24;
}

/* === Checkout Page === */

.eveilys-checkout-wrap {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 640px;
	margin: 30px auto;
	padding: 0 20px;
}

.eveilys-checkout-event h4 {
	font-size: 22px;
	font-weight: 800;
	color: var(--eve-primary);
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}

.eveilys-checkout-items {
	margin: 16px 0;
	border-top: 1px solid var(--eve-border);
	padding-top: 12px;
}

.eveilys-checkout-item {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 14px;
	color: var(--eve-text);
}

.eveilys-checkout-total {
	display: flex;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 2px solid var(--eve-primary);
	font-size: 16px;
	font-weight: 800;
}

.eveilys-checkout-total-amount {
	color: var(--eve-primary);
	font-size: 22px;
}

/* Payment Methods */
.eveilys-payment-method {
	border: 1px solid var(--eve-border);
	border-radius: 10px;
	margin-bottom: 12px;
	overflow: hidden;
}

.eveilys-payment-method-header {
	padding: 14px 16px;
	background: #fafafa;
	border-bottom: 1px solid var(--eve-border);
}

.eveilys-payment-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	color: var(--eve-text);
}

.eveilys-payment-radio input {
	accent-color: var(--eve-primary);
	width: 18px;
	height: 18px;
}

.eveilys-payment-method-body {
	padding: 18px 16px;
}

.eveilys-stripe-element {
	padding: 14px;
	border: 1px solid #d8d2d5;
	border-radius: 8px;
	background: #fff;
	margin-bottom: 14px;
}

.eveilys-field-error {
	color: #dc2626;
	font-size: 13px;
	margin-bottom: 10px;
	min-height: 18px;
}

.eveilys-checkout-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #166534;
	margin-bottom: 14px;
}

.eveilys-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid #166534;
	border-right-color: transparent;
	border-radius: 50%;
	animation: eveilys-spin 0.7s linear infinite;
}

@keyframes eveilys-spin {
	to {
		transform: rotate(360deg);
	}
}

.eveilys-checkout-back {
	display: block;
	text-align: center;
	margin-top: 12px;
	color: var(--eve-muted);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.eveilys-checkout-back:hover {
	color: var(--eve-primary);
}

@media (max-width: 1180px) {
	.eveilys-events-list-layout.with-map .eveilys-events-content {
		grid-template-columns: 1fr;
	}

	.eveilys-events-map-wrap {
		position: static;
	}

	.eveilys-map {
		min-height: 430px;
	}

	.eveilys-detail-main {
		grid-template-columns: 1fr;
	}

	.eveilys-detail-sidebar {
		position: static;
	}
}

@media (max-width: 900px) {

	.eveilys-grid-2,
	.eveilys-detail-gallery,
	.eveilys-event-card,
	.eveilys-enrolled-card {
		grid-template-columns: 1fr;
	}

	.eveilys-auth-row {
		grid-template-columns: 1fr;
	}

	.eveilys-filter-form {
		grid-template-columns: 1fr 1fr;
	}

	.eveilys-date-grid {
		grid-template-columns: 1fr;
	}

	.eveilys-form-header {
		flex-direction: column;
		align-items: stretch;
	}

	.eveilys-form-actions {
		width: 100%;
	}

	.eveilys-form-actions .eveilys-btn {
		flex: 1;
	}
}

@media (max-width: 768px) {

	/* ---- Add/Edit Event Form — Mobile ---- */
	.eveilys-form-header {
		flex-direction: column !important;
		align-items: stretch !important;
		height: 48px !important;
		padding: 0 !important;
		gap: 0 !important;
		overflow: hidden;
	}

	.eveilys-form-header-inner {
		flex-direction: column !important;
		gap: 0 !important;
		padding: 0 !important;
	}

	/* Tabs row — scrollable */
	.eveilys-form-tabs {
		display: flex !important;
		justify-content: space-between !important;
		flex-direction: row !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		white-space: nowrap !important;
		width: 100% !important;
		height: 44px !important;
		padding: 0 16px !important;
		gap: 24px !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.eveilys-form-tabs::-webkit-scrollbar {
		display: none;
	}

	.eveilys-tab-trigger {
		flex-shrink: 0 !important;
		height: 44px !important;
		padding: 0 !important;
		font-size: 14px !important;
	}

	.eveilys-tab-trigger.is-active::after {
		bottom: 0px !important;
	}

	/* Action buttons row */
	.eveilys-form-actions.eveilys-form-actions-desktop {
		display: none !important;
	}

	.eveilys-form-actions.eveilys-form-actions-mobile {
		display: flex !important;
		flex-direction: row !important;
		width: 100% !important;
		gap: 12px !important;
		padding: 0 0 16px 0 !important;
		border-bottom: none !important;
		background: transparent !important;
		margin: 0 !important;
	}

	.eveilys-form-actions.eveilys-form-actions-mobile .eveilys-btn,
	.eveilys-form-actions.eveilys-form-actions-mobile button {
		flex: 1 !important;
		min-width: 0 !important;
		height: 44px !important;
		font-size: 15px !important;
	}

	/* Form content padding */
	.eveilys-template-container {
		padding: 0 !important;
		margin-top: 0 !important;
	}

	.eveilys-event-form-v2 {
		padding: 16px 0 !important;
	}
}

@media (max-width: 768px) {

	.eveilys-event-card-main h3 a,
	.eveilys-card h1,
	.eveilys-similar-card-price,
	.eveilys-price {
		font-size: clamp(26px, 10vw, 40px);
	}

	.eveilys-map {
		min-height: 360px;
	}
}

@media (max-width: 620px) {
	.eveilys-filter-form {
		grid-template-columns: 1fr;
	}

	.eveilys-list-toolbar {
		gap: 10px;
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 768px) {

	html:has(.eveilys-event-form-v2),
	body:has(.eveilys-event-form-v2),
	body:has(.eveilys-event-form-v2) #page,
	body:has(.eveilys-event-form-v2) #content,
	body:has(.eveilys-event-form-v2) #primary,
	body:has(.eveilys-event-form-v2) .site-main,
	body:has(.eveilys-event-form-v2) .site-content,
	body:has(.eveilys-event-form-v2) .content-area,
	body:has(.eveilys-event-form-v2) .ast-container,
	body:has(.eveilys-event-form-v2) .ast-plain-container,
	body:has(.eveilys-event-form-v2) .ast-container-fluid,
	body:has(.eveilys-event-form-v2) header,
	body:has(.eveilys-event-form-v2) .ast-primary-header,
	body:has(.eveilys-event-form-v2) .header-main,
	body:has(.eveilys-event-form-v2) header .elementor {
		margin-top: 0 !important;
		padding-top: 0 !important;
		top: 0 !important;
		min-height: 0 !important;
	}

	body:has(.eveilys-event-form-v2) .eveilys-template-container {
		margin: 0 !important;
		padding: 0 !important;
		max-width: 100% !important;
	}

	body:has(.eveilys-event-form-v2) .eveilys-event-form-v2 {
		margin-top: 0 !important;
	}
}

/* === Passé Badge === */
.eveilys-badge-past {
	display: inline-block;
	background: #FEE2E2;
	color: #991B1B;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 100px;
	margin-left: 8px;
	vertical-align: middle;
}

/* === Ventes + Questions Grid === */
.eveilys-ventes-questions-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
}

/* === Question Card === */
.eveilys-question-card {
	background: #fff;
	border: 1px solid #E2E8F0 !important;
	border-radius: 16px;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.eveilys-question-card-main {
	flex: 1;
}

.eveilys-question-card-main h4 {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
}

.eveilys-question-card-main p {
	margin: 0;
	font-size: 13px;
	color: var(--eve-muted);
}

/* === Question Edit Card === */
.eveilys-question-edit-card {
	background: #fff;
	border: 1px solid #E2E8F0 !important;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
	overflow: hidden;
}

.eveilys-question-options-wrap {
	margin-top: 16px;
	overflow: hidden;
}

.eveilys-question-option-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.eveilys-question-option-row .eveilys-form-input {
	flex: 1;
}

.eveilys-option-remove {
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid #E2E8F0 !important;
	border-radius: 8px;
	color: #94A3B8 !important;
	cursor: pointer;
	padding: 8px;
	transition: 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
}

.eveilys-option-remove:hover {
	color: #ef4444 !important;
	background: #FEF2F2 !important;
	background-color: #FEF2F2 !important;
	border-color: #ef4444 !important;
}

.eveilys-option-remove:focus {
	background: #fff !important;
	background-color: #fff !important;
	color: #94A3B8 !important;
	outline: none !important;
}

.eveilys-add-option-btn {
	background: none !important;
	background-color: transparent !important;
	border: 1px dashed #CBD5E1 !important;
	border-radius: 8px;
	padding: 8px 14px;
	color: var(--eve-primary) !important;
	cursor: pointer;
	font-size: 16px;
	transition: 0.2s;
	display: flex;
	align-items: center;
	margin-top: 4px;
}

.eveilys-add-option-btn:hover {
	background: #FFF9F9 !important;
	background-color: #FFF9F9 !important;
	border-color: var(--eve-primary) !important;
	color: var(--eve-primary) !important;
}

.eveilys-add-option-btn:focus {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--eve-primary) !important;
	outline: none !important;
}

.eveilys-question-edit-actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.eveilys-question-edit-actions .eveilys-btn,
.eveilys-question-edit-actions .eveilys-btn-primary {
	flex: 1;
}

/* === Offer Card Updates === */
.eveilys-offer-price {
	font-size: 18px;
	font-weight: 800;
	color: var(--eve-primary);
	margin: 4px 0 !important;
}

.eveilys-offer-details {
	font-size: 13px;
	color: var(--eve-muted);
	margin: 2px 0 !important;
}

/* === Reservations Toolbar === */
.eveilys-reservations-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 16px;
}

.eveilys-btn-export {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 106px;
	height: 40px;
	padding: 12px;
	background: #fff;
	color: var(--eve-primary) !important;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0px;
	text-align: center;
	vertical-align: middle;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s;
}

.eveilys-btn-export:hover {
	background: #FFF8F8;
	color: var(--eve-primary) !important;
	border-color: var(--eve-primary);
}

.eveilys-btn-export .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* === Reservations Section === */
.eveilys-reservations-section {
	padding: 0;
}

.eveilys-reservations-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
	border: none !important;
}

.eveilys-reservations-table thead th {
	text-align: left;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0px;
	vertical-align: middle;
	color: #39434C;
	padding: 8px 16px;
	border: none !important;
	background: transparent;
}

.eveilys-reservations-table thead th:first-child {
	padding-left: 0;
}

.eveilys-reservations-table tbody tr {
	background: #fff;
	border-radius: 8px;
}

.eveilys-reservations-table tbody td {
	padding: 16px;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0px;
	vertical-align: middle;
	color: #39434C;
	border-top: 1px solid #E2E8F0 !important;
	border-bottom: 1px solid #E2E8F0 !important;
	border-left: none !important;
	border-right: none !important;
	background: #fff;
}

.eveilys-reservations-table tbody td:first-child {
	border-radius: 8px 0 0 8px;
	border-left: 1px solid #E2E8F0 !important;
	font-weight: 600;
}

.eveilys-reservations-table tbody td:last-child {
	border-radius: 0 8px 8px 0;
	border-right: 1px solid #E2E8F0 !important;
}

.eveilys-reservations-table tbody td:first-child:last-child {
	border-radius: 8px;
	border: 1px solid #E2E8F0 !important;
}

@media (max-width: 768px) {
	.eveilys-reservations-table {
		border-spacing: 0 6px;
	}

	.eveilys-reservations-table thead {
		display: none;
	}

	.eveilys-reservations-table tbody tr {
		display: flex;
		flex-direction: column;
		border: 1px solid #E2E8F0;
		border-radius: 12px;
		padding: 12px 16px;
		margin-bottom: 8px;
		gap: 4px;
	}

	.eveilys-reservations-table tbody td {
		border: none;
		padding: 4px 0;
		display: block;
	}

	.eveilys-reservations-table tbody td:first-child {
		border: none;
		border-radius: 0;
		font-size: 15px;
	}

	.eveilys-reservations-table tbody td:last-child {
		border: none;
		border-radius: 0;
	}

	.eveilys-reservations-table tbody td::before {
		content: attr(data-label);
		font-size: 11px;
		font-weight: 600;
		color: #626E79;
		display: block;
		margin-bottom: 2px;
	}
}

/* === Event Detail: Billets Section === */
.eveilys-billets-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.eveilys-billet-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	background: #fff;
	border-left: 4px solid var(--eve-primary);
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.eveilys-billet-name {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0px;
	color: var(--eve-text);
}

.eveilys-billet-price {
	font-weight: 800;
	font-size: 18px;
	color: var(--eve-primary);
}

/* === Modifier l'événement button === */
.eveilys-btn-modifier {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 16px;
	padding: 14px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

/* === Détails Collapsible (Voir plus) === */
.eveilys-details-collapsible {
	max-height: 180px;
	overflow: hidden;
	position: relative;
	transition: max-height 0.3s ease;
}

.eveilys-details-collapsible::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(transparent, var(--eve-bg));
	pointer-events: none;
}

.eveilys-details-collapsible.is-expanded {
	max-height: none;
}

.eveilys-details-collapsible.is-expanded::after {
	display: none;
}

.eveilys-voir-plus {
	display: inline-block;
	color: var(--eve-primary);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	margin-top: 8px;
	cursor: pointer;
}

.eveilys-voir-plus:hover {
	text-decoration: underline;
}

/* === Checkout Sections === */
.eveilys-checkout-section {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 24px;
}

.eveilys-checkout-section h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 20px;
	color: var(--eve-text);
}

.eveilys-checkout-event-card h2 {
	font-size: 22px;
	font-weight: 800;
	color: var(--eve-primary);
	margin: 0 0 12px;
}

.eveilys-checkout-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.eveilys-checkout-meta .eveilys-meta-line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--eve-muted);
}

.eveilys-checkout-coordonnees {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Checkout Ticket Rows */
.eveilys-checkout-ticket-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #F1F5F9;
}

.eveilys-ticket-label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eveilys-ticket-name {
	font-weight: 700;
	font-size: 15px;
	color: var(--eve-text);
}

.eveilys-ticket-unit-price {
	font-size: 13px;
	color: var(--eve-muted);
}

.eveilys-ticket-controls {
	display: flex;
	align-items: center;
	gap: 16px;
}

.eveilys-ticket-subtotal {
	font-weight: 700;
	font-size: 15px;
	color: var(--eve-text);
	min-width: 80px;
	text-align: right;
}

.eveilys-checkout-totals {
	padding-top: 16px;
	margin-top: 8px;
}

.eveilys-checkout-qty-total {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: var(--eve-muted);
	padding: 4px 0;
}

.eveilys-btn-pay {
	padding: 16px;
	font-size: 16px;
	border-radius: 12px;
}

/* === Responsive === */
@media (max-width: 768px) {
	.eveilys-ventes-questions-grid {
		grid-template-columns: 1fr;
	}

	.eveilys-checkout-ticket-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.eveilys-ticket-controls {
		width: 100%;
		justify-content: space-between;
	}
}

/* === Reference UI Overrides (Checkout + Event Detail) === */
.eveilys-checkout-wrap {
	max-width: 700px;
	margin: 20px auto 60px;
	gap: 16px;
}

.eveilys-checkout-section {
	padding: 20px;
	border-radius: 10px;
	border: 1px solid #d7dadd;
	box-shadow: none;
}

.eveilys-checkout-section h3 {
	font-size: 20px;
	margin-bottom: 14px;
	color: #3b3f45;
}

.eveilys-checkout-event-card h2 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #39434c;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.eveilys-checkout-meta {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 14px 20px;
	align-items: center;
}

.eveilys-checkout-meta .eveilys-meta-line {
	color: #4b5563;
	font-weight: 600;
	font-size: 13px;
	gap: 6px;
	line-height: 1.2;
}

.eveilys-checkout-meta .eveilys-meta-line .dashicons {
	font-size: 15px;
	width: 15px;
	height: 15px;
	color: #3e4650;
}

.eveilys-checkout-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.eveilys-checkout-grid.is-identity {
	grid-template-columns: 0.6fr 1fr 1fr;
}

.eveilys-checkout-coordonnees {
	gap: 12px;
}

.eveilys-checkout-coordonnees .eveilys-form-group {
	margin-bottom: 0;
}

.eveilys-checkout-coordonnees .eveilys-form-label {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 6px;
}

.eveilys-checkout-coordonnees .eveilys-form-input {
	border-radius: 4px;
	padding: 8px 10px;
	min-height: 38px;
}

.eveilys-checkout-question-field {
	padding-top: 2px;
}

.eveilys-checkout-question-field .eveilys-form-label {
	margin-bottom: 8px;
}

.eveilys-checkout-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	min-height: 30px;
}

.eveilys-checkout-radio-option {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
}

.eveilys-checkout-radio-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.eveilys-checkout-radio-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #b6bdc7;
	background: #fff;
	position: relative;
	box-sizing: border-box;
}

.eveilys-checkout-radio-dot::after {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	background: transparent;
}

.eveilys-checkout-radio-option input[type="radio"]:checked+.eveilys-checkout-radio-dot {
	border-color: var(--eve-primary);
}

.eveilys-checkout-radio-option input[type="radio"]:checked+.eveilys-checkout-radio-dot::after {
	background: var(--eve-primary);
}

.eveilys-checkout-ticket-row {
	display: block;
	padding: 12px 14px;
	margin-bottom: 10px;
	border: 1px solid #dfe3e7;
	border-radius: 10px;
	background: #fff;
}

.eveilys-checkout-ticket-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.eveilys-ticket-name {
	font-size: 16px;
	font-weight: 800;
	color: var(--eve-primary);
}

.eveilys-ticket-unit-price {
	font-size: 16px;
	font-weight: 800;
	color: #39434c;
}

.eveilys-checkout-ticket-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.eveilys-checkout-ticket-bottom .eveilys-stepper-v2 {
	border: none;
	gap: 6px;
	background: transparent;
}

.eveilys-checkout-ticket-bottom .eveilys-stepper-v2 button {
	width: 32px;
	height: 32px;
	border: 1px solid #d7dadd;
	border-radius: 4px;
	background: #fff;
	color: var(--eve-primary);
	font-size: 20px;
	line-height: 1;
	padding: 0;
}

.eveilys-checkout-ticket-bottom .eveilys-stepper-v2 button[data-step="1"] {
	background: var(--eve-primary);
	color: #fff;
	border-color: var(--eve-primary);
}

.eveilys-checkout-ticket-bottom .eveilys-stepper-v2 input {
	width: 24px;
	border: none;
	background: transparent;
	font-size: 14px;
	font-weight: 700;
	padding: 0;
}

.eveilys-ticket-subtotal-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.15;
}

.eveilys-ticket-subtotal-label {
	font-size: 12px;
	color: #6b7280;
}

.eveilys-ticket-subtotal {
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	color: #39434c;
}

.eveilys-checkout-totals {
	margin-top: 4px;
	padding-top: 6px;
}

.eveilys-checkout-qty-total,
.eveilys-checkout-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 2px;
}

.eveilys-checkout-qty-total {
	color: #39434c;
	font-weight: 600;
}

.eveilys-checkout-total {
	font-size: 15px;
	font-weight: 700;
	color: #39434c;
}

.eveilys-checkout-total-amount {
	font-size: 18px;
}

.eveilys-checkout-payment-methods {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.eveilys-checkout-payment-method {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid #d7dadd;
	border-radius: 8px;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
	color: #39434c;
	cursor: pointer;
}

.eveilys-checkout-payment-method input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--eve-primary);
}

.eveilys-checkout-payment-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 16px;
}

.eveilys-checkout-payment-grid .eveilys-form-group {
	margin-bottom: 0;
}

.eveilys-checkout-payment-grid .eveilys-form-label {
	font-size: 13px;
	font-weight: 600;
	color: #626e79;
	margin-bottom: 6px;
}

.eveilys-checkout-payment-grid .eveilys-form-input {
	min-height: 44px;
	border-radius: 8px;
	padding: 10px 12px;
}

.eveilys-checkout-payment-grid .eveilys-stripe-element {
	min-height: 44px;
	padding: 11px 12px;
	border: 1px solid #c7ccd1;
	border-radius: 8px;
	background: #fff;
}

.eveilys-checkout-payment-shell .eveilys-form-label {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 6px;
}

.eveilys-checkout-config-alert {
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #fde2a8;
	background: #fffbeb;
	color: #8a5a00;
	font-size: 12px;
	line-height: 1.4;
}

.eveilys-checkout-config-alert.is-warning {
	margin-top: 8px;
}

.eveilys-stripe-element {
	border-radius: 6px;
	padding: 12px;
}

.eveilys-btn-pay {
	width: 100%;
	height: 54px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 16px;
}

.eveilys-btn-pay:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.eveilys-checkout-back {
	margin-top: 2px;
}

.eveilys-event-detail {
	max-width: 1256px;
	width: 100%;
	margin: 0 auto;
	padding: 24px 0 56px;
	box-sizing: border-box;
}

.eveilys-detail-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 0;
	margin-bottom: 16px;
	font-family: "Zalando Sans SemiExpanded", "Zalando Sans", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0;
	color: #222831;
	text-transform: none;
}

.eveilys-detail-breadcrumb-item,
.eveilys-detail-breadcrumb-sep {
	color: #222831;
}

.eveilys-detail-gallery-container {
	display: grid;
	grid-template-columns: 622px 1fr;
	max-width: 1256px;
	width: 100%;
	height: 391px;
	gap: 8px;
	margin-bottom: 32px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 0;
	padding: 0;
	background: transparent;
}

.eveilys-detail-gallery-main {
	width: 622px;
	height: 391px;
	overflow: hidden;
	position: relative;
}

.eveilys-detail-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 191px);
	gap: 8px;
	row-gap: 8px;
	column-gap: 8px;
	width: 100%;
	height: 390px;
}

.eveilys-gallery-cell {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 191px;
	border-radius: 0;
}

.eveilys-gallery-cell .eveilys-placeholder {
	min-height: 100%;
	height: 100%;
	background: #d9d9d9;
}

.eveilys-detail-gallery-main img,
.eveilys-gallery-cell img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.eveilys-gallery-view-all {
	position: absolute;
	right: 12px;
	bottom: 12px;
	min-width: 78px;
	height: 36px;
	padding: 0 12px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid #e5e7eb;
	color: var(--eve-primary);
	font-family: "Zalando Sans SemiExpanded", sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* Hide View all button on main image for desktop */
.eveilys-detail-gallery-main>.eveilys-gallery-view-all {
	display: none;
}

.eveilys-detail-main-layout {
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 20px;
	margin-bottom: 18px;
}

.eveilys-detail-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	grid-column: 1;
}

.eveilys-detail-header-v2,
.eveilys-detail-section,
.eveilys-pricing-card-v2 {
	background: #fff;
	border: 1px solid #d7dadd;
	border-radius: 10px;
	box-shadow: none;
}

.eveilys-detail-header-v2 {
	padding: 24px;
	background: #fff;
	border-radius: 8px;
}

.eveilys-detail-header-highlights {
	margin-top: 12px;
}

.eveilys-detail-header-highlights .eveilys-section-title {
	margin: 0 0 6px;
	font-size: 16px;
}

.eveilys-detail-header-highlights .eveilys-highlights-v2 {
	list-style: disc;
	padding-left: 18px;
}

.eveilys-detail-header-highlights .eveilys-highlights-v2 li {
	display: list-item;
	font-size: 13px;
	line-height: 1.45;
	margin: 1px 0;
}

.eveilys-cat-badge {
	display: none;
}

.eveilys-detail-header-v2 h1 {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.05;
	margin: 0 0 12px;
	color: var(--eve-primary);
}

.eveilys-detail-header-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.eveilys-detail-header-title-row h1 {
	margin: 0;
}

.eveilys-detail-meta-grid {
	margin: 0;
	padding: 0;
	border-bottom: none;
	gap: 20px;
}

.eveilys-meta-item {
	gap: 8px;
}

.eveilys-meta-item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #374151;
}

.eveilys-meta-text label {
	display: none;
}

.eveilys-meta-text span {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 100%;
	letter-spacing: 0px;
	color: #374151;
}

.eveilys-detail-section {
	padding: 24px;
	margin: 0;
	background: #fff;
	border: 1px solid #EAEAEA;
	border-radius: 8px;
}

.eveilys-detail-section:has(.eveilys-map-single-v2) {
	padding: 24px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

.eveilys-section-title {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0px;
	margin: 0 0 10px;
	color: #3b3f45;
}

.eveilys-detail-section:has(.eveilys-billets-list) .eveilys-section-title {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 0%;
}

.eveilys-detail-section:has(.eveilys-map-single-v2) .eveilys-section-title {
	font-family: "Zalando Sans SemiExpanded", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0;
	margin: 0 0 16px;
}

.eveilys-highlights-v2 {
	display: block;
	margin: 0;
	padding-left: 18px;
}

.eveilys-highlights-v2 li {
	display: list-item;
	color: #374151;
	font-size: 14px;
	font-weight: 500;
	margin: 2px 0;
}

.eveilys-highlights-v2 .dashicons {
	display: none;
}

.eveilys-details-collapsible {
	max-height: 170px;
}

.eveilys-event-detail .eveilys-details-collapsible::after {
	display: none;
}

.eveilys-trainer-card-v2 {
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.eveilys-trainer-avatar-v2 {
	width: 68px;
	height: 68px;
}

.eveilys-trainer-info-v2 h4 {
	margin-top: 0;
}

.eveilys-map-single-v2 {
	overflow: hidden;
	border-radius: 0;
	width: 100%;
}

.eveilys-map-location-text {
	font-family: "Zalando Sans SemiExpanded", sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0;
	color: #6b7280;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
}

.eveilys-map-single-v2 #eveilys-single-map {
	width: 100%;
	height: 450px !important;
	border-radius: 20px !important;
}

.eveilys-detail-content>.eveilys-btn-modifier {
	display: none;
}

.eveilys-detail-content>.eveilys-detail-section:has(.eveilys-billets-list) {
	display: none;
}

.eveilys-detail-sidebar {
	align-self: start;
	grid-column: 2;
	min-width: 0;
}

.eveilys-pricing-card-v2 {
	padding: 0;
	border-radius: 8px;
	position: static;
	top: auto;
	background: transparent;
	border: none;
}

.eveilys-detail-sidebar-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 800;
	color: #3b3f45;
}

.eveilys-pricing-card-v2.is-booking-view>.eveilys-billets-list-sidebar {
	display: none;
}

.eveilys-detail-billets-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eveilys-detail-billets-rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.eveilys-detail-ticket-row {
	border: 1px solid #dfe3e7;
	border-radius: 10px;
	background: #fff;
	padding: 12px 12px 11px;
}

.eveilys-detail-ticket-row-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.eveilys-detail-ticket-name {
	font-size: 15px;
	font-weight: 800;
	color: var(--eve-primary);
	line-height: 1.2;
}

.eveilys-detail-ticket-price-group {
	display: flex;
	align-items: baseline;
	gap: 8px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.eveilys-detail-ticket-price-old {
	font-size: 12px;
	font-weight: 700;
	color: #6b7280;
	text-decoration: line-through;
}

.eveilys-detail-ticket-price {
	font-size: 17px;
	font-weight: 800;
	color: #374151;
	line-height: 1.1;
}

.eveilys-detail-ticket-row-body {
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.eveilys-detail-ticket-stepper {
	display: inline-flex;
	flex: 0 0 auto;
}

.eveilys-pricing-card-v2 .eveilys-detail-ticket-stepper.eveilys-stepper-v2 {
	border-radius: 8px;
	border: 1px solid #dfe3e7;
	background: #fff;
	overflow: hidden;
}

.eveilys-pricing-card-v2 .eveilys-detail-ticket-stepper.eveilys-stepper-v2 button {
	width: 46px;
	height: 42px;
	padding: 0;
	border: 0 !important;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--eve-primary) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font: bold 24px Arial, Helvetica, sans-serif !important;
	letter-spacing: normal;
}



.eveilys-pricing-card-v2 .eveilys-detail-ticket-stepper.eveilys-stepper-v2 button:focus {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--eve-primary) !important;
	outline: none !important;
	box-shadow: none !important;
}

.eveilys-pricing-card-v2 .eveilys-detail-ticket-stepper.eveilys-stepper-v2 button[data-step="1"] {
	background: var(--eve-primary) !important;
	background-color: #A84448 !important;
	color: #fff !important;
}



.eveilys-pricing-card-v2 .eveilys-detail-ticket-stepper.eveilys-stepper-v2 button[data-step="1"]:focus {
	background: #A84448 !important;
	background-color: #A84448 !important;
	color: #fff !important;
	box-shadow: none !important;
	outline: none !important;
}

.eveilys-pricing-card-v2 .eveilys-detail-ticket-stepper.eveilys-stepper-v2 input {
	width: 40px;
	height: 42px;
	border: 0;
	border-left: 1px solid #e5e7eb;
	border-right: 1px solid #e5e7eb;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #374151 !important;
	background: #fff;
	padding: 0;
	pointer-events: none;
}

.eveilys-detail-ticket-subtotal-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1px;
	min-width: 80px;
}

.eveilys-detail-ticket-subtotal-label {
	font-size: 11px;
	color: #6b7280;
}

.eveilys-detail-ticket-subtotal {
	font-size: 14px;
	font-weight: 700;
	color: #39434c;
}

.eveilys-detail-ticket-row.is-exclusive .eveilys-detail-ticket-row-head {
	margin-bottom: 10px;
}

.eveilys-detail-ticket-exclusive {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.eveilys-detail-ticket-exclusive-text {
	font-size: 12px;
	font-weight: 700;
	color: #39434c;
}

.eveilys-detail-ticket-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid #d7dadd;
	background: #fff;
	color: var(--eve-primary);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.eveilys-detail-ticket-totals {
	padding: 2px 4px 0;
}

.eveilys-detail-ticket-totals-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 12px;
	color: #39434c;
}

.eveilys-detail-ticket-totals-row strong {
	font-size: 13px;
	font-weight: 800;
	color: #39434c;
}

.eveilys-detail-ticket-totals-row.is-total {
	font-size: 14px;
	font-weight: 700;
}

.eveilys-detail-ticket-totals-row.is-total strong {
	font-size: 18px;
}

.eveilys-detail-ticket-submit.eveilys-btn-book {
	height: 48px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 800;
	margin-top: 0;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.eveilys-detail-ticket-submit.eveilys-btn-book:hover,
.eveilys-detail-ticket-submit.eveilys-btn-book:focus,
.eveilys-detail-ticket-submit.eveilys-btn-book:active {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: #A84448 !important;
	color: #fff !important;
}

.eveilys-detail-ticket-submit.eveilys-btn-book:disabled {
	opacity: .55;
	cursor: not-allowed;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.eveilys-detail-ticket-report {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--eve-primary);
	text-decoration: none;
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0px;
	padding: 12px 0 0 0;
	margin: 0;
}

.eveilys-detail-ticket-report:hover,
.eveilys-detail-ticket-report:focus,
.eveilys-detail-ticket-report:active,
.eveilys-detail-ticket-report:visited {
	color: var(--eve-primary);
	text-decoration: none;
	outline: none;
}

.eveilys-detail-ticket-report .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.eveilys-billets-list-sidebar {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 8px;
}

.eveilys-billets-list-sidebar .eveilys-billet-item {
	padding: 10px 12px;
	border: 1px solid #dfe3e7;
	border-radius: 8px;
	background: #fff;
}

.eveilys-billets-list-sidebar .eveilys-billet-name {
	font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0px;
	color: var(--eve-primary);
}

.eveilys-billets-list-sidebar .eveilys-billet-price {
	color: #374151;
	font-weight: 800;
}

.eveilys-pricing-card-v2.is-owner-view .eveilys-btn-modifier {
	margin-top: 0;
	height: 44px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #A84448 !important;
	border: none !important;
	color: #fff !important;
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 30px;
	letter-spacing: 0;
	vertical-align: middle;
	text-decoration: none !important;
}

.eveilys-pricing-card-v2.is-owner-view .eveilys-btn-modifier:hover,
.eveilys-pricing-card-v2.is-owner-view .eveilys-btn-modifier:focus {
	background: #8E242C !important;
	color: #fff !important;
}

.eveilys-pricing-card-v2.is-owner-view {
	padding-bottom: 12px;
}

.eveilys-pricing-card-v2.is-owner-view .eveilys-billets-list-sidebar {
	gap: 8px;
	margin-bottom: 16px;
}

.eveilys-pricing-card-v2.is-owner-view .eveilys-billets-list-sidebar .eveilys-billet-item {
	padding: 16px 20px;
	border: 1px solid #D7DADD;
	border-left: 1px solid #D7DADD;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
}

.eveilys-pricing-card-v2.is-owner-view .eveilys-billets-list-sidebar .eveilys-billet-name {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	color: #A84448;
	font-weight: 700;
	font-style: normal;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0;
	vertical-align: middle;
}

.eveilys-pricing-card-v2.is-owner-view .eveilys-billets-list-sidebar .eveilys-billet-price {
	color: #39434C;
	font-weight: 700;
	font-size: 18px;
	line-height: 100%;
}

.eveilys-pricing-card-v2 .eveilys-price-header {
	margin: 8px 0 12px;
}

.eveilys-pricing-card-v2 .eveilys-price-amount {
	font-size: 24px;
}

.eveilys-pricing-card-v2 .eve-ticket-option {
	border-radius: 8px;
	padding: 10px 12px;
}

.eveilys-pricing-card-v2 .eveilys-stepper-v2 {
	border-radius: 8px;
}

.eveilys-pricing-card-v2 .eveilys-stepper-v2 {
	border: 1px solid #dfe3e7;
	background: #fff;
	overflow: hidden;
}

.eveilys-pricing-card-v2 .eveilys-stepper-v2 button {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff !important;
	background-color: #fff !important;
	color: var(--eve-primary) !important;
	border: none !important;
	font-size: 26px;
	line-height: 1;
	font-weight: 500;
	padding: 0 0 2px;
	font-family: inherit;
	opacity: 1;
}

.eveilys-pricing-card-v2 .eveilys-stepper-v2 button:hover {
	background: #faf4f5 !important;
	background-color: #faf4f5 !important;
	color: var(--eve-primary) !important;
}

.eveilys-pricing-card-v2 .eveilys-stepper-v2 button:focus {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--eve-primary) !important;
	outline: none !important;
}

.eveilys-pricing-card-v2 .eveilys-stepper-v2 input {
	width: 44px;
	height: 40px;
	border: none;
	border-left: 1px solid #e5e7eb;
	border-right: 1px solid #e5e7eb;
	background: #fff;
	color: #39434c;
	-webkit-text-fill-color: #39434c;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	opacity: 1;
	padding: 0;
	pointer-events: none;
}

.eveilys-enroll-form-v2 {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eveilys-enroll-form-group {
	margin: 0;
}

.eveilys-enroll-form-group label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
}

.eveilys-enroll-form-group input[type="text"],
.eveilys-enroll-form-group input[type="email"] {
	width: 100%;
	min-height: 38px;
	border: 1px solid #d7dadd;
	border-radius: 6px;
	background: #fff;
	padding: 8px 12px;
	font-size: 14px;
	color: #39434c;
	box-sizing: border-box;
}

.eveilys-enroll-form-group input[type="text"]+input,
.eveilys-enroll-form-group input[type="email"]+input {
	margin-top: 8px;
}

.eveilys-enroll-form-group input[type="text"]:focus,
.eveilys-enroll-form-group input[type="email"]:focus {
	border-color: var(--eve-primary);
	box-shadow: 0 0 0 2px rgba(168, 68, 72, 0.08);
	outline: none;
}

.eveilys-pricing-card-v2 .eveilys-btn-book {
	margin-top: 2px;
}

.eveilys-pricing-card-v2 .eveilys-btn-book {
	height: 48px;
	border-radius: 8px;
}

@media (max-width: 1024px) {
	.eveilys-detail-main-layout {
		grid-template-columns: 1fr;
	}

	.eveilys-detail-sidebar {
		position: static;
	}
}

@media (min-width: 1025px) {
	.eveilys-map-single-v2 #eveilys-single-map {
		height: 450px !important;
	}
}

@media (max-width: 768px) {
	.single-eve-event .eveilys-detail-breadcrumbs {
		display: none;
	}

	.eveilys-checkout-grid {
		grid-template-columns: 1fr;
	}

	.eveilys-checkout-payment-grid {
		grid-template-columns: 1fr;
	}

	.eveilys-checkout-payment-methods {
		flex-wrap: wrap;
	}

	.eveilys-checkout-ticket-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.eveilys-ticket-subtotal-wrap {
		align-items: flex-start;
	}

	.eveilys-detail-gallery-container {
		grid-template-columns: 1fr;
		height: auto;
		margin-left: 16px;
		margin-right: 16px;
		overflow: hidden;
		border-radius: 0;
	}

	.eveilys-detail-gallery-main {
		min-height: 240px;
		position: relative;
		overflow: hidden;
		width: 100%;
		box-sizing: border-box;
	}

	.eveilys-detail-gallery-main img {
		border-radius: 0;
	}

	.eveilys-detail-gallery-grid {
		min-height: 240px;
	}

	.eveilys-detail-header-v2 h1 {
		font-size: 24px;
	}

	.eveilys-detail-meta-grid {
		gap: 10px;
	}

	/* Mobile: full-width edge-to-edge, no side padding */
	.single-eve-event .eveilys-event-detail {
		padding: 0 0 56px;
		box-sizing: border-box;
	}

	.single-eve-event .eveilys-template-container {
		padding: 0 0 40px;
		box-sizing: border-box;
	}

	/* Hide all gallery images except first one */
	.eveilys-detail-gallery-main img:not(:first-child),
	.eveilys-gallery-cell img:not(:first-child),
	.eveilys-gallery-row-2 img:not(:first-child) {
		display: none;
	}

	/* Detail gallery on mobile - with side padding */
	.eveilys-detail-gallery-container {
		grid-template-columns: 1fr;
		height: auto;
		margin-bottom: 24px;
		border-radius: 0;
		margin-left: 16px;
		margin-right: 16px;
		overflow: hidden;
		box-sizing: border-box;
		max-width: calc(100% - 32px);
	}

	.eveilys-detail-gallery-main {
		min-height: 240px;
		max-height: 280px;
		position: relative;
		overflow: hidden;
		width: 100%;
		box-sizing: border-box;
	}

	.eveilys-detail-gallery-main img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
		max-width: 100%;
		border-radius: 0;
	}

	.eveilys-detail-gallery-grid {
		display: none !important;
	}

	/* Show View all button on main image for mobile */
	.eveilys-detail-gallery-main>.eveilys-gallery-view-all {
		display: inline-flex !important;
	}

	/* Move View all button to main image on mobile */
	.eveilys-gallery-cell {
		display: none;
	}

	.eveilys-gallery-view-all {
		position: absolute !important;
		bottom: 12px !important;
		right: 12px !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		visibility: visible !important;
		opacity: 1 !important;
		padding: 8px 16px;
		min-height: 36px;
		background: #fff !important;
		color: #a84448 !important;
		border: 1px solid #e5e7eb !important;
		border-radius: 6px;
		font-weight: 600;
		font-size: 14px;
		text-decoration: none;
		cursor: pointer;
		z-index: 100;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	}

	/* Reduce gap between detail sections on mobile */
	.eveilys-detail-main-layout {
		gap: 20px;
	}

	.eveilys-detail-content {
		gap: 20px;
	}

	.eveilys-detail-header-v2 {
		padding: 24px;
		margin: 0 16px 16px;
		border: none;
		background: #fff;
		box-shadow: none;
		border-radius: 8px;
	}

	.eveilys-detail-header-v2 h1 {
		font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
		margin-bottom: 16px;
		font-size: 24px;
		font-weight: 600;
		line-height: 1.2;
		color: var(--eve-primary);
	}

	.eveilys-detail-header-title-row {
		margin-bottom: 16px;
	}

	.eveilys-detail-meta-grid {
		flex-direction: column;
		gap: 12px;
		margin-bottom: 16px;
		padding-bottom: 16px;
		border-bottom: 1px solid #EAEAEA;
	}

	.eveilys-meta-avatar {
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
	}

	.eveilys-meta-text label {
		display: none;
	}

	.eveilys-meta-text span {
		font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 100%;
		letter-spacing: 0px;
		color: #374151;
	}

	/* Mobile highlights in header - simple bullet list */
	.eveilys-detail-header-highlights .eveilys-section-title {
		font-size: 18px;
		font-weight: 700;
		margin-bottom: 12px;
	}

	.eveilys-detail-header-highlights .eveilys-highlights-v2 {
		list-style: disc;
		padding-left: 18px;
		display: block;
		margin: 0;
	}

	.eveilys-detail-header-highlights .eveilys-highlights-v2 li {
		display: list-item;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.6;
		margin-bottom: 8px;
		color: #374151;
	}

	.eveilys-detail-header-highlights .eveilys-highlights-v2 li .dashicons {
		display: none;
	}

	/* Detail sections on mobile */
	.eveilys-detail-section {
		padding: 24px;
		border: 1px solid #EAEAEA;
		border-radius: 8px;
		background: #fff;
		margin: 0 16px 16px;
	}

	/* Map section on mobile */
	.eveilys-detail-section-map-full {
		margin: 0 16px 16px;
		padding: 16px;
		border: 1px solid #EAEAEA;
		border-radius: 8px;
		background: #fff;
		overflow: hidden;
		box-sizing: border-box;
		max-width: calc(100% - 32px);
	}

	.eveilys-detail-section-map-full .eveilys-map-single-v2 {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin: 0;
	}

	.eveilys-detail-section-map-full .eveilys-map-single-v2 #eveilys-single-map {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.eveilys-section-title {
		font-size: 18px;
		margin-bottom: 12px;
	}

	/* Pricing card on mobile */
	.eveilys-pricing-card-v2 {
		padding: 20px;
		margin: 0 16px;
		background: #fff;
		border-radius: 8px;
	}

	.eveilys-price-header {
		margin-bottom: 16px;
	}

	.eveilys-price-amount {
		font-size: 28px;
	}

	.eveilys-btn-book {
		height: 48px;
		font-size: 16px;
	}
}

@media (max-width: 640px) {
	.single-eve-event .eveilys-event-detail {
		padding: 0 0 56px;
	}

	.single-eve-event .eveilys-template-container {
		padding: 0 0 40px;
	}

	/* Hide gallery thumbnails on mobile */
	.eveilys-gallery-row-2 {
		display: none;
	}

	.eveilys-detail-gallery-container {
		grid-template-columns: 1fr;
		height: auto;
		margin-bottom: 20px;
		border-radius: 0;
	}

	.eveilys-detail-gallery-main {
		min-height: 240px;
	}

	.eveilys-detail-meta-grid {
		gap: 10px;
		margin-bottom: 12px;
		padding-bottom: 12px;
	}

	.eveilys-meta-item {
		gap: 10px;
	}

	.eveilys-meta-avatar {
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
	}

	.eveilys-meta-item .dashicons {
		font-size: 20px;
		width: 20px;
		height: 20px;
	}

	.eveilys-meta-text label {
		display: none;
	}

	.eveilys-meta-text span {
		font-family: 'Zalando Sans SemiExpanded', 'Zalando Sans', -apple-system, BlinkMacSystemFont, sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 100%;
		letter-spacing: 0px;
		color: #374151;
	}

	.eveilys-detail-section {
		padding: 24px;
		margin: 0 16px 12px 16px;
		background: #fff;
		border: 1px solid #EAEAEA;
		border-radius: 8px;
	}

	/* Map section on mobile */
	.eveilys-detail-section-map-full {
		margin: 0 16px 12px;
		padding: 14px;
		border: 1px solid #EAEAEA;
		border-radius: 8px;
		background: #fff;
		overflow: hidden;
		box-sizing: border-box;
		max-width: calc(100% - 32px);
	}

	.eveilys-detail-section-map-full .eveilys-map-single-v2 {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin: 0;
	}

	.eveilys-detail-section-map-full .eveilys-map-single-v2 #eveilys-single-map {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.eveilys-section-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	/* Mobile highlights - simple bullet list */
	.eveilys-detail-header-highlights .eveilys-section-title {
		font-size: 18px;
		font-weight: 700;
		margin-bottom: 12px;
	}

	.eveilys-detail-header-highlights .eveilys-highlights-v2 {
		list-style: disc;
		padding-left: 18px;
		display: block;
		margin: 0;
	}

	.eveilys-detail-header-highlights .eveilys-highlights-v2 li {
		display: list-item;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.6;
		margin-bottom: 8px;
		color: #374151;
	}

	.eveilys-detail-header-highlights .eveilys-highlights-v2 li .dashicons {
		display: none;
	}

	.eveilys-highlights-v2 {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.eveilys-pricing-card-v2 {
		padding: 0px;
		margin: 0 16px;
		background: transparent;
		border-radius: 8px;
	}

	.eveilys-price-amount {
		font-size: 26px;
	}

	.eveilys-ticket-selector {
		gap: 8px;
		margin-bottom: 16px;
	}

	.eve-ticket-option {
		padding: 12px 14px;
	}

	.eveilys-stepper-v2 button {
		width: 36px;
		height: 36px;
		font-size: 16px;
	}

	.eveilys-stepper-v2 input {
		width: 45px;
		height: 36px;
	}

	/* Similar events section mobile padding */
	.eveilys-similar-wrap {
		padding: 32px 0;
		margin-top: 24px;
	}

	.eveilys-similar-inner {
		padding: 0 16px;
		max-width: 100%;
	}

	.eveilys-similar-title {
		font-size: 22px;
		margin-bottom: 20px;
	}
}

/* === Single Event Page Width + Background Fix === */
body.single-eve-event #primary,
body:has(.eveilys-event-detail) #primary {
	background: #fff8f8 !important;
}

body.single-eve-event .site-main,
body.single-eve-event #primary,
body.single-eve-event .content-area,
body.single-eve-event .site-content,
body.single-eve-event .ast-container,
body.single-eve-event .ast-plain-container,
body.single-eve-event .ast-container-fluid {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: visible !important;
}

body.single-eve-event .site-content,
body.single-eve-event .ast-container,
body.single-eve-event .ast-plain-container,
body.single-eve-event .ast-container-fluid {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.single-eve-event.ast-page-builder-template .site .site-content #primary {
	padding: 0 !important;
	margin: -20px !important;
}

body.single-eve-event article.eve-event,
body.single-eve-event article.post,
body.single-eve-event .inside-article {
	background: transparent !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
	overflow-x: visible !important;
}

.single-eve-event .eveilys-template-container {
	max-width: 1256px;
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 0 40px;
}

.single-eve-event .eveilys-event-detail {
	max-width: 1256px;
	width: 100%;
	margin: 0 auto;
	padding: 16px 0 56px;
	box-sizing: border-box;
}

/* When similar section is present, remove extra bottom gap */
.single-eve-event .eveilys-event-detail:has(.eveilys-similar-wrap) {
	padding-bottom: 0;
}

/* === Account Menu Shortcode / Elementor Widget === */
.eveilys-account-menu-shortcode {
	position: relative;
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	line-height: 1;
}

.eveilys-account-menu-shortcode summary {
	list-style: none;
	display: block;
}

.eveilys-account-menu-shortcode summary::-webkit-details-marker {
	display: none;
}

.eveilys-account-menu-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid #d7dadd;
	border-radius: 6px;
	background: #fff;
	color: #39434c;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

.eveilys-account-menu-trigger .dashicons,
.eveilys-account-menu-trigger .eveilys-account-menu-icon {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.eveilys-account-menu-shortcode[open] .eveilys-account-menu-trigger {
	box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
}

.eveilys-account-menu-panel {
	position: absolute;
	top: 100%;
	margin-top: 8px;
	left: auto;
	right: 0;
	z-index: 40;
	min-width: 210px;
	width: max-content;
	max-width: calc(100vw - 24px);
	padding: 6px;
	border: 1px solid #dfe3e7;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(17, 24, 39, 0.10);
	transform-origin: top right;
}

.eveilys-account-menu-item {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: #39434c;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1.2;
}

.eveilys-account-menu-item:hover {
	background: #faf4f5;
	color: var(--eve-primary);
}

.eveilys-account-menu-item.is-active {
	background: #f8eeee;
	color: var(--eve-primary);
	font-weight: 700;
}

.eveilys-account-menu-item.is-disabled {
	opacity: .6;
	cursor: default;
	pointer-events: none;
}

/* === Global Plugin Field Focus Fix === */
.eveilys-teacher-portal input:not([type="checkbox"]):not([type="radio"]):focus,
.eveilys-teacher-portal select:focus,
.eveilys-teacher-portal textarea:focus,
.eveilys-student-dashboard input:not([type="checkbox"]):not([type="radio"]):focus,
.eveilys-student-dashboard select:focus,
.eveilys-student-dashboard textarea:focus,
.eveilys-auth-wrap input:not([type="checkbox"]):not([type="radio"]):focus,
.eveilys-auth-wrap select:focus,
.eveilys-auth-wrap textarea:focus,
.eveilys-checkout-wrap input:not([type="checkbox"]):not([type="radio"]):focus,
.eveilys-checkout-wrap select:focus,
.eveilys-checkout-wrap textarea:focus,
.eveilys-event-detail input:not([type="checkbox"]):not([type="radio"]):focus,
.eveilys-event-detail select:focus,
.eveilys-event-detail textarea:focus,
.eveilys-events-list-layout input:not([type="checkbox"]):not([type="radio"]):focus,
.eveilys-events-list-layout select:focus,
.eveilys-events-list-layout textarea:focus {
	outline: none !important;
	border: 1px solid var(--eve-primary) !important;
	box-shadow: 0 0 0 2px rgba(168, 68, 72, 0.10) !important;
}

/* === Profile Photo UI === */
.eveilys-profile-photo-field {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
}

.eveilys-profile-photo-preview {
	width: 72px;
	height: 72px;
	aspect-ratio: 1 / 1;
	border-radius: 999px;
	border: 1px solid #d7dadd;
	background: #f5f6f8;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex: 0 0 72px;
}

.eveilys-profile-photo-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50% !important;
}

.eveilys-profile-photo-preview .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #94a3b8;
}

.eveilys-profile-photo-controls {
	flex: 1 1 auto;
	min-width: 0;
}

.eveilys-profile-photo-controls .eveilys-auth-field {
	margin-bottom: 8px;
}

.eveilys-profile-photo-controls input[type="file"] {
	padding: 10px 12px;
	line-height: 1.2;
	background: #fff;
	border: 1px solid #d7dadd;
	border-radius: 8px;
}

.eveilys-profile-photo-remove {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #4b5563;
	cursor: pointer;
	margin-top: 2px;
}

.eveilys-profile-photo-remove input[type="checkbox"] {
	display: none;
}

.eveilys-profile-photo-remove .eveilys-check-custom {
	flex: 0 0 18px;
}

.eveilys-profile-card,
.eveilys-teacher-profile-card {
	padding: 18px 18px 20px;
}

.eveilys-user-profile-form {
	gap: 10px;
}

.eveilys-profile-card .eveilys-auth-row,
.eveilys-teacher-profile-card .eveilys-auth-row {
	gap: 16px;
	margin-top: 2px;
}

.eveilys-profile-card .eveilys-auth-field,
.eveilys-teacher-profile-card .eveilys-auth-field {
	margin-bottom: 16px;
}

.eveilys-profile-card .eveilys-auth-field span,
.eveilys-teacher-profile-card .eveilys-auth-field span {
	margin-bottom: 2px;
}

.eveilys-profile-card .eveilys-btn,
.eveilys-teacher-profile-card .eveilys-btn {
	margin-top: 4px;
}

@media (max-width: 640px) {
	.eveilys-profile-photo-field {
		flex-direction: column;
		align-items: flex-start;
	}

	.eveilys-profile-card .eveilys-auth-row,
	.eveilys-teacher-profile-card .eveilys-auth-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* === Profile + Account Menu Polish Overrides === */
.eveilys-account-menu-panel {
	min-width: 240px;
	padding: 10px;
	background: #fff !important;
	border: 1px solid #d9dfe6 !important;
	border-radius: 10px !important;
	box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12) !important;
}

.eveilys-account-menu-panel .eveilys-account-menu-item,
.eveilys-account-menu-panel .eveilys-account-menu-item:link,
.eveilys-account-menu-panel .eveilys-account-menu-item:visited {
	min-height: 44px;
	display: flex !important;
	align-items: center;
	padding: 10px 14px;
	border-radius: 9px;
	color: #3e4752 !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none !important;
	background: transparent !important;
}

.eveilys-account-menu-panel .eveilys-account-menu-item:hover {
	color: var(--eve-primary) !important;
	background: #faf4f5 !important;
	text-decoration: none !important;
}

.eveilys-account-menu-panel .eveilys-account-menu-item.is-active {
	color: var(--eve-primary) !important;
	background: #f8eeee !important;
	font-weight: 700;
}

.eveilys-account-menu-panel .eveilys-account-menu-item.is-disabled {
	color: #98a1ab !important;
	background: transparent !important;
}

/* Force account dropdown item colors against theme/Elementor link styles */
body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item,
body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item:link,
body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item:visited {
	color: #3e4752 !important;
	-webkit-text-fill-color: #3e4752 !important;
	text-decoration: none !important;
}

body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item:hover {
	color: var(--eve-primary) !important;
	-webkit-text-fill-color: var(--eve-primary) !important;
	text-decoration: none !important;
}

body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item.is-active,
body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item.is-active:link,
body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item.is-active:visited {
	color: var(--eve-primary) !important;
	-webkit-text-fill-color: var(--eve-primary) !important;
	text-decoration: none !important;
}

body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item,
body .eveilys-account-menu-shortcode .eveilys-account-menu-panel .eveilys-account-menu-item * {
	text-decoration: none !important;
}

.eveilys-account-menu-trigger {
	min-height: 38px;
	padding: 0 14px;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center;
	line-height: 1 !important;
}

.eveilys-account-menu-trigger-text {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.eveilys-profile-card,
.eveilys-teacher-profile-card {
	padding: 22px 20px 22px !important;
}

.eveilys-user-profile-form {
	gap: 12px !important;
}

.eveilys-user-profile-form .eveilys-auth-row {
	column-gap: 18px !important;
	row-gap: 10px !important;
	margin-top: 4px;
}

.eveilys-user-profile-form .eveilys-auth-field {
	margin-bottom: 18px !important;
}

.eveilys-user-profile-form .eveilys-auth-field>span {
	margin-bottom: 3px;
}

.eveilys-user-profile-form .eveilys-btn {
	min-height: 46px;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1.1 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	text-align: center;
}

.eveilys-profile-photo-field {
	align-items: flex-start;
	gap: 18px !important;
	margin-bottom: 18px !important;
}

.eveilys-profile-photo-preview {
	width: 96px !important;
	height: 96px !important;
	aspect-ratio: 1 / 1;
	border-radius: 50% !important;
	overflow: hidden !important;
}

.eveilys-profile-photo-preview img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 50% !important;
}

.eveilys-profile-photo-remove {
	margin-top: 6px !important;
}

.eveilys-profile-photo-remove input[type="checkbox"] {
	display: none !important;
}

.eveilys-profile-photo-remove .eveilys-check-custom {
	display: inline-block;
}

/* === Teacher / Instructor Avatar === */
.eveilys-trainer-avatar-v2 img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: 999px;
}

.eveilys-meta-item-organizer {
	align-items: center;
}

.eveilys-meta-avatar {
	width: 22px;
	height: 22px;
	border-radius: 999px;
	object-fit: cover;
	display: block;
	flex: 0 0 22px;
}


/* === Profile Photo Layout Final Fix === */
.eveilys-user-profile-form .eveilys-profile-photo-field {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 10px !important;
	margin-bottom: 20px !important;
}

.eveilys-user-profile-form .eveilys-profile-photo-preview {
	width: 96px !important;
	height: 96px !important;
	min-width: 96px !important;
	min-height: 96px !important;
	border-radius: 9999px !important;
	overflow: hidden !important;
	clip-path: circle(50% at 50% 50%);
	-webkit-clip-path: circle(50% at 50% 50%);
}

.eveilys-user-profile-form .eveilys-profile-photo-preview>img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
	border-radius: inherit !important;
}

.eveilys-user-profile-form .eveilys-profile-photo-controls {
	width: 100% !important;
	max-width: 520px;
}

.eveilys-user-profile-form .eveilys-profile-photo-controls .eveilys-auth-field {
	margin-bottom: 0 !important;
}

.eveilys-user-profile-form .eveilys-profile-photo-remove {
	display: none !important;
}


/* === Account Menu Summary Marker Fix === */
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger {
	list-style: none !important;
	list-style-image: none !important;
	display: inline-flex !important;
	align-items: center !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	margin: 0 !important;
	text-decoration: none !important;
	box-sizing: border-box;
}

.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger::marker {
	content: '' !important;
	font-size: 0 !important;
}

.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger::-webkit-details-marker {
	display: none !important;
}

.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger::before,
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger::after {
	content: none !important;
}

.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger .dashicons,
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger .eveilys-account-menu-icon,
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger .eveilys-account-menu-trigger-text {
	color: inherit !important;
	line-height: 1 !important;
}


/* === Account Menu Live Translate Fix === */
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger .eveilys-account-menu-trigger-text,
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger .eveilys-account-menu-trigger-text *,
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger font {
	color: inherit !important;
	font: inherit !important;
	background: transparent !important;
	line-height: 1 !important;
}

.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger .dashicons,
.eveilys-account-menu-shortcode>summary.eveilys-account-menu-trigger .eveilys-account-menu-icon,
.eveilys-account-menu-trigger .eveilys-account-menu-icon {
	color: inherit !important;
}

/* === Account Menu Custom Icon Support === */
.eveilys-account-menu-trigger .eveilys-account-menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.eveilys-account-menu-trigger .eveilys-account-menu-icon::before {
	line-height: 1;
}

/* === Events List Full-Width Background + Spacing Fix === */
body:has(.eveilys-events-list-layout),
body:has(.eveilys-events-list-layout) #page,
body:has(.eveilys-events-list-layout) #content,
body:has(.eveilys-events-list-layout) #primary,
body:has(.eveilys-events-list-layout) .site-main,
body:has(.eveilys-events-list-layout) .site-content,
body:has(.eveilys-events-list-layout) .content-area,
body:has(.eveilys-events-list-layout) .ast-container,
body:has(.eveilys-events-list-layout) .ast-plain-container,
body:has(.eveilys-events-list-layout) .ast-container-fluid,
body.post-type-archive-eve-event,
body.post-type-archive-eve-event #page,
body.post-type-archive-eve-event #content,
body.post-type-archive-eve-event #primary,
body.post-type-archive-eve-event .site-main,
body.post-type-archive-eve-event .site-content,
body.post-type-archive-eve-event .content-area,
body.post-type-archive-eve-event .ast-container,
body.post-type-archive-eve-event .ast-plain-container,
body.post-type-archive-eve-event .ast-container-fluid {
	background: #FFF8F8 !important;
}

@media (max-width: 768px) {

	body:has(.eveilys-events-list-layout),
	body.post-type-archive-eve-event {
		padding: 0 !important;
		margin: 0 !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
		min-height: 0 !important;
	}

	/* Also reset html element */
	html:has(.eveilys-events-list-layout) {
		padding: 0 !important;
		margin: 0 !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
		min-height: 0 !important;
	}

	/* Override Astra theme mobile padding */
	body:has(.eveilys-events-list-layout) .ast-container,
	body:has(.eveilys-events-list-layout) .ast-mobile-popup-content,
	body.post-type-archive-eve-event .ast-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	/* Reset Elementor header to normal scroll on mobile */
	body:has(.eveilys-events-list-layout) .ast-primary-header,
	body.post-type-archive-eve-event .ast-primary-header,
	body:has(.eveilys-events-list-layout) .header-main,
	body.post-type-archive-eve-event .header-main,
	body:has(.eveilys-events-list-layout) header .elementor,
	body.post-type-archive-eve-event header .elementor,
	body:has(.eveilys-events-list-layout) header,
	body.post-type-archive-eve-event header {
		position: relative !important;
		top: auto !important;
		z-index: 999998 !important;
		display: block !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		overflow: visible !important;
	}

	body:has(.eveilys-events-list-layout) .elementor-nav-menu,
	body:has(.eveilys-events-list-layout) .elementor-nav-menu--dropdown,
	body.post-type-archive-eve-event .elementor-nav-menu,
	body.post-type-archive-eve-event .elementor-nav-menu--dropdown {
		position: relative !important;
		z-index: 999999 !important;
	}

	body:has(.eveilys-events-list-layout) .custom-logo-link,
	body:has(.eveilys-events-list-layout) .custom-logo,
	body:has(.eveilys-events-list-layout) .site-branding,
	body:has(.eveilys-events-list-layout) .elementor-widget-theme-site-logo,
	body:has(.eveilys-events-list-layout) .elementor-widget-theme-site-logo img,
	body.post-type-archive-eve-event .custom-logo-link,
	body.post-type-archive-eve-event .custom-logo,
	body.post-type-archive-eve-event .site-branding,
	body.post-type-archive-eve-event .elementor-widget-theme-site-logo,
	body.post-type-archive-eve-event .elementor-widget-theme-site-logo img {
		position: relative !important;
		z-index: 1000000 !important;
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
	}

	body:has(.eveilys-events-list-layout) .eveilys-events-map-wrap,
	body:has(.eveilys-events-list-layout) .eveilys-map,
	body.post-type-archive-eve-event .eveilys-events-map-wrap,
	body.post-type-archive-eve-event .eveilys-map {
		position: relative;
		z-index: 1;
	}
}

body:has(.eveilys-events-list-layout) .eveilys-template-container,
body.post-type-archive-eve-event .eveilys-template-container {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.eveilys-template-container>.eveilys-events-list-layout {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
}

@media (max-width: 768px) {

	/* Remove padding from body and all parent containers */
	body:has(.eveilys-events-list-layout),
	body:has(.eveilys-events-list-layout) #page,
	body:has(.eveilys-events-list-layout) #content,
	body:has(.eveilys-events-list-layout) #primary,
	body:has(.eveilys-events-list-layout) .site-main,
	body:has(.eveilys-events-list-layout) .site-content,
	body:has(.eveilys-events-list-layout) .content-area,
	body:has(.eveilys-events-list-layout) .ast-container,
	body:has(.eveilys-events-list-layout) .ast-plain-container,
	body:has(.eveilys-events-list-layout) .ast-container-fluid,
	body:has(.eveilys-events-list-layout) .eveilys-template-container,
	body:has(.eveilys-events-list-layout) article,
	body:has(.eveilys-events-list-layout) main {
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-top: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-top: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
		overflow-x: visible !important;
	}

	.eveilys-events-list-layout {
		max-width: 100% !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	/* Events inner should also be full width */
	.eveilys-events-list-layout .eveilys-events-inner {
		max-width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
		overflow: visible !important;
	}

	/* Events content should allow overflow for dropdowns */
	.eveilys-events-list-layout .eveilys-events-content {
		overflow: visible !important;
	}
}

.elementor-nav-menu,
.elementor-nav-menu--dropdown {
	position: relative;
	z-index: 999999 !important;
}

.eveilys-events-list-layout .eveilys-events-inner {
	padding-bottom: 100px !important;
}

@media (max-width: 768px) {
	.eveilys-events-list-layout .eveilys-events-inner {
		max-width: 100% !important;
		padding: 0 !important;
		padding-bottom: 50px !important;
		margin: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
}

/* ===== Mobile Responsive Styles for Events List ===== */
@media (max-width: 768px) {

	/* Mobile page background should be white on events listing */
	body:has(.eveilys-events-list-layout),
	body:has(.eveilys-events-list-layout) #page,
	body:has(.eveilys-events-list-layout) #content,
	body:has(.eveilys-events-list-layout) #primary,
	body:has(.eveilys-events-list-layout) .site-main,
	body:has(.eveilys-events-list-layout) .site-content,
	body:has(.eveilys-events-list-layout) .content-area,
	body:has(.eveilys-events-list-layout) .ast-container,
	body:has(.eveilys-events-list-layout) .ast-plain-container,
	body:has(.eveilys-events-list-layout) .ast-container-fluid,
	body:has(.eveilys-events-list-layout) .eveilys-template-container,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout,
	body.post-type-archive-eve-event,
	body.post-type-archive-eve-event #page,
	body.post-type-archive-eve-event #content,
	body.post-type-archive-eve-event #primary,
	body.post-type-archive-eve-event .site-main,
	body.post-type-archive-eve-event .site-content,
	body.post-type-archive-eve-event .content-area,
	body.post-type-archive-eve-event .ast-container,
	body.post-type-archive-eve-event .ast-plain-container,
	body.post-type-archive-eve-event .ast-container-fluid,
	body.post-type-archive-eve-event .eveilys-template-container,
	body.post-type-archive-eve-event .eveilys-events-list-layout {
		background: #fff !important;
	}

	/* Hide desktop filter pills on mobile */
	.eveilys-events-list-layout .eveilys-filter-pills {
		display: none !important;
	}

	/* Mobile filter bar with Filtres button + Voir la carte toggle */
	.eveilys-events-list-layout .eveilys-events-filters {
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	/* Mobile toolbar */
	.eveilys-events-list-layout .eveilys-list-toolbar {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		padding: 12px 16px;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		background: #fff;
		border-bottom: 1px solid var(--eve-border, #E8E0DC);
	}

	/* Hide results count on mobile */
	.eveilys-events-list-layout .eveilys-results-count {
		display: none;
	}

	/* Mobile filter button */
	.eveilys-mobile-filter-btn {
		display: inline-flex !important;
		align-items: center;
		gap: 6px;
		padding: 10px 16px;
		background: #fff;
		border: 1px solid var(--eve-border, #d8d2cc);
		border-radius: 10px;
		font-size: 14px;
		font-weight: 500;
		color: var(--eve-text, #333);
		cursor: pointer;
		transition: all 0.2s ease;
	}

	.eveilys-mobile-filter-btn:hover {
		border-color: var(--eve-primary, #A84448);
		background: #FFF8F8;
	}

	.eveilys-mobile-filter-btn .dashicons {
		font-size: 16px;
		width: 16px;
		height: 16px;
	}

	/* Map toggle label on mobile */
	.eveilys-events-list-layout .eveilys-map-toggle-label {
		font-size: 13px;
		font-weight: 500;
	}

	/* Events inner container on mobile */
	.eveilys-events-list-layout .eveilys-events-inner {
		padding: 0 !important;
	}

	/* Events content layout on mobile */
	.eveilys-events-list-layout .eveilys-events-content,
	.eveilys-events-list-layout.map-active .eveilys-events-content {
		flex-direction: column !important;
		gap: 0 !important;
		display: flex !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 20px 0px 0px 0px !important;
		box-sizing: border-box !important;
	}

	/* Map wrapper on mobile */
	.eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
		width: calc(100% - 32px) !important;
		max-width: calc(100% - 32px) !important;
		margin: 0 16px !important;
		height: auto !important;
		min-height: unset !important;
		aspect-ratio: 22 / 23 !important;
		padding: 0 !important;
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		border-radius: 0 !important;
		border: 1px solid var(--eve-border, #E8E0DC) !important;
		order: -1;
		margin-bottom: 12px !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}

	/* Map itself on mobile */
	.eveilys-events-list-layout.map-active .eveilys-events-map-wrap .eveilys-map,
	.eveilys-events-list-layout.map-active .eveilys-map {
		width: 100% !important;
		max-width: 100% !important;
		height: 100% !important;
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
		border-radius: 0 !important;
	}

	/* Ensure map iframe or canvas is full width */
	.eveilys-events-list-layout.map-active .eveilys-events-map-wrap iframe,
	.eveilys-events-list-layout.map-active .eveilys-events-map-wrap canvas,
	.eveilys-events-list-layout.map-active .eveilys-map iframe,
	.eveilys-events-list-layout.map-active .eveilys-map canvas,
	.eveilys-events-list-layout.map-active .eveilys-map>div {
		width: 100% !important;
		max-width: 100% !important;
		height: 100% !important;
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Hide map when not active on mobile */
	.eveilys-events-list-layout:not(.map-active) .eveilys-events-map-wrap {
		display: none !important;
	}

	/* Cards container on mobile */
	.eveilys-events-list-layout .eveilys-events-cards,
	.eveilys-events-list-layout.map-active .eveilys-events-cards {
		padding: 16px !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
		max-height: none !important;
		overflow-y: visible !important;
		height: auto !important;
		flex: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	/* Event card on mobile - vertical layout */
	.eveilys-events-list-layout .eveilys-event-card,
	.eveilys-events-list-layout .eveilys-event-card-h {
		flex-direction: column !important;
		width: 100% !important;
		margin: 0 !important;
		height: auto !important;
		min-height: auto !important;
		border-radius: 8px !important;
		overflow: hidden !important;
		box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05) !important;
		display: flex !important;
		background: #fff !important;
		border: 1px solid #e8e0dd !important;
	}

	/* Card image on mobile */
	.eveilys-events-list-layout .eveilys-card-h-image,
	.eveilys-events-list-layout .eveilys-event-card-image {
		width: 100% !important;
		min-width: unset !important;
		max-width: 100% !important;
		height: 300px !important;
		min-height: 300px !important;
		max-height: 300px !important;
		flex: 0 0 300px !important;
		border-radius: 0 !important;
		margin: 0 !important;
		position: relative;
		overflow: hidden !important;
	}

	.eveilys-events-list-layout .eveilys-card-h-slider {
		width: 100% !important;
		height: 300px !important;
		min-height: 300px !important;
		position: relative;
	}

	.eveilys-events-list-layout .eveilys-card-h-slider img {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}

	.eveilys-events-list-layout .eveilys-card-h-slider img:first-child {
		display: block !important;
	}

	.eveilys-events-list-layout .eveilys-card-h-slider .eveilys-placeholder {
		width: 100% !important;
		height: 300px !important;
		min-height: 300px !important;
		max-height: 190px !important;
		background: linear-gradient(135deg, #f0ebe7 0%, #e0d5cc 100%);
	}

	.eveilys-events-list-layout .eveilys-card-h-image img,
	.eveilys-events-list-layout .eveilys-event-card-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* Card content on mobile */
	.eveilys-events-list-layout .eveilys-card-h-body,
	.eveilys-events-list-layout .eveilys-event-card-body {
		padding: 16px !important;
		display: flex !important;
		flex-direction: column !important;
		flex: 1 1 auto !important;
		flex-shrink: 0 !important;
		width: 100% !important;
		min-height: auto !important;
		box-sizing: border-box !important;
		background: #fff !important;
	}

	/* Card title on mobile */
	.eveilys-events-list-layout .eveilys-card-h-title,
	.eveilys-events-list-layout .eveilys-event-card-title {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 20px !important;
		font-weight: 600 !important;
		margin-bottom: 6px !important;
		line-height: 30px !important;
		letter-spacing: 0 !important;
		vertical-align: middle;
		color: var(--eve-primary, #A84448) !important;
		display: block !important;
	}

	/* Card top section on mobile */
	.eveilys-events-list-layout .eveilys-card-h-top {
		display: flex !important;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 6px !important;
	}

	/* Card meta on mobile */
	.eveilys-events-list-layout .eveilys-card-h-meta,
	.eveilys-events-list-layout .eveilys-event-card-meta {
		font-size: 12px !important;
		color: var(--eve-text-light, #555) !important;
		margin-bottom: 8px !important;
		display: block !important;
		line-height: 1.4 !important;
	}

	.eveilys-events-list-layout .eveilys-card-h-meta .eveilys-meta-line,
	.eveilys-events-list-layout .eveilys-event-card-meta span {
		display: flex !important;
		align-items: center;
		gap: 4px;
		margin-bottom: 3px;
	}

	/* Card features list on mobile */
	.eveilys-events-list-layout .eveilys-card-h-features,
	.eveilys-events-list-layout .eveilys-card-h-highlights,
	.eveilys-events-list-layout .eveilys-event-card-features {
		padding-left: 0 !important;
		margin: 8px 0 !important;
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-weight: 500 !important;
		font-style: normal !important;
		font-size: 12px !important;
		line-height: 16px !important;
		letter-spacing: 0 !important;
		color: var(--eve-text, #333) !important;
		display: block !important;
	}

	.eveilys-events-list-layout .eveilys-card-h-features li,
	.eveilys-events-list-layout .eveilys-card-h-highlights li,
	.eveilys-events-list-layout .eveilys-event-card-features li {
		margin-bottom: 3px !important;
		display: list-item !important;
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-weight: 500 !important;
		font-style: normal !important;
		font-size: 12px !important;
		line-height: 16px !important;
		letter-spacing: 0 !important;
	}

	/* Card price on mobile */
	.eveilys-events-list-layout .eveilys-card-h-price,
	.eveilys-events-list-layout .eveilys-event-card-price {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 20px !important;
		font-weight: 600 !important;
		line-height: 30px !important;
		letter-spacing: 0 !important;
		vertical-align: middle;
		color: var(--eve-primary, #A84448) !important;
		margin-top: 8px !important;
		display: block !important;
	}

	/* Mobile price should show only number + currency (hide prefix label) */
	.eveilys-events-list-layout .eveilys-card-h-price .eveilys-price-label,
	.eveilys-events-list-layout .eveilys-event-card-price .eveilys-price-label {
		display: none !important;
	}

	/* Favorite button on mobile cards */
	.eveilys-events-list-layout .eve-favorite-btn {
		top: 12px !important;
		right: 12px !important;
		width: 36px !important;
		height: 36px !important;
	}

	/* Slider navigation on mobile */
	.eveilys-events-list-layout .eveilys-slider-nav,
	.eveilys-events-list-layout .eve-card-slider-nav {
		opacity: 1 !important;
	}

	/* Dots navigation on mobile */
	.eveilys-events-list-layout .eveilys-card-h-dots {
		bottom: 12px !important;
	}
}

/* Extra small screens */
@media (max-width: 480px) {
	.eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
		width: calc(100% - 32px) !important;
		max-width: calc(100% - 32px) !important;
		margin: 0 16px !important;
		height: auto !important;
		min-height: unset !important;
		aspect-ratio: 22 / 23 !important;
		border-radius: 0 !important;
	}

	.eveilys-events-list-layout .eveilys-events-cards {
		padding: 16px !important;
		gap: 10px !important;
	}

	.eveilys-events-list-layout .eveilys-card-h-body,
	.eveilys-events-list-layout .eveilys-event-card-body {
		padding: 16px !important;
	}

	.eveilys-events-list-layout .eveilys-card-h-title,
	.eveilys-events-list-layout .eveilys-event-card-title {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 20px !important;
		font-weight: 600 !important;
		line-height: 30px !important;
		letter-spacing: 0 !important;
		vertical-align: middle;
	}

	.eveilys-events-list-layout .eveilys-card-h-price,
	.eveilys-events-list-layout .eveilys-event-card-price {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 20px !important;
		font-weight: 600 !important;
		line-height: 30px !important;
		letter-spacing: 0 !important;
		vertical-align: middle;
	}

	.eveilys-mobile-filter-btn {
		padding: 8px 14px;
		font-size: 13px;
	}
}

/* ===== Mobile Toolbar ===== */
.eveilys-mobile-toolbar {
	display: none;
}

@media (max-width: 768px) {
	.eveilys-mobile-toolbar {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		padding: 12px 16px;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		position: static !important;
		top: auto !important;
		z-index: auto !important;
		box-sizing: border-box !important;
		background: transparent !important;
		border-bottom: none !important;
	}

	.eveilys-mobile-filter-btn {
		display: inline-flex !important;
		align-items: center;
		gap: 6px;
		padding: 10px 16px;
		background: #fff !important;
		background-color: #fff !important;
		border: 1px solid var(--eve-border, #d8d2cc) !important;
		border-radius: 10px !important;
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		line-height: 100% !important;
		letter-spacing: 0 !important;
		color: var(--eve-text, #333) !important;
		cursor: pointer;
		transition: all 0.2s ease;
	}

	.eveilys-mobile-toolbar .eveilys-map-toggle-label,
	.eveilys-mobile-toolbar .eveilys-map-toggle-label span {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		line-height: 100% !important;
		letter-spacing: 0 !important;
	}

	.eveilys-mobile-filter-btn:hover,
	.eveilys-mobile-filter-btn:focus {
		border-color: var(--eve-primary, #A84448) !important;
		background: #FFF8F8 !important;
		background-color: #FFF8F8 !important;
		color: var(--eve-primary, #A84448) !important;
	}

	.eveilys-mobile-filter-btn .dashicons {
		font-size: 16px;
		width: 16px;
		height: 16px;
		color: inherit;
	}

	.eveilys-mobile-filter-btn.is-active {
		background: var(--eve-primary, #A84448) !important;
		background-color: var(--eve-primary, #A84448) !important;
		color: #fff !important;
		border-color: var(--eve-primary, #A84448) !important;
	}

	/* Hide desktop toolbar on mobile */
	.eveilys-events-list-layout .eveilys-list-toolbar {
		display: none !important;
	}

	/* Mobile filter panel */
	.eveilys-events-list-layout .eveilys-events-filters {
		display: none;
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		background: transparent !important;
		border: none !important;
		overflow: visible !important;
	}

	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-filter-pills {
		display: flex !important;
		flex-wrap: wrap;
		gap: 12px 10px;
		padding: 15px !important;
		margin: 0 !important;
		align-items: flex-start;
		row-gap: 12px;
	}

	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-filter-pill {
		flex: 1 1 calc(50% - 5px);
		min-width: 120px;
		display: flex !important;
		align-items: center;
		padding: 0 !important;
		margin: 0 !important;
	}

	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-filter-pill select,
	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-filter-pill input {
		width: 100% !important;
	}

	/* Ensure custom dropdown is visible on mobile */
	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-custom-dropdown {
		width: 100% !important;
		display: block !important;
	}

	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-dropdown-trigger {
		width: 100% !important;
		justify-content: space-between !important;
	}

	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-custom-dropdown.is-open .eveilys-dropdown-panel {
		z-index: 9999 !important;
		position: absolute !important;
		width: 100% !important;
	}

	.eveilys-events-list-layout .eveilys-events-filters.is-mobile-open .eveilys-filter-submit {
		display: flex !important;
		width: 100% !important;
		margin: 0 !important;
		border-radius: 8px !important;
		height: 44px !important;
		flex: 1 1 100%;
		align-items: center;
		justify-content: center;
		padding: 0 12px !important;
		box-sizing: border-box !important;
	}
}

/* === Tab Next Button === */
.eveilys-tab-next-row {
	display: flex;
	justify-content: flex-end;
	padding: 24px 24px 8px 24px;
}

.eveilys-btn-next {
	background-color: #a84448 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 0 24px !important;
	height: 44px !important;
	font-family: "Zalando Sans SemiExpanded", Sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	transition: background-color 0.2s ease !important;
}

.eveilys-btn-next:hover,
.eveilys-form-outer .eveilys-btn-next:hover,
.eveilys-form-outer button.eveilys-btn-next:hover,
body .eveilys-btn-next:hover {
	background-color: transparent !important;
	color: #a84448 !important;
	border: 2px solid #a84448 !important;
}

@media (max-width: 768px) {
	.eveilys-tab-next-row {
		padding: 16px 0 8px 0;
		margin-bottom: 50px;
	}

	.eveilys-btn-next {
		flex: 1 1 100%;
		justify-content: center;
	}
}

/* === Detail Page Trainer Tabs === */
.eveilys-trainer-tabs-header {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	border-bottom: 1px solid #D9D9D9;
	padding-bottom: 0;
}

.eveilys-trainer-tab-btn {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 8px 16px;
	font-family: "Zalando Sans SemiExpanded", Sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #626E79;
	cursor: pointer;
	margin-bottom: -1px;
	transition: color 0.2s, border-color 0.2s;
}

.eveilys-trainer-tab-btn.is-active {
	color: #a84448;
	border-bottom-color: #a84448;
}

.eveilys-trainer-tab-btn:hover {
	color: #a84448;
}

.eveilys-trainer-panel {
	display: none;
}

.eveilys-trainer-panel.is-active {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

/* ===== Gallery Lightbox ===== */
.eveilys-gallery-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.eveilys-gallery-lightbox.is-active {
	display: flex;
	flex-direction: column;
}

.eveilys-gallery-lightbox-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 1;
}

.eveilys-gallery-lightbox-content {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	background-color: #FAF8F6;
	overflow-y: auto;
}

.eveilys-gallery-lightbox-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid #E8E0DC;
	background-color: #FFFFFF;
	position: sticky;
	top: 0;
	z-index: 10;
}

.eveilys-gallery-lightbox-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #2D2D2D;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.eveilys-gallery-lightbox-close {
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2D2D2D;
	font-size: 24px;
	transition: color 0.2s;
	line-height: 1;
}

.eveilys-gallery-lightbox-close:hover {
	color: #a84448;
}

.eveilys-gallery-lightbox-close .dashicons {
	width: 24px;
	height: 24px;
	font-size: 24px;
}

.eveilys-gallery-lightbox-grid {
	flex: 1;
	padding: 24px;
	/* Masonry grid: 2 columns on left (stacked), 1 tall column on right */
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	grid-auto-rows: 250px;
	grid-auto-flow: dense;
	max-width: 1100px;
	margin: 0 auto;
	width: 100%;
}

.eveilys-gallery-lightbox-item {
	overflow: hidden;
	border-radius: 8px;
	background-color: #E8E0DC;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eveilys-gallery-lightbox-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Every 3rd item spans 2 rows (tall vertical on right) */
.eveilys-gallery-lightbox-item:nth-child(3n) {
	grid-row: span 2;
}

/* Mobile: Single column stack */
@media (max-width: 1100px) {
	.eveilys-gallery-lightbox-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 250px;
		gap: 12px;
		padding: 16px;
	}

	.eveilys-gallery-lightbox-item:nth-child(3n) {
		grid-row: span 1;
	}
}

@media (max-width: 768px) {
	.eveilys-gallery-lightbox-grid {
		grid-auto-rows: 300px;
		gap: 8px;
		padding: 12px;
	}

	.eveilys-gallery-lightbox-header {
		padding: 16px;
	}

	.eveilys-gallery-lightbox-header h2 {
		font-size: 18px;
	}
}

/* ===== Favorites Feature ===== */
body:has(.eveilys-favorites-page) {
	background-color: #fef8f8 !important;
}

.eveilys-favorites-page {
	background-color: #fef8f8;
}

/* Favorites Page Empty State */
.eveilys-favorites-empty {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
}

.eveilys-favorites-empty .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #94A3B8;
	margin-bottom: 16px;
}

.eveilys-favorites-empty h3 {
	margin-bottom: 8px;
	color: #1E293B;
}

.eveilys-favorites-empty p {
	color: #64748B;
	margin-bottom: 24px;
}

/* Removal animation */
.eveilys-event-card-h,
.eveilys-dashboard-card {
	transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Remove button in dropdown */
.eveilys-dashboard-card-menu-item.is-remove-fav {
	color: #A84448;
}

.eveilys-dashboard-card-menu-item.is-remove-fav:hover {
	background-color: #FFF5F5;
}

/* === Standalone Teachers Grid Shortcode === */
.eveilys-teachers-grid-shortcode {
	--eve-teacher-columns: 6;
	--eve-teacher-max-width: 1104px;
	--eve-teacher-avatar-size: 132px;
	--eve-teacher-avatar-blob-scale-x: 1.04;
	--eve-teacher-avatar-blob-scale-y: 1;
	--eve-teacher-avatar-blob-main-x: 44%;
	--eve-teacher-avatar-blob-main-radius: 50%;
	--eve-teacher-avatar-blob-bump-x: 84%;
	--eve-teacher-avatar-blob-bump-radius: 28%;
	--eve-teacher-avatar-svg-mask-image: none;
	--eve-teacher-avatar-image-zoom: 1;
	--eve-teacher-avatar-border: 2px;
	--eve-teacher-avatar-border-color: #d8dce0;
	--eve-teacher-column-gap: 24px;
	--eve-teacher-row-gap: 20px;
	--eve-teacher-name-size: clamp(16px, 1.7vw, 26px);
	--eve-teacher-name-color: var(--eve-primary);
	max-width: var(--eve-teacher-max-width);
	margin-inline: auto;
}

.eveilys-teachers-grid-list {
	display: grid;
	grid-template-columns: repeat(var(--eve-teacher-columns), minmax(0, 1fr));
	column-gap: var(--eve-teacher-column-gap);
	row-gap: var(--eve-teacher-row-gap);
}

.eveilys-teacher-mini-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	text-decoration: none;
	padding: 2px;
	color: inherit;
	min-width: 0;
}

a.eveilys-teacher-mini-card:hover,
a.eveilys-teacher-mini-card:focus {
	text-decoration: none;
}

.eveilys-teacher-mini-avatar {
	width: var(--eve-teacher-avatar-size);
	max-width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 999px;
	overflow: hidden;
	box-sizing: border-box;
	display: grid;
	place-items: center;
	background: #e8eaed;
}

.eveilys-teachers-grid-shortcode.is-avatar-blob .eveilys-teacher-mini-avatar {
	width: calc(var(--eve-teacher-avatar-size) * clamp(0.5, var(--eve-teacher-avatar-blob-scale-x), 2));
	height: calc(var(--eve-teacher-avatar-size) * clamp(0.5, var(--eve-teacher-avatar-blob-scale-y), 2));
	aspect-ratio: 1 / 1;
	/* Fallback: approximate blob using adjustable left/right radii */
	--eve-teacher-avatar-fallback-left-r: clamp(24%, calc(var(--eve-teacher-avatar-blob-main-radius) + ((44% - var(--eve-teacher-avatar-blob-main-x)) * 0.35)), 70%);
	--eve-teacher-avatar-fallback-right-r: clamp(52%, calc(60% + (var(--eve-teacher-avatar-blob-bump-radius) * 0.64) + ((var(--eve-teacher-avatar-blob-bump-x) - 84%) * 0.4)), 98%);
	border-radius:
		var(--eve-teacher-avatar-fallback-left-r)
		var(--eve-teacher-avatar-fallback-right-r)
		var(--eve-teacher-avatar-fallback-right-r)
		var(--eve-teacher-avatar-fallback-left-r)
		/
		50%
		50%
		50%
		50%;
	border: var(--eve-teacher-avatar-border) solid var(--eve-teacher-avatar-border-color);
}

@supports (-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 50.5%)) {
	.eveilys-teachers-grid-shortcode.is-avatar-blob .eveilys-teacher-mini-avatar {
		border-radius: 0;
		-webkit-mask-image:
			radial-gradient(circle at var(--eve-teacher-avatar-blob-main-x) 50%, #000 var(--eve-teacher-avatar-blob-main-radius), transparent calc(var(--eve-teacher-avatar-blob-main-radius) + 0.5%)),
			radial-gradient(circle at var(--eve-teacher-avatar-blob-bump-x) 50%, #000 var(--eve-teacher-avatar-blob-bump-radius), transparent calc(var(--eve-teacher-avatar-blob-bump-radius) + 0.5%));
		-webkit-mask-repeat: no-repeat, no-repeat;
		-webkit-mask-size: 100% 100%, 100% 100%;
		mask-image:
			radial-gradient(circle at var(--eve-teacher-avatar-blob-main-x) 50%, #000 var(--eve-teacher-avatar-blob-main-radius), transparent calc(var(--eve-teacher-avatar-blob-main-radius) + 0.5%)),
			radial-gradient(circle at var(--eve-teacher-avatar-blob-bump-x) 50%, #000 var(--eve-teacher-avatar-blob-bump-radius), transparent calc(var(--eve-teacher-avatar-blob-bump-radius) + 0.5%));
		mask-repeat: no-repeat, no-repeat;
		mask-size: 100% 100%, 100% 100%;
	}

	.eveilys-teachers-grid-shortcode.is-avatar-blob.is-blob-mask-fallback .eveilys-teacher-mini-avatar {
		border-radius:
			var(--eve-teacher-avatar-fallback-left-r)
			var(--eve-teacher-avatar-fallback-right-r)
			var(--eve-teacher-avatar-fallback-right-r)
			var(--eve-teacher-avatar-fallback-left-r)
			/
			50%
			50%
			50%
			50%;
		-webkit-mask-image: none;
		mask-image: none;
	}
}

.eveilys-teachers-grid-shortcode.is-avatar-circle .eveilys-teacher-mini-avatar {
	border-radius: 999px;
}

.eveilys-teachers-grid-shortcode.is-avatar-svg .eveilys-teacher-mini-avatar {
	width: calc(var(--eve-teacher-avatar-size) * clamp(0.5, var(--eve-teacher-avatar-blob-scale-x), 2));
	height: calc(var(--eve-teacher-avatar-size) * clamp(0.5, var(--eve-teacher-avatar-blob-scale-y), 2));
	border-radius: 0;
	border: var(--eve-teacher-avatar-border) solid var(--eve-teacher-avatar-border-color);
	-webkit-mask-image: var(--eve-teacher-avatar-svg-mask-image);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-image: var(--eve-teacher-avatar-svg-mask-image);
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
}

.eveilys-teachers-grid-shortcode.is-avatar-none .eveilys-teacher-mini-avatar {
	width: var(--eve-teacher-avatar-size);
	height: var(--eve-teacher-avatar-size);
	border-radius: 0;
}

.eveilys-teacher-mini-avatar img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: inherit;
	transform: scale(clamp(1, var(--eve-teacher-avatar-image-zoom), 1.5));
	transform-origin: center center;
}

.eveilys-teacher-mini-avatar .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
	color: #778290;
}

.eveilys-teacher-mini-name {
	margin: 0;
	font-size: var(--eve-teacher-name-size);
	line-height: 1.25;
	font-weight: 500;
	color: var(--eve-teacher-name-color);
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eveilys-teacher-mini-role {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #6b7280;
}

.eveilys-teacher-mini-bio {
	margin: 0;
	max-width: 26ch;
	font-size: 13px;
	line-height: 1.5;
	color: #3f4955;
}

@media (max-width: 1200px) {
	.eveilys-teachers-grid-list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.eveilys-teachers-grid-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 18px;
		row-gap: 16px;
	}
}

@media (max-width: 640px) {
	.eveilys-teachers-grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 14px;
		row-gap: 14px;
	}
}

/* === Teachers Grid (Research UI) === */
.eveilys-teachers-grid-research-shortcode {
	--eve-teacher-r-accent: #ab434b;
	--eve-teacher-r-border: #b2494f;
	--eve-teacher-r-card-bg: #f4f5f6;
	--eve-teacher-r-text: #2b2f35;
	--eve-teacher-r-muted: #43474e;
	--eve-teacher-r-pill-bg: #f6f7f8;
	--eve-teacher-r-pill-text: #444851;
	--eve-teacher-r-max-width: 1140px;
	--eve-teacher-r-columns: 2;
	--eve-teacher-r-avatar-size: 140px;
	--eve-teacher-r-column-gap: 20px;
	--eve-teacher-r-row-gap: 18px;
	--eve-teacher-r-card-radius: 22px;
	--eve-teacher-r-card-padding: 20px;
	--eve-teacher-r-avatar-mask-image: none;
	max-width: var(--eve-teacher-r-max-width);
	margin-inline: auto;
}

.eveilys-teachers-research-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-top: 2px solid var(--eve-teacher-r-border);
	border-bottom: 2px solid var(--eve-teacher-r-border);
	padding: 14px 2px;
	margin-bottom: 34px;
}

.eveilys-teachers-research-heading-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.eveilys-teachers-research-heading {
	margin: 0;
	color: var(--eve-teacher-r-accent);
	font-size: clamp(34px, 4.2vw, 44px);
	font-weight: 600;
	line-height: 1.1;
}

.eveilys-teachers-research-heading-button {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	text-align: left;
	font: inherit;
	line-height: inherit;
	text-decoration: none;
	color: var(--eve-teacher-r-accent);
}

.eveilys-teachers-research-inline-search {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: min(100%, 620px);
}

.eveilys-teachers-research-inline-search[hidden] {
	display: none !important;
}

.eveilys-teachers-research-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	margin-left: auto;
}

.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-input,
.eveilys-teachers-grid-research-shortcode input.eveilys-teachers-research-search-input,
.eveilys-teachers-grid-research-shortcode input[type="search"].eveilys-teachers-research-search-input {
	flex: 1 1 auto;
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #cfd4da !important;
	border-radius: 12px;
	background: #ffffff;
	outline: 1px solid #cfd4da !important;
	outline-offset: 0;
	box-shadow: inset 0 0 0 1px #cfd4da !important;
	color: var(--eve-teacher-r-text);
	font-size: 16px;
	line-height: 1.2;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.eveilys-teachers-research-search-input::placeholder {
	color: #7a818d;
}

.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-input:hover,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-input:focus,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-input:focus-visible {
	outline: 1px solid var(--eve-teacher-r-border) !important;
	border: 1px solid var(--eve-teacher-r-border) !important;
	background: #ffffff !important;
	box-shadow: inset 0 0 0 1px var(--eve-teacher-r-border) !important;
}

.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-button,
.eveilys-teachers-grid-research-shortcode button.eveilys-teachers-research-search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--eve-teacher-r-border) !important;
	border-radius: 12px;
	background: var(--eve-teacher-r-accent) !important;
	background-color: var(--eve-teacher-r-accent) !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none !important;
	text-decoration: none !important;
	appearance: none;
	-webkit-appearance: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-button:hover,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-button:focus,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-button:focus-visible,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-button:active {
	background: var(--eve-teacher-r-accent) !important;
	background-color: var(--eve-teacher-r-accent) !important;
	color: #fff !important;
	border-color: var(--eve-teacher-r-border) !important;
	box-shadow: none !important;
	text-decoration: none !important;
	opacity: 0.88;
}

.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-button:focus-visible {
	outline: 2px solid rgba(171, 67, 75, 0.18) !important;
	outline-offset: 3px;
}

.eveilys-teachers-research-heading-button:hover,
.eveilys-teachers-research-heading-button:focus,
.eveilys-teachers-research-heading-button:focus-visible,
.eveilys-teachers-research-heading-button:active {
	color: var(--eve-teacher-r-accent);
	background: transparent !important;
	border-color: transparent;
	box-shadow: none !important;
	text-decoration: none;
	opacity: 1;
	outline: none;
}

.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-close,
.eveilys-teachers-grid-research-shortcode button.eveilys-teachers-research-search-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #cfd4da !important;
	border-radius: 12px;
	background: #fff !important;
	background-color: #fff !important;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	color: var(--eve-teacher-r-accent) !important;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.eveilys-teachers-research-search-close .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-close:hover,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-close:focus,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-close:focus-visible,
.eveilys-teachers-grid-research-shortcode .eveilys-teachers-research-search-close:active {
	color: var(--eve-teacher-r-accent) !important;
	background: #fff !important;
	border-color: #cfd4da;
	box-shadow: none !important;
	text-decoration: none !important;
	opacity: 0.88;
}

.eveilys-teachers-research-search-close:focus-visible {
	outline: 2px solid rgba(171, 67, 75, 0.18);
	outline-offset: 3px;
}

.eveilys-teachers-research-search-close:hover .dashicons,
.eveilys-teachers-research-search-close:focus-visible .dashicons,
.eveilys-teachers-research-search-close:active .dashicons {
	color: var(--eve-teacher-r-accent);
}

.eveilys-teachers-research-category-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid #cfd4da;
	border-radius: 12px;
	background: var(--eve-teacher-r-pill-bg);
	color: var(--eve-teacher-r-pill-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

.eveilys-teachers-research-category-filter {
	display: inline-flex;
	align-items: center;
	margin: 0;
	flex: 0 0 auto;
}

.eveilys-teachers-research-category-select {
	min-width: 176px;
}

.eveilys-teachers-research-category-filter .eveilys-custom-dropdown,
.eveilys-teachers-research-category-filter .eveilys-dropdown-trigger,
.eveilys-teachers-research-category-filter .eveilys-dropdown-panel {
	min-width: 176px;
}

.eveilys-teachers-research-category-filter .eveilys-dropdown-trigger {
	background: var(--eve-teacher-r-pill-bg);
	color: var(--eve-teacher-r-pill-text);
	border-color: #cfd4da;
	border-radius: 12px;
	height: 44px;
	min-height: 44px;
	padding: 10px 14px;
}

.eveilys-teachers-research-list {
	display: grid;
	grid-template-columns: repeat(var(--eve-teacher-r-columns), minmax(0, 1fr));
	column-gap: var(--eve-teacher-r-column-gap);
	row-gap: var(--eve-teacher-r-row-gap);
	padding: 0;
}

.eveilys-teacher-research-card {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
	padding: var(--eve-teacher-r-card-padding);
	border: 1.5px solid var(--eve-teacher-r-border);
	border-radius: var(--eve-teacher-r-card-radius);
	background: var(--eve-teacher-r-card-bg);
	color: var(--eve-teacher-r-text);
	text-decoration: none;
	box-sizing: border-box;
}

a.eveilys-teacher-research-card:hover,
a.eveilys-teacher-research-card:focus {
	text-decoration: none;
}

.eveilys-teacher-research-avatar {
	width: var(--eve-teacher-r-avatar-size);
	height: var(--eve-teacher-r-avatar-size);
	flex: 0 0 var(--eve-teacher-r-avatar-size);
	border-radius: 999px;
	overflow: hidden;
	background: #dfe3e8;
	display: grid;
	place-items: center;
}

.eveilys-teachers-grid-research-shortcode.is-avatar-mask-none .eveilys-teacher-research-avatar {
	border-radius: 0;
}

.eveilys-teachers-grid-research-shortcode.is-avatar-mask-svg .eveilys-teacher-research-avatar,
.eveilys-teachers-grid-research-shortcode.is-avatar-mask-blob .eveilys-teacher-research-avatar {
	border-radius: 0;
	-webkit-mask-image: var(--eve-teacher-r-avatar-mask-image);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-image: var(--eve-teacher-r-avatar-mask-image);
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
}

.eveilys-teachers-grid-research-shortcode.is-avatar-mask-svg .eveilys-teacher-research-avatar img,
.eveilys-teachers-grid-research-shortcode.is-avatar-mask-blob .eveilys-teacher-research-avatar img {
	-webkit-mask-image: var(--eve-teacher-r-avatar-mask-image);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-image: var(--eve-teacher-r-avatar-mask-image);
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
}

.eveilys-teachers-grid-research-shortcode.is-avatar-mask-blob .eveilys-teacher-research-avatar {
	/* Visual fallback when mask is unsupported */
	border-radius: 40% 58% 56% 42% / 45% 40% 60% 55%;
}

.eveilys-teacher-research-avatar img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.eveilys-teacher-research-avatar .dashicons {
	font-size: 30px;
	width: 30px;
	height: 30px;
	color: #7a818d;
}

.eveilys-teacher-research-content {
	min-width: 0;
	display: grid;
	row-gap: 8px;
}

.eveilys-teacher-research-name {
	margin: 0;
	color: var(--eve-teacher-r-accent);
	font-size: clamp(24px, 2.1vw, 34px);
	font-weight: 700;
	line-height: 1.15;
}

.eveilys-teacher-research-role {
	margin: 0;
	color: var(--eve-teacher-r-accent);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.eveilys-teacher-research-bio {
	margin: 0;
	color: var(--eve-teacher-r-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
}

.eveilys-teacher-research-categories {
	margin: 0;
	color: var(--eve-teacher-r-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.eveilys-teachers-research-filter-empty {
	margin-top: 18px;
}

.eveilys-teachers-research-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 24px;
}

.eveilys-teachers-research-pagination-btn {
	min-width: 110px;
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid var(--eve-teacher-r-border);
	border-radius: 999px;
	background: #ffffff;
	color: var(--eve-teacher-r-accent);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.eveilys-teachers-research-pagination-btn:hover,
.eveilys-teachers-research-pagination-btn:focus {
	background: var(--eve-teacher-r-accent);
	color: #ffffff;
	outline: none;
}

.eveilys-teachers-research-pagination-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	background: #ffffff;
	color: var(--eve-teacher-r-accent);
}

.eveilys-teachers-research-pagination-btn.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
	background: #ffffff;
	color: var(--eve-teacher-r-accent);
}

.eveilys-teachers-research-pagination-info {
	min-width: 72px;
	text-align: center;
	color: var(--eve-teacher-r-muted);
	font-size: 14px;
	font-weight: 600;
}

@media (max-width: 1200px) {
	.eveilys-teachers-research-heading {
		font-size: clamp(26px, 4vw, 38px);
	}

	.eveilys-teachers-research-category-pill {
		font-size: 15px;
	}

	.eveilys-teachers-research-search-input,
	.eveilys-teachers-research-category-select {
		font-size: 15px;
	}

	.eveilys-teachers-research-category-filter .eveilys-dropdown-trigger,
	.eveilys-teachers-research-category-filter .eveilys-dropdown-item {
		font-size: 15px;
	}

	.eveilys-teacher-research-name {
		font-size: clamp(22px, 3vw, 34px);
	}

	.eveilys-teacher-research-role,
	.eveilys-teacher-research-bio {
		font-size: 15px;
	}
}

@media (max-width: 900px) {
	.eveilys-teachers-grid-research-shortcode {
		--eve-teacher-r-columns: 1;
		--eve-teacher-r-avatar-size: 124px;
		--eve-teacher-r-column-gap: 14px;
		--eve-teacher-r-row-gap: 14px;
	}

	.eveilys-teachers-research-toolbar {
		margin-bottom: 20px;
	}

	.eveilys-teachers-research-controls {
		flex: 0 0 auto;
		justify-content: flex-end;
	}

	.eveilys-teachers-research-heading-wrap,
	.eveilys-teachers-research-inline-search {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.eveilys-teachers-research-toolbar {
		flex-wrap: wrap;
		padding: 15px;
	}

	.eveilys-teachers-research-list {
		padding: 15px;
	}

	.eveilys-teacher-research-card {
		flex-direction: column;
		align-items: center;
	}

	.eveilys-teacher-research-content {
		justify-content: center;
		row-gap: 0;
		text-align: center;
	}

	.eveilys-teachers-research-inline-search,
	.eveilys-teachers-research-category-filter,
	.eveilys-teachers-research-category-select,
	.eveilys-teachers-research-category-filter .eveilys-custom-dropdown,
	.eveilys-teachers-research-category-filter .eveilys-dropdown-trigger,
	.eveilys-teachers-research-category-filter .eveilys-dropdown-panel {
		width: 100%;
		min-width: 100%;
	}

	.eveilys-teachers-research-inline-search {
		flex-wrap: wrap;
	}

	.eveilys-teachers-research-search-button,
	.eveilys-teachers-research-search-close {
		width: 100%;
	}

	.eveilys-teachers-research-pagination {
		flex-wrap: wrap;
		gap: 10px;
	}

	.eveilys-teachers-research-pagination-btn {
		min-width: calc(50% - 6px);
	}

	.eveilys-teachers-research-pagination-info {
		order: -1;
		width: 100%;
	}
}

/* Desktop full-width layout for events archive/listing page */
@media (min-width: 769px) {
	body.post-type-archive-eve-event .eveilys-template-container,
	body:has(.eveilys-events-list-layout) .eveilys-template-container {
		width: min(100%, 1512px) !important;
		max-width: 1512px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
	}

	body.post-type-archive-eve-event .eveilys-template-container>.eveilys-events-list-layout,
	body:has(.eveilys-events-list-layout) .eveilys-template-container>.eveilys-events-list-layout {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-inner,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-inner {
		width: 100% !important;
		max-width: 100% !important;
		padding-top: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-content,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-content {
		padding-top: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-cards,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-cards {
		position: static !important;
		padding-top: 16px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-list-toolbar,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-list-toolbar {
		position: static !important;
		margin-bottom: 16px !important;
		z-index: auto !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-content,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-content {
		gap: 20px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-cards,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-cards {
		flex: 0 1 calc(100% - 636px) !important;
		width: calc(100% - 636px) !important;
		max-width: calc(100% - 636px) !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-event-card-h,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-event-card-h {
		width: 100% !important;
		min-height: 0 !important;
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-card-h-image,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-card-h-image {
		order: 1 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-card-h-body,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-card-h-body {
		order: 2 !important;
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-map-wrap,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
		flex: 0 0 616px !important;
		width: 616px !important;
		max-width: 616px !important;
		height: 823px !important;
		top: 0 !important;
		margin-top: 0 !important;
		align-self: flex-start !important;
		border-radius: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-map-wrap .eveilys-map,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-map-wrap .eveilys-map {
		border-radius: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-filters,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-filters {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		background: #fff !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-filter-pills,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-filter-pills {
		width: min(100%, 1512px) !important;
		max-width: 1512px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 0 !important;
		padding-right: 0;
		display: flex;
		align-content: flex-start;
		justify-content: space-between;
		align-items: center;
	}

body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-list-toolbar .eveilys-map-toggle-label,
body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-list-toolbar .eveilys-map-toggle-label {
	flex-direction: row-reverse !important;
}
}

/* ===== Event Detail: Mobile Breadcrumb Hide + Primary Spacing ===== */
@media (min-width: 769px) {
	body.single-eve-event #primary,
	body.single-eve-event #primary.site-main,
	body.single-eve-event .site .site-content #primary,
	body:has(.eveilys-event-detail) #primary,
	body:has(.eveilys-event-detail) #primary.site-main,
	body:has(.eveilys-event-detail) .site .site-content #primary {
		padding: 0 !important;
		margin: -20px !important;
	}
}

@media (max-width: 768px) {
	body.single-eve-event #primary,
	body.single-eve-event #primary.site-main,
	body.single-eve-event .site .site-content #primary,
	body:has(.eveilys-event-detail) #primary,
	body:has(.eveilys-event-detail) #primary.site-main,
	body:has(.eveilys-event-detail) .site .site-content #primary {
		padding: 0 !important;
		margin: 0 !important;
	}

	.eveilys-event-detail,
	body.single-eve-event .eveilys-event-detail,
	body:has(.eveilys-event-detail) .eveilys-event-detail {
		padding-top: 16px !important;
	}

	.eveilys-event-detail .eveilys-detail-breadcrumbs,
	body.single-eve-event .eveilys-event-detail .eveilys-detail-breadcrumbs,
	body:has(.eveilys-event-detail) .eveilys-event-detail .eveilys-detail-breadcrumbs {
		display: none !important;
	}
}

/* ===== Event Form: Remove left-right gutters ===== */
body:has(form#eveilys-main-form.eveilys-event-form-v2) .eveilys-template-container,
.eveilys-template-container:has(form#eveilys-main-form.eveilys-event-form-v2) {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

form#eveilys-main-form.eveilys-event-form-v2 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

form#eveilys-main-form.eveilys-event-form-v2 > .eveilys-tab-pane {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (max-width: 768px) {
	body:has(form#eveilys-main-form.eveilys-event-form-v2) .eveilys-template-container,
	.eveilys-template-container:has(form#eveilys-main-form.eveilys-event-form-v2) {
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box;
	}

	form#eveilys-main-form.eveilys-event-form-v2 {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* Replace selected dashicons with custom SVGs across frontend views */
.dashicons.dashicons-admin-users:before,
.dashicons.dashicons-location:before,
.dashicons.dashicons-calendar-alt:before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.dashicons.dashicons-admin-users:before {
	background-image: url("../images/user.svg");
}

.dashicons.dashicons-location:before {
	background-image: url("../images/marker-pin-start.svg");
}

.dashicons.dashicons-calendar-alt:before {
	background-image: url("../images/calendar.svg");
}

/* ===== Laptop Responsive Stabilization (769px - 1512px) ===== */
@media (min-width: 769px) and (max-width: 1512px) {

	body.post-type-archive-eve-event .eveilys-template-container,
	body:has(.eveilys-events-list-layout) .eveilys-template-container {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout {
		max-width: 100% !important;
		width: 100% !important;
		overflow-x: clip !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-inner,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-inner {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
	}

	/* Keep filters inside container at laptop widths (no 100vw bleed) */
	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-filters,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-filters {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-filter-pills,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-filter-pills {
		width: 100% !important;
		max-width: 100% !important;
		padding: 12px 0 !important;
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		align-content: center !important;
		justify-content: flex-start !important;
		gap: 10px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-filter-pill,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-filter-pill {
		flex: 0 0 auto !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-filter-pill select,
	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-filter-pill input[type="date"],
	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-dropdown-trigger,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-filter-pill select,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-filter-pill input[type="date"],
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-dropdown-trigger {
		min-width: 120px !important;
		max-width: 170px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-filter-submit,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-filter-submit {
		margin-left: auto !important;
	}

	/* 2-column map view balanced for 1024 laptop widths */
	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-content,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-content {
		display: flex !important;
		flex-direction: row !important;
		align-items: stretch !important;
		gap: 14px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-cards,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-cards {
		flex: 1 1 54% !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		padding-right: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-map-wrap,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
		flex: 0 0 46% !important;
		width: 46% !important;
		max-width: 46% !important;
		height: 680px !important;
		position: sticky !important;
		top: 0 !important;
		margin-top: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-event-card-h,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-event-card-h {
		min-width: 0 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-card-h-image,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-card-h-image {
		width: 210px !important;
		min-width: 210px !important;
		margin: 16px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-card-h-body,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-card-h-body {
		min-width: 0 !important;
		padding: 16px 12px 16px 0 !important;
	}
}

/* Tablet event cards: mobile-like proportion + 2 columns per row */
@media (min-width: 768px) and (max-width: 1024px) {
	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-content,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-content,
	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-content,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-content {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-map-wrap,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-map-wrap {
		order: -1 !important;
		flex: none !important;
		width: 100% !important;
		max-width: 100% !important;
		position: relative !important;
		top: 0 !important;
		margin: 0 !important;
		height: auto !important;
		aspect-ratio: 22 / 23 !important;
		max-height: 480px !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-map-wrap .eveilys-map,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-map-wrap .eveilys-map {
		width: 100% !important;
		height: 100% !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-events-cards,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-events-cards,
	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-events-cards,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-events-cards {
		flex: none !important;
		width: 100% !important;
		max-width: 100% !important;
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-auto-flow: row !important;
		align-items: start !important;
		gap: 12px !important;
		padding-right: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-event-card-h,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-event-card-h {
		display: flex !important;
		flex-direction: column !important;
		min-height: auto !important;
		height: auto !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-card-h-image,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-card-h-image {
		width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		border-radius: 12px 12px 0 0 !important;
		overflow: hidden !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-card-h-slider,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-card-h-slider {
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 1 / 1 !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-card-h-slider img,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-card-h-slider img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout .eveilys-card-h-body,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout .eveilys-card-h-body {
		padding: 14px !important;
		min-width: 0 !important;
	}
}

/* Desktop-only card minimum height */
@media (min-width: 1025px) {
	.eveilys-event-card-h {
		min-height: 282px;
	}

	body.post-type-archive-eve-event .eveilys-events-list-layout.map-active .eveilys-event-card-h,
	body:has(.eveilys-events-list-layout) .eveilys-events-list-layout.map-active .eveilys-event-card-h {
		min-height: 282px !important;
	}
}

/* Event detail trainer avatar: apply custom SVG mask shape */
body.single-eve-event .eveilys-detail-section .eveilys-trainer-avatar-v2,
body:has(.eveilys-event-detail) .eveilys-detail-section .eveilys-trainer-avatar-v2 {
	--eve-detail-trainer-mask-image: url("../images/mask-group.svg");
	border-radius: 0 !important;
	overflow: hidden !important;
	-webkit-mask-image: var(--eve-detail-trainer-mask-image);
	mask-image: var(--eve-detail-trainer-mask-image);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

body.single-eve-event .eveilys-detail-section .eveilys-trainer-avatar-v2 img,
body:has(.eveilys-event-detail) .eveilys-detail-section .eveilys-trainer-avatar-v2 img {
	border-radius: 0 !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-eve-event .eveilys-detail-section .eveilys-trainer-link-v2,
body:has(.eveilys-event-detail) .eveilys-detail-section .eveilys-trainer-link-v2 {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	color: inherit;
	text-decoration: none;
}

body.single-eve-event .eveilys-detail-section .eveilys-trainer-link-v2:hover,
body.single-eve-event .eveilys-detail-section .eveilys-trainer-link-v2:focus,
body:has(.eveilys-event-detail) .eveilys-detail-section .eveilys-trainer-link-v2:hover,
body:has(.eveilys-event-detail) .eveilys-detail-section .eveilys-trainer-link-v2:focus {
	color: inherit;
	text-decoration: none;
}

body.single-eve-event .eveilys-detail-section .eveilys-trainer-info-v2 h4,
body:has(.eveilys-event-detail) .eveilys-detail-section .eveilys-trainer-info-v2 h4 {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0;
	vertical-align: middle;
	margin-top: 0;
	margin-bottom: 4px;
}

body.single-eve-event .eveilys-detail-section .eveilys-trainer-title-v2,
body:has(.eveilys-event-detail) .eveilys-detail-section .eveilys-trainer-title-v2 {
	font-family: 'Zalando Sans SemiExpanded', sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 14px;
	line-height: 100%;
	letter-spacing: 0;
	vertical-align: middle;
	color: #39434C;
}

/* Event detail laptop refinement (desktop -> laptop transition) */
@media (min-width: 1025px) and (max-width: 1366px) {
	body.single-eve-event #primary,
	body.single-eve-event #primary.site-main,
	body.single-eve-event .site .site-content #primary,
	body:has(.eveilys-event-detail) #primary,
	body:has(.eveilys-event-detail) #primary.site-main,
	body:has(.eveilys-event-detail) .site .site-content #primary {
		margin: 0 !important;
		padding: 0 !important;
	}

	body.single-eve-event.ast-page-builder-template .site .site-content #primary {
		margin: 0 !important;
	}

	.single-eve-event .eveilys-template-container,
	.single-eve-event .eveilys-event-detail {
		width: calc(100% - 32px);
		max-width: 1256px;
		margin-left: auto;
		margin-right: auto;
	}

	.eveilys-detail-gallery-container {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		height: 360px;
		max-width: 100%;
	}

	.eveilys-detail-gallery-main {
		width: 100%;
		height: 360px;
	}

	.eveilys-detail-gallery-grid {
		height: 360px;
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.eveilys-gallery-cell {
		height: auto;
	}

	.eveilys-detail-main-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 16px;
	}

	.eveilys-detail-meta-grid {
		gap: 14px;
	}

	.eveilys-similar-inner {
		max-width: 1256px;
		padding: 0 16px;
	}

	.eveilys-similar-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/* Event detail tablet stabilization */
@media (min-width: 769px) and (max-width: 1024px) {
	body.single-eve-event #primary,
	body.single-eve-event #primary.site-main,
	body.single-eve-event .site .site-content #primary,
	body:has(.eveilys-event-detail) #primary,
	body:has(.eveilys-event-detail) #primary.site-main,
	body:has(.eveilys-event-detail) .site .site-content #primary {
		margin: 0 !important;
		padding: 0 !important;
	}

	body.single-eve-event.ast-page-builder-template .site .site-content #primary {
		margin: 0 !important;
	}

	.single-eve-event .eveilys-template-container,
	.single-eve-event .eveilys-event-detail {
		width: calc(100% - 24px);
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.eveilys-detail-gallery-container {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		height: 320px;
		max-width: 100%;
	}

	.eveilys-detail-gallery-main {
		width: 100%;
		height: 320px;
	}

	.eveilys-detail-gallery-grid {
		height: 320px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.eveilys-gallery-cell {
		height: auto;
	}

	.eveilys-detail-main-layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.eveilys-detail-sidebar,
	.eveilys-pricing-card-v2 {
		width: 100%;
		max-width: 100%;
	}

	.eveilys-map-single-v2 #eveilys-single-map {
		height: 340px !important;
	}

	.eveilys-similar-inner {
		max-width: 100%;
		padding: 0 12px;
	}

	.eveilys-similar-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Tablet + mobile: place Billets right after event detail header block */
@media (max-width: 1024px) {
	.eveilys-detail-main-layout {
		display: flex;
		flex-direction: column;
	}

	.eveilys-detail-content {
		display: contents;
	}

	.eveilys-detail-content > * {
		order: 3;
	}

	.eveilys-detail-content > .eveilys-detail-header-v2 {
		order: 1;
	}

	.eveilys-detail-sidebar {
		order: 2;
		align-self: stretch;
		width: 100%;
		max-width: 100%;
	}

	.eveilys-pricing-card-v2 {
		width: auto;
		max-width: 100%;
		box-sizing: border-box;
	}

	.eveilys-detail-billets-form,
	.eveilys-detail-billets-rows {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.eveilys-detail-ticket-row,
	.eveilys-detail-ticket-totals,
	.eveilys-detail-ticket-submit.eveilys-btn-book,
	.eveilys-detail-ticket-report {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.eveilys-detail-main-layout > .eveilys-detail-section-map-full {
		order: 4;
	}
}

/* Similar section slider lock (tablet + mobile) */
.single-eve-event .eveilys-similar-dots {
	display: none;
}

@media (max-width: 1024px) {
	.single-eve-event .eveilys-similar-wrap {
		padding: 32px 0 24px;
	}

	.single-eve-event .eveilys-similar-inner {
		max-width: 100%;
		padding: 0;
	}

	.single-eve-event .eveilys-similar-grid {
		display: flex !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		gap: 12px;
		padding: 0 24px 8px;
		margin: 0;
	}

	.single-eve-event .eveilys-similar-grid::-webkit-scrollbar {
		display: none;
	}

	.single-eve-event .eveilys-similar-event-card {
		scroll-snap-align: start;
		box-sizing: border-box;
	}

	.single-eve-event .eveilys-similar-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		margin-top: 8px;
		min-height: 8px;
	}

	.single-eve-event .eveilys-similar-dot {
		all: unset;
		display: inline-block !important;
		width: 8px !important;
		min-width: 8px !important;
		max-width: 8px !important;
		height: 8px !important;
		min-height: 8px !important;
		max-height: 8px !important;
		border: 0 !important;
		border-radius: 50% !important;
		padding: 0 !important;
		margin: 0 !important;
		line-height: 0 !important;
		vertical-align: middle;
		cursor: pointer;
		background: rgba(255, 255, 255, 0.55) !important;
		box-shadow: none !important;
		transform: none;
	}

	.single-eve-event .eveilys-similar-dot.is-active {
		background: #ffffff !important;
	}
}

@media (max-width: 640px) {
	.single-eve-event .eveilys-similar-wrap {
		padding: 28px 0 22px;
	}

	.single-eve-event .eveilys-similar-grid {
		gap: 12px;
		padding-left: 24px;
		padding-right: 24px;
	}

	.single-eve-event .eveilys-similar-event-card {
		flex: 0 0 297.5px !important;
		width: 297.5px !important;
		min-width: 297.5px !important;
		max-width: 297.5px !important;
		height: 442px !important;
		min-height: 442px !important;
		max-height: 442px !important;
		border-radius: 12px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.single-eve-event .eveilys-similar-card-image {
		width: 297.5px !important;
		height: 194px !important;
		min-height: 194px !important;
		max-height: 194px !important;
		aspect-ratio: auto !important;
		overflow: hidden;
	}

	.single-eve-event .eveilys-similar-card-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.single-eve-event .eveilys-similar-card-body {
		flex: 1 1 auto;
		padding: 12px 14px 12px;
		display: flex;
		flex-direction: column;
	}

	.single-eve-event .eveilys-similar-card-title {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 20px !important;
		font-weight: 600 !important;
		line-height: 30px !important;
		letter-spacing: 0 !important;
		margin: 0 0 8px !important;
	}

	.single-eve-event .eveilys-similar-card-meta {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-weight: 400 !important;
		font-size: 12px !important;
		line-height: 16px !important;
		letter-spacing: 0 !important;
		color: #39434C !important;
		gap: 4px;
		margin-bottom: 10px !important;
	}

	.single-eve-event .eveilys-similar-card-highlights {
		padding-left: 18px;
		margin: 0 0 8px;
	}

	.single-eve-event .eveilys-similar-card-highlights,
	.single-eve-event .eveilys-similar-card-highlights li {
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-weight: 500 !important;
		font-size: 12px !important;
		line-height: 16px !important;
		letter-spacing: 0 !important;
		color: #222831 !important;
	}

	.single-eve-event .eveilys-similar-card-highlights li {
		margin-bottom: 4px;
	}

	.single-eve-event .eveilys-similar-card-price {
		margin-top: auto;
		padding-top: 2px;
		font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
		font-style: normal !important;
		font-size: 20px !important;
		font-weight: 600 !important;
		line-height: 30px !important;
		letter-spacing: 0 !important;
	}

	.single-eve-event .eveilys-similar-card-price span {
		font-size: 20px !important;
	}
}

/* Final hard override: similar cards mobile slider sizing + dots */
@media (max-width: 1024px) {
	.eveilys-similar-wrap .eveilys-similar-grid {
		display: flex !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		gap: 12px !important;
		padding: 0 24px 8px !important;
		margin: 0 !important;
	}

	.eveilys-similar-wrap .eveilys-similar-grid::-webkit-scrollbar {
		display: none;
	}

	.eveilys-similar-wrap .eveilys-similar-dots {
		display: flex !important;
		align-items: center;
		justify-content: center;
		gap: 6px !important;
		margin: 8px 0 0 !important;
		padding: 0 !important;
		line-height: 0 !important;
	}

	.eveilys-similar-wrap button.eveilys-similar-dot,
	.eveilys-similar-wrap .eveilys-similar-dot {
		all: unset;
		display: inline-block !important;
		flex: 0 0 8px !important;
		width: 8px !important;
		min-width: 8px !important;
		max-width: 8px !important;
		height: 8px !important;
		min-height: 8px !important;
		max-height: 8px !important;
		border: 0 !important;
		border-radius: 999px !important;
		padding: 0 !important;
		margin: 0 !important;
		line-height: 0 !important;
		font-size: 0 !important;
		color: transparent !important;
		background: rgba(255, 255, 255, 0.55) !important;
		box-shadow: none !important;
		cursor: pointer;
		vertical-align: middle;
	}

	.eveilys-similar-wrap .eveilys-similar-dot.is-active {
		background: #fff !important;
	}
}

@media (min-width: 641px) and (max-width: 1024px) {
	.eveilys-similar-wrap .eveilys-similar-grid {
		--eve-sim-track-w: calc(100% - 48px);
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	.eveilys-similar-wrap .eveilys-similar-event-card {
		flex: 0 0 clamp(280px, calc((var(--eve-sim-track-w) - 12px) / 2.2), 360px) !important;
		min-width: clamp(280px, calc((var(--eve-sim-track-w) - 12px) / 2.2), 360px) !important;
		max-width: clamp(280px, calc((var(--eve-sim-track-w) - 12px) / 2.2), 360px) !important;
	}
}

@media (max-width: 640px) {
	.eveilys-similar-wrap .eveilys-similar-grid {
		--eve-sim-card-w: min(297.5px, calc(100vw - 48px));
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	.eveilys-similar-wrap .eveilys-similar-event-card {
		flex: 0 0 var(--eve-sim-card-w) !important;
		width: var(--eve-sim-card-w) !important;
		min-width: var(--eve-sim-card-w) !important;
		max-width: var(--eve-sim-card-w) !important;
		height: calc(var(--eve-sim-card-w) * 442 / 297.5) !important;
		min-height: calc(var(--eve-sim-card-w) * 442 / 297.5) !important;
		max-height: calc(var(--eve-sim-card-w) * 442 / 297.5) !important;
		border-radius: 12px !important;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.eveilys-similar-wrap .eveilys-similar-card-image {
		width: var(--eve-sim-card-w) !important;
		height: calc(var(--eve-sim-card-w) * 194 / 297.5) !important;
		min-height: calc(var(--eve-sim-card-w) * 194 / 297.5) !important;
		max-height: calc(var(--eve-sim-card-w) * 194 / 297.5) !important;
		aspect-ratio: auto !important;
		overflow: hidden;
	}

	.eveilys-similar-wrap .eveilys-similar-card-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}
}

/* Similar slider price typography lock */
.eveilys-similar-wrap .eveilys-similar-card-title {
	font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
	font-weight: 600 !important;
	font-style: normal !important;
	font-size: 20px !important;
	line-height: 30px !important;
	letter-spacing: 0 !important;
	vertical-align: middle;
}

/* Similar dots visibility: only tablet/mobile */
.eveilys-similar-wrap .eveilys-similar-dots {
	display: none !important;
}

@media (max-width: 1024px) {
	.eveilys-similar-wrap .eveilys-similar-dots {
		display: flex !important;
	}
}

@media (min-width: 1025px) {
	.eveilys-similar-wrap .eveilys-similar-dots {
		display: none !important;
	}
}

.eveilys-similar-wrap .eveilys-similar-card-price,
.eveilys-similar-wrap .eveilys-similar-card-price span {
	font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
	font-weight: 600 !important;
	font-style: normal !important;
	font-size: 20px !important;
	line-height: 30px !important;
	letter-spacing: 0 !important;
	vertical-align: middle;
}

/* Event detail: Formateur title */
.eveilys-detail-section:has(.eveilys-trainer-card-v2) .eveilys-section-title {
	font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	font-size: 24px !important;
	line-height: 100% !important;
	letter-spacing: 0 !important;
	color: #4B4B4B !important;
}

/* Event detail: trainer subtitle (e.g. "Formateur depuis 15 ans") */
.eveilys-detail-section .eveilys-trainer-title-v2 {
	font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
	font-weight: 500 !important;
	font-style: normal !important;
	font-size: 14px !important;
	line-height: 100% !important;
	letter-spacing: 0 !important;
	vertical-align: middle;
	color: #39434C !important;
}

/* Event detail: trainer description */
.eveilys-detail-section .eveilys-trainer-bio-v2 {
	font-family: 'Zalando Sans SemiExpanded', sans-serif !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-size: 14px !important;
	line-height: 20px !important;
	letter-spacing: 0 !important;
	color: #222831 !important;
}

/* Mobile only: trainer info stacked like design reference */
@media (max-width: 767px) {
	.eveilys-event-detail .eveilys-detail-section .eveilys-trainer-card-v2 {
		display: block !important;
		padding: 0 !important;
		gap: 0 !important;
	}

	.eveilys-event-detail .eveilys-detail-section .eveilys-trainer-avatar-v2 {
		width: 152px !important;
		height: 152px !important;
		margin: 0 0 14px !important;
		flex: none !important;
	}

	.eveilys-event-detail .eveilys-detail-section .eveilys-trainer-avatar-v2 img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}

	.eveilys-event-detail .eveilys-detail-section .eveilys-trainer-info-v2 {
		display: block !important;
		width: 100% !important;
	}

	.eveilys-event-detail .eveilys-detail-section .eveilys-trainer-info-v2 h4 {
		margin: 0 0 4px !important;
	}

	.eveilys-event-detail .eveilys-detail-section .eveilys-trainer-title-v2 {
		margin: 0 0 8px !important;
	}

	.eveilys-event-detail .eveilys-detail-section .eveilys-trainer-bio-v2 {
		margin: 0 !important;
	}
}

/* === Tutor Courses Carousel === */
.eveilys-tutor-courses-carousel {
	--eve-course-gap: 22px;
	--eve-course-image-height: 190px;
	--eve-course-slides-visible: 3;
	--eve-course-card-bg: #ffffff;
	--eve-course-card-border: #A84448;
	--eve-course-card-shadow: none;
	--eve-course-card-radius: 20px;
	--eve-course-title: #A84448;
	--eve-course-text: #000000;
	--eve-prev-horizontal-offset: -20px;
	--eve-next-horizontal-offset: -20px;
	--eve-prev-vertical-offset: 0px;
	--eve-next-vertical-offset: 0px;
	position: relative;
	width: 100%;
}

.eveilys-tutor-carousel-shell {
	position: relative;
	padding-inline: 0;
}

.eveilys-tutor-carousel-viewport {
	overflow: hidden;
	width: 100%;
}

.eveilys-tutor-carousel-track {
	display: flex;
	gap: var(--eve-course-gap);
	transform: translate3d(0, 0, 0);
	transition: transform 0.45s ease;
	will-change: transform;
}

.eveilys-tutor-carousel-slide {
	display: flex;
	justify-content: center;
	flex: 0 0 calc((100% - (var(--eve-course-gap) * (var(--eve-course-slides-visible) - 1))) / var(--eve-course-slides-visible));
	min-width: 0;
}

.eveilys-tutor-course-card {
	display: grid;
	grid-template-rows: var(--eve-course-image-height) minmax(0, 1fr);
	width: 100%;
	max-width: 315px;
	height: 100%;
	min-height: 407px;
	overflow: hidden;
	border: 1px solid var(--eve-course-card-border);
	border-radius: var(--eve-course-card-radius);
	background: var(--eve-course-card-bg);
	box-shadow: var(--eve-course-card-shadow);
}

.eveilys-tutor-course-image-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.eveilys-tutor-course-image {
	height: var(--eve-course-image-height);
	background: linear-gradient(135deg, #e7ddd6 0%, #d6cbc3 100%);
	overflow: hidden;
}

.eveilys-tutor-course-image img,
.eveilys-tutor-course-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eveilys-tutor-course-placeholder {
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), transparent 42%),
		linear-gradient(135deg, #d7cac2 0%, #b9a7a0 100%);
}

.eveilys-tutor-course-content {
	display: grid;
	align-content: start;
	row-gap: 7px;
	padding: clamp(15px, 13.57px + 0.45vw, 20px) clamp(20px, 16.48px + 0.94vw, 30px) clamp(15px, 13.57px + 0.45vw, 38px) clamp(20px, 16.48px + 0.94vw, 30px);
}

.eveilys-tutor-course-title {
	margin: 0;
	font-family: "Zalando Sans SemiExpanded", "Segoe UI", sans-serif;
	font-size: clamp(18px, 16.86px + 0.36vw, 22px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.eveilys-tutor-course-title a {
	color: var(--eve-course-title);
	text-decoration: none;
}

.eveilys-tutor-course-title a:hover,
.eveilys-tutor-course-title a:focus {
	color: var(--eve-course-title);
	text-decoration: none;
}

.eveilys-tutor-course-excerpt {
	margin: 0;
	color: var(--eve-course-text);
	font-family: "Zalando Sans SemiExpanded", "Segoe UI", sans-serif;
	font-size: clamp(12px, 11.3px + 0.19vw, 14px);
	font-weight: 400;
	line-height: 24px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.eveilys-tutor-carousel-arrow {
	position: absolute;
	top: calc((var(--eve-course-image-height) / 2) + var(--eve-prev-vertical-offset));
	transform: translateY(-50%);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #A84448;
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--eve-course-title);
	box-shadow: none;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.eveilys-tutor-carousel-arrow:hover,
.eveilys-tutor-carousel-arrow:focus {
	transform: translateY(calc(-50% - 1px));
	background: #A84448;
	color: #FFFFFF;
}

.eveilys-tutor-carousel-arrow[disabled],
.eveilys-tutor-carousel-arrow.is-disabled {
	opacity: 0.35;
	cursor: default;
	transform: none;
}

.eveilys-tutor-carousel-arrow .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.eveilys-tutor-carousel-arrow .e-font-icon-svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.eveilys-tutor-carousel-arrow--prev {
	left: var(--eve-prev-horizontal-offset);
}

.eveilys-tutor-carousel-arrow--next {
	top: calc((var(--eve-course-image-height) / 2) + var(--eve-next-vertical-offset));
	right: var(--eve-next-horizontal-offset);
}

.eveilys-tutor-courses-carousel--nav-inside .eveilys-tutor-carousel-arrow--prev,
.eveilys-tutor-courses-carousel--nav-inside .eveilys-tutor-carousel-arrow--next {
	z-index: 3;
}

.eveilys-tutor-carousel-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 20px;
}

.eveilys-tutor-carousel-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(168, 68, 72, 0.28);
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.eveilys-tutor-carousel-dot:hover,
.eveilys-tutor-carousel-dot:focus {
	transform: scale(1.1);
}

.eveilys-tutor-carousel-dot.is-active {
	background: #A84448;
	transform: scale(1);
}

.eveilys-tutor-courses-empty {
	padding: 20px 22px;
	border: 1px dashed rgba(176, 73, 80, 0.28);
	border-radius: 18px;
	background: #fff8f8;
	color: #6a474c;
	font-size: 15px;
	text-align: center;
}

@media (max-width: 1024px) {
	.eveilys-tutor-courses-carousel {
		--eve-course-gap: 20px;
	}

	.eveilys-tutor-course-title {
		font-size: clamp(18px, 16.86px + 0.36vw, 22px);
	}
}

@media (max-width: 767px) {
	.eveilys-tutor-courses-carousel {
		--eve-course-gap: 20px;
	}

	.eveilys-tutor-course-card {
		min-height: 300px;
	}

	.eveilys-tutor-carousel-arrow {
		width: 40px;
		height: 40px;
	}

	.eveilys-tutor-carousel-arrow--prev {
		left: var(--eve-prev-horizontal-offset, 8px);
	}

	.eveilys-tutor-carousel-arrow--next {
		right: var(--eve-next-horizontal-offset, 8px);
	}

	.eveilys-tutor-course-content {
		padding: 15px 20px 18px;
	}

	.eveilys-tutor-course-title {
		font-size: 18px;
	}

	.eveilys-tutor-course-excerpt {
		font-size: 14px;
		line-height: 22px;
	}
}

/* Match the live page-based events listing pages to the archive-style reference layout. */
body:has(article.page .eveilys-events-list-layout),
body:has(article.page .eveilys-events-list-layout) #page,
body:has(article.page .eveilys-events-list-layout) #content,
body:has(article.page .eveilys-events-list-layout) .site-content,
body:has(article.page .eveilys-events-list-layout) .ast-container,
body:has(article.page .eveilys-events-list-layout) #primary,
body:has(article.page .eveilys-events-list-layout) main.site-main,
body:has(article.page .eveilys-events-list-layout) article.page,
body:has(article.page .eveilys-events-list-layout) article.page > .entry-content.clear {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

body:has(article.page .eveilys-events-list-layout) article.page > .entry-header,
body:has(article.page .eveilys-events-list-layout) article.page > .entry-header.ast-no-thumbnail,
body:has(article.page .eveilys-events-list-layout) article.page > .entry-header .entry-title {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:has(article.page .eveilys-events-list-layout) article.page {
	padding-top: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
}

body:has(article.page .eveilys-events-list-layout) .elementor-location-header,
body:has(article.page .eveilys-events-list-layout) .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
	margin-top: 0 !important;
	top: 0 !important;
}

body:has(article.page .eveilys-events-list-layout) .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
	--min-height: 72px !important;
	--padding-top: 0px !important;
	--padding-bottom: 0px !important;
	--padding-left: 80px !important;
	--padding-right: 80px !important;
	background: #FFFFFF !important;
}

body:has(article.page .eveilys-events-list-layout) .elementor-location-header .elementor-element.elementor-element-ceb5f64 > .e-con-inner {
	min-height: 72px !important;
	align-items: center !important;
}

@media (max-width: 1366px) {
	body:has(article.page .eveilys-events-list-layout) .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
		--padding-left: 20px !important;
		--padding-right: 20px !important;
	}
}

@media (max-width: 767px) {
	body:has(article.page .eveilys-events-list-layout) .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
		--padding-top: 15px !important;
		--padding-bottom: 15px !important;
		--padding-left: 20px !important;
		--padding-right: 20px !important;
	}

	body:has(article.page .eveilys-events-list-layout) .elementor-location-header .elementor-element.elementor-element-ceb5f64 > .e-con-inner {
		min-height: 0 !important;
	}
}

/* Hard match the live FR/EN events pages to the archive-style reference wrapper. */
body.page-id-2477 #page,
body.page-id-2477 #content,
body.page-id-2477 .site-content,
body.page-id-2477 .site-content > .ast-container,
body.page-id-2477 #primary,
body.page-id-2477 main.site-main,
body.page-id-2477 article.post-2477,
body.page-id-2477 article.post-2477 > .entry-content.clear,
body.page-id-4132 #page,
body.page-id-4132 #content,
body.page-id-4132 .site-content,
body.page-id-4132 .site-content > .ast-container,
body.page-id-4132 #primary,
body.page-id-4132 main.site-main,
body.page-id-4132 article.post-4132,
body.page-id-4132 article.post-4132 > .entry-content.clear {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

body.page-id-2477 article.post-2477 > .entry-header,
body.page-id-2477 article.post-2477 > .entry-header .entry-title,
body.page-id-4132 article.post-4132 > .entry-header,
body.page-id-4132 article.post-4132 > .entry-header .entry-title {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.page-id-2477 article.post-2477,
body.page-id-4132 article.post-4132 {
	margin: 0 !important;
	padding: 0 !important;
}

body.page-id-2477 article.post-2477 > .entry-content.clear,
body.page-id-2477 .eveilys-events-list-layout,
body.page-id-4132 article.post-4132 > .entry-content.clear,
body.page-id-4132 .eveilys-events-list-layout {
	width: min(100%, 1512px) !important;
	max-width: 1512px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.page-id-2477 .elementor-location-header,
body.page-id-4132 .elementor-location-header,
body.page-id-2477 .elementor-location-header .elementor-element.elementor-element-ceb5f64,
body.page-id-4132 .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
	margin-top: 0 !important;
	top: 0 !important;
}

body.page-id-2477 .elementor-location-header .elementor-element.elementor-element-ceb5f64,
body.page-id-4132 .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
	--min-height: 72px !important;
	--padding-top: 0px !important;
	--padding-bottom: 0px !important;
	--padding-left: 80px !important;
	--padding-right: 80px !important;
	background: #FFFFFF !important;
}

body.page-id-2477 .elementor-location-header .elementor-element.elementor-element-ceb5f64 > .e-con-inner,
body.page-id-4132 .elementor-location-header .elementor-element.elementor-element-ceb5f64 > .e-con-inner {
	min-height: 72px !important;
	align-items: center !important;
}

@media (min-width: 1025px) {
	body:has(article.page .eveilys-events-list-layout) .elementor-location-header .elementor-element.elementor-element-ceb5f64,
	body.page-id-2477 .elementor-location-header .elementor-element.elementor-element-ceb5f64,
	body.page-id-4132 .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
	}
}

@media (max-width: 1366px) {
	body.page-id-2477 .elementor-location-header .elementor-element.elementor-element-ceb5f64,
	body.page-id-4132 .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
		--padding-left: 20px !important;
		--padding-right: 20px !important;
	}
}

@media (max-width: 767px) {
	body.page-id-2477 .elementor-location-header .elementor-element.elementor-element-ceb5f64,
	body.page-id-4132 .elementor-location-header .elementor-element.elementor-element-ceb5f64 {
		--padding-top: 15px !important;
		--padding-bottom: 15px !important;
		--padding-left: 20px !important;
		--padding-right: 20px !important;
	}

	body.page-id-2477 .elementor-location-header .elementor-element.elementor-element-ceb5f64 > .e-con-inner,
	body.page-id-4132 .elementor-location-header .elementor-element.elementor-element-ceb5f64 > .e-con-inner {
		min-height: 0 !important;
	}
}
