body, html {
  height: 100%;
  font-family: "Inconsolata", sans-serif;
}


.menu {
  display: none;
}






.CL_PRODUCT_PHOTO	
{
	width: 120px;
	height: auto;
}
	
	
  @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

  :root {
    --ink:      #0f1117;
    --paper:    #f7f5f0;
    --card:     #ffffff;
    --accent:   #e85d26;
    --accent2:  #2563eb;
    --muted:    #6b7280;
    --border:   #e5e7eb;
    --success:  #16a34a;
    --wa:       #25d366;
    --shadow:   0 2px 12px rgba(0,0,0,.08);
    --radius:   12px;
  }

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

  body {
    font-family: 'Inter', sans-serif;
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
  }

  /* ── NAVBAR ───────────────────────────────────── */
  nav {
    background: var(--ink);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
  }
  .nav-inner {
    max-width: 1280px; margin: auto;
    display: flex; align-items: center;
    padding: 0 20px; height: 64px; gap: 8px;
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.4rem;
    color: #fff; text-decoration: none;
    letter-spacing: -0.5px; margin-right: 12px;
    display: flex; align-items: center; gap: 6px;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links {
    display: flex; gap: 2px; flex: 1;
    list-style: none;
  }
  .nav-links a {
    color: #d1d5db; text-decoration: none;
    font-size: .875rem; font-weight: 500;
    padding: 8px 14px; border-radius: 8px;
    transition: all .2s;
    display: flex; align-items: center; gap: 6px;
  }
  .nav-links a:hover, .nav-links a.active {
    color: #fff; background: rgba(255,255,255,.1);
  }
  .nav-links a.active { color: var(--accent); }
  .nav-right { display: flex; align-items: center; gap: 10px; }

  .cart-btn {
    background: var(--accent);
    color: #fff; border: none; border-radius: 10px;
    padding: 8px 16px; cursor: pointer;
    font-size: .875rem; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    position: relative; transition: all .2s;
  }
  .cart-btn:hover { background: #cf4e1f; transform: translateY(-1px); }
  .cart-count {
    background: #fff; color: var(--accent);
    border-radius: 99px; width: 18px; height: 18px;
    font-size: .7rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .hamburger {
    display: none; background: none; border: none;
    cursor: pointer; flex-direction: column;
    gap: 5px; padding: 4px;
  }
  .hamburger span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: all .3s;
  }
  .seller-btn {
    background: var(--accent2); color: #fff;
    border: none; border-radius: 10px;
    padding: 8px 14px; cursor: pointer;
    font-size: .8rem; font-weight: 600;
    transition: all .2s;
  }
  .seller-btn:hover { background: #1d4ed8; }

  @media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
      display: none; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--ink); padding: 12px 20px 20px;
      border-top: 1px solid rgba(255,255,255,.1);
    }
    .nav-links.open { display: flex; }
    .seller-btn { display: none; }
  }

  /* ── HERO ─────────────────────────────────────── */
  .hero {
    background: linear-gradient(135deg, var(--ink) 0%, #1e2235 60%, #2d1810 100%);
    color: #fff; padding: 72px 20px;
    text-align: center;
  }
  .hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; line-height: 1.1;
    margin-bottom: 16px;
  }
  .hero h1 em { color: var(--accent); font-style: normal; }
  .hero p { color: #9ca3af; font-size: 1.1rem; max-width: 500px; margin: 0 auto 28px; }
  .hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-primary {
    background: var(--accent); color: #fff;
    border: none; border-radius: 10px;
    padding: 12px 24px; font-size: .95rem;
    font-weight: 600; cursor: pointer;
    transition: all .2s;
  }
  .btn-primary:hover { background: #cf4e1f; transform: translateY(-2px); }
  .btn-ghost {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 10px; padding: 12px 24px;
    font-size: .95rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
  }
  .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.05); }

  /* ── SECTIONS ─────────────────────────────────── */
  .section { display: none; }
  .section.active { display: block; }

  .container { max-width: 1280px; margin: 0 auto; padding: 48px 20px; }

  .section-header {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
  }
  .section-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem; font-weight: 700;
  }

  /* ── FILTERS / SEARCH ─────────────────────────── */
  .search-bar {
    display: flex; gap: 10px; margin-bottom: 28px;
    flex-wrap: wrap;
  }
  .search-bar input, .search-bar select {
    flex: 1; min-width: 160px;
    border: 1.5px solid var(--border);
    border-radius: 10px; padding: 10px 14px;
    font-size: .875rem; background: #fff;
    outline: none; transition: border-color .2s;
  }
  .search-bar input:focus, .search-bar select:focus {
    border-color: var(--accent);
  }

  /* ── PRODUCT GRID ─────────────────────────────── */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
  .product-card {
    background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
  }
  .product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }

  .product-img {
    width: 100%; height: 180px;
    object-fit: cover; background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
  }
  .product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .product-category {
    font-size: .7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .8px;
    color: var(--accent);
  }
  .product-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700; font-size: 1rem; line-height: 1.3;
  }
  .product-desc { font-size: .8rem; color: var(--muted); line-height: 1.5; }
  .product-seller {
    font-size: .78rem; color: var(--muted);
    display: flex; align-items: center; gap: 4px;
  }
  .product-seller strong { color: var(--ink); }
  .product-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center;
    justify-content: space-between; gap: 8px;
    background: #fafafa;
  }
  .product-price {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem; font-weight: 700; color: var(--accent);
  }
  .moq-badge {
    font-size: .7rem; color: var(--muted);
    background: #f3f4f6; padding: 2px 7px;
    border-radius: 99px;
  }
  .add-cart-btn {
    background: var(--ink); color: #fff;
    border: none; border-radius: 8px;
    padding: 8px 14px; font-size: .8rem;
    font-weight: 600; cursor: pointer;
    transition: all .2s; white-space: nowrap;
  }
  .add-cart-btn:hover { background: var(--accent); }
  .qty-control {
    display: flex; align-items: center; gap: 6px;
  }
  .qty-btn {
    width: 28px; height: 28px; border-radius: 6px;
    border: 1.5px solid var(--border); background: #fff;
    cursor: pointer; font-size: 1rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
  }
  .qty-btn:hover { border-color: var(--accent); color: var(--accent); }
  .qty-val { font-weight: 700; font-size: .9rem; min-width: 20px; text-align: center; }

  /* ── CART SIDEBAR ─────────────────────────────── */
  .cart-overlay {
    display: none; position: fixed;
    inset: 0; background: rgba(0,0,0,.5);
    z-index: 1999;
  }
  .cart-overlay.open { display: block; }
  .cart-panel {
    position: fixed; right: -420px; top: 0; bottom: 0;
    width: min(420px, 100vw);
    background: #fff; z-index: 2000;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    transition: right .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
  }
  .cart-panel.open { right: 0; }
  .cart-header {
    padding: 20px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
  }
  .cart-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem; font-weight: 700;
  }
  .close-cart {
    background: none; border: none; font-size: 1.4rem;
    cursor: pointer; color: var(--muted); padding: 4px;
  }
  .cart-items { flex: 1; overflow-y: auto; padding: 16px; }
  .cart-empty {
    text-align: center; padding: 48px 20px; color: var(--muted);
  }
  .cart-empty .empty-icon { font-size: 3rem; margin-bottom: 12px; }
  .cart-item {
    display: flex; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid var(--border);
    align-items: flex-start;
  }
  .cart-item-emoji { font-size: 2.2rem; flex-shrink: 0; }
  .cart-item-info { flex: 1; }
  .cart-item-name { font-weight: 600; font-size: .9rem; }
  .cart-item-seller { font-size: .75rem; color: var(--muted); }
  .cart-item-price { font-size: .85rem; color: var(--accent); font-weight: 600; }
  .cart-item-controls {
    display: flex; align-items: center; gap: 6px; margin-top: 6px;
  }
  .remove-btn {
    background: none; border: none; color: #ef4444;
    cursor: pointer; font-size: .75rem; padding: 2px 6px;
    border-radius: 4px; transition: background .2s;
  }
  .remove-btn:hover { background: #fef2f2; }

  .cart-footer { padding: 16px; border-top: 1px solid var(--border); }
  .cart-summary {
    display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px;
  }
  .summary-row {
    display: flex; justify-content: space-between;
    font-size: .875rem; color: var(--muted);
  }
  .summary-row.total {
    font-weight: 700; font-size: 1rem; color: var(--ink);
    border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px;
  }
  .seller-group {
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 8px; padding: 10px; margin-bottom: 10px;
    font-size: .8rem;
  }
  .seller-group h5 {
    font-weight: 700; color: var(--success); margin-bottom: 4px;
    display: flex; align-items: center; gap: 4px;
  }
  .wa-send-btn {
    width: 100%; background: var(--wa); color: #fff;
    border: none; border-radius: 10px; padding: 13px;
    font-size: .95rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; transition: all .2s; margin-bottom: 8px;
  }
  .wa-send-btn:hover { background: #1fba58; transform: translateY(-1px); }
  .wa-icon { font-size: 1.1rem; }

  /* ── MODAL ────────────────────────────────────── */
  .modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 3000;
    align-items: center; justify-content: center;
    padding: 20px;
  }
  .modal-overlay.open { display: flex; }
  .modal {
    background: #fff; border-radius: 16px;
    width: min(560px, 100%); max-height: 90vh;
    overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2);
  }
  .modal-header {
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; background: #fff; z-index: 1;
  }
  .modal-header h3 {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.15rem;
  }
  .modal-body { padding: 24px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .form-group label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
  .form-group input, .form-group textarea, .form-group select {
    border: 1.5px solid var(--border); border-radius: 10px;
    padding: 10px 14px; font-size: .9rem; outline: none;
    transition: border-color .2s; font-family: inherit;
    background: #fff;
  }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent2);
  }
  .form-group textarea { resize: vertical; min-height: 80px; }
  .form-footer {
    padding: 16px 24px; border-top: 1px solid var(--border);
    display: flex; gap: 10px; justify-content: flex-end;
  }
  .btn-cancel {
    background: #f3f4f6; color: var(--ink);
    border: none; border-radius: 10px;
    padding: 10px 20px; font-size: .9rem;
    font-weight: 600; cursor: pointer; transition: background .2s;
  }
  .btn-cancel:hover { background: var(--border); }
  .btn-save {
    background: var(--accent2); color: #fff;
    border: none; border-radius: 10px;
    padding: 10px 20px; font-size: .9rem;
    font-weight: 600; cursor: pointer; transition: all .2s;
  }
  .btn-save:hover { background: #1d4ed8; }

  /* ── JOBS SECTION ─────────────────────────────── */
  .jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
  }
  .job-card {
    background: var(--card); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow);
    transition: transform .2s; border-left: 4px solid var(--accent2);
  }
  .job-card:hover { transform: translateY(-3px); }
  .job-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
  .job-company { font-size: .85rem; font-weight: 600; color: var(--accent2); margin-bottom: 4px; }
  .job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
  .job-tag {
    font-size: .72rem; font-weight: 600;
    background: #eff6ff; color: var(--accent2);
    padding: 3px 9px; border-radius: 99px;
  }
  .job-tag.location { background: #f0fdf4; color: var(--success); }
  .job-tag.salary { background: #fff7ed; color: #ea580c; }
  .job-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }
  .apply-btn {
    margin-top: 14px; background: var(--accent2); color: #fff;
    border: none; border-radius: 8px; padding: 8px 18px;
    font-size: .82rem; font-weight: 600; cursor: pointer;
    transition: all .2s;
  }
  .apply-btn:hover { background: #1d4ed8; }

  /* ── NEWS SECTION ─────────────────────────────── */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  .news-card {
    background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .2s;
  }
  .news-card:hover { transform: translateY(-3px); }
  .news-img {
    width: 100%; height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  }
  .news-body { padding: 16px; }
  .news-cat {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--accent); margin-bottom: 6px;
  }
  .news-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: .95rem; line-height: 1.4; margin-bottom: 8px;
  }
  .news-excerpt { font-size: .8rem; color: var(--muted); line-height: 1.5; }
  .news-footer {
    padding: 10px 16px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between;
    font-size: .75rem; color: var(--muted);
  }

  /* ── TOAST ────────────────────────────────────── */
  .toast-container {
    position: fixed; bottom: 20px; right: 20px;
    z-index: 9999; display: flex; flex-direction: column; gap: 8px;
  }
  .toast {
    background: var(--ink); color: #fff;
    padding: 12px 18px; border-radius: 10px;
    font-size: .85rem; font-weight: 500;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    animation: slideIn .3s ease, fadeOut .3s ease 2.5s forwards;
    display: flex; align-items: center; gap: 8px;
  }
  .toast.success { background: var(--success); }
  .toast.wa { background: var(--wa); }
  @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
  @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

  /* ── SELLER DASHBOARD ─────────────────────────── */
  .dashboard-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 32px;
  }
  .stat-card {
    background: var(--card); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow); text-align: center;
  }
  .stat-value {
    font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent);
  }
  .stat-label { font-size: .78rem; color: var(--muted); margin-top: 4px; }

  .seller-products-table {
    background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    margin-bottom: 24px;
  }
  .table-header {
    padding: 16px 20px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
  }
  .table-header h4 { font-family: 'Syne', sans-serif; font-weight: 700; }
  table { width: 100%; border-collapse: collapse; }
  th { padding: 12px 16px; text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); border-bottom: 1px solid var(--border); background: #fafafa; }
  td { padding: 12px 16px; font-size: .875rem; border-bottom: 1px solid var(--border); }
  tr:last-child td { border-bottom: none; }
  .tbl-actions { display: flex; gap: 6px; }
  .tbl-btn {
    padding: 4px 10px; border-radius: 6px; border: none; cursor: pointer;
    font-size: .75rem; font-weight: 600; transition: all .2s;
  }
  .tbl-btn.edit { background: #eff6ff; color: var(--accent2); }
  .tbl-btn.edit:hover { background: #dbeafe; }
  .tbl-btn.del { background: #fef2f2; color: #ef4444; }
  .tbl-btn.del:hover { background: #fee2e2; }

  /* ── PHP/MYSQL INFO BOX ───────────────────────── */
  .info-box {
    background: #f0f9ff; border: 1.5px solid #bae6fd;
    border-radius: var(--radius); padding: 16px 20px;
    margin-bottom: 24px; font-size: .82rem;
    color: #0369a1; line-height: 1.6;
  }
  .info-box strong { font-weight: 700; display: block; margin-bottom: 4px; }

  .tabs {
    display: flex; gap: 4px; margin-bottom: 24px;
    border-bottom: 2px solid var(--border); padding-bottom: 0;
  }
  .tab-btn {
    padding: 10px 18px; border: none; background: none;
    font-size: .875rem; font-weight: 600; cursor: pointer;
    color: var(--muted); border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: all .2s;
  }
  .tab-btn.active { color: var(--accent2); border-bottom-color: var(--accent2); }

  .wa-preview {
    background: #dcfce7; border-radius: 10px;
    padding: 14px; font-size: .82rem; line-height: 1.6;
    white-space: pre-wrap; font-family: monospace;
    margin-top: 10px; border: 1px solid #bbf7d0;
  }

  @media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    table { font-size: .78rem; }
    td, th { padding: 8px; }
  }
