/**
 * Event Conversations – Frontend styles (Figma-based)
 * Fonts: Evoque (Condensed Heavy), DM Sans
 * Colors: #1F1B17, #F79051, #604B48, #FBF7F0, #F1E9E9
 */

/* Import DM Sans, Inter, and Playfair Display from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@600&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Evoque font – add EvoqueCondensedHeavy.otf (or .woff2 / .woff / .ttf) to assets/fonts/ */
@font-face {
	font-family: 'Evoque';
	src: url('../fonts/EvoqueCondensedHeavy.otf') format('opentype'),
	     url('../fonts/EvoqueCondensedHeavy.woff2') format('woff2'),
	     url('../fonts/EvoqueCondensedHeavy.woff') format('woff'),
	     url('../fonts/EvoqueCondensedHeavy.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

.ec-wrapper {
	box-sizing: border-box;
	padding: 0;
	margin: 20px 18px;
	font-family: 'DM Sans', sans-serif;
	color: #1F1B17;
}

/* Section headlines – Playfair Display */
.ec-section-title {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0px;
	gap: 8px;
	width: 100%;
	height: 63px;
	margin: 0 auto 8px auto;
	font-family: 'Playfair Display', serif;
	font-style: normal;
	font-weight: 900;
	font-size: 24px;
	line-height: 29px;
	color: #1F1B17;
	text-align: center;
}

/* Single conversation: $25 */
.ec-single-price {
	margin: 0 auto 24px auto;
	width: 100%;
	max-width: 100%;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 23px;
	color: #1F1B17;
	text-align: center;
}

.ec-membership-subtitle {
	margin: 0 0 24px 0;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 21px;
	color: #1F1B17;
}

.ec-events-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Individual series page — Group 24 (desktop max 1280px) */
.ec-wrapper.ec-wrapper--series {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

.ec-series-group {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.ec-series-header {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px 24px;
	margin-bottom: 28px;
}

.ec-series-header__intro {
	flex: 1 1 260px;
	min-width: 0;
}

.ec-wrapper--series .ec-series-header__title.ec-section-title {
	align-items: flex-start;
	text-align: left;
	height: auto;
	min-height: 0;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 8px;
	width: 100%;
}

.ec-wrapper--series .ec-series-header__price.ec-single-price {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}

/* Series header — Cart link (Figma: black pill, 136×58, icon 30×30) */
.ec-series-cart-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 16px 24px;
	gap: 24px;
	isolation: isolate;
	position: relative;
	box-sizing: border-box;
	width: 136px;
	min-width: 136px;
	height: 58px;
	background: #000000;
	border-radius: 8px;
	color: #ffffff !important;
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	text-decoration: none !important;
	border: none;
	flex: none;
	flex-grow: 0;
	align-self: center;
	transition: background 0.2s, opacity 0.2s;
}

.ec-series-cart-btn:hover,
.ec-series-cart-btn:focus {
	background: #1a1a1a;
	color: #ffffff !important;
}

.ec-series-cart-btn__icon {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
	flex: none;
	flex-grow: 0;
	order: 1;
	z-index: 1;
}

.ec-series-cart-btn__label {
	flex: none;
	order: 2;
	white-space: nowrap;
}

.ec-series-cart-btn__badge {
	position: absolute;
	top: -15px;
	right: -15px;
	z-index: 1;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e53935;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	border-radius: 999px;
	box-sizing: border-box;
}

/* Series header: hide cart link on mobile and tablet (show from desktop / 1025px up) */
@media (max-width: 1024px) {
	.ec-wrapper--series .ec-series-cart-btn {
		display: none;
	}
}

@media (min-width: 1200px) {
	.ec-wrapper.ec-wrapper--series {
		padding: 40px 80px 56px;
		max-width: none;
		width: 100%;
	}

	.ec-series-group {
		max-width: 1280px;
	}

	.ec-wrapper--series .ec-series-header__title.ec-section-title {
		font-size: 48px;
		line-height: 64px;
		font-weight: 700;
	}

	.ec-wrapper--series .ec-series-header__price {
		font-size: 24px;
		line-height: 31px;
	}

	.ec-wrapper--series .ec-series-checkout-fallback {
		display: none;
	}
}

@media (max-width: 1199px) {
	.ec-series-header {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 16px;
	}

	/* Row layout uses 260px as min width; in column mode that basis applies to height — remove extra gap */
	.ec-series-header__intro {
		flex: 0 0 auto;
		width: 100%;
		min-height: 0;
	}

	.ec-wrapper--series .ec-series-cart-btn {
		align-self: flex-start;
	}
}

@media (max-width: 768px) {
	.ec-wrapper--series .ec-series-header__title.ec-section-title {
		align-items: center;
		text-align: center;
	}

	/* Phone only: center price; tablet (769px–1199px) keeps left align from base rule */
	.ec-wrapper--series .ec-series-header__price.ec-single-price {
		text-align: center;
	}

	.ec-wrapper--series .ec-series-cart-btn {
		align-self: center;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Conversation card – Figma Conversation 4 */
.ec-event-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	padding: 24px;
	gap: 24px;
	width: 100%;
	max-width: 392px;
	min-height: 0;
	height: 100%;
	margin: 0;
	background: #F5F2EB;
	border: 1px solid #F1E9E9;
	box-shadow: 0px 6px 20px rgba(120, 90, 60, 0.08);
	border-radius: 10px;
}

.ec-event-content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex: 1 1 auto;
	gap: 24px;
	width: 100%;
	min-height: 0;
}

/* Frame 12 – event info column */
.ec-event-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

/* Event title (e.g. Pressure, Not Progress) – Playfair Display */
.ec-event-title {
	width: 100%;
	margin: 0;
	font-family: 'Playfair Display', serif;
	font-style: normal;
	font-weight: 900;
	font-size: 20px;
	line-height: 24px;
	color: #F79051;
}

/* (Conversation 1) – Playfair Display same as title */
.ec-event-title .ec-event-title-conversation {
	font-family: 'Playfair Display', serif;
	display: block;
	white-space: normal;
	font-style: normal;
	font-weight: 900;
	font-size: 20px;
	line-height: 24px;
}

/* Monday, February 23 - 6:30 - 8:30 PM */
.ec-event-datetime {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 21px;
	color: #1F1B17;
}

/* Night Heron, Oakland */
.ec-event-location {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 21px;
	color: #604B48;
}

/* Description paragraph */
.ec-event-description {
	width: 100%;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	text-align: justify;
	color: #1F1B17;
}

.ec-event-description p {
	margin: 0 0 0.5em 0;
}

.ec-event-description p:last-child {
	margin-bottom: 0;
}

/* ========== RESET: override theme styles for our controls ========== */
.ec-wrapper .ec-event-actions button,
.ec-wrapper .ec-event-actions input {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	outline: none;
	box-shadow: none;
}
.ec-wrapper .ec-quantity-wrap,
.ec-wrapper .ec-add-to-cart {
	all: unset;
	box-sizing: border-box;
}

/* Frame 15 – quantity + Add to cart row; meta on its own row (centered under full control group) */
.ec-wrapper .ec-event-actions {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
	padding: 0;
	width: 100%;
	max-width: 344px;
	flex: none;
	align-self: stretch;
	flex-grow: 0;
	margin-top: auto;
	box-sizing: border-box;
}

.ec-wrapper .ec-event-actions__row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	max-width: 344px;
	min-height: 52px;
	flex: none;
	box-sizing: border-box;
}

/* Frame 14 – quantity selector (exact Figma) */
.ec-wrapper .ec-quantity-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	gap: 12px;
	width: 100px;
	height: 52px;
	background: rgba(96, 75, 72, 0.1);
	border-radius: 10px;
	flex: none;
	order: 0;
	flex-grow: 0;
	box-sizing: border-box;
}

.ec-wrapper .ec-qty-btn {
	width: 12px;
	height: 26px;
	padding: 0;
	border: none;
	background: none !important;
	cursor: pointer;
	font-family: 'DM Sans', sans-serif !important;
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	color: #1F1B17 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}

.ec-wrapper .ec-qty-btn:hover {
	opacity: 0.8;
	background: none !important;
	color: #1F1B17 !important;
}

.ec-wrapper .ec-qty-input {
	width: 28px;
	height: 26px;
	padding: 0;
	border: none !important;
	background: transparent !important;
	text-align: center;
	font-family: 'DM Sans', sans-serif !important;
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	color: #1F1B17 !important;
	-moz-appearance: textfield;
	appearance: textfield;
}

.ec-wrapper .ec-qty-input::-webkit-outer-spin-button,
.ec-wrapper .ec-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ec-wrapper .ec-add-to-cart-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: none;
	order: 1;
	flex-grow: 0;
	flex-shrink: 0;
	min-width: 0;
	width: 234px;
	max-width: 100%;
	box-sizing: border-box;
}

/* Meta row: full width of control group, centered — sibling of .ec-event-actions__row */
.ec-wrapper .ec-cart-meta {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 6px;
	box-sizing: border-box;
	width: 100%;
	max-width: 344px;
	align-self: center;
	min-height: 15px;
	height: auto;
	flex: none;
	order: 0;
	flex-grow: 0;
	font-family: 'Inter', 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
	line-height: 15px;
	text-align: center;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.5);
	white-space: nowrap;
}

.ec-wrapper .ec-cart-count {
	display: inline;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	white-space: nowrap;
	flex-shrink: 0;
}

.ec-wrapper .ec-cart-remove {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font-family: 'Inter', 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	color: rgba(26, 26, 26, 0.5);
	white-space: nowrap;
	flex-shrink: 0;
}

.ec-wrapper .ec-cart-remove:hover {
	color: rgba(26, 26, 26, 0.75);
}

/* Frame 10 – Add to Cart button (exact Figma: 234×52px) */
.ec-wrapper .ec-add-to-cart {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 14px 86px;
	gap: 10px;
	width: 234px;
	min-width: 234px;
	height: 52px;
	flex-shrink: 0;
	background: #F79051 !important;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	border: none !important;
	cursor: pointer;
	font-family: 'DM Sans', sans-serif !important;
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	color: #FFFFFF !important;
	transition: background 0.2s, transform 0.1s, opacity 0.2s;
	box-sizing: border-box;
	flex: none;
	order: 0;
	white-space: nowrap;
	text-align: center;
	flex-wrap: nowrap;
}

.ec-wrapper .ec-add-to-cart.ec-add-to-cart--loading {
	opacity: 0.7;
}

.ec-wrapper .ec-add-to-cart.ec-add-to-cart--added {
	animation: ec-add-to-cart-pulse 0.4s ease;
}

.ec-wrapper .ec-add-to-cart.ec-add-to-cart--error {
	animation: ec-add-to-cart-shake 0.4s ease;
}

@keyframes ec-add-to-cart-pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.03);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes ec-add-to-cart-shake {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-2px);
	}
	50% {
		transform: translateX(2px);
	}
	75% {
		transform: translateX(-1px);
	}
	100% {
		transform: translateX(0);
	}
}

.ec-wrapper .ec-add-to-cart span,
.ec-wrapper .ec-add-to-cart::before,
.ec-wrapper .ec-add-to-cart::after {
	display: inline;
	white-space: nowrap;
}

.ec-wrapper .ec-add-to-cart:hover {
	background: #e57d3d !important;
	color: #FFFFFF !important;
}

.ec-wrapper .ec-add-to-cart:active {
	transform: scale(0.98);
	background: #F79051 !important;
}

.ec-wrapper .ec-add-to-cart:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	background: #F79051 !important;
}

/* Proceed to Checkout */
.ec-checkout-row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-top: 24px;
}

.ec-proceed-checkout {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 14px 18px;
	min-height: 52px;
	width: 100%;
	max-width: 392px;
	background: #000000;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	color: #FFFFFF;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background 0.2s, opacity 0.2s;
}

.ec-proceed-checkout:hover,
.ec-proceed-checkout:focus,
.ec-proceed-checkout:visited {
	text-decoration: none !important;
	color: #FFFFFF;
}

.ec-proceed-checkout:hover {
	background: #333;
	opacity: 0.95;
}

/* Membership page — Group 25 (1280px content, full-width cream) */
.ec-wrapper.ec-wrapper--membership {
	text-align: left;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	padding: 24px 18px 48px;
	background: #f9f7f2;
	color: #1a1a1a;
}

.ec-membership-group {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.ec-membership-header {
	margin-bottom: 28px;
}

.ec-wrapper--membership .ec-membership-header__title.ec-section-title {
	align-items: flex-start;
	text-align: left;
	height: auto;
	min-height: 0;
	margin: 0 0 12px 0;
	width: 100%;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.2;
	color: #1a1a1a;
}

.ec-membership-header__description {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	line-height: 1.45;
	color: rgba(26, 26, 26, 0.75);
	max-width: 720px;
}

/* Conversation cards — membership (lighter panels, peach titles) */
.ec-wrapper--membership .ec-event-card {
	background: #f2f0eb;
	border: none;
	box-shadow: none;
	border-radius: 10px;
	max-width: none;
}

.ec-wrapper--membership .ec-event-title,
.ec-wrapper--membership .ec-event-title .ec-event-title-conversation {
	color: #e6915b;
}

.ec-wrapper--membership .ec-event-datetime {
	color: rgba(26, 26, 26, 0.85);
}

.ec-wrapper--membership .ec-event-location {
	color: #1a1a1a;
}

.ec-wrapper--membership .ec-event-description {
	color: rgba(26, 26, 26, 0.82);
}

.ec-wrapper.ec-wrapper--cart {
	text-align: left;
	box-sizing: border-box;
	max-width: 440px;
	margin-left: auto;
	margin-right: auto;
	padding: 24px 16px 40px;
	background: #f9f8f3;
	color: #1f1b17;
	border-radius: 0;
}

/* Cart – header (Frame 42) + divider (Line 11) */
.ec-wrapper--cart .ec-cart-header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0;
	gap: 4px;
	width: 100%;
	max-width: 392px;
	margin: 0 auto 16px;
	text-align: center;
}

.ec-wrapper--cart .ec-cart-header__title.ec-section-title {
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	font-size: 26px;
	line-height: 1.15;
}

.ec-wrapper--cart .ec-cart-header__subtitle {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 400;
	color: #7a6e6a;
}

.ec-wrapper--cart .ec-cart-header-line {
	width: 100%;
	max-width: 392px;
	height: 1px;
	margin: 0 auto 24px;
	border: none;
	background: linear-gradient(
		90deg,
		rgba(96, 75, 72, 0) 0%,
		rgba(96, 75, 72, 0) 6%,
		rgba(96, 75, 72, 0.06) 14%,
		rgba(96, 75, 72, 0.2) 50%,
		rgba(96, 75, 72, 0.06) 86%,
		rgba(96, 75, 72, 0) 94%,
		rgba(96, 75, 72, 0) 100%
	);
}

/* Cart – item list (Frame 40 / 43): single column, centered */
.ec-wrapper--cart .ec-events-list.ec-cart-items {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 0;
	gap: 24px;
	width: 100%;
	max-width: 392px;
	margin: 0 auto 24px;
}

.ec-wrapper--cart .ec-cart-item-card {
	padding: 20px;
	gap: 0;
	background: #f3f1ea;
	border: 1px solid rgba(241, 233, 233, 0.9);
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(120, 90, 60, 0.06);
}

.ec-wrapper--cart .ec-cart-item-card .ec-event-content {
	gap: 12px;
}

.ec-wrapper--cart .ec-cart-item-card__title {
	color: #f79051;
}

.ec-wrapper--cart .ec-cart-item-card__title .ec-event-title-conversation {
	display: block;
	margin-top: 6px;
	font-family: 'Playfair Display', serif;
	font-style: normal;
	font-weight: 900;
	font-size: 18px;
	line-height: 1.2;
	color: #f79051;
}

.ec-wrapper--cart .ec-cart-item-card__price {
	margin: 0;
	color: #5c4f4c;
	font-size: 14px;
	line-height: 1.35;
}

.ec-wrapper--cart .ec-cart-item-controls {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin-top: 4px;
}

.ec-wrapper--cart .ec-cart-item-controls__left {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.ec-wrapper--cart .ec-cart-quantity-selector {
	margin: 0;
	flex: 0 0 auto;
}

.ec-wrapper--cart .ec-quantity-wrap--cart {
	width: auto;
	min-width: 100px;
	height: 48px;
	padding: 10px 16px;
	gap: 10px;
	background: rgba(96, 75, 72, 0.08);
	border-radius: 12px;
}

.ec-wrapper--cart .ec-cart-item-card__line-total {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
	color: #1f1b17;
	text-align: right;
	white-space: nowrap;
}

.ec-wrapper--cart .ec-cart-remove--icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 10px;
	background: #1f1b17 !important;
	color: #fff !important;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.1s;
	flex-shrink: 0;
	align-self: center;
}

.ec-wrapper--cart .ec-cart-remove--icon:hover {
	opacity: 0.9;
	color: #fff !important;
}

.ec-wrapper--cart .ec-cart-remove--icon.ec-cart-remove--loading {
	position: relative;
	pointer-events: none;
}

.ec-wrapper--cart .ec-cart-remove--loading .ec-cart-remove__img {
	opacity: 0;
	visibility: hidden;
}

.ec-wrapper--cart .ec-cart-remove--loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, 0.25);
	border-top-color: #ffffff;
	border-radius: 50%;
	box-sizing: border-box;
	animation: ec-cart-remove-spin 0.65s linear infinite;
}

@keyframes ec-cart-remove-spin {
	to {
		transform: rotate(360deg);
	}
}

.ec-wrapper--cart .ec-cart-remove__img {
	display: block;
	width: 14px;
	height: 14px;
	object-fit: contain;
}

.ec-cart-summary__head-img {
	display: block;
	width: 14px;
	height: auto;
	max-height: 18px;
	object-fit: contain;
}

/* Order summary (Container) */
.ec-cart-summary {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 22px 20px 20px;
	gap: 0;
	width: 100%;
	max-width: 392px;
	margin: 0 auto 24px;
	background: #ffffff;
	border: 1px solid #f1e9e9;
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(120, 90, 60, 0.08);
}

.ec-cart-summary__head {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.ec-cart-summary__head-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f79051;
	flex-shrink: 0;
}

.ec-cart-summary__head-title {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	color: #1f1b17;
}

.ec-cart-summary__items {
	list-style: none;
	margin: 0 0 16px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ec-cart-summary__row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-cart-summary__items .ec-cart-summary__row {
	border: none;
	background: transparent;
	padding: 0;
}

.ec-cart-summary__row-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ec-cart-summary__name {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	color: #1f1b17;
}

.ec-cart-summary__conversation {
	display: block;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.25;
	color: #f79051;
}

.ec-cart-summary__meta {
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	line-height: 1.3;
	color: #8a7e7a;
}

.ec-cart-summary__amount {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #1f1b17;
	white-space: nowrap;
}

.ec-cart-summary__divider {
	height: 1px;
	margin: 4px 0 14px;
	border: none;
	background: linear-gradient(
		90deg,
		rgba(96, 75, 72, 0) 0%,
		rgba(96, 75, 72, 0) 5%,
		rgba(96, 75, 72, 0.08) 15%,
		rgba(96, 75, 72, 0.16) 50%,
		rgba(96, 75, 72, 0.08) 85%,
		rgba(96, 75, 72, 0) 95%,
		rgba(96, 75, 72, 0) 100%
	);
}

.ec-cart-summary__row--muted {
	margin-bottom: 8px;
	align-items: center;
}

.ec-cart-summary__row--muted .ec-cart-summary__label {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	color: #6b7a8f;
	font-weight: 500;
}

.ec-cart-summary__row--muted .ec-cart-summary__amount {
	font-weight: 500;
	color: #6b7a8f;
}

.ec-cart-summary__row--grand {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid rgba(96, 75, 72, 0.1);
	align-items: baseline;
}

.ec-cart-summary__row--grand .ec-cart-summary__label {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #1f1b17;
}

.ec-cart-summary__grand {
	font-family: 'DM Sans', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #f79051;
}

.ec-wrapper--cart .ec-cart-checkout-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	width: 100%;
}

.ec-wrapper--cart .ec-cart-checkout-wrap .ec-proceed-checkout,
.ec-wrapper--cart .ec-cart-checkout-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: none;
	min-height: 52px;
	padding: 14px 24px;
	background: #f79051 !important;
	color: #ffffff !important;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(247, 144, 81, 0.35);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.25;
}

.ec-wrapper--cart .ec-cart-checkout-btn:hover,
.ec-wrapper--cart .ec-cart-checkout-btn:focus {
	background: #e57d3d !important;
	color: #ffffff !important;
	opacity: 1;
}

.ec-cart-checkout-btn__arrow {
	font-size: 20px;
	line-height: 1;
}

.ec-cart-secure-note {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #a8a09c;
	text-align: center;
}

/* Gift card block (Promo Card) */
.ec-cart-gift {
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	max-width: 392px;
	min-height: 118px;
	margin: 0 auto 20px;
	padding: 24px;
	background: #1f1b17;
	border-radius: 16px;
	color: #fff;
}

/* Soft orange / amber glow from bottom-right (matches design) */
.ec-cart-gift::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	z-index: 0;
	background: radial-gradient(
		ellipse 95% 85% at 100% 100%,
		rgba(247, 144, 81, 0.5) 0%,
		rgba(247, 144, 81, 0.22) 32%,
		rgba(247, 144, 81, 0.06) 55%,
		transparent 68%
	);
}

.ec-cart-gift__title,
.ec-cart-gift__form {
	position: relative;
	z-index: 1;
}

.ec-cart-gift__title {
	margin: 0 0 14px 0;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	color: #fff;
}

.ec-cart-gift__form {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}

.ec-cart-gift__input {
	flex: 1 1 140px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	background: #2a2624;
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
}

.ec-cart-gift__input::placeholder {
	color: rgba(255, 255, 255, 0.45);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ec-cart-gift__apply {
	padding: 12px 20px;
	border: none;
	border-radius: 10px;
	background: #fff;
	color: #1f1b17;
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.ec-cart-gift__apply:hover {
	background: #f3f1ea;
}

/* Policy notice */
.ec-cart-notice {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	max-width: 392px;
	margin: 0 auto;
	padding: 14px 16px;
	background: #f3f1ea;
	border: 1px solid rgba(241, 233, 233, 0.8);
	border-radius: 12px;
}

.ec-cart-notice__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f79051;
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

.ec-cart-notice__text {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	line-height: 1.45;
	color: #604b48;
}

.ec-cart-empty {
	margin: 0 0 16px 0;
	font-size: 14px;
	line-height: 18px;
	color: #1F1B17;
}

.ec-wrapper--cart .ec-cart-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 48px 0;
	gap: 28px;
	width: 100%;
	max-width: 576px;
	min-height: 670px;
	margin: 0 auto;
}

.ec-wrapper--cart .ec-cart-empty-state__media {
	width: 100%;
	max-width: 240px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ec-wrapper--cart .ec-cart-empty-state__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 240px;
	object-fit: contain;
}

.ec-wrapper--cart .ec-cart-empty-state__content {
	width: 100%;
	max-width: 576px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.ec-wrapper--cart .ec-cart-empty-state__title {
	margin: 0;
	width: 321.2px;
	height: 40px;
	font-family: 'Be Vietnam Pro', sans-serif;
	font-style: normal;
	font-weight: 900;
	font-size: 36px;
	line-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	letter-spacing: -0.9px;
	color: #0F172A;
	flex: none;
	order: 0;
	flex-grow: 0;
	max-width: 100%;
	white-space: nowrap;
	margin-left: auto;
	margin-right: auto;
}

.ec-wrapper--cart .ec-cart-empty-state__description {
	margin: 0;
	width: 441.22px;
	height: 88px;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 29px;
	display: flex;
	align-items: center;
	text-align: center;
	color: #64748b;
	flex: none;
	order: 0;
	flex-grow: 0;
}

.ec-wrapper--cart .ec-cart-empty-state__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 576px;
	margin-top: 8px;
}

.ec-wrapper--cart .ec-cart-empty-state__btn {
	flex: 1;
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ec-wrapper--cart .ec-cart-empty-state__btn--primary {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	gap: 7.99px;
	isolation: isolate;
	width: 246.98px;
	height: 56px;
	flex: none;
	order: 0;
	flex-grow: 0;
	background: #F79051;
	color: #FFFFFF;
	border: 1px solid #F79051;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	flex: none;
	order: 0;
	flex-grow: 0;
	z-index: 1;
	white-space: nowrap;
}

.ec-wrapper--cart .ec-cart-empty-state__btn--primary:hover {
	background: #e57d3d;
	border-color: #e57d3d;
	color: #FFFFFF;
}

.ec-wrapper--cart .ec-cart-empty-state__btn--secondary {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	width: 225px;
	height: 58px;
	flex: none;
	order: 1;
	flex-grow: 0;
	background: #FFFFFF;
	color: #0F172A;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	display: flex;
	align-items: center;
	text-align: center;
	flex: none;
	order: 1;
	flex-grow: 0;
	white-space: nowrap;
}

.ec-wrapper--cart .ec-cart-empty-state__btn--secondary:hover {
	background: #f8fafc;
	color: #0F172A;
}

/* Empty cart: lock exact desktop/tablet composition */
@media (min-width: 769px) {
	.ec-wrapper--cart .ec-cart-empty-state {
		width: 576px;
		min-height: 670px;
		padding: 48px 0;
		gap: 28px;
	}

	.ec-wrapper--cart .ec-cart-empty-state__media,
	.ec-wrapper--cart .ec-cart-empty-state__img {
		max-width: 240px;
	}

	.ec-wrapper--cart .ec-cart-empty-state__title {
		width: 321.2px;
		height: 40px;
		font-family: 'Be Vietnam Pro', sans-serif;
		font-style: normal;
		font-weight: 900;
		font-size: 36px;
		line-height: 40px;
		letter-spacing: -0.9px;
		color: #0F172A;
	}

	.ec-wrapper--cart .ec-cart-empty-state__description {
		width: 441.22px;
		height: 88px;
		font-family: 'DM Sans', sans-serif;
		font-style: normal;
		font-weight: 500;
		font-size: 18px;
		line-height: 29px;
		color: #64748B;
	}

	.ec-wrapper--cart .ec-cart-empty-state__actions {
		flex-direction: row;
		gap: 10px;
	}

	.ec-wrapper--cart .ec-cart-empty-state__btn--primary {
		width: 246.98px;
		height: 56px;
	}

	.ec-wrapper--cart .ec-cart-empty-state__btn--secondary {
		width: 225px;
		height: 58px;
	}
}

/* Shortcode cart: remove sits inline with quantity in .ec-cart-item-controls__left — no extra offset */
.ec-wrapper--cart .ec-cart-remove--shortcode {
	margin-top: 0;
	align-self: center;
}

.ec-cart-price-line,
.ec-cart-total-line {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: #604B48;
}

.ec-cart-total-line {
	font-weight: 700;
	color: #1F1B17;
}

.ec-cart-quantity-selector {
	margin-top: 0;
	flex: 1;
}

.ec-cart-meta-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.ec-cart-meta-row--top {
	align-items: baseline;
}

.ec-cart-meta-row--bottom {
	align-items: center;
}

.ec-cart-count-line {
	margin: 0 0 12px 0;
	font-size: 14px;
	line-height: 18px;
	color: #604B48;
}

.ec-cart-items {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.ec-cart-item {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	border: 1px solid #F1E9E9;
	background: #F5F2EB;
	border-radius: 10px;
	padding: 10px 12px;
}

.ec-cart-item-name {
	font-size: 14px;
	line-height: 18px;
	color: #1F1B17;
	word-break: break-word;
}

.ec-cart-item-qty {
	font-size: 14px;
	line-height: 18px;
	color: #604B48;
	white-space: nowrap;
}

.ec-cart-shortcode-link {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 12px 18px;
	min-height: 44px;
	background: #000000;
	color: #FFFFFF;
	border-radius: 10px;
	text-decoration: none !important;
	font-weight: 600;
}

.ec-cart-shortcode-link:hover {
	background: #333;
}

.ec-membership-ctas {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 32px;
	align-items: center;
}

.ec-membership-cta-primary {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 100%;
	max-width: 392px;
}

.ec-membership-cart-meta {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 1.2em;
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	line-height: 1.2;
	color: #604B48;
}

.ec-membership-cart-count {
	display: inline;
}

.ec-membership-cart-remove {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	line-height: 1.2;
	text-decoration: underline;
	cursor: pointer;
	color: #604B48;
}

.ec-membership-cart-remove:hover {
	color: #1F1B17;
}

.ec-membership-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	min-height: 52px;
	width: 100%;
	min-width: 234px;
	max-width: 392px;
	border-radius: 10px;
	font-family: 'DM Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	white-space: nowrap;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ec-membership-btn--primary {
	background: #F79051;
	color: #FFFFFF;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

.ec-membership-btn--primary:hover {
	background: #e57d3d;
	color: #FFFFFF;
}

.ec-membership-btn--secondary {
	background: #FFFFFF;
	color: #1F1B17;
	border: 1px solid rgba(96, 75, 72, 0.5);
	filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.25));
}

.ec-membership-btn--secondary:hover {
	background: #FBF7F0;
}

.ec-membership-footnote {
	margin-top: 12px;
	font-family: 'DM Sans', sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: #1F1B17;
	text-align: center;
}

/* Membership: show CTA + footnote on mobile/tablet only */
@media (min-width: 1025px) {
	.ec-wrapper--membership .ec-membership-ctas,
	.ec-wrapper--membership .ec-membership-footnote {
		display: none;
	}
}

/* Event cards: quantity + Add to Cart on one row (avoid flex-wrap stacking; card inner width is often < 344px) */
@media (max-width: 1024px) {
	.ec-wrapper .ec-event-actions {
		align-items: stretch;
		max-width: none;
		width: 100%;
	}

	.ec-wrapper .ec-event-actions__row {
		flex-wrap: nowrap;
		width: 100%;
		max-width: none;
		gap: 8px;
		justify-content: flex-start;
		align-items: flex-start;
	}

	.ec-wrapper .ec-cart-meta {
		max-width: none;
		width: 100%;
	}

	.ec-wrapper .ec-quantity-wrap {
		flex-shrink: 0;
	}

	.ec-wrapper .ec-add-to-cart-wrap {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
		max-width: none;
	}

	.ec-wrapper .ec-add-to-cart {
		width: 100%;
		min-width: 0;
		max-width: none;
		padding-left: 16px;
		padding-right: 16px;
		flex-shrink: 1;
	}
}

/* Responsive: mobile */
@media (max-width: 480px) {
	.ec-wrapper {
		padding: 0;
		margin: 16px 28px;
	}
	.ec-event-card {
		max-width: 100%;
	}
	/* Center main headings for membership & individual pages on mobile */
	.ec-wrapper--membership .ec-membership-header__title.ec-section-title,
	.ec-wrapper--series .ec-series-header__title.ec-section-title {
		text-align: center;
		align-items: center;
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}
	.ec-wrapper--cart .ec-cart-empty-state {
		padding: 24px 0;
		gap: 14px;
		min-height: 0;
		max-width: 100%;
	}
	.ec-wrapper--cart .ec-cart-empty-state__media,
	.ec-wrapper--cart .ec-cart-empty-state__img {
		max-width: 200px;
	}
	.ec-wrapper--cart .ec-cart-empty-state__title {
		width: 321.2px;
		height: 40px;
		font-family: 'Be Vietnam Pro', sans-serif;
		font-style: normal;
		font-weight: 900;
		font-size: 32px;
		line-height: 36px;
		display: flex;
		align-items: center;
		text-align: center;
		letter-spacing: -0.9px;
		color: #0F172A;
		flex: none;
		order: 0;
		flex-grow: 0;
		max-width: 100%;
	}
	.ec-wrapper--cart .ec-cart-empty-state__description {
		width: 441.22px;
		height: 88px;
		font-family: 'DM Sans', sans-serif;
		font-style: normal;
		font-weight: 500;
		font-size: 18px;
		line-height: 29px;
		display: flex;
		align-items: center;
		text-align: center;
		color: #64748B;
		flex: none;
		order: 0;
		flex-grow: 0;
		max-width: 100%;
	}
	.ec-wrapper--cart .ec-cart-empty-state__actions {
		flex-direction: column;
		gap: 10px;
	}
	.ec-wrapper--cart .ec-cart-empty-state__btn {
		width: 100%;
		min-height: 56px;
		font-size: 16px;
		line-height: 24px;
	}

	.ec-wrapper--cart .ec-cart-empty-state__btn--primary {
		width: 100%;
		height: 56px;
		font-family: 'DM Sans', sans-serif;
		font-style: normal;
		font-weight: 600;
		font-size: 16px;
		line-height: 24px;
		display: flex;
		align-items: center;
		text-align: center;
		color: #FFFFFF;
		flex: none;
		order: 0;
		flex-grow: 0;
		z-index: 1;
	}

	.ec-wrapper--cart .ec-cart-empty-state__btn--secondary {
		width: 100%;
		height: 56px;
		font-family: 'DM Sans', sans-serif;
		font-style: normal;
		font-weight: 600;
		font-size: 16px;
		line-height: 24px;
		display: flex;
		align-items: center;
		text-align: center;
		color: #0F172A;
		flex: none;
		order: 1;
		flex-grow: 0;
	}
}

/* Tablet: 481px – 768px */
@media (min-width: 481px) and (max-width: 768px) {
	.ec-wrapper {
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
		padding: 0 24px;
	}
	.ec-wrapper--cart {
		max-width: 440px;
	}
	.ec-event-card {
		max-width: 100%;
	}
}

/* Tablet landscape / small desktop: 769px – 1024px */
@media (min-width: 769px) {
	.ec-wrapper {
		max-width: 840px;
		margin-left: auto;
		margin-right: auto;
		padding: 0 24px;
	}
	/* Remove side padding for membership wrapper; handle gutters inside membership group */
	.ec-wrapper.ec-wrapper--membership {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	/* Membership grid: center but no extra inner padding */
	.ec-membership-group {
		max-width: 1280px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	/* Center main headings for membership & individual pages on tablet */
	.ec-wrapper--membership .ec-membership-header__title.ec-section-title,
	.ec-wrapper--series .ec-series-header__title.ec-section-title {
		text-align: center;
		align-items: center;
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}

	/* Center descriptions under headings on tablet */
	.ec-membership-header__description,
	.ec-wrapper--series .ec-series-header__price {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	/* Explicitly override base left-align for tablet: single-price line */
	.ec-wrapper--series .ec-series-header__price.ec-single-price {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	/* Individual series: use wrapper width so header and grid stay aligned */
	.ec-wrapper--series .ec-events-list {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}
	.ec-wrapper:not(.ec-wrapper--series) .ec-events-list:not(.ec-cart-items) {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
		align-items: stretch;
	}
	/* Individual series: 2 columns tablet / small desktop */
	.ec-wrapper--series .ec-events-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 382px));
		gap: 24px;
		align-items: stretch;
		justify-content: center;
	}
	.ec-wrapper--series .ec-event-card {
		max-width: none;
		width: 100%;
	}
	.ec-event-card {
		max-width: 100%;
	}
	.ec-checkout-row .ec-proceed-checkout {
		max-width: 392px;
	}
	.ec-membership-ctas {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		gap: 16px;
	}
	.ec-membership-btn {
		width: 100%;
		flex: 1;
		max-width: 392px;
	}
}

/* Individual series + membership: 3 columns on large desktop (must follow 769px grid rules) */
@media (min-width: 1200px) {
	.ec-wrapper--series .ec-events-list,
	.ec-wrapper--membership .ec-events-list {
		grid-template-columns: repeat(3, minmax(0, 388px));
		gap: 24px;
		align-items: stretch;
		justify-content: center;
	}

	.ec-wrapper.ec-wrapper--membership {
		padding: 40px 0 56px;
		max-width: none;
		width: 100%;
	}

	.ec-membership-group {
		max-width: 1200px;
	}

	.ec-wrapper.ec-wrapper--series {
		padding: 40px 0 56px;
		max-width: none;
		width: 100%;
	}

	.ec-wrapper--membership .ec-membership-header__title.ec-section-title {
		font-size: 48px;
		line-height: 64px;
	}
}

/* Desktop: 1025px+ */
@media (min-width: 1025px) {
	.ec-wrapper {
		max-width: 1200px;
		padding: 0 32px;
	}
	/* Membership: no extra wrapper padding on desktop; use inner group for gutters */
	.ec-wrapper.ec-wrapper--membership {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	/* Desktop: keep individual-series header + price left-aligned */
	.ec-wrapper--series .ec-series-header__title.ec-section-title {
		text-align: left;
		align-items: flex-start;
		justify-content: flex-start;
		margin-left: 0;
		margin-right: 0;
	}

	.ec-wrapper--series .ec-series-header__price.ec-single-price {
		text-align: left;
		margin-left: 0;
		margin-right: 0;
	}

	/* Desktop: keep membership header + description left-aligned */
	.ec-wrapper--membership .ec-membership-header__title.ec-section-title {
		text-align: left;
		align-items: flex-start;
		justify-content: flex-start;
		margin-left: 0;
		margin-right: 0;
	}

	.ec-membership-header__description {
		text-align: left;
		margin-left: 0;
		margin-right: 0;
	}
	/* Exclude individual series page — it uses 3 columns from 1200px */
	.ec-wrapper:not(.ec-wrapper--series) .ec-events-list:not(.ec-cart-items) {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
		align-items: stretch;
	}
	.ec-event-card {
		max-width: 100%;
	}
}

/* Cart – tablet/desktop: main column + sidebar (Figma) */
@media (min-width: 769px) {
	.ec-wrapper.ec-wrapper--cart {
		max-width: none;
		width: 100%;
		padding: 32px 0 48px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.ec-cart-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
		grid-template-rows: auto auto;
		column-gap: 24px;
		row-gap: 24px;
		align-items: start;
		width: 100%;
		max-width: 1100px;
		margin: 0 auto;
	}

	/* Row 1 col 1: title + divider only — col 2 empty */
	.ec-cart-lead {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
		width: 100%;
	}

	/* Row 2 col 1: line items */
	.ec-cart-items-wrap {
		grid-column: 1;
		grid-row: 2;
		min-width: 0;
		width: 100%;
	}

	/* Row 2 col 2: summary lines up with first cart item */
	.ec-cart-aside {
		grid-column: 2;
		grid-row: 2;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		min-width: 0;
		position: sticky;
		top: 32px;
		align-self: start;
	}

	.ec-wrapper--cart .ec-cart-lead .ec-cart-header {
		align-items: flex-start;
		text-align: left;
		margin-left: 0;
		margin-bottom: 16px;
		max-width: none;
		width: 100%;
	}

	.ec-wrapper--cart .ec-cart-lead .ec-cart-header__title.ec-section-title {
		align-self: flex-start;
		align-items: flex-start;
		height: auto;
		min-height: 0;
		font-family: 'Playfair Display', serif;
		font-style: normal;
		font-weight: 700;
		font-size: 48px;
		line-height: 64px;
		color: #1f1b17;
		text-align: left;
	}

	.ec-wrapper--cart .ec-cart-lead .ec-cart-header__subtitle {
		font-size: 24px;
		line-height: 31px;
		font-weight: 400;
		color: #1f1b17;
		text-align: left;
		width: 100%;
	}

	.ec-wrapper--cart .ec-cart-lead .ec-cart-header-line {
		max-width: none;
		width: 100%;
		margin-bottom: 0;
	}

	.ec-wrapper--cart .ec-cart-items-wrap .ec-events-list.ec-cart-items {
		max-width: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 0;
	}

	.ec-wrapper--cart .ec-cart-item-card {
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: stretch;
		padding: 24px;
		gap: 24px;
		width: 100%;
		max-width: none;
		min-height: 0;
		background: #f5f2eb;
		border: 1px solid rgba(0, 0, 0, 0.05);
		border-radius: 10px;
		box-shadow: none;
	}

	.ec-wrapper--cart .ec-cart-item-card .ec-event-content {
		gap: 24px;
	}

	.ec-wrapper--cart .ec-cart-aside .ec-cart-summary,
	.ec-wrapper--cart .ec-cart-aside .ec-cart-gift,
	.ec-wrapper--cart .ec-cart-aside .ec-cart-notice {
		max-width: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* Cart – tablet side gutters */
@media (min-width: 769px) and (max-width: 1199px) {
	.ec-wrapper.ec-wrapper--cart {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* Cart – large desktop refinements */
@media (min-width: 1200px) {
	.ec-wrapper.ec-wrapper--cart {
		padding: 40px 0 56px;
	}

	.ec-cart-layout {
		grid-template-columns: minmax(0, 845px) minmax(300px, 420px);
		max-width: 1280px;
	}

	.ec-wrapper--cart .ec-cart-items-wrap .ec-events-list.ec-cart-items,
	.ec-wrapper--cart .ec-cart-item-card {
		max-width: 845px;
	}
}
