/* ═══════════════════════════════════════════════════════════
   EventCrafts Design System  •  v2.0  •  November 2026
   Near-black + violet theme. All pages link this file.
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:           #0d0d14;
  --bg2:          #12121c;
  --bg3:          #1a1a28;
  --surface:      #1e1e2e;
  --surface2:     #252538;
  --border:       rgba(255,255,255,.1);
  --border2:      rgba(255,255,255,.06);

  --violet:       #7c3aed;
  --violet-light: #9f67f5;
  --violet-dim:   rgba(124,58,237,.18);
  --violet-glow:  rgba(124,58,237,.35);

  --white:        #ffffff;
  --off-white:    #f0eeff;
  --muted:        rgba(255,255,255,.55);
  --muted2:       rgba(255,255,255,.35);

  --gold:         #c9a96e;
  --success:      #22c55e;
  --warn:         #f59e0b;
  --error:        #ef4444;

  /* invitation warmer palette overlay */
  --rose:         #e879a0;
  --warm-bg:      #1a1016;

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --shadow:       0 2px 8px rgba(0,0,0,.4), 0 8px 32px rgba(0,0,0,.3);
  --shadow-card:  0 1px 3px rgba(0,0,0,.5), 0 4px 24px rgba(0,0,0,.35);
  --shadow-hover: 0 4px 16px rgba(124,58,237,.25), 0 12px 40px rgba(0,0,0,.5);

  --transition:   all .22s cubic-bezier(.4,0,.2,1);
  --nav-h:        64px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
.ec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet-light);
}
h1, .h1 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}
h2, .h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h3, .h3 {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}
h4, .h4 { font-size: 16px; font-weight: 600; }
p { color: var(--muted); line-height: 1.75; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.ec-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(13,13,20,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 0;
}
.ec-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 40px;
}
.ec-nav-logo svg { width: 32px; height: 32px; }
.ec-nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.ec-nav-logo-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}
.ec-nav-logo-tag {
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-top: 2px;
}
.ec-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.ec-nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.ec-nav-links a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.ec-nav-links a.active {
  color: var(--white);
  background: transparent;
  position: relative;
}
.ec-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--violet-light);
  border-radius: 1px;
}

/* ── LOGO DIAMOND (E mark) ─────────────────────────────── */
.ec-logo-diamond {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(124,58,237,.4);
}
.ec-logo-diamond span {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  font-style: italic;
}
.ec-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ec-nav-actions .ec-btn-ghost {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.ec-nav-actions .ec-btn-ghost:hover { color: var(--white); background: rgba(255,255,255,.07); }

/* ── BUTTONS ────────────────────────────────────────────── */
.ec-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.ec-btn-primary {
  background: var(--violet);
  color: var(--white);
}
.ec-btn-primary:hover { background: var(--violet-light); transform: translateY(-1px); box-shadow: 0 4px 20px var(--violet-glow); }
.ec-btn-secondary {
  background: var(--surface2);
  color: var(--white);
  border: 1px solid var(--border);
}
.ec-btn-secondary:hover { background: var(--surface); border-color: rgba(255,255,255,.2); }
.ec-btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.ec-btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.ec-btn-sm { font-size: 12px; padding: 7px 16px; }
.ec-btn-lg { font-size: 15px; padding: 14px 28px; }

/* ── HERO ────────────────────────────────────────────────── */
.ec-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 72px 48px 60px;
}
.ec-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.ec-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,20,.85) 40%, rgba(13,13,20,.35) 100%),
              linear-gradient(to top, rgba(13,13,20,.7) 0%, transparent 60%);
}
.ec-hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.ec-hero-content .ec-label { margin-bottom: 16px; }
.ec-hero-content h1 { margin-bottom: 20px; }
.ec-hero-content p { font-size: 17px; margin-bottom: 32px; max-width: 460px; }
.ec-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page-level (non-photo) hero for inner pages */
.ec-page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
  padding: 56px 48px 48px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
}
.ec-page-hero .ec-label { margin-bottom: 14px; }
.ec-page-hero h1 { font-size: clamp(28px, 3.5vw, 48px); margin-bottom: 16px; }
.ec-page-hero p { font-size: 16px; }
.ec-page-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ec-page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── SECTION ─────────────────────────────────────────────── */
.ec-section { padding: 72px 48px; }
.ec-section-sm { padding: 48px 48px; }
.ec-section-label { margin-bottom: 12px; }
.ec-section h2 { margin-bottom: 8px; }
.ec-section > p { margin-bottom: 48px; max-width: 540px; }

/* ── CARD ────────────────────────────────────────────────── */
.ec-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.ec-card:hover { border-color: var(--border); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.ec-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.ec-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ec-card:hover .ec-card-img img { transform: scale(1.05); }
.ec-card-body { padding: 20px 24px 24px; }
.ec-card-label { margin-bottom: 8px; }
.ec-card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.ec-card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* Photo card (title overlay on image) */
.ec-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.ec-photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ec-photo-card:hover img { transform: scale(1.04); }
.ec-photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,20,.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.ec-photo-card-overlay .ec-label { margin-bottom: 6px; }
.ec-photo-card-overlay h3 { color: var(--white); font-size: 20px; margin-bottom: 4px; }
.ec-photo-card-overlay p { font-size: 13px; color: rgba(255,255,255,.65); }

/* ── GRID LAYOUTS ────────────────────────────────────────── */
.ec-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ec-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ec-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ec-grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* Featured 2+3 layout (home page events grid) */
.ec-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ec-events-grid .ec-photo-card:first-child { grid-row: span 1; min-height: 340px; }
.ec-events-grid-lower {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.ec-events-grid-lower .ec-photo-card { min-height: 240px; }

/* ── TABS ────────────────────────────────────────────────── */
.ec-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 32px; }
.ec-tab {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--surface);
  cursor: pointer;
  transition: var(--transition);
}
.ec-tab:hover { color: var(--white); background: var(--surface2); }
.ec-tab.active {
  color: var(--white);
  background: var(--violet);
  border-color: var(--violet);
}

/* ── FILTERS (sidebar) ───────────────────────────────────── */
.ec-filter-sidebar { width: 200px; flex-shrink: 0; }
.ec-filter-group { margin-bottom: 28px; }
.ec-filter-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 10px;
}
.ec-filter-item {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.ec-filter-item:hover { color: var(--white); background: var(--surface2); }
.ec-filter-item.active { color: var(--white); background: var(--surface2); font-weight: 500; }

/* ── CATALOGUE LAYOUT ────────────────────────────────────── */
.ec-catalogue {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.ec-catalogue-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ec-product-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.ec-product-card:hover { border-color: var(--border); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.ec-product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ec-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ec-product-card:hover .ec-product-img img { transform: scale(1.05); }
.ec-product-body { padding: 18px 20px 20px; }
.ec-product-name { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.ec-product-price { font-size: 15px; font-weight: 700; color: var(--white); }
.ec-product-moq { font-size: 12px; color: var(--muted2); margin-top: 2px; margin-bottom: 14px; }
.ec-product-btn {
  width: 100%;
  background: var(--surface2);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: block;
}
.ec-product-btn:hover { background: var(--violet); border-color: var(--violet); }

/* ── FORMS ───────────────────────────────────────────────── */
.ec-form-group { margin-bottom: 20px; }
.ec-label-field {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.ec-input, .ec-select, .ec-textarea {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
.ec-input::placeholder, .ec-textarea::placeholder { color: var(--muted2); }
.ec-input:focus, .ec-select:focus, .ec-textarea:focus {
  border-color: var(--violet);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--violet-dim);
}
.ec-textarea { resize: vertical; min-height: 110px; }
.ec-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.ec-select option { background: var(--bg2); color: var(--white); }
.ec-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ec-form-hint { font-size: 12px; color: var(--muted2); margin-top: 5px; }

/* ── STAT STRIP ──────────────────────────────────────────── */
.ec-stat-strip {
  background: var(--surface);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  padding: 0 48px;
}
.ec-stat { flex: 1; padding: 24px 0; border-right: 1px solid var(--border2); padding-right: 32px; padding-left: 32px; }
.ec-stat:first-child { padding-left: 0; }
.ec-stat:last-child { border-right: none; }
.ec-stat-num { font-size: 36px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px; }
.ec-stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.ec-cta-banner {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 48px;
}
.ec-cta-banner h2 { font-size: clamp(22px, 3vw, 36px); }

/* ── FOOTER ──────────────────────────────────────────────── */
.ec-footer {
  background: var(--bg);
  border-top: 1px solid var(--border2);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.ec-footer-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--white);
}
.ec-footer-tag { font-size: 11px; color: var(--muted2); margin-top: 2px; }
.ec-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.ec-footer-links a { font-size: 13px; color: var(--muted); transition: var(--transition); }
.ec-footer-links a:hover { color: var(--white); }

/* ── BADGE / PILL ────────────────────────────────────────── */
.ec-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.ec-badge-violet { background: var(--violet-dim); color: var(--violet-light); border: 1px solid rgba(124,58,237,.3); }
.ec-badge-gold   { background: rgba(201,169,110,.12); color: var(--gold); border: 1px solid rgba(201,169,110,.25); }
.ec-badge-green  { background: rgba(34,197,94,.1); color: var(--success); border: 1px solid rgba(34,197,94,.2); }
.ec-badge-rose   { background: rgba(232,121,160,.12); color: var(--rose); border: 1px solid rgba(232,121,160,.25); }

/* ── INVITATION WARMER OVERRIDES ─────────────────────────── */
.ec-invitation {
  --accent: var(--rose);
  --accent-dim: rgba(232,121,160,.15);
}
.ec-invitation .ec-btn-primary { background: var(--rose); }
.ec-invitation .ec-btn-primary:hover { background: #f090b8; }
.ec-invitation .ec-tab.active { background: var(--rose); border-color: var(--rose); }
.ec-invitation .ec-label { color: var(--rose); }
.ec-invitation .ec-input:focus,
.ec-invitation .ec-select:focus,
.ec-invitation .ec-textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(232,121,160,.15);
}

/* ── AUTH LAYOUT ─────────────────────────────────────────── */
.ec-auth-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.ec-auth-left { padding: 48px; border-right: 1px solid var(--border2); }
.ec-auth-left .ec-label { margin-bottom: 16px; }
.ec-auth-left h2 { margin-bottom: 10px; }
.ec-auth-left p { margin-bottom: 32px; }
.ec-auth-right {
  background: var(--bg2);
  padding: 48px;
  display: flex;
  align-items: flex-start;
}
.ec-auth-form-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 540px;
}
.ec-auth-form-box h3 { font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.ec-auth-links { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; }
.ec-auth-links a { color: var(--violet-light); }

/* ── DASHBOARD LAYOUT ────────────────────────────────────── */
.ec-dash-layout { display: flex; min-height: calc(100vh - var(--nav-h)); }
.ec-dash-sidebar {
  width: 220px;
  background: var(--bg2);
  border-right: 1px solid var(--border2);
  padding: 32px 16px;
  flex-shrink: 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.ec-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
}
.ec-dash-nav-item:hover { color: var(--white); background: var(--surface); }
.ec-dash-nav-item.active { color: var(--white); background: var(--surface2); }
.ec-dash-main { flex: 1; padding: 36px 40px; overflow-y: auto; }
.ec-dash-title { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.ec-stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.ec-stat-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.ec-stat-card-num { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; }
.ec-stat-card-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── TABLE ───────────────────────────────────────────────── */
.ec-table-wrap { overflow-x: auto; }
.ec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ec-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border2);
  white-space: nowrap;
}
.ec-table td {
  padding: 13px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--border2);
  vertical-align: middle;
}
.ec-table tr:last-child td { border-bottom: none; }
.ec-table tr:hover td { background: var(--surface2); }

/* ── MODAL ───────────────────────────────────────────────── */
.ec-modal-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ec-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 540px;
  position: relative;
}
.ec-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--surface2); border: none; border-radius: 50%;
  color: var(--muted); font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.ec-modal-close:hover { color: var(--white); background: var(--bg3); }

/* ── SEARCH BAR ──────────────────────────────────────────── */
.ec-search-bar {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ec-search-input-wrap { flex: 1; }
.ec-search-input-wrap input {
  background: none;
  border: none;
  font-size: 15px;
  color: var(--white);
  width: 100%;
  outline: none;
}
.ec-search-input-wrap input::placeholder { color: var(--muted2); }
.ec-search-divider { width: 1px; height: 24px; background: var(--border2); flex-shrink: 0; }
.ec-search-filter { font-size: 13.5px; color: var(--muted); white-space: nowrap; cursor: pointer; }
.ec-search-filter:hover { color: var(--white); }

/* ── UTILITY ─────────────────────────────────────────────── */
.ec-container { max-width: 1200px; margin: 0 auto; }
.ec-divider { border: none; border-top: 1px solid var(--border2); margin: 48px 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-auto { margin-top: auto; }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-violet { color: var(--violet-light); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ec-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .ec-catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .ec-stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ec-nav { padding: 0 20px; }
  .ec-nav-links { display: none; }
  .ec-hero { padding: 48px 24px 44px; }
  .ec-section, .ec-section-sm { padding: 48px 24px; }
  .ec-page-hero { grid-template-columns: 1fr; padding: 36px 24px; }
  .ec-page-hero-img { display: none; }
  .ec-grid-2, .ec-grid-3, .ec-grid-4 { grid-template-columns: 1fr 1fr; }
  .ec-catalogue { flex-direction: column; }
  .ec-filter-sidebar { width: 100%; }
  .ec-cta-banner { margin: 0 24px; padding: 32px 24px; }
  .ec-stat-strip { padding: 0 24px; flex-wrap: wrap; }
  .ec-footer { padding: 24px; }
  .ec-auth-layout { grid-template-columns: 1fr; }
  .ec-auth-left { display: none; }
  .ec-events-grid { grid-template-columns: 1fr; }
  .ec-events-grid-lower { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ec-grid-2, .ec-grid-3, .ec-grid-4 { grid-template-columns: 1fr; }
  .ec-catalogue-grid { grid-template-columns: 1fr 1fr; }
  .ec-form-row { grid-template-columns: 1fr; }
  .ec-stat-cards { grid-template-columns: 1fr 1fr; }
  .ec-events-grid-lower { grid-template-columns: 1fr; }
  h1, .h1 { font-size: 32px; }
  h2, .h2 { font-size: 26px; }
  .ec-cta-banner { flex-direction: column; align-items: flex-start; }
}
