/* ═══════════════════════════════════════════════════════
   GRANDEUR BOOKINGS — Master Design System
   Deep Navy × Warm Gold × Mobile First
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  /* Navy palette */
  --n-950: #020408;
  --n-900: #05080F;
  --n-850: #080C18;
  --n-800: #0C1220;
  --n-750: #101828;
  --n-700: #152035;
  --n-600: #1D2E48;
  --n-500: #263D60;
  --n-400: #304D78;

  /* Gold palette */
  --g-600: #8A6A1F;
  --g-500: #C9A84C;
  --g-400: #D4B96A;
  --g-300: #E0CC90;
  --g-200: #EDE0B8;
  --g-subtle: rgba(201,168,76,0.07);
  --g-border: rgba(201,168,76,0.15);
  --g-border-s: rgba(201,168,76,0.35);

  /* Text */
  --t-100: #EDE8DF;
  --t-200: #C0B8A8;
  --t-300: #887E70;
  --t-400: #564E44;
  --t-500: #302820;

  /* Semantic */
  --bg:         var(--n-900);
  --surface:    var(--n-800);
  --card:       var(--n-750);
  --card-h:     var(--n-700);
  --border:     rgba(255,255,255,0.07);
  --border-g:   var(--g-border);
  --gold:       var(--g-500);
  --gold-l:     var(--g-400);
  --text:       var(--t-100);
  --text-2:     var(--t-200);
  --text-m:     var(--t-300);
  --text-d:     var(--t-400);

  /* Status */
  --success:  #3DB87A;
  --success-b:rgba(61,184,122,0.1);
  --error:    #E05A4A;
  --error-b:  rgba(224,90,74,0.1);
  --warn:     #E8B84A;
  --warn-b:   rgba(232,184,74,0.1);

  /* Typography */
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Outfit', -apple-system, sans-serif;

  /* Space (8px grid) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px;
  --s5:20px; --s6:24px; --s8:32px; --s10:40px;
  --s12:48px; --s16:64px;

  /* Radius */
  --r-s:6px; --r-m:10px; --r-l:16px;
  --r-xl:24px; --r-f:9999px;

  /* Shadows */
  --sh-s:  0 1px 4px rgba(0,0,0,0.5);
  --sh-m:  0 4px 16px rgba(0,0,0,0.55);
  --sh-l:  0 8px 40px rgba(0,0,0,0.65);
  --sh-g:  0 0 24px rgba(201,168,76,0.15);
  --sh-card: 0 2px 12px rgba(0,0,0,0.4), 0 0 0 1px var(--border);

  /* Motion */
  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-out: cubic-bezier(0,0,0.2,1);
  --spring: cubic-bezier(0.34,1.56,0.64,1);
  --t-fast: 120ms; --t-base: 200ms; --t-slow: 340ms;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 64px;
  --bot-nav-h: 68px;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-b); cursor: pointer; }
input, select, textarea { font-family: var(--font-b); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--r-s); }
::selection { background: rgba(201,168,76,0.2); }

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--n-600); border-radius: 3px; }

/* ══════════════════════════════════════════════
   SKELETON LOADERS
══════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -1200px 0; }
  100% { background-position:  1200px 0; }
}
.skel {
  background: linear-gradient(90deg, var(--n-750) 25%, var(--n-700) 50%, var(--n-750) 75%);
  background-size: 2400px 100%;
  animation: shimmer 1.8s infinite linear;
  border-radius: var(--r-s);
}
.skel-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
}

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes slideIn  { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
@keyframes spin     { to { transform:rotate(360deg); } }
@keyframes float    { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }

.fade-up  { animation: fadeUp  var(--t-slow) var(--ease-out) both; }
.fade-in  { animation: fadeIn  var(--t-slow) var(--ease-out) both; }

/* Stagger delays */
.d1{animation-delay:60ms}  .d2{animation-delay:120ms} .d3{animation-delay:180ms}
.d4{animation-delay:240ms} .d5{animation-delay:300ms} .d6{animation-delay:360ms}

/* ══════════════════════════════════════════════
   NAV — DESKTOP
══════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--s8);
  background: rgba(5,8,15,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base);
}
.nav.scrolled { background: rgba(5,8,15,0.96); }

.nav-logo {
  display: flex; align-items: center; gap: var(--s2);
  font-family: var(--font-d); font-size: 1.15rem;
  font-weight: 400; letter-spacing: 0.06em; color: var(--text);
  flex-shrink: 0;
}
.nav-logo em { font-style: italic; color: var(--gold); }
.nav-logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink:0; box-shadow: 0 0 8px rgba(201,168,76,0.6); }

.nav-links {
  display: flex; align-items: center; gap: var(--s1);
  position: absolute; left: 50%; transform: translateX(-50%);
  list-style: none;
}
.nav-links a {
  padding: var(--s2) var(--s3); border-radius: var(--r-s);
  font-size: 13px; font-weight: 400; color: var(--text-m);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--gold); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }

.nav-icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-m);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-m); display: flex; align-items: center; justify-content: center;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  position: relative; text-decoration: none;
}
.nav-icon-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }

.nav-badge {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); color: #050810;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}

.nav-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--g-subtle); border: 1.5px solid var(--g-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--gold);
  text-decoration: none;
}

.nav-hamburger {
  width: 36px; height: 36px; border: 1px solid var(--border);
  border-radius: var(--r-m); background: transparent;
  color: var(--text-m); display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color var(--t-fast);
}
.nav-hamburger span { display: block; width: 17px; height: 1.5px; background: currentColor; border-radius: 2px; transition: all var(--t-base); }

/* ══════════════════════════════════════════════
   MOBILE BOTTOM NAV
══════════════════════════════════════════════ */
.mob-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 100; height: var(--bot-nav-h);
  background: rgba(5,8,15,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0 var(--s4);
  padding-bottom: env(safe-area-inset-bottom);
}
.mob-nav-inner { display: flex; align-items: center; height: 100%; }
.mob-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  color: var(--text-m); text-decoration: none;
  font-size: 10px; font-weight: 500; letter-spacing: 0.04em;
  padding: var(--s2) var(--s1); border-radius: var(--r-m);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.mob-nav-item:hover { color: var(--text); }
.mob-nav-item.active { color: var(--gold); }
.mob-nav-item svg { flex-shrink: 0; }
.mob-nav-badge {
  position: absolute; top: 4px; right: calc(50% - 18px);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); color: #050810;
  font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}

/* ══════════════════════════════════════════════
   MOBILE DRAWER
══════════════════════════════════════════════ */
.drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
}
.drawer-overlay.open { display: block; animation: fadeIn var(--t-base) var(--ease) both; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 85vw); z-index: 201;
  background: var(--n-800);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  overflow-y: auto; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }

.drawer-user {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s6); border-bottom: 1px solid var(--border);
  background: var(--g-subtle);
}
.drawer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--g-subtle); border: 1.5px solid var(--g-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 1.2rem; color: var(--gold);
  flex-shrink: 0;
}
.drawer-name  { font-size: 14px; font-weight: 500; color: var(--text); }
.drawer-email { font-size: 12px; color: var(--text-m); margin-top: 2px; }

.drawer-section { padding: var(--s4) 0 var(--s2); }
.drawer-section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  padding: var(--s2) var(--s6) var(--s1);
}
.drawer-link {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s6);
  color: var(--text-2); font-size: 14px;
  border-left: 2px solid transparent;
  transition: all var(--t-fast);
  text-decoration: none;
}
.drawer-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.drawer-link.active { color: var(--gold); border-left-color: var(--gold); background: var(--g-subtle); }
.drawer-link svg { flex-shrink: 0; opacity: 0.7; }
.drawer-link.active svg { opacity: 1; }
.drawer-link-text { flex: 1; }
.drawer-link-badge { margin-left: auto; }

.drawer-logout {
  margin: auto var(--s4) var(--s4);
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  border: 1px solid rgba(224,90,74,0.2); border-radius: var(--r-m);
  color: var(--error); font-size: 13px; font-weight: 500;
  background: transparent; width: calc(100% - var(--s8));
  transition: background var(--t-fast);
}
.drawer-logout:hover { background: var(--error-b); }

/* ══════════════════════════════════════════════
   PAGE LAYOUT
══════════════════════════════════════════════ */
.page { padding-top: var(--nav-h); min-height: 100vh; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s6); }
.page-body { padding: var(--s10) 0 var(--s16); }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 13px var(--s6); border-radius: var(--r-m);
  font-family: var(--font-b); font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em; border: none; cursor: pointer;
  transition: all var(--t-base); white-space: nowrap;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold); color: #050810;
  box-shadow: 0 4px 16px rgba(201,168,76,0.25);
}
.btn-gold:hover { background: var(--gold-l); box-shadow: 0 6px 24px rgba(201,168,76,0.35); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-2);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.2); color: var(--text); background: rgba(255,255,255,0.04); }

.btn-ghost { background: transparent; color: var(--text-m); padding: 10px var(--s4); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.btn-danger {
  background: transparent; border: 1px solid rgba(224,90,74,0.3); color: var(--error);
}
.btn-danger:hover { background: var(--error-b); }

.btn-sm { padding: 9px var(--s4); font-size: 13px; border-radius: var(--r-s); }
.btn-lg { padding: 16px var(--s10); font-size: 15px; border-radius: var(--r-l); }
.btn-full { width: 100%; }

.btn-loading { opacity: 0.7; pointer-events: none; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(5,8,16,0.3); border-top-color: #050810; border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ══════════════════════════════════════════════
   FORM INPUTS
══════════════════════════════════════════════ */
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-m);
}
.field-input {
  width: 100%; padding: 13px var(--s4);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-m); color: var(--text);
  font-family: var(--font-b); font-size: 15px;
  outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field-input:focus {
  border-color: var(--g-border-s);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.field-input::placeholder { color: var(--text-d); }
.field-input-wrap { position: relative; }
.field-input-icon { position: absolute; right: var(--s4); top: 50%; transform: translateY(-50%); color: var(--text-m); background: none; border: none; cursor: pointer; display: flex; }
select.field-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23887E70' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.field-input option { background: var(--n-800); color: var(--text); }
textarea.field-input { resize: vertical; min-height: 100px; }

.field-error { font-size: 12px; color: var(--error); display: flex; align-items: center; gap: 4px; }
.field-hint  { font-size: 12px; color: var(--text-m); }

/* ══════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-l); overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.card:hover { border-color: rgba(255,255,255,0.12); }
.card-body { padding: var(--s6); }

/* ── Split Listing Card ── */
.listing-card {
  display: flex; gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-l); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.listing-card:hover {
  border-color: var(--g-border);
  transform: translateY(-2px);
  box-shadow: var(--sh-m), 0 0 0 1px var(--g-border);
}
.listing-card-img {
  width: 40%; flex-shrink: 0; min-height: 220px;
  background: var(--n-750); position: relative; overflow: hidden;
}
.listing-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease);
}
.listing-card:hover .listing-card-img img { transform: scale(1.04); }
.listing-card-img-ph {
  width: 100%; height: 100%; min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--n-750), var(--n-700));
}
.listing-card-body {
  flex: 1; padding: var(--s6);
  display: flex; flex-direction: column;
  min-width: 0;
}
.listing-card-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-f);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid; margin-bottom: var(--s3); width: fit-content;
}
.listing-card-name {
  font-family: var(--font-d); font-size: 1.35rem; font-weight: 400;
  line-height: 1.25; margin-bottom: var(--s2); color: var(--text);
}
.listing-card-loc {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--text-m); margin-bottom: var(--s3);
}
.listing-card-desc {
  font-size: 13px; color: var(--text-2); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: var(--s4); flex: 1;
}
.listing-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--s4); border-top: 1px solid var(--border);
  margin-top: auto;
}
.listing-card-price { display: flex; align-items: baseline; gap: 4px; }
.listing-card-price-val { font-family: var(--font-d); font-size: 1.4rem; color: var(--text); font-weight: 400; }
.listing-card-price-unit { font-size: 12px; color: var(--text-m); }
.listing-card-capacity { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-m); }

/* Category badge colors */
.badge-villa  { color:#6fa4d8; border-color:rgba(111,164,216,0.3); background:rgba(111,164,216,0.08); }
.badge-yacht  { color:#3DB87A; border-color:rgba(61,184,122,0.3);  background:rgba(61,184,122,0.08); }
.badge-jet    { color:var(--gold); border-color:var(--g-border);    background:var(--g-subtle); }
.badge-car    { color:#E87A6F; border-color:rgba(232,122,111,0.3); background:rgba(232,122,111,0.08); }
.badge-event  { color:#A87AD8; border-color:rgba(168,122,216,0.3); background:rgba(168,122,216,0.08); }
.badge-featured { color:var(--warn); border-color:rgba(232,184,74,0.3); background:rgba(232,184,74,0.08); }

/* ══════════════════════════════════════════════
   BADGES / STATUS
══════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--r-f);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: capitalize; border: 1px solid;
}
.badge-gold    { color:var(--gold);    border-color:var(--g-border);            background:var(--g-subtle); }
.badge-green   { color:var(--success); border-color:rgba(61,184,122,0.3);       background:var(--success-b); }
.badge-red     { color:var(--error);   border-color:rgba(224,90,74,0.3);        background:var(--error-b); }
.badge-muted   { color:var(--text-m);  border-color:var(--border);              background:rgba(255,255,255,0.03); }
.badge-warn    { color:var(--warn);    border-color:rgba(232,184,74,0.3);       background:var(--warn-b); }

/* ══════════════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════════════ */
.page-header { margin-bottom: var(--s10); }
.page-header-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: var(--s2);
}
.page-header-title {
  font-family: var(--font-d); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400; line-height: 1.15; color: var(--text);
}
.page-header-title em { font-style: italic; color: var(--gold); }
.page-header-sub { font-size: 14px; color: var(--text-m); margin-top: var(--s3); line-height: 1.7; }

/* ══════════════════════════════════════════════
   FLASH MESSAGES
══════════════════════════════════════════════ */
.flash {
  padding: var(--s4); border-radius: var(--r-m);
  font-size: 14px; margin-bottom: var(--s6);
  display: flex; align-items: flex-start; gap: var(--s3);
  border: 1px solid; animation: fadeUp var(--t-slow) var(--ease-out) both;
}
.flash-success { background:var(--success-b); border-color:rgba(61,184,122,0.3); color:var(--success); }
.flash-error   { background:var(--error-b);   border-color:rgba(224,90,74,0.3);  color:var(--error); }
.flash-info    { background:var(--g-subtle);  border-color:var(--g-border);      color:var(--gold); }

/* ══════════════════════════════════════════════
   TABLES (admin)
══════════════════════════════════════════════ */
.g-table { width: 100%; border-collapse: collapse; }
.g-table thead tr { border-bottom: 1px solid var(--border); }
.g-table th { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-m); padding: var(--s3) var(--s4); text-align: left; }
.g-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--t-fast); }
.g-table tbody tr:last-child { border-bottom: none; }
.g-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.g-table td { padding: var(--s4); font-size: 14px; color: var(--text); vertical-align: middle; }
.g-table td.muted { color: var(--text-m); font-size: 13px; }

/* ══════════════════════════════════════════════
   STAT CARDS
══════════════════════════════════════════════ */
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-l); padding: var(--s6);
  transition: border-color var(--t-base);
}
.stat-card:hover { border-color: var(--g-border); }
.stat-card-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-m); margin-bottom: var(--s3);
}
.stat-card-icon {
  width: 34px; height: 34px; border-radius: var(--r-m);
  background: var(--g-subtle); display: flex; align-items: center; justify-content: center;
  color: var(--gold); float: right; margin: -4px 0 0;
}
.stat-card-value {
  font-family: var(--font-d); font-size: 2.2rem; font-weight: 400;
  color: var(--text); line-height: 1; margin-bottom: var(--s2);
}
.stat-card-value em { color: var(--gold); font-style: normal; }
.stat-card-sub { font-size: 12px; color: var(--text-m); }

/* ══════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: var(--s6);
}
.modal-overlay.open { display: flex; animation: fadeIn var(--t-base) var(--ease) both; }
.modal {
  background: var(--n-800); border: 1px solid var(--border);
  border-top: 2px solid var(--gold); border-radius: var(--r-xl);
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; padding: var(--s8); position: relative;
  animation: fadeUp var(--t-slow) var(--spring) both;
}
.modal-close {
  position: absolute; top: var(--s4); right: var(--s4);
  width: 28px; height: 28px; border-radius: var(--r-s);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-m); display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all var(--t-fast);
}
.modal-close:hover { border-color: var(--error); color: var(--error); }
.modal-title { font-family: var(--font-d); font-size: 1.5rem; font-weight: 400; margin-bottom: var(--s6); }
.modal-title em { color: var(--gold); font-style: italic; }

/* ══════════════════════════════════════════════
   CATEGORY TABS
══════════════════════════════════════════════ */
.cat-tabs {
  display: flex; gap: var(--s2); overflow-x: auto;
  scrollbar-width: none; padding-bottom: var(--s1);
  -ms-overflow-style: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: flex; align-items: center; gap: var(--s2);
  padding: 9px var(--s4); border-radius: var(--r-f);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-2); font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: all var(--t-fast); text-decoration: none;
}
.cat-tab:hover { border-color: rgba(255,255,255,0.15); color: var(--text); }
.cat-tab.active { background: var(--gold); color: #050810; border-color: var(--gold); font-weight: 600; }
.cat-tab svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════ */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s6);
}
.section-title { font-family: var(--font-d); font-size: 1.5rem; font-weight: 400; }
.section-title em { font-style: italic; color: var(--gold); }
.section-link {
  font-size: 13px; color: var(--text-m); display: flex; align-items: center; gap: 4px;
  transition: color var(--t-fast);
}
.section-link:hover { color: var(--gold); }

/* ══════════════════════════════════════════════
   SEARCH BAR
══════════════════════════════════════════════ */
.search-bar {
  display: flex; align-items: center; gap: var(--s3);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 14px var(--s5);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  max-width: 560px;
}
.search-bar:focus-within {
  border-color: var(--g-border-s);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.search-bar input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font-b); font-size: 15px; color: var(--text);
}
.search-bar input::placeholder { color: var(--text-d); }
.search-bar svg { color: var(--text-m); flex-shrink: 0; }

/* ══════════════════════════════════════════════
   BOOKING ROW
══════════════════════════════════════════════ */
.booking-row {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-l); text-decoration: none; color: inherit;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.booking-row:hover { border-color: var(--g-border); background: var(--card-h); }
.booking-row-icon {
  width: 44px; height: 44px; border-radius: var(--r-m); flex-shrink: 0;
  background: var(--g-subtle); border: 1px solid var(--g-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.booking-row-info { flex: 1; min-width: 0; }
.booking-row-name { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-row-meta { font-size: 12px; color: var(--text-m); }
.booking-row-right { text-align: right; flex-shrink: 0; }
.booking-row-price { font-family: var(--font-d); font-size: 1.1rem; color: var(--text); margin-bottom: 4px; }

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s16) 0 var(--s12);
  background: linear-gradient(180deg, rgba(21,32,53,0.8) 0%, transparent 100%);
}
.hero::before {
  content: '';
  position: absolute; top: -60%; right: -20%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -10%;
  width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,164,216,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-greeting { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); }
.hero-title { font-family: var(--font-d); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; line-height: 1.1; margin-bottom: var(--s4); }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 15px; color: var(--text-m); max-width: 480px; line-height: 1.7; margin-bottom: var(--s8); }

/* ══════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════ */
.empty-state {
  text-align: center; padding: var(--s16) var(--s6);
  border: 1px dashed var(--border); border-radius: var(--r-xl);
  color: var(--text-m);
}
.empty-state-icon { font-size: 40px; margin-bottom: var(--s4); opacity: 0.4; }
.empty-state-title { font-family: var(--font-d); font-size: 1.4rem; color: var(--text-2); margin-bottom: var(--s2); }
.empty-state-sub { font-size: 14px; line-height: 1.7; margin-bottom: var(--s6); }

/* ══════════════════════════════════════════════
   WALLET
══════════════════════════════════════════════ */
.wallet-balance-card {
  background: linear-gradient(135deg, var(--n-700) 0%, var(--n-800) 100%);
  border: 1px solid var(--g-border); border-radius: var(--r-xl);
  padding: var(--s8); position: relative; overflow: hidden;
}
.wallet-balance-card::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.wallet-balance-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); }
.wallet-balance-amount { font-family: var(--font-d); font-size: 3rem; font-weight: 400; color: var(--text); margin-bottom: var(--s2); }
.wallet-balance-sub { font-size: 13px; color: var(--text-m); }

/* ══════════════════════════════════════════════
   MESSAGES
══════════════════════════════════════════════ */
.msg-thread { display: flex; flex-direction: column; gap: var(--s4); }
.bubble { max-width: 78%; padding: var(--s4) var(--s5); border-radius: var(--r-l); font-size: 14px; line-height: 1.7; }
.bubble-member { background: var(--g-subtle); border: 1px solid var(--g-border); align-self: flex-end; color: var(--text); border-bottom-right-radius: var(--r-s); }
.bubble-admin  { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; color: var(--text); border-bottom-left-radius: var(--r-s); }
.bubble-sender { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--s2); opacity: 0.7; }
.bubble-member .bubble-sender { color: var(--gold); }
.bubble-admin  .bubble-sender { color: var(--text-m); }
.bubble-time { font-size: 11px; color: var(--text-d); margin-top: var(--s2); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--s6) var(--s8);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.08em; color: var(--text-d);
  flex-wrap: wrap; gap: var(--s4);
}
.site-footer a { color: var(--text-d); transition: color var(--t-fast); }
.site-footer a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════
   ADMIN SIDEBAR
══════════════════════════════════════════════ */
.admin-layout { display: flex; min-height: calc(100vh - var(--nav-h)); }
.admin-sidebar {
  width: 220px; flex-shrink: 0; background: var(--n-850);
  border-right: 1px solid var(--border); padding: var(--s4) 0;
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  overflow-y: auto; transition: background var(--t-base);
}
.admin-sidebar-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: var(--s4) var(--s5) var(--s2); }
.admin-sidebar-link {
  display: flex; align-items: center; gap: var(--s3);
  padding: 10px var(--s5); font-size: 13px; font-weight: 400;
  color: var(--text-2); text-decoration: none;
  border-left: 2px solid transparent;
  transition: all var(--t-fast);
}
.admin-sidebar-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.admin-sidebar-link.active { color: var(--gold); background: var(--g-subtle); border-left-color: var(--gold); font-weight: 500; }
.admin-sidebar-link svg { flex-shrink: 0; opacity: 0.7; }
.admin-sidebar-link.active svg { opacity: 1; }
.admin-main { flex: 1; padding: var(--s8); min-width: 0; }

/* ══════════════════════════════════════════════
   NOTIFICATION DOT
══════════════════════════════════════════════ */
.notif-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.unread-row { background: rgba(201,168,76,0.03) !important; }

/* ══════════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════════ */
.divider { height: 1px; background: var(--border); margin: var(--s6) 0; }
.divider-gold { height: 1px; background: var(--g-border); margin: var(--s6) 0; }

/* ══════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════ */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-m); }
.text-display { font-family: var(--font-d); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--s2); }
.gap-3 { gap: var(--s3); }
.gap-4 { gap: var(--s4); }
.gap-6 { gap: var(--s6); }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s4); }


/* ══════════════════════════════════════════════
   RESPONSIVE — Clean rewrite
   iPhone 16 Pro Max (430px) · Mobile-first
══════════════════════════════════════════════ */

/* ── Tablet / Small desktop (≤ 1060px) ── */
@media (max-width: 1060px) {
  .nav          { padding: 0 var(--s6); }
  .nav-links    { display: none; }
  .nav-hamburger{ display: flex; }
  .admin-main   { padding: var(--s6); }
  .grid-4       { grid-template-columns: repeat(2,1fr); }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  :root {
    --nav-h: 56px;
    --bot-nav-h: 60px;
  }

  /* ---- Page shell ---- */
  .page {
    padding-top: var(--nav-h);
    padding-bottom: calc(var(--bot-nav-h) + env(safe-area-inset-bottom, 0px) + 12px);
  }

  /* ---- Container: 20px breathing room each side ---- */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ---- Bottom nav ---- */
  .mob-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(5,8,15,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: auto;
  }
  .mob-nav-inner {
    display: flex;
    width: 100%;
    align-items: stretch;
  }
  .mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px 9px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0em;
    color: var(--text-m);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    min-width: 0;
    transition: color var(--t-fast);
  }
  .mob-nav-item.active { color: var(--gold); }
  .mob-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
  .mob-nav-item span { display: block; font-size: 10px; line-height: 1; }
  .mob-nav-badge {
    position: absolute;
    top: 7px; right: calc(50% - 18px);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--gold); color: #05080F;
    font-size: 8px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(5,8,15,0.97);
  }

  /* ---- Hide site footer on mobile (has bottom nav) ---- */
  .site-footer { display: none; }

  /* ---- Admin sidebar ---- */
  .admin-sidebar { display: none; }

  /* ---- Page body padding ---- */
  .page-body { padding: 20px 0 20px; }

  /* ---- Hero section ---- */
  .hero { padding: 28px 0 20px; }
  .hero-title { font-size: 1.75rem; margin-bottom: 10px; }
  .hero-sub { font-size: 13px; margin-bottom: 18px; }

  /* ---- Section headers ---- */
  .section-head { margin-bottom: 14px; }
  .section-title { font-size: 1.3rem; }

  /* ---- Page header ---- */
  .page-header { margin-bottom: 20px; }
  .page-header-title { font-size: 1.6rem; }

  /* ---- Category tabs ---- */
  .cat-tabs { gap: 6px; }
  .cat-tab { padding: 8px 12px; font-size: 12px; }

  /* ---- Listing cards: stack vertically on mobile ---- */
  .listing-card { flex-direction: column; }
  .listing-card-img { width: 100%; min-height: 200px; }
  .listing-card-body { padding: 16px; }
  .listing-card-name { font-size: 1.1rem; margin-bottom: 5px; }
  .listing-card-footer { padding-top: 12px; flex-wrap: wrap; gap: 8px; }
  .listing-card-price-val { font-size: 1.15rem; }

  /* ---- Listings stack gap ---- */
  .listings-stack { gap: 14px; }

  /* ---- Stat cards grid ---- */
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-card-value { font-size: 1.7rem; }

  /* ---- Search bar ---- */
  .search-bar { padding: 11px 16px; }

  /* ---- Booking rows ---- */
  .booking-row { padding: 13px 16px; gap: 10px; }
  .booking-row-icon { width: 38px; height: 38px; }

  /* ---- Cards ---- */
  .card-body { padding: 16px; }
  .modal { padding: 24px 20px; border-radius: 16px; }
  .wallet-balance-amount { font-size: 2rem; }
  .wallet-balance-card { padding: 24px; }

  /* ---- Messages ---- */
  .msg-layout { grid-template-columns: 1fr; border-radius: 12px; }
  .msg-list { border-right: none; border-bottom: 1px solid var(--border); max-height: 240px; overflow-y: auto; }
  .bubbles { max-height: 300px; }
  .bubble { max-width: 90%; }

  /* ---- Grid overrides ---- */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* ---- Grids used in admin ---- */
  .ag { grid-template-columns: repeat(2,1fr) !important; }
  .ag2 { grid-template-columns: 1fr !important; }

  /* ---- Tables wrap in a scrollable container ---- */
  .g-table { font-size: 12px; }
  .g-table th, .g-table td { padding: 9px 10px; }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .stats-row { grid-template-columns: 1fr; }

  .mob-nav-item {
    padding: 9px 2px 8px;
    font-size: 9px;
  }
  .mob-nav-item svg { width: 19px; height: 19px; }

  .hero-title { font-size: 1.5rem; }
  .page-header-title { font-size: 1.4rem; }

  .wallet-balance-amount { font-size: 1.7rem; }

  /* Checkout methods in 2 columns on small phones */
  .methods-grid { grid-template-columns: repeat(2,1fr) !important; }
}
