/* ═══════════════════════════════════════════════════
   WHITELABEL SITE — Premium Design System
   CSS Variables configured via PHP in head.php
   ═══════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── GRAIN OVERLAY ─────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* ─── NAV ───────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: 36px; width: auto; opacity: .92; }
.nav-logo span {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: 0.02em;
}
.nav-back {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); transition: color .2s;
}
.nav-back:hover { color: var(--accent); }
.nav-back svg { width: 15px; height: 15px; }
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-cart {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 20px; background: var(--accent); color: #000;
  border-radius: var(--radius); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: opacity .2s, transform .2s; text-decoration: none;
}
.btn-cart:hover { opacity: .88; transform: translateY(-1px); }
.btn-cart svg { width: 15px; height: 15px; }
.cart-count {
  background: #000; color: var(--accent);
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}

/* ─── HERO (homepage) ───────────────────────────── */
.hero {
  position: relative; height: 520px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,0.3) 0%, rgba(8,8,8,0.92) 100%),
              linear-gradient(135deg, #1a1200 0%, #0a0a0a 60%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .07;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.15) 39px, rgba(255,255,255,.15) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.15) 39px, rgba(255,255,255,.15) 40px);
}
.hero-spotlight {
  position: absolute; top: -200px; right: 10%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 40px 56px; max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px); font-weight: 300;
  line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-meta {
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 24px;
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta svg { opacity: .6; width: 14px; height: 14px; }

/* ─── CALENDAR STRIP ────────────────────────────── */
.cal-strip {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 32px 40px;
}
.cal-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px;
}
.cal-days {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 4px;
}
.cal-days::-webkit-scrollbar { display: none; }
.cal-day {
  flex-shrink: 0; display: flex; flex-direction: column;
  align-items: center; gap: 4px; padding: 12px 16px;
  border-radius: 6px; border: 1px solid var(--border);
  cursor: pointer; transition: border-color .2s, background .2s;
  min-width: 64px;
}
.cal-day:hover { border-color: var(--accent); background: var(--accent-dim); }
.cal-day.active { background: var(--accent); border-color: var(--accent); }
.cal-day.active .cal-wd, .cal-day.active .cal-dm { color: #000; }
.cal-day.has-events::after {
  content: ''; width: 4px; height: 4px;
  border-radius: 50%; background: var(--accent);
}
.cal-day.active.has-events::after { background: #000; }
.cal-wd {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
}
.cal-dm {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; line-height: 1; color: var(--text);
}

/* ─── FILTERS ───────────────────────────────────── */
.filters-bar {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 0 40px; display: flex; align-items: center;
  gap: 0; overflow-x: auto; scrollbar-width: none;
}
.filters-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; padding: 18px 20px;
  font-size: 13px; font-weight: 500; font-family: var(--font-body);
  color: var(--text-muted); border: none; background: none;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.filters-sep { width: 1px; height: 32px; background: var(--border); margin: 0 8px; flex-shrink: 0; }
.filter-search {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 7px 14px; flex-shrink: 0;
}
.filter-search input {
  background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font-body); font-size: 13px; width: 160px;
}
.filter-search input::placeholder { color: var(--text-dim); }
.filter-search svg { color: var(--text-dim); width: 14px; height: 14px; }

/* ─── SECTIONS ──────────────────────────────────── */
.section { padding: 56px 40px; }
.section-header {
  display: flex; align-items: baseline;
  justify-content: space-between; margin-bottom: 32px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.section-label::after { content:''; flex: 1; height: 1px; background: var(--border); }
.see-all {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; transition: color .2s;
}
.see-all:hover { color: var(--accent); }
.see-all svg { width: 14px; height: 14px; }

/* ─── EVENT CARDS ───────────────────────────────── */
.events-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
}
.events-grid.featured { grid-template-columns: 1fr 1fr; gap: 24px; }
.events-grid.featured .card:first-child { grid-row: span 2; }
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s; cursor: pointer;
}
.card:hover { border-color: rgba(212,168,67,0.3); transform: translateY(-3px); }
.card:hover .card-img img { transform: scale(1.05); }
.card:hover .card-cta { background: var(--accent); color: #000; }
.card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg3);
}
.events-grid.featured .card:first-child .card-img {
  aspect-ratio: unset; flex: 1; min-height: 320px;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1600 0%, #0d0d0d 100%);
  display: flex; align-items: center; justify-content: center;
}
.card-img-placeholder svg { width: 48px; height: 48px; opacity: .12; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(8,8,8,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 3px;
  padding: 5px 10px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}
.card-badge.urgent { background: rgba(200,60,40,0.9); color: #fff; border-color: transparent; }
.card-sold-out {
  position: absolute; inset: 0;
  background: rgba(8,8,8,0.75);
  display: flex; align-items: center; justify-content: center;
}
.card-sold-out span {
  font-family: var(--font-display);
  font-size: 28px; font-style: italic; letter-spacing: 0.05em;
  color: var(--text-muted); border: 1px solid var(--border); padding: 8px 20px;
}
.card-body {
  padding: 20px; display: flex; flex-direction: column;
  gap: 10px; flex: 1;
}
.card-meta {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px;
}
.card-meta-sep { color: var(--text-dim); }
.card-title {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em;
}
.events-grid.featured .card:first-child .card-title { font-size: 26px; }
.card-title strong { font-weight: 600; }
.card-venue {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.card-venue svg { width: 12px; height: 12px; opacity: .5; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border);
}
.card-price { font-size: 13px; color: var(--text-muted); }
.card-price strong {
  display: block; font-family: var(--font-display);
  font-size: 22px; font-weight: 600; color: var(--text); line-height: 1;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border: 1px solid var(--accent);
  border-radius: var(--radius); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); transition: background .2s, color .2s;
}
.card-cta svg { width: 12px; height: 12px; }

/* ─── LIST VIEW ─────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 1px; }
.list-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  align-items: center; gap: 20px; padding: 16px 20px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; transition: border-color .2s, background .2s;
  cursor: pointer; text-decoration: none; color: var(--text);
}
.list-item:hover { border-color: rgba(212,168,67,0.3); background: rgba(212,168,67,0.03); }
.list-date { text-align: center; }
.list-date .day {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600; line-height: 1; color: var(--accent);
}
.list-date .month {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
.list-info { min-width: 0; }
.list-time { font-size: 11px; color: var(--text-muted); margin-bottom: 3px; }
.list-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 400;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-venue { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.list-right { text-align: right; }
.list-price { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.list-avail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.list-avail.low { color: #e05c44; }
.list-cta {
  display: inline-block; margin-top: 8px; padding: 6px 14px;
  background: var(--accent); color: #000; border-radius: var(--radius);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; transition: opacity .2s;
}
.list-cta:hover { opacity: .85; }

/* ─── EVENT HERO ────────────────────────────────── */
.event-hero {
  position: relative; min-height: 460px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.event-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,8,8,0.95) 45%, rgba(8,8,8,0.5) 100%),
              linear-gradient(to bottom, transparent 40%, rgba(8,8,8,1) 100%);
}
.event-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.event-hero-spotlight {
  position: absolute; top: -100px; right: 20%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.event-hero-content {
  position: relative; z-index: 2;
  padding: 56px 40px; max-width: 680px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted); margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-dim); }
.event-category {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.event-category::before { content:''; display:block; width:20px; height:1px; background:var(--accent); }
.event-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 10px;
}
.event-hero h1 strong { font-weight: 600; }
.event-hero h1 em { font-style: italic; color: var(--accent); }
.event-subtitle {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300; font-style: italic;
  color: var(--text-muted); margin-bottom: 28px;
}
.event-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 16px; font-size: 13px; color: var(--text-muted);
}
.chip svg { width: 13px; height: 13px; color: var(--accent); }
.chip strong { color: var(--text); font-weight: 500; }

/* ─── EVENT LAYOUT ──────────────────────────────── */
.event-layout { display: grid; grid-template-columns: 1fr 420px; gap: 0; }
.event-left { padding: 48px 40px; border-right: 1px solid var(--border); }
.event-desc {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 300; line-height: 1.7;
  color: var(--text-muted); margin-bottom: 40px;
}
.event-desc strong { color: var(--text); font-weight: 400; }

/* Artists */
.artists { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.artist-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 16px; transition: border-color .2s;
}
.artist-chip:hover { border-color: var(--accent); }
.artist-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2a1e00, #1a1200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--accent);
}
.artist-name { font-size: 14px; font-weight: 500; }
.artist-role { font-size: 11px; color: var(--text-muted); }

/* Info grid */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
.info-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: 16px 20px;
}
.info-card-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px;
}
.info-card-value { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.info-card-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Map */
.map-placeholder {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--text-muted); cursor: pointer; transition: border-color .2s;
}
.map-placeholder:hover { border-color: var(--accent); }
.map-placeholder svg { width: 28px; height: 28px; color: var(--accent); }
.map-placeholder span { font-size: 13px; }

/* ─── EVENT RIGHT PANEL (TICKET SELECTOR) ───────── */
.event-right {
  position: sticky; top: 68px;
  height: calc(100vh - 68px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  padding: 40px 32px; background: var(--bg2);
  display: flex; flex-direction: column; gap: 24px;
}
.ticket-panel-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 4px;
}
.ticket-panel-date {
  font-size: 13px; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.ticket-panel-date svg { width: 13px; height: 13px; }

/* Ticket types */
.ticket-type { border: 1px solid var(--border); border-radius: 8px; transition: border-color .25s; position: relative; }
.ticket-type:hover { border-color: rgba(212,168,67,0.35); }
.ticket-type.selected { border-color: var(--accent); }
.ticket-type-header {
  padding: 12px 16px; display: flex; align-items: flex-start;
  justify-content: space-between; cursor: pointer; gap: 10px;
}
.tt-name { font-size: 15px; font-weight: 600; margin-bottom: 3px; position: relative; }
.tt-comm-trigger { position: relative; display: inline-flex; }
.tt-comm-tooltip {
  display: none; position: absolute; left: 0; top: 100%; margin-top: 6px; z-index: 50;
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  color: var(--text); pointer-events: none;
}
.tt-comm-trigger:hover .tt-comm-tooltip { display: block; }
.tt-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.tt-avail { font-size: 11px; margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.tt-avail.low { color: #e05c44; }
.tt-avail.ok { color: #5cc87a; }
.tt-avail-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.tt-avail.low .tt-avail-dot { background: #e05c44; }
.tt-avail.ok .tt-avail-dot { background: #5cc87a; }
.tt-price-block { text-align: right; flex-shrink: 0; }
.tt-price-old { font-size: 12px; color: var(--text-dim); text-decoration: line-through; margin-bottom: 2px; }
.tt-price { font-family: var(--font-display); font-size: 24px; font-weight: 600; white-space: nowrap; }
.tt-currency { font-size: 14px; font-weight: 400; }
.ticket-type-footer {
  border-top: 1px solid var(--border); padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn {
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 18px; font-weight: 300;
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.qty-btn:hover { background: var(--bg3); color: var(--text); }
.qty-btn:disabled { opacity: .3; cursor: default; }
.qty-val {
  width: 40px; text-align: center; font-size: 15px; font-weight: 600;
  color: var(--text); border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); line-height: 36px;
}
.tt-subtotal { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--text-muted); }
.tt-subtotal.active { color: var(--accent); }

/* Voucher */
.voucher-row { display: flex; align-items: center; gap: 8px; }
.voucher-input {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px;
  font-family: var(--font-body); font-size: 13px; color: var(--text);
  outline: none; transition: border-color .2s;
}
.voucher-input::placeholder { color: var(--text-dim); }
.voucher-input:focus { border-color: var(--accent); }
.voucher-btn {
  padding: 10px 16px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); cursor: pointer; transition: color .2s, border-color .2s;
}
.voucher-btn:hover { color: var(--accent); border-color: var(--accent); }

/* Order summary */
.order-summary { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.order-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: none; }
.order-row.total {
  font-size: 15px; font-weight: 600; color: var(--text); background: var(--bg3);
}
.order-row.total .amount {
  font-family: var(--font-display); font-size: 22px; color: var(--accent);
}

/* CTA buttons */
.btn-primary {
  width: 100%; padding: 16px; background: var(--accent); color: #000;
  border: none; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: opacity .2s, transform .15s; text-decoration: none;
}
.btn-primary svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); color: #000; }
.btn-note {
  text-align: center; font-size: 11px; color: var(--text-dim);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-note svg { width: 11px; height: 11px; }
.notice {
  background: rgba(212,168,67,0.07); border: 1px solid rgba(212,168,67,0.2);
  border-radius: 6px; padding: 12px 16px; font-size: 12px;
  color: var(--text-muted); display: flex; gap: 10px; align-items: flex-start;
}
.notice svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ─── CHECKOUT ──────────────────────────────────── */
/* Steps */
.steps-bar {
  border-top: 1px solid var(--border); padding: 0 40px;
  display: flex; align-items: center; justify-content: center; gap: 0;
}
.step {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 0; font-size: 12px; font-weight: 500;
  color: var(--text-dim); position: relative;
}
.step + .step::before { content: '›'; color: var(--text-dim); margin-right: 20px; font-size: 16px; }
.step.done { color: var(--text-muted); }
.step.done .step-n { background: #5cc87a; border-color: #5cc87a; color: #000; }
.step.active { color: var(--text); }
.step.active .step-n { background: var(--accent); border-color: var(--accent); color: #000; }
.step-n {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--border); display: grid; place-items: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}

/* Page layout */
.page-wrap {
  max-width: 1080px; margin: 0 auto; padding: 48px 40px;
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}
.page-title {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 300; letter-spacing: -0.01em;
  margin-bottom: 32px; grid-column: 1;
}
.page-title em { font-style: italic; color: var(--accent); }

/* Cart blocks */
.cart-section { grid-column: 1; }
.block-label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.block-label::after { content:''; flex: 1; height: 1px; background: var(--border); }
.event-block { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.event-block-header {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--bg2); border-bottom: 1px solid var(--border);
}
.event-poster {
  width: 56px; height: 56px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(135deg, #1e1600, #0a0806);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.event-poster img { width: 100%; height: 100%; object-fit: cover; }
.event-info-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.25; margin-bottom: 5px; }
.event-info-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--text-muted); }
.event-info-meta span { display: flex; align-items: center; gap: 5px; }
.event-info-meta svg { width: 12px; height: 12px; }
.edit-link {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
  padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.edit-link:hover { color: var(--accent); border-color: var(--accent); }
.edit-link svg { width: 12px; height: 12px; }

/* Ticket rows */
.ticket-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 16px; border-bottom: 1px solid var(--border);
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row-left { min-width: 0; }
.ticket-row-type { font-size: 14px; font-weight: 500; }
.ticket-row-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ticket-row-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.qty-control-sm { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn-sm {
  width: 30px; height: 30px; background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 16px; font-weight: 300;
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.qty-btn-sm:hover { background: var(--bg3); color: var(--text); }
.qty-val-sm {
  width: 32px; text-align: center; font-size: 13px; font-weight: 600;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 30px;
}
.ticket-row-price { font-family: var(--font-display); font-size: 20px; font-weight: 600; min-width: 72px; text-align: right; }
.ticket-row-remove { background: none; border: none; cursor: pointer; color: var(--text-dim); padding: 4px; transition: color .2s; }
.ticket-row-remove:hover { color: #e05c44; }
.ticket-row-remove svg { width: 14px; height: 14px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.form-input {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; font-family: var(--font-body); font-size: 14px;
  color: var(--text); outline: none; transition: border-color .2s; width: 100%;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus { border-color: var(--accent); }
.form-note { font-size: 11px; color: var(--text-dim); }

/* Terms */
.terms-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--text-muted); cursor: pointer;
}
.terms-row a { color: var(--accent); }
.terms-check {
  width: 16px; height: 16px; border: 2px solid var(--border);
  border-radius: 3px; flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center; transition: background .15s, border-color .15s; cursor: pointer;
}
.terms-check.checked { background: var(--accent); border-color: var(--accent); }
.terms-check svg { width: 10px; height: 10px; color: #000; display: none; }
.terms-check.checked svg { display: block; }

/* Order panel (right column) */
.order-panel { grid-column: 2; grid-row: 1 / span 10; }
.order-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; position: sticky; top: 120px;
}
.order-card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-size: 20px; font-weight: 400;
}
.order-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 24px; font-size: 13px; border-bottom: 1px solid var(--border);
}
.order-line:last-of-type { border-bottom: none; }
.order-line-label { color: var(--text-muted); }
.order-line-qty {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; background: var(--bg3);
  border-radius: 3px; font-size: 10px; font-weight: 700;
  color: var(--text-muted); margin-right: 6px;
}
.order-line-amount { font-weight: 500; }
.order-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 24px; background: var(--bg3);
}
.order-total-label { font-size: 13px; font-weight: 600; }
.order-total-amount {
  font-family: var(--font-display); font-size: 32px; font-weight: 600;
  color: var(--accent); line-height: 1;
}
.order-total-currency { font-size: 16px; font-weight: 400; }

/* Checkout CTA */
.btn-checkout {
  width: 100%; padding: 17px; background: var(--accent); color: #000;
  border: none; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: opacity .2s, transform .15s; text-decoration: none;
}
.btn-checkout:hover { opacity: .9; transform: translateY(-1px); color: #000; }
.btn-checkout svg { width: 16px; height: 16px; }
.security-badges {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 14px; flex-wrap: wrap;
}
.badge { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-dim); }
.badge svg { width: 12px; height: 12px; }

/* ─── SUCCESS OVERLAY ───────────────────────────── */
.success-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(8,8,8,0.97);
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
}
.success-overlay.visible { display: flex; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(92,200,122,0.12); border: 1px solid rgba(92,200,122,0.35);
  display: grid; place-items: center; margin-bottom: 28px;
  animation: popIn .4s cubic-bezier(.34,1.56,.64,1) both;
}
.success-icon svg { width: 36px; height: 36px; color: #5cc87a; }
@keyframes popIn { from{opacity:0;transform:scale(0.5)} to{opacity:1;transform:scale(1)} }
.success-title { font-family: var(--font-display); font-size: 44px; font-weight: 300; margin-bottom: 10px; }
.success-title em { font-style: italic; color: #5cc87a; }
.success-sub { font-size: 15px; color: var(--text-muted); max-width: 420px; margin: 0 auto 32px; }

/* ─── FOOTER ────────────────────────────────────── */
footer {
  margin-top: 80px; border-top: 1px solid var(--border);
  padding: 40px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand { font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.footer-powered {
  font-size: 12px; color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
}
.footer-powered a { color: var(--accent); font-weight: 500; transition: opacity .2s; }
.footer-powered a:hover { opacity: .7; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

/* ─── COOKIE BANNER ─────────────────────────────── */
.cookie-banner {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 14px 40px; box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}

/* ─── ANIMATIONS ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp .7s cubic-bezier(.25,.46,.45,.94) both; }
.hero-eyebrow { animation-delay: .1s; }
.hero h1 { animation-delay: .2s; }
.hero-meta { animation-delay: .35s; }
.event-hero-content > * { animation: fadeUp .65s cubic-bezier(.25,.46,.45,.94) both; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { height: 400px; }
  .hero-content { padding: 0 20px 40px; }
  .section { padding: 40px 20px; }
  .filters-bar { padding: 0 20px; }
  .cal-strip { padding: 24px 20px; }
  footer { padding: 32px 20px; }
  .events-grid.featured { grid-template-columns: 1fr; }
  .events-grid.featured .card:first-child { grid-row: auto; }
  .events-grid.featured .card:first-child .card-img { aspect-ratio: 4/3; }
  .event-hero-content { padding: 40px 20px; }
  .event-layout { grid-template-columns: 1fr; }
  .event-left { padding: 32px 20px; border-right: none; }
  .event-right { position: static; height: auto; padding: 32px 20px; border-top: 1px solid var(--border); }
  .page-wrap { grid-template-columns: 1fr; padding: 32px 20px; }
  .order-panel { grid-column: 1; grid-row: auto; }
  .order-card { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .steps-bar { padding: 0 20px; }
  .cookie-banner { padding: 14px 20px; }
}
