  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0A0A0A; min-height: 100vh; color: #fff; display: flex; flex-direction: column; }

  .topnav { display: flex; align-items: center; justify-content: space-between; padding: 0 2.5rem; height: 60px; background: #000; border-bottom: 3px solid #CC1F1F; position: sticky; top: 0; z-index: 100; }
  .topnav-left { display: flex; align-items: center; gap: 2.5rem; }
  .logo { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; text-transform: uppercase; text-decoration: none; }
  .logo span { color: #CC1F1F; }
  .nav-links { display: flex; gap: 6px; }
  .nav-link { display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); text-decoration: none; border-radius: 6px; transition: color 0.15s, background 0.15s; }
  .nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
  .nav-link.active { color: #fff; background: rgba(204,31,31,0.15); }
  .nav-link i { font-size: 17px; }

  .main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 2rem 2.5rem 3rem; flex: 1; }
  .page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
  .page-header h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
  .page-sub { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }

  .filters-bar { display: flex; gap: 10px; margin-bottom: 1.5rem; flex-wrap: wrap; }
  .filter-search { position: relative; flex: 1; min-width: 200px; }
  .filter-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: rgba(255,255,255,0.6); }
  .filter-search input { width: 100%; padding: 10px 12px 10px 40px; font-size: 14px; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 6px; background: rgba(255,255,255,0.04); color: #fff; outline: none; }
  .filter-search input:focus { border-color: #CC1F1F; }
  .filter-search input::placeholder { color: rgba(255,255,255,0.25); }
  .filter-select { padding: 10px 32px 10px 12px; font-size: 13px; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 6px; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7); outline: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
  .filter-select:focus { border-color: #CC1F1F; }
  .filter-select option { background: #1A1A1A; color: #fff; }

  .results-count { font-size: 13px; color: rgba(255,255,255,0.62); margin-bottom: 16px; }

  /* Card grid */
  .browse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
  .browse-card {
    background: #111; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px;
    overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s;
  }
  .browse-card:hover { border-color: rgba(204,31,31,0.3); transform: translateY(-2px); }
  .card-img { width: 100%; height: 200px; overflow: hidden; position: relative; }
  .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 40%, transparent 70%, rgba(0,0,0,0.4) 100%); pointer-events: none; }
  .card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
  .card-body { padding: 1rem 1.25rem; }
  .card-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
  .card-meta { font-size: 12px; color: rgba(255,255,255,0.62); margin-bottom: 12px; }
  .card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }
  .card-price { font-size: 14px; font-weight: 700; color: #CC1F1F; }
  .card-price-admin { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; font-size: 12px; }
  .card-price-admin .card-price-retail { color: rgba(255,255,255,0.72); font-weight: 600; }
  .card-price-admin .card-price-wholesale { color: #CC1F1F; font-weight: 700; }
  .card-price-admin .card-price-sep { color: rgba(255,255,255,0.35); }
  body.light .card-price-admin .card-price-retail { color: rgba(0,0,0,0.72); }
  body.light .card-price-admin .card-price-sep { color: rgba(0,0,0,0.35); }
  .card-dealer { font-size: 12px; color: rgba(255,255,255,0.62); }
  .card-qty { font-size: 12px; color: #fff; background: rgba(0,0,0,0.7); padding: 3px 10px; border-radius: 4px; position: absolute; top: 10px; right: 10px; font-weight: 700; }

  .badge { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11px; font-weight: 700; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
  .badge-available { background: rgba(34,197,94,0.15); color: #22C55E; }
  .badge-type1 { background: rgba(59,130,246,0.3); color: #fff; }
  .badge-type2 { background: rgba(168,85,247,0.3); color: #fff; }
  .badge-type3 { background: rgba(236,72,153,0.3); color: #fff; }

  .bottombar { background: #000; border-top: 1px solid rgba(255,255,255,0.08); padding: 12px 2.5rem; display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
  .bottombar-left { font-size: 11px; color: rgba(255,255,255,0.6); }
  .bottombar-right { display: flex; gap: 20px; }
  .bottombar-right a { font-size: 11px; color: rgba(255,255,255,0.6); text-decoration: none; }
  .bottombar-right a:hover { color: rgba(255,255,255,0.6); }

  @media (max-width: 768px) {
    .topnav { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .main { padding: 1.5rem 1.25rem; }
    .browse-grid { grid-template-columns: 1fr; }
    .filters-bar { flex-direction: column; }
  }

  /* Light mode */
  body.light { background: #F5F5F5; color: #111; }
  body.light .topnav { background: #fff; }
  body.light .logo { color: #111; }
  body.light .nav-link { color: rgba(0,0,0,0.5); }
  body.light .nav-link:hover { color: #111; background: rgba(0,0,0,0.04); }
  body.light .nav-link.active { color: #CC1F1F; background: rgba(204,31,31,0.08); }
  body.light .page-header h1 { color: #111; }
  body.light .page-sub { color: #777; }
  body.light .filter-search input { background: #fff; border-color: #DDD; color: #111; }
  body.light .filter-search i { color: #999; }
  body.light .filter-select { background: #fff; border-color: #DDD; color: #333; }
  body.light .filter-select option { background: #fff; color: #111; }
  body.light .results-count { color: #888; }
  body.light .browse-card { background: #fff; border-color: #E8E8E8; }
  body.light .browse-card:hover { border-color: rgba(204,31,31,0.3); }
  body.light .card-title { color: #111; }
  body.light .card-meta { color: #888; }
  body.light .card-dealer { color: #999; }
  body.light .card-footer { border-top-color: #EEE; }
  body.light .bottombar { background: #fff; border-top-color: #E8E8E8; }
  body.light .bottombar-left { color: #999; }
  body.light .bottombar-right a { color: #999; }
  body.light .bottombar-right a:hover { color: #555; }
  body.light .filter-search input::placeholder { color: rgba(0,0,0,0.35); }
  body.light .card-qty { color: #111; }
  body.light .notif-empty { color: rgba(0,0,0,0.35); }
  body.light .notif-empty i { color: rgba(0,0,0,0.15); }
  body.light .notif-read-btn { color: rgba(0,0,0,0.3); }
  .theme-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: rgba(255,255,255,0.5); font-size: 20px; cursor: pointer; border: none; background: none; transition: color 0.15s, background 0.15s; }
  .theme-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
  body.light .theme-btn { color: rgba(0,0,0,0.4); }
  body.light .theme-btn:hover { color: #111; background: rgba(0,0,0,0.04); }

  .nav-icon-btn { position: relative; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: rgba(255,255,255,0.5); font-size: 20px; cursor: pointer; border: none; background: none; transition: color 0.15s, background 0.15s; }
  .nav-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
  body.light .nav-icon-btn { color: rgba(0,0,0,0.4); }
  body.light .nav-icon-btn:hover { color: #111; background: rgba(0,0,0,0.04); }
  .nav-badge { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; background: #CC1F1F; border-radius: 50%; border: 2px solid #000; }
  body.light .nav-badge { border-color: #fff; }
  .topnav-right { display: flex; align-items: center; gap: 8px; }
  .dropdown-wrap { position: relative; }
  .dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; background: #1A1A1A; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,0.5); z-index: 200; overflow: hidden; }
  .dropdown.open { display: block; }
  .dropdown-header { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.62); }
  .notif-panel { min-width: 340px; }
  .notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.1s; cursor: pointer; }
  .notif-item:hover { background: rgba(255,255,255,0.03); }
  .notif-item:last-child { border-bottom: none; }
  .notif-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
  .notif-dot.green { background: #22C55E; } .notif-dot.blue { background: #3B82F6; } .notif-dot.amber { background: #F59E0B; } .notif-dot.red { background: #CC1F1F; }
  .notif-body { flex: 1; }
  .notif-body p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.4; margin-bottom: 2px; }
  .notif-body p strong { color: #fff; }
  .notif-body time { font-size: 11px; color: rgba(255,255,255,0.25); }
  .notif-empty { padding: 24px 16px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.6); }
  .notif-footer { padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
  .notif-footer a { font-size: 12px; font-weight: 600; color: #CC1F1F; text-decoration: none; cursor: pointer; }
  .notif-footer a:hover { text-decoration: underline; }
  body.light .dropdown { background: #fff; border-color: #E0E0E0; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
  body.light .dropdown-header { color: #999; border-bottom-color: #EEE; }
  body.light .notif-body p { color: #444; }
  body.light .notif-body p strong { color: #111; }
  body.light .notif-body time { color: #999; }
  body.light .notif-item { border-bottom-color: #EEE; }
  body.light .notif-item:hover { background: #F9F9F9; }
  body.light .notif-footer { border-top-color: #EEE; }
  body.light .badge-type1 { color: #1D4ED8; }
  body.light .badge-type2 { color: #7C3AED; }
  body.light .badge-type3 { color: #DB2777; }
