/* ============================================================
   WebDealz - Main Stylesheet
   Palette:
     Primary Blue  #0866F5  buttons, links, CTA, active nav, highlights
     Dark Navy     #0B1F42  headings, navbar, footer, primary text
     Golden Yellow #FFB800  offers, badges, hover accents
     Orange        #FF6B00  sell buttons, promo, accent gradients
     White         #FFFFFF  background, cards
     Light Gray    #F3F6FB  section backgrounds
   ============================================================ */

:root {
  --wd-primary: #0866F5;
  --wd-primary-dark: #0552cc;
  --wd-primary-light: #4a90ff;
  --wd-primary-soft: #e8f1fe;
  --wd-grad-primary: linear-gradient(135deg, #2f86ff 0%, #0552cc 100%);

  --wd-navy: #0B1F42;
  --wd-navy-2: #12305f;

  --wd-yellow: #FFB800;
  --wd-yellow-dark: #a97600;
  --wd-yellow-soft: #fff5da;

  --wd-orange: #FF6B00;
  --wd-orange-dark: #e05a00;
  --wd-orange-soft: #fff0e4;
  --wd-grad-orange: linear-gradient(135deg, #ff8a2b 0%, #ff6b00 100%);

  --wd-green: #12A150;
  --wd-heading: #0B1F42;
  --wd-text: #33415c;
  --wd-muted: #6b7a94;
  --wd-border: #e5eaf2;
  --wd-border-strong: #d3dceb;
  --wd-bg: #ffffff;
  --wd-bg-soft: #F3F6FB;
  --wd-bg-soft2: #f8fafd;
  --wd-radius: 14px;
  --wd-radius-sm: 9px;
  --wd-shadow-xs: 0 1px 2px rgba(11, 31, 66, .05);
  --wd-shadow: 0 3px 12px rgba(11, 31, 66, .06);
  --wd-shadow-md: 0 12px 28px rgba(11, 31, 66, .09);
  --wd-shadow-lg: 0 22px 50px rgba(11, 31, 66, .13);
  --wd-shadow-primary: 0 10px 24px rgba(8, 102, 245, .26);
  --wd-shadow-orange: 0 10px 24px rgba(255, 107, 0, .26);
  --wd-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- Wider layout ---------- */
@media (min-width: 992px)  { .container { max-width: 1000px; } }
@media (min-width: 1200px) { .container { max-width: 1250px; } }
@media (min-width: 1400px) { .container { max-width: 1400px; } }

body {
  font-family: var(--wd-font);
  color: var(--wd-text);
  background: var(--wd-bg);
  font-size: .95rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(8, 102, 245, .18); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 {
  color: var(--wd-heading);
  font-weight: 700;
  letter-spacing: -.02em;
}

a { text-decoration: none; color: var(--wd-primary); transition: color .15s ease; }
a:hover { color: var(--wd-primary-dark); }

.text-muted { color: var(--wd-muted) !important; }
:focus-visible { outline: 2px solid rgba(8, 102, 245, .55); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--wd-radius-sm);
  font-weight: 600;
  padding: .58rem 1.15rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }

/* primary (blue) — .btn-danger is remapped to the brand primary */
.btn-danger {
  background-color: var(--wd-primary);
  border: 1px solid var(--wd-primary);
  color: #fff;
}
.btn-danger:hover, .btn-danger:focus {
  background-color: var(--wd-primary-dark);
  border-color: var(--wd-primary-dark);
  color: #fff;
}
.btn-outline-danger { color: var(--wd-primary); border-color: var(--wd-border-strong); background: #fff; }
.btn-outline-danger:hover { background: var(--wd-primary); border-color: var(--wd-primary); color: #fff; box-shadow: 0 6px 16px rgba(8,102,245,.2); }

/* Bootstrap primary mapped to brand blue */
.btn-primary { background-color: var(--wd-primary); border-color: var(--wd-primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--wd-primary-dark); border-color: var(--wd-primary-dark); color: #fff; }

/* sell / promo (orange) */
.btn-sell {
  background-color: var(--wd-orange);
  border: 1px solid var(--wd-orange);
  color: #fff !important;
}
.btn-sell:hover, .btn-sell:focus {
  background-color: var(--wd-orange-dark);
  border-color: var(--wd-orange-dark);
  color: #fff !important;
}

/* navy / secondary / semantic */
.btn-dark { background: var(--wd-navy); border-color: var(--wd-navy); }
.btn-dark:hover { background: var(--wd-navy-2); border-color: var(--wd-navy-2); transform: translateY(-1px); }
.btn-outline-dark { border-color: var(--wd-border-strong); color: var(--wd-navy); background: #fff; }
.btn-outline-dark:hover { background: var(--wd-navy); border-color: var(--wd-navy); color: #fff; }
.btn-light { background: #fff; border-color: var(--wd-border); }
.btn-success { background-color: var(--wd-green); border-color: var(--wd-green); }
.btn-warning { background-color: var(--wd-yellow); border-color: var(--wd-yellow); color: var(--wd-navy); }
.btn-warning:hover { background-color: #eaac00; border-color: #eaac00; color: var(--wd-navy); }
.btn-lg { padding: .8rem 1.7rem; font-size: 1rem; border-radius: 11px; }
.btn-sm { padding: .38rem .8rem; font-size: .82rem; border-radius: 8px; }

.text-danger { color: var(--wd-orange) !important; }
.text-warning { color: var(--wd-yellow-dark) !important; }
.bg-danger { background-color: var(--wd-orange) !important; }

/* ---------- Status badges (semantic, palette-aware) ---------- */
.badge.bg-success { background-color: var(--wd-green) !important; color: #fff; }
.badge.bg-warning { background-color: var(--wd-yellow) !important; color: var(--wd-navy); }
.badge.bg-info { background-color: var(--wd-primary) !important; color: #fff; }
.badge.bg-danger { background-color: var(--wd-orange) !important; color: #fff; }
.badge.bg-secondary { background-color: #8a94a6 !important; color: #fff; }
.badge.bg-dark { background-color: var(--wd-navy) !important; color: #fff; }

/* ---------- Top utility bar ---------- */
.wd-topbar {
  background: #0a1830;
  color: #9fb0cc;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: .4rem 0;
}
.wd-topbar a { color: #c7d3e8; }
.wd-topbar a:hover { color: #fff; }
.wd-topbar .dot { color: rgba(255, 255, 255, .25); padding: 0 .5rem; }
.wd-topbar .tb-flag { color: #ffd166; font-weight: 600; }

/* ---------- Navbar (light, Flippa-style) ---------- */
.wd-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--wd-border);
  box-shadow: none;
  padding: .62rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.wd-navbar .navbar-brand { display: flex; align-items: center; padding: 0; }
.wd-navbar .navbar-brand img { height: 32px; width: auto; display: block; }
.wd-navbar .nav-link {
  color: var(--wd-text);
  font-weight: 600;
  font-size: .93rem;
  padding: .5rem .72rem !important;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.wd-navbar .nav-link:hover { color: var(--wd-primary); background: var(--wd-bg-soft); }
.wd-navbar .nav-link.active { color: var(--wd-primary); background: var(--wd-primary-soft); }
.wd-navbar .navbar-toggler { border-color: var(--wd-border); }
.wd-navbar .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(8, 102, 245, .15); }
.wd-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811,31,66,0.72%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.wd-admin-btn {
  border: 1px solid var(--wd-border);
  color: var(--wd-navy) !important;
  background: #fff;
}
.wd-admin-btn:hover { background: var(--wd-bg-soft); border-color: var(--wd-border-strong); }

/* navbar search (light) */
.wd-search-form { position: relative; }
.wd-navbar .wd-search-form { max-width: 520px; }
.wd-navbar .wd-search-form .form-control {
  padding-left: 2.4rem;
  background: var(--wd-bg-soft);
  border: 1px solid var(--wd-border);
  color: var(--wd-heading);
  border-radius: 999px;
}
.wd-navbar .wd-search-form .form-control::placeholder { color: var(--wd-muted); }
.wd-navbar .wd-search-form .form-control:focus {
  background: #fff;
  border-color: var(--wd-primary);
  box-shadow: 0 0 0 .2rem rgba(8, 102, 245, .12);
  color: var(--wd-heading);
}
.wd-navbar .wd-search-form .bi-search { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--wd-muted); z-index: 3; }

/* ---------- Hero ---------- */
.wd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 70% at 6% -10%, rgba(8, 102, 245, .09), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--wd-bg-soft) 100%);
  border-bottom: 1px solid var(--wd-border);
  padding: 3.6rem 0 3.2rem;
  text-align: left;
}
.wd-hero h1 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); line-height: 1.14; font-weight: 800; letter-spacing: -.03em; }
.wd-hero h1 .hl {
  background: linear-gradient(120deg, #0866F5 0%, #0B1F42 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.wd-hero p.lead { color: var(--wd-muted); max-width: 560px; margin: 1.05rem 0 1.7rem; font-size: 1.06rem; }
.wd-hero-search { max-width: 500px; }
.wd-hero-search .input-group {
  background: #fff;
  box-shadow: var(--wd-shadow-lg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--wd-border);
  padding: .28rem;
  gap: .28rem;
}
.wd-hero-search .form-control { border: 0; padding: .82rem 1rem; font-size: .95rem; background: transparent; }
.wd-hero-search .form-control:focus { box-shadow: none; border: 0; }
.wd-hero-search .btn { padding: .74rem 1.3rem; font-size: .95rem; border-radius: 11px; }
.wd-popular { margin-top: 1.05rem; font-size: .85rem; color: var(--wd-muted); }
.wd-popular a {
  color: var(--wd-navy);
  background: #fff;
  border: 1px solid var(--wd-border);
  padding: .28rem .78rem;
  border-radius: 999px;
  margin: .18rem;
  display: inline-block;
  font-weight: 500;
  transition: .16s;
}
.wd-popular a:hover { border-color: var(--wd-primary); color: var(--wd-primary); background: var(--wd-primary-soft); transform: translateY(-1px); }

/* hero trust points */
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.5rem; font-size: .88rem; color: var(--wd-text); font-weight: 500; }
.hero-trust i { color: var(--wd-green); margin-right: .3rem; }

/* hero featured preview card */
.hero-preview {
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: 18px;
  box-shadow: var(--wd-shadow-lg);
  overflow: hidden;
  max-width: 440px;
  margin-left: auto;
  position: relative;
}
.hero-preview-img { position: relative; aspect-ratio: 16/10; background: var(--wd-bg-soft); }
.hero-preview-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-preview-img .listing-badges { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .3rem; }
.hero-preview-body { padding: 1.05rem 1.15rem 1.15rem; }
.hero-preview-body .cat { font-size: .7rem; font-weight: 700; color: var(--wd-primary); text-transform: uppercase; letter-spacing: .05em; }
.hero-preview-body h3 { font-size: 1.02rem; margin: .3rem 0 .55rem; line-height: 1.35; }
.hero-preview-stats { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .78rem; color: var(--wd-muted); margin-bottom: .8rem; }
.hero-preview-stats i { color: var(--wd-primary); margin-right: .25rem; }
.hero-preview-foot { display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; border-top: 1px solid var(--wd-border); }
.hero-preview-foot .listing-price { font-size: 1.3rem; }

/* ---------- Category quick links ---------- */
.wd-cat-strip { background: var(--wd-bg-soft); border-bottom: 1px solid var(--wd-border); }
.wd-cat-pill {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem .95rem;
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  color: var(--wd-navy);
  font-weight: 700;
  transition: .18s;
  height: 100%;
}
.wd-cat-pill:hover { border-color: var(--wd-primary); color: var(--wd-primary); transform: translateY(-3px); box-shadow: var(--wd-shadow); }
.wd-cat-pill .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--wd-primary-soft);
  color: var(--wd-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.wd-cat-pill .txt { display: flex; flex-direction: column; line-height: 1.25; }
.wd-cat-pill .txt small { font-weight: 500; color: var(--wd-muted); font-size: .74rem; }
.wd-cat-pill-sell { background-color: var(--wd-orange); border-color: transparent; color: #fff; }
.wd-cat-pill-sell .ico { background: rgba(255, 255, 255, .2); color: #fff; }
.wd-cat-pill-sell .txt small { color: rgba(255, 255, 255, .85); }
.wd-cat-pill-sell:hover { color: #fff; border-color: transparent; box-shadow: var(--wd-shadow-orange); }

/* ---------- Sections ---------- */
.section { padding: 3.4rem 0; }
.section-soft { background: var(--wd-bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid var(--wd-border); }
.section-head h2 { font-size: 1.5rem; margin: 0; }
.section-head .sub { color: var(--wd-muted); margin: .25rem 0 0; font-size: .92rem; }

/* ---------- Listing cards ---------- */
.listing-card {
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: var(--wd-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.listing-card:hover { box-shadow: var(--wd-shadow-md); transform: translateY(-4px); border-color: var(--wd-border-strong); }
.listing-thumb { position: relative; aspect-ratio: 16/9; background: var(--wd-bg-soft); overflow: hidden; }
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
.listing-card:hover .listing-thumb img { transform: scale(1.05); }
.listing-thumb .thumb-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef3fb, #e2eaf7); color: var(--wd-muted); font-size: 2rem; }
.listing-badges { position: absolute; top: .65rem; left: .65rem; display: flex; gap: .3rem; flex-wrap: wrap; z-index: 2; }
.listing-badges .badge, .wd-badge { font-size: .68rem; font-weight: 700; padding: .38em .62em; border-radius: 7px; letter-spacing: .01em; }
.badge-type { background: rgba(11, 31, 66, .85); color: #fff; backdrop-filter: blur(4px); }
.badge-featured { background: var(--wd-orange); color: #fff; }
.badge-verified { background: var(--wd-yellow); color: var(--wd-navy); }
.badge-verified i { color: var(--wd-navy); }
.fav-btn {
  position: absolute;
  top: .6rem;
  right: .6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .94);
  color: var(--wd-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--wd-shadow);
  z-index: 2;
  transition: transform .15s ease, color .15s ease;
}
.fav-btn:hover, .fav-btn.active { color: var(--wd-orange); transform: scale(1.08); }
.fav-btn-detail { width: 44px; height: 44px; border: 1px solid var(--wd-border-strong); background: #fff; border-radius: 12px; color: var(--wd-muted); display: inline-flex; align-items: center; justify-content: center; }
.fav-btn-detail.active { color: var(--wd-orange); border-color: var(--wd-orange); }

.listing-body { padding: 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.listing-body .cat { font-size: .72rem; font-weight: 700; color: var(--wd-primary); text-transform: uppercase; letter-spacing: .05em; }
.listing-body h3 { font-size: 1rem; margin: .35rem 0 .5rem; line-height: 1.4; }
.listing-body h3 a { color: var(--wd-heading); }
.listing-body h3 a:hover { color: var(--wd-primary); }
.listing-footer { margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--wd-border); display: flex; align-items: center; justify-content: space-between; }
.listing-price { font-size: 1.2rem; font-weight: 800; color: var(--wd-heading); }
.listing-price small { font-weight: 500; color: var(--wd-muted); font-size: .72rem; display: block; }
.listing-stats { display: flex; flex-wrap: wrap; gap: .35rem .85rem; font-size: .78rem; color: var(--wd-muted); margin: .3rem 0 .6rem; }
.listing-stats span { display: inline-flex; align-items: center; gap: .28rem; }
.listing-stats i { color: var(--wd-primary); }

.fixed-price-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .74rem;
  font-weight: 700;
  color: var(--wd-yellow-dark);
  background: var(--wd-yellow-soft);
  border: 1px solid #ffe08a;
  padding: .32rem .7rem;
  border-radius: 999px;
}

/* ---------- Steps / Trust ---------- */
.wd-step { text-align: center; padding: 1.8rem 1rem; height: 100%; border: 1px solid transparent; border-radius: var(--wd-radius); transition: .18s; }
.wd-step:hover { background: #fff; border-color: var(--wd-border); box-shadow: var(--wd-shadow); }
.wd-step .num {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--wd-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
  box-shadow: 0 8px 18px rgba(8, 102, 245, .24);
}
.wd-step h4 { font-size: 1.06rem; }
.wd-step p { color: var(--wd-muted); font-size: .9rem; margin: 0; }

.trust-card { background: #fff; border: 1px solid var(--wd-border); border-radius: var(--wd-radius); padding: 1.5rem; height: 100%; transition: .18s; }
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--wd-shadow-md); border-color: var(--wd-border-strong); }
.trust-card i { font-size: 1.5rem; color: var(--wd-primary); width: 50px; height: 50px; border-radius: 13px; background: var(--wd-primary-soft); display: inline-flex; align-items: center; justify-content: center; }
.trust-card h4 { font-size: 1.02rem; margin: .85rem 0 .4rem; }
.trust-card h5 { font-size: 1rem; margin: .85rem 0 .4rem; }
.trust-card p { color: var(--wd-muted); font-size: .88rem; margin: 0; }
.trust-card h6 { font-size: .92rem; }

/* ---------- CTA ---------- */
.wd-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0B1F42 0%, #12305f 100%);
  color: #fff;
  border-radius: 20px;
  padding: 3rem 2.4rem;
  text-align: center;
  box-shadow: var(--wd-shadow-lg);
}
.wd-cta::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -150px;
  top: -210px;
  background: radial-gradient(circle, rgba(255, 107, 0, .45), transparent 65%);
  pointer-events: none;
}
.wd-cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(8, 102, 245, .5), transparent 65%);
  pointer-events: none;
}
.wd-cta > * { position: relative; z-index: 1; }
.wd-cta h2 { color: #fff; font-size: 1.9rem; }
.wd-cta p { color: #c2cfe4; margin-bottom: 1.7rem; }

/* ---------- Ads ---------- */
.ad-slot { min-height: 60px; }
.ad-placeholder { border: 1px dashed var(--wd-border-strong); border-radius: 12px; background: var(--wd-bg-soft2); color: var(--wd-muted); padding: 1.4rem; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ad-placeholder span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.ad-placeholder small { font-size: .7rem; opacity: .7; }
.ad-slot img { max-width: 100%; border-radius: 12px; }

/* ---------- Cards general ---------- */
.wd-card { background: #fff; border: 1px solid var(--wd-border); border-radius: var(--wd-radius); box-shadow: var(--wd-shadow-xs); }
.wd-card .card-header { background: #fff; border-bottom: 1px solid var(--wd-border); font-weight: 700; padding: 1rem 1.2rem; border-radius: var(--wd-radius) var(--wd-radius) 0 0; }
.wd-card .card-body { padding: 1.2rem; }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; font-size: .88rem; color: var(--wd-heading); margin-bottom: .38rem; }
.form-control, .form-select { border-color: var(--wd-border-strong); border-radius: 10px; padding: .62rem .82rem; transition: border-color .15s ease, box-shadow .15s ease; }
.form-control:focus, .form-select:focus { border-color: var(--wd-primary); box-shadow: 0 0 0 .2rem rgba(8, 102, 245, .14); }
.form-text { color: var(--wd-muted); font-size: .8rem; }
.form-check-input:checked { background-color: var(--wd-primary); border-color: var(--wd-primary); }
.form-check-input:focus { border-color: var(--wd-primary); box-shadow: 0 0 0 .2rem rgba(8, 102, 245, .18); }

/* ---------- Auth (split screen) ---------- */
.wd-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 63px);
  background: #fff;
}
.wd-auth-aside {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 120% at 18% 8%, #174ea8 0%, #0B1F42 58%, #071731 100%);
  color: #fff;
  padding: 3rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wd-auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 55% at 100% 92%, rgba(255, 107, 0, .16), transparent 72%),
    radial-gradient(45% 45% at 44% 122%, rgba(8, 102, 245, .30), transparent 72%);
}
.wd-auth-aside > * { position: relative; z-index: 1; }
.wd-auth-logo { display: inline-flex; background: #fff; border-radius: 10px; padding: .45rem .75rem; }
.wd-auth-logo img { height: 30px; width: auto; display: block; }
.wd-auth-aside h2 { color: #fff; font-size: 2.05rem; line-height: 1.28; letter-spacing: -.02em; margin: 2.6rem 0 .9rem; max-width: 480px; }
.wd-auth-sub { color: #e1e8f7; font-size: 1rem; max-width: 480px; margin-bottom: 1.4rem; }
.wd-auth-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .85rem; }
.wd-auth-list li { display: flex; gap: .7rem; color: #d7e2f4; font-size: .98rem; align-items: flex-start; }
.wd-auth-list li i { color: #3ddc84; margin-top: .16rem; font-size: 1.08rem; }
.wd-auth-quote { border-left: 2px solid rgba(255, 255, 255, .25); padding-left: 1rem; color: #b9c9e2; font-size: .88rem; max-width: 420px; }
.wd-auth-main { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.wd-auth-card { width: 100%; max-width: 420px; }
.wd-auth-card h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.wd-auth-card .sub { color: var(--wd-muted); margin-bottom: 1.8rem; }
.wd-auth-card .form-control { padding: .72rem .9rem; }
.wd-auth-card .btn-lg { padding: .8rem 1rem; }
@media (max-width: 991.98px) {
  .wd-auth { grid-template-columns: 1fr; min-height: 0; }
  .wd-auth-aside { display: none; }
  .wd-auth-main { padding: 2.4rem 1.2rem; }
}

/* Auth visual + form upgrades */
.wd-auth-aside { gap: 1.3rem; }
.wd-auth-visual { position: relative; margin: .5rem 0; }
.wd-auth-visual img { width: 100%; max-width: 460px; display: block; border-radius: 16px; filter: drop-shadow(0 24px 36px rgba(2, 10, 24, .5)); }
.wd-auth-chips { position: absolute; left: 0; right: 0; top: -18px; display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--wd-navy); border-radius: 999px; padding: .44rem .85rem; font-size: .72rem; font-weight: 700; box-shadow: 0 10px 22px rgba(2, 10, 24, .28); animation: wdFloat 5s ease-in-out infinite; }
.chip i { color: var(--wd-primary); font-size: .78rem; }
.chip-green i { color: #0e9f6e; }
.wd-auth-members { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.15rem; }
.wd-avatar-stack { display: flex; flex: none; }
.wd-avatar-stack img, .wd-avatar-stack .more { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .92); margin-left: -9px; box-shadow: 0 3px 8px rgba(0, 0, 0, .28); }
.wd-avatar-stack img:first-child { margin-left: 0; }
.wd-avatar-stack .more { display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .16); color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .02em; }
.wd-auth-members p { color: #c9d6ec; font-size: .82rem; margin: 0; line-height: 1.4; }
.wd-auth-members strong { color: #fff; }

.auth-alert { border-radius: 12px; font-size: .88rem; }
.auth-social { display: flex; gap: .6rem; }
.auth-social .btn { border-radius: 10px; font-size: .88rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .68rem .5rem; border-color: var(--wd-border-strong); }
.auth-social .btn:hover { border-color: var(--wd-navy); background: var(--wd-bg-soft); }
.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--wd-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 1.15rem 0 1.05rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--wd-border); }
.auth-field { position: relative; }
.auth-field > i { position: absolute; left: .98rem; top: 50%; transform: translateY(-50%); color: var(--wd-muted); font-size: 1rem; z-index: 2; transition: color .15s; }
.auth-field .form-control { padding-left: 2.7rem; }
.auth-field .form-control:focus ~ i { color: var(--wd-primary); }
.auth-eye { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--wd-muted); padding: .4rem .55rem; font-size: 1.02rem; line-height: 1; }
.auth-eye:hover { color: var(--wd-primary); }
.auth-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; margin-top: 1.05rem; color: var(--wd-muted); font-size: .75rem; font-weight: 600; }
.auth-trust i { color: var(--wd-primary); margin-right: .2rem; }

/* ---------- Dashboard / Admin layout ---------- */
.dash-layout { display: flex; align-items: stretch; background: var(--wd-bg-soft); min-height: calc(100vh - 63px); }
.dash-sidebar { flex: 0 0 258px; width: 258px; background: #fff; border-right: 1px solid var(--wd-border); padding-bottom: 2rem; }
.dash-content { flex: 1 1 auto; min-width: 0; }
.dash-main { padding: 1.9rem 2rem 2.8rem; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-bottom: 1.1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--wd-border); }
.dash-head h1 { font-size: 1.4rem; margin: 0; }
.dash-head .crumb { color: var(--wd-muted); font-size: .82rem; margin-top: .2rem; }
.dash-user { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--wd-border); margin-bottom: .5rem; }
.dash-nav .nav-section { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wd-muted); padding: .95rem 1.3rem .35rem; }
.dash-sidebar .nav { gap: 1px; }
.dash-sidebar .nav-link { color: var(--wd-text); font-weight: 600; font-size: .9rem; padding: .58rem 1.3rem; border-left: 2px solid transparent; display: flex; align-items: center; gap: .7rem; transition: .15s; }
.dash-sidebar .nav-link i { width: 18px; font-size: 1rem; color: var(--wd-muted); }
.dash-sidebar .nav-link:hover { background: var(--wd-bg-soft); color: var(--wd-primary); }
.dash-sidebar .nav-link:hover i { color: var(--wd-primary); }
.dash-sidebar .nav-link.active { color: var(--wd-primary); background: var(--wd-primary-soft); border-left-color: var(--wd-primary); font-weight: 700; }
.dash-sidebar .nav-link.active i { color: var(--wd-primary); }
.dash-sidebar .nav-link .badge { margin-left: auto; font-weight: 700; }
.stat-card { background: #fff; border: 1px solid var(--wd-border); border-radius: 12px; padding: 1.2rem; height: 100%; transition: .18s; }
.stat-card:hover { border-color: var(--wd-border-strong); box-shadow: 0 6px 20px rgba(11, 31, 66, .06); }
.stat-card .label { color: var(--wd-muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.stat-card .value { font-size: 1.7rem; font-weight: 800; color: var(--wd-heading); line-height: 1.1; margin-top: .3rem; }
.stat-card .icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; background: var(--wd-primary-soft); color: var(--wd-primary); }
.stat-card .stat-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .95rem; }
.stat-blue .icon { background: rgba(8, 102, 245, .12); color: #0866F5; }
.stat-green .icon { background: rgba(14, 159, 110, .12); color: #0e9f6e; }
.stat-orange .icon { background: rgba(255, 107, 0, .12); color: #FF6B00; }
.stat-purple .icon { background: rgba(124, 58, 237, .12); color: #7c3aed; }
.stat-trend { display: inline-flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 800; color: var(--wd-muted); background: var(--wd-bg-soft); border: 1px solid var(--wd-border); padding: .24rem .55rem; border-radius: 999px; white-space: nowrap; }
.stat-trend.up { color: #0e9f6e; background: #e7f7ef; border-color: #cdeeda; }
.stat-trend.warn { color: #FF6B00; background: #fff3e8; border-color: #ffdcc2; }
.stat-trend.neutral { color: #7c3aed; background: #f3ecfd; border-color: #e5d9fb; }

/* Dashboard welcome banner */
.dash-welcome { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; background: linear-gradient(120deg, #0B1F42 0%, #123a7a 55%, #0866F5 135%); border-radius: 16px; padding: 1.5rem 1.6rem; margin-bottom: 1.5rem; color: #fff; box-shadow: 0 10px 30px rgba(11, 31, 66, .18); }
.dash-welcome::after { content: ""; position: absolute; right: -80px; top: -100px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 184, 0, .38), rgba(255, 107, 0, .16) 55%, transparent 70%); }
.dash-welcome-blob { position: absolute; left: 36%; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, rgba(8, 102, 245, .5), transparent 70%); }
.dash-welcome-main { position: relative; z-index: 1; }
.dash-welcome-tag { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .32rem .75rem; border-radius: 999px; margin-bottom: .8rem; }
.dash-welcome h2 { color: #fff; font-size: 1.5rem; margin: 0 0 .25rem; letter-spacing: -.01em; }
.dash-welcome p { color: #c6d4ee; font-size: .9rem; margin: 0; }
.dash-welcome-right { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; }
.dash-wel-stat { text-align: right; }
.dash-wel-stat span { display: block; font-size: .7rem; color: #b9cae8; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.dash-wel-stat strong { font-size: 1.18rem; color: #fff; }
.dash-wel-avatar { width: 56px; height: 56px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .55); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }

/* Earnings chart */
.dash-chart-total { font-size: .82rem; font-weight: 800; color: var(--wd-heading); }
.dash-chart-total small { display: block; font-size: .68rem; color: var(--wd-muted); font-weight: 600; text-align: right; }
.earn-chart { display: flex; align-items: flex-end; gap: .65rem; height: 215px; padding-top: 1.5rem; }
.earn-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .45rem; min-width: 0; }
.earn-bar { width: 100%; max-width: 46px; min-height: 4px; background: linear-gradient(180deg, #0ea5e9, #0866F5); border-radius: 7px 7px 3px 3px; position: relative; height: 0; animation: barGrow 1.1s cubic-bezier(.22, .8, .3, 1) forwards; box-shadow: 0 6px 14px rgba(8, 102, 245, .25); }
.earn-bar span { position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%); font-size: .68rem; font-weight: 800; color: var(--wd-heading); white-space: nowrap; }
.earn-label { font-size: .72rem; font-weight: 700; color: var(--wd-muted); }
.dash-chart-note { display: flex; align-items: center; gap: .5rem; margin-top: 1.1rem; font-size: .8rem; color: var(--wd-muted); }
.dot-blue { width: 9px; height: 9px; border-radius: 50%; background: var(--wd-primary); flex: none; }
@keyframes barGrow { from { height: 0; } to { height: var(--h); } }

/* Activity feed */
.feed-item { display: flex; align-items: flex-start; gap: .8rem; padding: .85rem .4rem; border-bottom: 1px solid var(--wd-border); }
.feed-item:last-child { border-bottom: 0; }
.feed-ico { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; flex: none; }
.feed-ico.blue { background: rgba(8, 102, 245, .12); color: #0866F5; }
.feed-ico.green { background: rgba(14, 159, 110, .12); color: #0e9f6e; }
.feed-ico.orange { background: rgba(255, 107, 0, .12); color: #FF6B00; }
.feed-text { flex: 1; min-width: 0; }
.feed-text .small-muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-time { font-size: .7rem; color: var(--wd-muted); font-weight: 700; white-space: nowrap; }

/* Sidebar brand + footer */
.dash-sidebar { display: flex; flex-direction: column; }
.dash-brand { padding: .95rem 1.3rem; border-bottom: 1px solid var(--wd-border); }
.dash-brand img { height: 30px; width: auto; display: block; }
.dash-nav-wrap { flex: 1; overflow-y: auto; }
.dash-sidebar-foot { padding: 1rem 1.2rem; border-top: 1px solid var(--wd-border); display: grid; gap: .55rem; margin-top: auto; }
.dash-sidebar-foot a { display: flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 600; color: var(--wd-muted); }
.dash-sidebar-foot a:hover { color: var(--wd-primary); }

.table > :not(caption) > * > * { padding: .78rem .78rem; }
.table thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--wd-muted); font-weight: 700; border-bottom: 1px solid var(--wd-border); }

/* ---------- Businesses-for-sale data table ---------- */
.bt-wrap { border: 1px solid var(--wd-border); border-radius: 14px; background: #fff; overflow: hidden; }
.bt-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.bt-table thead th { background: var(--wd-bg-soft2); color: var(--wd-muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .72rem .9rem; white-space: nowrap; border-bottom: 1px solid var(--wd-border); }
.bt-table tbody td { padding: .85rem .9rem; border-bottom: 1px solid var(--wd-border); vertical-align: middle; }
.bt-table tbody tr:last-child td { border-bottom: 0; }
.bt-table tbody tr:hover { background: #fafbfe; }
.bt-price { font-weight: 800; color: var(--wd-heading); white-space: nowrap; }
.bt-name a { font-weight: 600; color: var(--wd-heading); display: block; line-height: 1.3; }
.bt-name a:hover { color: var(--wd-primary); }
.bt-meta { display: block; font-size: .76rem; color: var(--wd-muted); margin-top: .15rem; }
.bt-type { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--wd-navy); background: var(--wd-bg-soft); border: 1px solid var(--wd-border); padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.bt-num { color: var(--wd-heading); white-space: nowrap; }
.bt-num small { color: var(--wd-muted); font-weight: 500; }
.bt-mult { color: var(--wd-navy); font-weight: 600; white-space: nowrap; }
.bt-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; padding: .28rem .62rem; border-radius: 999px; white-space: nowrap; }
.bt-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.bt-status.open { color: #0e9f6e; background: #e7f7ef; }
.bt-status.open::before { background: #0e9f6e; }
.bt-status.sold { color: #6b7280; background: #f1f3f5; }
.bt-status.sold::before { background: #6b7280; }

/* ---------- Listing detail ---------- */
.gallery-main { border: 1px solid var(--wd-border); border-radius: var(--wd-radius); overflow: hidden; background: var(--wd-bg-soft); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .55rem; margin-top: .65rem; overflow-x: auto; padding-bottom: .2rem; }
.gallery-thumbs img { width: 88px; height: 60px; object-fit: cover; border-radius: 9px; border: 2px solid var(--wd-border); cursor: pointer; transition: .15s; }
.gallery-thumbs img:hover { border-color: var(--wd-primary); }

.detail-price-box { border: 1px solid var(--wd-border); border-radius: var(--wd-radius); padding: 1.35rem; background: #fff; position: sticky; top: 84px; box-shadow: var(--wd-shadow); }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--wd-heading); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; }
.stat-box { border: 1px solid var(--wd-border); border-radius: 12px; padding: .9rem; background: var(--wd-bg-soft2); }
.stat-box .k { font-size: .72rem; color: var(--wd-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.stat-box .v { font-size: 1.05rem; font-weight: 700; color: var(--wd-heading); }

.seller-badge { display: inline-flex; align-items: center; gap: .28rem; color: var(--wd-primary); font-weight: 600; font-size: .82rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--wd-primary-soft); color: var(--wd-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.avatar-lg { width: 84px; height: 84px; font-size: 1.8rem; }

.breadcrumb { font-size: .85rem; }
.breadcrumb a { color: var(--wd-muted); }
.breadcrumb a:hover { color: var(--wd-primary); }
.breadcrumb-item.active { color: var(--wd-text); }

/* ---------- Reviews ---------- */
.stars { color: var(--wd-yellow); }
.review-item { border-bottom: 1px solid var(--wd-border); padding: 1rem 0; }
.review-item:last-child { border-bottom: 0; }

/* ---------- Messaging ---------- */
.conv-list .list-group-item { border-color: var(--wd-border); }
.conv-list .list-group-item.active { background: var(--wd-primary-soft); border-color: var(--wd-primary-soft); color: var(--wd-heading); }
.chat-window { height: 460px; overflow-y: auto; padding: 1rem; background: var(--wd-bg-soft2); border: 1px solid var(--wd-border); border-radius: 12px; }
.msg { max-width: 75%; padding: .65rem .9rem; border-radius: 14px; margin-bottom: .7rem; font-size: .9rem; box-shadow: var(--wd-shadow-xs); }
.msg.me { margin-left: auto; background: var(--wd-grad-primary); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { background: #fff; border: 1px solid var(--wd-border); border-bottom-left-radius: 4px; }
.msg .time { font-size: .68rem; opacity: .75; margin-top: .25rem; }

/* ---------- Footer (light, Flippa-style) ---------- */
.wd-footer {
  background: #ffffff;
  color: var(--wd-muted);
  padding: 3rem 0 1.6rem;
  margin-top: 0;
  border-top: 1px solid var(--wd-border);
}
.wd-footer h5 { color: var(--wd-heading); font-size: .88rem; margin-bottom: 1rem; letter-spacing: .01em; font-weight: 700; }
.wd-footer a { color: var(--wd-muted); font-size: .88rem; display: block; padding: .22rem 0; transition: color .15s ease; }
.wd-footer a:hover { color: var(--wd-primary); }
.wd-footer .brand { color: var(--wd-heading); font-weight: 800; font-size: 1.25rem; }
.wd-footer .brand-chip { display: inline-flex; align-items: center; }
.wd-footer .brand-chip img { height: 30px; width: auto; display: block; }
.wd-footer .bottom { border-top: 1px solid var(--wd-border); margin-top: 2rem; padding-top: 1.3rem; font-size: .83rem; color: var(--wd-muted); }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--wd-muted); }
.empty-state i { font-size: 3rem; color: var(--wd-border-strong); }
.pill-filter { display: inline-flex; gap: .45rem; flex-wrap: wrap; }
.pill-filter a { padding: .38rem .9rem; border: 1px solid var(--wd-border); border-radius: 999px; font-size: .85rem; color: var(--wd-text); font-weight: 600; transition: .15s; }
.pill-filter a.active, .pill-filter a:hover { border-color: var(--wd-primary); color: var(--wd-primary); background: var(--wd-primary-soft); }
.ratio-listing { aspect-ratio: 16/9; }
.hover-shadow { transition: .18s; }
.hover-shadow:hover { box-shadow: var(--wd-shadow-md); transform: translateY(-2px); }
.divider { height: 1px; background: var(--wd-border); margin: 1.4rem 0; }
.small-muted { font-size: .8rem; color: var(--wd-muted); }
.chip { display: inline-block; background: var(--wd-bg-soft); border: 1px solid var(--wd-border); border-radius: 999px; padding: .22rem .7rem; font-size: .78rem; margin: .15rem .2rem .15rem 0; color: var(--wd-text); }

/* ---------- Stats band ---------- */
.wd-stats-band { background: #fff; border-bottom: 1px solid var(--wd-border); padding: 1.5rem 0; }
.wd-stat { padding: .35rem .6rem; }
.wd-stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--wd-heading); line-height: 1.1; }
.wd-stat span { color: var(--wd-muted); font-size: .84rem; font-weight: 600; }

/* ---------- Eyebrow ---------- */
.wd-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wd-primary); background: var(--wd-primary-soft); padding: .3rem .8rem; border-radius: 999px; margin-bottom: .7rem; }

/* ---------- Success stories ---------- */
.story-card { background: #fff; border: 1px solid var(--wd-border); border-radius: var(--wd-radius); padding: 1.4rem; height: 100%; display: flex; flex-direction: column; transition: .18s; }
.story-card:hover { transform: translateY(-3px); box-shadow: var(--wd-shadow-md); border-color: var(--wd-border-strong); }
.story-card .stars { font-size: .95rem; letter-spacing: .08em; }
.story-quote { color: var(--wd-text); font-size: .95rem; line-height: 1.6; margin-bottom: 1.1rem; }
.story-metric { display: inline-block; font-size: .72rem; font-weight: 800; color: var(--wd-green); background: rgba(18, 161, 80, .1); border-radius: 999px; padding: .25rem .65rem; margin-bottom: .9rem; align-self: flex-start; }
.story-foot { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding-top: .9rem; border-top: 1px solid var(--wd-border); }
.story-foot .avatar { width: 40px; height: 40px; }
.story-foot strong { display: block; color: var(--wd-heading); font-size: .92rem; line-height: 1.2; }
.story-foot small { color: var(--wd-muted); font-size: .78rem; }

/* ---------- Mega menu ---------- */
.wd-mega-menu { padding: 1.4rem 1.6rem; border: 0; border-radius: 16px; box-shadow: var(--wd-shadow-lg); margin-top: .35rem; }
.wd-mega-head { display: flex; align-items: center; gap: .7rem; padding: .2rem 0 .75rem; border-bottom: 1px solid var(--wd-border); margin-bottom: .55rem; }
.wd-mega-head .ico { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--wd-primary-soft); color: var(--wd-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.wd-mega-head strong { display: block; color: var(--wd-heading); font-size: .98rem; line-height: 1.15; }
.wd-mega-head small { color: var(--wd-muted); font-size: .74rem; }
.wd-mega-head:hover strong { color: var(--wd-primary); }
.wd-mega-list { list-style: none; margin: 0; padding: 0; }
.wd-mega-list a { display: flex; align-items: center; gap: .5rem; padding: .35rem .5rem; border-radius: 8px; color: var(--wd-text); font-size: .86rem; font-weight: 500; }
.wd-mega-list a i { color: var(--wd-muted); width: 16px; }
.wd-mega-list a:hover { background: var(--wd-primary-soft); color: var(--wd-primary); }
.wd-mega-list a:hover i { color: var(--wd-primary); }
@media (min-width: 992px) {
  .wd-navbar > .container { position: relative; }
  .wd-mega { position: static; }
  .wd-mega .wd-mega-menu {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    width: auto;
    margin: .55rem 0 0;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid var(--wd-border);
  }
}
@media (max-width: 991.98px) {
  .wd-mega-menu { position: static; box-shadow: none; border: 1px solid var(--wd-border); padding: .9rem 1rem; margin: .3rem 0; }
}

/* ---------- Footer extras (light) ---------- */
.wd-footer-news { background: var(--wd-bg-soft); border-bottom: 1px solid var(--wd-border); padding: 1.6rem 0; }
.wd-news-form .input-group { background: #fff; border: 1px solid var(--wd-border-strong); border-radius: 12px; overflow: hidden; }
.wd-news-form .input-group-text { background: #fff; border: 0; color: var(--wd-muted); }
.wd-news-form .form-control { background: transparent; border: 0; box-shadow: none; color: var(--wd-heading); }
.wd-news-form .form-control::placeholder { color: var(--wd-muted); }
.wd-news-form .form-control:focus { box-shadow: none; background: transparent; color: var(--wd-heading); }
.wd-news-form .btn { border-radius: 0; }
.wd-footer .wd-social { display: flex; gap: .55rem; }
.wd-footer .wd-social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--wd-border); display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 1rem; color: var(--wd-muted); }
.wd-footer .wd-social a:hover { background: var(--wd-primary); border-color: var(--wd-primary); color: #fff; }
.wd-footer-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--wd-border); margin-top: 2.2rem; padding-top: 1.4rem; }
.wd-footer-trust .tb { font-size: .84rem; color: var(--wd-text); }
.wd-footer-trust .tb i { color: var(--wd-green); margin-right: .35rem; }
.wd-footer .pay-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.wd-footer .pay-badges span { font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: var(--wd-muted); background: #fff; border: 1px solid var(--wd-border); border-radius: 7px; padding: .3rem .55rem; }
.wd-footer-trust + .bottom { margin-top: 1.4rem; }
.wd-footer .bottom .legal { display: inline-flex; gap: 1rem; }
.wd-footer .bottom .legal a { display: inline-block; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .wd-hero { padding: 2.6rem 0 2.4rem; text-align: center; }
  .wd-hero h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .wd-hero p.lead { margin-left: auto; margin-right: auto; }
  .wd-hero-search { margin: 0 auto; }
  .hero-trust { justify-content: center; }
  .hero-preview { margin: 1.6rem auto 0; }
  .dash-layout { display: block; }
  .dash-sidebar { flex: none; width: auto; border-right: 0; border-bottom: 1px solid var(--wd-border); padding-bottom: 0; }
  .dash-head { align-items: flex-start; }
  .dash-main { padding: 1.3rem; }
  .detail-price-box { position: static; }
  .wd-navbar .navbar-brand img { height: 34px; }
  .wd-navbar .navbar-collapse { padding-top: .6rem; }
  .wd-topbar { text-align: center; }
}
@media (max-width: 575.98px) {
  .wd-hero h1 { font-size: 1.65rem; }
  .section { padding: 2.2rem 0; }
  .wd-cta { padding: 2.2rem 1.3rem; }
  .wd-topbar .tb-hide { display: none; }
  .wd-cat-pill .ico { width: 38px; height: 38px; font-size: 1.05rem; }
}

/* ============================================================
   MOTION & IMAGERY (rich visuals + animation)
   ============================================================ */
@keyframes wdFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes wdMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wdShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes wdPulse { 0% { box-shadow: 0 0 0 0 rgba(8,102,245,.35); } 70% { box-shadow: 0 0 0 14px rgba(8,102,245,0); } 100% { box-shadow: 0 0 0 0 rgba(8,102,245,0); } }
@keyframes wdBlob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(26px,-20px) scale(1.08); } 66% { transform: translate(-18px,16px) scale(.95); } }
@keyframes wdGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes wdPop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-zoom { opacity: 0; transform: scale(.94); transition: opacity .7s ease, transform .7s ease; }
.reveal-zoom.in { opacity: 1; transform: none; }
.stagger > * { transition-delay: var(--d, 0ms); }

/* Hero animated blobs */
.wd-hero .wd-blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; z-index: 0; pointer-events: none; animation: wdBlob 18s ease-in-out infinite; }
.wd-hero .wd-blob.b1 { width: 420px; height: 420px; left: -130px; top: -150px; background: radial-gradient(circle, rgba(8,102,245,.55), transparent 65%); }
.wd-hero .wd-blob.b2 { width: 380px; height: 380px; right: -120px; top: -130px; background: radial-gradient(circle, rgba(255,107,0,.35), transparent 65%); animation-delay: -6s; }
.wd-hero .wd-blob.b3 { width: 320px; height: 320px; left: 42%; bottom: -210px; background: radial-gradient(circle, rgba(255,184,0,.32), transparent 65%); animation-delay: -11s; }
.wd-hero > .container { position: relative; z-index: 1; }

/* Hero dashboard mockup */
.hero-mockup { max-width: 560px; margin-left: auto; animation: wdFloat 7s ease-in-out infinite; }
.hero-mockup img { width: 100%; height: auto; display: block; }

/* Hero floating thumbnails */
.hero-preview { animation: wdFloat 7s ease-in-out infinite; }
.hero-float { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--wd-border); border-radius: 14px; box-shadow: var(--wd-shadow-lg); padding: .4rem; width: 134px; }
.hero-float img { width: 100%; border-radius: 10px; display: block; aspect-ratio: 16/10; object-fit: cover; }
.hero-float .cap { font-size: .66rem; font-weight: 800; color: var(--wd-heading); padding: .35rem .25rem .15rem; line-height: 1.25; }
.hero-float .cap small { display: block; color: var(--wd-primary); font-weight: 700; }
.hero-float.featured { border-color: var(--wd-primary); box-shadow: 0 16px 44px rgba(8, 102, 245, .30); width: 150px; }
.hero-float .cap .featured-tag { display: inline-block; background: var(--wd-primary); color: #fff; font-size: .6rem; font-weight: 800; border-radius: 99px; padding: .08rem .4rem; margin-bottom: .15rem; }
.hero-float.f1 { left: -36px; top: 34px; animation: wdFloat 6.5s ease-in-out infinite; }
.hero-float.f2 { right: -28px; top: 158px; animation: wdFloat 8s ease-in-out infinite; animation-delay: -2.5s; }
.hero-float.f3 { left: -18px; bottom: 18px; animation: wdFloat 7.5s ease-in-out infinite; animation-delay: -4s; }

/* Card image zoom */
.listing-thumb { overflow: hidden; }
.listing-thumb img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.listing-card:hover .listing-thumb img { transform: scale(1.06); }
.hero-preview-img img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero-preview:hover .hero-preview-img img { transform: scale(1.05); }

/* Category image cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.cat-card { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--wd-border); min-height: 220px; color: #fff; isolation: isolate; transition: box-shadow .25s ease, transform .25s ease; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,66,.05) 0%, rgba(11,31,66,.85) 100%); z-index: -1; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--wd-shadow-lg); }
.cat-card .cc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.cat-card .cc-body small { color: #cbd8ee; font-size: .78rem; font-weight: 600; }
.cat-card .cc-body strong { display: block; font-size: 1.2rem; color: #fff; font-weight: 800; letter-spacing: -.01em; }
.cat-card .cc-badge { position: absolute; top: .85rem; left: 1rem; background: rgba(255,255,255,.94); color: var(--wd-navy); font-size: .7rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; }

/* Tight section + hero visual wrapper */
.section-tight { padding: 1.9rem 0; }
.hero-visual { position: relative; padding: 0 0 0 .5rem; }

/* Brand / logo marquee */
.wd-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wd-marquee-track { display: flex; gap: 1rem; width: max-content; animation: wdMarquee 34s linear infinite; }
.wd-marquee:hover .wd-marquee-track { animation-play-state: paused; }
.brand-logo { height: 34px; width: auto; flex: none; filter: grayscale(1); opacity: .72; transition: filter .3s ease, opacity .3s ease; }
.brand-logo:hover { filter: grayscale(0); opacity: 1; }
.wd-marquee-track { align-items: center; gap: 2.4rem; }

/* Testimonial marquee */
.story-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.story-marquee-track { display: flex; gap: 1rem; width: max-content; animation: wdMarquee 46s linear infinite; }
.story-marquee:hover .story-marquee-track { animation-play-state: paused; }
.story-marquee .story-card { width: 360px; flex: none; }

/* Blog cards */
.blog-card { background: #fff; border: 1px solid var(--wd-border); border-radius: 16px; overflow: hidden; height: 100%; transition: .25s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--wd-shadow); transform: translateY(-4px); border-color: var(--wd-border-strong); }
.blog-card .blog-media { aspect-ratio: 16/9; overflow: hidden; background: var(--wd-bg-soft); }
.blog-card .blog-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-card .blog-body { padding: 1.05rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-tag { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wd-primary); }
.blog-card h3 { font-size: 1.02rem; line-height: 1.35; margin: .4rem 0 .5rem; }
.blog-card h3 a { color: var(--wd-heading); }
.blog-card h3 a:hover { color: var(--wd-primary); }
.blog-card .blog-meta { margin-top: auto; font-size: .78rem; color: var(--wd-muted); display: flex; align-items: center; gap: .5rem; }

/* Sold cards */
.sold-card { background: #fff; border: 1px solid var(--wd-border); border-radius: 16px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: .25s; }
.sold-card:hover { box-shadow: var(--wd-shadow); transform: translateY(-4px); border-color: var(--wd-border-strong); }
.sold-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--wd-bg-soft); }
.sold-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sold-card:hover .sold-media img { transform: scale(1.06); }
.sold-media .bt-status { position: absolute; top: .7rem; left: .7rem; }
.sold-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.sold-cat { font-size: .7rem; font-weight: 700; color: var(--wd-primary); text-transform: uppercase; letter-spacing: .05em; }
.sold-body h3 { font-size: 1.02rem; margin: .35rem 0 .5rem; line-height: 1.35; }
.sold-body h3 a { color: var(--wd-heading); }
.sold-body h3 a:hover { color: var(--wd-primary); }
.sold-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .78rem; color: var(--wd-muted); margin-bottom: .7rem; }
.sold-meta i { color: var(--wd-primary); }
.sold-price { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--wd-border); color: var(--wd-muted); font-size: .86rem; }
.sold-price strong { color: var(--wd-navy); font-size: 1.05rem; }

/* Fee icon */
.fee-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--wd-primary-soft); color: var(--wd-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }

/* Illustrated steps */
.wd-step-illu { background: #fff; border: 1px solid var(--wd-border); border-radius: 18px; padding: 1.2rem; text-align: center; height: 100%; transition: .25s; }
.wd-step-illu:hover { transform: translateY(-5px); box-shadow: var(--wd-shadow); border-color: var(--wd-border-strong); }
.wd-step-illu img { width: 100%; max-width: 210px; height: auto; }
.wd-step-illu .num-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wd-primary); color: #fff; font-weight: 800; font-size: .85rem; margin-bottom: .5rem; animation: wdPulse 3s ease-out infinite; }
.wd-step-illu h4 { margin-top: .6rem; }

/* Table row thumbnail */
.bt-thumb { width: 54px; height: 40px; border-radius: 8px; object-fit: cover; border: 1px solid var(--wd-border); flex: none; }
.bt-name-inner { display: flex; align-items: center; gap: .7rem; }

/* Pulse for sell CTA */
.pulse-dot { position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255,107,0,.4); animation: wdPulse 2.6s infinite; }

/* Shimmer placeholder */
.shimmer { background: linear-gradient(90deg, #eef1f6 25%, #f7f9fc 37%, #eef1f6 63%); background-size: 200% 100%; animation: wdShimmer 1.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-zoom { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wd-hero .wd-blob, .hero-preview, .hero-float, .wd-marquee-track, .story-marquee-track, .wd-step-illu .num-badge, .pulse-dot::after { animation: none !important; }
}

@media (max-width: 991.98px) {
  .hero-float { display: none; }
  .wd-marquee-track { animation-duration: 46s; }
  .story-marquee-track { animation-duration: 62s; }
}
