.ec-event-page {
	--ec-primary: #9b5a2e;
	--ec-primary-dark: #6f3d1f;
	--ec-bg: #fffaf3;
	--ec-border: rgba(80, 55, 35, .14);
	--ec-radius: 22px;
	--ec-shadow: 0 18px 45px rgba(60, 35, 15, .10);
}

.ec-event-page .eb-event-large-image {
	width: 100%;
	border-radius: var(--ec-radius);
	box-shadow: var(--ec-shadow);
	margin-bottom: 24px;
}

.ec-event-page .eb-event-detail-widget {
	background: #fff;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-radius);
	box-shadow: var(--ec-shadow);
	padding: 26px;
	position: sticky;
	top: 100px;
}

.ec-event-page .eb-page-heading-title {
	font-size: 2rem;
	line-height: 1.15;
	margin-bottom: 18px;
}

.ec-event-summary-card {
	display: grid;
	gap: 10px;
	margin: 18px 0 22px;
	padding: 16px;
	background: var(--ec-bg);
	border: 1px solid var(--ec-border);
	border-radius: 18px;
}

.ec-event-summary-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 600;
	color: #2c2118;
}

.ec-event-summary-icon {
	width: 24px;
	flex: 0 0 24px;
}

.ec-time-separator {
	display: inline-block;
	margin: 0 .4rem;
	font-weight: 700;
	color: var(--ec-primary);
}

.ec-low-availability {
	color: #c2410c;
	font-weight: 700;
}

.ec-sold-out {
	color: #b91c1c;
	font-weight: 700;
}

.ec-event-page .eb-taskbar ul,
.ec-mobile-booking-bar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ec-event-page .eb-taskbar li,
.ec-mobile-booking-bar li {
	list-style: none;
}

.ec-event-page .eb-taskbar .btn,
.ec-mobile-booking-bar .btn {
	border-radius: 999px;
	padding: 11px 20px;
	font-weight: 700;
	background: var(--ec-primary);
	border-color: var(--ec-primary);
	color: #fff;
}

.ec-mobile-booking-bar {
	display: none;
}

@media (max-width: 767px) {
	.ec-event-page .eb-event-detail-widget {
		position: static;
		padding: 20px;
		margin-bottom: 22px;
		
		position: sticky !important;
		top: 100px;
		align-self: flex-start;
		z-index: 5;
	}

	.ec-event-page .eb-page-heading-title {
		font-size: 1.55rem;
	}

	.ec-mobile-booking-bar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;
		background: rgba(255,255,255,.96);
		border-top: 1px solid var(--ec-border);
		padding: 12px 14px;
		box-shadow: 0 -10px 30px rgba(0,0,0,.12);
	}

	.ec-mobile-booking-bar ul,
	.ec-mobile-booking-bar li,
	.ec-mobile-booking-bar .btn {
		width: 100%;
	}

	body {
		padding-bottom: 82px;
	}
}
.ec-event-price-badge {
    display: inline-flex;
    align-items: center;
    background: var(--ec-bg);
    color: var(--ec-primary-dark);
    border: 1px solid var(--ec-border);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}
.ec-info-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    margin-top: 20px;
}

.ec-info-card {
    background: #fff;
    border: 1px solid var(--ec-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.ec-info-icon {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--ec-primary);
}

.ec-info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c2118;
}

.ec-info-label {
    font-size: .85rem;
    color: #76685d;
    margin-top: 4px;
}

@media (max-width:767px) {
    .ec-info-cards {
        grid-template-columns: repeat(2,1fr);
    }
}
#eb-event-properties-heading,
#eb-event-info-left table {
    display: none;
}
.ec-class-cards-wrapper {
	margin-top: 20px;
}

.ec-classes-heading {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 18px;
	color: var(--ec-primary-dark);
}

.ec-class-cards {
	display: grid;
	gap: 18px;
}

.ec-class-card {
	background: #fff;
	border: 1px solid var(--ec-border);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.ec-class-main-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.ec-class-date {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ec-primary-dark);
	margin-bottom: 6px;
}

.ec-class-time {
	color: #76685d;
	font-weight: 600;
	margin-bottom: 18px;
}

.ec-class-meta {
	display: grid;
	gap: 10px;
}

.ec-class-line {
	display: flex;
	gap: 12px;
	align-items: center;
	font-weight: 600;
}

.ec-icon {
	width: 22px;
	flex: 0 0 22px;
	color: var(--ec-primary);
}

.ec-class-actions {
	margin-top: 22px;
}

.ec-class-actions .eb-taskbar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-class-actions .eb-taskbar li {
	list-style: none;
}

.ec-class-actions .btn {
	width: 100%;
	border-radius: 999px;
	min-height: 48px;
	font-weight: 700;
}

.ec-low-availability {
	color: #c2410c;
	font-weight: 700;
}

.ec-sold-out {
	color: #b91c1c;
	font-weight: 700;
}

@media (max-width: 767px) {
	.ec-class-cards {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 16px;
		padding-bottom: 18px;
		-webkit-overflow-scrolling: touch;
	}

	.ec-class-cards::-webkit-scrollbar {
		display: none;
	}

	.ec-class-card {
		min-width: 84%;
		scroll-snap-align: start;
	}
}
.ec-class-carousel-nav {
	display: none;
}

@media (max-width: 767px) {
	.ec-class-carousel-nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 4px 0 12px;
	}

	.ec-class-carousel-count {
		font-size: .86rem;
		font-weight: 700;
		color: var(--ec-primary-dark);
		background: var(--ec-bg);
		border: 1px solid var(--ec-border);
		border-radius: 999px;
		padding: 6px 11px;
	}

	.ec-class-carousel-dots {
		display: flex;
		align-items: center;
		gap: 6px;
	}

	.ec-class-carousel-dots button {
		width: 7px;
		height: 7px;
		border: 0;
		border-radius: 999px;
		background: rgba(111, 61, 31, .28);
		padding: 0;
		transition: width .2s ease, background .2s ease;
	}

	.ec-class-carousel-dots button.active {
		width: 22px;
		background: var(--ec-primary);
	}
}



@media (min-width: 992px) {
	#eb-event-page > .row {
		display: grid !important;
		grid-template-columns: minmax(0, 1.6fr) minmax(320px, .9fr) !important;
		gap: 32px !important;
		align-items: start !important;
	}

	#eb-event-page > .row > .col-md-7,
	#eb-event-page > .row > .col-md-5 {
		width: auto !important;
		max-width: none !important;
		flex: none !important;
		float: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#eb-event-page > .row > .col-md-5 {
		position: sticky !important;
		top: 110px !important;
		align-self: start !important;
		z-index: 20 !important;
	}

	#eb-event-page .eb-event-detail-widget {
		position: relative !important;
		top: auto !important;
	}
}

@media (min-width: 992px) {
	#eb-event-page .eb-event-detail-widget .eb-taskbar {
		margin-top: 22px;
	}

	#eb-event-page .eb-event-detail-widget .eb-taskbar ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: grid;
		gap: 10px;
	}

	#eb-event-page .eb-event-detail-widget .eb-taskbar li {
		list-style: none;
	}

	#eb-event-page .eb-event-detail-widget .eb-taskbar .btn,
	#eb-event-page .eb-event-detail-widget .eb-taskbar a.btn {
		width: 100%;
		border-radius: 999px;
		min-height: 50px;
		font-weight: 700;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}


#eb-event-page .eb-event-detail-widget {
	transition: box-shadow .25s ease, transform .25s ease;
}

@media (min-width: 992px) {
	#eb-event-page .eb-event-detail-widget:hover {
		transform: translateY(-2px);
		box-shadow: 0 24px 60px rgba(60, 35, 15, .14);
	}
}

#eb-event-page .eb-taskbar .btn,
#eb-event-page .eb-taskbar a.btn,
#eb-event-page .eb-taskbar input.btn {
	background-color:#4c0c47 !important;

}

.ec-hero {
	position: relative;
	margin-bottom: 30px;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: var(--ec-shadow);
}

.ec-hero-image {
	width: 100%;
	height: 480px;
	object-fit: cover;
	display: block;
}

.ec-hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 36px;
	background:
		linear-gradient(
			to top,
			rgba(0,0,0,.55),
			rgba(0,0,0,.15),
			transparent
		);
}

.ec-hero-title {
	color: #fff;
	font-size: 2.3rem;
	font-weight: 700;
	margin: 0;
}

.ec-hero-price {
	width: fit-content;
	margin-top: 16px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255,255,255,.92);
	font-weight: 700;
	color: var(--ec-primary-dark);
}

@media (max-width: 767px) {
	.ec-hero-image {
		height: 340px;
	}

	.ec-hero-overlay {
		padding: 24px;
	}

	.ec-hero-title {
		font-size: 1.7rem;
	}
}









.ec-plugin-gallery {
	margin: 32px 0;
}

.ec-gallery-plugin-wrap {
	position: relative;
}

.ec-gallery-plugin-wrap .gallery {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 8px;
}

.ec-gallery-plugin-wrap .gallery::-webkit-scrollbar {
	display: none;
}

.ec-gallery-plugin-wrap .gallery > a {
	flex: 0 0 78%;
	max-width: 78%;
	scroll-snap-align: start;
	display: block;
	text-decoration: none;
}

.ec-gallery-plugin-wrap .gallery img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

@media (min-width: 768px) {
	.ec-gallery-plugin-wrap .gallery > a {
		flex-basis: 31%;
		max-width: 31%;
	}
}

.ec-gallery-carousel-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 0 24px;
}
.ec-gallery-carousel-dots {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}

.ec-gallery-carousel-dots button {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: block !important;
	width: 7px !important;
	height: 7px !important;
	min-width: 7px !important;
	min-height: 7px !important;
	max-width: 7px !important;
	max-height: 7px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(111, 61, 31, .28) !important;
	box-shadow: none !important;
	line-height: 0 !important;
	font-size: 0 !important;
	text-indent: -9999px !important;
	overflow: hidden !important;
}

.ec-gallery-carousel-dots button.active {
	width: 22px !important;
	min-width: 22px !important;
	max-width: 22px !important;
	background: var(--ec-primary) !important;
}






/* ==========================================
   ESSAOUIRA COOKING - CULINARY JOURNEY
   Plugin Event Booking Agendas
   ========================================== */

.ec-agenda-section {
	margin: 50px 0;
}

/* Titre */

.ec-journey-title {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--ec-primary-dark);
	margin-bottom: 36px;
}

/* Tableau */

.ec-agenda-section #eb-event-agendas {
	width: 100%;
	border: none !important;
	border-collapse: collapse;
	background: transparent !important;
	margin: 0;
}

.ec-agenda-section #eb-event-agendas tr,
.ec-agenda-section #eb-event-agendas td {
	border: none !important;
	background: transparent !important;
}

.ec-agenda-section #eb-event-agendas td {
	padding: 28px 0 !important;
	vertical-align: top;
}

/* Heure */

.ec-agenda-section .eb-agenda-time {
	width: 110px;
	min-width: 110px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--ec-primary-dark);
	position: relative;
	padding-right: 42px !important;
}

/* Point timeline */

.ec-agenda-section .eb-agenda-time::before {
	content: "";
	position: absolute;
	right: 0;
	top: 34px;

	width: 12px;
	height: 12px;

	border-radius: 50%;
	background: var(--ec-primary);

	box-shadow: 0 0 0 4px #fff;
	z-index: 2;
}

/* Ligne verticale */

.ec-agenda-section .eb-agenda-time::after {
	content: "";
	position: absolute;
	right: 5px;
	top: 46px;

	width: 2px;
	height: calc(100% + 22px);

	background: rgba(111, 61, 31, .25);
}

.ec-agenda-section tr:last-child .eb-agenda-time::after {
	display: none;
}

/* Activité */

.ec-agenda-section .eb-agenda-activity {
	padding-left: 42px !important;
}

.ec-agenda-section .eb-agenda-title {
	margin: 0 0 10px;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--ec-primary-dark);
	line-height: 1.3;
}

.ec-agenda-section .eb-agenda-description,
.ec-agenda-section .eb-agenda-activity p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.7;
	color: #6b625c;
}

/* Animation */

.ec-agenda-section #eb-event-agendas tr {
	transition: transform .2s ease;
}

.ec-agenda-section #eb-event-agendas tr:hover {
	transform: translateX(8px);
}

/* Mobile */

@media (max-width: 767px) {

	.ec-agenda-section #eb-event-agendas,
	.ec-agenda-section #eb-event-agendas tbody,
	.ec-agenda-section #eb-event-agendas tr,
	.ec-agenda-section #eb-event-agendas td {
		display: block;
		width: 100%;
	}

	.ec-agenda-section .eb-agenda-time {
		width: auto;
		min-width: auto;

		padding: 0 0 8px 34px !important;
	}

	.ec-agenda-section .eb-agenda-time::before {
		left: 0;
		right: auto;
	}

	.ec-agenda-section .eb-agenda-time::after {
		left: 5px;
		right: auto;
	}

	.ec-agenda-section .eb-agenda-activity {
		padding: 0 0 22px 34px !important;
	}

	.ec-agenda-section .eb-agenda-title {
		font-size: 1.15rem;
	}
}

.ec-map-section {
	margin: 34px 0 50px;
}

.ec-map-section .ec-accordion-content {
	padding: 0;
}

.ec-map-section iframe,
.ec-map-section .leaflet-container,
.ec-map-section .eb-map,
.ec-map-section [id*="map"] {
	width: 100% !important;
	min-height: 360px !important;
	border-radius: 22px;
	overflow: hidden;
}





@media (max-width: 767px) {
	.eb-taskbar.eb-register-buttons-top.clearfix {
		display: none !important;
	}
}

.ec-accordion-content {
	display: none;
	padding: 18px;
}

.ec-accordion-content.active {
	display: block;
}

/* Map : elle suit l'accordéon normalement */
.ec-map-section .ec-accordion-content {
	display: none;
	padding: 0;
}

.ec-map-section .ec-accordion-content.active {
	display: block;
}

.ec-map-section iframe,
.ec-map-section .leaflet-container,
.ec-map-section [id*="map"] {
	width: 100% !important;
	min-height: 360px !important;
	border-radius: 22px;
	overflow: hidden;
}



.ec-class-card,
.ec-event-card,
.ec-info-card {
	transition: transform .25s ease, box-shadow .25s ease;
}

.ec-class-card:hover,
.ec-event-card:hover,
.ec-info-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 45px rgba(60, 35, 15, .12);
}

.ec-class-card-hidden {
	display: none;
}

.ec-show-more-classes {
	margin-top: 18px;
	width: 100%;
	border: 1px solid var(--ec-primary);
	background: transparent;
	color: var(--ec-primary);
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 700;
}

.ec-show-more-classes:hover {
	background: var(--ec-bg);
}

/* Hero parallax léger */

.ec-hero {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	margin-bottom: 30px;
	box-shadow: var(--ec-shadow);
}

.ec-hero-image {
	width: 100%;
	height: 480px;
	object-fit: cover;
	display: block;
	transform: scale(1.05);
	will-change: transform;
	transition: transform .4s ease;
}

.ec-hero:hover .ec-hero-image {
	transform: scale(1.09);
}

.ec-hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 36px;
	background: linear-gradient(
		to top,
		rgba(0,0,0,.58),
		rgba(0,0,0,.18),
		transparent
	);
}

.ec-hero-title {
	color: #fff;
	font-size: 2.3rem;
	font-weight: 700;
	margin: 0;
}

.ec-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.ec-hero-badges span {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 7px 13px;
	background: rgba(255,255,255,.92);
	color: var(--ec-primary-dark);
	font-size: .86rem;
	font-weight: 700;
}

@media (max-width: 767px) {
	.ec-hero-image {
		height: 340px;
	}

	.ec-hero-overlay {
		padding: 24px;
	}

	.ec-hero-title {
		font-size: 1.7rem;
	}
}









.ec-accordion-section {
	border: 1px solid var(--ec-border);
	border-radius: 18px;
	background: #fff;
	margin-bottom: 18px;
	overflow: hidden;
}

.ec-accordion-toggle {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	border: 0;
	background: var(--ec-bg);
	color: var(--ec-primary-dark);
	font-weight: 700;
	padding: 16px 18px;
	cursor: pointer;
}

.ec-accordion-toggle::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s ease;
}

.ec-accordion-toggle.active::after {
	transform: rotate(-135deg);
}

.ec-accordion-content {
	display: block;
	max-height: 0;
	overflow: hidden;
	padding: 0 18px;
	opacity: 0;
	transition:
		max-height .35s ease,
		opacity .25s ease,
		padding .25s ease;
}

.ec-accordion-content.active {
	opacity: 1;
	padding: 18px;
}

#eb-event-page .eb-taskbar .btn,
#eb-event-page .eb-taskbar a.btn,
.ec-mobile-booking-bar .btn {
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#eb-event-page .eb-taskbar .btn:hover,
#eb-event-page .eb-taskbar a.btn:hover,
.ec-mobile-booking-bar .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(111, 61, 31, .22);
}
.ec-event-page .eb-description-details,
.ec-event-page .eb-event-detail-widget,
.ec-class-card,
.ec-plugin-gallery,
.ec-agenda-section,
.ec-map-section {
	animation: ecFadeUp .45s ease both;
}

@keyframes ecFadeUp {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}






.ec-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(15, 10, 6, .92);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	backdrop-filter: blur(8px);
}

.ec-lightbox.is-open {
	display: flex;
}

.ec-lightbox-image {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: 22px;
	box-shadow: 0 30px 90px rgba(0,0,0,.45);
	object-fit: contain;
}

/*.ec-lightbox-close,
.ec-lightbox-prev,
.ec-lightbox-next {
	position: absolute;
	border: 0;
	background: rgba(255,255,255,.14);
	color: #fff;
	border-radius: 999px;
	cursor: pointer;
	backdrop-filter: blur(6px);
}

.ec-lightbox-close {
	top: 22px;
	right: 22px;
	width: 44px;
	height: 44px;
	font-size: 2rem;
	line-height: 1;
}

.ec-lightbox-prev,
.ec-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	font-size: 2.5rem;
}

.ec-lightbox-prev {
	left: 24px;
}

.ec-lightbox-next {
	right: 24px;
}
*/
.ec-lightbox-counter {
	position: absolute;
	top: 24px;
	left: 24px;
	color: #fff;
	background: rgba(255,255,255,.14);
	border-radius: 999px;
	padding: 8px 14px;
	font-weight: 700;
}

@media (max-width: 767px) {
	.ec-lightbox {
		padding: 14px;
	}

	.ec-lightbox-image {
		max-width: 96vw;
		max-height: 80vh;
		border-radius: 18px;
	}

	.ec-lightbox-prev,
	.ec-lightbox-next {
		display: none;
	}
}

.ec-lightbox-image {
	animation: ecLightboxZoom .25s ease;
}

@keyframes ecLightboxZoom {
	from {
		opacity: 0;
		transform: scale(.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.ec-lightbox-prev::before,
.ec-lightbox-next::before {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.ec-lightbox-prev::before {
	transform: rotate(-135deg);
	margin-left: 4px;
}

.ec-lightbox-next::before {
	transform: rotate(45deg);
	margin-right: 4px;
}


.ec-lightbox-close::before,
.ec-lightbox-close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 18px;
	height: 2px;
	background: #fff;
	transform-origin: center;
}

.ec-lightbox-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ec-lightbox-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}