/* =============================================
   EI Tickets – Core & Public CSS
   Brand tokens, shared components, and all
   public-facing page styles.
   Admin-specific styles live in admin.css.
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #221b36;
  --color-accent: #9810FA;
  --color-bg: #f8f8f8;
  --color-white: #ffffff;
  --color-border: #ddd;
  --color-error: #cc0023;
  --color-success: #27ae60;
  --color-text: #333;
  --color-muted: #666;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a { color: var(--color-accent); text-decoration: none; }
/*a:hover { text-decoration: underline; }*/

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font);
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn--primary { background: var(--color-accent); color: var(--color-btn-text, #ffffff); min-height: 50px; }
.btn--secondary { background: var(--color-primary); color: #fff; }
.btn--full { width: 100%; text-align: center; }
.btn--danger { background: var(--color-error); color: #fff; }
.btn-link {
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  font-family: var(--font);
}
.btn-link--muted {
  color: var(--color-muted);
  font-size: 0.8rem;
}
.btn-link:hover { text-decoration: underline; }

/* ---- My account ---- */
/* ── Account layout ────────────────────────────────────────────────────────── */

.account-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
}

.account-content {
  flex: 1;
  min-width: 0;
}

.account-content h1 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.account-order-count {
  color: #888;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.account-empty {
  color: #666;
}

/* ── Account nav — desktop ─────────────────────────────────────────────────── */

.account-nav--desktop {
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #ede8f7;
  border-radius: 12px;
  padding: 8px;
}

.account-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #221b36;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.account-nav__link .material-icons-outlined {
  font-size: 1.1rem;
  opacity: 0.6;
}

.account-nav__link.active {
  background: #f3f0ff;
  color: #8052FF;
  font-weight: 600;
}

.account-nav__link.active .material-icons-outlined {
  opacity: 1;
  color: #8052FF;
}

.account-nav__link:hover:not(.active) {
  background: #faf8ff;
}

@media (min-width: 768px) {
  .account-nav--desktop {
    display: flex;
  }
  .account-nav--mobile {
    display: none;
  }
}

/* ── Account nav — mobile dropdown ────────────────────────────────────────── */

.account-nav--mobile {
  margin-bottom: 24px;
  position: relative;
}

.account-nav__mobile-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #fff;
  border: 1px solid #ede8f7;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #221b36;
  cursor: pointer;
  font-weight: 600;
}

.account-nav__mobile-toggle .material-icons-outlined:first-child {
  color: #8052FF;
}

.account-nav__chevron {
  margin-left: auto;
  transition: transform 0.2s;
}

.account-nav__mobile-menu {
  list-style: none;
  padding: 8px;
  margin: 4px 0 0;
  background: #fff;
  border: 1px solid #ede8f7;
  border-radius: 10px;
}

.account-nav__mobile-menu li + li {
  border-top: 1px solid #f5f2fd;
}

/* ── Order cards ───────────────────────────────────────────────────────────── */

.account-order-card {
  background: #fff;
  border: 1px solid #ede8f7;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

.account-order-card__header {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #f0edf8;
}

.account-order-card__img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.account-order-card__info {
  flex: 1;
  min-width: 0;
}

.account-order-card__event {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.account-order-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #555;
  margin: 2px 0;
}

.account-order-card__meta .material-icons-outlined {
  font-size: 0.95rem;
  color: #8052FF;
  flex-shrink: 0;
}

.account-order-card__ref {
  font-size: 0.78rem;
  color: #aaa;
  word-break: break-all;
}

/* ── Individual tickets ────────────────────────────────────────────────────── */

.account-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.account-ticket--used {
  opacity: 0.6;
}

.account-ticket__divider {
  border-top: 1px dashed #e0d9f0;
  margin: 0 16px;
}

.account-ticket__info {
  flex: 1;
}

.account-ticket__num {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 6px;
}

.account-ticket__detail {
  font-size: 0.875rem;
  color: #444;
  margin: 2px 0;
}

.account-ticket__used-badge {
  display: inline-block;
  margin-top: 8px;
  background: #f0edf8;
  color: #8052FF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
}

.account-ticket__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.account-ticket__qr {
  width: 130px;
  height: 130px;
  border: 1px solid #ede8f7;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.account-ticket__scan-label {
  font-size: 0.75rem;
  color: #aaa;
  margin: 0;
}

/* Mobile ticket layout — stack info above QR */
@media (max-width: 767px) {
  .account-layout {
    display: block;
    padding: 20px 0;
  }

  .account-ticket {
    flex-direction: column;
    align-items: stretch;
  }

  .account-ticket__qr-wrap {
    align-items: center;
  }

  .account-ticket__qr {
    width: 180px;
    height: 180px;
  }
}

/* ---- Alerts ---- */
.alert {
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.alert--error { background: #fdecea; color: var(--color-error); border: 1px solid #f5c6cb; }
.alert--success { background: #eafaf1; color: var(--color-success); border: 1px solid #b7dfcc; }
.alert--info { background: #eaf4fb; color: #2471a3; border: 1px solid #aed6f1; }

.error-details {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted, #888);
}
.error-details summary {
  cursor: pointer;
  color: var(--muted, #888);
  font-size: 0.75rem;
}
.error-details code {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  background: #f5f5f5;
  padding: 0.75rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  font-size: 0.7rem;
}
.payment-error {
  background: color-mix(in srgb, var(--color-error) 8%, white);
  border: 1px solid color-mix(in srgb, var(--color-error) 30%, white);
  border-left: 4px solid var(--color-error);
  color: var(--color-error);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.payment-error::before {
  content: "error";
  font-family: 'Material Icons Outlined';
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.3;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  background: #fff;
  min-height: 50px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}
.form-group textarea { min-height: 120px; resize: vertical; field-sizing: content; }
.form-hint { font-size: 0.82rem; color: var(--color-muted); margin-top: 0.25rem; }

/* Floating label fields */
.form-group--float {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-group--float input {
  width: 100%;
  padding: 1.6rem 1rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group--float input:focus {
  outline: none;
  border-color: var(--color-primary, #6c2bd9);
}
.form-group--float label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #999;
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
  /* account for hint text pushing the field taller */
  top: 1.9rem;
}
.form-group--float input:focus + label,
.form-group--float input:not(:placeholder-shown) + label {
  top: 1rem;
  font-size: 0.65rem;
  color: var(--color-primary, #6c2bd9);
  text-transform: uppercase;
}
.form-group--float .form-hint {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #888;
}
/* Password fields with show/hide toggle need right padding */
.form-group--float input[type="password"] {
  padding-right: 2.75rem;
}

.form-group input[type="checkbox"] {
  width: auto;
  height: auto;
}

/* ---- Public Header ---- */
.site-header {
  background: var(--color-primary);
  padding: 1rem 0;
}
.checkout .site-header {
  padding: 1.68rem 0;
}
.site-header__brand {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}
.site-main { padding: 1rem 0; }
/* ============================================================
   Site Footer — structured multi-column layout
   ============================================================ */
.site-footer {
  margin-top: 3rem;
  background: var(--color-primary);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-main { padding: 3rem 0 2.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand__logo {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}
.footer-brand__tagline {
  color: rgba(255,255,255,0.5);
  margin: 0;
  line-height: 1.5;
  max-width: 240px;
}

.footer-col__title {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.875rem;
}
.footer-col__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col__links a,
.footer-col__btn {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col__links a:hover,
.footer-col__btn:hover { color: #fff; }
.footer-col__btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}
.footer-bottom__legal {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
.footer-bottom__copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  padding: 1rem 0;
  flex: 1;
}

/* ── Site header layout ───────────────────────────────────────────────────── */

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto; /* pushes to right column */
  flex-shrink: 0;
}

.site-header__icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background 0.15s;
}

.site-header__icon-btn:hover {
  background: rgba(255,255,255,0.12);
}

/* Desktop: inline search bar in header */
.site-header__search {
  max-width: 550px;
  width: 100%;
  justify-self: center;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0);
  border-radius: 8px;
  padding: 0 0.75rem;
  gap: 0.5rem;
  transition: background 0.15s, border-color 0.15s;
}

.site-header__search:focus-within {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,1);
}

.site-header__search-icon {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.site-header__search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.55rem 0;
}

.site-header__search-input::placeholder {
  color: rgba(255,255,255,0.55);
}

/* Mobile: search toggle button shows, inline bar hides */
.site-header__search-toggle {
  display: none;
}

/* Mobile search bar (below header) */
.site-header__mobile-search {
  background: var(--color-primary);
  padding: 0.5rem 1rem 0rem;
}

.site-header__mobile-search form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0 0.75rem;
  gap: 0.5rem;
}

.site-header__mobile-search .material-icons-outlined {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.site-header__mobile-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  padding: 0.65rem 0;
}

.site-header__mobile-search input::placeholder {
  color: rgba(255,255,255,0.55);
}

@media (max-width: 640px) {
  .site-header__inner {
    gap: 0;
  }
  .site-header__search {
    display: none;
  }
  .site-header__search-toggle {
    display: flex;
  }
}

.site-header__search-clear {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}

.site-header__search-clear .material-icons-outlined {
  font-size: 1.1rem;
}

.site-header__search-clear:hover {
  color: #fff;
}

.site-header__search-input:not(:placeholder-shown) ~ .site-header__search-clear {
  display: flex;
}

/* ── Nav drawer ───────────────────────────────────────────────────────────── */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s;
}

.nav-overlay--visible {
  display: block;
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}

.nav-drawer--open {
  transform: translateX(0);
}

.nav-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin: 0 1rem 0.5rem auto;
  transition: background 0.15s;
}

.nav-drawer__close:hover {
  background: var(--color-bg, #f5f5f7);
}

.nav-drawer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: var(--color-heading, #0f172a);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  justify-content: left;
}

.nav-drawer__link:hover {
  background: var(--color-bg, #f5f5f7);
  color: var(--color-primary, #6c2bd9);
}

.nav-drawer__link .material-icons-outlined {
  font-size: 1.25rem;
  color: var(--color-primary, #6c2bd9);
}

/* Prevent body scroll when drawer is open */
body.nav-open {
  overflow: hidden;
}

.account-nav__link--logout {
  color: #e53935;
}
.account-nav__link--logout .material-icons-outlined {
  color: #e53935;
  opacity: 1;
}
.account-nav__link--logout:hover {
  background: #fff5f5;
  color: #e53935;
}

.nav-drawer__link--danger {
  color: #e53935;
  border-top: 1px solid #f0edf8;
  margin-top: auto;
}
.nav-drawer__link--danger .material-icons-outlined {
  color: #e53935;
}
.nav-drawer__link--danger:hover {
  background: #fff5f5;
}

.nav-drawer {
  display: flex;
  flex-direction: column;
}

.nav-drawer__links {
  flex: 1;
  overflow-y: auto;
}

/* ── Category tag strip ───────────────────────────────────────────────────── */

.category-strip {
  background: var(--color-white, #fff);
  padding: 0.85rem 0;
}

.category-strip__inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  justify-content: center; /* ← add this */
  flex-wrap: wrap;          /* ← add this */
}

@media (max-width: 768px) {
  .category-strip__inner {
    flex-wrap: nowrap;  /* carousel on mobile */
    justify-content: flex-start;
  }
}

.category-strip__inner::-webkit-scrollbar {
  display: none;
}

.category-strip--inline {
  background: none;
  border-bottom: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.category-strip--inline .category-strip__inner {
  padding: 0;
  justify-content: flex-start;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.35rem 1rem;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--color-text, #1e293b);
  text-decoration: none;
  background: #fff;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.category-tag:hover {
  border-color: var(--color-primary, #6c2bd9);
  color: var(--color-primary, #6c2bd9);
  background: color-mix(in srgb, var(--color-primary, #6c2bd9) 6%, white);
}

.category-tag--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.category-tag--active:hover {
  background: var(--color-primary);
  color: #fff;
  opacity: 0.9;
}

/* ---- Event List ---- */

.events-page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.events-page-header__clear,
.events-page-header__back {
  font-size: 0.9rem;
  white-space: nowrap;
}

.events-page-header__clear { color: var(--color-primary); }
.events-page-header__back  { color: var(--color-muted); }

@media (max-width: 480px) {
  .events-page-header { flex-direction: column; align-items: flex-start; }
}

.event-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.event-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s;
}
.event-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); text-decoration: none; }
.event-card__date {
  min-width: 60px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  line-height: 1.2;
}
.event-card__body { flex: 1; }
.event-card__name { font-size: 1.2rem; margin-bottom: 0.2rem; }
.event-card__venue { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 0.3rem; }
.event-card__desc { color: var(--color-muted); font-size: 0.9rem; }
.event-card__arrow { color: var(--color-accent); font-size: 1.3rem; }

/* ---- Event Detail ---- */
.back-link { display: none; margin-bottom: 0.5rem; color: var(--color-muted); font-size: 0.9rem; }
.event-page__header { margin-bottom: 1rem; }
.event-page__header h1 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.event-detail__meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--color-muted); font-size: 0.95rem; }
@media (min-width: 768px) {
  .event-detail__meta { margin-bottom: 1rem; }
}
.event-detail__meta span { display: flex; align-items: center; gap: 0.35rem; }
.event-detail__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 8rem;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.event-detail__desc.expanded { max-height: 999rem; }

.show-more-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  display: inline;
}
.show-more-btn:hover {
  text-decoration: underline;
}

/* About this event card */
.event-about-card {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.event-about-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--color-text); }

/* Share / category tags */
.event-page__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 500;
}
.event-tag--interactive { cursor: pointer; }
.event-tag--interactive:hover { background: rgba(128,82,255,0.06); }
.event-tag .material-icons-outlined { font-size: 1rem; }

/* Tags: desktop shows below image, mobile shows in normal flow order */
.event-page__tags--desktop { display: none; }
@media (min-width: 768px) {
  .event-page__tags--desktop { display: flex; margin-bottom: 1rem; }
  .event-mobile-block--tags-mobile { display: none; }
}

/* Map address block below iframe */
.event-map__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}
.event-map__address strong { display: block; }

/* ---- Event Page Layout ---- */
.event-page__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.event-page__left { width: 100%; }
.event-page__right { width: 100%; }
.event-map { 
  margin-top: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.event-map h2 { margin-bottom: 1rem; font-size: 1.1rem; }

/* ---- Mobile event page ordering & overrides ---- */
@media (max-width: 767px) {
  /* H1 size */
  .event-page__header h1 {
    font-size: 2rem;
    line-height: 1.4;
  }

  /* Hide icons in meta on mobile */
  .event-detail__meta .event-meta__icon {
    display: none;
  }

  /* Flatten columns into a single flex column with ordering */
  .event-page__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  /* display:contents makes column wrappers transparent to flex,
     so their children and the header all order together */
  .event-page__commerce,
  .event-page__commerce-sticky,
  .event-page__media {
    display: contents;
  }

  /* Mobile order: image, title, location, date, tickets, about, map, tags */
  .event-mobile-block--image     { order: 1; }
  .event-mobile-block--title     { order: 2; }
  .event-mobile-block--tickets   { order: 3; }
  .event-mobile-block--about     { order: 4; }
  .event-mobile-block--map       { order: 5; }
  .event-mobile-block--tags      { order: 6; }
  .event-mobile-block--lineup    { order: 7; }
  .event-mobile-block--organiser { order: 8; }

  /* On mobile, split location above date within the header */
  .event-detail__meta {
    flex-direction: column;
    gap: 0.25rem;
  }
  .event-detail__meta-location { order: 1; }
  .event-detail__meta-date     { order: 2; }

  /* Header participates in body flex ordering */
  .event-page__header {
    margin-bottom: 0;
  }

  /* Remove margins on card elements — let flex gap handle spacing */
  .event-about-card,
  .event-map,
  .event-page__tags {
    margin: 0;
  }
  .event-hero {
    display: block;
    margin: 0;
  }

  /* Sticky Get Tickets panel — white backing card */
  .sticky-cta-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-surface, #fff);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  }
  .sticky-cta-panel #get-tickets-btn {
    border-radius: var(--radius);
    width: 100%;
    margin: 0;
    padding: 0.9rem 2rem;
  }
  /* Let taps fall through disabled button to the panel's click listener */
  .sticky-cta-panel #get-tickets-btn:disabled {
    pointer-events: none;
  }
  /* When anchored, revert to inline */
  .sticky-cta-panel.is-anchored {
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  /* Add bottom padding to page so sticky panel doesn't obscure content */
  .event-page {
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .back-link { display: inline-block; }
  /* Header sits above the two-column body — row-gap:0 prevents the
     flex gap creating extra space between the header row and columns */
  .event-page__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 2.5rem;
    row-gap: 0;
  }
  .event-page__header {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
  }
  .event-page__media {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }
  .event-page__commerce {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .event-page__commerce-sticky {
    position: sticky;
    top: 1.5rem;
  }
}

/* ============================================================
   EVENT PAGE — Lineup & Event by cards
============================================================ */

.event-people-card {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .event-people-card {
    margin-bottom: 1.25rem;
  }
}

.event-people-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.event-people-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.event-people-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
}

.event-people-item:first-child { padding-top: 0; }
.event-people-item:last-child { border-bottom: none; padding-bottom: 0; }

.event-people-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

a.event-people-link:hover {
  text-decoration: none;
}

.event-people-link:hover .event-people-name {
  color: var(--color-accent, #7c3aed);
}

.event-people-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg, #f5f5f7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-people-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-people-avatar-placeholder {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-muted, #999);
}

.event-people-name {
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.event-people-socials {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.event-people-social-link {
  color: var(--color-muted, #aaa);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.event-people-social-link:hover {
  color: var(--color-text, #111);
}

/* ── Whitelabel header ─────────────────────────────────────────── */
.wl-header {
  background: var(--color-surface, #fff);
  border-bottom: 1px solid var(--color-border, #e5e5e5);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.5rem 0;
}
.wl-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
}
.wl-header__brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.wl-header__logo {
  height: 2.25rem;
  width: auto;
  display: block;
}
.wl-header__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text, #111);
}
.wl-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.wl-header__nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius, 6px);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text, #111);
  transition: background 0.15s;
}
.wl-header__nav-link:hover {
  background: var(--color-border, #f0f0f0);
}
.wl-powered {
  font-size: 0.7rem;
  color: var(--color-muted, #999);
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;
}
.wl-powered:hover {
  color: var(--color-accent, #6c47ff);
}

/* ── Embed / iframe mode ─────────────────────────────────────────────────── */

body.ei-embed {
  padding: 0 !important;
  margin: 0 !important;
}

body.ei-embed .event-page {
  padding: 0;
  max-width: 100%;
}

/* Hide elements that don't belong in the embed widget */
body.ei-embed .event-mobile-block--about,
body.ei-embed .event-mobile-block--tags,
body.ei-embed .event-mobile-block--tags-mobile,
body.ei-embed .event-page__tags,
body.ei-embed .event-mobile-block--lineup,
body.ei-embed .event-mobile-block--organiser,
body.ei-embed .event-mobile-block--map {
  display: none !important;
}

/* ── Embed desktop: two-column grid ── */
@media (min-width: 601px) {
  body.ei-embed .event-page__body {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto 1fr !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    min-height: 100vh;
  }

  body.ei-embed .embed-compact-header {
    display: none;
  }

  body.ei-embed .event-page__header {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    padding: 1.5rem 0 1.25rem;
    margin-bottom: 0;
  }

  body.ei-embed .event-page__header h1 {
    font-size: 1.6rem;
  }

  /* Override the display:contents that the mobile media query sets */
  body.ei-embed .event-page__media {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0;
    overflow: hidden;
  }

  body.ei-embed .event-page__commerce {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0;
    overflow-y: auto;
    max-height: calc(100vh - 5rem);
  }

  body.ei-embed .event-page__commerce-sticky {
    position: static;
    padding: 1.5rem 1.75rem;
  }

  /* Image fills the full left column height */
  body.ei-embed .event-page__media .event-hero,
  body.ei-embed .event-page__media .event-hero-wrap,
  body.ei-embed .event-page__media .event-hero-wrap__img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius, 0);
    display: block;
    margin: 0;
  }

  /* Crop mode: fill the frame */
  body.ei-embed .event-page__media .event-hero {
    object-fit: cover;
  }
  body.ei-embed .event-page__media .event-hero-wrap:not(.event-hero-wrap--contained) .event-hero-wrap__img {
    object-fit: cover;
  }

  /* Contained mode: show full image with blurred bg */
  body.ei-embed .event-page__media .event-hero-wrap--contained .event-hero-wrap__img {
    object-fit: contain;
  }

  body.ei-embed .event-page__media .event-hero-wrap {
    position: relative;
    background: #000;
  }

  body.ei-embed .event-page__media .event-hero-wrap__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.5);
    transform: scale(1.1);
  }
}

/* ── Embed mobile: compact strip header + tickets only ── */
@media (max-width: 600px) {
  body.ei-embed .event-page__body {
    display: block !important;
  }

  /* Hide the full title header — replaced by compact strip below */
  body.ei-embed .event-page__header {
    display: none !important;
  }

  /* Show image column but only as the compact strip thumbnail */
  body.ei-embed .event-page__media {
    display: block !important;
  }

  body.ei-embed .event-page__media .event-mobile-block--image {
    display: none !important;
  }

  body.ei-embed .event-page__commerce {
    display: block !important;
  }

  body.ei-embed .event-page__commerce-sticky {
    position: static;
    padding: 0;
  }

  /* Compact strip: thumbnail + title/meta inline */
  body.ei-embed .embed-compact-header {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-border, #eee);
    background: var(--color-surface, #fff);
    overflow: hidden;
  }

  /* Standard thumbnail (crop mode) */
  body.ei-embed .embed-compact-header__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
    display: block;
  }

  /* Contained mode: full-width banner above info row */
  body.ei-embed .embed-compact-header:has(.embed-compact-header__img-wrap--contained) {
    flex-direction: column;
    align-items: stretch;
  }

  body.ei-embed .embed-compact-header__img-wrap--contained {
    width: 100%;
    min-height: 130px;
    max-height: 180px;
    position: relative;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
  }

  body.ei-embed .embed-compact-header__img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.4);
    transform: scale(1.1);
  }

  body.ei-embed .embed-compact-header__img--contained {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    max-height: 180px;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
  }

  body.ei-embed .embed-compact-header__info {
    min-width: 0;
    padding: 0.6rem 0.875rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.ei-embed .embed-compact-header__name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text, #1a1a2e);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
  }

  body.ei-embed .embed-compact-header__meta {
    font-size: 0.78rem;
    color: var(--color-muted, #666);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  body.ei-embed .embed-compact-header__meta-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  body.ei-embed .embed-compact-header__meta-row .material-icons-outlined {
    font-size: 0.85rem;
    color: var(--color-accent);
    flex-shrink: 0;
  }

  body.ei-embed .event-mobile-block--tickets {
    padding: 1rem 0;
  }

  body.ei-embed .checkout-layout {
    padding-bottom: env(safe-area-inset-bottom, 1.5rem);
    margin-bottom: 2rem;
  }
}

/* Contained image in embed compact header — full-width banner */
.embed-compact-header__img-wrap--contained {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  min-height: 140px;
}
.embed-compact-header__img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.4);
  transform: scale(1.1);
}
.embed-compact-header__img--contained {
  position: relative;
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 220px;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain !important;
  border-radius: 0;
}

/* ── Whitelabel overrides ────────────────────────────────────────────────── */
body.wl .event-mobile-block--map {
  display: none !important;
}

/* ── Whitelabel dark mode ────────────────────────────────────────────────── */
body.wl-dark .events-list__card,
body.wl-dark .checkout-card,
body.wl-dark .checkout-summary,
body.wl-dark .ticket-row,
body.wl-dark .confirmation-card,
body.wl-dark .modal__box {
  background: var(--color-surface, #1a1a1a) !important;
  border-color: var(--color-border, #2e2e2e) !important;
  color: var(--color-text, #f0f0f0) !important;
}
body.wl-dark .checkout-summary h2,
body.wl-dark .csm-label,
body.wl-dark .checkout-summary .summary-event,
body.wl-dark .checkout-summary .summary-line,
body.wl-dark .checkout-summary .summary-total,
body.wl-dark .checkout-summary .summary-meta-row,
body.wl-dark .checkout-card h2,
body.wl-dark .checkout-card__header,
body.wl-dark .csm-event-card__name,
body.wl-dark .csm-event-card__meta,
body.wl-dark .confirmation-card h2,
body.wl-dark .confirmation-card__event-name,
body.wl-dark .confirmation-card__meta-row,
body.wl-dark .confirmation-line,
body.wl-dark .confirmation-total,
body.wl-dark .confirmation-ref,
body.wl-dark .ticket-row .ticket-name,
body.wl-dark .ticket-row .ticket-price,
body.wl-dark .ticket-row .ticket-fee {
  color: var(--color-text, #f0f0f0) !important;
}
body.wl-dark .checkout-summary hr,
body.wl-dark .confirmation-divider {
  border-color: var(--color-border, #2e2e2e) !important;
}
body.wl-dark input[type="text"],
body.wl-dark input[type="email"],
body.wl-dark input[type="tel"] {
  background: #ffffff !important;
  color: #111111 !important;
}
body.wl-dark .confirmation-ref__input {
  background: var(--color-input-bg, #1f1f1f) !important;
  color: var(--color-text, #f0f0f0) !important;
  border-color: var(--color-border, #2e2e2e) !important;
}
body.wl-dark .ticket-row select {
  background: var(--color-input-bg, #1f1f1f) !important;
  color: var(--color-text, #f0f0f0) !important;
  border-color: var(--color-border, #2e2e2e) !important;
}
@media (max-width: 768px) {
  body.wl-dark .checkout-summary-mobile--boxed {
    background: var(--color-surface, #1a1a1a) !important;
  }
  body.wl-dark .checkout-card {
    background: var(--color-bg, #1f1f1f) !important;
  }
}

/* ── Embed dark mode: checkout & confirmation ── */
body.ei-embed .checkout-card {
  background: var(--color-surface, #fff) !important;
  border-color: var(--color-border, #e5e5e5) !important;
  color: var(--color-text, inherit) !important;
}
body.ei-embed .checkout-card h2,
body.ei-embed .checkout-card__header {
  color: var(--color-text, inherit) !important;
}
body.ei-embed .checkout-summary {
  background: var(--color-surface, #fff) !important;
  border-color: var(--color-border, #e5e5e5) !important;
  color: var(--color-text, inherit) !important;
}
body.ei-embed .checkout-summary h2, body.ei-embed .csm-label,
body.ei-embed .checkout-summary .summary-event,
body.ei-embed .checkout-summary .summary-line,
body.ei-embed .checkout-summary .summary-total,
body.ei-embed .checkout-summary .summary-meta-row {
  color: var(--color-text, inherit) !important;
}
body.ei-embed .checkout-summary hr {
  border-color: var(--color-border, #e5e5e5) !important;
}
body.ei-embed .csm-event-card {
  background: var(--color-surface, #fff) !important;
  border-color: var(--color-border, #e5e5e5) !important;
}
body.ei-embed .csm-event-card__name,
body.ei-embed .csm-event-card__meta {
  color: var(--color-text, inherit) !important;
}
body.ei-embed input[type="text"],
body.ei-embed input[type="email"],
body.ei-embed input[type="tel"] {
  background: #ffffff !important;
  color: #111111 !important;
}
body.ei-embed .confirmation-card {
  background: var(--color-surface, #fff) !important;
  border-color: var(--color-border, #e5e5e5) !important;
  color: var(--color-text, inherit) !important;
}
body.ei-embed .confirmation-card h2 {
  color: var(--color-text, inherit) !important;
}
body.ei-embed .confirmation-card__event-name,
body.ei-embed .confirmation-card__meta-row,
body.ei-embed .confirmation-line,
body.ei-embed .confirmation-total,
body.ei-embed .confirmation-ref {
  color: var(--color-text, inherit) !important;
}
body.ei-embed .confirmation-divider {
  border-color: var(--color-border, #e5e5e5) !important;
}
body.ei-embed .confirmation-ref__input {
  background: var(--color-input-bg, #fff) !important;
  color: var(--color-text, inherit) !important;
  border-color: var(--color-border, #e5e5e5) !important;
}
body.ei-embed .modal__box {
  background: var(--color-surface, #fff) !important;
  color: var(--color-text, inherit) !important;
}
@media (max-width: 768px) {
  body.ei-embed .checkout-summary-mobile--boxed {
    background: var(--color-surface, #fff) !important;
  }
  body.ei-embed .checkout-card {
    background: var(--color-bg, #fff) !important;
  }
}

body.ei-embed .ticket-row {
  background: var(--color-surface, #fff) !important;
  border-color: var(--color-border, #e5e5e5) !important;
  color: var(--color-text, inherit) !important;
}
body.ei-embed .ticket-row select {
  background: var(--color-input-bg, #fff) !important;
  color: var(--color-text, inherit) !important;
  border-color: var(--color-border, #e5e5e5) !important;
}
body.ei-embed .ticket-row .ticket-name,
body.ei-embed .ticket-row .ticket-price,
body.ei-embed .ticket-row .ticket-fee {
  color: var(--color-text, inherit) !important;
}

/* ============================================================
   PROFILE PAGES — /artists/:slug  /organisers/:slug
============================================================ */

.profile-page {
  padding: 2rem 0 4rem;
}

.profile-page__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.profile-page__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg, #f5f5f7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-page__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-page__avatar-placeholder {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-muted, #999);
}

.profile-page__info h1 {
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
  line-height: 2rem;
}

.profile-page__socials {
  display: flex;
  gap: 0.6rem;
}

.profile-page__section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.profile-page__section-title--past {
  margin-top: 2.5rem;
  color: var(--color-muted, #888);
}

.events-list--past .events-list__card {
  opacity: 0.55;
}

.profile-page__empty {
  color: var(--color-muted, #888);
  text-align: center;
  padding: 3rem 0;
}


/* ---- Ticket Selector ---- */
.tickets h2 { margin-bottom: 1rem; }
.ticket-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.2rem; }
.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.ticket-row__name { font-weight: 600; margin-bottom: 0.2rem; }
.ticket-row__description { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.3rem; }
.ticket-row__price { color: var(--color-accent); font-size: 1.1rem; font-weight: 700; }
.ticket-row__fee { display: inline-block; font-size: 0.75rem; font-weight: 400; color: var(--color-accent); margin-top: 0.15rem; }
.ticket-row--unavailable { opacity: 0.55; }
.ticket-row--promo { border-left: 3px solid var(--color-accent); }
.ticket-row__conversion { display: inline-block; font-size: 0.75rem; font-weight: 400; color: #888; margin-left: 0.25rem; }

/* ---- Promo code ---- */
.promo-section { margin-top: 1rem; }
.promo-toggle {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}
.promo-toggle:hover { color: var(--color-accent); }
.promo-toggle .material-icons-outlined { font-size: 1rem; }
.promo-input-wrap { margin-top: 0.75rem; }
.promo-input-row { display: flex; gap: 0.5rem; }
.promo-input-row input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.promo-input-row input:focus { outline: none; border-color: var(--color-accent); }
.promo-message { margin-top: 0.5rem; font-size: 0.875rem; }
.promo-message--error { color: #c0392b; }
.promo-message--success { color: #27ae60; }
@keyframes promo-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.promo-shake { animation: promo-shake 0.4s ease; }
.ticket-row__remaining { font-size: 0.85rem; margin-top: 0.2rem; }
.sold-out { color: var(--color-error); }
.low-stock { color: #e67e22; }
.in-stock { color: var(--color-success); }
.ticket-row__qty select { min-height: 50px; padding: 0.4rem 0.6rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; }
.btn--large { padding: 0.9rem 2rem; font-size: 1.1rem; }

/* ---- All Events List ---- */
.events-list { display: flex; flex-direction: column; gap: 1rem; }
.events-list__card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-surface, #fff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}
.events-list__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}
.events-list__img-wrap {
  flex-shrink: 0;
  width: 116px;
  aspect-ratio: 1 / 1;
}
.events-list__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.events-list__img--placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-border);
}
.events-list__info {
  flex: 1;
  min-width: 0;
  padding: 1rem 0;
}
.events-list__name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.events-list__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}
.events-list__meta-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.events-list__meta-icon {
  font-size: 1rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.events-list__meta-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.events-list__action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
}
.events-list__price {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .events-list__card { padding-right: 1.25rem; }
  .events-list__action { display: none; }
  .events-list__info { padding: 0.75rem 0; }
  .events-list .material-icons-outlined, .csm-event-card .material-icons-outlined { display: none; }
}

/* Admin detail cards → admin.css */

/* Reports → admin.css */

/* ---- Event Images ---- */
.event-hero { width: 100%; object-fit: cover; border-radius: var(--radius); object-position: top; }
.event-card__thumb { width: 120px; height: 68px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }

/* Accordion → admin.css */

/* Event show card → admin.css */

/* Event form layout helpers → admin.css */

/* File drop zone → admin.css */

/* Time input wrap + artist chip input → admin.css */

/* Image crop preview → admin.css */

/* ---- Legal Checkboxes ---- */
.legal-checks { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.legal-check { display: flex; align-items: flex-start; gap: 0; }
.legal-check input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.legal-check label {
  margin: 0;
  font-weight: 400;
  font-size: 0.95rem;
  display: inline;
  cursor: pointer;
  line-height: 1.5;
}
.legal-check label::before {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}
.legal-check label::before {
  font-family: 'Material Icons';
  content: '\e835';
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-muted);
  transition: color 0.15s;
}
.legal-check input[type="checkbox"]:checked + label::before {
  content: '\e834';
  color: var(--color-accent);
}
.modal-trigger {
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
}
.modal-trigger:hover { opacity: 0.8; }
.footer-col__btn.modal-trigger {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer-col__btn.modal-trigger:hover { color: #fff; opacity: 1; }

/* ---- Modals ---- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal[aria-hidden="false"] { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  cursor: pointer;
}
.modal__box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  z-index: 1;
}
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.modal__header h2 { margin: 0; font-size: 1.2rem; }
.modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
.modal__close:hover { color: var(--color-text); }
.modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.modal__body h3 { margin: 1.25rem 0 0.5rem; font-size: 1rem; }
.modal__body p { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.75rem; }
.modal__body p:last-child { margin-bottom: 0; }
.modal__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

/* ---- Mobile responsive fixes ---- */
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
}
/*  /* ---- Checkout mobile summary ---- */
/* Shown only on mobile; desktop uses the sidebar .checkout-summary */
.checkout-summary-mobile {
  display: none;
}
@media (max-width: 768px) {
  .checkout-summary-mobile {
    display: block;
    margin-bottom: 1.25rem;
  }
  .checkout-summary-mobile--boxed {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin: 0.5rem 0 0;
    padding: 1rem;
  }
  /* Hide the full sidebar summary on mobile */
  .checkout-summary {
    display: none;
  }
  /* Also hide the desktop h1 "Checkout" heading on mobile — summary replaces it */
  .checkout-layout {
    margin-top: 0;
  }

  /* Event card row */
  .csm-event-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    margin-top: 0.2rem;
    background: var(--color-surface, #fff);
    /*border: 1px solid var(--color-border);*/
    border-radius: var(--radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    padding-right: 0.875rem;
  }
  .csm-event-card__img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius), var(--radius), 0, 0;
    flex-shrink: 0;
  }
  .csm-event-card__info {
    flex: 1;
    min-width: 0;
  }
  .csm-event-card__name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .csm-event-card__meta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-bottom: 0.1rem;
  }
  .csm-icon {
    font-size: 0.9rem !important;
    color: var(--color-accent);
    flex-shrink: 0;
    vertical-align: middle;
    margin: 0;
  }

  /* Order lines */
  .csm-lines {
    padding: 1rem;
  }
  .csm-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
  }
  .csm-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-text);
    padding: 0.1rem 0;
  }
  .csm-line--fee {
    justify-content: flex-start;
    color: var(--color-muted);
    font-size: 0.8rem;
    padding-bottom: 0.4rem;
  }
  .csm-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    color: var(--color-text);
  }
  .csm-total span:last-child {
    color: var(--color-accent);
    font-size: 1.15rem;
  }
}

@media (max-width: 700px) {
  .event-card { flex-wrap: wrap; }
  .ticket-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .ticket-row__qty { width: 100%; }
  .ticket-row__qty select { width: 100%; }
  /* Public BTNs stay block/full-width on mobile */
  .btn { display: block; width: 100%; text-align: center; }
}

/* ---- Material Icons ---- */
.material-icons {
  font-size: 1.1rem;
  vertical-align: middle;
  margin-right: 0.25rem;
  color: var(--color-accent);
}
.event-detail__meta .material-icons { color: var(--color-muted); }

/* ---- Disabled button ---- */
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Status badges → admin.css */

/* ==============================
   HOME PAGE
   ============================== */

body.home { background: #f4f4f8; }

/* Nav transparent over hero */
.site-header--transparent {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}
.site-header--transparent .site-header__brand { color: #fff; }

/* Hero */
.hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.03);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 1rem;
}
.hero__title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero__search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 0.7rem 0.7rem 0.7rem 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  gap: 0.5rem;
}
.hero__search .material-icons { color: #999; flex-shrink: 0; }
.hero__search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  padding: 0.3rem 0;
  color: #1a1a2e;
}
.hero__search button {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.hero__search button:hover { opacity: 0.85; }

/* Section title */
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 1.5rem 0 1.25rem;
}
.search-results-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 2.5rem 0 1.25rem;
}
.search-results-header h2 { font-size: 1.6rem; font-weight: 800; margin: 0; }
.search-results-header a { color: var(--color-accent); font-size: 0.9rem; }

/* Event grid */
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
/*@media (max-width: 600px) { .event-grid { grid-template-columns: 1fr; } }*/

/*Event card*/
.event-card-new {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.event-card-new:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.13);
  text-decoration: none;
  color: var(--color-text);
}
.event-card-new__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.event-card-new__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: top;
}
.event-card-new__img--placeholder {
  background: linear-gradient(135deg, #e8e8f0 0%, #d0d0e0 100%);
}
.event-card-new__date-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.event-card-new__body {
  padding: 0.9rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.event-card-new__name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.event-card-new__venue {
  font-size: 0.875rem;
  color: var(--color-muted);
}
.event-card-new__price {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: auto;
  padding-top: 0.4rem;
}

Skeleton
.event-card-new--skeleton { pointer-events: none; }
.skeleton-pulse {
  border-radius: 4px;
  background: linear-gradient(90deg, #ececec 25%, #f8f8f8 50%, #ececec 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  display: block;
}
.skeleton-line { border-radius: 4px; }
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
}
.no-results .material-icons { font-size: 3rem; margin-bottom: 0.75rem; display: block; }

/* CTA Band — full-bleed dark wrapper */
.cta-band {
  background: var(--color-primary);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 4rem 0;
  margin-bottom: calc(-1rem - 3rem); /* cancel site-main padding (1rem) + footer margin-top (3rem) */
}
/* When the page ends with the dark band, collapse the footer margin */
.page--dark-footer .site-footer { margin-top: 0; }
/* remove bottom margin from grid since band handles spacing */
.cta-band .cta-cards { margin-bottom: 0; }

/* CTA Cards */
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (max-width: 700px) { .cta-cards { grid-template-columns: 1fr; } }

.cta-card {
  border-radius: 16px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Left card — solid accent purple */
.cta-card--purple {
  background: var(--color-accent);
  color: #fff;
}

/* Right card — deep dark with accent border */
.cta-card--dark {
  background: var(--color-primary);
  color: #fff;
  border: 1.5px solid var(--color-accent);
}

/* Large heading */
.cta-card__heading {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: #fff;
}

/* Icon + text rows (left card) */
.cta-card__rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.cta-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.cta-card__row-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-card__row-icon .material-icons {
  font-size: 1.15rem;
  color: #fff;
}
.cta-card__row strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.1rem;
}
.cta-card__row p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.45;
}

/* Badge (right card) */
.cta-card__badge {
  display: inline-block;
  border: 2px solid #2ecc71;
  color: #2ecc71;
  border-radius: 50px;
  padding: 0.2rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  align-self: flex-start;
}

/* Body copy (right card) */
.cta-card__body-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* White button (left card) */
.btn--cta-white {
  display: inline-block;
  background: #fff;
  color: var(--color-accent);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.15s;
}
.btn--cta-white:hover { opacity: 0.9; text-decoration: none; color: var(--color-accent); }

/* Purple button (right card) */
.btn--cta-purple {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.15s;
}
.btn--cta-purple:hover { opacity: 0.85; text-decoration: none; color: #fff; }

/* (footer styles are defined earlier in the file) */

/* ---- Logo ---- */
.site-header__logo { height: 18px; width: auto; display: block; }

/* ---- Danger button ---- */
.btn--danger {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn--danger:hover { opacity: 0.85; }

/* ---- Alert success ---- */
.alert--success {
  background: #eafaf1;
  color: #27ae60;
  border: 1px solid #a9dfbf;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

/* stat-card--highlight, summary-line--fee → admin.css */

/* ---- Warning alert ---- */
.alert--warning {
  background: #fef9e7;
  color: #b7770d;
  border: 1px solid #f9e4a0;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

/* Three-dot menu → admin.css */

/* ---- Checkout Two-Column Layout ---- */
.checkout-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.checkout-form {
  flex: 1 1 0;
  min-width: 0;
}

.checkout .form-group input {
  min-height: 60px;
}

/* White card sections within checkout form */
.checkout-card {
  margin-bottom: 1.25rem;
}

@media (min-width: 769px) {
  .checkout-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }
}
.checkout-card h2 { font-size: 1.1rem; margin-bottom: 1.25rem; color: var(--color-primary); }
.checkout-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.checkout-card__header h2 { margin-bottom: 0; }
.checkout-secure { display: flex; align-items: center; gap: 0.25rem; font-size: 0.825rem; color: var(--color-muted); }
.checkout-secure .material-icons-outlined { font-size: 0.95rem; margin: 0; color: var(--color-muted); }
.bnpl-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0 1rem; color: var(--color-muted); font-size: 0.85rem; }
.bnpl-divider::before, .bnpl-divider::after { content: ''; flex: 1; border-top: 1px solid var(--color-border); }
.bnpl-hint { font-size: 0.8rem; color: var(--color-muted); margin-top: 0.5rem; text-align: center; }
#afterpay-button, #afterpay-button div { height: 50px; }

/* Two-column name row */
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }

.checkout-summary {
  flex: 0 0 350px;
  position: sticky;
  top: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.checkout-summary h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.summary-event {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.summary-meta-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}
.summary-meta-row .material-icons-outlined { font-size: 1rem; color: var(--color-accent); margin: 0; flex-shrink: 0; }

.summary-venue,
.summary-date {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.925rem;
  padding: 0.35rem 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0 0;
  font-size: 1.05rem;
}
.summary-total strong:last-child { color: var(--color-accent); }

.checkout-summary hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0.5rem 0;
}

.summary-fair-pricing {
  background: rgba(128,82,255,0.06);
  border: 1px solid rgba(128,82,255,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.825rem;
  text-align: center;
}
.summary-fair-pricing strong { display: block; color: var(--color-accent); margin-bottom: 0.2rem; }
.summary-fair-pricing span { color: var(--color-muted); }

/* Mobile: stack vertically, show summary above form */
@media (max-width: 768px) {
  .checkout-layout {
    flex-direction: column;
  }

  .checkout-summary {
    flex: none;
    width: 100%;
    position: static;
    order: -1;
  }
}

/* ---- Confirmation Page ---- */
.confirmation-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}
.confirmation-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(39,174,96,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.confirmation-icon .material-icons-outlined {
  font-size: 2.2rem;
  color: var(--color-success);
  margin: 0;
}
.confirmation-page h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.confirmation-page__subtitle {
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}
.confirmation-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.confirmation-email-badge .material-icons-outlined { font-size: 1rem; margin: 0; }
.confirmation-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.confirmation-card h2 { font-size: 1rem; margin-bottom: 1.25rem; color: var(--color-primary); }
.confirmation-card__event-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.confirmation-card__meta { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.confirmation-card__meta-row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: var(--color-muted); }
.confirmation-card__meta-row .material-icons-outlined { font-size: 1rem; color: var(--color-accent); margin: 0; flex-shrink: 0; }
.confirmation-divider { border: none; border-top: 1px solid var(--color-border); margin: 1rem 0; }
.confirmation-line { display: flex; justify-content: space-between; font-size: 0.925rem; padding: 0.3rem 0; }
.confirmation-line--fee { color: var(--color-muted); }
.confirmation-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; padding: 0.5rem 0 0; }
.confirmation-total span:last-child { color: var(--color-accent); }
.confirmation-ref label { font-size: 0.8rem; color: var(--color-muted); margin-bottom: 0.4rem; display: block; }
.confirmation-ref__input { display: flex; gap: 0.5rem; align-items: center; }
.confirmation-ref__input input {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  color: var(--color-text);
  font-family: monospace;
}
.confirmation-ref__copy {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--color-muted);
  display: flex;
  align-items: center;
}
.confirmation-ref__copy:hover { background: #eee; }
.confirmation-ref__copy .material-icons-outlined { font-size: 1.1rem; margin: 0; }
.confirmation-whats-next { background: rgba(128,82,255,0.06); border: 1px solid rgba(128,82,255,0.2); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.confirmation-whats-next h2 { font-size: 0.95rem; color: var(--color-accent); margin-bottom: 0.75rem; }
.confirmation-whats-next ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.confirmation-whats-next li { font-size: 0.875rem; color: var(--color-accent); display: flex; align-items: flex-start; gap: 0.4rem; }
.confirmation-whats-next li::before { content: '•'; flex-shrink: 0; }
.confirmation-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.confirmation-actions .btn { flex: 1; text-align: center; }

.confirmation-register-prompt {
  margin: 0 auto 2rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--color-surface, #f9f9f9);
  border-radius: var(--radius);
  border: 1px solid var(--color-border, #e5e5e5);
}

.confirmation-register-prompt h3 {
  margin-bottom: 0.5rem;
}

.confirmation-register-prompt p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.confirmation-register-prompt .btn {
  width: auto;
  display: inline-block;
}

/* Payouts, card, settings → admin.css */

/* Scanner panel → admin.css */

/* ── About Page ────────────────────────────────────────────────────────────── */

.about-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.about-hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.about-hero h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.about-hero__sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.about-section p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.about-list {
  margin: 0.5rem 0 1rem 1.25rem;
  line-height: 1.8;
  color: var(--color-text);
}

.about-list li {
  margin-bottom: 0.25rem;
}

.about-cta-block {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.about-cta-block__inner h2 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.about-cta-block__inner p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .about-hero h1 { font-size: 1.5rem; }
  .about-hero__sub { font-size: 1rem; }
  .about-cta-block { padding: 2rem 1.25rem; }
}
/* ══════════════════════════════════════════════════
   ABOUT PAGE — Redesigned
══════════════════════════════════════════════════ */

/* Pull all about sections edge-to-edge */
.about-hero-new,
.about-problem,
.about-approach,
.about-stats,
.about-artists,
.about-features,
.about-scale,
.about-cta-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* ── Hero ── */
.about-hero-new {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
  margin-top: -1rem; /* flush with header */
}
.about-hero-new__bg {
  position: absolute;
  inset: 0;
}
.about-hero-new__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-hero-new__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(34,27,54,0.92) 0%,
    rgba(34,27,54,0.75) 50%,
    rgba(34,27,54,0.35) 100%
  );
}
.about-hero-new__content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.about-hero-new__headline {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.about-hero-new__sub {
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.about-hero-new__accent {
  color: var(--color-accent);
  font-weight: 700;
}
.about-hero-new__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  font-family: var(--font);
  line-height: inherit;
  box-sizing: border-box;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  text-decoration: none;
}
/* Make .btn--primary also carry a transparent border so heights match */
.about-hero-new__actions .btn--primary {
  border: 2px solid transparent;
}

/* ── Problem ── */
.about-problem {
  padding: 5rem 0;
  background: #fff;
}
.about-problem__inner {
  display: flex;
  gap: 3.5rem;
  align-items: stretch;
}
.about-problem__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-problem__text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.about-problem__text p {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-problem__text p:last-child { margin-bottom: 0; }
.about-problem__image {
  flex: 0 0 380px;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}
.about-problem__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── Approach ── */
.about-approach {
  padding: 5rem 0;
  background: var(--color-primary);
}
.about-approach__inner {
  display: flex;
  gap: 3.5rem;
  align-items: stretch;
}
.about-approach__image {
  flex: 0 0 380px;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background: rgba(255,255,255,0.06);
}
.about-approach__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.about-approach__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-approach__label {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 1.1rem;
  align-self: flex-start;
}
.about-approach__text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.about-approach__text p {
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
.about-approach__text p:last-child { margin-bottom: 0; }
.about-approach__text strong { color: #fff; }

/* ── Stats bar ── */
.about-stats {
  background: var(--color-accent);
  padding: 5rem 0;
}
.about-stats__inner {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.about-stat { text-align: left; }
.about-stat__value {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.about-stat__label {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

/* ── Built by artists ── */
.about-artists {
  padding: 5rem 0;
  background: var(--color-bg);
}
.about-artists__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.about-artists__inner h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.about-artists__sub {
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.about-pillars {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.about-pillar {
  flex: 1;
  min-width: 200px;
  max-width: 90%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.about-pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f3eeff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.about-pillar__icon .material-icons {
  font-size: 1.3rem;
}
.about-pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.about-pillar p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* ── Features ── */
.about-features {
  padding: 5rem 0;
  background: #fff;
}
.about-features__inner {
  text-align: center;
}
.about-features__inner h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.about-features__sub {
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.about-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.4;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}
.about-feature-item .material-icons {
  font-size: 1.1rem;
  color: var(--color-accent);
  flex-shrink: 0;
  background: #f3eeff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Scale ── */
.about-scale {
  padding: 5rem 0;
  background: var(--color-bg);
}
.about-scale__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.about-scale__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3eeff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-accent);
}
.about-scale__icon .material-icons { font-size: 1.5rem; }
.about-scale__inner h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.about-scale__inner p {
  color: var(--color-muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

/* ── CTA Strip ── */
.about-cta-strip {
  background: var(--color-primary);
  padding: 5rem 0;
  margin-bottom: -1rem; /* flush with footer — cancels site-main bottom padding */
}
.about-cta-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.about-cta-card {
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}
.about-cta-card--sell {
  background: var(--color-accent);
}
.about-cta-card--browse {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}
.about-cta-card h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}
.about-cta-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
/* "Find out more" — white bg, accent text */
.btn--cta-sell {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font);
  text-decoration: none;
  transition: opacity 0.15s;
  background: #fff;
  color: var(--color-accent);
  font-weight: 600;
}
.btn--cta-sell:hover { opacity: 0.9; text-decoration: none; }

/* ── About page mobile ── */
@media (max-width: 768px) {
  .about-problem__inner {
    flex-direction: column;
  }
  .about-approach__inner {
    flex-direction: column-reverse;
  }
  .about-problem__image,
  .about-approach__image {
    flex: none;
    width: 100%;
    min-height: 240px;
  }
  .about-cta-strip__inner {
    grid-template-columns: 1fr;
  }
  .about-features__grid {
    grid-template-columns: 1fr;
  }
  .about-hero-new__overlay {
    background: rgba(34,27,54,0.82);
  }
  .about-stats__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 1.5rem;
  }
}
/* ─── Register / Sell with us page ──────────────────────────────────────────── */
.register-page { max-width: 560px; margin: 0 auto; }
.register-hero { text-align: center; margin-bottom: 2rem; }
.register-hero h1 { margin-bottom: 0.35rem; font-size: 2.4em; }
.register-hero p { color: var(--color-muted); font-size: 1.05rem; margin: 0; }

.register-usps { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.register-usp { display: flex; align-items: flex-start; gap: 1rem; }
.register-usp__icon { width: 2.4rem; height: 2.4rem; min-width: 2.4rem; border-radius: 50%; background: rgba(128, 82, 255, 0.12); display: flex; align-items: center; justify-content: center; }
.register-usp__icon .material-icons-outlined { font-size: 1.15rem; color: var(--color-accent); }
.register-usp div { display: flex; flex-direction: column; gap: 0.15rem; }
.register-usp strong { font-size: 0.95rem; font-weight: 600; color: var(--color-primary); }
.register-usp span { font-size: 0.875rem; color: var(--color-muted); }

.register-form-card { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 2rem; }
.register-form-card h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.register-form-card__sub { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ---- Inline field validation errors ---- */
.field-error {
  display: block;
  color: var(--color-error);
  font-size: 0.825rem;
  margin-top: 0.35rem;
}
.field-error:empty {
  display: none;
}
.input--error,
.field-error--input {
  border-color: var(--color-error) !important;
  outline-color: var(--color-error) !important;
}
.field-error--input {
  border-color: var(--color-error) !important;
  outline-color: var(--color-error) !important;
}
.payment-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-left: 4px solid #ef4444;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.payment-error::before {
  content: "error";
  font-family: 'Material Icons Outlined';
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.3;
}

/* ─── Checkout: wallet buttons ───────────────────────────────────────────────── */
.wallet-buttons { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.25rem; }
.wallet-buttons > div { width: 100%; }
.wallet-divider { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.25rem; color: var(--color-muted); font-size: 0.82rem; }
.wallet-divider::before, .wallet-divider::after { content: ''; flex: 1; border-top: 1px solid var(--color-border); }

/* ─── Checkout: payment accordion ───────────────────────────────────────────── */
#payment-accordion { border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
.pay-option { border-bottom: 1px solid var(--color-border); }
.pay-option:last-child { border-bottom: none; }
.pay-option__header { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1rem; background: none; border: none; cursor: pointer; font-size: 0.95rem; font-weight: 500; color: var(--color-primary); text-align: left; transition: background 0.15s; }
.pay-option__header:hover { background: rgba(0,0,0,0.025); }
.pay-option__header[aria-expanded="true"] { background: rgba(128, 82, 255, 0.04); }
.pay-option__label { display: flex; align-items: center; gap: 0.5rem; }
.pay-option__label .material-icons-outlined { font-size: 1.1rem; color: var(--color-accent); }
.pay-option__chevron { font-size: 1.2rem; color: var(--color-muted); transition: transform 0.2s; }
.pay-option__header[aria-expanded="true"] .pay-option__chevron { transform: rotate(180deg); }
.pay-option__body { padding: 1rem; } 

/* ─── Wallet button overlay (blocks click when form invalid) ─────────────────── */
.wallet-btn-wrap { position: relative; }
.wallet-btn-overlay { position: absolute; inset: 0; z-index: 10; cursor: pointer; background: transparent; }

/* ─── Checkout: payment method radio selector ────────────────────────────────── */
#payment-method-selector { background: #fff; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; margin-bottom: 0.25rem; }
.pay-radio { border-bottom: 1px solid var(--color-border); }
.pay-radio:last-child { border-bottom: none; }
.pay-radio__label { display: flex; align-items: center; padding: 0.85rem 1rem; cursor: pointer; gap: 0.75rem; transition: background 0.15s; user-select: none; }
.pay-radio__label:hover { background: rgba(0,0,0,0.025); }
/*.pay-radio--selected .pay-radio__label { background: rgba(128, 82, 255, 0.04); }*/
.pay-radio__label input[type="radio"] { accent-color: var(--color-accent); width: 1rem; height: 1rem; flex-shrink: 0; margin: 0; cursor: pointer; }
.pay-radio__content { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 0.5rem; }
.pay-radio__title { font-size: 0.95rem; font-weight: 500; color: var(--color-primary); }
.pay-radio__icons { display: flex; align-items: center; gap: 0.4rem; }
.pay-icon { height: auto; width: 45px; display: block; }
.pay-icon--gpay { height: 18px; filter: brightness(0) saturate(100%) invert(27%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%); }
.pay-icon--applepay { height: 20px; filter: brightness(0); }
.pay-radio__body { padding: 1rem; }

/* ─── Checkout: legal disclaimer ─────────────────────────────────────────────── */
.checkout-legal { font-size: 0.78rem; color: var(--color-muted); text-align: center; margin-top: 0.75rem; line-height: 1.5; }
.checkout-legal .link-btn { background: none; border: none; padding: 0; font-size: inherit; color: var(--color-muted); text-decoration: underline; cursor: pointer; }
.checkout-legal .link-btn:hover { color: var(--color-accent); }

/* ============================================================
   ADMIN PROFILES PAGE — append to style.css
============================================================ */

.search-form { margin-bottom: 1.5rem; }
.search-form__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.search-form__input { flex: 1; min-width: 200px; padding: 0.5rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 0.95rem; }

.profile-count { font-weight: 400; color: var(--color-muted); font-size: 0.9em; }

.profiles-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.profile-row {
  border-bottom: 1px solid var(--color-border);
}
.profile-row:last-child { border-bottom: none; }

.profile-row__summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-white);
}

.profile-row__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-row__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-row__initial { font-weight: 700; font-size: 0.9rem; color: var(--color-muted); }

.profile-row__name { flex: 1; font-weight: 500; }

.profile-row__meta { display: flex; gap: 0.3rem; }
.profile-row__has-link {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: var(--color-bg);
  color: var(--color-muted);
}

.profile-row__form {
  padding: 1rem 1rem 1rem 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.profile-row__fields { display: flex; flex-direction: column; gap: 0.75rem; }

.profile-row__socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.profile-row__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.pagination__info { font-size: 0.9rem; color: var(--color-muted); }

@media (max-width: 640px) {
  .profile-row__socials { grid-template-columns: 1fr; }
}

/* ============================================================
   IMAGE STYLE — contained (blur background) on event detail
   Append to style.css
============================================================ */

.event-hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 7;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.admin .event-hero-wrap {
  aspect-ratio: 1 / 1;
}

/* Blurred background layer */
.event-hero-wrap__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.1);
  opacity: 0.7;
}

/* Foreground image — contained within the frame */
.event-hero-wrap__img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Square crop — existing style, no wrapper needed */
.public .event-hero {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  aspect-ratio: 8 / 7;
}

@media (min-width: 768px) {
  .public .event-hero {
    margin-bottom: 1.25rem;
  }
  .public .event-hero-wrap {
    margin-bottom: 1.25rem;
  }
}

.event-mobile-block--image {
  line-height: 0;
}

.event-hero-wrap--thumb {
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}
.event-hero-wrap--thumb .event-hero-wrap__img {
  width: 96px;
  height: 96px;
}

/* Image style picker → admin.css */

/* ── 404 Page ─────────────────────────────────────────────────────────────── */

.not-found {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--color-bg, #f5f5f7);
}

.not-found__inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.not-found__icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-primary, #6c2bd9) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}

.not-found__icon-wrap .material-icons-outlined {
  font-size: 2rem;
  color: var(--color-primary, #6c2bd9);
}

.not-found__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-heading, #0f172a);
  margin: 0 0 0.75rem;
}

.not-found__sub {
  font-size: 1rem;
  color: var(--color-muted, #64748b);
  margin: 0 0 2rem;
}

.not-found__search {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.not-found__search-input-wrap {
  position: relative;
  flex: 1;
}

.not-found__search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted, #94a3b8);
  font-size: 1.1rem;
  pointer-events: none;
}

.not-found__search-input {
  width: 100%;
  padding: 0.65rem 0.75rem 0.65rem 2.5rem;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 8px;
  font-size: 0.95rem;
  background: white;
  color: var(--color-text, #1e293b);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.not-found__search-input:focus {
  border-color: var(--color-primary, #6c2bd9);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #6c2bd9) 15%, transparent);
}

.not-found__search-btn {
  flex-shrink: 0;
}

.not-found__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.not-found__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 1rem;
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text, #1e293b);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.not-found__card:hover {
  border-color: var(--color-primary, #6c2bd9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.not-found__card .material-icons-outlined {
  font-size: 1.75rem;
  color: var(--color-primary, #6c2bd9);
  background: color-mix(in srgb, var(--color-primary, #6c2bd9) 10%, white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.not-found__card strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-heading, #0f172a);
}

.not-found__card span:last-child {
  font-size: 0.8rem;
  color: var(--color-muted, #64748b);
}

@media (max-width: 480px) {
  .not-found__title { font-size: 1.75rem; }
  .not-found__search { flex-direction: column; }
  .not-found__cards { grid-template-columns: 1fr; }
}


/* ── Error Page ───────────────────────────────────────────────────────────── */

.error-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: flex-start;
  padding: 3rem 1.5rem;
  background: var(--color-bg, #f5f5f7);
}

.error-page__inner {
  max-width: 600px;
  width: 100%;
}

.error-page__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-heading, #0f172a);
  margin: 0 0 0.75rem;
}

.error-page__sub {
  font-size: 1rem;
  color: var(--color-muted, #64748b);
  margin: 0 0 2rem;
}

.error-page__sub a {
  color: var(--color-primary, #6c2bd9);
}

.error-page__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-page__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.error-page__actions .material-icons-outlined {
  font-size: 1.1rem;
}

.error-page__help {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.error-page__help .material-icons-outlined {
  font-size: 1.5rem;
  color: var(--color-primary, #6c2bd9);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.error-page__help strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-heading, #0f172a);
  margin-bottom: 0.2rem;
}

.error-page__help p {
  font-size: 0.875rem;
  color: var(--color-muted, #64748b);
  margin: 0;
}

.error-page__help a {
  color: var(--color-primary, #6c2bd9);
}

/* Technical details (shared style, already in use on error page) */
.error-details {
  margin-top: 0;
}

.error-details summary {
  cursor: pointer;
  color: var(--color-muted, #94a3b8);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  user-select: none;
}

.error-details code {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--color-muted, #64748b);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.error-details .btn--sm {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
}


/* ── Preview banner ───────────────────────────────────────── */

.preview-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #7c3aed;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.preview-banner .material-icons-outlined {
  font-size: 1.1rem;
}

.preview-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  margin-left: auto;
}

/* ── Help / FAQ Page ──────────────────────────────────────────────────────── */

/* Hero — flush with header, full width breakout */
.help-hero {
  margin-top: -1rem;       /* cancel .site-main top padding so hero kisses the header */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #4b0aab 0%, var(--color-accent) 60%, #b44fff 100%);
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.help-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.help-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.help-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.help-search-wrap {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.help-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.help-search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  background: #fff;
  color: var(--color-text);
  transition: box-shadow 0.2s;
  box-sizing: border-box;
}

.help-search-input:focus {
  box-shadow: 0 4px 32px rgba(0,0,0,0.25), 0 0 0 3px rgba(152,16,250,0.25);
}

.help-search-input::placeholder { color: #aaa; }

/* Search results area */
.help-search-results {
  display: none;
  background: var(--color-bg);
}

.help-search-results.active { display: block; }

.help-search-count {
  font-size: 0.875rem;
  color: var(--color-muted);
  padding: 20px 0 12px;
}

.help-no-results {
  display: none;
  text-align: center;
  padding: 32px 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.help-no-results.active { display: block; }

/* Shared section spacing */
#helpMainContent .container {
  padding-top: 48px;
  padding-bottom: 0;
}

#helpMainContent .container:last-child {
  padding-bottom: 64px;
}

/* Section heading (reuses font-heading via h2, just sets size/spacing) */
.help-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 20px;
}

/* Category cards grid */
.help-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

@media (max-width: 640px) {
  .help-category-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .help-category-grid { grid-template-columns: 1fr; }
}

.help-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  gap: 10px;
  font-family: var(--font);
  text-align: left;
}

.help-cat-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(152,16,250,0.1);
}

.help-cat-card__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-cat-card__icon {
  width: 32px;
  height: 32px;
  background: color-mix(in srgb, var(--color-accent) 10%, white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.help-cat-card__icon svg { width: 16px; height: 16px; }

.help-cat-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.3;
}

.help-cat-card__count {
  font-size: 0.775rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.help-cat-card__arrow {
  color: var(--color-border);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Article accordion */
.help-articles {
  margin-bottom: 48px;
}

.help-article-item {
  border-bottom: 1px solid #ececec;
}

.help-article-item:first-child {
  border-top: 1px solid #ececec;
}

.help-article-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}

.help-article-btn__inner { flex: 1; }

.help-article-btn__cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.help-article-btn__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.help-article-btn__chevron {
  flex-shrink: 0;
  margin-top: 2px;
  color: #aaa;
  transition: transform 0.2s;
  width: 18px;
  height: 18px;
}

.help-article-item.open .help-article-btn__chevron {
  transform: rotate(180deg);
}

.help-article-body {
  display: none;
  padding: 0 0 24px;
  color: #444;
  font-size: 0.93rem;
  line-height: 1.7;
}

.help-article-item.open .help-article-body { display: block; }

.help-article-body p { margin: 0 0 12px; }
.help-article-body p:last-child { margin-bottom: 0; }
.help-article-body strong { color: var(--color-text); }

.help-article-body__subtitle {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.93rem;
  margin-top: 16px !important;
  margin-bottom: 6px !important;
}

.help-article-body__note-list {
  background: color-mix(in srgb, var(--color-accent) 6%, white);
  border-left: 3px solid var(--color-accent);
  padding: 12px 16px 12px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 8px 0 12px;
  list-style: disc;
}

.help-article-body__note-list li {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* Email button — used inside article bodies */
.help-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--color-accent) 10%, white);
  border: 1px solid color-mix(in srgb, var(--color-accent) 25%, white);
  color: var(--color-accent);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin: 8px 0 12px;
  transition: background 0.15s;
}

.help-email-btn:hover {
  background: color-mix(in srgb, var(--color-accent) 15%, white);
  text-decoration: none;
}

.help-email-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* "Still need help?" CTA band — full width breakout */
.help-cta-box {
  background: linear-gradient(135deg, #5b12c9 0%, var(--color-accent) 100%);
  padding: 48px 24px;
  text-align: center;
  margin: 16px calc(50% - 50vw) 0;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.help-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.help-cta-box__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  position: relative;
}

.help-cta-box__icon svg { width: 22px; height: 22px; }

.help-cta-box h2 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px;
  position: relative;
}

.help-cta-box p {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  margin: 0 0 20px;
  position: relative;
}

.help-cta-box__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s;
  position: relative;
}

.help-cta-box__btn:hover {
  background: rgba(255,255,255,0.25);
  text-decoration: none;
  color: #fff;
}

.help-cta-box__btn svg { width: 16px; height: 16px; }

.help-cta-box__note {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin: 12px 0 0 !important;
  position: relative;
}

/* Popular articles grid */
.help-popular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

@media (max-width: 560px) {
  .help-popular-grid { grid-template-columns: 1fr; }
}

.help-popular-item {
  background: var(--color-white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 0.12s;
  text-decoration: none;
}

.help-popular-item:hover {
  background: color-mix(in srgb, var(--color-accent) 4%, white);
  text-decoration: none;
}

.help-popular-item__cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.help-popular-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.help-popular-item__arrow {
  color: var(--color-border);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* ─── Spotify Preview Button ─────────────────────────────────────────────────── */
.spotify-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.4rem 0.2rem 0.2rem;
  background: #1DB954;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.spotify-preview-btn:hover { background: #1aa34a; }
.spotify-preview-btn--loading { opacity: 0.6; cursor: wait; }

/* ─── Spotify Floating Player ────────────────────────────────────────────────── */
.spotify-player {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #181818;
  color: #fff;
  border-radius: 12px;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  min-width: 280px;
  max-width: 420px;
  width: calc(100vw - 2rem);
  overflow: hidden;
}
.spotify-player__art img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.spotify-player__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.spotify-player__track {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotify-player__label {
  font-size: 0.7rem;
  color: #1DB954;
  margin-top: 0.1rem;
}
.spotify-player__playpause,
.spotify-player__close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  opacity: 0.8;
  flex-shrink: 0;
}
.spotify-player__playpause:hover,
.spotify-player__close:hover { opacity: 1; }
.spotify-player__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #333;
}
.spotify-player__progress-bar {
  height: 100%;
  background: #1DB954;
  width: 0%;
  transition: width 0.5s linear;
  border-radius: 0 2px 2px 0;
}
