/* Ticketplus – scroll effects and small motion touches */

/* Reading progress bar */
.ldtb-progress {
	position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 99998;
	height: 3px; background: linear-gradient(90deg, #f12323, #ff6b4a); transform: scaleX(0); transform-origin: 0 50%;
	pointer-events: none;
}

/* Back to top */
.ldtb-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 99997;
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0; margin: 0; border: 0; border-radius: 50%;
	background: #f12323; color: #fff; box-shadow: 0 6px 18px rgba(241, 35, 35, .35);
	cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
	transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .2s;
}
.ldtb-totop.is-on { opacity: 1; visibility: visible; transform: none; }
.ldtb-totop:hover { background: #d01b1b; transform: translateY(-3px); }
.ldtb-totop:focus-visible { outline: 3px solid #1d2327; outline-offset: 3px; }
@media (max-width: 767px) { .ldtb-totop { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* Header gets a soft shadow once the page scrolls */
.elementor-location-header .elementor-sticky--effects,
.elementor-location-header .elementor-sticky--active { transition: box-shadow .3s ease; }
html.ldtb-scrolled .elementor-location-header .elementor-sticky--active { box-shadow: 0 6px 24px rgba(17, 18, 22, .12); }

/* Reveal on scroll */
html.ldtb-ux-on .ldtb-rv {
	opacity: 0; transform: translate3d(0, 30px, 0);
	transition: opacity .75s cubic-bezier(.2, .65, .3, 1), transform .75s cubic-bezier(.2, .65, .3, 1);
	transition-delay: var(--rv-d, 0ms);
}
html.ldtb-ux-on .ldtb-rv--zoom { transform: scale(.94); }
html.ldtb-ux-on .ldtb-rv--left { transform: translate3d(-40px, 0, 0); }
html.ldtb-ux-on .ldtb-rv--right { transform: translate3d(40px, 0, 0); }
html.ldtb-ux-on .ldtb-rv.is-in { opacity: 1; transform: none; }

/* Hover lift on event cards and buttons */
.e-loop-item { transition: transform .3s ease, box-shadow .3s ease; }
.e-loop-item:hover { transform: translateY(-4px); }
.elementor-button { transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s, border-color .2s; }
.elementor-button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(17, 18, 22, .14); }

@media (prefers-reduced-motion: reduce) {
	.ldtb-progress { display: none; }
	.ldtb-totop, .e-loop-item, .elementor-button { transition: none; }
	.e-loop-item:hover, .elementor-button:hover, .ldtb-totop:hover { transform: none; }
}
@media print { .ldtb-progress, .ldtb-totop { display: none !important; } }

/* Keep the theme's button styles off the back-to-top button */
html body button.ldtb-totop {
	width: 46px !important; height: 46px !important; min-width: 0 !important; min-height: 0 !important;
	padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: #f12323 !important; color: #fff !important; line-height: 1 !important; font-size: 0 !important; text-transform: none !important;
}
html body button.ldtb-totop:hover { background: #d01b1b !important; }
html body button.ldtb-totop svg { width: 20px; height: 20px; flex: 0 0 20px; display: block; }
@media (max-width: 767px) { html body button.ldtb-totop { width: 42px !important; height: 42px !important; } }

/* Phones: "Choose your seats" bar */
.ldtb-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99996; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(17, 18, 22, .14); transform: translateY(110%); transition: transform .3s ease; }
.ldtb-mbar.is-on { transform: none; }
.ldtb-mbar__price { font-weight: 700; color: #1d2327; font-size: 15px; }
html body button.ldtb-mbar__btn { flex: 0 0 auto; min-height: 46px; padding: 0 22px !important; border: 0 !important; border-radius: 999px !important; background: #f12323 !important; color: #fff !important; font-weight: 700; font-size: 15px; line-height: 1; }
html.ldtb-has-mbar body button.ldtb-totop { bottom: 82px; }
@media (min-width: 1025px) { .ldtb-mbar { display: none; } }

/* Footer legal links: one tidy centred row that wraps evenly */
.elementor-location-footer .elementor-icon-list-items.elementor-inline-items { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.elementor-location-footer .elementor-icon-list-items.elementor-inline-items > .elementor-icon-list-item { margin: 0 !important; padding: 0 12px; white-space: nowrap; }
.elementor-location-footer .elementor-icon-list-items.elementor-inline-items > .elementor-icon-list-item:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .18); }
.elementor-location-footer .elementor-icon-list-items.elementor-inline-items > .elementor-icon-list-item::after { display: none !important; }

/* Event page: poster stays beside the booking panel, compact breadcrumb */
@media (min-width: 1025px) {
	.single-product .elementor-element.elementor-element-92bcdd2 { position: sticky; top: 90px; align-self: flex-start; }
}
.single-product .elementor-element-993dc09 .woocommerce-breadcrumb { margin: 0 0 4px !important; font-size: 13px !important; text-align: left !important; color: #6b7280 !important; }
.single-product .elementor-element-993dc09 .woocommerce-breadcrumb a { color: #6b7280 !important; }
.single-product .elementor-element-993dc09 .woocommerce-breadcrumb a:hover { color: #f12323 !important; }

/* Organisers: plain logos (they are not links) */
.ldtb-organizer-tile { box-shadow: none !important; border: 1px solid rgba(17, 18, 22, .08); background: #fff; cursor: default; }
.ldtb-organizer-tile--name { border-color: transparent; }

/* Good to know */
.ldtb-info { margin: 18px 0 8px; padding: 16px 18px; border: 1px solid rgba(17, 18, 22, .08); border-radius: 14px; background: #fff; }
.ldtb-info__title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5c5f68; }
.ldtb-info__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ldtb-info__row { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.45; color: #1d2327; }
.ldtb-info__row strong { font-weight: 700; margin-right: 2px; }
.ldtb-info__row a { color: #f12323; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ldtb-info__icon { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; fill: #f12323; }
.ldtb-sales-note--fast { color: #b45309; font-weight: 700; }

/* UX review 2 (20 Nov) */
/* The poster never waits for the gallery script to fade in */
.single-product .woocommerce-product-gallery { opacity: 1 !important; }

/* Price: currency + unit, and how many seats are left overall */
.ldtb-price-unit { font-size: .55em; font-weight: 600; color: #4b5563; margin-left: 4px; }
.ldtb-left-total { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: #15803d; }
.ldtb-left-total.is-low { color: #b45309; }

/* Venue line: directions right there */
.ldtb-dir { margin-left: 8px; font-size: .85em; font-weight: 600; color: #f12323 !important; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Sales cut-off reads as a deadline, not a success message */
body .ldtb-sales-note.ldtb-sales-note--deadline, body.ldtb-light .ldtb-sales-note.ldtb-sales-note--deadline { background: #fff7ed !important; color: #9a3412 !important; border: 1px solid #fed7aa !important; font-weight: 600; }
body.ldtb-light .ldtb-sales-note.ldtb-sales-note--deadline .ldtb-sales-note__dot { background: currentColor !important; }
.ldtb-sales-note--deadline .ldtb-sales-note__dot { width: 16px; height: 16px; border-radius: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1-13h-2v6l5 3 1-1.7-4-2.3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1-13h-2v6l5 3 1-1.7-4-2.3z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Refund line right under the button */
.ldtb-sel-refund { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #4b5563; }
.ldtb-sel-refund a { color: #f12323; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Phones: date, venue, price and seats left come before the poster */
@media (max-width: 767px) {
	.single-product .elementor-element.elementor-element-3de05c4 { display: contents !important; }
	.single-product .elementor-element-3de05c4 > .elementor-element { order: 20; }
	.single-product .elementor-element.elementor-element-993dc09 { order: 1; }
	.single-product .elementor-element.elementor-element-e1edd47 { order: 2; }
	.single-product .elementor-element.elementor-element-1345757 { order: 3; }
	.single-product .elementor-element.elementor-element-13ee692 { order: 4; }
	.single-product .elementor-element.elementor-element-e8bdd08 { order: 5; }
	.single-product .elementor-element.elementor-element-9df8388 { order: 6; }
	.single-product .elementor-element.elementor-element-9a6caa1 { order: 7; }
	.single-product .elementor-element.elementor-element-92bcdd2 { order: 8; }
}

/* Mobile fixes 21 Nov */
.single-product .elementor-element-13ee692 { margin-bottom: 12px; }
.single-product .ldtb-sel-footer { z-index: 6; }
@media (max-width: 767px) {
	.single-product .elementor-element-068185e .elementor-heading-title { font-size: 17px !important; line-height: 1.35 !important; }
	.single-product .elementor-element-be9053c .elementor-heading-title { font-size: 16px !important; line-height: 1.35 !important; }
	.ldtb-dir { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0; font-size: 14px; line-height: 1.2; }
	.ldtb-dir::before { content: ""; display: block; width: 0; height: 0; }
	.single-product .elementor-element-13ee692 .elementor-heading-title { display: flex; flex-wrap: wrap; column-gap: 6px; }
	.single-product .elementor-element-13ee692 .elementor-heading-title .ldtb-dir { flex-basis: 100%; width: fit-content; }
	.single-product .elementor-element-e8bdd08 { margin-top: 4px; }
	.single-product .ldtb-sel-footer { box-shadow: 0 -8px 14px -8px rgba(17, 18, 22, .18); }
}

/* Mobile meta rows: icons line up with the first line of text (21 Nov, v2) */
@media (max-width: 767px) {
	.single-product .elementor-element.elementor-element-1345757 { margin-top: 8px; }
	.single-product .elementor-element.elementor-element-1345757,
	.single-product .elementor-element.elementor-element-13ee692 { align-items: flex-start !important; gap: 10px !important; margin-bottom: 12px !important; }
	.single-product .elementor-element.elementor-element-f2f36ac,
	.single-product .elementor-element.elementor-element-6b80358 { flex: 0 0 22px !important; width: 22px !important; justify-content: flex-start !important; align-items: flex-start !important; padding-top: 1px !important; }
	.single-product .elementor-element-be8a5c3 .elementor-icon,
	.single-product .elementor-element-a53e071 .elementor-icon { font-size: 20px !important; }
	.single-product .elementor-element-be8a5c3 .elementor-icon svg,
	.single-product .elementor-element-a53e071 .elementor-icon svg { width: 20px !important; height: 20px !important; }
	.single-product .elementor-element-be8a5c3 .elementor-icon-wrapper,
	.single-product .elementor-element-a53e071 .elementor-icon-wrapper { line-height: 0; }
	.single-product .elementor-element.elementor-element-f799426,
	.single-product .elementor-element.elementor-element-f715f54 { flex: 1 1 auto !important; width: auto !important; min-width: 0; align-items: flex-start !important; }
	.single-product .elementor-element-be9053c .elementor-heading-title,
	.single-product .elementor-element-068185e .elementor-heading-title { line-height: 1.35 !important; }
	.single-product .elementor-element-068185e .elementor-heading-title .ldtb-dir { display: inline-flex !important; flex-basis: auto !important; margin: 6px 0 0 !important; font-size: 14px !important; font-weight: 700; gap: 0 !important; }
	.single-product .elementor-element-068185e .ldtb-dir::before { display: none !important; }
	.single-product .elementor-element.elementor-element-e8bdd08 { margin-top: 10px !important; }
}
/* Event description: easier-to-read line height (21 Nov) */
.single-product .elementor-element-a73854b, .single-product .elementor-element-a73854b p, .single-product .elementor-element-a73854b li { line-height: 1.65 !important; }
.single-product .elementor-element-a73854b p { margin-bottom: 1em; }

/* Phones: "View floor plan" is the highlighted first step (21 Nov) */
@media (max-width: 640px) {
	html body .ldtb-sel .ldtb-plan:not(.is-plan-open) .ldtb-plan__toggle { min-height: 52px; border: 2px solid #f12323 !important; background: #f12323 !important; color: #fff !important; font-size: 16px; font-weight: 700; box-shadow: 0 6px 16px rgba(241, 35, 35, .3); }
	html body .ldtb-sel .ldtb-plan:not(.is-plan-open) .ldtb-plan__toggle:hover,
	html body .ldtb-sel .ldtb-plan:not(.is-plan-open) .ldtb-plan__toggle:focus { background: #d81b1b !important; border-color: #d81b1b !important; color: #fff !important; }
	html body .ldtb-sel .ldtb-plan__toggle:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
	html body .ldtb-sel .ldtb-plan:not(.is-plan-open) .ldtb-plan__toggle { animation: ldtbPlanPulse 1.8s ease-out infinite; }
}
@keyframes ldtbPlanPulse { 0% { box-shadow: 0 6px 16px rgba(241, 35, 35, .3), 0 0 0 0 rgba(241, 35, 35, .45); } 70% { box-shadow: 0 6px 16px rgba(241, 35, 35, .3), 0 0 0 10px rgba(241, 35, 35, 0); } 100% { box-shadow: 0 6px 16px rgba(241, 35, 35, .3), 0 0 0 0 rgba(241, 35, 35, 0); } }
/* Mobile spacing rhythm for the event header (21 Nov, v3) */
@media (max-width: 767px) {
	.single-product .elementor-element.elementor-element-1345757 { margin-top: 12px !important; margin-bottom: 10px !important; }
	.single-product .elementor-element.elementor-element-1345757,
	.single-product .elementor-element.elementor-element-13ee692 { gap: 8px !important; }
	.single-product .elementor-element.elementor-element-f799426,
	.single-product .elementor-element.elementor-element-f715f54 { padding: 0 !important; margin: 0 !important; }
	.single-product .elementor-element.elementor-element-13ee692 { margin-bottom: 0 !important; }
	.single-product .elementor-element-068185e .elementor-heading-title .ldtb-dir { margin-top: 4px !important; }
	.single-product .elementor-element.elementor-element-e8bdd08 { margin-top: 18px !important; margin-bottom: 4px !important; }
	.single-product .elementor-element-e8bdd08 .elementor-heading-title { line-height: 1.2 !important; }
	.single-product .elementor-element-9df8388 p.price { margin: 0 !important; line-height: 1.2 !important; }
	.single-product .elementor-element-9df8388 p.price .ldtb-left-total { margin-top: 6px !important; line-height: 1.3 !important; }
	.single-product .elementor-element.elementor-element-9a6caa1 { margin-top: 16px !important; }
	.single-product .ldtb-sales-note { margin: 0 !important; padding: 12px 14px !important; gap: 10px !important; align-items: flex-start !important; font-size: 14px !important; line-height: 1.45 !important; }
	.single-product .ldtb-sales-note__dot { flex: 0 0 16px; margin-top: 2px; }
}
/* Phones: the admin bar scrolls away below 600px, so the progress bar sits at the very top (21 Nov) */
@media (max-width: 600px) {
	.ldtb-progress { top: 0 !important; }
}

/* ---------- Viewport-height friendly layout (21 Nov) ---------- */
/* Home hero: fills the screen below the header, never taller than its design height */
body .elementor-431 .elementor-element.elementor-element-8b9a370 { --min-height: max(460px, min(782px, calc(100vh - 64px))); --padding-top: clamp(40px, 12vh, 150px); --padding-bottom: clamp(28px, 6vh, 56px); }
@supports (height: 100svh) {
	body .elementor-431 .elementor-element.elementor-element-8b9a370 { --min-height: max(460px, min(782px, calc(100svh - 64px))); --padding-top: clamp(40px, 12svh, 150px); --padding-bottom: clamp(28px, 6svh, 56px); }
	body .elementor-431 .elementor-element.elementor-element-26a54442 { --min-height: 60svh; }
	.ldtb-legal__toc { max-height: calc(100svh - 140px); }
}
@media (max-width: 767px) {
	body .elementor-431 .elementor-element.elementor-element-8b9a370 { --min-height: max(440px, min(595px, calc(100vh - 73px))); --padding-top: clamp(28px, 8vh, 90px); --padding-bottom: clamp(24px, 5vh, 36px); }
}
@media (max-width: 767px) and (min-width: 0px) {
	@supports (height: 100svh) {
		body .elementor-431 .elementor-element.elementor-element-8b9a370 { --min-height: max(440px, min(595px, calc(100svh - 73px))); --padding-top: clamp(28px, 8svh, 90px); --padding-bottom: clamp(24px, 5svh, 36px); }
		body .elementor-431 .elementor-element.elementor-element-26a54442 { --min-height: 0px; }
	}
}
/* Event page (desktop): the sticky poster column fits the screen, so the poster is never cut off */
@media (min-width: 1025px) {
	.single-product .elementor-element-391b502 .woocommerce-product-gallery__image img { width: auto !important; max-width: 100% !important; height: auto !important; max-height: max(280px, calc(100vh - 330px)) !important; margin: 0 auto !important; object-fit: contain; display: block; }
	.single-product .elementor-element-391b502 .flex-viewport { height: auto !important; }
	@supports (height: 100svh) {
		.single-product .elementor-element-391b502 .woocommerce-product-gallery__image img { max-height: max(280px, calc(100svh - 330px)) !important; }
	}
}
/* Phone menu: scrolls inside the screen on short or landscape phones */
@media (max-width: 1024px) {
	.elementor-location-header .e-n-menu:has(.e-n-menu-toggle[aria-expanded="true"]) .e-n-menu-wrapper { max-height: calc(100vh - 80px) !important; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	@supports (height: 100svh) {
		.elementor-location-header .e-n-menu:has(.e-n-menu-toggle[aria-expanded="true"]) .e-n-menu-wrapper { max-height: calc(100svh - 80px) !important; }
	}
}