/* DamonGrass Tickets — event page
   Brand colours: change these to restyle the page. */
.dgt-event,
.dgt-modal {
	--dgt-ink: #0b0b0c;
	--dgt-text: #2a2a2e;
	--dgt-muted: #6b6b73;
	--dgt-line: #e7e7ea;
	--dgt-soft: #f6f6f7;
	--dgt-accent: #e8b931;        /* gold highlight */
	--dgt-cta-bg: #ffffff;        /* button on the dark hero */
	--dgt-cta-text: #0b0b0c;
	--dgt-radius: 16px;
	--dgt-body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.single-dgt_event { overflow-x: hidden; }
html.dgt-lock, html.dgt-lock body { overflow: hidden; }

.dgt-event { width: 100%; max-width: 100%; min-width: 0; flex: 1 1 100%; color: var(--dgt-text); font-family: var(--dgt-body-font); font-size: 16px; line-height: 1.6; }
.dgt-event *, .dgt-modal * { box-sizing: border-box; }
/* The theme sets everything in uppercase — keep that for headings only. */
.dgt-event p, .dgt-event li, .dgt-event span, .dgt-event a, .dgt-event button,
.dgt-modal p, .dgt-modal label, .dgt-modal span, .dgt-modal input, .dgt-modal button { text-transform: none; letter-spacing: normal; }

.dgt-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.dgt-i { flex-shrink: 0; }

/* ---------- Hero ---------- */
.dgt-hero {
	position: relative; isolation: isolate; overflow: hidden;
	/* Full-bleed even inside the theme's boxed container; --dgt-sbw is the scrollbar width (set in JS). */
	width: calc(100vw - var(--dgt-sbw, 0px)); margin-left: calc(50% - 50vw + var(--dgt-sbw, 0px) / 2);
	background: var(--dgt-ink); color: #fff;
	padding: 40px 0 64px;
}
.dgt-hero-bg {
	position: absolute; inset: -40px; z-index: -2;
	background-size: cover; background-position: center;
	filter: blur(38px) saturate(1.3); transform: scale(1.15); opacity: .85;
}
.dgt-hero-shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.72) 45%, rgba(8,8,10,.35) 100%),
		linear-gradient(0deg, rgba(8,8,10,.75) 0%, rgba(8,8,10,0) 40%);
}
.dgt-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.dgt-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.dgt-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.dgt-crumbs a:hover { color: #fff; text-decoration: underline; }
.dgt-crumbs span:last-child { max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dgt-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
}
.dgt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dgt-accent); box-shadow: 0 0 0 4px rgba(232,185,49,.25); }

.dgt-hero-title {
	margin: 18px 0 26px; color: #fff;
	font-size: clamp(40px, 6vw, 76px); line-height: .95; letter-spacing: .5px;
	text-wrap: balance;
}

.dgt-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.dgt-facts li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: rgba(255,255,255,.92); }
.dgt-facts .dgt-i { width: 22px; height: 22px; color: var(--dgt-accent); }

.dgt-note {
	margin: 0 0 26px; padding: 12px 16px; border-radius: 12px; font-size: 14px;
	background: rgba(255,255,255,.08); border-left: 3px solid var(--dgt-accent); color: rgba(255,255,255,.9);
}

.dgt-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dgt-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 17px 34px; border: 0; border-radius: 14px; cursor: pointer;
	background: var(--dgt-cta-bg); color: var(--dgt-cta-text);
	font-family: var(--dgt-body-font); font-size: 17px; font-weight: 700;
	box-shadow: 0 10px 30px rgba(0,0,0,.25);
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.dgt-cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.32); }
.dgt-cta:disabled { opacity: .55; cursor: not-allowed; }
.dgt-from { font-size: 18px; font-weight: 700; color: #fff; }

.dgt-mini-actions { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.dgt-mini-actions a, .dgt-mini-actions button {
	display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer;
	color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; text-decoration: none; font-family: var(--dgt-body-font);
}
.dgt-mini-actions a:hover, .dgt-mini-actions button:hover { color: #fff; }
.dgt-mini-actions .dgt-i { width: 18px; height: 18px; }

.dgt-poster { margin: 0; justify-self: end; width: 100%; max-width: 480px; }
.dgt-poster img {
	display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover;
	border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
	transform: rotate(1.2deg); transition: transform .4s ease;
}
.dgt-poster img:hover { transform: rotate(0) scale(1.01); }

/* ---------- Body ---------- */
.dgt-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 56px; padding-bottom: 40px; }
.dgt-section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--dgt-line); }
.dgt-section:last-child { border-bottom: 0; margin-bottom: 0; }
.dgt-h2 { margin: 0 0 18px; font-size: 32px; line-height: 1.1; color: var(--dgt-ink); }
.dgt-h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.1; color: var(--dgt-ink); }
.dgt-h2-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.dgt-prose { font-size: 17px; line-height: 1.75; }
.dgt-prose > *:first-child { margin-top: 0; }
.dgt-prose p { margin: 0 0 1.1em; }
.dgt-prose strong { color: var(--dgt-ink); }
.dgt-prose img { max-width: 100%; height: auto; border-radius: 12px; }

/* Ticket type cards */
.dgt-tier-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.dgt-tier-card {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
	padding: 20px; border: 1.5px solid var(--dgt-line); border-radius: var(--dgt-radius); background: #fff;
	cursor: pointer; font-family: var(--dgt-body-font); color: var(--dgt-text);
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.dgt-tier-card::before, .dgt-tier-card::after { /* ticket notches */
	content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px;
	border-radius: 50%; background: #fff; border: 1.5px solid var(--dgt-line);
}
.dgt-tier-card::before { left: -10px; clip-path: inset(0 0 0 50%); }
.dgt-tier-card::after { right: -10px; clip-path: inset(0 50% 0 0); }
.dgt-tier-card:hover:not(:disabled) { border-color: var(--dgt-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.07); }
.dgt-tier-card.is-off { opacity: .55; cursor: not-allowed; }
.dgt-tc-top { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; }
.dgt-tc-name { font-size: 15px; font-weight: 700; color: var(--dgt-ink); text-transform: uppercase !important; letter-spacing: .5px !important; }
.dgt-tc-state { font-size: 12px; font-weight: 700; color: var(--dgt-muted); }
.dgt-tc-state.is-low { color: #c2410c; }
.dgt-tc-price { font-size: 26px; font-weight: 800; color: var(--dgt-ink); letter-spacing: -.5px; }
.dgt-tc-desc { font-size: 14px; color: var(--dgt-muted); }
.dgt-tc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--dgt-ink); }
.dgt-tc-go .dgt-i { width: 16px; height: 16px; transition: transform .15s; }
.dgt-tier-card:hover .dgt-tc-go .dgt-i { transform: translateX(3px); }

/* Directions */
.dgt-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--dgt-ink); text-decoration: none; }
.dgt-link .dgt-i { width: 16px; height: 16px; }
.dgt-link:hover { text-decoration: underline; }
.dgt-address { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; color: var(--dgt-muted); }
.dgt-address .dgt-i { margin-top: 3px; }
.dgt-map { border-radius: var(--dgt-radius); overflow: hidden; border: 1px solid var(--dgt-line); aspect-ratio: 16 / 8; max-height: 380px; background: var(--dgt-soft); }
.dgt-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Sidebar */
.dgt-side { display: flex; flex-direction: column; gap: 18px; }
.dgt-card { padding: 22px; border: 1px solid var(--dgt-line); border-radius: var(--dgt-radius); background: #fff; }
.dgt-buy-card { position: sticky; top: 100px; box-shadow: 0 16px 40px rgba(0,0,0,.07); }
.dgt-buy-label { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase !important; letter-spacing: 1px !important; color: var(--dgt-muted); }
.dgt-buy-price { margin: 4px 0 2px; font-size: 28px; font-weight: 800; color: var(--dgt-ink); letter-spacing: -.5px; }
.dgt-buy-when { margin: 0 0 18px; color: var(--dgt-muted); font-size: 14px; }
.dgt-cta-block { width: 100%; background: var(--dgt-ink); color: #fff; box-shadow: none; }
.dgt-buy-safe { margin: 12px 0 0; font-size: 12px; color: var(--dgt-muted); text-align: center; }

.dgt-host { display: flex; align-items: center; gap: 14px; }
.dgt-host img, .dgt-host-initial { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.dgt-host-initial { display: grid; place-items: center; background: var(--dgt-ink); color: #fff; font-weight: 800; font-size: 20px; }
.dgt-host strong { display: block; color: var(--dgt-ink); }
.dgt-host div span { color: var(--dgt-muted); font-size: 14px; }
.dgt-socials { display: flex; gap: 10px; margin-top: 16px; }
.dgt-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dgt-line); color: var(--dgt-ink); transition: background .15s, color .15s; }
.dgt-socials a:hover { background: var(--dgt-ink); color: #fff; }
.dgt-socials .dgt-i { width: 18px; height: 18px; }

.dgt-share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dgt-share-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px;
	border: 1px solid var(--dgt-line); border-radius: 12px; background: #fff; cursor: pointer;
	color: var(--dgt-ink); font-size: 14px; font-weight: 600; text-decoration: none; font-family: var(--dgt-body-font);
}
.dgt-share-btn:last-child { grid-column: 1 / -1; }
.dgt-share-btn:hover { background: var(--dgt-soft); }
.dgt-share-btn .dgt-i { width: 18px; height: 18px; }

/* Other events */
.dgt-others { padding-top: 40px; padding-bottom: 80px; border-top: 1px solid var(--dgt-line); }
.dgt-other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.dgt-other { display: flex; flex-direction: column; border: 1px solid var(--dgt-line); border-radius: var(--dgt-radius); overflow: hidden; text-decoration: none; color: var(--dgt-text); background: #fff; transition: transform .15s, box-shadow .15s; }
.dgt-other:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.08); }
.dgt-other-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--dgt-soft); }
.dgt-other-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.dgt-other-body strong { font-size: 18px; color: var(--dgt-ink); line-height: 1.25; }
.dgt-other-date { font-size: 13px; color: var(--dgt-muted); }
.dgt-other-price { font-size: 14px; font-weight: 700; color: var(--dgt-ink); margin-top: 4px; }

/* ---------- Mobile sticky bar ---------- */
.dgt-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
	display: none; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
	border-top: 1px solid var(--dgt-line); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
	transform: translateY(110%); transition: transform .25s ease;
}
.dgt-sticky.is-on { transform: none; }
.dgt-sticky strong { display: block; font-size: 17px; color: var(--dgt-ink); }
.dgt-sticky span { font-size: 13px; color: var(--dgt-muted); }
.dgt-sticky .dgt-cta { padding: 13px 22px; font-size: 15px; background: var(--dgt-ink); color: #fff; box-shadow: none; }

/* ---------- Checkout modal ---------- */
.dgt-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; font-family: var(--dgt-body-font); }
.dgt-modal[hidden] { display: none; }
.dgt-modal-backdrop { position: absolute; inset: 0; background: rgba(8,8,10,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.dgt-modal-panel {
	position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); overflow-y: auto;
	background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
	opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .2s, transform .2s;
}
.dgt-modal.is-open .dgt-modal-backdrop { opacity: 1; }
.dgt-modal.is-open .dgt-modal-panel { opacity: 1; transform: none; }
.dgt-modal-close {
	position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center;
	width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--dgt-soft); color: var(--dgt-ink); cursor: pointer;
}
.dgt-modal-close:hover { background: var(--dgt-line); }
.dgt-modal .dgt-box { margin: 0; border: 0; box-shadow: none; max-width: none; padding: 28px; font-family: var(--dgt-body-font); }
.dgt-modal .dgt-title { padding-right: 44px; font-size: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.dgt-hero { padding: 24px 0 40px; }
	.dgt-hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.dgt-poster { order: -1; justify-self: center; max-width: 420px; }
	.dgt-poster img { transform: none; max-height: 520px; }
	.dgt-crumbs { display: none; }
	.dgt-hero-title { margin-top: 14px; }
	.dgt-body { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
	.dgt-buy-card { display: none; }
	.dgt-side { margin-bottom: 24px; }
	.dgt-sticky { display: flex; }
	.dgt-others { padding-bottom: 120px; }
}
@media (max-width: 600px) {
	.dgt-wrap { padding-left: 18px; padding-right: 18px; }
	.dgt-cta-row .dgt-cta { width: 100%; }
	.dgt-h2 { font-size: 28px; }
	.dgt-modal { padding: 0; align-items: flex-end; }
	.dgt-modal-panel { max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
	.dgt-modal .dgt-box { padding: 22px 18px 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.dgt-event *, .dgt-modal * { transition: none !important; }
	.dgt-poster img { transform: none; }
}
