:root{
  /* =========================
     Brand / Color Palette
     Keep BarterLoop logo/text white at all times via .brand-text
     ========================= */
  --primary: #007bff;        /* BarterLoop yellow (main) */
  --primary-accent: #00B050;
  --primary-contrast: #111;  /* text color for primary buttons where needed */
  --secondary: #18BC9C;      /* green accent */
  --accent: #007bff;         /* orange accent */

  /* Page backgrounds and text */
  --bg: #f9f9f9;             /* very light gray page background (your choice) */
  --card-bg: #ffffff;
  --card-bg-alt: #fbfdff;
  --dark-bg: #0f1115;
  --text: #1f2937;
  --muted: #6b7280;

  /* Borders / shadows */
  --border: #e6e6e9;
  --border-strong: #d1d5db;
  --border-dark: #2b2b2b;
  --shadow: 0 6px 22px rgba(8,15,30,0.06);
  --shadow-strong: 0 10px 30px rgba(8,15,30,0.12);

  /* Sizes & spacing */
  --container-max: 1200px;
  --gutter: 1rem;
  --radius: 12px;
  --radius-sm: 8px;

  /* Typography */
  --ff-main: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial;
  --fs-xs: 0.8rem;
  --fs-sm: 0.95rem;
  --fs-base: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 2.2rem;

  /* transitions */
  --trans: 260ms;
  --trans-slow: 420ms;
}

/* =========================
   Base / Reset
   ========================= */
* { box-sizing: border-box; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
html,body,#app { height:100%; }
body{
  margin:0;
  padding:0;
  font-family: var(--ff-main);
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  transition: all 0.3s ease; color var(--trans);
}

/* Make sure BarterLoop brand text stays white */
.brand-text, .logo-text { color: #fff !important; }

/* Media defaults */
img, video { max-width:100%; height:auto; display:block; object-fit:cover; }

/* Links */
a { color: var(--primary); text-decoration: none; transition: color var(--trans); }
a:hover, a:focus { text-decoration: underline; outline: none; }

/* Utility */
.hidden { display:none !important; }
.visually-hidden { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

/* =========================
   Layout / Containers / Grid
   ========================= */
/* central site-width wrapper */
.site-width { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); width:100%; }

/* main container for pages */
.container { max-width: var(--container-max); margin: 0 auto; padding: 2rem var(--gutter); }

/* centered container for hero/marketing sections */
.center-wrap { display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; gap:1rem; }

/* responsive row/cols */
.row { display:flex; flex-wrap:wrap; margin:-0.75rem; }
.col { padding:0.75rem; flex:1 1 0; min-width:0; }
.col-12{ flex-basis:100% }
.col-6{ flex-basis:50% }
.col-4{ flex-basis:33.333% }
.col-3{ flex-basis:25% }

/* =========================
   NAVBAR / HEADER / LOGO / TAGLINE
   ========================= */
.header {
  background-color: var(--brand-primary);
  color: #fff;
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* primary navbar - centered layout with brand left, links center, controls right on wide screens */
.navbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: 1rem var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
  width:100%;
  background-color: var(--navbar-bg, var(--primary));
  border-bottom: 1px solid #ddd;
  color: var(--navbar-text), white;
}

/* Brand area: logo + brand name on one horizontal line */
.brand {
  display:flex;
  align-items:center;
  gap: 0.75rem;
  min-width: 0; /* avoid overflow with long text */
}
/* When background is bright (e.g. light hero or white card) */
.on-light .brand-name,
.light-bg .brand-name {
  color: var(--brand-primary);
  text-shadow: none;
}

/* === Navbar Brand Logo === */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


/* logo image sizing and alignment */
.logo {
  display:flex;
  width: 42px;
  height: 42px;
  object-fit: contain;
  align-items:center;
  gap:0.5rem;
}
.logo img { height:40px; width:auto; display:block; object-fit:contain; }

/* brand text: ensure it stays white and aligned with logo */
.brand .brand-name {
  font-weight:700;
  font-size:1.05rem;
  color: var(--brand-neutral);
  text-shadow: 0 0 4px rgba(0,0,0,0.4);
  line-height:1;           
  letter-spacing: 0.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* tagline positioned to the right of brand on same row (keeps a straight line) */
.navbar .tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  white-space:nowrap;
  margin-left: 0.25rem;
}

/* main nav links (center/right depending on layout) */
.nav-links {
  display:flex;
  gap:0.6rem;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.nav-links a {
  color: #fff;
  padding: 6px 12px;
  font-weight:600;
  border-radius:8px;
  transition: background var(--trans), transform var(--trans);
}
.nav-links a:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* controls: theme toggle, hamburger */
.controls { display:flex; align-items:center; gap:0.6rem; }
.theme-toggle, .hamburger { background:none; border:none; cursor:pointer; color:#fff; font-size:1.15rem; padding:6px; border-radius:6px; }
.hamburger { display:none; }

/* mobile nav behaviour */
@media (max-width: 880px){
  .nav-links { display:flex; position:absolute; top:68px; left:0; right:0; background:var(--bg); flex-direction:column; padding:1rem; border-top:1px solid var(--border); z-index:40; }
  .nav-links.open { display:flex; }
  .hamburger { display:inline-flex; color: var(--text); }
  .brand .brand-name, .navbar .tagline { color: var(--navbar-text, white); } /* on collapsed header, show text in dark */
}

.navbar .logo { font-size: var(--font-size-lg); font-weight: bold; color: #fff; }
/* =========================
   HERO / HEAD / SEARCH
   ========================= */
/* Hero - centered marketing area with large title, subtitle, logo optional */
.hero {
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:5rem 1rem;
  gap:1.2rem;
  position:relative;
  background: linear-gradient(180deg, rgba(255,214,0,0.08), rgba(24,188,156,0.03)); /* subtle yellow->green tint */
}

/* MAIN HEADLINE */
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

/* SUBTITLE */
.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 35px;
}

/* SECONDARY HEADLINE */
.hero-secondary {
    font-size: 1.9rem;
    font-weight: 600;
    color: #222;
    margin-top: 55px !important;
    margin-bottom: 12px;
}

/* HERO DESCRIPTION */
.hero-description {
    font-size: 1.05rem;
    color: #777;
    margin-top: 5px;
}

/* inner wrapper controlling max-width so text stays centered and not left aligned */
.hero .hero-inner { max-width: 920px; margin:0 auto; padding:1rem; }
.hero-logo { height:72px; object-fit:contain; margin-bottom:0.6rem; justify-content: center; display:inline-block; }
.hero img.logo {
  width: 80px;
  max-width: 100%;
}
.btn-ghost {
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-ghost:hover {
    background: #f0f0f0;
}

/* title and subtitle */
.hero h1 { font-size: var(--fs-xl); margin:0 0 0.6rem; color: var(--text); line-height:1.02; font-weight:800; }
.hero p { margin:0 0 1rem; color: var(--muted); font-size: var(--fs-lg); max-width:760px; margin-inline:auto; }

/* hero CTAs */
.hero .cta { display:flex; gap:0.75rem; justify-content:center; margin-top:1rem; flex-wrap:wrap; }
.btn-hero { padding:0.9rem 1.5rem; border-radius:12px; font-weight:700; cursor:pointer; text-decoration:none; border:none; display:inline-flex; align-items:center; gap:0.5rem; }
.btn-hero.primary { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: var(--primary-contrast); box-shadow: var(--shadow-strong); }
.btn-hero.secondary { background: var(--secondary); color: #fff; }

/* Search section sits under hero and centers form */
.search-section { margin-top: 1.25rem; background: var(--card-bg-alt); padding: 1rem; border-radius: 12px; display:flex; justify-content:center; }
.search-form { display:flex; gap:0.5rem; align-items:center; flex-wrap:wrap; max-width:880px; width:100%; justify-content:center; }
.search-form input, .search-form select, .search-form button { padding:0.65rem 0.9rem; border-radius:8px; border:1px solid var(--border); font-size: var(--fs-base); }
.search-form input { min-width:220px; flex:1 1 320px; }
.search-form button { background: var(--primary); color: var(--primary-contrast); border:none; font-weight:700; }

/* =========================
   TOP CATEGORIES
   ========================= */
.top-categories { padding:3rem 1rem; text-align:center; background: linear-gradient(180deg, rgba(49,233,104,0.03), transparent); }
.top-categories h2 { font-size:1.6rem; margin-bottom:1rem; color:var(--text); }
.category-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap:1rem;
  max-width:1200px;
  margin:0 auto;
  align-items:start;
}
.category-card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:12px;
  padding:1rem;
  text-align:center;
  transition: transform var(--trans), box-shadow var(--trans);
  cursor:pointer;
}
.category-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.category-card .icon { font-size:1.6rem; margin-bottom:0.5rem; display:block; color:var(--primary); }

/* =========================
   FEATURED / LISTINGS
   ========================= */
.featured { padding:3rem 1rem; background:var(--bg); }
.featured .title { text-align:center; margin-bottom:1.25rem; font-size:1.45rem; color:var(--text); }
.featured .featured-grid {
  display:grid; gap:1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width:1200px; margin:0 auto;
}
.listing-card {
  background:var(--card-bg);
  border-radius:12px; overflow:hidden;
  border:1px solid var(--border);
  transition: transform var(--trans), box-shadow var(--trans);
}
.listing-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.listing-card .thumb{ height:170px; width:100%; object-fit:cover; display:block; }
.listing-card .meta { padding:0.85rem 1rem; }
.listing-card h3 { margin:0 0 0.45rem; font-size:1.05rem; }
.listing-card p { margin:0; color:var(--muted); font-size:0.95rem; }

/* =========================
   CARD BASE / COMMON COMPONENTS
   ========================= */
.card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }

/* small variants */
.card-sm { padding:0.75rem; }
.card-lg { padding:1.5rem; }

/* badges */
.badge { display:inline-block; padding:0.35rem 0.65rem; border-radius:999px; font-weight:700; font-size:0.85rem; background:var(--primary); color: var(--primary-contrast); }

/* =========================
   FORMS / FLOATING LABELS / AUTH
   ========================= */
.form-container { max-width:600px; margin:1rem auto; padding:1.25rem; border-radius:12px; background:var(--card-bg); border:1px solid var(--border); box-shadow:var(--shadow); }
.form-group { position:relative; margin-bottom:1rem; }

/* inputs */
.input, input[type="text"], input[type="email"], input[type="password"], textarea, select, .form-control {
  width:100%;
  padding:12px 12px;
  border-radius:8px;
  border:1px solid var(--border);
  background: transparent;
  color:inherit;
  font-size:var(--fs-base);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.input:focus, .form-control:focus { outline:none; border-color: var(--primary); box-shadow: 0 8px 28px rgba(0,0,0,0.06); }

/* floating labels (place label after input in DOM) */
label.floating {
  position:absolute;
  left:12px;
  top:12px;
  pointer-events:none;
  color:var(--muted);
  background:transparent;
  padding:0 6px;
  transition: all var(--trans);
}
.input:focus + label.floating,
.input:not(:placeholder-shown) + label.floating,
.input.filled + label.floating {
  transform: translateY(-135%);
  font-size: var(--fs-xs);
  color: var(--primary);
  left:10px;
  background: var(--card-bg);
  padding:0 6px;
}

/* password toggle */
.password-wrapper { position:relative; display:block; }
.password-wrapper button { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; color:var(--muted); }

/* auth card */
.auth-card { max-width:480px; margin:1.25rem auto; padding:1.25rem; border-radius:12px; background:var(--card-bg); border:1px solid var(--border); box-shadow:var(--shadow); }

/* =========================
   BUTTONS
   ========================= */
.btn {
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  padding:0.6rem 1.2rem;
  border-radius:10px;
  border:none;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn:focus { outline:none; box-shadow:0 6px 20px rgba(0,0,0,0.06); }
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--primary-contrast);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); }

.btn-flat { background: var(--primary); color: var(--primary-contrast); } /* alternative flat btn */
.btn-secondary { background: var(--secondary); color:#fff; }

/* small / icon */
.btn.small { padding:0.4rem 0.7rem; font-weight:600; border-radius:8px; }

/* =========================
   ALERTS / MODALS / TOAST / SPINNER
   ========================= */
.alert { padding:0.9rem 1rem; border-radius:8px; font-weight:700; }
.alert.success { background:#e9f7ee; color:#0d6e2e; border:1px solid #cfead2; }
.alert.error { background:#ffe9e9; color:#8a1d1d; border:1px solid #f5c2c2; }

.modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.45); z-index:7000; }
.modal-content { background:var(--card-bg); border-radius:12px; padding:1.25rem; max-width:720px; width:100%; box-shadow:var(--shadow-strong); }

/* toast stack */
.toast-wrap { position:fixed; right:20px; bottom:20px; z-index:6000; display:flex; flex-direction:column; gap:0.5rem; pointer-events:none; }
.toast { pointer-events:auto; min-width:220px; max-width:340px; padding:0.8rem 1rem; border-radius:10px; color:#fff; font-weight:700; box-shadow:var(--shadow); animation: toastIn var(--trans) ease forwards; }
.toast.success { background:#28a745; } .toast.error { background:#dc3545; }
@keyframes toastIn { from{ opacity:0; transform: translateY(8px) scale(0.98) } to { opacity:1; transform:none } }

/* spinner */
.spinner { width:18px; height:18px; border-radius:50%; border:3px solid rgba(0,0,0,0.08); border-top-color:var(--primary); animation: spin 1s linear infinite; display:inline-block; vertical-align:middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================
   CHAT / MESSAGES
   ========================= */
.chat-container { display:flex; flex-direction:column; gap:0.6rem; max-height:60vh; overflow:auto; padding:0.75rem; border-radius:8px; border:1px solid var(--border); background:var(--card-bg-alt); }
.msg { display:flex; gap:0.5rem; align-items:flex-end; }
.msg.owner { justify-content:flex-end; }
.msg .bubble { max-width:75%; padding:10px 12px; border-radius:12px; background:#f1f1f1; color:var(--text); }
.msg.owner .bubble { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: var(--primary-contrast); }

/* CHAT */
.chat-box {
    height: 280px;
    overflow-y: auto;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.chat-owner {
    background: #d1e7dd;
    align-self: flex-end;
}

.chat-partner {
    background: #e2e3e5;
    align-self: flex-start;
}


/* chat input sticky */
.chat-input { display:flex; gap:0.5rem; margin-top:0.5rem; align-items:center; }

/* =========================
   DASHBOARD / SIDEBAR
   ========================= */
.dashboard-layout { display:grid; grid-template-columns: 280px 1fr; gap:18px; align-items:start; padding:1rem; }
.sidebar { background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(15,23,42,0.9)); color:#fff; padding:16px; border-radius:12px; min-height:100%; }
.sidebar .nav-link { display:block; padding:10px 12px; border-radius:8px; color:#e5e7eb; text-decoration:none; margin-bottom:6px; }
.sidebar .nav-link:hover { background: rgba(255,255,255,0.03); }

/* responsive dashboard */
@media (max-width:980px) {
  .dashboard-layout { grid-template-columns: 1fr; }
}

/* =========================
   INVITE / REFERRAL / NOTIFICATIONS
   ========================= */
.invite-card { padding:1rem; border-radius:10px; background:var(--card-bg-alt); border:1px dashed var(--border); text-align:center; }
.invite-box { display:flex; gap:0.5rem; margin-top:0.8rem; justify-content:center; flex-wrap:wrap; }
.invite-box input { flex:1 1 320px; padding:0.6rem 0.8rem; border-radius:8px; border:1px solid var(--border); }
.invite-box button { padding:0.6rem 0.9rem; border-radius:8px; border:none; background:var(--primary); color:var(--primary-contrast); }

/* notification list */
.notifications-container { max-width:860px; margin:0 auto; padding:1rem; }
.notification-item { background:var(--card-bg); border-left:5px solid var(--primary); padding:0.9rem; border-radius:8px; margin-top:0.9rem; box-shadow:var(--shadow); }



.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.match-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.match-card:hover {
    box-shadow: 0px 2px 8px rgba(0,0,0,0.15);
}

.match-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}


/* =========================
   UPLOAD / PREVIEW / DROPZONE
   ========================= */
.dropzone { border:2px dashed var(--border); padding:12px; border-radius:8px; text-align:center; cursor:pointer; background:transparent; }
.dropzone:hover {
    border-color: #0d6efd;
}

.preview { display:flex; gap:8px; flex-wrap:wrap; margin-top:0.6rem; }
.preview img, .preview video { width:120px; height:90px; object-fit:cover; border-radius:8px; border:1px solid var(--border); }

/* progress bar */
.progress { width:100%; height:8px; background:#e9ecef; border-radius:6px; overflow:hidden; }
.progress > .bar { height:100%; width:0%; background: linear-gradient(90deg,var(--secondary),var(--primary)); transition: width 0.35s; }

/* =========================
   ABOUT / TEAM / SPLASH
   ========================= */
.about-container { max-width:1000px; margin:2rem auto; padding:1.25rem; background:var(--card-bg); border-radius:12px; box-shadow:var(--shadow); animation: fadeInUp 0.7s ease; }
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; }
.team-member { text-align:center; padding:1rem; border-radius:12px; background:var(--card-bg-alt); border:1px solid var(--border); }

/* splash promo */
.splash-container { max-width:960px; margin:0 auto; padding:40px 20px; text-align:center; }
.splash-header { font-size:2.5rem; color:var(--primary); font-weight:800; margin-bottom:20px; }
.splash-description { font-size:1.1rem; color:var(--text); line-height:1.6; margin-bottom:30px; }

/* =========================
   FOOTER
   ========================= */
.site-footer { background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent); padding:2rem 1rem; border-top:1px solid var(--border); margin-top:2rem; }
.site-footer .footer-inner { max-width:var(--container-max); margin:0 auto; display:flex; gap:1rem; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.site-footer p, .site-footer a { color:var(--muted); margin:0; font-size:0.95rem; }
.site-footer .links { display:flex; gap:0.75rem; align-items:center; }

/* =========================
   ENUM / STATUS / WALLET / PLANS
   ========================= */
.status-badge { display:inline-block; padding:0.25rem 0.75rem; border-radius:999px; font-size:0.85rem; font-weight:700; text-transform:capitalize; }
.status-pending{ background:#f0ad4e; color:#fff } .status-success{ background:#28a745; color:#fff } .status-failed{ background:#dc3545; color:#fff }
.wallet-credit { color:#28a745; font-weight:700 } .wallet-debit{ color:#dc3545; font-weight:700 }
.plan-card { border:2px solid var(--primary); padding:1.25rem; border-radius:var(--radius); text-align:center; transition: transform var(--trans), border-color var(--trans); }

/* =========================
   UTILITIES & SMALL HELPERS
   ========================= */
.text-center{ text-align:center; } .text-right{ text-align:right; } .text-left{ text-align:left; }
.mt-1{ margin-top:0.25rem } .mt-2{ margin-top:0.5rem } .mt-3{ margin-top:1rem } .mt-4{ margin-top:1.5rem } .mt-5{ margin-top:2rem }
.my-1{ margin:0.25rem 0 } .my-2{ margin:0.5rem 0 } .px-1{ padding-left:0.5rem; padding-right:0.5rem; }

/* animation */
@keyframes fadeInUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }

/* =========================
   Dark mode override (toggle by adding .dark to body)
   ========================= */
body.dark {
  background: var(--dark-bg);
  color: #e6eef6;
}

/* adjust surfaces in dark mode */
body.dark .card,
body.dark .listing-card,
body.dark .category-card,
body.dark .form-container,
body.dark .modal-content {
  background: #151515;
  border-color: var(--border-dark);
  color: #e6eef6;
}

body.dark .navbar { background: linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,0,0,0.15)); border-bottom-color: rgba(255,255,255,0.04); }
body.dark .brand .brand-name { color: #fff !important; text-shadow: 0 0 6px rgba(0,0,0,0.6); } /* ensure brand text remains white in dark */
body.dark .nav-links a { color: #e6eef6; }
body.dark .tagline { color: rgba(255,255,255,0.85); }

/* inputs dark */
body.dark .input, body.dark .form-control { background: #181818; border-color: #333; color:#e6eef6; }
body.dark .input:focus, body.dark .form-control:focus { box-shadow: 0 8px 28px rgba(0,0,0,0.5); }

/* hero dark */
body.dark .hero { background: linear-gradient(180deg, rgba(12,32,80,0.45), rgba(2,26,49,0.45)); }
body.dark .hero h1 { color: #fff; }

/* category/listing dark */
body.dark .category-card { background: #1f1f1f; border-color: #333; color:#e6eef6 }
body.dark .listing-card .meta { color:#cbd5e1 }

/* chat dark */
body.dark .msg .bubble { background:#262626; color:#e6eef6 }

/* toast dark tweaks */
body.dark .toast { box-shadow: 0 12px 30px rgba(0,0,0,0.6); }

/* =========================
   Responsive breakpoints
   ========================= */
@media (max-width:1200px){
  .hero h1 { font-size:1.9rem; }
}
@media (max-width: 880px){
  .hero { padding:3.2rem 1rem; }
  .nav-links { display:none; }
  .navbar .tagline { display:none; }
}
@media (max-width: 680px){
  .hero h1 { font-size:1.6rem; }
  .hero p { font-size:0.95rem; }
  .category-grid { grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); }
  .listing-card .thumb { height:140px; }
}
@media (max-width: 480px){
  .brand .brand-name { font-size:0.95rem; }
  .logo img { height:36px; }
  .hero-logo { height:56px; }
  .btn-hero { padding:0.7rem 1rem; }
}

/* =========================
   Accessibility / small UX tweaks
   ========================= */
:focus { outline: 3px solid rgba(255,214,0,0.18); outline-offset: 2px; }

/* end of stylesheet */