 
/* ---------- TOKENS ---------- */
:root {
  /* -- --primary: #0F172A; --- */
  --primary:#001A70;
  --secondary: #2563EB;
  --secondary-50: #EFF6FF;
  --accent: #F97316;
  --accent-50: #FFF7ED;
  --success: #10B981;
  --warn: #F59E0B;
  --danger: #EF4444;

  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --text: #111827;
  --text-soft: #4B5563;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 6px 18px -8px rgba(15,23,42,.18), 0 2px 6px -2px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 40px -20px rgba(15,23,42,.25);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --header-h: 64px;
  --bottom-h: 70px;
  --container: 1280px;

  --font: 'Poppins', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-theme="dark"] {
  --bg: #0B1220;
  --surface: #121A2B;
  --surface-2: #1A2336;
  --text: #E5E7EB;
  --text-soft: #B7C0CF;
  --text-muted: #8693A8;
  --border: #243049;
  --border-strong: #334060;
  --secondary-50: #1A2440;
  --accent-50: #2A1B0F;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px -8px rgba(0,0,0,.55), 0 2px 6px -2px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.7);
}

/* ---------- RESET ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input,select,textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3,h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(20px, 3.2vw, 28px); font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
p  { margin: 0; color: var(--text-soft); }
.muted { color: var(--text-muted); }
.tiny { font-size: 12px; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }
.section { padding: 28px 0; }
.section-head {
  display:flex; align-items:end; justify-content:space-between;
  margin-bottom:16px; gap:12px;
}
.section-head .link {
  color: var(--secondary); font-size: 13px; font-weight: 600;
  display:inline-flex; align-items:center; gap:4px;
}
.section-head .link:hover { text-decoration: underline; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #1E293B; box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #EA6A0E; box-shadow: 0 8px 22px -8px rgba(249,115,22,.6); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #1D4ED8; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--surface-2); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .ic { font-size: 16px; }

/* ---------- ICON BUTTON ---------- */
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  transition: background .2s, color .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn.danger:hover { color: var(--danger); }

/* ---------- BADGES & CHIPS ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; font-size: 11px; font-weight: 600;
  border-radius: 999px; letter-spacing: .02em;
}
.badge-premium { background: linear-gradient(90deg,#F59E0B,#F97316); color:#fff; }
.badge-verified { background: var(--secondary-50); color: var(--secondary); }
.badge-success { background: #DCFCE7; color: #047857; }
.badge-soft { background: var(--surface-2); color: var(--text-soft); }
[data-theme="dark"] .badge-success { background: #064E3B; color: #6EE7B7; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer; white-space: nowrap;
}
.chip:hover { background: var(--surface-2); }
.chip.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
[data-theme="dark"] .chip.active { background: var(--secondary); border-color: var(--secondary); }

body{
  padding-top: 72px;
}

/* ---------- HEADER ---------- */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  height: 72px;

  z-index: 99999;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid #e5e7eb;
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 18px; letter-spacing: -.02em;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; bottom: -2px; right: -2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--surface);
}
.logo span b { color: var(--accent); }

.header-search {
  flex: 1;
  display: none;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  max-width: 640px;
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 18%, transparent);
}
.header-search input {
  flex: 1; border: 0; background: transparent; outline: 0;
  font-size: 14px; padding: 6px 8px;
}
.header-search .divider {
  width: 1px; height: 22px; background: var(--border);
}
.header-search .loc {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-soft); padding: 0 12px;
  white-space: nowrap;
}
.header-search .go {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.header-search .go:hover { background: var(--accent); }
@media (min-width: 768px) { .header-search { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-actions .icon-btn { width: 38px; height: 38px; border: 0; background: transparent; }
.header-actions .icon-btn:hover { background: var(--surface-2); }
.header-actions .post-btn { display: none; }
@media (min-width: 1024px) { .header-actions .post-btn { display: inline-flex; } }

.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--text);
  border: 1px solid var(--border);
  overflow: hidden;
}
.avatar img { width:100%; height:100%; object-fit: cover; }
.dot-indicator {
  position: relative;
}
.dot-indicator::after {
  content: ""; position: absolute; top: 9px; right: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--surface);
}

/* Mobile menu trigger */
.menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ---------- MOBILE TOP SEARCH ---------- */
.mobile-search {
  display: block;
  padding: 10px 16px 14px;
}
@media (min-width: 768px) { .mobile-search { display: none; } }
.mobile-search .ms-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  box-shadow: var(--shadow-sm);
}
.mobile-search .ms-row input {
  flex: 1; background: transparent; border: 0; outline: 0; font-size: 14px;
}
.mobile-search .ms-row .ic { color: var(--text-muted); font-size: 16px; }
.mobile-search .ms-row .mic {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-2); display:inline-flex; align-items:center; justify-content:center;
  color: var(--secondary);
}
.mobile-search .ms-row .filt {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display:inline-flex; align-items:center; justify-content:center;
}
 
/* Sticky compact pills below sticky search */
.sticky-pills {
  position: sticky;
  top: 72px; /* same as header height */
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}

.sticky-pills.scrolled {
  border-color: var(--border);
}
.pills-row {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 0 16px; scrollbar-width: none;
}
.pills-row::-webkit-scrollbar { display: none; }

/* ---------- HERO ---------- */
.hero {
  padding: 12px 0 4px;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex; align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(15,23,42,.78), rgba(15,23,42,.2)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1600&q=70") center/cover;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.hero-card .hero-body { padding: 22px; max-width: 560px; }
.hero-card h1 { color: #fff; }
.hero-card p { color: rgba(255,255,255,.85); margin-top: 6px; }
.hero-card .hero-cta { margin-top: 14px; display:flex; gap:8px; flex-wrap: wrap; }
.hero-card .pill-stat {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
}
@media (min-width: 768px) {
  .hero-card { min-height: 320px; }
}

.promo-row {
  display: grid; gap: 12px; margin-top: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .promo-row { grid-template-columns: repeat(4, 1fr); } }
.promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex; align-items: center; gap: 12px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
.promo-card .pc-ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: var(--accent-50); color: var(--accent);
}
.promo-card.alt .pc-ic { background: var(--secondary-50); color: var(--secondary); }
.promo-card .pc-title { font-size: 13px; font-weight: 600; }
.promo-card .pc-sub { font-size: 11px; color: var(--text-muted); }

/* ---------- CATEGORIES GRID ---------- */
.cat-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 540px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(10, 1fr); } }
.cat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s, background .2s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-tile .ic {
  width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--surface-2);
  color: var(--primary);
}
[data-theme="dark"] .cat-tile .ic { color: var(--text); }
.cat-tile .nm { font-size: 12px; font-weight: 500; }

/* ---------- LISTING CARD ---------- */
.list-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 640px) { .list-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .list-grid { grid-template-columns: repeat(4, 1fr); } }
.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.list-card .img-wrap {
  position: relative; aspect-ratio: 4/3; background: var(--surface-2);
}
.list-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.list-card:hover .img-wrap img { transform: scale(1.04); }
.list-card .img-wrap .save {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; backdrop-filter: blur(6px);
  transition: transform .2s, color .2s, background .2s;
}
.list-card .img-wrap .save.active { color: var(--accent); }
.list-card .img-wrap .save:active { transform: scale(.9); }
.list-card .img-wrap .badge {
  position: absolute; top: 10px; left: 10px;
}
.list-card .img-wrap .ts {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(15,23,42,.7);
  color: #fff; font-size: 11px;
  padding: 3px 8px; border-radius: 999px; font-weight: 500;
}
.list-card .body { padding: 12px; display:flex; flex-direction: column; gap: 6px; }
.list-card .price { font-weight: 700; font-size: 16px; color: var(--text); }
.list-card .title {
  font-size: 13px; font-weight: 500; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card .meta {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--text-muted);
}
.list-card .meta .dot { width: 3px; height: 3px; border-radius:50%; background: var(--border-strong); }

/* horizontal carousel scroller */
.h-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 6px; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { flex: 0 0 70%; scroll-snap-align: start; }
@media (min-width: 640px) { .h-scroll > * { flex-basis: 38%; } }
@media (min-width: 1024px) { .h-scroll > * { flex-basis: 23%; } }

/* ---------- LOCATIONS GRID ---------- */
.loc-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .loc-grid { grid-template-columns: repeat(4, 1fr); } }
.loc-card {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius);
  overflow: hidden; color: #fff;
  display: flex; align-items: end;
}
.loc-card img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover;
  transition: transform .5s var(--ease); }
.loc-card:hover img { transform: scale(1.06); }
.loc-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.7));
}
.loc-card .meta {
  position: relative; padding: 12px; z-index: 1;
}
.loc-card .meta .nm { font-weight: 600; font-size: 15px; }
.loc-card .meta .ct { font-size: 11px; opacity: .85; }

/* ---------- BOTTOM NAV (MOBILE) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-around; align-items: center;
}
@media (min-width: 1024px) { .bottom-nav { display: none; } }
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; color: var(--text-muted);
  transition: color .2s;
  padding: 4px 0;
}
.bottom-nav a .ic { font-size: 18px; }
.bottom-nav a.active { color: var(--primary); }
[data-theme="dark"] .bottom-nav a.active { color: #fff; }
.bottom-nav .fab {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #FB923C);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 12px 24px -10px rgba(249,115,22,.6);
  margin-top: -28px;
  border: 4px solid var(--surface);
  transition: transform .25s var(--ease);
}
.bottom-nav .fab:hover { transform: rotate(90deg) scale(1.05); }

/* ---------- DRAWER ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  display: none;
}
.drawer.open { display: block; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(2px);
  animation: fade .2s;
}
.drawer-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 86%;
  max-width: 360px;
  background: var(--surface);
  padding: 20px;
  display: flex; flex-direction: column;
  animation: slideR .25s var(--ease);
  overflow-y: auto;
}
@keyframes slideR { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer-panel .user-card {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.drawer-panel .user-card .avatar { width: 48px; height: 48px; }
.drawer-nav { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px; font-size: 14px; color: var(--text-soft);
  transition: background .2s, color .2s;
}
.drawer-nav a .ic { width: 22px; color: var(--text-muted); }
.drawer-nav a:hover { background: var(--surface-2); color: var(--text); }
.drawer-nav a.active { background: var(--secondary-50); color: var(--secondary); }
[data-theme="dark"] .drawer-nav a.active { color: #fff; }

.theme-toggle-row {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.switch {
  position: relative; width: 44px; height: 24px;
  background: var(--border-strong); border-radius: 999px;
  cursor: pointer; transition: background .2s;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
  transition: transform .25s var(--ease);
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.switch.on { background: var(--secondary); }
.switch.on::after { transform: translateX(20px); }

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(8px);
  display: none;
}
.search-overlay.open { display: block; animation: fade .2s; }
.search-panel {
  background: var(--surface);
  max-width: 720px; margin: 60px auto;
  border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-lg);
  animation: pop .25s var(--ease);
}
@keyframes pop { from { opacity:0; transform: translateY(20px) scale(.97);} to { opacity:1; transform:none;} }
@media (max-width: 540px) {
  .search-panel { margin: 0; border-radius: 0; min-height: 100vh; }
}
.search-panel .sp-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border-radius: 14px;
  padding: 10px 14px; border: 1px solid var(--border);
}
.search-panel .sp-row input {
  flex:1; background: transparent; border: 0; outline: 0; font-size: 15px;
}
.search-panel .close {
  width:36px; height:36px; border-radius: 999px;
  background: var(--surface-2);
  display:inline-flex; align-items:center; justify-content:center;
}
.sp-section { margin-top: 18px; }
.sp-section h4 {
  font-size: 12px; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px;
}
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-list { display:flex; flex-direction: column; }
.sp-list a {
  padding: 10px 4px; display: flex; align-items: center; gap: 10px;
  font-size: 14px; border-bottom: 1px solid var(--border);
}
.sp-list a:last-child { border: 0; }
.sp-list a .ic { color: var(--text-muted); }
.sp-list a .arrow { margin-left: auto; color: var(--text-muted); }

/* ---------- TOAST ---------- */
.toast-host {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--bottom-h) + 18px); z-index: 120;
  display: flex; flex-direction: column; gap: 8px;
}
@media (min-width: 1024px) { .toast-host { bottom: 24px; } }
.toast {
  background: var(--primary); color: #fff;
  padding: 12px 16px; border-radius: 12px;
  font-size: 13px; box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap:10px;
  min-width: 240px; max-width: 360px;
  animation: pop .25s var(--ease);
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast .ic { font-size: 16px; }

/* ---------- SKELETON & SHIMMER ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--border) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 200% 0;} 100% { background-position: -200% 0;} }
.skel-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
}
.skel-card .skeleton + .skeleton { margin-top: 8px; }

/* ---------- EMPTY / ERROR STATE ---------- */
.state-block {
  text-align: center; padding: 40px 16px;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); color: var(--text-soft);
}
.state-block .ic {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--surface-2); color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 10px;
}
.state-block h3 { color: var(--text); margin-bottom: 4px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 36px 0 90px;
  margin-top: 40px;
}
[data-theme="dark"] .footer { background: #07101F; }
@media (min-width: 1024px) { .footer { padding-bottom: 36px; } }
.footer-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { font-size: 13px; color: #94a3b8; }
.footer a:hover { color: #fff; }
.footer .brand-blurb { color: #94a3b8; font-size: 13px; margin-top: 8px; max-width: 340px; }
.footer .social { display: flex; gap: 10px; margin-top: 12px; }
.footer .social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.footer .social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 24px; padding-top: 16px;
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #94a3b8; font-size: 12px;
}

/* ===========================================================
   LISTINGS PAGE
   =========================================================== */
.page-head {
  padding: 18px 0 8px;
}
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--text); }

.listing-layout {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .listing-layout { grid-template-columns: 260px 1fr; } }

.filter-sidebar {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: sticky; top: calc(var(--header-h) + 16px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
}
@media (min-width: 1024px) { .filter-sidebar { display: block; } }
.filter-section { padding: 14px 0; border-bottom: 1px solid var(--border); }
.filter-section:first-child { padding-top: 0; }
.filter-section:last-child { border-bottom: 0; }
.filter-section h4 { font-size: 13px; margin-bottom: 10px; }
.filter-option {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 13px; color: var(--text-soft);
  cursor: pointer;
}
.filter-option input { accent-color: var(--secondary); }
.filter-option .count { margin-left: auto; font-size: 11px; color: var(--text-muted); }

.range-input {
  width: 100%; -webkit-appearance: none; appearance: none;
  background: var(--border); height: 4px; border-radius: 999px;
  outline: 0;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--secondary);
  cursor: pointer; border: 3px solid var(--surface);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.toolbar {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.toolbar .count { font-size: 13px; color: var(--text-soft); margin-right: auto; }
.toolbar .seg {
  display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px;
}
.toolbar .seg button {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500;
  color: var(--text-soft);
}
.toolbar .seg button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.toolbar select {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 12px; font-size: 12px; outline: 0;
}

/* List view variant */
.list-view .list-card {
  flex-direction: row;
  align-items: stretch;
}
.list-view .list-card .img-wrap { width: 40%; max-width: 220px; aspect-ratio: 4/3; }
.list-view .list-card .body { padding: 14px; flex: 1; }

/* ===========================================================
   LISTING DETAILS PAGE
   =========================================================== */
.details-layout {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .details-layout { grid-template-columns: 1fr 360px; } }

.gallery {
  display: grid; gap: 8px; border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery .g-main { grid-row: span 2; }
  .gallery > div { aspect-ratio: auto; }
}
.gallery > div { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery > div:hover img { transform: scale(1.05); }
.gallery .more {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 16px;
}
.price-head {
  display:flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  flex-wrap: wrap;
}
.price-head .title { font-size: 18px; font-weight: 600; }
.price-head .price { font-size: 24px; font-weight: 700; color: var(--text); }

.feat-grid {
  display: grid; gap: 10px; margin-top: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }
.feat {
  display: flex; align-items: center; gap: 8px;
  padding: 10px; border-radius: 10px; background: var(--surface-2);
  font-size: 12px;
}
.feat .ic { color: var(--secondary); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.seller-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.seller-row { display: flex; align-items: center; gap: 12px; }
.seller-row .avatar { width: 52px; height: 52px; }
.seller-row .nm { font-weight: 600; }
.seller-row .sub { font-size: 12px; color: var(--text-muted); }

.action-stack {
  display: flex; flex-direction: column; gap: 8px; margin-top: 14px;
}

.review-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.review-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.review-item .top { display:flex; align-items:center; gap: 10px; margin-bottom: 8px; }
.stars { color: #F59E0B; font-size: 12px; letter-spacing: 2px; }

.map-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 16px;
}
.map-block .mb-head { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.map-block .mb-img {
  background: url("https://images.unsplash.com/photo-1502920917128-1aa500764cbd?w=1200&q=60") center/cover;
  aspect-ratio: 16/9;
  position: relative;
}
.map-block .pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(249,115,22,.5);
}

/* ===========================================================
   MAP VIEW PAGE
   =========================================================== */
.map-page {
  position: relative;
  height: calc(100vh - var(--header-h) - var(--bottom-h));
  overflow: hidden;
}
@media (min-width: 1024px) { .map-page { height: calc(100vh - var(--header-h)); } }
.map-canvas {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(37,99,235,.08), transparent 50%),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1800&q=60") center/cover;
}
.map-canvas::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248,250,252,.4), rgba(248,250,252,0) 30%);
}
[data-theme="dark"] .map-canvas::before { background: linear-gradient(180deg, rgba(11,18,32,.6), rgba(11,18,32,0) 30%); }
.map-pin {
  position: absolute;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600; font-size: 12px;
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
  transition: transform .2s, background .2s, color .2s;
  cursor: pointer;
}
.map-pin:hover, .map-pin.active { background: var(--primary); color: #fff; transform: translate(-50%,-50%) scale(1.08); }
[data-theme="dark"] .map-pin:hover, [data-theme="dark"] .map-pin.active { background: var(--accent); color: #fff; }

.map-search-float {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 20;
}
.map-search-float .ms-row {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 10px 8px 16px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md);
}
.map-search-float .ms-row input { flex:1; background: transparent; border:0; outline:0; font-size:14px; }
.map-filters {
  display: flex; gap: 8px; margin-top: 10px; overflow-x: auto;
  scrollbar-width: none;
}
.map-filters::-webkit-scrollbar { display: none; }
.map-filters .chip {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(10px);
}

.map-list-mobile {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 20;
  padding: 10px 14px;
  display: flex; gap: 12px; overflow-x: auto;
  scrollbar-width: none;
}
@media (min-width: 1024px) { .map-list-mobile { display: none; } }
.map-list-mobile::-webkit-scrollbar { display: none; }
.map-list-mobile .list-card {
  flex: 0 0 80%; max-width: 320px;
}

.map-side-panel {
  display: none;
  position: absolute; top: 14px; right: 14px; bottom: 14px; z-index: 15;
  width: 380px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden; display: none;
  flex-direction: column;
}
@media (min-width: 1024px) { .map-side-panel { display: flex; } }
.map-side-panel .ms-head {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.map-side-panel .ms-body {
  padding: 12px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.mini-card {
  display: flex; gap: 10px; padding: 10px; border-radius: 12px;
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
}
.mini-card:hover { background: var(--surface-2); }
.mini-card img { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; }
.mini-card .nm { font-size: 13px; font-weight: 600; }
.mini-card .pr { font-size: 13px; color: var(--text); font-weight: 700; margin-top: 4px; }
.mini-card .lc { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ===========================================================
   DASHBOARD
   =========================================================== */
.dash-layout {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .dash-layout { grid-template-columns: 240px 1fr; } }

.side-menu {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
  position: sticky; top: calc(var(--header-h) + 16px);
  align-self: start;
}
@media (max-width: 1023px) {
  .side-menu { display: flex; overflow-x: auto; gap: 6px; padding: 8px; }
  .side-menu .item { white-space: nowrap; }
}
.side-menu .item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 10px;
  font-size: 13px; color: var(--text-soft);
  transition: background .2s, color .2s;
}
.side-menu .item .ic { width: 18px; color: var(--text-muted); }
.side-menu .item:hover { background: var(--surface-2); color: var(--text); }
.side-menu .item.active { background: var(--secondary-50); color: var(--secondary); }
[data-theme="dark"] .side-menu .item.active { color: #fff; }

.stat-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card .lbl { font-size: 12px; color: var(--text-muted); }
.stat-card .val { font-size: 22px; font-weight: 700; }
.stat-card .delta { font-size: 11px; font-weight: 600; }
.stat-card .delta.up { color: var(--success); }
.stat-card .delta.down { color: var(--danger); }

.profile-banner {
  background:
    linear-gradient(135deg, var(--primary), #1E3A8A);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; gap: 14px; align-items: center;
}
.profile-banner .avatar { width: 64px; height: 64px; border-color: rgba(255,255,255,.2); }
.profile-banner h2 { color: #fff; }
.profile-banner .meta { font-size: 12px; opacity: .85; }
.profile-banner .actions { margin-left: auto; }

/* ===========================================================
   ADD POST (MULTI-STEP)
   =========================================================== */
.steps {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
.step {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.step .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  border: 1px solid var(--border);
}
.step.done .n { background: var(--success); color: #fff; border-color: var(--success); }
.step.active .n { background: var(--primary); color: #fff; border-color: var(--primary); }
.step .nm { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.step.active .nm { color: var(--text); font-weight: 600; }
.step .ln { width: 28px; height: 2px; background: var(--border); }

.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-top: 18px;
}
.field {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
}
.field label { font-size: 12px; font-weight: 600; color: var(--text-soft); }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px; font-size: 14px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 16%, transparent);
}
.field textarea { resize: vertical; min-height: 100px; }
.field .hint { font-size: 11px; color: var(--text-muted); }

.option-grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .option-grid { grid-template-columns: repeat(3, 1fr); } }
.option-tile {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  display: flex; flex-direction: column; gap: 6px;
}
.option-tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.option-tile.selected { border-color: var(--secondary); background: var(--secondary-50); }
.option-tile .ic { font-size: 20px; color: var(--secondary); }
.option-tile .ttl { font-weight: 600; font-size: 14px; }
.option-tile .sub { font-size: 11px; color: var(--text-muted); }
.option-tile .price { font-weight: 700; font-size: 16px; margin-top: 4px; color: var(--text); }

.uploader {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 28px; text-align: center; cursor: pointer;
  background: var(--surface-2);
  transition: border-color .2s, background .2s;
}
.uploader:hover { border-color: var(--secondary); background: var(--secondary-50); }
.uploader .ic { font-size: 26px; color: var(--text-muted); margin-bottom: 6px; }
.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.thumb {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: var(--surface-2); position: relative;
}
.thumb img { width:100%; height:100%; object-fit: cover; }
.thumb .x {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(15,23,42,.7); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}

.btn-row { display: flex; gap: 10px; margin-top: 18px; }
.btn-row .btn { flex: 1; }
@media (min-width: 768px) { .btn-row { justify-content: flex-end; } .btn-row .btn { flex: 0 0 auto; } }

/* ===========================================================
   BUSINESS PROFILE
   =========================================================== */
.cover {
  position: relative;
  aspect-ratio: 4/1.2;
  background: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1800&q=60") center/cover;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 640px) { .cover { aspect-ratio: 4/2; } }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5)); }

.biz-head {
  display: flex; align-items: end; gap: 14px; margin-top: -40px;
  padding: 0 16px; position: relative; z-index: 2;
  flex-wrap: wrap;
}
.biz-head .biz-logo {
  width: 96px; height: 96px; border-radius: 22px;
  background: var(--surface); border: 4px solid var(--surface);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.biz-head .biz-logo img { width:100%; height:100%; object-fit: cover; }
.biz-head .biz-info { padding-bottom: 8px; flex: 1; min-width: 200px; }
.biz-head .biz-info h2 { color: var(--text); }
.biz-head .biz-actions { padding-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; }

.biz-tabs {
  display: flex; gap: 4px; overflow-x: auto;
  border-bottom: 1px solid var(--border);
  margin: 14px 0; scrollbar-width: none;
}
.biz-tabs::-webkit-scrollbar { display: none; }
.biz-tabs button {
  padding: 10px 16px; font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.biz-tabs button.active { color: var(--text); border-color: var(--accent); }

/* ===========================================================
   REAL ESTATE
   =========================================================== */
.tabs-pill {
  display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px;
}
.tabs-pill button {
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text-muted);
}
.tabs-pill button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.emi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.emi-result {
  background: var(--primary); color: #fff; border-radius: var(--radius);
  padding: 16px; margin-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.emi-result .lbl { font-size: 12px; opacity: .8; }
.emi-result .val { font-size: 24px; font-weight: 700; color: #fff; }

/* ===========================================================
   LOGIN / SIGNUP
   =========================================================== */
.auth-wrap {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  padding: 30px 16px 60px;
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 40%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 40%);
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-md);
}
.auth-tabs {
  display: flex; background: var(--surface-2); padding: 4px;
  border-radius: 999px; margin-bottom: 18px;
}
.auth-tabs a {
  flex: 1; text-align: center; padding: 8px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted); border-radius: 999px;
}
.auth-tabs a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.divider-or {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0; color: var(--text-muted); font-size: 12px;
}
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border-radius: 12px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
}
.social-btn:hover { background: var(--surface-2); }
.social-btn .ic { font-size: 16px; }
.social-btn.google .ic { color: #DB4437; }
.social-btn.facebook .ic { color: #1877F2; }

.pw-field {
  position: relative;
}
.pw-field .eye {
  position: absolute; right: 12px; top: 70%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.otp-row { display: flex; gap: 8px; justify-content: center; }
.otp-row input {
  width: 48px; height: 56px;
  text-align: center; font-size: 22px; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; outline: 0;
  transition: border-color .2s, transform .2s;
}
.otp-row input:focus { border-color: var(--secondary); transform: scale(1.05); }

/* ===========================================================
   SUBSCRIPTION
   =========================================================== */
.plan-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s, box-shadow .25s, border-color .2s;
  position: relative;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.plan-card.featured {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, var(--accent-50), var(--surface) 30%);
}
.plan-card.featured .ribbon {
  position: absolute; top: -12px; left: 22px;
  background: var(--accent); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
}
.plan-card .nm { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.plan-card .price { font-size: 32px; font-weight: 700; }
.plan-card .price small { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.plan-card ul { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.plan-card ul li { display: flex; gap: 8px; align-items: start; font-size: 13px; }
.plan-card ul li .ic { color: var(--success); margin-top: 3px; }

/* Utilities */
.flex { display: flex; }
.row { display: flex; align-items: center; gap: 8px; }
.center { display: flex; align-items: center; justify-content: center; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.hide-desk { display: block; } .show-desk { display: none; }
@media (min-width: 1024px) { .hide-desk { display: none; } .show-desk { display: block; } } 