/* ============================================================
   Builders24 App — shared stylesheet v2 (enterprise UI)
   Navy #0D1B3E · Gold #F0A500 · White #ffffff
   Space Grotesk headings (max 600) · Philosopher body
   Rule: solid hex TEXT colours only — no opacity/rgba on text
   ============================================================ */

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

:root {
  --navy: #0D1B3E;
  --navy-soft: #16274F;
  --navy-line: #24365F;
  --gold: #F0A500;
  --gold-deep: #CC8C00;
  --white: #ffffff;
  --page: #EEF2FA;
  --card: #ffffff;
  --line: #E1E6EF;
  --text: #0D1B3E;
  --text-body: #33405E;
  --muted: #5B6A8C;
  --green: #1F9D55;
  --red: #D64545;
  --amber: #B97A00;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 27, 62, 0.09);
  --shadow-lift: 0 22px 48px rgba(13, 27, 62, 0.16);
  --sidebar-w: 254px;
}

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

html, body {
  height: 100%;
  background: var(--page);
  font-family: 'Philosopher', serif;
  font-size: 16px;
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .sg { font-family: 'Space Grotesk', sans-serif; color: var(--text); }
h1 { font-size: 27px; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 21px; font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 500; }

a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: 'Space Grotesk', sans-serif; cursor: pointer; }
input, select, textarea { font-family: 'Philosopher', serif; }

::selection { background: #F0A500; color: #0D1B3E; }

/* ---------- 3D ambient background ---------- */
#bg3d {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  animation: orb-drift 22s ease-in-out infinite alternate;
}
.orb.o1 { width: 480px; height: 480px; background: rgba(240,165,0,0.14); top: -160px; right: -120px; }
.orb.o2 { width: 420px; height: 420px; background: rgba(13,27,62,0.10); bottom: -140px; left: -120px; animation-delay: -8s; }
.orb.o3 { width: 300px; height: 300px; background: rgba(240,165,0,0.09); top: 40%; left: 55%; animation-delay: -14s; }
@keyframes orb-drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-50px, 40px, 0) scale(1.12); }
}

/* floating wireframe 3D cubes (auth hero) */
.cube-field { position: absolute; inset: 0; overflow: hidden; perspective: 900px; pointer-events: none; }
.cube {
  position: absolute;
  width: var(--s, 70px); height: var(--s, 70px);
  transform-style: preserve-3d;
  animation: cube-spin var(--d, 26s) linear infinite;
  opacity: 0.9;
}
.cube i {
  position: absolute; inset: 0;
  border: 1px solid rgba(240,165,0,0.35);
  background: rgba(240,165,0,0.045);
}
.cube i:nth-child(1) { transform: translateZ(calc(var(--s,70px)/2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s,70px)/2)); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s,70px)/2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s,70px)/2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s,70px)/2)); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s,70px)/2)); }
@keyframes cube-spin {
  from { transform: rotateX(0) rotateY(0) rotateZ(0); }
  to   { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.9,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); }
.stagger.in > * { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.22,.9,.3,1); }
.stagger.in > *:nth-child(1) { transition-delay: .04s; }
.stagger.in > *:nth-child(2) { transition-delay: .12s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .28s; }
.stagger.in > *:nth-child(5) { transition-delay: .36s; }
.stagger.in > *:nth-child(6) { transition-delay: .44s; }

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

/* ---------- App shell (scoped to .b24-shell so these generic
   class names never leak into other pages' own unrelated
   same-named classes, e.g. a shop page's own filter ".sidebar") ---------- */
.app { min-height: 100vh; position: relative; z-index: 1; }

.b24-shell .sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(178deg, #0D1B3E 0%, #10214A 55%, #0D1B3E 100%);
  color: var(--white);
  position: fixed; inset: 0 auto 0 0;
  display: flex; flex-direction: column;
  z-index: 60;
  transition: transform .28s cubic-bezier(.22,.9,.3,1);
  box-shadow: 4px 0 24px rgba(13,27,62,0.18);
}
.b24-shell .sidebar .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--navy-line);
}
.b24-shell .sidebar .brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #F0A500, #CC8C00);
  color: var(--navy);
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px;
  box-shadow: 0 6px 16px rgba(240,165,0,0.35);
}
.b24-shell .sidebar .brand .name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; color: #ffffff; }
.b24-shell .sidebar .brand .name span { color: #F0A500; }
.b24-shell .sidebar nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.b24-shell .sidebar nav::-webkit-scrollbar { width: 4px; }
.b24-shell .sidebar nav::-webkit-scrollbar-thumb { background: #24365F; border-radius: 4px; }
.b24-shell .sidebar .nav-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: #8FA0C7;
  padding: 14px 10px 6px;
}
.b24-shell .sidebar .nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: 11px;
  color: #C9D3E8;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 500;
  margin-bottom: 2px;
  position: relative;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.b24-shell .sidebar .nav-item svg { width: 19px; height: 19px; flex: none; }
.b24-shell .sidebar .nav-item:hover { background: var(--navy-soft); color: #ffffff; transform: translateX(3px); }
.b24-shell .sidebar .nav-item.active {
  background: linear-gradient(135deg, #F0A500, #E09A00);
  color: #0D1B3E;
  box-shadow: 0 8px 18px rgba(240,165,0,0.3);
}
.b24-shell .sidebar .side-foot { padding: 14px 12px; border-top: 1px solid var(--navy-line); }

.b24-shell .side-overlay { display: none; position: fixed; inset: 0; background: rgba(13,27,62,0.55); z-index: 55; backdrop-filter: blur(2px); }

/* ---------- Main column ---------- */
.b24-shell .main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; position: relative; z-index: 1; }

.b24-shell .topbar {
  height: 64px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
  padding: 0 22px;
  position: sticky; top: 0; z-index: 40;
}
.b24-shell .topbar .burger { display: none; background: none; border: none; color: var(--navy); padding: 6px; }
.b24-shell .topbar .burger svg { width: 24px; height: 24px; }
.b24-shell .topbar .page-title { font-size: 17px; font-weight: 600; }
.b24-shell .topbar .spacer { flex: 1; }
.b24-shell .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #0D1B3E, #24365F);
  color: #ffffff;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px;
  box-shadow: 0 4px 12px rgba(13,27,62,0.25);
}

.b24-shell .content { padding: 26px 24px 110px; max-width: 1200px; position: relative; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.22,.9,.3,1), box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card.hoverable:hover, a.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: #F0A500;
}
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .tilt-inner { transform: translateZ(24px); }

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.stat { display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.stat::after {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(240,165,0,0.10);
}
.stat .k { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #5B6A8C; }
.stat .v { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600; color: #0D1B3E; }
.stat .sub { font-size: 13px; color: #5B6A8C; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px;
  padding: 13px 22px;
  font-size: 14px; font-weight: 600;
  position: relative; overflow: hidden;
  transition: filter .16s ease, transform .12s ease, box-shadow .2s ease;
}
.btn::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold { background: linear-gradient(135deg, #F0A500, #E09A00); color: #0D1B3E; box-shadow: 0 8px 20px rgba(240,165,0,0.32); }
.btn-navy { background: linear-gradient(135deg, #0D1B3E, #1A2C57); color: #ffffff; box-shadow: 0 8px 20px rgba(13,27,62,0.28); }
.btn-outline { background: #ffffff; color: #0D1B3E; border: 1.5px solid #0D1B3E; }
.btn-ghost { background: transparent; color: #0D1B3E; }
.btn-danger { background: #D64545; color: #ffffff; }
.btn-block { width: 100%; }
.btn[disabled] { filter: grayscale(0.4) brightness(0.92); cursor: not-allowed; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 500; color: #0D1B3E; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  font-size: 15px; color: #0D1B3E;
  background: #ffffff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #F0A500;
  box-shadow: 0 0 0 4px rgba(240,165,0,0.16);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 13px; color: #5B6A8C; margin-top: 5px; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 11px; font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500; }
.badge-gold { background: #FDF1D7; color: #B97A00; }
.badge-green { background: #E2F5EA; color: #1F9D55; }
.badge-navy { background: #E8EDF7; color: #0D1B3E; }
.badge-red { background: #FBE7E7; color: #D64545; }

/* ---------- Lists / empty ---------- */
.list-item { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); transition: transform .18s ease; }
.list-item:hover { transform: translateX(3px); }
.list-item:last-child { border-bottom: none; }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px; color: #0D1B3E; }
.list-item .li-sub { font-size: 13px; color: #5B6A8C; margin-top: 2px; }

.empty { text-align: center; padding: 44px 18px; color: #5B6A8C; }
.empty .empty-icon { width: 54px; height: 54px; border-radius: 15px; background: #E8EDF7; color: #0D1B3E; display: grid; place-items: center; margin: 0 auto 14px; }
.empty h3 { margin-bottom: 6px; }

/* ---------- Skeleton ---------- */
.skel { border-radius: 10px; background: linear-gradient(90deg, #E8EDF7 25%, #F4F6FB 50%, #E8EDF7 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Toast ---------- */
#toast-wrap { position: fixed; bottom: 92px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: #0D1B3E; color: #ffffff; border-radius: 13px; padding: 13px 22px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lift); animation: toast-in .3s cubic-bezier(.22,.9,.3,1); max-width: 88vw; }
.toast.ok { background: #1F9D55; }
.toast.bad { background: #D64545; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(13,27,62,0.55); backdrop-filter: blur(3px); z-index: 150; display: grid; place-items: center; padding: 18px; animation: fade-in .2s ease; }
.modal { background: #ffffff; border-radius: 18px; padding: 26px; width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lift); animation: modal-in .3s cubic-bezier(.22,.9,.3,1); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- Step wizard ---------- */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 26px; }
.steps .step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; }
.steps .step::before {
  content: '';
  position: absolute; top: 17px; left: -50%; right: 50%;
  height: 2.5px; background: #E1E6EF; z-index: 0;
  transition: background .3s ease;
}
.steps .step:first-child::before { display: none; }
.steps .step .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: #ffffff; border: 2.5px solid #E1E6EF;
  color: #5B6A8C;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  position: relative; z-index: 1;
  transition: all .3s ease;
}
.steps .step .lbl { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500; color: #5B6A8C; }
.steps .step.active .dot { border-color: #F0A500; background: #F0A500; color: #0D1B3E; box-shadow: 0 0 0 6px rgba(240,165,0,0.18); }
.steps .step.active .lbl { color: #0D1B3E; }
.steps .step.done .dot { border-color: #F0A500; background: #FDF1D7; color: #B97A00; }
.steps .step.done::before, .steps .step.active::before { background: #F0A500; }

.step-pane { display: none; animation: pane-in .35s cubic-bezier(.22,.9,.3,1); }
.step-pane.show { display: block; }
@keyframes pane-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* category picker */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat {
  border: 2px solid var(--line); border-radius: 14px;
  background: #ffffff;
  padding: 16px 12px;
  text-align: center; cursor: pointer;
  transition: all .2s ease;
}
.cat svg { width: 26px; height: 26px; color: #0D1B3E; margin: 0 auto 8px; }
.cat .ct { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 13px; color: #0D1B3E; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat.selected { border-color: #F0A500; background: #FFFBF0; box-shadow: 0 8px 20px rgba(240,165,0,0.2); }
.cat.selected svg { color: #B97A00; }

/* photo upload */
.upload-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.upload-tile {
  aspect-ratio: 1;
  border: 2px dashed var(--line); border-radius: 13px;
  display: grid; place-items: center;
  color: #5B6A8C; cursor: pointer;
  transition: all .2s ease;
  overflow: hidden; position: relative;
}
.upload-tile:hover { border-color: #F0A500; color: #B97A00; }
.upload-tile img { width: 100%; height: 100%; object-fit: cover; }
.upload-tile .rm {
  position: absolute; top: 5px; right: 5px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #0D1B3E; color: #ffffff; border: none;
  font-size: 13px; line-height: 1;
}

/* quote compare */
.quote-card { border: 2px solid var(--line); }
.quote-card.best { border-color: #F0A500; }
.quote-card .qc-amount { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 600; color: #0D1B3E; }
.ribbon {
  position: absolute; top: 14px; right: -8px;
  background: linear-gradient(135deg, #F0A500, #CC8C00);
  color: #0D1B3E;
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .05em;
  padding: 5px 12px; border-radius: 7px 0 0 7px;
  box-shadow: 0 4px 10px rgba(240,165,0,0.35);
}

/* ---------- Emergency accents ---------- */
.emergency-card { background: linear-gradient(140deg, #0D1B3E, #16274F); border-radius: var(--radius); padding: 24px; color: #ffffff; position: relative; overflow: hidden; }
.emergency-card h2, .emergency-card h3 { color: #ffffff; }
.emergency-card p { color: #C9D3E8; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #F0A500; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,165,0,0.5); } 70% { box-shadow: 0 0 0 12px rgba(240,165,0,0); } 100% { box-shadow: 0 0 0 0 rgba(240,165,0,0); } }

/* ---------- Bottom nav ---------- */
body.has-bottom-nav { padding-bottom: 96px; }
@media (min-width: 961px) { body.has-bottom-nav { padding-bottom: 0; } }
.desktop-footer-wrap { display: none; }
@media (min-width: 961px) {
  .mobile-nav-wrap { display: none; }
  .desktop-footer-wrap { display: block; }
}
.bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 50;
  padding: 10px 4px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav .bn-arc {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 0;
  fill: rgba(255,255,255,0.92);
  filter: drop-shadow(0 -2px 10px rgba(13,27,62,0.10));
}
.bottom-nav .bn-item { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: #0D1B3E; font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 500; transition: transform .15s ease; }
.bottom-nav .bn-item:active { transform: scale(0.94); }
.bottom-nav .bn-item svg { width: 21px; height: 21px; }
.bottom-nav .bn-item.active { color: #0D1B3E; }
.bottom-nav .bn-item.active svg { color: #F0A500; }

/* FAB floating menu (opened by the centre FAB button) — a
   semi-circular fan of 5 round buttons that pop out above the FAB,
   each landing at its own --tx/--ty offset (set inline per item). */
.fab-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(13,27,62,0.35); z-index: 59; }
.fab-menu-overlay.show { display: block; }
.fab-menu {
  position: fixed; left: 50%; bottom: 58px;
  width: 0; height: 0; z-index: 60;
}
.fab-menu-item {
  position: absolute; left: 0; bottom: 0; margin-left: -29px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #ffffff; box-shadow: 0 6px 18px rgba(13,27,62,0.28);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translate(0, 0) scale(0.3);
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), opacity .2s ease;
}
.fab-menu.open .fab-menu-item {
  opacity: 1; pointer-events: auto;
  transform: translate(var(--tx), var(--ty)) scale(1);
}
.fab-menu-item:active { transform: translate(var(--tx), var(--ty)) scale(0.9); }
.fmi-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: #0D1B3E; flex: none; }
.fmi-icon svg { width: 20px; height: 20px; }
.fmi-label {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; font-weight: 700; color: #0D1B3E; white-space: nowrap;
  background: #ffffff; padding: 3px 7px; border-radius: 7px;
  box-shadow: 0 2px 8px rgba(13,27,62,0.18);
}

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; position: relative; z-index: 1; }
.auth-hero {
  background: linear-gradient(150deg, #0D1B3E 0%, #10214A 60%, #0A1530 100%);
  color: #ffffff;
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-hero > div, .auth-hero > p { position: relative; z-index: 2; }
.auth-hero h1 { color: #ffffff; font-size: 38px; line-height: 1.18; }
.auth-hero h1 span { color: #F0A500; }
.auth-hero p { color: #C9D3E8; font-size: 17px; margin-top: 14px; max-width: 430px; }
.auth-hero .hero-points { margin-top: 36px; display: flex; flex-direction: column; gap: 15px; }
.auth-hero .hero-points .hp { display: flex; gap: 12px; align-items: flex-start; color: #C9D3E8; font-size: 15px; }
.auth-hero .hero-points .hp svg { width: 20px; height: 20px; color: #F0A500; flex: none; margin-top: 1px; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 22px; position: relative; }
.auth-card { width: 100%; max-width: 450px; }
.auth-card .tabs { display: flex; gap: 6px; background: #E8EDF7; border-radius: 13px; padding: 5px; margin-bottom: 24px; }
.auth-card .tabs button { flex: 1; border: none; border-radius: 10px; padding: 11px; background: transparent; color: #0D1B3E; font-size: 14px; font-weight: 500; transition: all .2s ease; }
.auth-card .tabs button.active { background: #ffffff; font-weight: 600; box-shadow: 0 3px 8px rgba(13,27,62,0.12); }

.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.role-pick .role { border: 2px solid var(--line); border-radius: 13px; padding: 16px 14px; text-align: center; cursor: pointer; background: #ffffff; transition: all .2s ease; }
.role-pick .role:hover { transform: translateY(-2px); }
.role-pick .role svg { width: 26px; height: 26px; color: #0D1B3E; margin: 0 auto 8px; }
.role-pick .role .rt { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: #0D1B3E; }
.role-pick .role .rs { font-size: 12px; color: #5B6A8C; margin-top: 3px; }
.role-pick .role.selected { border-color: #F0A500; background: #FFFBF0; box-shadow: 0 8px 20px rgba(240,165,0,0.2); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .b24-shell .sidebar { transform: translateX(-100%); }
  .b24-shell .sidebar.open { transform: none; }
  .b24-shell .side-overlay.show { display: block; }
  .b24-shell .main { margin-left: 0; }
  .b24-shell .topbar .burger { display: inline-flex; }
  .bottom-nav { display: flex; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .upload-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .b24-shell .content { padding: 18px 16px 108px; }
  h1 { font-size: 23px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Marketplace home components (v3)
   ============================================================ */
.mk-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 10px;
}
.mk-wordmark { display: flex; flex-direction: column; line-height: 1; }
.mk-wordmark .wm {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 24px; color: #0D1B3E; letter-spacing: -0.02em;
}
.mk-wordmark .wm span { color: #F0A500; }
.mk-wordmark .tag { font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 500; color: #0D1B3E; margin-top: 3px; letter-spacing: 0.02em; }
.mk-topbar .spacer { flex: 1; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 12px;
  background: transparent; border: none;
  display: grid; place-items: center; color: #0D1B3E;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .dot-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 17px; height: 17px; border-radius: 999px;
  background: #F0A500; color: #0D1B3E;
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600;
  display: grid; place-items: center; padding: 0 4px;
}

.mk-search {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 16px 14px;
  background: #ffffff;
  border: 1.5px solid #E1E6EF; border-radius: 14px;
  padding: 13px 14px;
}
.mk-search svg { width: 21px; height: 21px; color: #5B6A8C; flex: none; }
.mk-search input {
  flex: 1; border: none; outline: none;
  font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; color: #0D1B3E;
  background: transparent;
}
.mk-search input::placeholder { color: #8A96B0; }

/* Hero carousel */
.hero-car { margin: 0 16px 16px; position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(13,27,62,0.22); }
.hero-slide {
  display: none;
  position: relative;
  min-height: 300px;
  background: linear-gradient(115deg, #0D1B3E 42%, #16274F 70%, #24365F 100%);
}
.hero-slide.show { display: block; animation: fade-in .5s ease; }
.hero-slide img.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
}
.hero-slide .hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,27,62,0.94) 0%, rgba(13,27,62,0.82) 36%, rgba(13,27,62,0.12) 72%, rgba(13,27,62,0) 100%);
}
.hero-slide .hero-copy { position: relative; z-index: 2; padding: 30px 26px; max-width: 62%; }
.hero-slide h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 30px; line-height: 1.14; color: #ffffff; margin-bottom: 10px;
}
.hero-slide h2 .gold { color: #F0A500; }
.hero-slide p { font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: #E1E6EF; margin-bottom: 18px; }
.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 7px; justify-content: center; z-index: 3; }
.hero-dots i { width: 8px; height: 8px; border-radius: 50%; background: #8FA0C7; transition: all .25s ease; }
.hero-dots i.on { background: #ffffff; width: 20px; border-radius: 6px; }

/* Quick actions */
.qa-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0 16px 20px;
  background: #ffffff; border: 1px solid #E1E6EF; border-radius: 18px;
  padding: 16px 8px;
  box-shadow: var(--shadow);
}
.qa {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-align: center;
}
.qa .qa-ic {
  width: 52px; height: 52px; border-radius: 15px;
  background: #FDF1D7; color: #0D1B3E;
  display: grid; place-items: center;
  transition: transform .18s ease;
}
.qa .qa-ic svg { width: 25px; height: 25px; }
.qa:active .qa-ic, .qa:hover .qa-ic { transform: translateY(-3px) scale(1.05); }
.qa .qa-lb { font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 500; color: #0D1B3E; line-height: 1.25; }

/* Section headers */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 16px 12px;
}
.sec-head h2 { font-size: 19px; }
.sec-head a { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 500; color: #0D1B3E; display: inline-flex; align-items: center; gap: 3px; }

/* Horizontal shelves */
.shelf {
  display: flex; gap: 12px;
  overflow-x: auto;
  padding: 2px 16px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf > * { scroll-snap-align: start; flex: none; }

.cat-card {
  width: 118px;
  background: #ffffff; border: 1px solid #E1E6EF; border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cat-card .cc-img {
  width: 100%; aspect-ratio: 1.06;
  background: linear-gradient(135deg, #E8EDF7, #F4F6FB);
  display: grid; place-items: center; color: #0D1B3E;
  overflow: hidden;
}
.cat-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .cc-img svg { width: 34px; height: 34px; }
.cat-card .cc-lb {
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 500; color: #0D1B3E;
  padding: 10px 10px 12px; line-height: 1.25; min-height: 52px;
}

/* Contractor cards */
.con-card {
  width: 250px;
  background: #ffffff; border: 1px solid #E1E6EF; border-radius: 16px;
  padding: 14px;
  display: flex; gap: 12px; align-items: flex-start;
  transition: transform .18s ease, box-shadow .18s ease;
}
.con-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.con-card .con-av {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #0D1B3E, #24365F);
  color: #ffffff; overflow: hidden; flex: none;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px;
  border: 2px solid #E8EDF7;
}
.con-card .con-av img { width: 100%; height: 100%; object-fit: cover; }
.con-card .con-body { min-width: 0; }
.con-card .con-rate {
  display: inline-flex; align-items: center; gap: 4px;
  background: #FDF1D7; color: #B97A00;
  border-radius: 999px; padding: 2px 9px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
  margin-bottom: 5px;
}
.con-card .con-rate svg { width: 13px; height: 13px; fill: #F0A500; stroke: #F0A500; }
.con-card .con-name { font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; font-weight: 600; color: #0D1B3E; line-height: 1.25; }
.con-card .con-trade { font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: #5B6A8C; margin-top: 2px; }
.con-card .con-loc { display: inline-flex; align-items: center; gap: 4px; font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: #5B6A8C; margin-top: 7px; }
.con-card .con-loc svg { width: 13px; height: 13px; }

/* Service cards */
.svc-card {
  width: 138px;
  background: #ffffff; border: 1px solid #E1E6EF; border-radius: 15px;
  padding: 16px 13px 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.svc-card .sv-ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: #FDF1D7; color: #0D1B3E;
  display: grid; place-items: center; margin-bottom: 11px;
}
.svc-card .sv-ic svg { width: 23px; height: 23px; }
.svc-card .sv-lb { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 500; color: #0D1B3E; line-height: 1.3; min-height: 34px; }
.svc-card .sv-pr { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; color: #5B6A8C; margin-top: 7px; }

/* Inline banner */
.mk-banner {
  display: flex; align-items: center; gap: 13px;
  margin: 0 16px 20px;
  background: #EEF2FA; border: 1px solid #E1E6EF; border-radius: 15px;
  padding: 14px 15px;
}
.mk-banner .bn-ic {
  width: 42px; height: 42px; border-radius: 11px;
  background: #ffffff; color: #0D1B3E;
  display: grid; place-items: center; flex: none;
}
.mk-banner .bn-ic svg { width: 22px; height: 22px; }
.mk-banner .bn-tx { flex: 1; min-width: 0; }
.mk-banner .bn-tt { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: #0D1B3E; }
.mk-banner .bn-sb { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; color: #5B6A8C; margin-top: 2px; }

/* Bottom nav with centre FAB */
.bottom-nav.fab-nav { align-items: flex-end; }
.bn-fab {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: -30px;
  border: none; background: none; cursor: pointer; font: inherit; padding: 0;
}
.bn-fab .fab-circle {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #0D1B3E, #1A2C57);
  color: #ffffff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(13,27,62,0.4);
  border: 4px solid #ffffff;
}
.bn-fab .fab-circle svg { width: 25px; height: 25px; }
.bn-fab span { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; color: #0D1B3E; }

@media (min-width: 961px) {
  .mk-wrap { max-width: 1180px; margin: 0 auto; }
  .qa-row { padding: 20px 14px; }
  .hero-slide { min-height: 340px; }
  .hero-slide .hero-copy { padding: 44px 40px; max-width: 46%; }
  .hero-slide h2 { font-size: 38px; }
}

/* ============================================================
   Greeting hero (MLA-style: navy card, gold blob, stat tiles)
   ============================================================ */
.greet-hero {
  position: relative;
  margin: 0 16px 18px;
  background: #0D1B3E;
  border-radius: 22px;
  padding: 24px 20px 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(13,27,62,0.28);
}
.greet-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -90px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: #D9A937;
}
.greet-hero::before {
  content: '';
  position: absolute;
  bottom: -160px; right: 30px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: #D9A937;
  z-index: 0;
}
.greet-hero > * { position: relative; z-index: 2; }
.greet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.greet-top h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 26px; color: #ffffff;
}
.greet-top h1 .nm { color: #ffffff; }
.date-chip {
  background: #2A2410; color: #E8C15A;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
  border-radius: 999px; padding: 8px 16px;
}
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 13px; }
.stat-tile {
  background: #16274F;
  border: 1px solid #24365F;
  border-radius: 15px;
  padding: 14px 13px;
  min-width: 0;
}
.stat-tile .st-k {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: #C9D3E8;
  margin-bottom: 9px; white-space: nowrap; overflow: hidden;
}
.stat-tile .st-k svg { width: 15px; height: 15px; color: #E8C15A; flex: none; }
.stat-tile .st-v {
  font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; color: #E8C15A;
}
.stat-tile .st-s { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; color: #C9D3E8; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.info-band {
  background: #16274F; border: 1px solid #24365F;
  border-radius: 15px;
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 13px;
}
.info-band .ib-k { font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #C9D3E8; }
.info-band .ib-v { font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 600; color: #ffffff; margin-top: 3px; }
.info-band .ib-r { text-align: right; }
.info-band .ib-r .ib-v { color: #E8C15A; font-size: 16px; }

.hero-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.hero-act {
  border-radius: 15px;
  padding: 17px 12px 14px;
  text-align: center;
  background: #16274F;
  border: 1px solid #24365F;
  transition: transform .16s ease, filter .16s ease;
}
.hero-act:active { transform: scale(0.97); }
.hero-act svg { width: 25px; height: 25px; color: #E8C15A; margin: 0 auto 9px; display: block; }
.hero-act .ha-lb { font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600; color: #ffffff; }
.hero-act.primary { background: #D9A937; border-color: #D9A937; }
.hero-act.primary svg { color: #0D1B3E; }
.hero-act.primary .ha-lb { color: #0D1B3E; }

.alert-band {
  display: flex; align-items: center; gap: 13px;
  margin: 0 16px 14px;
  background: #2B1214;
  border-radius: 16px;
  padding: 15px 16px;
}
.alert-band svg { width: 22px; height: 22px; color: #F08080; flex: none; }
.alert-band .ab-tx { flex: 1; font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: #ffffff; line-height: 1.45; }
.alert-band .ab-tx .hl { color: #F08080; font-weight: 600; }
.alert-band .btn { background: #F08080; color: #2B1214; padding: 10px 18px; font-size: 13px; }

@media (max-width: 420px) {
  .stat-tiles .st-v { font-size: 19px; }
  .greet-top h1 { font-size: 23px; }
}

/* ============================================================
   Shared header + modal + footer (header.js)
   Extracted from the approved index.html header design.
   Uses literal brand colours (navy #0D1B3E, gold #F0A500,
   white #ffffff) instead of index.html's local CSS variables,
   since this file has its own separate --navy/--white set.
   ============================================================ */
.app-header { background: none; margin: 0; }

/* Utility bar */
.util-bar { background: #0D1B3E; }
.util-bar-inner { color: #cbd3e0; font-size: 11.5px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; padding: 7px 16px; }
.util-deliver { display: flex; align-items: center; gap: 6px; background: none; border: none; color: #cbd3e0; font-family: 'Inter', sans-serif; font-size: 11.5px; }
.util-deliver strong { color: #ffffff; font-weight: 600; }
.util-mid { display: none; }
.util-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.util-right a { color: #cbd3e0; font-size: 11.5px; }
.util-div { width: 1px; height: 12px; background: #3a4763; }
.util-right .profile-menu-wrap { position: relative; }
.util-right .profile-avatar-btn { display: flex; align-items: center; gap: 5px; background: none; border: none; padding: 0; width: auto; height: auto; overflow: visible; border-radius: 0; flex-shrink: 0; }
.util-login-text { color: #cbd3e0; font-size: 11.5px; }
.util-right .profile-avatar-inner { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }

/* Header row */
.head-row { background: #ffffff; }
.head-row-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; }
.logo-text { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 20px; letter-spacing: 0.5px; color: #0D1B3E; line-height: 1; }
.logo-text .orange { color: #F0A500; }
.logo-text sup { font-size: 9px; margin-left: 1px; }
.logo-tagline { font-family: 'Inter', sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: 1.6px; color: #6B7280; margin-top: 5px; }
.head-search { order: 3; flex: 1 1 100%; margin: 0; }
.head-search-btn { width: 38px; height: 38px; flex-shrink: 0; background: #F0A500; border: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.head-icons { order: 2; display: flex; align-items: center; gap: 14px; margin-left: auto; }
.head-icon-item { display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; }
.head-icon-item span { font-size: 9.5px; color: #0D1220; font-weight: 500; white-space: nowrap; }
.head-icon-item .cart-badge-count { position: absolute; top: -6px; right: -8px; }
.head-currency { margin-top: -2px; }
.currency-badge { display: flex; align-items: center; gap: 2px; background: #0D1B3E; border: none; border-radius: 8px; padding: 6px 8px; color: #ffffff; font-size: 11.5px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; }
.cart-badge-count { position: absolute; top: -6px; right: -8px; background: #F0A500; color: #ffffff; font-size: 9.5px; font-weight: 800; min-width: 16px; height: 16px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 3px; border: 1.5px solid #0D1B3E; }
.search-bar { background: #ffffff; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.search-bar input { border: none; outline: none; flex: 1; font-size: 13px; font-family: 'Inter', sans-serif; color: #0D1220; background: transparent; }
.search-bar input::placeholder { color: #9AA1AE; }
.search-bar svg { flex-shrink: 0; }

/* Nav bar */
.head-nav { background: #ffffff; border-top: 1px solid #E7E9EC; overflow-x: auto; }
.head-nav::-webkit-scrollbar { display: none; }
.head-nav-inner { display: flex; align-items: center; gap: 18px; padding: 0 16px; height: 44px; white-space: nowrap; }
.head-nav a { font-size: 12.5px; color: #0D1220; font-weight: 500; flex-shrink: 0; }
.shop-all-btn { background: #0D1B3E; color: #ffffff; border: none; border-radius: 8px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

@media(min-width: 900px) {
  .util-mid { display: flex; gap: 8px; align-items: center; }
  .util-bar-inner { max-width: 1200px; margin: 0 auto; padding: 8px 40px; }
  .head-row-inner { max-width: 1200px; margin: 0 auto; padding: 16px 40px; flex-wrap: nowrap; }
  .head-search { order: 0; flex: 1 1 auto; max-width: 640px; }
  .head-icons { order: 0; margin-left: 0; gap: 26px; }
  .head-icon-item span { font-size: 12px; }
  .head-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
}

/* ===== Profile menu ===== */
.profile-menu-wrap { position: relative; }
.profile-avatar-btn { position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,0.16); border: 1.5px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0; margin-top: 2px; }
.profile-avatar-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.avatar-plus-badge { position: absolute; bottom: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: #F0A500; border: 1.5px solid #0D1B3E; display: flex; align-items: center; justify-content: center; }
.profile-avatar-inner img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-inner span { color: #ffffff; font-size: 13px; font-weight: 800; font-family: 'Inter', sans-serif; }
.profile-dropdown { position: absolute; top: calc(100% + 12px); right: 0; background: #0D1B3E; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); min-width: 180px; padding: 6px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all .18s ease; z-index: 60; }
.profile-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-item { display: block; width: 100%; text-align: left; padding: 11px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #ffffff; background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
#profileDropdown .dropdown-item{ color:#ffffff !important; }
.dropdown-item:hover { background: #16295A; }

/* ===== Location & currency modal ===== */
.b24loc-overlay { position: fixed; inset: 0; background: rgba(9,15,32,0.55); display: flex; align-items: flex-end; justify-content: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.b24loc-overlay.open { opacity: 1; pointer-events: auto; }
.b24loc-sheet { width: 100%; max-width: 430px; background: #ffffff; border-radius: 20px 20px 0 0; max-height: 82vh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s ease; }
.b24loc-overlay.open .b24loc-sheet { transform: translateY(0); }
.b24loc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #E7E9EC; flex-shrink: 0; }
.b24loc-head h3 { font-size: 15px; font-weight: 800; font-family: 'Inter', sans-serif; color: #0D1220; }
.b24loc-close { width: 28px; height: 28px; border-radius: 50%; background: #EEF0F3; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; }
.b24loc-body { overflow-y: auto; padding: 16px 18px 8px; }
.loc-search { width: 100%; border: 1px solid #E7E9EC; border-radius: 10px; padding: 10px 12px; font-size: 13px; outline: none; margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.loc-list { display: flex; flex-direction: column; }
.loc-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid #F3F4F6; cursor: pointer; }
.loc-item:last-child { border-bottom: none; }
.loc-item-name { font-size: 12.5px; font-weight: 600; color: #0D1220; font-family: 'Inter', sans-serif; }
.loc-item-country { font-size: 10.5px; color: #6B7280; font-weight: 500; margin-top: 1px; font-family: 'Inter', sans-serif; }
.loc-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #E7E9EC; flex-shrink: 0; }
.loc-item.selected .loc-check { border-color: #F0A500; background: #F0A500; }
.loc-item.selected .loc-item-name { color: #F0A500; }
.currency-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.currency-chip { border: 1px solid #E7E9EC; border-radius: 10px; padding: 8px 12px; font-size: 11.5px; font-weight: 700; color: #0D1220; display: flex; align-items: center; gap: 5px; cursor: pointer; font-family: 'Inter', sans-serif; }
.currency-chip .sym { color: #6B7280; font-weight: 500; }
.currency-chip.selected { background: #FFF1E2; border-color: #F0A500; color: #F0A500; }
.currency-chip.selected .sym { color: #F0A500; }
.currency-note { font-size: 9.5px; color: #6B7280; font-weight: 500; margin-top: 10px; line-height: 1.4; font-family: 'Inter', sans-serif; }
.b24loc-foot { padding: 14px 18px 20px; border-top: 1px solid #E7E9EC; flex-shrink: 0; }
.b24loc-apply-btn { width: 100%; background: #0D1B3E; color: #ffffff; font-size: 13px; font-weight: 700; padding: 13px; border-radius: 12px; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }

/* ===== Guest marketing footer (shown to guests on toggle pages) ===== */
.b24-footer { background: #0D1B3E; color: #ffffff; padding: 40px 20px 20px; }
.b24-footer-inner { max-width: 1100px; margin: 0 auto; }
.b24-footer-grid { display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid #22335c; }
.b24-footer-brand .wm { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 19px; color: #ffffff; }
.b24-footer-brand .wm span { color: #F0A500; }
.b24-footer-brand p { font-size: 12.5px; color: #ffffff; margin-top: 8px; max-width: 260px; line-height: 1.5; font-family: 'Inter', sans-serif; }
.b24-footer-col { min-width: 140px; }
.b24-footer-col h4 { font-size: 12px; font-weight: 700; color: #F0A500; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.b24-footer-col a { display: block; font-size: 13px; color: #ffffff; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.b24-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; }
.b24-footer-bottom p { font-size: 11.5px; color: #ffffff; font-family: 'Inter', sans-serif; }
.b24-footer-bottom .social { display: flex; gap: 12px; }
.b24-footer-bottom .social a { color: #ffffff; width: 18px; height: 18px; }
.b24-footer-bottom .social svg { width: 18px; height: 18px; }
