/* LakDezign Ticket Booking – tickets (My Account, confirmation page, printable page) */
.ldtb-ticket-list { display: grid; gap: 22px; margin: 0; padding: 0; }
.ldtb-ticket {
	--tk-bg: #14141d;
	--tk-bg-2: #1d1d2a;
	--tk-text: #f6f4f0;
	--tk-muted: #a6a3b3;
	--tk-accent: #f12323;
	--tk-notch: #000;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 230px;
	color: var(--tk-text);
	background: var(--tk-bg);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
	font-family: inherit;
	max-width: 860px;
	page-break-inside: avoid;
	break-inside: avoid;
}
.ldtb-ticket::before { /* accent stripe */
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--tk-accent); z-index: 2;
}
.ldtb-ticket *, .ldtb-ticket *::before, .ldtb-ticket *::after { box-sizing: border-box; }

/* Main part */
.ldtb-ticket__main { position: relative; display: grid; grid-template-columns: 150px 1fr; min-width: 0; }
.ldtb-ticket__main:not(:has(.ldtb-ticket__art)) { grid-template-columns: 1fr; }
.ldtb-ticket__art { background-size: cover; background-position: center; min-height: 100%; position: relative; }
.ldtb-ticket__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 29, 0) 40%, var(--tk-bg) 100%); }
.ldtb-ticket__body { padding: 22px 24px 20px 26px; min-width: 0; }
.ldtb-ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ldtb-ticket__brand { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f87171; }
.ldtb-ticket__badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, .16); color: #4ade80; white-space: nowrap; }
.ldtb-ticket--checked_in .ldtb-ticket__badge { background: rgba(96, 165, 250, .16); color: #93c5fd; }
.ldtb-ticket--void .ldtb-ticket__badge { background: rgba(255, 255, 255, .1); color: var(--tk-muted); }
.ldtb-ticket__event { margin: 0 0 16px !important; font-size: 22px !important; line-height: 1.2 !important; font-weight: 800 !important; color: var(--tk-text) !important; letter-spacing: 0 !important; }
.ldtb-ticket__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.ldtb-ticket__grid > div { min-width: 0; }
.ldtb-ticket__grid .ldtb-ticket__wide { grid-column: 1 / -1; }
.ldtb-ticket__grid dt { margin: 0 0 2px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tk-muted); }
.ldtb-ticket__grid dd { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--tk-text); overflow-wrap: anywhere; }

/* Stub with perforation */
.ldtb-ticket__stub {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	padding: 22px 18px;
	background: var(--tk-bg-2);
	border-left: 2px dashed rgba(255, 255, 255, .16);
	text-align: center;
}
.ldtb-ticket__stub::before, .ldtb-ticket__stub::after { /* notches */
	content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--tk-notch);
}
.ldtb-ticket__stub::before { top: -12px; }
.ldtb-ticket__stub::after { bottom: -12px; }
.ldtb-ticket__qr { position: relative; width: 170px; max-width: 100%; aspect-ratio: 1; padding: 8px; border-radius: 12px; background: #fff; }
.ldtb-ticket__qr svg { display: block; width: 100%; height: 100%; }
.ldtb-ticket__qr.is-muted svg { opacity: .18; }
.ldtb-ticket__stamp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: #3b3b48; transform: rotate(-14deg); }
.ldtb-ticket__code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; font-weight: 700; letter-spacing: .16em; color: var(--tk-text); }
.ldtb-ticket__hint { font-size: 12px; color: var(--tk-muted); line-height: 1.35; }
.ldtb-ticket--void { opacity: .72; }

/* Notches take the colour of the panel behind the ticket */
.woocommerce-MyAccount-content .ldtb-ticket { --tk-notch: #111111; }

/* Actions and page parts */
.ldtb-ticket-actions { display: flex; justify-content: flex-end; margin: -12px 0 4px; max-width: 860px; }
.ldtb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; background: #f12323; color: #fff !important; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none !important; border: 0; cursor: pointer; }
.ldtb-btn:hover { background: #c91a1a; }
.ldtb-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .22); color: inherit !important; }
.ldtb-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.ldtb-mytickets__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.ldtb-mytickets__head h3 { margin: 0 !important; }
.ldtb-mytickets__head span { font-size: 13px; opacity: .7; }
.ldtb-mytickets__past { margin-top: 28px; }
.ldtb-mytickets__past summary { cursor: pointer; font-weight: 700; margin-bottom: 16px; }
.ldtb-mytickets__empty { padding: 34px 24px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .16); text-align: center; }
.ldtb-mytickets__empty h3 { margin: 0 0 6px !important; }
.ldtb-mytickets__empty p { margin: 0 0 16px; opacity: .75; }
.ldtb-thankyou { margin: 28px 0; }
.ldtb-thankyou__note { margin: 0 0 16px; opacity: .85; }

/* Phones: stub moves under the main part, perforation turns horizontal */
@media (max-width: 680px) {
	.ldtb-ticket { grid-template-columns: 1fr; }
	.ldtb-ticket__main { grid-template-columns: 1fr; }
	.ldtb-ticket__art { min-height: 120px; }
	.ldtb-ticket__art::after { background: linear-gradient(180deg, rgba(20, 20, 29, 0) 30%, var(--tk-bg) 100%); }
	.ldtb-ticket__body { padding: 18px 18px 18px 22px; }
	.ldtb-ticket__event { font-size: 20px !important; }
	.ldtb-ticket__stub { border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .16); }
	.ldtb-ticket__stub::before, .ldtb-ticket__stub::after { top: -13px; bottom: auto; }
	.ldtb-ticket__stub::before { left: -12px; }
	.ldtb-ticket__stub::after { left: auto; right: -12px; }
	.ldtb-ticket__qr { width: 200px; }
	.ldtb-ticket-actions { justify-content: stretch; }
	.ldtb-ticket-actions .ldtb-btn { width: 100%; }
}

/* Standalone printable page */
.ldtb-print-body { margin: 0; padding: 32px 18px 48px; background: #0b0b10; color: #f6f4f0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.ldtb-print-body .ldtb-ticket-list, .ldtb-print-head, .ldtb-print-foot { max-width: 860px; margin-left: auto; margin-right: auto; }
.ldtb-print-body .ldtb-ticket { --tk-notch: #0b0b10; }
.ldtb-print-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.ldtb-print-head__site { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f87171; }
.ldtb-print-head h1 { margin: 4px 0; font-size: 28px; }
.ldtb-print-head p { margin: 0; color: #a6a3b3; }
.ldtb-print-foot { margin-top: 26px; font-size: 13px; color: #a6a3b3; text-align: center; }

@media print {
	@page { margin: 12mm; }
	.ldtb-print-body { background: #fff; padding: 0; }
	.ldtb-print-btn { display: none !important; }
	.ldtb-print-head p, .ldtb-print-foot { color: #444; }
	.ldtb-print-head h1 { color: #111; }
	.ldtb-ticket { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; margin-bottom: 8mm; }
	.ldtb-print-body .ldtb-ticket { --tk-notch: #fff; }
}

/* ------------------------------------------------------------------
 * Live ticket protection
 * ---------------------------------------------------------------- */
.ldtb-ticket { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ldtb-ticket svg, .ldtb-ticket img { pointer-events: none; -webkit-user-drag: none; }
.ldtb-ticket__qr { overflow: hidden; }
.ldtb-ticket__qr::after { /* moving light: a screenshot freezes it */
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: linear-gradient(115deg, transparent 30%, rgba(241, 35, 35, .22) 45%, rgba(255, 255, 255, .35) 50%, rgba(241, 35, 35, .22) 55%, transparent 70%);
	background-size: 250% 100%; animation: ldtbSweep 2.6s linear infinite;
}
.ldtb-ticket__qr.is-muted::after { display: none; }
@keyframes ldtbSweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.ldtb-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, .12); color: #4ade80; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ldtb-live__clock { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.ldtb-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: ldtbPulseDot 1.4s ease-out infinite; }
@keyframes ldtbPulseDot { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.ldtb-shielded .ldtb-ticket__qr svg { filter: blur(14px); opacity: .25; }
.ldtb-shielded .ldtb-ticket__qr::before { content: "Tap here to show your ticket"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-size: 13px; font-weight: 700; color: #14141d; z-index: 2; }
@media print {
	.ldtb-ticket__qr svg { visibility: hidden !important; }
	.ldtb-ticket__qr::before { content: "Please show your live ticket on your phone"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-size: 12px; font-weight: 700; color: #14141d; }
	.ldtb-live { display: none !important; }
}

/* ------------------------------------------------------------------
 * My Account layout
 * ---------------------------------------------------------------- */
html body.woocommerce-account.logged-in .page-content > .woocommerce { display: grid !important; grid-template-columns: 270px minmax(0, 1fr) !important; gap: 28px !important; align-items: start !important; max-width: 1240px; margin: 0 auto; }
html body.woocommerce-account .woocommerce-MyAccount-navigation { grid-column: 1 !important; grid-row: 1 !important; float: none !important; width: auto !important; margin: 0 !important; position: sticky; top: 120px; padding: 12px !important; border-radius: 18px !important; background: #111118 !important; border: 1px solid rgba(255, 255, 255, .08) !important; box-shadow: none !important; }
html body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-direction: column; gap: 4px; }
html body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none !important; }
html body.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex !important; align-items: center; gap: 12px; width: auto !important; padding: 11px 14px !important; border-radius: 11px !important; background: transparent !important; color: #cfcdd8 !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.25 !important; text-decoration: none !important; transition: background .15s ease, color .15s ease; }
html body.woocommerce-account .woocommerce-MyAccount-navigation li a::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ldtb-icon) center / contain no-repeat; mask: var(--ldtb-icon) center / contain no-repeat; opacity: .9; }
html body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: rgba(255, 255, 255, .06) !important; color: #fff !important; }
html body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: #f12323 !important; color: #fff !important; }
html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid rgba(255, 255, 255, .08) !important; }
html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: #f87171 !important; }
.woocommerce-MyAccount-navigation-link--dashboard a { --ldtb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--my-tickets a { --ldtb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 2-2h14a2 2 0 0 0 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 0-2 2H5a2 2 0 0 0-2-2v-2a2 2 0 0 0 0-4z'/%3E%3Cpath d='M14 6v12' stroke-dasharray='2 2'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a { --ldtb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12l2 4v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6z'/%3E%3Cpath d='M4 6h16M9 11h6M9 15h6'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --ldtb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11a7 7 0 0 1 14 0c0 4.9-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods a { --ldtb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --ldtb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --ldtb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E"); }
html body.woocommerce-account .woocommerce-MyAccount-content { grid-column: 2 !important; grid-row: 1 !important; float: none !important; width: auto !important; min-width: 0; margin: 0 !important; padding: 28px !important; border-radius: 18px !important; background: #111118 !important; border: 1px solid rgba(255, 255, 255, .08) !important; }
html body.woocommerce-account .woocommerce-MyAccount-content .ldtb-ticket { --tk-notch: #111118; }

/* Dashboard */
.ldtb-dash__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ldtb-dash__title { margin: 0 0 4px !important; font-size: 26px !important; line-height: 1.2 !important; color: #fff !important; }
.ldtb-dash__sub { margin: 0; color: #a6a3b3; }
.ldtb-dash__logout { flex: none; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); color: #cfcdd8 !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.ldtb-dash__logout:hover { border-color: #f87171; color: #fff !important; }
.ldtb-dash__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.ldtb-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: #181822; border: 1px solid rgba(255, 255, 255, .07); text-decoration: none !important; transition: border-color .15s ease, transform .15s ease; min-width: 0; }
.ldtb-tile:hover { border-color: rgba(241, 35, 35, .55); transform: translateY(-2px); }
.ldtb-tile__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a6a3b3; }
.ldtb-tile__value { font-size: 30px; line-height: 1.1; color: #fff; }
.ldtb-tile__value--text { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ldtb-tile__link { margin-top: auto; font-size: 13px; font-weight: 600; color: #f87171; }
.ldtb-dash__section .ldtb-mytickets__head a { font-size: 13px; font-weight: 600; color: #f87171 !important; }

/* Tablet and phone: menu becomes a swipeable row of pills above the content */
@media (max-width: 991px) {
	html body.woocommerce-account.logged-in .page-content > .woocommerce { display: block !important; }
	html body.woocommerce-account .woocommerce-MyAccount-navigation { position: static; margin: 0 0 18px !important; padding: 8px !important; }
	html body.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	html body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	html body.woocommerce-account .woocommerce-MyAccount-navigation li a { white-space: nowrap; padding: 10px 14px !important; font-size: 14px !important; }
	html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0 !important; padding: 0 !important; border-top: 0 !important; }
	html body.woocommerce-account .woocommerce-MyAccount-content { padding: 20px !important; }
	.ldtb-dash__tiles { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	html body.woocommerce-account .woocommerce-MyAccount-content { padding: 14px !important; border-radius: 14px !important; }
	.ldtb-dash__head { flex-direction: column; }
	.ldtb-dash__title { font-size: 22px !important; }
}
