  :root {
    --brand: #00c853;
    --brand-dark: #00a846;
    --brand-dim: rgba(0,200,83,0.12);
    --dark: #0d1117;
    --dark2: #161b22;
    --dark3: #21262d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --border: rgba(255,255,255,0.08);
    --card-bg: #161b22;
    --radius: 16px;
    --header-bg: rgba(13,17,23,0.92);
    --hero-bg: #0d1117;
    --shadow: 0 4px 24px rgba(0,0,0,0.35);
  }

  body.light {
    --brand: #00a846;
    --brand-dark: #008c3a;
    --brand-dim: rgba(0,168,70,0.10);
    --dark: #f0f4f0;
    --dark2: #ffffff;
    --dark3: #e8f0e8;
    --text: #1a2e1a;
    --text-muted: #5a7a5a;
    --border: rgba(0,0,0,0.09);
    --card-bg: #ffffff;
    --header-bg: rgba(255,255,255,0.95);
    --hero-bg: #1a2e1a;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
  }

  html.light-preload {
    background: #f0f4f0;
  }
  html.light-preload body {
    --brand: #00a846;
    --brand-dark: #008c3a;
    --brand-dim: rgba(0,168,70,0.10);
    --dark: #f0f4f0;
    --dark2: #ffffff;
    --dark3: #e8f0e8;
    --text: #1a2e1a;
    --text-muted: #5a7a5a;
    --border: rgba(0,0,0,0.09);
    --card-bg: #ffffff;
    --header-bg: rgba(255,255,255,0.95);
    --hero-bg: #1a2e1a;
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #f0f4f0;
    color: #1a2e1a;
  }

  *, *::before, *::after {
    transition: background-color .35s ease, border-color .35s ease, color .2s ease, box-shadow .3s ease;
  }

  .transport-btn, .listing-card, .cat-card, .filter-panel,
  .btn-primary, .btn-outline, .btn-add {
    transition: background-color .35s ease, border-color .35s ease, color .2s ease,
                transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s ease,
                opacity .3s ease;
  }

  body.light header {
    background: var(--header-bg);
    box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(0,0,0,0.06);
  }
  body.light .hero { background: var(--hero-bg); }

  body.light .hero-badge { background: rgba(0,200,83,.2); border-color: rgba(0,200,83,.4); color: #00e676; }
  body.light .hero-stats { border-color: rgba(255,255,255,.15); }
  body.light .hero-stats .stat-label { color: rgba(255,255,255,.6); }
  body.light .mobile-nav { background: #fff; box-shadow: 0 -1px 0 var(--border), 0 -4px 20px rgba(0,0,0,0.06); }
  body.light .toast { background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
  body.light .listing-card { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
  body.light .listing-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.13); }
  body.light .search-wrap input { background: #f0f4f0; color: var(--text); }
  body.light .filter-panel { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
  body.light .detail-card { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
  body.light .fp-select, body.light .form-input { background: #f0f4f0; color: var(--text); }
  body.light .chat-list, body.light .chat-window { background: #f8faf8; }
  body.light .msg.theirs .msg-bubble { background: #e8f0e8; }
  body.light .spec-table tr:hover td { background: rgba(0,0,0,0.02); }
  body.light .hero-grid { opacity: .04; }
  body.light .seller-page-cover-inner { background: linear-gradient(135deg,rgba(0,168,70,.25) 0%,transparent 60%); }

  .theme-toggle {
    width: 52px; height: 28px;
    background: var(--dark3);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background .35s ease, border-color .35s ease;
    padding: 0;
    outline: none;
  }
  .theme-toggle:hover { border-color: var(--brand); }
  .theme-toggle-knob {
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    transition: transform .35s cubic-bezier(.4,0,.2,1), background .35s ease;
    pointer-events: none;
  }
  body.light .theme-toggle { background: #d4edda; border-color: #a8d5b5; }
  body.light .theme-toggle-knob { transform: translateX(24px); background: #f59e0b; }

  select:disabled { opacity: .6; cursor: not-allowed; }
  .fp-city-loading { animation: pulse-muted 1.2s ease-in-out infinite; }
  @keyframes pulse-muted { 0%,100%{opacity:.5} 50%{opacity:1} }

  .leaflet-container { font-family: 'Inter', sans-serif; }
  .leaflet-popup-content-wrapper {
    background: var(--card-bg); color: var(--text);
    border: 1px solid var(--border); border-radius: 10px;
    box-shadow: var(--shadow);
  }
  .leaflet-popup-tip { background: var(--card-bg); }
  body.light .leaflet-tile { filter: brightness(.97) saturate(.9); }
  body:not(.light) .leaflet-tile { filter: brightness(.85) saturate(.7) hue-rotate(180deg) invert(1); }

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

  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
  }

  h1,h2,h3,h4,h5 { font-family: 'Inter', sans-serif; }

  .page { display: none; min-height: 100vh; }
  .page.active { display: block; }

  header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
  }
  .header-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 20px;
  }
  .logo {
    font-family: 'Inter', sans-serif;
    font-size: 22px; font-weight: 800;
    color: var(--text); text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }
  .logo span { color: var(--brand); }

  .search-wrap {
    flex: 1; max-width: 480px;
    position: relative;
  }
  .search-wrap input {
    width: 100%;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 20px 10px 44px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
  }
  .search-wrap input:focus { border-color: var(--brand); }
  .search-wrap input::placeholder { color: var(--text-muted); }
  .search-wrap i { position:absolute; left:16px; top:50%; transform:translateY(-50%); color: var(--text-muted); }

  nav { display:flex; gap:4px; margin-left:auto; align-items:center; }
  nav a {
    color: var(--text-muted); text-decoration: none;
    padding: 8px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    transition: all .2s; cursor: pointer;
    background: none; border: none;
  }
  nav a:hover { color: var(--text); background: var(--dark3); }
  nav a.active-nav { color: var(--brand); }

  .btn-add {
    background: var(--brand);
    color: #000;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
  }
  .btn-add:hover { background: var(--brand-dark); transform: translateY(-1px); }

  .hero {
    position: relative;
    padding: 90px 24px 72px;
    text-align: center;
    overflow: visible;
    background: var(--hero-bg);
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,83,0.18) 0%, transparent 70%);
    pointer-events: none;
    overflow: hidden;
  }
  .hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    overflow: hidden;
  }
  .hero-content { position:relative; z-index:1; max-width: 720px; margin:0 auto; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,200,83,0.18);
    border: 1px solid rgba(0,200,83,0.4);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px; font-weight: 600;
    color: #fff;
    margin-bottom: 28px;
  }
  body.light .hero-badge { color: var(--brand); }
  .hero h1 {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -1px;
    color: #fff;
  }
  .hero h1 span { color: var(--brand); }
  .hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 520px; margin-left:auto; margin-right:auto;
  }
  .hero-btns {
    display: flex; gap: 14px; justify-content: center;
    flex-wrap: wrap; padding-bottom: 4px; align-items: center;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    min-width: 220px; text-align: center;
    justify-content: center;
  }
  @media(max-width:480px){
    .hero-btns { flex-direction: column; align-items: stretch; padding: 0 20px 4px; }
    .hero-btns .btn-primary,
    .hero-btns .btn-outline { min-width: unset; width: 100%; }
  }
  .btn-primary {
    background: var(--brand); color: #000;
    font-family:'Inter',sans-serif; font-weight:700;
    padding: 14px 32px; border-radius: 50px;
    border:none; cursor:pointer; font-size:15px;
    transition: all .2s; text-decoration:none; display:inline-block;
  }
  .btn-primary:hover { background: var(--brand-dark); transform:translateY(-2px); box-shadow: 0 8px 30px rgba(0,200,83,0.35); }

  .btn-outline {
    background: rgba(255,255,255,0.10); color: #fff;
    font-family:'Inter',sans-serif; font-weight:700;
    padding: 14px 32px; border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.35);
    cursor:pointer; font-size:15px;
    transition: all .2s; text-decoration:none; display:inline-block;
  }
  .btn-outline:hover { border-color: var(--brand); color: var(--brand); background: rgba(0,200,83,0.1); transform:translateY(-2px); }

  body.light .btn-outline { background: transparent; color: var(--text); border-color: rgba(0,0,0,0.2); }
  body.light .btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-dim); }

  body .hero .btn-outline,
  body.light .hero .btn-outline {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.40) !important;
  }
  body .hero .btn-outline:hover,
  body.light .hero .btn-outline:hover {
    border-color: var(--brand) !important;
    color: var(--brand) !important;
    background: rgba(0,200,83,0.12) !important;
  }

  .hero-stats {
    display: flex; justify-content: center; gap: clamp(24px,4vw,48px); margin-top: 52px;
    padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
  }
  .stat-item { text-align:center; }
  .stat-num {
    font-family:'Inter',sans-serif;
    font-size: clamp(24px,3vw,32px); font-weight:800;
    color: var(--brand);
    display:block;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
  }
  .stat-label { font-size:13px; color: rgba(255,255,255,0.6); margin-top:4px; font-weight:500; }

  .section { max-width:1280px; margin:0 auto; padding:48px 24px; }
  .section + .section { padding-top:0; }
  .section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; }
  .section-title { font-size: clamp(22px,3vw,32px); font-weight:800; }
  .section-link { color:var(--brand); text-decoration:none; font-size:14px; font-weight:500; cursor:pointer; }
  .section-link:hover { text-decoration:underline; }

  .cats { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; }
  .cat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align:center;
    cursor:pointer;
    transition: all .25s;
    text-decoration:none; color:inherit;
  }
  .cat-card:hover { border-color:var(--brand); transform:translateY(-4px); background: var(--dark3); }
  .cat-icon {
    width:56px; height:56px;
    background: var(--brand-dim);
    border-radius: 14px;
    display:flex; align-items:center; justify-content:center;
    margin: 0 auto 16px;
    font-size:22px; color:var(--brand);
    transition: all .25s;
  }
  .cat-card:hover .cat-icon { background:var(--brand); color:#000; }
  .cat-card h3 { font-size:15px; font-weight:700; margin-bottom:6px; }
  .cat-card p { font-size:12px; color:var(--text-muted); }

  .listing-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
  .listing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow:hidden;
    cursor:pointer;
    transition: all .25s;
  }
  .listing-card:hover { border-color:var(--brand); transform:translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
  .listing-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--dark3);
    position: relative;
  }
  .listing-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s ease;
  }
  .listing-card:hover .listing-img { transform: scale(1.04); }
  .listing-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--dark3);
    display:flex; align-items:center; justify-content:center;
    font-size:48px; color:var(--brand);
  }
  .listing-body { padding:18px; }
  .listing-tags { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
  .tag {
    font-size:11px; font-weight:600;
    padding: 3px 10px; border-radius:50px;
    text-transform:uppercase; letter-spacing:.5px;
  }
  .tag-red { background:rgba(255,82,82,0.15); color:#ff5252; }
  .tag-green { background:var(--brand-dim); color:var(--brand); }
  .tag-blue { background:rgba(33,150,243,0.15); color:#42a5f5; }
  .tag-orange { background:rgba(255,152,0,0.15); color:#ffa726; }
  .listing-title { font-size:16px; font-weight:700; margin-bottom:8px; line-height:1.3; }
  .listing-price {
    font-family:'Inter',sans-serif;
    font-size:24px; font-weight:800;
    color:var(--brand);
    margin-bottom:12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
  }
  .listing-specs {
    display:flex; gap:10px; flex-wrap:wrap;
    background: var(--dark3);
    border-radius:10px; padding:10px 12px;
    margin-bottom:14px;
  }
  .spec { display:flex; align-items:center; gap:5px; font-size:12px; color:var(--text-muted); font-weight:500; }
  .spec i { color:var(--brand); font-size:11px; }
  .listing-footer { display:flex; justify-content:space-between; align-items:center; padding-top:12px; border-top:1px solid var(--border); font-size:12px; color:var(--text-muted); }
  .listing-footer .loc i { color:var(--brand); margin-right:4px; }
  .fav-btn {
    background:none; border:none; color:var(--text-muted);
    cursor:pointer; font-size:16px; transition:color .2s;
    padding:4px;
  }
  .fav-btn:hover, .fav-btn.active { color:#ff5252; }

  .filter-bar {
    display:flex; gap:10px; flex-wrap:wrap;
    margin-bottom:32px;
  }
  .filter-chip {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius:50px;
    padding:8px 18px;
    font-size:13px; font-weight:500;
    cursor:pointer; transition:all .2s;
    color:var(--text-muted);
  }
  .filter-chip:hover { border-color:var(--brand); color:var(--brand); }
  .filter-chip.active { background:var(--brand-dim); border-color:var(--brand); color:var(--brand); }
  .filter-select {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius:50px;
    padding:8px 18px;
    font-size:13px;
    cursor:pointer;
    color:var(--text);
    outline:none;
    font-family:'Inter',sans-serif;
  }
  .filter-select:focus { border-color:var(--brand); }

  .detail-grid { display:grid; grid-template-columns:1fr 380px; gap:32px; align-items:start; }
  @media(max-width:900px){ .detail-grid { grid-template-columns:1fr; } }
  .detail-gallery { border-radius:var(--radius); overflow:hidden; }
  .detail-main-img {
    width:100%; height:380px; object-fit:contain;
    background: var(--dark3);
    border-radius:var(--radius);
    display:block;
  }
  .detail-main-img-ph {
    width:100%; height:380px;
    background: linear-gradient(135deg,var(--dark3),#2a303a);
    border-radius:var(--radius);
    display:flex; align-items:center; justify-content:center;
    font-size:80px; color:var(--brand);
  }
  .detail-thumbs { display:flex; gap:10px; margin-top:12px; }
  .thumb {
    width:80px; height:60px; border-radius:10px;
    border:2px solid var(--border);
    object-fit:cover; cursor:pointer;
    background: var(--dark3);
    transition: border-color .2s;
    display:flex; align-items:center; justify-content:center;
    font-size:22px; color:var(--text-muted);
  }
  .thumb.active { border-color:var(--brand); }
  .detail-card {
    background: var(--card-bg);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:28px;
    position:sticky; top:80px;
  }
  .detail-price {
    font-family:'Inter',sans-serif;
    font-size:36px; font-weight:800;
    color:var(--brand); margin-bottom:6px;
  }
  .detail-meta { font-size:13px; color:var(--text-muted); margin-bottom:24px; }
  .detail-meta span { color:var(--brand); margin-right:6px; }
  .btn-call {
    width:100%; padding:14px;
    background:var(--brand); color:#000;
    font-family:'Inter',sans-serif; font-weight:700;
    border:none; border-radius:12px; cursor:pointer;
    font-size:15px; margin-bottom:10px;
    transition:all .2s;
  }
  .btn-call:hover { background:var(--brand-dark); transform:translateY(-1px); }
  .btn-msg {
    width:100%; padding:14px;
    background:transparent; color:var(--text);
    font-family:'Inter',sans-serif; font-weight:700;
    border:1px solid var(--border); border-radius:12px; cursor:pointer;
    font-size:15px; margin-bottom:20px;
    transition:all .2s;
  }
  .btn-msg:hover { border-color:var(--brand); color:var(--brand); }
  .seller-block { display:flex; align-items:center; gap:14px; padding-top:20px; border-top:1px solid var(--border); }
  .seller-avatar {
    width:52px; height:52px; border-radius:50%;
    background: var(--brand-dim);
    border: 2px solid var(--brand);
    display:flex; align-items:center; justify-content:center;
    font-family:'Inter',sans-serif; font-weight:800;
    font-size:18px; color:var(--brand);
    flex-shrink:0;
  }
  .seller-name { font-weight:700; font-size:15px; }
  .seller-rating { font-size:13px; color:#ffa726; }
  .seller-since { font-size:12px; color:var(--text-muted); }
  .detail-specs-grid {
    display:grid; grid-template-columns:1fr 1fr;
    gap:14px; margin: 28px 0;
  }
  .dspec {
    background:var(--dark3); border-radius:12px;
    padding:16px;
  }
  .dspec-label { font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.6px; margin-bottom:6px; }
  .dspec-val { font-family:'Inter',sans-serif; font-size:18px; font-weight:700; color:var(--brand); }

  .form-card {
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:36px; max-width:720px; margin:0 auto;
  }
  .form-group { margin-bottom:22px; }
  label { display:block; font-size:13px; font-weight:600; color:var(--text-muted); margin-bottom:8px; text-transform:uppercase; letter-spacing:.5px; }
  .form-input {
    width:100%;
    background:var(--dark3);
    border:1px solid var(--border);
    border-radius:10px;
    padding:12px 16px;
    color:var(--text);
    font-family:'Inter',sans-serif;
    font-size:15px;
    outline:none;
    transition:border-color .2s;
  }
  .form-input:focus { border-color:var(--brand); }
  textarea.form-input { resize:vertical; min-height:120px; }
  .form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
   }
  .upload-area {
    border: 2px dashed var(--border);
    border-radius:12px; padding:40px;
    text-align:center; cursor:pointer;
    transition: border-color .2s;
  }
  .upload-area:hover { border-color:var(--brand); }
  .upload-area i { font-size:36px; color:var(--brand); margin-bottom:12px; display:block; }
  .upload-area p { color:var(--text-muted); font-size:14px; }

  .auth-wrap {
    min-height:calc(100vh - 70px);
    display:flex; align-items:center; justify-content:center;
    padding:40px 24px;
  }
  .auth-card {
    background:var(--card-bg);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:48px 40px;
    width:100%; max-width:440px;
  }
  .auth-logo { text-align:center; margin-bottom:36px; }
  .auth-title {
    font-family:'Inter',sans-serif;
    font-size:28px; font-weight:800; margin-bottom:8px; text-align:center;
  }
  .auth-sub { text-align:center; color:var(--text-muted); margin-bottom:36px; font-size:14px; }
  .auth-divider { display:flex; align-items:center; gap:14px; margin:24px 0; }
  .auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:var(--border); }
  .auth-divider span { font-size:13px; color:var(--text-muted); }
  .btn-social {
    width:100%; padding:12px; background:var(--dark3);
    border:1px solid var(--border); border-radius:10px;
    color:var(--text); font-family:'Inter',sans-serif; font-weight:500;
    font-size:14px; cursor:pointer; transition:all .2s;
    display:flex; align-items:center; justify-content:center; gap:10px;
    margin-bottom:10px;
  }
  .btn-social:hover { border-color:var(--brand); }
  .auth-switch { text-align:center; margin-top:24px; font-size:14px; color:var(--text-muted); }
  .auth-switch a { color:var(--brand); cursor:pointer; text-decoration:none; }
  .auth-switch a:hover { text-decoration:underline; }

  .profile-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 36px 24px 0;
  }
  .profile-inner {
    max-width: 860px; margin: 0 auto;
    display: flex; gap: 20px; align-items: flex-start;
    padding: 0 24px;
  }
  .profile-info-block {
    flex: 1; min-width: 0;
  }
  .profile-name-row {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 4px;
  }
  .profile-actions {
    display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap;
  }
  .profile-btn-edit {
    padding: 10px 22px; font-size: 13px;
  }
  .profile-btn-logout {
    padding: 10px 18px; font-size: 13px;
  }

  .profile-photo-wrap {
    position: relative; flex-shrink: 0; cursor: pointer;
  }
  .profile-pic {
    width: 96px; height: 96px; border-radius: 50%;
    background: var(--brand-dim);
    border: 3px solid var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 800; color: var(--brand);
    overflow: hidden; object-fit: cover;
  }
  .profile-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
  .profile-photo-edit {
    position: absolute; bottom: 2px; right: 2px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--brand); color: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; border: 2px solid var(--card-bg);
    cursor: pointer; transition: all .2s;
  }
  .profile-photo-edit:hover { background: var(--brand-dark); transform: scale(1.1); }

  .profile-type-badge {
    display: inline-flex; align-items: center; gap: 5px;
    border-radius: 50px; padding: 3px 10px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .4px; text-transform: uppercase; margin-top: 6px;
  }
  .profile-type-badge.personal {
    background: var(--brand-dim); border: 1px solid rgba(0,200,83,.3); color: var(--brand);
  }
  .profile-type-badge.business {
    background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.3); color: #818cf8;
  }
  .profile-name { font-size: 22px; font-weight: 800; line-height: 1.2; }
  .profile-actions {
    display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
  }
  .profile-btn-edit {
    padding: 10px 20px; font-size: 14px;
    border-radius: 50px; display: inline-flex; align-items: center; gap: 6px;
  }
  .profile-btn-logout {
    padding: 10px 20px; font-size: 14px;
    border-radius: 50px; display: inline-flex; align-items: center; gap: 6px;
  }
  .profile-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
  .profile-stats { display: flex; gap: 24px; margin-top: 16px; }
  .pstat { text-align: center; }
  .pstat-num { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
  .pstat-l { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }

  .profile-tabs {
    display: flex; gap: 0;
    border-bottom: 1px solid var(--border);
    max-width: 860px; margin: 24px auto 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .profile-tabs::-webkit-scrollbar { display: none; }
  .ptab {
    flex: 1;
    padding: 14px 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: all .2s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    margin-bottom: -1px;
    text-align: center;
  }
  .ptab.active { color: var(--brand); border-bottom-color: var(--brand); }
  .ptab:hover { color: var(--text); }

  .settings-section {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 20px; padding: 28px; margin-bottom: 16px;
  }
  .settings-section-title {
    font-size: 15px; font-weight: 800; margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 14px; border-bottom: 1px solid var(--border);
  }
  .settings-section-title i { color: var(--brand); font-size: 16px; }

  .type-selector {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0;
  }
  .type-card {
    border: 2px solid var(--border); border-radius: 14px;
    padding: 18px 16px; cursor: pointer; text-align: center;
    transition: all .2s; background: var(--dark3);
  }
  .type-card:hover { border-color: var(--brand); }
  .type-card.active { border-color: var(--brand); background: var(--brand-dim); }
  .type-card-icon { font-size: 28px; margin-bottom: 8px; display: block; }
  .type-card-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
  .type-card-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
  body.light .type-card { background: #f8faf8; }
  body.light .type-card.active { background: var(--brand-dim); }

  .profile-content-wrap { max-width: 860px; margin: 0 auto; padding: 28px 24px 80px; }

  .messages-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100vh - 70px);
    overflow: hidden;
  }
  .chat-list-panel {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    overflow: hidden;
    background: var(--card-bg);
  }
  .chat-list { flex: 1; overflow-y: auto; }
  .chat-item {
    display: flex; gap: 12px; align-items: center;
    padding: 14px 18px; border-bottom: 1px solid var(--border);
    cursor: pointer; transition: background .15s;
  }
  .chat-item:hover { background: var(--dark3); }
  .chat-item.active { background: var(--brand-dim); border-left: 3px solid var(--brand); }
  .chat-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--brand-dim); border: 2px solid var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--brand); font-size: 16px; flex-shrink: 0;
    transition: transform .15s;
  }
  .chat-avatar:hover { transform: scale(1.08); }
  .chat-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat-last { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat-time { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }
  .chat-window {
    display: flex; flex-direction: column;
    background: var(--dark); overflow: hidden;
  }
  .chat-header {
    padding: 14px 20px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
    background: var(--card-bg); flex-shrink: 0;
  }
  .chat-back-btn {
    display: none;
    background: none; border: none; cursor: pointer;
    color: var(--brand); font-size: 18px; padding: 4px 8px 4px 0;
    flex-shrink: 0;
  }
  .messages-area {
    flex: 1; overflow-y: auto; padding: 20px 24px;
    display: flex; flex-direction: column; gap: 10px;
    background: var(--dark);
  }
  .msg { max-width: 72%; display: flex; flex-direction: column; }
  .msg.mine { align-self: flex-end; align-items: flex-end; }
  .msg.theirs { align-self: flex-start; align-items: flex-start; }
  .msg-bubble {
    padding: 10px 16px; border-radius: 18px;
    font-size: 14px; line-height: 1.55; word-break: break-word;
  }
  .msg.mine .msg-bubble {
    background: var(--brand); color: #000;
    border-bottom-right-radius: 4px;
  }
  .msg.theirs .msg-bubble {
    background: var(--dark3); color: var(--text);
    border-bottom-left-radius: 4px;
  }
  .msg-time { font-size: 10px; color: var(--text-muted); margin-top: 3px; padding: 0 4px; }
  .chat-input-bar {
    padding: 12px 20px; border-top: 1px solid var(--border);
    display: flex; gap: 10px; align-items: center;
    background: var(--card-bg); flex-shrink: 0;
  }
  .chat-input {
    flex: 1; background: var(--dark3); border: 1px solid var(--border);
    border-radius: 50px; padding: 10px 18px;
    color: var(--text); font-family: inherit; font-size: 14px; outline: none;
    transition: border-color .2s;
  }
  .chat-input:focus { border-color: var(--brand); }
  .send-btn {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: var(--brand); border: none; cursor: pointer;
    color: #000; font-size: 15px; transition: all .2s;
    display: flex; align-items: center; justify-content: center;
  }
  .send-btn:hover { background: var(--brand-dark); transform: scale(1.05); }

  @media (max-width: 900px) {
    .messages-layout {
      grid-template-columns: 1fr;
      height: calc(100vh - 130px);
      position: relative;
    }
    .chat-list-panel {
      position: absolute; inset: 0;
      z-index: 1;
      transition: transform .25s ease;
    }
    .chat-window {
      position: absolute; inset: 0;
      z-index: 2;
      transform: translateX(100%);
      transition: transform .25s ease;
    }
    .messages-layout.chat-open .chat-window {
      transform: translateX(0);
    }
    .messages-layout.chat-open .chat-list-panel {
      transform: translateX(-100%);
    }
    .chat-back-btn { display: flex; }
    .messages-area { padding: 14px 16px; }
    .chat-input-bar { padding: 10px 14px; }
    .msg { max-width: 85%; }
  }

  .toast {
    position:fixed; bottom:24px; right:24px;
    background:var(--dark3); border:1px solid var(--brand);
    border-radius:12px; padding:14px 20px;
    font-size:14px; font-weight:500;
    z-index:9999; color:var(--text);
    display:flex; align-items:center; gap:10px;
    transform:translateY(100px); opacity:0;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    max-width:320px;
  }
  .toast.show { transform:translateY(0); opacity:1; }
  .toast i { color:var(--brand); font-size:16px; }

  .back-btn {
    display:inline-flex; align-items:center; gap:8px;
    color:var(--text-muted); cursor:pointer; border:none; background:none;
    font-family:'Inter',sans-serif; font-size:14px; font-weight:500;
    padding: 0; margin-bottom:24px;
    transition:color .2s;
  }
  .back-btn:hover { color:var(--brand); }

  .breadcrumb { display:flex; gap:8px; align-items:center; font-size:13px; color:var(--text-muted); margin-bottom:28px; }
  .breadcrumb span { cursor:pointer; transition:color .2s; }
  .breadcrumb span:hover { color:var(--brand); }
  .breadcrumb i { font-size:10px; }

  ::-webkit-scrollbar { width:6px; height:6px; }
  ::-webkit-scrollbar-track { background:var(--dark2); }
  ::-webkit-scrollbar-thumb { background:var(--dark3); border-radius:3px; }
  ::-webkit-scrollbar-thumb:hover { background:#30363d; }

  .mobile-nav { display:none; position:fixed; bottom:0; left:0; right:0; background:var(--dark2); border-top:1px solid var(--border); z-index:1000; padding-bottom:env(safe-area-inset-bottom); overflow:visible; }
  .mobile-nav-inner { display:flex; align-items:center; height:60px; overflow:visible; }
  .mnav-item { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; cursor:pointer; color:var(--text-muted); font-size:10px; font-weight:600; transition:color .2s; border:none; background:none; font-family:'Inter',sans-serif; padding:0; height:100%; }
  .mnav-item:hover,.mnav-item.active { color:var(--brand); }
  .mnav-item i { font-size:20px; }
  .mnav-fab { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; cursor:pointer; border:none; background:none; padding:0; gap:2px; height:100%; overflow:visible; }
  .mnav-fab-circle { width:52px; height:52px; border-radius:50%; background:var(--brand); display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,200,83,.5); transition:transform .15s; margin-top:-18px; }
  .mnav-fab-circle i { font-size:22px; color:#000; }
  .mnav-fab:active .mnav-fab-circle { transform:scale(0.92); }
  .mnav-fab-label { font-size:10px; font-weight:700; color:var(--brand); font-family:'Inter',sans-serif; }
  .btn-messages { display:inline-flex; align-items:center; gap:8px; background:var(--brand); color:#000; border:none; border-radius:50px; padding:10px 20px; font-size:14px; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; transition:all .2s; white-space:nowrap; position:relative; flex-shrink:0; }
  .btn-messages:hover { background:var(--brand-dark); transform:translateY(-1px); }
  .btn-messages i { font-size:15px; }
  .header-msg-badge { position:absolute; top:-4px; right:-4px; background:#ff4757; color:#fff; font-size:9px; font-weight:800; min-width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; padding:0 3px; border:2px solid var(--dark2); }
  @media(max-width:900px) { .mobile-nav { display:block; } nav, .search-wrap { display:none !important; } body { padding-bottom:60px; } .messages-layout { height:calc(100vh - 130px); } }

  .mobile-search-btn { display: none; }
  .mobile-msg-btn { display: none; }
  .mobile-search-bar { display: none; }

  .dtab {
    padding: 12px 20px;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    background: none; border: none; border-bottom: 2px solid transparent;
    color: var(--text-muted); cursor: pointer; transition: all .2s;
    white-space: nowrap;
  }
  .dtab:hover { color: var(--text); }
  .dtab.active { color: var(--brand); border-bottom-color: var(--brand); }

  .dtab-panel > div:first-child { border-radius: 0 0 16px 16px; }

  .spec-section {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 0 0;
    overflow: hidden;
  }
  .spec-section:last-child { border-radius: 0 0 16px 16px; }

  .spec-section-title {
    padding: 16px 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--text-muted);
    background: var(--dark3);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 8px;
  }
  .spec-section-title i { color: var(--brand); font-size: 13px; }

  .spec-table {
    width: 100%;
    border-collapse: collapse;
  }
  .spec-table tr { border-bottom: 1px solid var(--border); }
  .spec-table tr:last-child { border-bottom: none; }
  .spec-table td {
    padding: 13px 20px;
    font-size: 14px;
    vertical-align: middle;
  }
  .spec-table td:first-child {
    color: var(--text-muted);
    width: 46%;
    font-weight: 500;
  }
  .spec-table td:last-child {
    color: var(--text);
    font-weight: 600;
  }
  .spec-table tr:hover td { background: rgba(255,255,255,0.02); }
  .spec-val-green { color: var(--brand) !important; }
  .spec-val-badge {
    display: inline-block;
    padding: 3px 10px; border-radius: 50px;
    font-size: 12px; font-weight: 700;
  }

  @media(max-width:900px){
    #detail-main-layout { grid-template-columns: 1fr !important; }
    #detail-main-img-wrap { height: 260px !important; }
  }

  .add-step-dot {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--dark3); border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-weight: 800; font-size: 13px;
    color: var(--text-muted); flex-shrink: 0;
    transition: all .3s;
  }
  .add-step-dot.active { background: var(--brand); border-color: var(--brand); color: #000; }
  .add-step-dot.done { background: var(--brand-dim); border-color: var(--brand); color: var(--brand); }
  .add-step-line {
    flex: 1; height: 2px; background: var(--border);
    transition: background .3s;
  }
  .add-step-line.done { background: var(--brand); }

  .photo-thumb {
    aspect-ratio: 1; border-radius: 10px;
    border: 2px solid var(--border);
    object-fit: cover; cursor: pointer;
    position: relative; overflow: hidden;
    transition: border-color .2s;
  }
  .photo-thumb:hover { border-color: var(--brand); }
  .photo-thumb-wrap {
    position: relative; aspect-ratio: 1;
    border-radius: 10px; overflow: hidden;
  }
  .photo-thumb-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
  .photo-thumb-wrap .remove-photo {
    position: absolute; top: 5px; right: 5px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(0,0,0,.7); border: none; color: #fff;
    cursor: pointer; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
  }
  .photo-thumb-wrap:hover .remove-photo { opacity: 1; }
  .photo-main-badge {
    position: absolute; bottom: 5px; left: 5px;
    background: var(--brand); color: #000;
    font-size: 9px; font-weight: 800; padding: 2px 6px;
    border-radius: 4px; text-transform: uppercase;
  }

  .add-spec-section {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px; margin-bottom: 20px;
  }
  .add-spec-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .add-spec-section-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .7px; color: var(--brand);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
  }

  .seller-page-cover {
    width: 100%; height: 280px;
    position: relative; overflow: hidden;
  }
  .seller-cover-pattern {
    position: absolute; inset: 0; opacity: .06;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 28px 28px;
  }
  .seller-page-cover-inner {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  }

  .seller-cover-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,83,.22) 0%, transparent 70%);
  }

  .seller-header-wrap {
    max-width: 860px; margin: 0 auto; padding: 0 24px;
  }

  .seller-avatar-outer {
    display: flex; justify-content: center;
    margin-top: -56px; position: relative; z-index: 3;
    margin-bottom: 16px;
  }
  .seller-avatar-big {
    width: 112px; height: 112px; border-radius: 24px;
    border: 4px solid var(--brand);
    background: var(--brand-dim);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 800;
    color: var(--brand);
    box-shadow: 0 8px 32px rgba(0,200,83,.25), 0 0 0 6px var(--card-bg);
  }
  .seller-avatar-big.shop {
    background: linear-gradient(135deg, rgba(0,200,83,.3), rgba(0,168,70,.15));
  }

  .seller-identity {
    text-align: center; margin-bottom: 20px;
  }
  .seller-identity h1 {
    font-size: clamp(22px, 3vw, 32px); font-weight: 800;
    margin-bottom: 8px; line-height: 1.1;
  }
  .seller-identity .seller-meta {
    display: flex; justify-content: center; align-items: center;
    gap: 16px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-muted); margin-top: 10px;
  }
  .seller-identity .seller-desc {
    font-size: 14px; color: var(--text-muted);
    max-width: 540px; margin: 0 auto 12px; line-height: 1.6;
  }

  .seller-rating-inline {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,167,38,.12); border: 1px solid rgba(255,167,38,.3);
    border-radius: 50px; padding: 4px 12px;
    font-size: 13px; font-weight: 600; color: #ffa726;
  }

  .seller-verified-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--brand-dim); border: 1px solid rgba(0,200,83,.3);
    border-radius: 50px; padding: 4px 12px;
    font-size: 11px; font-weight: 700; color: var(--brand);
    text-transform: uppercase; letter-spacing: .5px;
  }
  .seller-shop-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.35);
    border-radius: 50px; padding: 4px 12px;
    font-size: 11px; font-weight: 700; color: #818cf8;
    text-transform: uppercase; letter-spacing: .5px;
  }

  .seller-actions {
    display: flex; justify-content: center; gap: 12px;
    flex-wrap: wrap; margin-bottom: 28px;
  }

  .seller-stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px; margin-bottom: 0;
    max-width: 640px; margin: 0 auto 28px;
  }
  @media(max-width:560px){ .seller-stats-row { grid-template-columns: repeat(2,1fr); } }
  .seller-stat-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 18px 12px; text-align: center;
    transition: all .2s;
  }
  .seller-stat-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,200,83,.1); }
  .seller-stat-val {
    font-family: 'Inter', sans-serif; font-size: 28px;
    font-weight: 800; color: var(--brand); display: block;
    letter-spacing: -1px; font-variant-numeric: tabular-nums;
  }
  .seller-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

  .seller-tabs-wrap {
    display: flex; justify-content: center; gap: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }
  .seller-tab {
    padding: 13px 28px; font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 600;
    background: none; border: none; border-bottom: 2.5px solid transparent;
    color: var(--text-muted); cursor: pointer; transition: all .2s;
    white-space: nowrap; margin-bottom: -1px;
  }
  .seller-tab:hover { color: var(--text); }
  .seller-tab.active { color: var(--brand); border-bottom-color: var(--brand); }

  .review-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 20px;
    transition: box-shadow .2s;
  }
  .review-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
  .review-stars { color: #ffa726; font-size: 15px; margin-bottom: 8px; }
  .review-text { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-bottom: 12px; }
  .review-author { font-size: 12px; font-weight: 600; color: var(--text-muted); }

  .social-link {
    display: flex; align-items: center; gap: 10px;
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 12px; padding: 12px 16px;
    color: var(--text-muted); font-size: 14px; font-weight: 500;
    text-decoration: none; cursor: pointer; transition: all .2s;
  }
  .social-link:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-dim); }
  .social-link-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
  }

  .share-shop-btn {
    background: var(--brand); color: #000;
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 14px; padding: 11px 24px;
    border: none; border-radius: 50px; cursor: pointer;
    transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
  }
  .share-shop-btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,200,83,.3); }

  body.light .seller-stat-card { box-shadow: 0 2px 8px rgba(0,0,0,.05); }
  body.light .social-link { background: #f8faf8; }

  .catalog-page-wrap {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
  }

  .catalog-hero {
    background: var(--dark2);
    border-bottom: 1px solid var(--border);
    padding: 56px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .catalog-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% -10%, rgba(0,200,83,.13) 0%, transparent 70%);
    pointer-events: none;
  }
  .catalog-hero-label {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--brand-dim);
    border: 1px solid rgba(0,200,83,.3);
    border-radius: 50px; padding: 5px 16px;
    font-size: 12px; font-weight: 700; color: var(--brand);
    letter-spacing: .6px; text-transform: uppercase;
    margin-bottom: 20px;
  }
  .catalog-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800; margin-bottom: 12px; line-height: 1.1;
  }
  .catalog-hero h1 span { color: var(--brand); }
  .catalog-hero p {
    color: var(--text-muted); font-size: 16px; max-width: 480px;
    margin: 0 auto 36px;
  }
  body.light .catalog-hero { background: #f8fdf8; }

  .cat-picker-wrap {
    max-width: 960px; margin: 0 auto; width: 100%; padding: 0 24px;
  }
  .transport-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 0;
  }
  @media(max-width:900px){ .transport-grid { grid-template-columns: repeat(3,1fr); } }
  @media(max-width:560px){ .transport-grid { grid-template-columns: repeat(2,1fr); } }

  .transport-btn {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 28px 16px 22px;
    cursor: pointer;
    text-align: center;
    transition: all .22s cubic-bezier(.4,0,.2,1);
    color: var(--text);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
  }
  .transport-btn::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s cubic-bezier(.4,0,.2,1);
    border-radius: 0 0 2px 2px;
  }
  .transport-btn:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,200,83,.15); }
  .transport-btn:hover::after { transform: scaleX(1); }
  .transport-btn.selected { border-color: var(--brand); background: var(--brand-dim); box-shadow: 0 6px 24px rgba(0,200,83,.2); }
  .transport-btn.selected::after { transform: scaleX(1); }
  body.light .transport-btn { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
  body.light .transport-btn:hover { box-shadow: 0 8px 28px rgba(0,168,70,.12); }

  .tb-icon {
    font-size: 44px; margin-bottom: 14px; display: block; line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
    transition: transform .22s;
  }
  .transport-btn:hover .tb-icon { transform: scale(1.12) translateY(-2px); }
  .transport-btn.selected .tb-icon { transform: scale(1.08); }

  .tb-name {
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 13px; display: block; margin-bottom: 5px;
    line-height: 1.3;
  }
  .tb-count {
    font-size: 11px; color: var(--text-muted); display: block;
    font-weight: 500;
  }
  .transport-btn.selected .tb-count { color: var(--brand); font-weight: 600; }

  .tb-check {
    position: absolute; top: 10px; right: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand); color: #000;
    font-size: 11px; display: none;
    align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,200,83,.4);
  }
  .transport-btn.selected .tb-check { display: flex; }

  .catalog-divider {
    max-width: 960px; margin: 32px auto 0;
    display: flex; align-items: center; gap: 16px;
    padding: 0 24px;
  }
  .catalog-divider-line { flex:1; height:1px; background: var(--border); }
  .catalog-divider-text { font-size:12px; color:var(--text-muted); white-space:nowrap; font-weight:600; letter-spacing:.5px; text-transform:uppercase; }

  .cat-picker-body {
    max-width: 960px; margin: 24px auto 0; padding: 0 24px;
    width: 100%;
  }
  .filter-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 32px;
    max-height: 0;
    opacity: 0;
    transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  }
  .filter-panel.open {
    max-height: 1400px;
    opacity: 1;
  }
  .filter-panel-inner { padding: 28px; }

  .catalog-results-area {
    max-width: 960px; margin: 0 auto; padding: 0 24px;
    width: 100%;
  }

  .cat-picker-sub { display: none; }
  .cat-picker-title { display: none; }

  .fp-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
  }
  .fp-title { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 800; }
  .fp-clear { color: var(--text-muted); font-size: 13px; cursor: pointer; background: none; border: none; font-family: 'Inter', sans-serif; }
  .fp-clear:hover { color: #ff5252; }

  .fp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
  }
  .fp-group label {
    display: block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .7px;
    color: var(--text-muted); margin-bottom: 8px;
  }
  .fp-select {
    width: 100%;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif; font-size: 14px;
    outline: none; cursor: pointer;
    transition: border-color .2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b949e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
  }
  .fp-select:focus { border-color: var(--brand); }

  .price-range-wrap { display: flex; gap: 10px; align-items: center; }
  .price-input {
    flex: 1;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text);
    font-family: 'Inter', sans-serif; font-size: 14px;
    outline: none; width: 100%;
    transition: border-color .2s;
  }
  .price-input:focus { border-color: var(--brand); }
  .price-input::placeholder { color: var(--text-muted); }
  .price-dash { color: var(--text-muted); font-size: 18px; flex-shrink: 0; }

  .pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
  .pill {
    padding: 7px 14px; border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--dark3);
    color: var(--text-muted); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .18s;
  }
  .pill:hover { border-color: var(--brand); color: var(--brand); }
  .pill.active { background: var(--brand-dim); border-color: var(--brand); color: var(--brand); }

  .fp-search-btn {
    background: var(--brand); color: #000;
    font-family: 'Inter', sans-serif; font-weight: 800;
    font-size: 16px; padding: 15px 40px;
    border: none; border-radius: 12px; cursor: pointer;
    transition: all .2s; display: flex; align-items: center; gap: 10px;
  }
  .fp-search-btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,230,118,.25); }
  .fp-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); }
  .active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
  .af-chip {
    background: var(--brand-dim); border: 1px solid rgba(0,230,118,.3);
    border-radius: 50px; padding: 5px 14px;
    font-size: 12px; font-weight: 600; color: var(--brand);
    display: flex; align-items: center; gap: 6px;
  }
  .af-chip button { background: none; border: none; color: var(--brand); cursor: pointer; font-size: 12px; padding: 0; line-height: 1; }

  .results-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
  }
  .results-count { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; }
  .results-count span { color: var(--brand); }
  .sort-bar { display: flex; gap: 8px; }
  .sort-pill {
    padding: 7px 16px; border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--dark3);
    color: var(--text-muted); font-size: 13px;
    cursor: pointer; transition: all .18s;
  }
  .sort-pill:hover { border-color: var(--brand); }
  .sort-pill.active { background: var(--brand-dim); border-color: var(--brand); color: var(--brand); }

  .layout-toggle { display: flex; gap: 4px; }
  .lt-btn {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--dark3); border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer; transition: all .18s;
    display: flex; align-items: center; justify-content: center;
  }
  .lt-btn.active { background: var(--brand-dim); border-color: var(--brand); color: var(--brand); }

  .listing-grid.list-view {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .listing-grid.list-view .listing-card {
    display: flex;
    flex-direction: row;
    min-height: 160px;
    transform: none !important;
    border-radius: var(--radius);
  }
  .listing-grid.list-view .listing-card:hover {
    transform: translateX(2px) !important;
    border-color: var(--brand);
  }

  .listing-grid.list-view .listing-card > div:first-child {
    width: 220px;
    flex-shrink: 0;
    position: relative;
  }
  .listing-grid.list-view .listing-img-wrap {
    width: 220px;
    height: 100%;
    min-height: 160px;
    aspect-ratio: unset;
    flex-shrink: 0;
  }
  .listing-grid.list-view .listing-img,
  .listing-grid.list-view .listing-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    border-radius: var(--radius) 0 0 var(--radius);
    display: block;
  }

  .listing-grid.list-view .listing-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    min-width: 0;
    position: relative;
  }

  .listing-grid.list-view .lv-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
  }

  .listing-grid.list-view .listing-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .listing-grid.list-view .listing-specs {
    margin-bottom: 0;
    background: var(--dark3);
  }

  .listing-grid.list-view .lv-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    gap: 10px;
    flex-wrap: wrap;
  }

  .listing-grid.list-view .listing-price {
    font-size: 22px;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .lv-top-row, .lv-bottom-row, .lv-year { display: none; }
  .listing-grid.list-view .lv-top-row    { display: flex; }
  .listing-grid.list-view .lv-bottom-row { display: flex; }
  .listing-grid.list-view .lv-year       { display: inline; }

  .listing-grid.list-view .listing-tags   { display: none; }
  .listing-grid.list-view .listing-footer { display: none !important; }
  .listing-grid.list-view .lv-hide-in-list { display: none !important; }

  .listing-grid.list-view .listing-body > .listing-price { display: none; }

  .lv-condition {
    display: none;
    align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600;
    background: var(--brand-dim); color: var(--brand);
    border-radius: 50px; padding: 3px 10px;
  }
  .listing-grid.list-view .lv-condition { display: inline-flex; }

  .lv-btn {
    display: none;
    background: var(--brand); color: #000;
    border: none; border-radius: 50px;
    padding: 9px 22px; font-size: 13px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: all .2s; font-family: 'Inter', sans-serif;
    flex-shrink: 0;
  }
  .lv-btn:hover { background: var(--brand-dark); box-shadow: 0 4px 16px rgba(0,200,83,.3); }
  .listing-grid.list-view .lv-btn { display: inline-flex; align-items: center; gap: 6px; }

  @media(max-width: 600px) {
    .listing-grid.list-view .listing-card { flex-direction: column; }
    .listing-grid.list-view .listing-card > div:first-child { width: 100%; }
    .listing-grid.list-view .listing-img,
    .listing-grid.list-view .listing-img-placeholder {
      min-height: 200px;
      border-radius: var(--radius) var(--radius) 0 0;
    }
  }

  .promo-banner {
    background: linear-gradient(135deg, rgba(0,230,118,0.2) 0%, rgba(0,200,83,0.1) 100%);
    border:1px solid rgba(0,230,118,0.3);
    border-radius:var(--radius);
    padding:32px; margin:0 0 40px;
    display:flex; justify-content:space-between; align-items:center; gap:20px;
    flex-wrap:wrap;
  }
  .promo-text h3 { font-size:22px; font-weight:800; margin-bottom:6px; }
  .promo-text p { color:var(--text-muted); font-size:14px; }

  .empty-state {
    text-align:center; padding:80px 20px;
    color:var(--text-muted);
  }
  .empty-state i { font-size:56px; color:var(--brand); margin-bottom:20px; display:block; opacity:.5; }
  .empty-state h3 { font-size:20px; font-weight:700; color:var(--text); margin-bottom:10px; }

  @keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
  .fade-up { animation: fadeUp .4s ease forwards; }

  @media(max-width:768px){

    .profile-header { padding: 20px 16px 0; }
    .profile-inner { gap: 12px; padding: 0; flex-wrap: nowrap; align-items: center; }
    .profile-pic { width: 72px; height: 72px; font-size: 24px; }
    .profile-name { font-size: 18px; }
    .profile-meta { font-size: 12px; }
    .profile-stats { gap: 16px; margin-top: 12px; }
    .pstat-num { font-size: 18px; }
    .pstat-l { font-size: 10px; }

    .profile-tabs {
      margin: 16px 0 0 0;
      max-width: 100%;
      padding: 0 4px;
    }
    .ptab { padding: 10px 14px; font-size: 13px; }

    .profile-content-wrap { padding: 16px 12px 100px; max-width: 100%; }

    .settings-section { padding: 16px 14px; border-radius: 14px; margin-bottom: 12px; }
    .settings-section-title { font-size: 14px; margin-bottom: 14px; }

    .type-selector { grid-template-columns: 1fr 1fr; gap: 10px; }
    .type-card { padding: 14px 10px; border-radius: 12px; }
    .type-card-icon { font-size: 24px; margin-bottom: 6px; }
    .type-card-title { font-size: 13px; }
    .type-card-desc { font-size: 11px; }

    .form-row { grid-template-columns: 1fr; gap: 14px; }
    .form-input { font-size: 14px; padding: 11px 14px; }
    .form-group { margin-bottom: 16px; }
    label { font-size: 11px; }

    .fp-select { font-size: 14px; }

    .settings-section .form-input { font-size: 13px; padding: 10px 12px; }
  }

  @media(max-width:400px){
    .profile-pic { width: 60px; height: 60px; font-size: 20px; }
    .profile-name { font-size: 16px; }
    .ptab { padding: 12px 4px; font-size: 11px; }
    .ptab i { display: inline; margin-right: 0 !important; }
    .type-card-title { font-size: 12px; }
    .profile-stats { gap: 10px; }
    .pstat-num { font-size: 16px; }
  }

  @media(max-width:480px){
    .ptab { padding: 10px 4px; font-size: 12px; }
    .ptab i { display: none; }
    .profile-inner { padding: 0 16px 0; }
    .profile-header { padding: 24px 16px 0; }
  }
  @media(max-width:600px){

    .profile-header { padding: 20px 16px 0; }
    .profile-inner {
      gap: 14px;
      flex-wrap: nowrap;
      align-items: flex-start;
    }
    .profile-photo-wrap { flex-shrink: 0; }
    .profile-pic { width: 72px; height: 72px; font-size: 24px; }
    .profile-photo-edit { width: 22px; height: 22px; font-size: 9px; }

    .profile-info-block { flex: 1; min-width: 0; }
    .profile-name { font-size: 18px; }
    .profile-name-row { flex-wrap: wrap; gap: 6px; }
    .profile-type-badge { font-size: 10px; padding: 2px 8px; }
    .profile-meta { font-size: 12px; margin-top: 2px; }

    .profile-stats { gap: 12px; margin-top: 10px; }
    .pstat-num { font-size: 17px; }
    .pstat-l { font-size: 10px; }

    .profile-actions {
      margin-top: 12px;
      flex-wrap: nowrap;
      gap: 8px;
    }
    .profile-btn-edit, .profile-btn-logout {
      flex: 1; justify-content: center;
      padding: 9px 12px; font-size: 13px;
    }

    .profile-tabs { margin-top: 16px; }
    .ptab { padding: 10px 4px; font-size: 12px; }
    .ptab i { display: none; }

    .profile-content-wrap { padding: 16px 12px 100px; }
    .settings-section { padding: 18px 14px; }
    .type-selector { grid-template-columns: 1fr 1fr; gap: 8px; }
    .type-card { padding: 14px 10px; }
    .type-card-title { font-size: 13px; }
    .type-card-desc { font-size: 11px; }
    .form-row { grid-template-columns: 1fr; gap: 12px; }
  }
  @media(max-width:480px){
    .ptab { padding: 10px 4px; font-size: 12px; }
    .ptab i { display: none; }
  }

  .listing-card.is-top {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand), 0 4px 20px rgba(0,200,83,.18);
  }
  .listing-card.is-top:hover {
    box-shadow: 0 0 0 1px var(--brand), 0 16px 48px rgba(0,200,83,.28);
  }
  .promo-badge-top {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: var(--brand); color: #000;
    font-size: 10px; font-weight: 800;
    padding: 3px 8px; border-radius: 50px;
    display: inline-flex; align-items: center; gap: 4px;
    letter-spacing: .4px; text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,200,83,.4);
  }

  .listing-card.is-highlight {
    border-color: #f59e0b;
    box-shadow: 0 0 0 1px rgba(245,158,11,.5), 0 4px 20px rgba(245,158,11,.12);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(245,158,11,.04) 100%);
  }
  .listing-card.is-highlight:hover {
    box-shadow: 0 0 0 1px #f59e0b, 0 16px 48px rgba(245,158,11,.2);
  }
  .promo-badge-highlight {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: #f59e0b; color: #000;
    font-size: 10px; font-weight: 800;
    padding: 3px 8px; border-radius: 50px;
    display: inline-flex; align-items: center; gap: 4px;
    letter-spacing: .4px; text-transform: uppercase;
  }

  .listing-card.is-urgent {
    border-color: #ff4757;
    box-shadow: 0 0 0 1px rgba(255,71,87,.4), 0 4px 20px rgba(255,71,87,.12);
  }
  .listing-card.is-urgent:hover {
    box-shadow: 0 0 0 1px #ff4757, 0 16px 48px rgba(255,71,87,.2);
  }
  .promo-badge-urgent {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: #ff4757; color: #fff;
    font-size: 10px; font-weight: 800;
    padding: 3px 8px; border-radius: 50px;
    display: inline-flex; align-items: center; gap: 4px;
    letter-spacing: .4px; text-transform: uppercase;
    animation: urgent-pulse 2s ease-in-out infinite;
  }
  @keyframes urgent-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,71,87,.5); }
    50%      { box-shadow: 0 0 0 5px rgba(255,71,87,0); }
  }

  .shop-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--dark3) 0%, rgba(0,200,83,.06) 100%);
    border: 1px solid var(--brand);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex; align-items: center; gap: 20px;
    cursor: pointer; transition: all .25s;
    text-decoration: none; color: inherit;
    position: relative; overflow: hidden;
  }
  .shop-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0,200,83,.06) 100%);
    pointer-events: none;
  }
  .shop-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,200,83,.18);
    border-color: var(--brand);
  }
  .shop-banner-logo {
    width: 60px; height: 60px; border-radius: 14px;
    background: var(--brand-dim); border: 2px solid var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; flex-shrink: 0;
  }
  .shop-banner-info { flex: 1; min-width: 0; }
  .shop-banner-name {
    font-size: 17px; font-weight: 800; margin-bottom: 4px;
    display: flex; align-items: center; gap: 8px;
  }
  .shop-banner-verified {
    background: var(--brand); color: #000;
    font-size: 9px; font-weight: 800;
    padding: 2px 7px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: .4px;
  }
  .shop-banner-desc {
    font-size: 13px; color: var(--text-muted); line-height: 1.5;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .shop-banner-stats {
    display: flex; gap: 20px; flex-shrink: 0;
    text-align: center;
  }
  .shop-banner-stat-num {
    font-size: 20px; font-weight: 800; color: var(--brand);
    font-variant-numeric: tabular-nums;
  }
  .shop-banner-stat-l {
    font-size: 10px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .3px;
  }
  .shop-banner-btn {
    background: var(--brand); color: #000;
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 13px; padding: 10px 20px;
    border-radius: 50px; border: none; cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
    transition: all .2s;
  }
  .shop-banner-btn:hover { background: var(--brand-dark); }
  .shop-banner-label {
    position: absolute; top: 10px; right: 12px;
    font-size: 9px; color: var(--text-muted); letter-spacing: .3px;
  }
  @media(max-width:600px){
    .shop-banner { flex-wrap: wrap; gap: 14px; padding: 16px; }
    .shop-banner-stats { gap: 14px; }
    .shop-banner-btn { width: 100%; text-align: center; }
    .shop-banner-label { display: none; }
  }

  .promo-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.72); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn .2s ease;
  }
  .promo-modal {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 24px; width: 100%; max-width: 680px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,.5);
    animation: slideUp .25s cubic-bezier(.34,1.56,.64,1);
  }
  @keyframes slideUp {
    from { opacity:0; transform:translateY(40px) scale(.97); }
    to   { opacity:1; transform:translateY(0) scale(1); }
  }
  .promo-modal-head {
    padding: 28px 28px 0;
    display: flex; align-items: flex-start; justify-content: space-between;
  }
  .promo-modal-title {
    font-size: 22px; font-weight: 800; margin-bottom: 4px;
  }
  .promo-modal-sub { font-size: 14px; color: var(--text-muted); }
  .promo-modal-close {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--dark3); border: 1px solid var(--border);
    color: var(--text); cursor: pointer; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all .2s;
  }
  .promo-modal-close:hover { background: var(--border); }
  .promo-modal-body { padding: 20px 28px 28px; }

  .promo-cards { display: grid; gap: 12px; margin-bottom: 20px; }
  .promo-card {
    border: 2px solid var(--border); border-radius: 16px; padding: 18px 20px;
    cursor: pointer; transition: all .2s; position: relative;
    display: flex; align-items: center; gap: 16px;
    background: var(--card-bg);
  }
  .promo-card:hover { border-color: var(--brand); transform: translateY(-1px); }
  .promo-card.selected {
    border-color: var(--brand);
    background: var(--brand-dim);
    box-shadow: 0 0 0 1px var(--brand);
  }
  .promo-card-check {
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s; font-size: 12px;
  }
  .promo-card.selected .promo-card-check {
    background: var(--brand); border-color: var(--brand); color: #000;
  }
  .promo-card-icon {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
  }
  .promo-card-icon.top      { background: rgba(0,200,83,.15); color: var(--brand); }
  .promo-card-icon.highlight{ background: rgba(245,158,11,.15); color: #f59e0b; }
  .promo-card-icon.urgent   { background: rgba(255,71,87,.15); color: #ff4757; }
  .promo-card-icon.banner   { background: rgba(99,102,241,.15); color: #6366f1; }
  .promo-card-info { flex: 1; min-width: 0; }
  .promo-card-name {
    font-size: 15px; font-weight: 700; margin-bottom: 3px;
    display: flex; align-items: center; gap: 8px;
  }
  .promo-card-badge {
    font-size: 10px; font-weight: 800; padding: 2px 8px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: .4px;
  }
  .promo-card-badge.top      { background: var(--brand); color: #000; }
  .promo-card-badge.highlight{ background: #f59e0b; color: #000; }
  .promo-card-badge.urgent   { background: #ff4757; color: #fff; }
  .promo-card-badge.banner   { background: #6366f1; color: #fff; }
  .promo-card-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
  .promo-card-price {
    flex-shrink: 0; text-align: right;
  }
  .promo-card-price-num {
    font-size: 18px; font-weight: 800; color: var(--brand);
    font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .promo-card-price-per {
    font-size: 11px; color: var(--text-muted); margin-top: 2px;
  }

  .promo-duration {
    display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
  }
  .promo-dur-btn {
    padding: 8px 18px; border-radius: 50px;
    border: 1.5px solid var(--border); background: transparent;
    color: var(--text); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif;
  }
  .promo-dur-btn.active {
    background: var(--brand); border-color: var(--brand); color: #000;
  }

  .promo-summary {
    background: var(--dark3); border-radius: 14px; padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
  }
  .promo-summary-label { font-size: 13px; color: var(--text-muted); }
  .promo-summary-total { font-size: 22px; font-weight: 800; color: var(--brand); }
  .promo-summary-desc  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

  .promo-skip {
    background: none; border: none; color: var(--text-muted);
    font-size: 13px; cursor: pointer; font-family: 'Inter', sans-serif;
    text-decoration: underline; padding: 0; transition: color .2s;
  }
  .promo-skip:hover { color: var(--text); }

  .promo-manage-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 50px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .4px; cursor: pointer; border: none;
    font-family: 'Inter', sans-serif; transition: all .2s;
  }
  .promo-manage-btn.no-promo {
    background: var(--brand-dim); color: var(--brand);
    border: 1px solid rgba(0,200,83,.3);
  }
  .promo-manage-btn.no-promo:hover { background: var(--brand); color: #000; }
  .promo-manage-btn.has-promo {
    background: rgba(99,102,241,.12); color: #6366f1;
    border: 1px solid rgba(99,102,241,.3);
  }
  .promo-manage-btn.has-promo:hover { background: rgba(99,102,241,.25); }

  .promo-active-ribbon {
    position: absolute; top: 10px; left: 10px; z-index: 3;
    font-size: 9px; font-weight: 800; padding: 2px 8px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: .5px;
    pointer-events: none;
  }
  .promo-active-ribbon.top      { background: var(--brand); color: #000; }
  .promo-active-ribbon.highlight{ background: #f59e0b; color: #000; }
  .promo-active-ribbon.urgent   { background: #ff4757; color: #fff; }
  .promo-active-ribbon.banner   { background: #6366f1; color: #fff; }

  @media(max-width:600px) {
    .promo-modal { border-radius: 20px 20px 0 0; }
    .promo-modal-overlay { align-items: flex-end; padding: 0; }
    .promo-card { flex-wrap: wrap; gap: 10px; }
    .promo-card-price { width: 100%; text-align: left; }
  }

  .services-hero {
    background: linear-gradient(135deg, var(--dark2) 0%, rgba(0,200,83,.06) 100%);
    border-bottom: 1px solid var(--border);
    padding: 48px 24px 36px;
    text-align: center;
  }
  .services-hero h1 {
    font-size: clamp(28px,4vw,42px); font-weight: 800;
    margin-bottom: 10px; line-height: 1.15;
  }
  .services-hero h1 span { color: var(--brand); }
  .services-hero p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }

  .services-search-bar {
    max-width: 540px; margin: 0 auto 20px;
    display: flex; gap: 10px;
  }
  .services-search-bar input {
    flex: 1; padding: 13px 18px; border-radius: 50px;
    border: 1.5px solid var(--border); background: var(--dark3);
    color: var(--text); font-size: 14px; font-family: 'Inter',sans-serif;
    outline: none; transition: border-color .2s;
  }
  .services-search-bar input:focus { border-color: var(--brand); }
  .services-search-bar button {
    padding: 13px 24px; border-radius: 50px;
    background: var(--brand); color: #000;
    border: none; font-weight: 700; font-size: 14px;
    cursor: pointer; font-family: 'Inter',sans-serif;
    white-space: nowrap; transition: all .2s;
  }
  .services-search-bar button:hover { background: var(--brand-dark); }

  .services-filters {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
    padding: 0 24px 32px; max-width: 900px; margin: 0 auto;
  }
  .svc-filter-pill {
    padding: 7px 16px; border-radius: 50px;
    border: 1.5px solid var(--border); background: transparent;
    color: var(--text); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all .2s; font-family: 'Inter',sans-serif;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .svc-filter-pill:hover { border-color: var(--brand); color: var(--brand); }
  .svc-filter-pill.active { background: var(--brand); border-color: var(--brand); color: #000; }

  .services-body {
    max-width: 1280px; margin: 0 auto; padding: 32px 24px 80px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
    gap: 20px;
  }

  .service-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden;
    transition: all .25s; cursor: pointer;
    display: flex; flex-direction: column;
  }
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    border-color: rgba(0,200,83,.3);
  }
  .service-card-cover {
    height: 140px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--dark3) 0%, var(--dark2) 100%);
    display: flex; align-items: center; justify-content: center;
  }
  .service-card-cover-icon {
    font-size: 52px; opacity: .7;
  }
  .service-card-cover-badge {
    position: absolute; top: 12px; right: 12px;
    font-size: 10px; font-weight: 800; padding: 3px 10px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: .4px;
  }
  .service-card-cover-badge.official {
    background: var(--brand); color: #000;
  }
  .service-card-cover-badge.verified {
    background: #6366f1; color: #fff;
  }
  .service-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
  .service-card-cats {
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px;
  }
  .service-cat-tag {
    font-size: 10px; font-weight: 700; padding: 2px 9px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: .3px;
    background: var(--brand-dim); color: var(--brand);
  }
  .service-card-name {
    font-size: 17px; font-weight: 800; margin-bottom: 4px;
    display: flex; align-items: center; gap: 8px;
  }
  .service-card-city {
    font-size: 12px; color: var(--text-muted); margin-bottom: 10px;
    display: flex; align-items: center; gap: 5px;
  }
  .service-card-desc {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
    margin-bottom: 14px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
  }

  .service-card-services {
    display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
  }
  .svc-item {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; padding: 6px 10px; border-radius: 8px;
    background: var(--dark3);
  }
  .svc-item-name { color: var(--text); font-weight: 500; }
  .svc-item-price { color: var(--brand); font-weight: 700; white-space: nowrap; }

  .service-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px; border-top: 1px solid var(--border);
    gap: 10px;
  }
  .service-card-rating {
    font-size: 13px; color: var(--text-muted);
    display: flex; align-items: center; gap: 5px;
  }
  .service-card-btn {
    padding: 8px 18px; border-radius: 50px;
    background: var(--brand-dim); color: var(--brand);
    border: 1px solid rgba(0,200,83,.3); font-size: 13px;
    font-weight: 700; cursor: pointer; font-family: 'Inter',sans-serif;
    transition: all .2s; white-space: nowrap;
  }
  .service-card-btn:hover { background: var(--brand); color: #000; }

  .service-detail-wrap {
    max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px;
  }
  .service-detail-header {
    display: grid; grid-template-columns: 1fr 320px; gap: 28px;
    align-items: start; margin-bottom: 32px;
  }
  .service-detail-cover {
    height: 220px; border-radius: 20px; overflow: hidden;
    background: linear-gradient(135deg, var(--dark3), var(--dark2));
    display: flex; align-items: center; justify-content: center;
    font-size: 80px; position: relative;
  }
  .service-detail-info { }
  .service-detail-name {
    font-size: 28px; font-weight: 800; margin-bottom: 8px;
  }
  .service-services-list {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
  }
  .svc-list-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--border);
    gap: 12px;
  }
  .svc-list-item:last-child { border-bottom: none; }
  .svc-list-name { font-size: 14px; font-weight: 600; }
  .svc-list-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .svc-list-price {
    font-size: 15px; font-weight: 800; color: var(--brand);
    white-space: nowrap; flex-shrink: 0;
  }

  .add-service-modal {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 24px; width: 100%; max-width: 680px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,.5);
    animation: slideUp .25s cubic-bezier(.34,1.56,.64,1);
  }

  .seller-service-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(0,200,83,.12); color: var(--brand);
    border: 1px solid rgba(0,200,83,.3);
    font-size: 11px; font-weight: 700; padding: 3px 10px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: .3px;
  }

  @media(max-width:768px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-detail-header { grid-template-columns: 1fr; }
  }
  @media(max-width:480px) {
    .services-grid { grid-template-columns: 1fr; }
  }

  .mysvc-hero {
    background: linear-gradient(135deg,var(--brand-dim) 0%,var(--dark2) 100%);
    border: 1px solid rgba(0,200,83,.2);
    border-radius: 20px; padding: 28px; margin-bottom: 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
  }
  .mysvc-hero-left { display: flex; align-items: center; gap: 18px; }
  .mysvc-hero-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--dark3); border: 2px solid var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; flex-shrink: 0;
  }
  .mysvc-hero-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
  .mysvc-hero-meta  { font-size: 13px; color: var(--text-muted); }

  .mysvc-section {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; padding: 22px; margin-bottom: 16px;
  }
  .mysvc-section-title {
    font-size: 14px; font-weight: 700; margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
    color: var(--text);
  }
  .mysvc-section-title i { color: var(--brand); }

  .mysvc-cat-block {
    border: 1.5px solid var(--border); border-radius: 14px;
    overflow: hidden; margin-bottom: 12px;
  }
  .mysvc-cat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: var(--dark3);
    border-bottom: 1px solid var(--border); gap: 8px;
  }
  .mysvc-cat-name-input {
    flex: 1; background: transparent; border: none; outline: none;
    font-size: 13px; font-weight: 700; color: var(--text);
    font-family: "Inter",sans-serif;
  }
  .mysvc-cat-name-input::placeholder { color: var(--text-muted); font-weight: 600; }
  .mysvc-cat-rows { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
  .mysvc-service-row {
    display: grid; grid-template-columns: 1fr 160px auto;
    gap: 8px; align-items: center;
  }
  .mysvc-price-wrap { position: relative; }
  .mysvc-price-wrap input { padding-right: 38px; width: 100%; box-sizing: border-box; }
  .mysvc-price-suffix {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    font-size: 12px; font-weight: 700; color: var(--brand); pointer-events: none;
  }
  @media(max-width:600px){
    .mysvc-service-row { grid-template-columns: 1fr auto; }
  }
  .mysvc-add-row-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--dark3); border: 1.5px dashed var(--border);
    color: var(--text-muted); border-radius: 10px; padding: 9px 16px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: 'Inter',sans-serif; transition: all .2s; width: 100%;
    justify-content: center; margin-top: 4px;
  }
  .mysvc-add-row-btn:hover { border-color: var(--brand); color: var(--brand); }

  .mysvc-cat-pill {
    padding: 6px 14px; border-radius: 50px;
    border: 1.5px solid var(--border); background: transparent;
    color: var(--text-muted); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all .2s; font-family: 'Inter',sans-serif;
  }
  .mysvc-cat-pill.active {
    background: var(--brand); border-color: var(--brand); color: #000;
  }

  .mysvc-save-btn {
    background: var(--brand); color: #000; border: none;
    border-radius: 50px; padding: 13px 32px; font-size: 15px;
    font-weight: 800; cursor: pointer; font-family: 'Inter',sans-serif;
    transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
  }
  .mysvc-save-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
  .mysvc-delete-btn {
    background: transparent; color: #ff4757; border: 1.5px solid #ff4757;
    border-radius: 50px; padding: 13px 24px; font-size: 14px;
    font-weight: 700; cursor: pointer; font-family: 'Inter',sans-serif;
    transition: all .2s;
  }
  .mysvc-delete-btn:hover { background: rgba(255,71,87,.1); }

  .mysvc-preview-card {
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 14px; padding: 16px; margin-top: 12px;
  }
  #svc-city-select:focus { border-color: var(--brand); }
  @media(max-width:600px) {
    .services-search-bar { flex-wrap: wrap; }
    .services-search-bar input { flex: 1 1 100%; }
    #svc-city-select { flex: 1 1 calc(50% - 5px); min-width: unset; }
    .services-search-bar button { flex: 1 1 calc(50% - 5px); }
  }

  .home-svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  .home-svc-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .home-svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,.2);
    border-color: rgba(0,200,83,.35);
  }
  .home-svc-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .home-svc-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
    background: var(--dark3);
  }
  .home-svc-name { font-size: 15px; font-weight: 800; }
  .home-svc-city { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .home-svc-cats {
    display: flex; gap: 5px; flex-wrap: wrap;
  }
  .home-svc-cat {
    font-size: 10px; font-weight: 700; padding: 2px 8px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: .3px;
    background: var(--brand-dim); color: var(--brand);
  }
  .home-svc-services {
    display: flex; flex-direction: column; gap: 4px;
    border-top: 1px solid var(--border); padding-top: 10px;
  }
  .home-svc-row {
    display: flex; justify-content: space-between;
    font-size: 12px; color: var(--text-muted);
  }
  .home-svc-row span:last-child { color: var(--brand); font-weight: 700; }
  .home-svc-badge {
    font-size: 10px; font-weight: 800; padding: 2px 8px;
    border-radius: 50px; text-transform: uppercase;
  }
  .home-svc-badge.official { background: var(--brand); color: #000; }
  .home-svc-badge.verified { background: #6366f1; color: #fff; }
  .home-svc-rating {
    font-size: 12px; color: var(--text-muted);
    display: flex; align-items: center; gap: 4px;
  }

  .news-cat-btn {
    padding: 7px 16px; border-radius: 50px; font-size: 13px; font-weight: 600;
    border: 1.5px solid var(--border); background: transparent; color: var(--text-muted);
    cursor: pointer; transition: all .2s;
  }
  .news-cat-btn:hover, .news-cat-btn.active {
    border-color: var(--brand); color: var(--brand); background: var(--brand-dim);
  }
  .news-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s;
  }
  .news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.15); transform: translateY(-2px); }
  .news-card-img { width: 100%; height: 220px; object-fit: contain; background: var(--dark3); display: block; border-radius: var(--radius) var(--radius) 0 0; }
  .news-card-img-ph { width: 100%; height: 200px; background: linear-gradient(135deg,var(--dark3),var(--dark4)); display: flex; align-items: center; justify-content: center; font-size: 48px; }
  .news-card-body { padding: 20px; }
  .news-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--brand); margin-bottom: 8px; }
  .news-card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
  .news-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
  .news-card-date { font-size: 12px; color: var(--text-muted); }

  .news-article-body h2 { font-size: clamp(18px,2.5vw,24px); font-weight: 700; margin: 24px 0 10px; color: var(--text); }
  .news-article-body h3 { font-size: clamp(16px,2vw,20px); font-weight: 600; margin: 20px 0 8px; color: var(--text); }
  .news-article-body p { margin-bottom: 14px; }
  .news-article-body ul { padding-left: 22px; margin-bottom: 14px; }
  .news-article-body ul li { margin-bottom: 6px; }
  .news-article-body blockquote {
    border-left: 3px solid var(--brand); padding: 12px 16px;
    color: var(--text-muted); margin: 16px 0;
    font-style: italic; background: var(--brand-dim); border-radius: 0 8px 8px 0;
  }
  .news-article-body img { max-width: 100%; border-radius: 12px; margin: 16px 0; display: block; }

@media(max-width:768px) {
  * { box-sizing: border-box; }

  button, .btn-primary, .btn-outline, .btn-call, .btn-msg {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  header .header-inner { padding: 0 16px; gap: 8px; }

  header nav { display: none; }
  header .search-wrap { display: none; }

  header .logo { font-size: 20px; }
  header .btn-messages {
    margin-left: auto;
    padding: 10px 14px;
  }

  header .btn-messages span:not(.header-msg-badge) {
    display: none;
  }
  header .btn-messages i {
    margin: 0;
    font-size: 18px;
  }

  .header-msg-badge {
    top: -6px !important;
    right: -6px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    border-width: 2px !important;
  }
  .mobile-search-btn { display: none !important; }
  .mobile-msg-btn { display: none !important; }

  .mobile-search-bar {
    display: none; align-items: center; gap: 8px;
    padding: 8px 12px; border-top: 1px solid var(--border);
    background: var(--dark2);
  }
  .mobile-search-bar .search-wrap { display: flex !important; flex: 1; max-width: none; margin: 0; }

  .services-hero { padding: 24px 16px; }
  .services-hero h1 { font-size: 22px; }
  .services-body { padding: 0 16px 80px; }
  .services-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .service-card { border-radius: 14px; }

  .service-detail-header {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 16px;
  }
  .service-detail-cover { height: 180px; }
  .service-detail-info { padding: 16px; }
  .service-detail-name { font-size: 20px; }

  #svc-detail-body,
  .service-detail-body {
    grid-template-columns: 1fr !important;
    padding: 16px;
    gap: 16px;
  }

  .mysvc-hero { padding: 16px; flex-direction: column; align-items: flex-start; }
  .mysvc-hero-left { gap: 12px; }
  .mysvc-hero-title { font-size: 17px; }
  .mysvc-service-row { grid-template-columns: 1fr auto !important; }
  .mysvc-section { padding: 14px; }

  .catalog-hero { padding: 24px 16px; }
  .catalog-hero h1 { font-size: 20px; }
  .catalog-page-wrap { padding: 0; }
  .filter-panel { padding: 16px; }
  .cat-picker-body { padding: 16px; }
  .listing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    padding: 0 12px;
  }

  .detail-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .detail-card { padding: 16px; }
  .detail-card .btn-call,
  .detail-card .btn-msg { font-size: 14px; padding: 11px 12px; }
  .detail-main-img { height: 260px; }

  .seller-hero { padding: 20px 16px; }
  .seller-stats-row { gap: 8px; }
  .seller-stat { padding: 12px; }

  .profile-header { padding: 20px 16px; flex-direction: column; align-items: center; text-align: center; }
  .profile-tabs { overflow-x: auto; }
  .ptab { white-space: nowrap; padding: 10px 14px; font-size: 13px; }

  .add-wizard { padding: 16px; }
  .cat-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .cat-card-item { padding: 16px 10px; }
  .form-row { grid-template-columns: 1fr !important; }

  #news-grid { grid-template-columns: 1fr !important; }
  #home-news-grid { grid-template-columns: 1fr !important; }

  .hero-content { padding: 32px 16px; }
  .hero h1 { font-size: 28px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns button { width: 100%; }
  .hero-stats { gap: 16px; }
  .cats { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .section { padding: 32px 16px; }
  .section-header { flex-wrap: wrap; gap: 8px; }

  .spec-table { font-size: 13px; }
  .spec-table td:first-child { width: 45%; }

}

@media(max-width:400px) {
  .listing-grid { grid-template-columns: 1fr !important; }
  .cats { grid-template-columns: repeat(2, 1fr) !important; }
  .hero h1 { font-size: 24px; }
  .stat-num { font-size: 22px; }
  .detail-main-img { height: 220px; }

}

@media(max-width:768px) {
  .service-detail-wrap { padding: 16px 12px 80px; }
  .service-detail-header {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-bottom: 16px;
  }
  .service-detail-cover { height: 160px; border-radius: 14px; font-size: 56px; }
  .service-detail-name { font-size: 20px; }

  #svc-detail-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    grid-template-columns: unset !important;
  }
  .service-detail-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
  }

  #svc-detail-body > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .svc-list-item { padding: 12px 14px; flex-wrap: wrap; gap: 6px; }
  .svc-list-name { font-size: 13px; }
  .svc-list-price { font-size: 14px; }

  #svc-detail-header button,
  #svc-detail-body button {
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}
@media(max-width:480px) {
  .service-detail-wrap { padding: 12px 10px 80px; }
  .service-detail-name { font-size: 18px; }

}

@keyframes skeleton-shine {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }

}

.skeleton {
  background: linear-gradient(90deg, var(--dark3,#1e2a1e) 25%, var(--dark2,#162216) 50%, var(--dark3,#1e2a1e) 75%);
  background-size: 800px 100%;
  animation: skeleton-shine 1.4s ease-in-out infinite;
  border-radius: 8px;

}

}

.skel-line.short { width: 55%; }

.skel-line.price { height: 20px; width: 40%; }

.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  margin-top: 0;

}

.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;

}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--text); cursor: pointer;
  margin-bottom: 12px; display: inline-block;

}

.footer-logo span { color: var(--brand); }

.footer-desc {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 20px;
  max-width: 280px;

}

.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }

.footer-social-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--dark3); border: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: center; font-size: 20px; text-decoration: none;
  transition: all .2s;
}
.footer-social-btn span { display: flex; align-items: center; justify-content: center; }
.footer-social-btn:hover { background: var(--brand-dim); border-color: var(--brand); transform: translateY(-2px); }

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--text-muted); margin-bottom: 4px;

}

.footer-col a {
  font-size: 14px; color: var(--text-muted); text-decoration: none;
  cursor: pointer; transition: color .15s;

}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--text-muted);

}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  color: var(--text-muted); text-decoration: none; cursor: pointer; transition: color .15s;

}

.footer-bottom-links a:hover { color: var(--brand); }

@media(max-width:768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 16px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-desc { max-width: 100%; }
  .site-footer { margin-bottom: 60px; }

}
@media(max-width:480px) {
  .footer-inner { grid-template-columns: 1fr; }

}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;

}

.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 15px;
  gap: 12px; user-select: none; transition: background .15s;

}

.faq-q:hover { background: var(--dark3); }

.faq-q i { color: var(--brand); font-size: 13px; transition: transform .25s; flex-shrink: 0; }

.faq-q.open i { transform: rotate(180deg); }

.faq-a {
  display: none; padding: 0 20px 18px;
  font-size: 14px; line-height: 1.8; color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;

}

.faq-a.open { display: block; }

.static-page-content { font-size: 15px; line-height: 1.8; color: var(--text-muted); }

.static-page-content h2 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin: 28px 0 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);

}

.static-page-content p { margin-bottom: 14px; }

.static-page-content ul { padding-left: 20px; margin-bottom: 14px; }

.static-page-content ul li { margin-bottom: 6px; }

.static-page-content a { color: var(--brand); text-decoration: none; }

.static-page-content a:hover { text-decoration: underline; }

.slot-pkg-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--card-bg);
  cursor: pointer; transition: all .15s; gap: 12px;

}

.slot-pkg-card:hover { border-color: var(--brand); background: var(--brand-dim); }

.slot-pkg-card.popular { border-color: var(--brand); background: var(--brand-dim); }

.slot-pkg-left { flex: 1; }

.slot-pkg-count { font-size: 15px; font-weight: 700; margin-bottom: 2px; }

.slot-pkg-note { font-size: 12px; color: var(--text-muted); }

.slot-pkg-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }

.slot-pkg-price { font-size: 17px; font-weight: 800; color: var(--brand); }

.slot-pkg-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: var(--brand-dim); color: var(--brand); }

.slot-pkg-badge.best { background: var(--brand); color: #000; }

.slot-popular-tag { font-size: 11px; font-weight: 600; color: var(--brand); margin-left: 6px; }

@media(max-width: 768px) {

  .seller-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }
  .seller-tabs-wrap::-webkit-scrollbar { display: none; }
  .seller-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 12px 14px;
    font-size: 13px;
  }
  .seller-tab i { display: none; }

  #stab-about > div[style*="grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  #stab-about > div > div:last-child {
    order: -1;
  }

  #seller-page-url {
    word-break: break-all !important;
    font-size: 11px !important;
    overflow-wrap: anywhere;
  }

  #stab-reviews > div[style*="grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  #stab-reviews > div > div:first-child {
    position: static !important;
  }

  .seller-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .seller-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }
  .seller-actions button,
  .seller-actions .share-shop-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  #page-seller > div:last-child {
    padding: 20px 16px 80px !important;
  }

}

@media(max-width: 480px) {
  .seller-tab {
    padding: 10px 12px;
    font-size: 12px;
  }
  .seller-stat-val { font-size: 20px !important; }

}

#city-suggestions {
  z-index: 10000 !important;

}

}

}

@media (max-width: 360px) {
  .pstat-num { font-size: 15px !important; }
  .ptab { font-size: 10px !important; padding: 9px 4px !important; }
  .seller-tab { font-size: 10px !important; padding: 9px 6px !important; }

}

}

.listing-card.is-sold {
  opacity: 0.75;

}

.listing-card.is-sold .listing-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
  border-radius: inherit;

}

.price-slider-wrap {
  position: relative;
  height: 36px;
  margin: 8px 0 4px;

}

.price-slider-track {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 0; right: 0; height: 4px;
  background: var(--border); border-radius: 2px;
  pointer-events: none;

}

.price-slider-fill {
  position: absolute;
  height: 100%; background: var(--brand); border-radius: 2px;

}

.price-slider {
  position: absolute;
  width: 100%; top: 50%; transform: translateY(-50%);
  -webkit-appearance: none; appearance: none;
  background: transparent; pointer-events: none;
  height: 4px; outline: none;

}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,200,83,.4);
  cursor: pointer; pointer-events: all;
  transition: transform .15s;

}

.price-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.price-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,200,83,.4);
  cursor: pointer; pointer-events: all;

}

.price-preset {
  padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); cursor: pointer; font-family: inherit;
  transition: all .15s;

}

.price-preset:hover, .price-preset.active {
  background: var(--brand-dim); border-color: var(--brand); color: var(--brand);

}

}

}

.hero h1, .detail-title, .listing-card .listing-title {
  font-display: swap;

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

}

.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 300px;

}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

}

/* ── SOLD CARD REDESIGN ─────────────────────────────────────── */
.promo-badge-sold {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  gap: 7px; padding: 10px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.promo-badge-sold i { color: #4ade80; font-size: 15px; }
.listing-card.is-sold { opacity: 0.82; }
.listing-card.is-sold .listing-img { filter: grayscale(25%); }
.listing-card.is-sold .listing-price { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--text-muted); font-size: 20px; }
.listing-card.is-sold:hover { opacity: 1; }

/* ── CARD REDESIGN ───────────────────────────────────────────── */

/* Бейдж стану — зверху зліва на фото */
.card-condition-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .3px;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.card-condition-badge.card-condition-новий {
  background: rgba(0,200,83,.85);
  border-color: rgba(0,200,83,.4);
  color: #000;
}
.card-condition-badge.card-condition-відмінний {
  background: rgba(59,130,246,.8);
  color: #fff;
}

/* Мета рядок: рік + місто */
.card-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.card-meta-item i {
  font-size: 11px;
  color: var(--brand);
}

/* Кнопка продавця в футері */
.card-seller-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: color .15s;
  font-family: inherit;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}
.card-seller-btn:hover { color: var(--brand); }
.card-seller-btn i { color: var(--brand); flex-shrink: 0; }

/* Ціна — більша і красива */
.listing-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

/* Прибираємо listing-tags (тепер тег у lv-top-row і більше не потрібен окремо) */
.listing-tags { display: none; }

/* ── CARD PILLS ROW ─────────────────────────────────────────── */
.card-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.card-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
}
.card-pill-new {
  background: rgba(0,200,83,.12);
  color: var(--brand);
  border-color: rgba(0,200,83,.25);
}
.card-pill-good {
  background: rgba(59,130,246,.1);
  color: #60a5fa;
  border-color: rgba(59,130,246,.2);
}
.card-pill-used {
  background: var(--dark3);
  color: var(--text-muted);
  border-color: var(--border);
}
.card-pill-year {
  background: var(--dark3);
  color: var(--text-muted);
  border-color: var(--border);
}

/* Прибираємо старі зайві елементи */
.listing-tags { display: none; }
.card-condition-badge { display: none; }
.card-meta-row { display: none; }

/* ── ТОРГ / ОБМІН pills ─────────────────────────────────────── */
.card-pill-bargain {
  background: rgba(249,115,22,.12);
  color: #fb923c;
  border-color: rgba(249,115,22,.25);
  font-size: 11px; font-weight: 700;
}
.card-pill-exchange {
  background: rgba(168,85,247,.12);
  color: #c084fc;
  border-color: rgba(168,85,247,.25);
  font-size: 11px; font-weight: 700;
}

/* Місто в footer картки */
.listing-footer .loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Ціна без зайвого margin коли поруч з Торг */
.listing-card .listing-price {
  margin-bottom: 0;
}

/* ── CARD UNIFIED LOOK ───────────────────────────────────────── */

/* Specs блок — фіксована мінімальна висота щоб картки були однакові */
.listing-specs {
  min-height: 44px;
  margin-bottom: 12px !important;
}

/* Порожній specs placeholder — займає місце */
.listing-specs-empty {
  min-height: 12px;
  margin-bottom: 12px;
}

/* Один separator — тільки перед footer */
.listing-footer {
  border-top: 1px solid var(--border) !important;
  padding-top: 10px !important;
  margin-top: 4px !important;
}

/* Ціна — однаковий розмір завжди */
.listing-card .listing-price {
  font-size: 24px !important;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
  line-height: 1.2;
}

/* Pills row — фіксована висота */
.card-pills-row {
  min-height: 24px;
  margin-bottom: 6px;
}

/* Mobile nav — явні кольори для світлої теми */
body.light .mnav-item {
  color: #5a7a5a;
}
body.light .mnav-item.active,
body.light .mnav-item:hover {
  color: var(--brand);
}
body.light .mnav-item span {
  color: inherit;
}

/* Mobile nav SVG icons */
.mnav-item svg {
  flex-shrink: 0;
  display: block;
}
.mnav-item span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
