/* ============================================================
   eVizitka.bg — Design System v3
   Palette: Navy #0F172A + CTA Blue #2563EB
   Fonts:   Poppins (headings) + Open Sans (body)
   ============================================================ */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Brand */
  --primary:        #2563eb;   /* blue-600  — CTA, links, accents   */
  --primary-dark:   #1d4ed8;   /* blue-700  — hover                  */
  --primary-light:  #dbeafe;   /* blue-100  — tinted backgrounds     */
  --navy:           #0f172a;   /* slate-900 — header text, hero bg   */
  --accent:         #f59e0b;   /* amber-500 — VIP / featured badge   */

  /* Neutrals */
  --text:           #0f172a;   /* slate-900 */
  --text-muted:     #64748b;   /* slate-500 */
  --bg:             #f8fafc;   /* slate-50  — section backgrounds    */
  --surface:        #ffffff;   /* card / panel surfaces              */
  --border:         #e2e8f0;   /* slate-200 */

  /* Bootstrap compat aliases (keeps BS utilities working) */
  --secondary:      #64748b;
  --success:        #16a34a;
  --danger:         #dc2626;
  --warning:        #d97706;

  /* Spacing & Shape */
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  /* Shadows (multi-layer for depth) */
  --shadow-xs:      0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:      0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow:         0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-md:      0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);
  --shadow-lg:      0 20px 25px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.06);
  --shadow-blue:    0 8px 24px rgba(37,99,235,.25);

  /* Motion */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --duration:       200ms;
  --transition:     var(--duration) var(--ease);
}

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#mainContent { flex: 1; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* Headings → Poppins */
h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .plan-price,
.stat-card-value, .admin-stat-value, .trust-stat-number, .brand-logo {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

/* ── Bootstrap Overrides ────────────────────────────────────── */
.btn {
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), border-color var(--transition),
              box-shadow var(--transition);
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  padding: .5rem 1.5rem;
  box-shadow: 0 1px 2px rgba(37,99,235,.2);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-blue);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}
.form-control, .form-select {
  border-color: var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem .875rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  color: var(--text);
}
.form-control::placeholder { color: var(--text-muted); }
.badge {
  font-weight: 600;
  font-size: .7em;
  letter-spacing: .03em;
  border-radius: 6px;
}
.btn-xs { padding: .2rem .6rem; font-size: .8rem; }
.min-w-0 { min-width: 0; }
.bg-light { background-color: var(--bg) !important; }

/* ── Brand Logo ─────────────────────────────────────────────── */
.brand-logo {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.brand-logo-icon {
  background: var(--primary);
  color: #fff;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: -.5px;
}
.brand-logo-text { color: var(--navy); }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
}
.site-header .navbar { padding: .75rem 0; }
.navbar-toggler-custom {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .4rem .6rem;
  font-size: 1.3rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.navbar-toggler-custom:hover { background: var(--bg); border-color: var(--primary); }

/* Header search bar */
.search-bar { flex: 1; }
.search-bar .input-group { border-radius: var(--radius-sm); overflow: hidden; }
.search-bar .input-group-text {
  background: var(--bg);
  border-color: var(--border);
  border-right: none;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.search-bar .form-control {
  border-left: none;
  border-right: none;
  background: var(--bg);
}
.search-bar .form-control:focus { background: var(--surface); }
.search-bar .input-group:focus-within .input-group-text {
  border-color: var(--primary);
  background: var(--surface);
}

/* Nav links */
.nav-link-custom {
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  padding: .45rem .875rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link-custom:hover { background: var(--primary-light); color: var(--primary); }

.mobile-search-bar { padding: .5rem 0 .75rem; border-top: 1px solid var(--border); background: var(--bg); }

/* ── Mobile Sidebar ─────────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,23,42,.6);
  z-index: 1040;
  backdrop-filter: blur(3px);
}
.sidebar-overlay.show { display: block; }
.mobile-sidebar {
  position: fixed;
  top: 0; left: -290px; bottom: 0;
  width: 290px;
  background: var(--surface);
  z-index: 1050;
  transition: left .3s var(--ease);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-sidebar.open { left: 0; }
.mobile-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.sidebar-close {
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: var(--text-muted);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.sidebar-close:hover { background: var(--border); color: var(--text); }
.mobile-sidebar-body { padding: .75rem; }
.mobile-sidebar-body .nav-link {
  color: var(--text); font-weight: 600; font-size: .9rem;
  padding: .65rem .875rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center;
  transition: background var(--transition), color var(--transition);
}
.mobile-sidebar-body .nav-link:hover { background: var(--primary-light); color: var(--primary); }

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(140deg, #020617 0%, #0f172a 40%, #1e3a8a 75%, #2563eb 100%);
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}
/* Decorative grid pattern overlay */
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
/* Radial glow */
.hero-section::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 70%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.25) 0%, transparent 60%);
  pointer-events: none;
}
/* Hero overlay div (existing in HTML) */
.hero-overlay { display: none; }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.hero-search-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: .5rem .5rem .5rem 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
}
.hero-search-box i {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-right: .625rem;
  flex-shrink: 0;
}
.hero-search-input {
  flex: 1; border: none; outline: none;
  font-size: 1rem; background: transparent;
  color: var(--text); font-family: 'Open Sans', sans-serif;
}
.hero-search-input::placeholder { color: var(--text-muted); }
.hero-search-box .btn {
  border-radius: var(--radius-lg);
  padding: .55rem 1.5rem;
  font-size: .95rem;
  flex-shrink: 0;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  color: rgba(255,255,255,.55);
  font-size: .875rem;
}
.hero-stat { display: flex; align-items: center; gap: .35rem; }
.hero-stat i { font-size: 1rem; }
.hero-stat strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* ── Section Titles ─────────────────────────────────────────── */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}

/* ── Category Section ───────────────────────────────────────── */
.cat-section {
  padding: 4rem 0;
  background: var(--bg);
}
.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1rem;
}
.cat-header-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 .25rem;
  line-height: 1.2;
}
.cat-header-sub {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
}
.cat-header-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-header-link:hover { color: var(--primary-dark); }

/* ── Category Grid ──────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 576px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(6, 1fr); gap: 1.125rem; } }

/* ── Category Card ──────────────────────────────────────────── */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 1.125rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease,
              transform 200ms ease, background 200ms ease;
}
.cat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(37,99,235,.12);
  transform: translateY(-4px);
  background: var(--primary-light);
  color: var(--navy);
  text-decoration: none;
}
.cat-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: .75rem;
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.cat-card:hover .cat-icon-wrap { transform: scale(1.08); }

/* 8-colour icon palette — cycles with nth-child */
.cat-grid .cat-card:nth-child(8n+1) .cat-icon-wrap { background: #dbeafe; color: #1d4ed8; }
.cat-grid .cat-card:nth-child(8n+2) .cat-icon-wrap { background: #d1fae5; color: #065f46; }
.cat-grid .cat-card:nth-child(8n+3) .cat-icon-wrap { background: #fef3c7; color: #92400e; }
.cat-grid .cat-card:nth-child(8n+4) .cat-icon-wrap { background: #ede9fe; color: #5b21b6; }
.cat-grid .cat-card:nth-child(8n+5) .cat-icon-wrap { background: #fce7f3; color: #be185d; }
.cat-grid .cat-card:nth-child(8n+6) .cat-icon-wrap { background: #e0f2fe; color: #075985; }
.cat-grid .cat-card:nth-child(8n+7) .cat-icon-wrap { background: #fee2e2; color: #991b1b; }
.cat-grid .cat-card:nth-child(8n+8) .cat-icon-wrap { background: #ecfdf5; color: #065f46; }

.cat-name {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}
.cat-badge {
  position: absolute;
  top: 8px; right: 10px;
  font-size: .6rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) {
  .cat-card, .cat-icon-wrap { transition: none; }
}

/* ── Trust / Stats Band ─────────────────────────────────────── */
.section-trust {
  background: var(--navy);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.section-trust::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.trust-stat-item { text-align: center; }
.trust-stat-icon {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: .5rem;
  opacity: .8;
}
.trust-stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .4rem;
}
.trust-stat-label { color: rgba(255,255,255,.55); font-size: .875rem; font-weight: 500; }

/* ── Profile Cards (VIP / Featured) ────────────────────────── */
.profile-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  cursor: pointer;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.profile-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.3);
}
.profile-card-vip {
  border-color: rgba(245,158,11,.4);
}
.profile-card-vip:hover { border-color: var(--accent); box-shadow: 0 12px 24px rgba(245,158,11,.15); }
.profile-card-vip-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(245,158,11,.4);
}
.profile-card-cover { height: 130px; overflow: hidden; background: var(--primary-light); flex-shrink: 0; }
.profile-card-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.profile-card:hover .profile-card-cover img { transform: scale(1.06); }
.profile-card-cover-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.profile-card-body { padding: 1rem; padding-top: 0; position: relative; z-index: 1; flex-grow: 1; }
.profile-card-logo-wrap {
  width: 60px; height: 60px;
  border-radius: 10px;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: -30px;
  background: var(--surface);
}
.profile-card-logo { width: 100%; height: 100%; object-fit: cover; }
.profile-card-logo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); font-size: 1.5rem;
}
.profile-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem; font-weight: 700;
  margin: .6rem 0 .3rem; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-card-location { font-size: .8rem; color: var(--text-muted); }
.profile-card-location i { margin-right: 4px; }

/* ── Profile Cards (Regular / Newest) ──────────────────────── */
.profile-card-regular {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition),
              background var(--transition);
}
.profile-card-regular:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  background: #fafcff;
}
.profile-card-mini-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0;
}
.profile-card-mini-logo img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-mini-logo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary);
}
.profile-card-regular-title {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem; font-weight: 700; margin-bottom: .25rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-card-regular-location { font-size: .8rem; color: var(--text-muted); }

/* ── Browse Page ────────────────────────────────────────────── */
.browse-page {
  padding: 2rem 0 3rem;
  background: var(--bg);
  min-height: 60vh;
}

/* Layout: sidebar + results */
.browse-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 991px) {
  .browse-layout { grid-template-columns: 1fr; }
}

/* ── Filter Sidebar ──────────────────────────────────────────── */
.filter-sidebar {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 82px;
}
@media (max-width: 991px) {
  .filter-sidebar {
    position: fixed;
    top: 0; left: -310px; bottom: 0;
    width: 290px; border-radius: 0;
    z-index: 1050; overflow-y: auto;
    transition: left .25s ease;
    box-shadow: 6px 0 28px rgba(15,23,42,.14);
  }
  .filter-sidebar.open { left: 0; }
}
.filter-sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,23,42,.55); z-index: 1040;
  backdrop-filter: blur(2px);
}
.filter-sidebar-overlay.show { display: block; }

.filter-sidebar-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.filter-sidebar-head h6 {
  margin: 0; font-size: .875rem; font-weight: 700; color: var(--navy);
}
.filter-sidebar-body { padding: 1.25rem; }

.filter-group { margin-bottom: 1.5rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group-label {
  display: block;
  font-size: .7rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .9px;
  margin-bottom: .625rem;
}

/* Category pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: .375rem; }
.filter-pill {
  display: inline-flex; align-items: center;
  padding: .3rem .75rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .78rem; font-weight: 500;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}
.filter-pill.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* Styled selects */
.filter-select {
  width: 100%;
  padding: .5rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: .85rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2rem;
  transition: border-color 150ms ease;
}
.filter-select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.filter-clear {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; color: var(--text-muted);
  background: none; border: none; padding: 0;
  cursor: pointer; text-decoration: none;
  transition: color 150ms ease;
}
.filter-clear:hover { color: #dc2626; text-decoration: none; }

/* ── Browse Top Bar ──────────────────────────────────────────── */
.browse-topbar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.browse-topbar-left h1 {
  font-size: 1.125rem; font-weight: 700;
  color: var(--navy); margin: 0 0 .125rem;
}
.result-count { font-size: .8rem; color: var(--text-muted); }
.browse-filter-btn {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .45rem .875rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text);
  font-size: .85rem; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color 150ms ease, background 150ms ease;
}
.browse-filter-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.filter-count-dot {
  background: var(--primary); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; line-height: 1;
}

/* Active filter chips */
.active-filters { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 1rem; }
.active-filter-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .625rem;
  background: var(--primary-light); color: var(--primary);
  border-radius: 20px; font-size: .78rem; font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease;
}
.active-filter-chip:hover { background: #bfdbfe; color: var(--primary); text-decoration: none; }
.active-filter-chip svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── Browse Card Grid ────────────────────────────────────────── */
.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.125rem;
}

/* ── Browse Card ─────────────────────────────────────────────── */
.bcard {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.bcard:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.35);
  transform: translateY(-3px);
}
.bcard-vip { border-color: rgba(245,158,11,.45); }
.bcard-vip:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(245,158,11,.12);
}

.bcard-cover {
  height: 152px; overflow: hidden; position: relative; flex-shrink: 0;
}
.bcard-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.bcard:hover .bcard-cover img { transform: scale(1.04); }
.bcard-cover-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  display: flex; align-items: center; justify-content: center;
  color: #93c5fd; font-size: 2.25rem;
}
.bcard-vip-badge {
  position: absolute; top: 9px; left: 10px; z-index: 2;
  background: var(--accent); color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(245,158,11,.4);
}

.bcard-body {
  padding: .875rem;
  display: flex; gap: .75rem; align-items: flex-start; flex: 1;
}
.bcard-logo {
  width: 46px; height: 46px;
  border-radius: 10px; overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--border);
  box-shadow: 0 1px 4px rgba(15,23,42,.08);
}
.bcard-logo img { width: 100%; height: 100%; object-fit: cover; }
.bcard-logo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); font-size: 1.2rem;
}
.bcard-info { flex: 1; min-width: 0; }
.bcard-title {
  font-family: 'Poppins', sans-serif;
  font-size: .875rem; font-weight: 700; color: var(--navy);
  margin: 0 0 .25rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bcard-category {
  display: inline-block;
  font-size: .68rem; font-weight: 600;
  color: var(--primary); background: var(--primary-light);
  padding: 2px 8px; border-radius: 6px; margin-bottom: .25rem;
}
.bcard-location {
  font-size: .75rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .25rem;
}

/* ── Empty State ─────────────────────────────────────────────── */
.browse-empty {
  text-align: center; padding: 4rem 2rem;
}
.browse-empty-icon {
  width: 64px; height: 64px;
  background: var(--primary-light); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem; color: var(--primary);
}
.browse-empty h4 { font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.browse-empty p { color: var(--text-muted); }

/* Legacy class aliases (used in card-regular.php) */
.badge-category {
  background: var(--primary-light); color: var(--primary);
  font-size: .68rem; padding: .2rem .5rem; border-radius: 6px; font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .bcard, .bcard-cover img, .filter-pill, .filter-sidebar { transition: none; }
}

/* ── Browse Category Tree ────────────────────────────────────── */
.browse-cat-tree {
  max-height: 340px;
  overflow-y: auto;
  padding-right: .25rem;
}
.browse-tree-all {
  display: block;
  padding: .35rem .5rem;
  border-radius: 6px;
  font-size: .82rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  margin-bottom: .375rem;
  transition: background 150ms ease, color 150ms ease;
}
.browse-tree-all:hover { background: var(--bg); color: var(--text); text-decoration: none; }
.browse-tree-all.active {
  background: var(--primary-light);
  color: var(--primary); font-weight: 700;
  text-decoration: none;
}
.browse-tree-group { margin-bottom: .5rem; }
.browse-tree-parent {
  display: flex; align-items: center; gap: .35rem;
  font-size: .7rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px;
  padding: .25rem .5rem;
  cursor: default;
}
.browse-tree-children { display: flex; flex-direction: column; gap: 1px; }
.browse-tree-child {
  display: block;
  padding: .3rem .5rem .3rem 1.5rem;
  border-radius: 6px;
  font-size: .82rem; color: var(--text-muted);
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}
.browse-tree-child:hover {
  background: var(--bg); color: var(--text); text-decoration: none;
}
.browse-tree-child.active {
  background: var(--primary-light);
  color: var(--primary); font-weight: 600;
  text-decoration: none;
}

/* ── Plans / Pricing ────────────────────────────────────────── */
.plan-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  position: relative;
  height: 100%;
  cursor: default;
  transition: box-shadow var(--transition), transform var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Popular card gets a highlighted treatment */
.plan-card-popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, #eff6ff 0%, var(--surface) 100%);
  box-shadow: var(--shadow-blue);
}
.plan-card-popular:hover { box-shadow: 0 16px 40px rgba(37,99,235,.3); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: 4px 18px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; white-space: nowrap; letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
}
.plan-name {
  font-size: .72rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .625rem;
}
.plan-price {
  font-size: 2.75rem; font-weight: 800; color: var(--primary);
  letter-spacing: -.04em; line-height: 1; margin-bottom: 1.75rem;
}
.plan-price small { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-features { list-style: none; padding: 0; margin-bottom: 2rem; text-align: left; }
.plan-features li {
  display: flex; align-items: center; gap: .625rem;
  padding: .45rem 0;
  font-size: .9rem; color: var(--text);
  border-bottom: 1px solid var(--bg);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--primary); flex-shrink: 0; font-size: 1rem; }
.plan-card-popular .plan-features li { border-bottom-color: rgba(37,99,235,.08); }

/* Checkout plan select */
.plan-select-card {
  display: block; border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; text-align: center; cursor: pointer;
  background: var(--surface); position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.plan-select-card:has(.plan-radio:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  background: #eff6ff;
}
.plan-select-check { position: absolute; top: 12px; right: 12px; color: var(--border); font-size: 1.3rem; }
.plan-select-card:has(.plan-radio:checked) .plan-select-check { color: var(--primary); }
.plan-select-card-popular { border-color: var(--primary); }

/* Payment methods */
.payment-methods { display: flex; flex-direction: column; gap: .75rem; }
.payment-method-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; background: var(--surface);
  transition: border-color var(--transition), background var(--transition);
}
.payment-method-item:has(.payment-method-radio:checked) {
  border-color: var(--primary); background: #eff6ff;
}
.payment-method-icon { font-size: 1.5rem; color: var(--primary); width: 40px; text-align: center; flex-shrink: 0; }
.payment-method-check { color: var(--border); font-size: 1.25rem; }
.payment-method-item:has(.payment-method-radio:checked) .payment-method-check { color: var(--primary); }

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-page { min-height: 80vh; display: flex; align-items: center; padding: 2.5rem 0; background: var(--bg); }
.auth-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 2.25rem; box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}
.auth-card-header { text-align: center; margin-bottom: 1.75rem; }
.auth-footer { text-align: center; margin-top: 1.25rem; font-size: .9rem; color: var(--text-muted); }

/* ── Profile Public Page ────────────────────────────────────── */
.profile-header-cover {
  margin: -1.5rem -1.5rem 0 -1.5rem;
  height: 380px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.profile-header-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-header-cover-placeholder {
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 60%, var(--primary) 100%);
}

.profile-header-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.profile-logo-box {
  width: 80px; height: 80px; border-radius: var(--radius);
  border: 4px solid var(--surface); box-shadow: var(--shadow);
  overflow: hidden; background: var(--surface);
  margin-top: -40px; margin-bottom: .75rem;
  position: relative; z-index: 1; flex-shrink: 0;
}
.profile-logo-box img { width: 100%; height: 100%; object-fit: cover; }
.profile-logo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); font-size: 2rem;
}
.profile-location-tag {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 20px; padding: .25rem .875rem;
  font-size: .8rem; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 5px;
}
.profile-meta { font-size: .8rem; }

.profile-section-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.profile-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  color: var(--text); display: flex; align-items: center; gap: .5rem;
}
.profile-description { font-size: .95rem; line-height: 1.75; color: var(--text); }

/* Gallery */
.profile-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; }
.gallery-thumb {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 3/2; display: block; cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-thumb:hover img { transform: scale(1.07); }

/* Working hours */
.working-hours-grid { display: flex; flex-direction: column; gap: .35rem; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem .75rem; border-radius: var(--radius-sm); font-size: .9rem;
}
.hours-today { background: var(--primary-light); font-weight: 600; color: var(--primary); }
.hours-day { color: var(--text-muted); min-width: 100px; }

/* Contact card */
.profile-contact-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 1.25rem; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.contact-section { margin-bottom: 1.25rem; }
.contact-section:last-child { margin-bottom: 0; }
.contact-section-title {
  font-size: .75rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: .6rem;
  display: flex; align-items: center; gap: .35rem;
}
.contact-phone-btn {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1rem;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-sm); margin-bottom: .5rem; font-weight: 600;
  transition: background var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.contact-phone-btn:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow-blue); }
.contact-link {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text); font-size: .9rem; padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.contact-link:last-child { border-bottom: none; }
.contact-link:hover { color: var(--primary); }
.contact-link i { color: var(--primary); flex-shrink: 0; }
.social-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.social-link-btn {
  display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--text); cursor: pointer;
  transition: all var(--transition);
}
.social-link-btn:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.social-link-btn i { font-size: 1.1rem; }
.map-card-btn {
  display: flex; align-items: center; gap: .75rem;
  background: #f0fdf4; color: #15803d;
  padding: .875rem 1rem; border-radius: var(--radius);
  text-decoration: none; border: 1.5px solid #bbf7d0;
  transition: all var(--transition); cursor: pointer;
}
.map-card-btn:hover { background: #dcfce7; border-color: #4ade80; box-shadow: 0 4px 12px rgba(34,197,94,.2); color: #15803d; }
.map-card-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: #22c55e; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem;
}
.map-card-text { flex-grow: 1; }
.map-card-text strong { display: block; font-size: .875rem; font-weight: 600; }
.map-card-text small { font-size: .75rem; color: #16a34a; }
.badge-category-link {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: .25rem .7rem; border-radius: 6px; font-size: .8rem; font-weight: 600;
  transition: all var(--transition);
}
.badge-category-link:hover { background: var(--primary); color: #fff; }

/* ── User Dashboard ─────────────────────────────────────────── */
.user-sidebar {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.user-sidebar-header {
  display: flex; align-items: center; gap: .75rem; padding: 1.25rem;
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.user-avatar { font-size: 2.5rem; color: var(--primary); line-height: 1; }
.user-sidebar-nav { padding: .5rem; }
.user-nav-item {
  display: flex; align-items: center; gap: .625rem; padding: .6rem .875rem;
  border-radius: var(--radius-sm); color: var(--text); font-size: .9rem;
  font-weight: 600; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.user-nav-item:hover { background: var(--bg); color: var(--primary); }
.user-nav-item.active { background: var(--primary-light); color: var(--primary); }
.user-nav-item i { font-size: 1.1rem; width: 22px; }

/* Stat cards */
.stat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .4rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); border-color: rgba(37,99,235,.25); }
.stat-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.stat-card-value { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.stat-card-label { font-size: .8rem; color: var(--text-muted); }
.bg-primary-soft { background: var(--primary-light); }
.bg-success-soft { background: #dcfce7; }
.bg-warning-soft { background: #fef3c7; }
.bg-info-soft    { background: #e0f2fe; }

/* Dashboard CTA */
.dashboard-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg); padding: 1.75rem; color: #fff;
  position: relative; overflow: hidden;
}
.dashboard-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.dashboard-cta h4, .dashboard-cta h5 { color: #fff; position: relative; }
.dashboard-cta .text-muted { color: rgba(255,255,255,.7) !important; }

/* User profile management cards */
.user-profile-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.user-profile-card:hover { box-shadow: var(--shadow); border-color: rgba(37,99,235,.25); }
.user-profile-card-header { padding: 1rem; border-bottom: 1px solid var(--border); }
.user-profile-card-body { padding: .875rem 1rem; }
.user-profile-card-footer {
  padding: .75rem 1rem; background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.user-profile-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.user-profile-logo-placeholder {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); font-size: 1.3rem;
}

/* ── Form Cards ─────────────────────────────────────────────── */
.form-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.form-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem; font-weight: 700; color: var(--text);
  margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.working-hours-form { display: flex; flex-direction: column; gap: .5rem; }
.hours-form-row {
  display: flex; align-items: center; gap: 1rem;
  padding: .4rem 0; border-bottom: 1px solid var(--bg);
}
.hours-form-day { min-width: 100px; font-size: .875rem; font-weight: 600; }
.hours-form-times { display: flex; align-items: center; }

/* Gallery editor */
.gallery-edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.gallery-edit-thumb { position: relative; aspect-ratio: 3/2; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-edit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-delete-check {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,.55); color: #fff;
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem; transition: background var(--transition);
}
.gallery-delete-check input { position: absolute; opacity: 0; }
.gallery-delete-check:has(input:checked) { background: var(--danger); }

/* Category tree */
.categories-tree { max-height: 350px; overflow-y: auto; }
.category-parent-label {
  font-size: .75rem; font-weight: 700; color: var(--text-muted);
  padding: .4rem 0; text-transform: uppercase; letter-spacing: .5px;
}
.category-children .form-check { margin-bottom: .25rem; }

/* ── Admin Panel ────────────────────────────────────────────── */
.admin-body { background: var(--bg); }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--navy);
  flex-shrink: 0; position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100; overflow-y: auto; transition: transform .3s var(--ease);
}
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: none; }
  .admin-main { margin-left: 0 !important; }
}
.admin-sidebar-header {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center;
}
.admin-sidebar-header .brand-logo-text { color: #fff; }
.admin-sidebar-header .brand-logo-icon { background: rgba(255,255,255,.15); }
.admin-nav { padding: .5rem; }
.admin-nav-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .625rem .875rem; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.55); font-size: .875rem; font-weight: 500;
  margin-bottom: 2px; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.admin-nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav-item.active { background: var(--primary); color: #fff; }
.admin-nav-item i { font-size: 1.1rem; width: 20px; text-align: center; }
.admin-nav hr { border-color: rgba(255,255,255,.08); margin: .5rem 0; }
.admin-main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: .75rem 1.5rem; display: flex; align-items: center;
  position: sticky; top: 0; z-index: 99; box-shadow: var(--shadow-xs);
}
.admin-toggle-btn { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }
.admin-content { padding: 1.5rem; flex: 1; }
.admin-stat-card {
  background: var(--surface); border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-sm); text-align: center; border: 1.5px solid var(--border);
  transition: box-shadow var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow-md); }
.admin-stat-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto .75rem;
}
.admin-stat-value { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.admin-stat-label { font-size: .85rem; color: var(--text-muted); }
.admin-stat-sub { font-size: .75rem; color: var(--text-muted); margin-top: .25rem; }
.admin-filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }

/* ── Payment / Instructions ─────────────────────────────────── */
.instructions-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-md); border: 1.5px solid var(--border);
}
.instructions-icon { font-size: 3rem; color: var(--primary); }
.order-info-box {
  background: var(--bg); border-radius: var(--radius);
  padding: 1.25rem; border: 1px solid var(--border);
}
.order-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .4rem 0; border-bottom: 1px solid var(--border); font-size: .9rem;
}
.order-info-row:last-child { border-bottom: none; }
.instructions-list li { margin-bottom: .75rem; }
.bank-details { background: var(--bg); border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); }
.bank-detail-row {
  display: flex; align-items: center; gap: .75rem;
  padding: .4rem 0; border-bottom: 1px solid var(--border); font-size: .9rem;
}
.bank-detail-row:last-child { border-bottom: none; }
.bank-label { color: var(--text-muted); min-width: 90px; }
.bank-iban { font-family: monospace; letter-spacing: .5px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--navy); margin-top: 5rem; }
.footer-top { padding: 3.5rem 0 2.5rem; }
.footer-heading {
  color: rgba(255,255,255,.85); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.45); font-size: .875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-brand-text { color: rgba(255,255,255,.45); font-size: .875rem; line-height: 1.75; }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 0; }
.footer-bottom { padding: 1.1rem 0; }
.footer-bottom-text { color: rgba(255,255,255,.3); font-size: .8rem; }
.site-footer .brand-logo-text { color: #fff; }
.site-footer .brand-logo-icon { background: rgba(255,255,255,.12); color: #93c5fd; }
.site-footer .text-muted { color: rgba(255,255,255,.35) !important; }

/* ── 404 ────────────────────────────────────────────────────── */
.error-404-num {
  font-size: 8rem; font-weight: 900;
  color: var(--primary-light); line-height: 1;
}

/* ── Misc ───────────────────────────────────────────────────── */
.btn-with-loader.loading .btn-text { display: none; }
.btn-with-loader.loading .btn-loader { display: inline !important; }
.empty-state { color: var(--text-muted); }
.empty-state i { display: block; margin-bottom: .75rem; }
.toggle-password { background: var(--bg); }
.checkout-page { background: var(--bg); min-height: 80vh; }
.rich-text p { margin-bottom: .75rem; }
.rich-text ul, .rich-text ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.rich-text strong { font-weight: 600; }
.city-suggestions .list-group-item { cursor: pointer; font-size: .875rem; }
.city-suggestions .list-group-item:hover { background: var(--primary-light); color: var(--primary); }

/* ── Accessibility ──────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(37,99,235,.3) !important; }

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer { display: none !important; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-section { padding: 3.5rem 0 3rem; }
  .hero-stats { gap: 1.25rem; }
}
@media (max-width: 768px) {
  .hero-section { padding: 2.75rem 0 2.5rem; }
  .hero-title { letter-spacing: -.02em; }
  .profile-logo-box { width: 70px; height: 70px; margin-top: -35px; }
  .admin-main { margin-left: 0; }
  .trust-stat-number { font-size: 2rem; }
  .section-title { font-size: 1.35rem; }
  .plan-card { padding: 1.75rem 1.5rem; }
  .site-footer { margin-top: 3rem; }
}
