/* ============================================================
   OYAKUDI MARKETPLACE THEME — Main Stylesheet v1.0.0
   Mobile-first. Production-grade. Professional.
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --ok-primary:        #FF6B00;
  --ok-primary-dark:   #E55A00;
  --ok-primary-light:  #FF8C38;
  --ok-primary-10:     rgba(255,107,0,0.1);
  --ok-secondary:      #1A1A2E;
  --ok-accent:         #00C896;
  --ok-danger:         #E53935;
  --ok-warning:        #FFC107;
  --ok-success:        #2ECC71;
  --ok-info:           #3498DB;
  --ok-white:          #FFFFFF;
  --ok-gray-50:        #F9FAFB;
  --ok-gray-100:       #F3F4F6;
  --ok-gray-200:       #E5E7EB;
  --ok-gray-300:       #D1D5DB;
  --ok-gray-400:       #9CA3AF;
  --ok-gray-500:       #6B7280;
  --ok-gray-600:       #4B5563;
  --ok-gray-700:       #374151;
  --ok-gray-800:       #1F2937;
  --ok-gray-900:       #111827;
  --ok-bg:             #FFFFFF;
  --ok-bg-secondary:   #F7F8FA;
  --ok-bg-card:        #FFFFFF;
  --ok-text:           #111827;
  --ok-text-muted:     #6B7280;
  --ok-border:         #E5E7EB;
  --ok-shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --ok-shadow-md:      0 4px 16px rgba(0,0,0,0.08);
  --ok-shadow-lg:      0 10px 40px rgba(0,0,0,0.12);
  --ok-shadow-card:    0 2px 12px rgba(0,0,0,0.07);
  --ok-font-display:   'Sora', sans-serif;
  --ok-font-body:      'DM Sans', sans-serif;
  --ok-radius-sm:      6px;
  --ok-radius-md:      10px;
  --ok-radius-lg:      16px;
  --ok-radius-xl:      24px;
  --ok-radius-full:    9999px;
  --ok-transition:     all 0.2s cubic-bezier(0.4,0,0.2,1);
  --ok-nav-height:     62px;
  --ok-bnav-height:    64px;
}

/* Dark Theme */
[data-theme="dark"] {
  --ok-bg:           #0F0F13;
  --ok-bg-secondary: #16161D;
  --ok-bg-card:      #1C1C26;
  --ok-text:         #F1F1F5;
  --ok-text-muted:   #8888A0;
  --ok-border:       #2A2A38;
  --ok-shadow-card:  0 2px 12px rgba(0,0,0,0.3);
  --ok-gray-100:     #1C1C26;
  --ok-gray-200:     #252535;
}

/* ── RESET & BASE ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--ok-font-body);
  background: var(--ok-bg-secondary);
  color: var(--ok-text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: var(--ok-nav-height);
  padding-bottom: calc(var(--ok-bnav-height) + env(safe-area-inset-bottom, 0px));
}
a { color: inherit; text-decoration: none; transition: var(--ok-transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: var(--ok-font-body); }
input, textarea, select { font-family: var(--ok-font-body); outline: none; -webkit-appearance: none; appearance: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--ok-font-display); line-height: 1.25; font-weight: 700; color: var(--ok-text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── LAYOUT ── */
.ok-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 12px; }
@media (min-width: 768px) { .ok-container { padding: 0 24px; } }
.hidden { display: none !important; }

/* ── HEADER ── */
.ok-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--ok-bg);
  border-bottom: 1px solid var(--ok-border);
  height: var(--ok-nav-height);
  transition: var(--ok-transition);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.ok-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.ok-header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.ok-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }

/* ── Logo mark (the orange square badge) ── */
.ok-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--ok-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(255,107,0,0.45);
  gap: 0;
  line-height: 1;
}
.ok-logo-mark-o {
  font-family: var(--ok-font-display);
  font-weight: 900;
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0;
}
.ok-logo-mark-k {
  font-family: var(--ok-font-display);
  font-weight: 900;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0;
}

/* ── Wordmark wrapper (text + tagline stacked) ── */
.ok-logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

/* Brand name */
.ok-logo-text {
  font-family: var(--ok-font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ok-text);
  letter-spacing: -0.4px;
  line-height: 1.15;
}
.ok-logo-text span { color: var(--ok-primary); }

/* Tagline */
.ok-logo-tagline {
  font-family: var(--ok-font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--ok-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}
.ok-header-search {
  flex: 1 1 0;
  min-width: 0;
  max-width: 480px;
  position: relative;
  display: block; /* always visible */
}
.ok-header-search input {
  width: 100%;
  height: 38px;
  background: var(--ok-gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--ok-radius-full);
  padding: 0 12px 0 38px;
  font-size: 0.82rem;
  color: var(--ok-text);
  transition: var(--ok-transition);
}
@media (min-width: 768px) {
  .ok-header-search input { height: 42px; padding: 0 16px 0 44px; font-size: 0.9rem; }
}
.ok-header-search input:focus { border-color: var(--ok-primary); background: var(--ok-bg); box-shadow: 0 0 0 3px var(--ok-primary-10); }
.ok-header-search .si { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ok-gray-400); pointer-events: none; font-size: 1.1rem; }
.ok-header-actions { display: flex; align-items: center; gap: 4px; }
.ok-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ok-text);
  font-size: 1.2rem;
  transition: var(--ok-transition);
  position: relative;
}
.ok-icon-btn:hover { background: var(--ok-gray-100); }
.ok-btn-post-ad {
  display: flex; align-items: center; gap: 6px;
  background: var(--ok-primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: var(--ok-radius-full);
  transition: var(--ok-transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255,107,0,0.3);
}
.ok-btn-post-ad:hover { background: var(--ok-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,107,0,0.4); }
.ok-avatar-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ok-border);
  cursor: pointer;
  background: var(--ok-primary);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.875rem;
  transition: var(--ok-transition);
}
.ok-avatar-btn:hover { border-color: var(--ok-primary); box-shadow: 0 0 0 3px var(--ok-primary-10); }
.ok-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.ok-notif-btn { position: relative; }
.ok-badge-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--ok-danger);
  border-radius: 50%;
  border: 2px solid var(--ok-bg);
}
.ok-user-dropdown {
  position: absolute;
  top: calc(var(--ok-nav-height) - 8px);
  right: 12px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  min-width: 220px;
  box-shadow: var(--ok-shadow-lg);
  z-index: 1100;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: var(--ok-transition);
  overflow: hidden;
}
.ok-user-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.ok-user-dropdown-header { padding: 14px 16px; border-bottom: 1px solid var(--ok-border); }
.ok-user-dropdown-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.ok-user-dropdown-email { font-size: 0.78rem; color: var(--ok-text-muted); }
.ok-user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--ok-transition);
  cursor: pointer;
  color: var(--ok-text);
}
.ok-user-dropdown-item:hover { background: var(--ok-gray-50); color: var(--ok-primary); }
.ok-user-dropdown-item i { font-size: 1.1rem; }
.ok-user-dropdown-divider { height: 1px; background: var(--ok-border); }
.ok-user-dropdown-logout { color: var(--ok-danger); }
.ok-user-dropdown-logout:hover { background: rgba(229,57,53,0.05); color: var(--ok-danger); }
[data-theme="dark"] .ok-icon-btn:hover, [data-theme="dark"] .ok-user-dropdown-item:hover { background: var(--ok-bg-secondary); }

/* ── BOTTOM NAV ── */
.ok-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--ok-bg);
  border-top: 1px solid var(--ok-border);
  height: calc(var(--ok-bnav-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex !important; align-items: stretch;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.07);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: visible; /* allow the raised Post button circle to stick up above the bar */
}
.ok-bnav-items { display: flex; width: 100%; overflow: visible; }
.ok-bnav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--ok-gray-400);
  transition: var(--ok-transition);
  position: relative;
  border: none; background: none;
  font-family: var(--ok-font-body);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ok-bnav-item:active { opacity: 0.7; }
.ok-bnav-item.active, .ok-bnav-item:focus { color: var(--ok-primary); }
.ok-bnav-item i { font-size: 1.35rem; }
.ok-bnav-item span { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2px; }
.ok-bnav-post { position: relative; overflow: visible; }
.ok-bnav-post-btn {
  width: 56px; height: 56px;
  background: var(--ok-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,107,0,0.5);
  transition: var(--ok-transition);
  margin-top: -18px;   /* raises the circle above the nav bar */
  margin-bottom: 0;
  flex-shrink: 0;
}
.ok-bnav-post:active .ok-bnav-post-btn, .ok-bnav-post:hover .ok-bnav-post-btn { transform: scale(1.08); }
.ok-bnav-post > span {
  position: static;    /* let normal flow place the label below the circle */
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ok-primary);
  margin-top: 2px;
}
.ok-notif-count {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  background: var(--ok-danger);
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 17px; height: 17px;
  border-radius: var(--ok-radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--ok-bg);
}

/* ── BUTTONS ── */
.ok-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ok-font-body);
  font-weight: 600; font-size: 0.9rem;
  border-radius: var(--ok-radius-md);
  padding: 11px 22px;
  transition: var(--ok-transition);
  cursor: pointer;
  border: none; outline: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.ok-btn:focus-visible { outline: 3px solid var(--ok-primary); outline-offset: 2px; }
.ok-btn-primary { background: var(--ok-primary); color: white; }
.ok-btn-primary:hover { background: var(--ok-primary-dark); box-shadow: 0 4px 14px rgba(255,107,0,0.35); transform: translateY(-1px); }
.ok-btn-outline { background: transparent; border: 2px solid var(--ok-primary); color: var(--ok-primary); }
.ok-btn-outline:hover { background: var(--ok-primary); color: white; }
.ok-btn-ghost { background: transparent; color: var(--ok-text); border: 2px solid var(--ok-border); }
.ok-btn-ghost:hover { background: var(--ok-gray-100); border-color: var(--ok-gray-300); }
.ok-btn-danger { background: var(--ok-danger); color: white; }
.ok-btn-danger:hover { background: #c0392b; }
.ok-btn-sm { padding: 7px 14px; font-size: 0.8rem; border-radius: var(--ok-radius-sm); }
.ok-btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--ok-radius-lg); }
.ok-btn-full { width: 100%; }

/* ── FORMS ── */
.ok-form-group { margin-bottom: 18px; }
.ok-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ok-text); margin-bottom: 6px; }
.ok-label .req { color: var(--ok-danger); margin-left: 2px; }
.ok-input, .ok-select, .ok-textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  background: var(--ok-bg);
  border: 1.5px solid var(--ok-border);
  border-radius: var(--ok-radius-md);
  font-size: 0.95rem;
  color: var(--ok-text);
  transition: var(--ok-transition);
  font-family: var(--ok-font-body);
}
.ok-textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 100px; }
.ok-input:focus, .ok-select:focus, .ok-textarea:focus {
  border-color: var(--ok-primary);
  box-shadow: 0 0 0 3px var(--ok-primary-10);
}
.ok-input::placeholder, .ok-textarea::placeholder { color: var(--ok-gray-400); }
.ok-input-prefix { position: relative; }
.ok-prefix-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ok-gray-500); pointer-events: none; font-weight: 700; }
.ok-input-prefix .ok-input { padding-left: 44px; }
.ok-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.ok-checkbox-row { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.ok-checkbox {
  width: 22px; height: 22px;
  border: 2px solid var(--ok-border);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ok-transition);
  flex-shrink: 0;
}
.ok-checkbox.checked { background: var(--ok-primary); border-color: var(--ok-primary); color: white; }

/* ── TOAST NOTIFICATION ── */
.ok-toast {
  position: fixed;
  top: calc(var(--ok-nav-height) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--ok-gray-900);
  color: white;
  padding: 12px 22px;
  border-radius: var(--ok-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--ok-shadow-lg);
  z-index: 9999;
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: calc(100vw - 32px);
  white-space: nowrap;
}
.ok-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.ok-toast.ok-toast-success { background: var(--ok-success); }
.ok-toast.ok-toast-error { background: var(--ok-danger); }
.ok-toast.ok-toast-info { background: var(--ok-info); }
.ok-toast.ok-toast-warning { background: var(--ok-warning); color: var(--ok-gray-900); }
.ok-toast-icon { font-size: 1.1rem; }

/* ── OVERLAY ── */
.ok-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.ok-overlay.open { opacity: 1; pointer-events: all; }

/* ── HERO ── */
.ok-hero {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C38 60%, #FFB347 100%);
  padding: 32px 0 40px;
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--ok-nav-height));
  padding-top: calc(var(--ok-nav-height) + 32px);
}
.ok-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.ok-hero-inner { text-align: center; position: relative; }
.ok-hero-title {
  font-family: var(--ok-font-display);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
  line-height: 1.2;
}
.ok-hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.ok-search-bar {
  background: white;
  border-radius: var(--ok-radius-lg);
  display: flex; align-items: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  overflow: visible; /* must NOT be hidden — dropdown needs to escape the bar */
  position: relative;
}
/* Re-apply rounded corners on edge children since overflow:hidden is removed */
.ok-search-cat-wrap { border-radius: var(--ok-radius-lg) 0 0 var(--ok-radius-lg); overflow: hidden; }
.ok-search-btn      { border-radius: 0 var(--ok-radius-lg) var(--ok-radius-lg) 0; }
.ok-search-cat {
  padding: 0 14px;
  border-right: 1px solid var(--ok-gray-200);
  height: 56px;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700;
  color: var(--ok-gray-600);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--ok-transition);
}
.ok-search-cat:hover { color: var(--ok-primary); }
.ok-search-cat--open { color: var(--ok-primary); }
.ok-search-cat--open .ok-cat-chevron { transform: rotate(180deg); }
.ok-cat-chevron { transition: transform 0.2s ease; }

/* Wrapper keeps the dropdown anchored below the button */
.ok-search-cat-wrap {
  position: relative;
  flex-shrink: 0;
}

/* The dropdown panel */
.ok-cat-dropdown {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border: 1px solid var(--ok-gray-200);
  z-index: 9999;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.ok-cat-dropdown--open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

/* Individual option */
.ok-cat-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ok-text);
  cursor: pointer;
  transition: background 0.1s;
  outline: none;
  white-space: nowrap;
  user-select: none;
}
.ok-cat-option:hover,
.ok-cat-option:focus {
  background: var(--ok-gray-100);
  color: var(--ok-primary);
}
.ok-cat-option--active {
  color: var(--ok-primary);
  font-weight: 700;
  background: rgba(255,107,0,0.07);
}
.ok-cat-option--active::after {
  content: '✓';
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--ok-primary);
}
/* Divider line after the first "All" option */
.ok-cat-option:first-child {
  border-bottom: 1px solid var(--ok-gray-200);
  margin-bottom: 4px;
  padding-bottom: 12px;
}
/* Thin scrollbar inside the list */
.ok-cat-dropdown::-webkit-scrollbar { width: 4px; }
.ok-cat-dropdown::-webkit-scrollbar-thumb { background: var(--ok-gray-300); border-radius: 2px; }
/* Emoji column fixed width so names stay left-aligned */
.ok-cat-emoji-col { width: 22px; text-align: center; flex-shrink: 0; font-size: 1rem; }
/* On mobile make the dropdown wider and font bigger for easy tap targets */
@media (max-width: 767px) {
  .ok-cat-dropdown { min-width: 200px; max-height: 60vh; }
  .ok-cat-option   { padding: 12px 16px; font-size: 0.95rem; }
}
.ok-search-bar input {
  flex: 1; height: 56px;
  padding: 0 14px;
  font-size: 0.95rem;
  border: none; background: none;
  color: var(--ok-text);
  min-width: 0;
}
.ok-search-bar input::placeholder { color: var(--ok-gray-400); }
.ok-search-btn {
  width: 56px; height: 56px;
  background: var(--ok-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--ok-transition);
  font-size: 1.2rem;
}
.ok-search-btn:hover { background: var(--ok-primary-dark); }
.ok-quick-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ok-quick-tag {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer;
  transition: var(--ok-transition);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.ok-quick-tag:hover { background: rgba(255,255,255,0.35); transform: translateY(-1px); }
.ok-hero-stats {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.ok-hero-stat { text-align: center; color: white; }
.ok-hero-stat-num { display: block; font-family: var(--ok-font-display); font-size: 1.4rem; font-weight: 800; }
.ok-hero-stat-label { font-size: 0.75rem; opacity: 0.85; }

/* ── CATEGORIES ── */
.ok-cats-section { padding: 28px 0 32px; background: var(--ok-bg); }
.ok-section-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ok-section-title { font-family: var(--ok-font-display); font-size: 1.1rem; font-weight: 800; }
.ok-view-all { font-size: 0.85rem; font-weight: 600; color: var(--ok-primary); display: flex; align-items: center; gap: 2px; }
.ok-view-all:hover { text-decoration: underline; }
.ok-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (min-width: 480px) { .ok-cats-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 640px) { .ok-cats-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1024px) { .ok-cats-grid { grid-template-columns: repeat(8, 1fr); } }
.ok-cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; color: var(--ok-text); -webkit-tap-highlight-color: transparent; }
.ok-cat-tile-img {
  width: 100%; aspect-ratio: 1/1;
  background: var(--ok-gray-100);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ok-transition);
  border: 1px solid var(--ok-border);
}
.ok-cat-tile:hover .ok-cat-tile-img { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-color: var(--ok-primary); }
.ok-cat-emoji { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1; }
.ok-cat-label { font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.25; }
.ok-cat-tile:hover .ok-cat-label { color: var(--ok-primary); }

/* ── SECTIONS ── */
.ok-section { padding: 28px 0; }
.ok-sponsored-section { background: var(--ok-bg); }
.ok-sponsored-badge { background: var(--ok-gray-200); color: var(--ok-gray-600); font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: var(--ok-radius-sm); letter-spacing: 0.5px; }

/* ── LISTING CARDS (Grid) ── */
.ok-listings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .ok-listings-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ok-listings-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ok-listing-card {
  background: var(--ok-bg-card);
  border-radius: var(--ok-radius-lg);
  border: 1px solid var(--ok-border);
  overflow: hidden;
  transition: var(--ok-transition);
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ok-listing-card:hover { transform: translateY(-3px); box-shadow: var(--ok-shadow-lg); border-color: transparent; }
.ok-listing-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ok-gray-100); }
.ok-listing-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ok-listing-card:hover .ok-listing-img-wrap img { transform: scale(1.05); }
.ok-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.ok-listing-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.ok-badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: var(--ok-radius-full); font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.ok-badge-featured { background: var(--ok-primary); color: white; }
.ok-badge-hot { background: #FF3D00; color: white; }
.ok-badge-new { background: var(--ok-accent); color: white; }
.ok-badge-sold { background: var(--ok-danger); color: white; }
.ok-badge-verified { background: var(--ok-info); color: white; }
.ok-listing-save {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--ok-transition);
  color: var(--ok-gray-400);
  backdrop-filter: blur(4px);
  border: none;
}
.ok-listing-save:hover, .ok-listing-save.saved { color: var(--ok-danger); background: white; }
.ok-listing-body { padding: 10px 12px 14px; }
.ok-listing-price { font-family: var(--ok-font-display); font-size: 1.05rem; font-weight: 800; color: var(--ok-primary); margin-bottom: 3px; }
.ok-listing-title { font-size: 0.875rem; font-weight: 600; color: var(--ok-text); line-height: 1.35; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ok-listing-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--ok-text-muted); }
.ok-listing-location { display: flex; align-items: center; gap: 3px; overflow: hidden; }
.ok-listing-location span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── LISTING CARDS (Horizontal Scroll) ── */
.ok-hscroll { overflow-x: auto; display: flex; gap: 12px; padding: 0 16px; padding-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none; }
.ok-hscroll::-webkit-scrollbar { display: none; }
.ok-listing-card-h {
  display: flex;
  background: var(--ok-bg-card);
  border-radius: var(--ok-radius-lg);
  border: 1px solid var(--ok-border);
  overflow: hidden;
  transition: var(--ok-transition);
  cursor: pointer;
  min-width: 290px; max-width: 290px;
  -webkit-tap-highlight-color: transparent;
}
.ok-listing-card-h:hover { box-shadow: var(--ok-shadow-md); transform: translateY(-2px); border-color: transparent; }
.ok-listing-card-h .ok-listing-img-wrap { width: 110px; min-width: 110px; aspect-ratio: auto; }
.ok-listing-card-h .ok-listing-body { flex: 1; min-width: 0; padding: 12px; }

/* ── SEARCH PAGE ── */
.ok-search-page { min-height: 100vh; background: var(--ok-bg-secondary); }
.ok-search-toolbar {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 16px;
  background: var(--ok-bg);
  border-bottom: 1px solid var(--ok-border);
  position: sticky; top: var(--ok-nav-height); z-index: 90;
}
.ok-search-input-wrap { flex: 1; position: relative; }
.ok-search-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ok-gray-400); pointer-events: none; }
.ok-search-input-wrap input {
  width: 100%; height: 44px;
  background: var(--ok-gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--ok-radius-full);
  padding: 0 16px 0 42px;
  font-size: 0.9rem; color: var(--ok-text);
  transition: var(--ok-transition);
}
.ok-search-input-wrap input:focus { border-color: var(--ok-primary); background: var(--ok-bg); }
.ok-filter-btn {
  display: flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 16px;
  background: var(--ok-bg);
  border: 1.5px solid var(--ok-border);
  border-radius: var(--ok-radius-full);
  font-size: 0.875rem; font-weight: 600;
  color: var(--ok-text);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--ok-transition);
}
.ok-filter-btn:hover { border-color: var(--ok-primary); color: var(--ok-primary); }
.ok-sort-bar { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; background: var(--ok-bg); border-bottom: 1px solid var(--ok-border); }
.ok-sort-bar::-webkit-scrollbar { display: none; }
.ok-sort-chip { padding: 6px 16px; border-radius: var(--ok-radius-full); font-size: 0.82rem; font-weight: 600; white-space: nowrap; border: 1.5px solid var(--ok-border); color: var(--ok-text); background: var(--ok-bg); cursor: pointer; transition: var(--ok-transition); }
.ok-sort-chip.active { background: var(--ok-primary); color: white; border-color: var(--ok-primary); }
.ok-sort-chip:hover:not(.active) { border-color: var(--ok-primary); color: var(--ok-primary); }
.ok-results-count { padding: 10px 16px; font-size: 0.85rem; color: var(--ok-text-muted); background: var(--ok-bg-secondary); }
.ok-results-count strong { color: var(--ok-text); }

/* ── LISTING DETAIL ── */
.ok-listing-detail-wrap { background: var(--ok-bg); min-height: 100vh; }
.ok-listing-gallery { position: relative; background: #1A1A2E; height: 300px; overflow: hidden; }
@media (min-width: 768px) { .ok-listing-gallery { height: 450px; } }
.ok-gallery-slides { display: flex; height: 100%; transition: transform 0.35s ease; }
.ok-gallery-slide { flex-shrink: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ok-gallery-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ok-gallery-counter { position: absolute; bottom: 14px; right: 14px; background: rgba(0,0,0,0.6); color: white; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: var(--ok-radius-full); backdrop-filter: blur(4px); }
.ok-gallery-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.ok-gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--ok-transition); }
.ok-gallery-dot.active { background: white; width: 20px; border-radius: 4px; }
.ok-gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: var(--ok-transition);
  border: none; color: var(--ok-text);
  box-shadow: var(--ok-shadow-md);
}
.ok-gallery-btn:hover { background: white; transform: translateY(-50%) scale(1.05); }
.ok-gallery-prev { left: 12px; }
.ok-gallery-next { right: 12px; }
.ok-listing-info { padding: 20px 16px 100px; max-width: 960px; margin: 0 auto; }
@media (min-width: 768px) { .ok-listing-info { padding: 24px 24px 80px; } }
.ok-listing-price-big { font-family: var(--ok-font-display); font-size: 2rem; font-weight: 800; color: var(--ok-primary); margin-bottom: 6px; }
.ok-listing-title-big { font-family: var(--ok-font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.ok-listing-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ok-listing-tag { display: flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--ok-gray-100); border-radius: var(--ok-radius-full); font-size: 0.82rem; color: var(--ok-text-muted); }
.ok-listing-tag i { font-size: 0.9rem; }
.ok-listing-desc-title { font-weight: 700; font-size: 1.05rem; margin: 20px 0 8px; }
.ok-listing-desc { font-size: 0.9rem; line-height: 1.7; color: var(--ok-text-muted); }
.ok-seller-card { background: var(--ok-bg-card); border: 1px solid var(--ok-border); border-radius: var(--ok-radius-lg); padding: 16px; margin: 20px 0; }
.ok-seller-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ok-seller-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ok-primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.ok-seller-name { font-weight: 700; font-size: 0.95rem; }
.ok-seller-meta { font-size: 0.8rem; color: var(--ok-text-muted); }
.ok-seller-verified { display: inline-flex; align-items: center; gap: 4px; background: var(--ok-info); color: white; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: var(--ok-radius-full); margin-left: 6px; }
.ok-seller-rating { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; margin-bottom: 14px; }
.ok-seller-stars { color: var(--ok-warning); }
.ok-seller-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ok-safety-tips { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: var(--ok-radius-lg); padding: 16px; margin-top: 16px; }
[data-theme="dark"] .ok-safety-tips { background: rgba(255, 193, 7, 0.08); border-color: rgba(255,193,7,0.3); }
.ok-safety-tips-title { font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; }
.ok-safety-tips ul { display: flex; flex-direction: column; gap: 4px; }
.ok-safety-tips li { font-size: 0.82rem; color: var(--ok-text-muted); }
.ok-sticky-contact {
  position: fixed;
  bottom: var(--ok-bnav-height);
  left: 0; right: 0;
  background: var(--ok-bg);
  border-top: 1px solid var(--ok-border);
  padding: 12px 16px;
  display: flex; gap: 12px;
  z-index: 800;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.ok-sticky-contact .ok-btn { flex: 1; }

/* ── DASHBOARD ── */
.ok-dashboard-page { background: var(--ok-bg-secondary); min-height: 100vh; }
.ok-dashboard-header {
  background: linear-gradient(135deg, #FF6B00, #E55A00);
  padding: 24px 16px;
  color: white;
}
.ok-dashboard-user { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ok-dashboard-avatar { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-family: var(--ok-font-display); font-weight: 800; font-size: 1.4rem; color: white; border: 2px solid rgba(255,255,255,0.4); overflow: hidden; }
.ok-dashboard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ok-dashboard-name { font-family: var(--ok-font-display); font-size: 1.1rem; font-weight: 800; }
.ok-dashboard-plan { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.2); padding: 3px 10px; border-radius: var(--ok-radius-full); font-size: 0.75rem; font-weight: 600; margin-top: 4px; }
.ok-dashboard-settings { margin-left: auto; color: rgba(255,255,255,0.8); }
.ok-dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ok-stat-card { background: rgba(255,255,255,0.15); border-radius: var(--ok-radius-md); padding: 12px; text-align: center; }
.ok-stat-num { font-family: var(--ok-font-display); font-size: 1.4rem; font-weight: 800; }
.ok-stat-label { font-size: 0.75rem; opacity: 0.85; }
.ok-wallet-card { background: rgba(0,0,0,0.15); border-radius: var(--ok-radius-md); padding: 14px; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.ok-wallet-balance { font-family: var(--ok-font-display); font-size: 1.4rem; font-weight: 800; }
.ok-wallet-label { font-size: 0.75rem; opacity: 0.8; margin-bottom: 2px; }
.ok-fund-btn { background: rgba(255,255,255,0.9); color: var(--ok-primary); font-weight: 700; font-size: 0.875rem; padding: 8px 18px; border-radius: var(--ok-radius-full); border: none; cursor: pointer; transition: var(--ok-transition); }
.ok-fund-btn:hover { background: white; }
.ok-quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 16px; }
.ok-quick-action { background: var(--ok-bg-card); border: 1px solid var(--ok-border); border-radius: var(--ok-radius-md); padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: var(--ok-transition); text-decoration: none; color: var(--ok-text); }
.ok-quick-action:hover { border-color: var(--ok-primary); color: var(--ok-primary); transform: translateY(-2px); box-shadow: var(--ok-shadow-md); }
.ok-quick-action i { font-size: 1.5rem; }
.ok-quick-action span { font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.2; }
.ok-upgrade-banner {
  margin: 0 16px;
  background: linear-gradient(135deg, var(--ok-primary), var(--ok-primary-dark));
  border-radius: var(--ok-radius-lg);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  color: white;
}
.ok-upgrade-text { font-weight: 700; margin-bottom: 4px; }
.ok-upgrade-sub { font-size: 0.8rem; opacity: 0.85; }
.ok-upgrade-cta { background: rgba(255,255,255,0.9); color: var(--ok-primary); font-weight: 700; font-size: 0.82rem; padding: 8px 16px; border-radius: var(--ok-radius-full); white-space: nowrap; text-decoration: none; }
/* ═══════════════════════════════════════════
   DASHBOARD OVERVIEW — MY LISTINGS & ACCOUNT
═══════════════════════════════════════════ */

/* Section wrapper — provides top spacing and label */
.ok-menu-section {
  padding: 20px 16px 0;
}
.ok-menu-section:last-child {
  padding-bottom: 28px;
}

/* Section label (e.g. "MY LISTINGS") */
.ok-menu-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--ok-text-muted);
  margin-bottom: 10px;
  padding-left: 2px;
}
.ok-menu-section-title i {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Card group — frames all items as one unit */
.ok-menu-group {
  background: var(--ok-bg-card);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Individual row */
.ok-menu-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ok-border);
  cursor: pointer;
  text-decoration: none;
  color: var(--ok-text);
  text-align: left;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.ok-menu-item:last-child {
  border-bottom: none;
}
.ok-menu-item:hover  { background: var(--ok-gray-50); }
.ok-menu-item:active { background: var(--ok-gray-100); }

/* CTA row — Post New Ad */
.ok-menu-item.ok-menu-item-cta .ok-menu-title {
  color: var(--ok-primary);
  font-weight: 700;
}

/* Danger row — Log Out */
.ok-menu-item.ok-menu-item-danger .ok-menu-title { color: #EF4444; }
.ok-menu-item.ok-menu-item-danger:hover          { background: #FEF2F2; }

/* Icon bubble — colour driven by CSS custom props set inline */
.ok-menu-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--ok-radius-md);
  background: var(--icon-bg, var(--ok-gray-100));
  color: var(--icon-color, var(--ok-text-muted));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ok-menu-icon i { font-size: 1.2rem; line-height: 1; }

/* Text stack */
.ok-menu-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ok-menu-title {
  font-size: 0.895rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ok-menu-sub {
  font-size: 0.77rem;
  color: var(--ok-text-muted);
  line-height: 1.35;
}

/* Upgrade chip inside sub-text */
.ok-upgrade-chip {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 99px;
  background: var(--ok-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

/* Count badges */
.ok-menu-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}
.ok-badge-green  { background: rgba(30,155,82,0.12);  color: #1E9B52; }
.ok-badge-yellow { background: rgba(217,119,6,0.12);  color: #B45309; }
.ok-badge-blue   { background: rgba(46,134,222,0.13); color: #1E6FBB; }
.ok-badge-gray   { background: rgba(107,114,128,0.1); color: #4B5563; }
.ok-badge-red    { background: rgba(239,68,68,0.12);  color: #DC2626; }

/* Chevron arrow */
.ok-menu-arrow {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--ok-gray-400);
  margin-left: 2px;
}

/* ── POST AD WIZARD ── */
.ok-post-ad-page { background: var(--ok-bg-secondary); min-height: 100vh; padding-bottom: 100px; }
.ok-page-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ok-bg); border-bottom: 1px solid var(--ok-border); position: sticky; top: var(--ok-nav-height); z-index: 90; }
.ok-page-title { font-family: var(--ok-font-display); font-size: 1rem; font-weight: 700; flex: 1; }
.ok-back-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ok-gray-100); color: var(--ok-text); border: none; cursor: pointer; transition: var(--ok-transition); }
.ok-back-btn:hover { background: var(--ok-gray-200); }
.ok-wizard-steps { display: flex; padding: 16px; background: var(--ok-bg); border-bottom: 1px solid var(--ok-border); gap: 0; }
.ok-wizard-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.ok-wizard-step::before { content: ''; position: absolute; top: 16px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--ok-border); }
.ok-wizard-step:last-child::before { display: none; }
.ok-wizard-step.active::before, .ok-wizard-step.done::before { background: var(--ok-primary); }
.ok-wizard-num { width: 34px; height: 34px; border-radius: 50%; background: var(--ok-gray-200); color: var(--ok-gray-500); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; transition: var(--ok-transition); }
.ok-wizard-step.active .ok-wizard-num { background: var(--ok-primary); color: white; box-shadow: 0 4px 12px rgba(255,107,0,0.35); }
.ok-wizard-step.done .ok-wizard-num { background: var(--ok-primary); color: white; }
.ok-wizard-step span { font-size: 0.68rem; font-weight: 600; color: var(--ok-text-muted); }
.ok-wizard-step.active span { color: var(--ok-primary); }
.ok-step-panel { display: none; padding: 20px 16px; }
.ok-step-panel.active { display: block; }
.ok-cat-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ok-cat-pick-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 8px;
  background: var(--ok-bg-card);
  border: 1.5px solid var(--ok-border);
  border-radius: var(--ok-radius-md);
  cursor: pointer;
  transition: var(--ok-transition);
  text-align: center;
}
.ok-cat-pick-item:hover, .ok-cat-pick-item.selected { border-color: var(--ok-primary); background: var(--ok-primary-10); }
.ok-cat-pick-emoji { font-size: 1.8rem; }
.ok-cat-pick-name { font-size: 0.75rem; font-weight: 600; color: var(--ok-text); }
.ok-upload-zone {
  border: 2px dashed var(--ok-primary);
  border-radius: var(--ok-radius-lg);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--ok-transition);
  background: var(--ok-primary-10);
}
.ok-upload-zone:hover { background: rgba(255,107,0,0.12); }
.ok-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ok-photo-thumb { aspect-ratio: 1; border-radius: var(--ok-radius-md); overflow: hidden; position: relative; background: var(--ok-gray-100); }
.ok-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ok-photo-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.7rem; cursor: pointer; border: none; }
.ok-wizard-nav { display: flex; align-items: center; padding: 14px 16px; background: var(--ok-bg); border-top: 1px solid var(--ok-border); position: sticky; bottom: var(--ok-bnav-height); z-index: 80; gap: 12px; }

/* ── MY LISTINGS ── */
.ok-my-listing-card {
  background: var(--ok-bg-card);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  display: flex; align-items: flex-start;
  gap: 14px;
  padding: 14px;
  margin-bottom: 10px;
  transition: var(--ok-transition);
}
.ok-my-listing-img { width: 80px; height: 80px; border-radius: var(--ok-radius-md); overflow: hidden; background: var(--ok-gray-100); flex-shrink: 0; }
.ok-my-listing-img img { width: 100%; height: 100%; object-fit: cover; }
.ok-my-listing-body { flex: 1; min-width: 0; }
.ok-my-listing-title { font-weight: 700; font-size: 0.875rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ok-my-listing-price { font-family: var(--ok-font-display); font-weight: 800; color: var(--ok-primary); font-size: 0.95rem; }
.ok-my-listing-status { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--ok-radius-full); font-size: 0.7rem; font-weight: 700; margin: 6px 0; }
.ok-status-active { background: rgba(46,204,113,0.12); color: var(--ok-success); }
.ok-status-pending { background: rgba(255,193,7,0.12); color: #B45309; }
.ok-status-sold { background: rgba(52,152,219,0.12); color: var(--ok-info); }
.ok-status-expired { background: rgba(229,57,53,0.12); color: var(--ok-danger); }
.ok-my-listing-views { font-size: 0.75rem; color: var(--ok-text-muted); display: flex; align-items: center; gap: 4px; }
.ok-my-listing-actions { display: flex; gap: 6px; margin-top: 8px; }
.ok-action-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: var(--ok-radius-sm); font-size: 0.75rem; font-weight: 700; cursor: pointer; border: 1.5px solid; transition: var(--ok-transition); }
.ok-action-btn-edit { color: var(--ok-primary); border-color: var(--ok-primary); background: var(--ok-primary-10); }
.ok-action-btn-boost { color: var(--ok-warning); border-color: var(--ok-warning); background: rgba(255,193,7,0.1); }
.ok-action-btn-delete { color: var(--ok-danger); border-color: rgba(229,57,53,0.3); background: rgba(229,57,53,0.05); }
.ok-listing-tab { padding: 8px 16px; border-radius: var(--ok-radius-full); font-size: 0.82rem; font-weight: 600; border: 1.5px solid var(--ok-border); color: var(--ok-text); cursor: pointer; transition: var(--ok-transition); background: var(--ok-bg); }
.ok-listing-tab.active { background: var(--ok-primary); color: white; border-color: var(--ok-primary); }

/* ── MESSAGES ── */
.ok-message-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ok-border); cursor: pointer; transition: var(--ok-transition); background: var(--ok-bg); }
.ok-message-item:hover { background: var(--ok-gray-50); }
.ok-message-item.unread { background: rgba(255,107,0,0.03); }
.ok-msg-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ok-primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1rem; flex-shrink: 0; position: relative; }
.ok-msg-online { position: absolute; bottom: 1px; right: 1px; width: 12px; height: 12px; background: var(--ok-success); border-radius: 50%; border: 2px solid var(--ok-bg); }
.ok-msg-body { flex: 1; min-width: 0; }
.ok-msg-name { font-weight: 700; font-size: 0.875rem; }
.ok-msg-preview { font-size: 0.8rem; color: var(--ok-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ok-msg-re { font-size: 0.75rem; color: var(--ok-text-muted); }
.ok-msg-time { font-size: 0.72rem; color: var(--ok-text-muted); white-space: nowrap; }
.ok-msg-unread-badge { background: var(--ok-danger); color: white; font-size: 0.65rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: var(--ok-radius-full); display: flex; align-items: center; justify-content: center; margin-top: 4px; }

/* ── WALLET ── */
.ok-wallet-hero { background: linear-gradient(135deg, #1A1A2E, #2D2D44); color: white; padding: 24px 20px; border-radius: var(--ok-radius-xl); margin: 16px; }
.ok-wallet-amount { font-family: var(--ok-font-display); font-size: 2.2rem; font-weight: 800; }
.ok-wallet-updated { font-size: 0.78rem; opacity: 0.7; margin-top: 4px; margin-bottom: 20px; }
.ok-wallet-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ok-wallet-action { background: rgba(255,255,255,0.12); border-radius: var(--ok-radius-md); padding: 14px 8px; text-align: center; cursor: pointer; transition: var(--ok-transition); border: none; color: white; font-family: var(--ok-font-body); }
.ok-wallet-action:hover { background: rgba(255,255,255,0.2); }
.ok-wallet-action i { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.ok-wallet-action span { font-size: 0.78rem; font-weight: 600; }
.ok-transaction-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ok-border); }
.ok-tx-icon { width: 44px; height: 44px; border-radius: var(--ok-radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.ok-tx-details { flex: 1; min-width: 0; }
.ok-tx-title { font-weight: 600; font-size: 0.875rem; }
.ok-tx-date { font-size: 0.75rem; color: var(--ok-text-muted); margin-top: 2px; }
.ok-tx-amount { font-family: var(--ok-font-display); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.ok-tx-credit { color: var(--ok-success); }
.ok-tx-debit { color: var(--ok-danger); }

/* ── HOW IT WORKS ── */
.ok-how-section { background: var(--ok-bg); padding: 48px 0; }
.ok-how-title { font-family: var(--ok-font-display); font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.ok-how-sub { text-align: center; color: var(--ok-text-muted); margin-bottom: 36px; }
.ok-how-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .ok-how-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.ok-how-step { text-align: center; }
.ok-how-icon { font-size: 3rem; margin-bottom: 16px; }
.ok-how-step-title { font-family: var(--ok-font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.ok-how-step-desc { font-size: 0.875rem; color: var(--ok-text-muted); line-height: 1.7; }

/* ── TESTIMONIALS ── */
.ok-testimonials-section { background: var(--ok-bg-secondary); padding: 48px 0; }
.ok-testimonials-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .ok-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.ok-testimonial-card { background: var(--ok-bg-card); border: 1px solid var(--ok-border); border-radius: var(--ok-radius-lg); padding: 20px; }
.ok-testimonial-stars { font-size: 0.9rem; margin-bottom: 12px; }
.ok-testimonial-text { font-size: 0.875rem; line-height: 1.7; color: var(--ok-text-muted); margin-bottom: 16px; }
.ok-testimonial-author { display: flex; align-items: center; gap: 10px; }
.ok-testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ok-primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.875rem; }
.ok-testimonial-name { font-weight: 700; font-size: 0.875rem; }
.ok-testimonial-city { font-size: 0.78rem; color: var(--ok-text-muted); }

/* ── APP DOWNLOAD BANNER ── */
.ok-app-banner {
  background: linear-gradient(135deg, #FF6B00 0%, #E55A00 45%, #1A1A2E 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.ok-app-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.ok-app-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.ok-app-banner-text { flex: 1; min-width: 280px; color: white; }
.ok-app-banner-title {
  font-family: var(--ok-font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  letter-spacing: -0.3px;
}
.ok-app-banner-desc { font-size: 0.95rem; opacity: 0.92; line-height: 1.7; margin-bottom: 24px; color: rgba(255,255,255,0.92); }
.ok-app-badge-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ok-app-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--ok-radius-md);
  padding: 10px 18px;
  text-decoration: none;
  transition: var(--ok-transition);
  color: var(--ok-text);
  backdrop-filter: blur(4px);
}
.ok-app-badge-dark { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.35); }
.ok-app-badge:hover { border-color: white; background: rgba(255,255,255,0.28); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.ok-app-badge-inner { display: flex; align-items: center; gap: 10px; }
.ok-app-badge-inner i { font-size: 1.5rem; }
.ok-app-badge-sub { font-size: 0.7rem; opacity: 0.85; line-height: 1; }
.ok-app-badge-name { font-family: var(--ok-font-display); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.ok-app-banner-img { display: flex; align-items: center; justify-content: center; }
.ok-app-mockup {
  width: 180px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.ok-app-mockup-icon {
  font-size: 5rem;
  color: rgba(255,255,255,0.75);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}

/* ── FOOTER ── */
.ok-footer { background: var(--ok-secondary); color: rgba(255,255,255,0.8); padding: 48px 0 24px; margin-bottom: 0; }
.ok-footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; }
.ok-footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ok-footer-logo-text { font-family: var(--ok-font-display); font-weight: 800; font-size: 1.2rem; color: white; }
.ok-footer-logo-text span { color: var(--ok-primary); }
.ok-footer-tagline { font-size: 0.875rem; line-height: 1.7; opacity: 0.75; margin-bottom: 20px; }
.ok-footer-socials { display: flex; gap: 10px; margin-bottom: 24px; }
.ok-footer-social { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1.1rem; transition: var(--ok-transition); }
.ok-footer-social:hover { background: var(--ok-primary); color: white; transform: translateY(-2px); }
.ok-footer-app-badges { display: flex; flex-direction: column; gap: 10px; }
.ok-footer-app-badges .ok-app-badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: white; }
.ok-footer-app-badges .ok-app-badge:hover { background: rgba(255,255,255,0.15); border-color: var(--ok-primary); }
.ok-footer-col-title { font-family: var(--ok-font-display); font-weight: 700; font-size: 0.9rem; color: white; margin-bottom: 14px; }
.ok-footer-link { display: block; font-size: 0.875rem; opacity: 0.75; margin-bottom: 10px; transition: var(--ok-transition); }
.ok-footer-link:hover { opacity: 1; color: var(--ok-primary); transform: translateX(3px); }
.ok-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; opacity: 0.6; flex-wrap: wrap; gap: 8px; }

/* ── NOTIFICATIONS PANEL ── */
.ok-notif-panel { position: fixed; top: var(--ok-nav-height); right: 0; width: min(380px, 100vw); height: calc(100vh - var(--ok-nav-height)); background: var(--ok-bg); border-left: 1px solid var(--ok-border); z-index: 950; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; box-shadow: -8px 0 32px rgba(0,0,0,0.12); }
.ok-notif-panel.open { transform: translateX(0); }
.ok-notif-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--ok-border); position: sticky; top: 0; background: var(--ok-bg); z-index: 1; }
.ok-notif-title { font-family: var(--ok-font-display); font-weight: 700; font-size: 1rem; }
.ok-notif-item { display: flex; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--ok-border); cursor: pointer; transition: var(--ok-transition); }
.ok-notif-item:hover { background: var(--ok-gray-50); }
.ok-notif-item.unread { background: rgba(255,107,0,0.04); }
.ok-notif-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ok-notif-msg { font-size: 0.85rem; line-height: 1.5; flex: 1; }
.ok-notif-time { font-size: 0.72rem; color: var(--ok-text-muted); margin-top: 4px; }
.ok-filter-drawer { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ok-bg); border-radius: var(--ok-radius-xl) var(--ok-radius-xl) 0 0; z-index: 950; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); max-height: 85vh; overflow-y: auto; box-shadow: 0 -8px 32px rgba(0,0,0,0.12); }
.ok-filter-drawer.open { transform: translateY(0); }
.ok-filter-handle { width: 40px; height: 4px; background: var(--ok-gray-300); border-radius: 2px; margin: 12px auto 20px; }
.ok-filter-header { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 16px; }
.ok-filter-title { font-family: var(--ok-font-display); font-weight: 700; font-size: 1.1rem; }
.ok-filter-body { padding: 0 20px 24px; }
.ok-filter-section { margin-bottom: 24px; }
.ok-filter-section-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }
.ok-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ok-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ok-filter-chip { padding: 7px 14px; border-radius: var(--ok-radius-full); font-size: 0.82rem; font-weight: 600; border: 1.5px solid var(--ok-border); color: var(--ok-text); cursor: pointer; transition: var(--ok-transition); background: var(--ok-bg); }
.ok-filter-chip.active { background: var(--ok-primary-10); border-color: var(--ok-primary); color: var(--ok-primary); }
.ok-filter-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--ok-border); position: sticky; bottom: 0; background: var(--ok-bg); }

/* ── PRICING PAGE ── */
.ok-pricing-hero { text-align: center; padding: 40px 16px 20px; }
.ok-pricing-title { font-family: var(--ok-font-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.ok-pricing-grid { display: grid; gap: 16px; padding: 0 16px 40px; }
@media (min-width: 768px) { .ok-pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.ok-pricing-card { background: var(--ok-bg-card); border: 2px solid var(--ok-border); border-radius: var(--ok-radius-xl); padding: 24px; position: relative; }
.ok-pricing-card.popular { border-color: var(--ok-primary); }
.ok-popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ok-primary); color: white; font-size: 0.72rem; font-weight: 700; padding: 4px 16px; border-radius: var(--ok-radius-full); white-space: nowrap; }
.ok-pricing-plan-name { font-family: var(--ok-font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.ok-pricing-price { font-family: var(--ok-font-display); font-size: 2rem; font-weight: 800; color: var(--ok-primary); margin: 12px 0; }
.ok-pricing-per { font-size: 0.8rem; color: var(--ok-text-muted); }
.ok-pricing-features { list-style: none; margin: 16px 0 24px; }
.ok-pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; margin-bottom: 10px; line-height: 1.4; }
.ok-pricing-features li i { color: var(--ok-success); flex-shrink: 0; margin-top: 1px; }

/* ── AUTH PAGES ── */
.ok-auth-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--ok-bg); padding-top: 0; padding-bottom: 0; }
.ok-auth-header { display: flex; align-items: center; gap: 12px; padding: 16px; height: var(--ok-nav-height); border-bottom: 1px solid var(--ok-border); }
.ok-auth-body { flex: 1; padding: 24px 20px; max-width: 440px; margin: 0 auto; width: 100%; }
.ok-auth-title { font-family: var(--ok-font-display); font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; }
.ok-auth-subtitle { color: var(--ok-text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.ok-social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: var(--ok-radius-md); border: 1.5px solid var(--ok-border); font-weight: 600; font-size: 0.9rem; width: 100%; background: var(--ok-bg); color: var(--ok-text); cursor: pointer; transition: var(--ok-transition); margin-bottom: 10px; }
.ok-social-btn:hover { background: var(--ok-gray-50); border-color: var(--ok-gray-300); }
.ok-divider { display: flex; align-items: center; gap: 16px; margin: 20px 0; color: var(--ok-text-muted); font-size: 0.8rem; }
.ok-divider::before, .ok-divider::after { content: ''; flex: 1; height: 1px; background: var(--ok-border); }
.ok-otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 24px 0; }
.ok-otp-input { width: 52px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 800; border: 2px solid var(--ok-border); border-radius: var(--ok-radius-md); background: var(--ok-bg); color: var(--ok-text); transition: var(--ok-transition); font-family: var(--ok-font-display); }
.ok-otp-input:focus { border-color: var(--ok-primary); box-shadow: 0 0 0 3px var(--ok-primary-10); }
.ok-pass-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--ok-gray-400); border: none; background: none; }
.ok-input-wrap { position: relative; }
.ok-input-wrap .ok-input { padding-right: 44px; }

/* ── SETTINGS PAGE ── */
.ok-settings-section { padding: 16px; }
.ok-settings-card { background: var(--ok-bg-card); border: 1px solid var(--ok-border); border-radius: var(--ok-radius-lg); overflow: hidden; margin-bottom: 16px; }
.ok-settings-card-title { padding: 14px 16px; border-bottom: 1px solid var(--ok-border); font-weight: 700; font-size: 0.9rem; }
.ok-settings-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--ok-border); }
.ok-settings-row:last-child { border-bottom: none; }
.ok-settings-label { font-weight: 600; font-size: 0.875rem; }
.ok-settings-sub { font-size: 0.78rem; color: var(--ok-text-muted); margin-top: 2px; }
.ok-toggle { width: 46px; height: 26px; border-radius: var(--ok-radius-full); background: var(--ok-gray-300); position: relative; cursor: pointer; transition: var(--ok-transition); flex-shrink: 0; border: none; }
.ok-toggle.on { background: var(--ok-primary); }
.ok-toggle::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: white; top: 3px; left: 3px; transition: var(--ok-transition); box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.ok-toggle.on::after { left: calc(100% - 23px); }

/* ── STORE PAGE ── */
.ok-store-banner { background: linear-gradient(135deg, var(--ok-primary), var(--ok-primary-dark)); height: 160px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ok-store-header { padding: 0 16px; }
.ok-store-info { display: flex; align-items: flex-end; gap: 14px; transform: translateY(-28px); }
.ok-store-avatar { width: 72px; height: 72px; border-radius: 50%; background: white; border: 3px solid white; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; color: var(--ok-primary); overflow: hidden; box-shadow: var(--ok-shadow-md); flex-shrink: 0; }
.ok-store-name { font-family: var(--ok-font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: 2px; }

/* ── TABS ── */
.ok-tabs { display: flex; border-bottom: 1px solid var(--ok-border); overflow-x: auto; scrollbar-width: none; }
.ok-tabs::-webkit-scrollbar { display: none; }
.ok-tab { padding: 12px 20px; font-size: 0.875rem; font-weight: 600; color: var(--ok-text-muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: var(--ok-transition); border: none; background: none; font-family: var(--ok-font-body); }
.ok-tab.active { color: var(--ok-primary); border-bottom-color: var(--ok-primary); }

/* ── BREADCRUMB ── */
.ok-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--ok-text-muted); padding: 12px 16px; }
.ok-breadcrumb a { color: var(--ok-primary); }
.ok-breadcrumb a:hover { text-decoration: underline; }
.ok-breadcrumb-sep { color: var(--ok-gray-400); }

/* ── EMPTY STATE ── */
.ok-empty { text-align: center; padding: 48px 20px; }
.ok-empty-icon { font-size: 3.5rem; margin-bottom: 14px; }
.ok-empty-title { font-family: var(--ok-font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.ok-empty-text { color: var(--ok-text-muted); font-size: 0.875rem; margin-bottom: 20px; }

/* ── LOADING SKELETON ── */
.ok-skeleton { background: linear-gradient(90deg, var(--ok-gray-100) 25%, var(--ok-gray-200) 50%, var(--ok-gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--ok-radius-md); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.4s ease both; }
.fade-in { animation: fadeIn 0.3s ease; }

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .ok-gallery-btn { width: 36px; height: 36px; font-size: 1.1rem; }

  /* Header — scale everything to fit */
  .ok-header-inner { gap: 8px; padding: 0 14px; }

  /* Hide search box on mobile — bottom nav has a dedicated Search tab */
  .ok-header-search { display: none; }

  /* Logo mark — slightly smaller */
  .ok-logo-mark { width: 34px; height: 34px; border-radius: 8px; }
  .ok-logo-mark-o,
  .ok-logo-mark-k { font-size: 14px; }

  /* Wordmark — give it more room to breathe */
  .ok-logo { gap: 8px; }
  .ok-logo-text { font-size: 1.15rem; letter-spacing: -0.2px; }
  .ok-logo-tagline { font-size: 0.55rem; letter-spacing: 0.4px; }

  /* Post Ad — show label but compact */
  .ok-btn-post-ad { padding: 8px 11px; font-size: 0.78rem; gap: 4px; }

  /* Icon buttons tighter */
  .ok-icon-btn { width: 34px; height: 34px; font-size: 1.1rem; }
  .ok-header-actions { gap: 2px; }

  /* Avatar button */
  .ok-avatar-btn { width: 32px; height: 32px; font-size: 0.78rem; }
}
@media (min-width: 768px) {
  .ok-how-section, .ok-testimonials-section, .ok-app-banner { padding: 64px 0; }
  .ok-hero { padding: 60px 0 60px; }
  .ok-cats-section { padding: 40px 0 48px; }
  .ok-section { padding: 40px 0; }
}
@media (min-width: 1024px) {
  .ok-bottom-nav { display: none !important; }
  body { padding-bottom: 0; }
  .ok-footer { margin-bottom: 0; }
}
@media (min-width: 1280px) { .ok-how-section, .ok-testimonials-section { padding: 80px 0; } }

/* Focus visible for accessibility */
:focus-visible { outline: 3px solid var(--ok-primary); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ── DEMO / EMOJI LISTING CARD ENHANCEMENTS ── */
.ok-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 1;
}

/* Pagination */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--ok-radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--ok-border);
  color: var(--ok-text);
  text-decoration: none;
  transition: var(--ok-transition);
  margin: 0 3px;
}
.page-numbers:hover { border-color: var(--ok-primary); color: var(--ok-primary); }
.page-numbers.current { background: var(--ok-primary); color: white; border-color: var(--ok-primary); }
.nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 24px; }

/* Prose / Page content */
.ok-prose h2, .ok-prose h3 { font-family: var(--ok-font-display); margin: 1.5em 0 0.5em; }
.ok-prose p { margin-bottom: 1em; color: var(--ok-text-muted); }
.ok-prose ul, .ok-prose ol { margin: 1em 0 1em 1.5em; }
.ok-prose li { margin-bottom: 0.4em; color: var(--ok-text-muted); }
.ok-prose a { color: var(--ok-primary); text-decoration: underline; }
.ok-prose strong { color: var(--ok-text); }

/* Bx spin animation */
.bx-spin { animation: bx-rotate 1s linear infinite; }
@keyframes bx-rotate { 0% { transform: rotate(0); } 100% { transform: rotate(359deg); } }

/* Print: hide bottom nav & header */
@media print {
  .ok-header, .ok-bottom-nav, .ok-footer, .ok-sticky-contact { display: none !important; }
  body { padding: 0; }
}

/* ── FOOTER BRAND COLUMN (missing definition) ── */
.ok-footer-brand {
  display: flex;
  flex-direction: column;
}
.ok-footer-brand .ok-app-badge {
  display: inline-flex;
}

/* ════════════════════════════════════════════
   MISSING CLASSES — COMPLETE DEFINITIONS
════════════════════════════════════════════ */

/* Homepage wrapper */
.ok-homepage { background: var(--ok-bg-secondary); }

/* Main content area (single/page fallback) */
.ok-main-content {
  background: var(--ok-bg);
  min-height: 60vh;
}

/* Footer column */
.ok-footer-col { display: flex; flex-direction: column; }
.ok-footer-col-title {
  font-family: var(--ok-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

/* Dark mode toggle icons */
.ok-icon-moon,
.ok-icon-sun { font-size: 1.15rem; line-height: 1; }

/* Listing time / age label */
.ok-listing-time {
  font-size: 0.72rem;
  color: var(--ok-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Modal base */
.ok-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.ok-modal-inner {
  background: var(--ok-bg);
  border-radius: var(--ok-radius-xl);
  padding: 24px;
  max-width: 480px;
  width: calc(100vw - 32px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--ok-shadow-lg);
}

/* Pricing page wrapper */
.ok-pricing-page {
  background: var(--ok-bg-secondary);
  min-height: 100vh;
}

/* Admin settings wrapper (front-end) */
.ok-settings-wrap {
  padding: 0 0 40px;
}

/* Toast message text */
.ok-toast-msg {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Sidebar widgets */
.ok-widget {
  background: var(--ok-bg-card);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  padding: 16px;
  margin-bottom: 20px;
}
.ok-widget-title {
  font-family: var(--ok-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ok-primary);
  color: var(--ok-text);
}

/* ══════════════════════════════════════════════════════════════════
   FUND WALLET MODAL
══════════════════════════════════════════════════════════════════ */
.ok-fund-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ok-fund-modal.active {
  pointer-events: all;
  opacity: 1;
}
.ok-fund-modal-inner {
  background: var(--ok-bg);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.ok-fund-modal-inner::-webkit-scrollbar { display: none; }
.ok-fund-modal.active .ok-fund-modal-inner { transform: translateY(0); }

@media (min-width: 520px) {
  .ok-fund-modal { align-items: center; }
  .ok-fund-modal-inner { border-radius: 16px; max-height: 88dvh; }
}

/* Header */
.ok-fund-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 0;
  position: sticky;
  top: 0;
  background: var(--ok-bg);
  z-index: 1;
  border-bottom: 1px solid var(--ok-border);
  padding-bottom: 14px;
}
.ok-fund-modal-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ok-text);
}
.ok-fund-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ok-bg-secondary);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--ok-text-muted);
  transition: var(--ok-transition);
}
.ok-fund-modal-close:hover { background: var(--ok-border); color: var(--ok-text); }

/* Tabs */
.ok-fund-tabs {
  display: flex;
  border-bottom: 1px solid var(--ok-border);
  padding: 0 20px;
  gap: 0;
}
.ok-fund-tab-btn {
  flex: 1;
  padding: 12px 8px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ok-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.ok-fund-tab-btn:hover { color: var(--ok-text); }
.ok-fund-tab-btn.active {
  color: var(--ok-primary);
  border-bottom-color: var(--ok-primary);
}
.ok-fund-tab-btn i { font-size: 1rem; }

/* Panel */
.ok-fund-panel { padding: 20px; }

/* Quick amount buttons */
.ok-fund-amount-section { margin-bottom: 20px; }
.ok-fund-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.ok-fund-quick-amounts button {
  background: var(--ok-bg-secondary);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius);
  padding: 7px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ok-text);
  cursor: pointer;
  transition: var(--ok-transition);
}
.ok-fund-quick-amounts button:hover,
.ok-fund-quick-amounts button:active {
  background: var(--ok-primary-light, #FFF5EE);
  border-color: var(--ok-primary);
  color: var(--ok-primary);
}
.ok-fund-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ok-text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ── Bank Step wrapper ── */
.ok-bank-step { animation: okFadeIn 0.2s ease; }
@keyframes okFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Bank Details Card ── */
.ok-bank-details-card {
  background: var(--ok-bg-secondary);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.ok-bank-details-header {
  background: linear-gradient(135deg, var(--ok-primary) 0%, #E55A00 100%);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ok-bank-details-header i { font-size: 1.1rem; }
.ok-bank-detail-row {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--ok-border);
  gap: 8px;
}
.ok-bank-detail-row:last-child { border-bottom: none; }
.ok-bdl {
  font-size: 0.78rem;
  color: var(--ok-text-muted);
  flex-shrink: 0;
  width: 110px;
  font-weight: 600;
}
.ok-bdv {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ok-text);
}
.ok-bdv--mono { font-family: 'Courier New', monospace; letter-spacing: 0.08em; font-size: 1rem; }
.ok-bdv--amount { color: var(--ok-primary); font-size: 1.05rem; }
.ok-bank-detail-row--amount { background: rgba(255,107,0,0.04); }
.ok-copy-inline-btn {
  padding: 4px 8px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius);
  color: var(--ok-text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--ok-transition);
  flex-shrink: 0;
}
.ok-copy-inline-btn:hover { color: var(--ok-primary); border-color: var(--ok-primary); }

/* Reference box */
.ok-bank-ref-box {
  background: #FFFBEB;
  border-top: 1px solid #FDE68A;
  padding: 12px 16px;
}
.ok-bank-ref-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.ok-bank-ref-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.ok-ref-code {
  font-family: 'Courier New', monospace;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #92400E;
  flex: 1;
}
.ok-copy-ref-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #92400E;
  color: #fff;
  border: none;
  border-radius: var(--ok-radius);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ok-transition);
  flex-shrink: 0;
}
.ok-copy-ref-btn:hover { background: #78350F; }
.ok-bank-ref-warning {
  font-size: 0.74rem;
  color: #B45309;
  margin: 0;
  line-height: 1.5;
}
[data-theme="dark"] .ok-bank-ref-box { background: #2D2008; border-color: #78350F; }
[data-theme="dark"] .ok-bank-ref-label,
[data-theme="dark"] .ok-ref-code { color: #FCD34D; }
[data-theme="dark"] .ok-bank-ref-warning { color: #F59E0B; }
[data-theme="dark"] .ok-copy-ref-btn { background: #78350F; }

/* ── Screenshot Upload Area ── */
.ok-upload-section { margin-bottom: 20px; }
.ok-upload-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ok-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ok-screenshot-drop {
  border: 2px dashed var(--ok-border);
  border-radius: var(--ok-radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--ok-bg-secondary);
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ok-screenshot-drop:hover,
.ok-screenshot-drop.dragging {
  border-color: var(--ok-primary);
  background: rgba(255,107,0,0.04);
}
#ok-screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ok-text-muted);
  pointer-events: none;
}
#ok-screenshot-placeholder i {
  font-size: 2rem;
  color: var(--ok-primary);
  opacity: 0.7;
}
#ok-screenshot-placeholder span { font-size: 0.88rem; font-weight: 600; }
#ok-screenshot-placeholder small { font-size: 0.72rem; }
#ok-screenshot-preview-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}
#ok-screenshot-preview-img {
  max-height: 160px;
  max-width: 100%;
  border-radius: var(--ok-radius);
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.ok-screenshot-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EF4444;
  color: #fff;
  border: 2px solid var(--ok-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.ok-screenshot-remove-btn:hover { background: #B91C1C; }

/* ── Bank Transfer Success Screen ── */
.ok-btrans-success {
  text-align: center;
  padding: 20px 0 8px;
}
.ok-btrans-success-icon { font-size: 3rem; margin-bottom: 12px; }
.ok-btrans-success h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ok-text);
  margin: 0 0 8px;
}
.ok-btrans-success p {
  font-size: 0.88rem;
  color: var(--ok-text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.ok-btrans-success-note {
  font-size: 0.78rem;
  color: var(--ok-text-muted);
}

/* ok-btn-success */
.ok-btn-success {
  background: #16A34A;
  color: #fff;
  border: none;
  padding: 13px 20px;
  border-radius: var(--ok-radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.2s, opacity 0.2s;
}
.ok-btn-success:hover:not(:disabled) { background: #15803D; }
.ok-btn-success:disabled { opacity: 0.5; cursor: not-allowed; }
.ok-btn-ghost {
  background: transparent;
  color: var(--ok-text-muted);
  border: 1px solid var(--ok-border);
  padding: 11px 20px;
  border-radius: var(--ok-radius);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--ok-transition);
}
.ok-btn-ghost:hover { border-color: var(--ok-text-muted); color: var(--ok-text); }

/* ══════════════════════════════════════════════════════════════════
   BANK TRANSFER HISTORY (Wallet Tab)
══════════════════════════════════════════════════════════════════ */
.ok-deposit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ok-border);
  transition: background 0.15s;
}
.ok-deposit-item:last-child { border-bottom: none; }
.ok-deposit-item:hover { background: var(--ok-bg-secondary); }
.ok-dep-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #F0F4FF;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #3B82F6;
  flex-shrink: 0;
}
[data-theme="dark"] .ok-dep-icon { background: #1E293B; color: #60A5FA; }
.ok-dep-details { flex: 1; min-width: 0; }
.ok-dep-ref {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ok-text);
  letter-spacing: 0.04em;
}
.ok-dep-date {
  font-size: 0.74rem;
  color: var(--ok-text-muted);
  margin-top: 2px;
}
.ok-dep-reject-note {
  font-size: 0.74rem;
  color: #EF4444;
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.4;
}
.ok-dep-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.ok-dep-amount {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ok-text);
}
.ok-dep-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.ok-dep-pill--pending-upload { background: #FEF3C7; color: #D97706; }
.ok-dep-pill--pending-review { background: #FFF5EE; color: #FF6B00; }
.ok-dep-pill--approved       { background: #ECFDF5; color: #059669; }
.ok-dep-pill--rejected       { background: #FEF2F2; color: #EF4444; }
.ok-dep-resubmit-btn {
  margin-top: 2px;
  background: none;
  border: 1px solid var(--ok-primary);
  color: var(--ok-primary);
  border-radius: var(--ok-radius);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--ok-transition);
}
.ok-dep-resubmit-btn:hover { background: var(--ok-primary); color: #fff; }

@media (min-width: 520px) {
  /* On larger screens the modal renders as a centred dialog rather than a bottom sheet */
  .ok-fund-modal { align-items: center; }
  .ok-fund-modal-inner {
    border-radius: 16px;
    max-height: 88dvh;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  }
}
