   :root {
       --primary: #1a56db;
       --primary-dark: #1e429f;
       --primary-light: #e8f0fe;
       --accent: #00c2ff;
       --dark: #111827;
       --mid: #374151;
       --muted: #6b7280;
       --border: #e5e7eb;
       --bg: #f9fafb;
       --white: #ffffff;
       --success: #10b981;
       --warning: #f59e0b;
       --danger: #ef4444;
   }

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

   body {
       font-family: 'DM Sans', sans-serif;
       background: var(--bg);
       color: var(--dark);
       min-height: 100vh;
   }

   /* ============================= */
   /*         NAVBAR                */
   /* ============================= */
   .navbar {
       position: sticky;
       top: 0;
       left: 0;
       width: 100%;
       z-index: 1000;
       padding: 15px 0;
       background: #fff;
       box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   }

   .nav-container {
       max-width: 1200px;
       margin: auto;
       padding: 0 0px;
       display: flex;
       justify-content: space-between;
       align-items: center;
       position: relative;
   }

   .logo img {
       height: 55px;
       display: block;
   }

   .nav-links a {
       text-decoration: none;
       color: black;
       font-size: 15px;
       font-weight: 500;
       transition: 0.2s;
   }

   .nav-links a:hover {
       color: var(--blue-light);
   }

   .nav-links a.active {
       color: var(--blue-light) !important;
       font-weight: 700;
   }

   .login-btn {
       background: #01328E;
       color: white;
       padding: 8px 39px;
       border-radius: 30px;
       font-size: 14px;
       border: none;
       cursor: pointer;
       margin-left: 122px;
       transition: 0.3s;
   }

   .login-btn:hover {
       background: #08A1DD;
       color: white;
   }

   /* ===== HAMBURGER MENU ===== */
   .menu-toggle {
       display: none;
       flex-direction: column;
       cursor: pointer;
       gap: 5px;
   }

   .menu-toggle span {
       width: 28px;
       height: 3px;
       background: #000;
       border-radius: 5px;
       transition: 0.3s;
   }


   .nav-links {
       display: flex;
       align-items: center;
       gap: 25px;
           margin-left: 50px;

   }

   /* Dropdown */
   .dropdown {
       position: relative;
   }

   .product-btn {
       display: flex;
       align-items: center;
       gap: 6px;
       padding: 9px 25px;
       margin-left: 25px;
       background: #01328E;
       color: #fff !important;
       border-radius: 8px;
       font-weight: 600;
       text-decoration: none;
       transition: .3s;
   }

   .product-btn:hover {
       background: #08A1DD;
       transform: translateY(-2px);
   }

   /* Menu */
   .dropdown-menu {
       position: absolute;
       top: 110%;
       left: 0;
       min-width: 220px;
       background: #fff;
       border-radius: 10px;
       box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
       opacity: 0;
       visibility: hidden;
       transform: translateY(10px);
       transition: .3s;
       overflow: hidden;
       z-index: 999;
   }

   .dropdown-menu a {
       display: block;
       padding: 12px 18px;
       color: #333;
       text-decoration: none;
       transition: .3s;
   }

   .dropdown-menu a:hover {
       background: #f5f5f5;
       color: #01328E;
   }

   .dropdown:hover .dropdown-menu {
       opacity: 1;
       visibility: visible;
       transform: translateY(0);
   }

   /* ===== NAVBAR RESPONSIVE ===== */
   @media (max-width: 1080px) {
       .nav-container {
           flex-direction: row;
       }

       .nav-links {
           gap: 27px;
       }
   }

   @media (max-width: 980px) {
       .menu-toggle {
           display: flex;
       }

       .nav-links {
           position: absolute;
           top: 75px;
           left: 0;
           width: 100%;
           background: white;
           flex-direction: column;
           align-items: center;
           gap: 20px;
           padding: 25px 0;
           opacity: 0;
           visibility: hidden;
           transform: translateY(-10px);
           transition: 0.3s;
       }

       .nav-links.active {
           opacity: 1;
           visibility: visible;
           transform: translateY(0);
       }

       .login-btn {
           margin-left: 0;
       }
   }

   .layout {
       display: flex;
       min-height: calc(100vh - 64px);
   }

   .sidebar {
       width: 240px;
       background: var(--white);
       border-right: 1px solid var(--border);
       padding: 1.5rem 1rem;
       flex-shrink: 0;
   }

   .sidebar-section {
       margin-bottom: 2rem;
   }

   .sidebar-label {
       font-size: 0.7rem;
       font-weight: 700;
       text-transform: uppercase;
       letter-spacing: 1px;
       color: var(--muted);
       margin-bottom: 0.5rem;
       padding-left: 0.75rem;
   }

   .sidebar-item {
       display: flex;
       align-items: center;
       gap: 10px;
       padding: 0.6rem 0.75rem;
       border-radius: 8px;
       cursor: pointer;
       color: var(--mid);
       font-size: 0.875rem;
       font-weight: 500;
       transition: all 0.15s;
       margin-bottom: 2px;
       text-decoration: none;
   }

   .sidebar-item:hover {
       background: var(--bg);
       color: #01328E;
   }

   .sidebar-item.active {
       background: var(--primary-light);
       color: #01328E;
       font-weight: 600;
   }

   .sidebar-item .icon {
       font-size: 1rem;
       width: 20px;
       text-align: center;
   }

   .badge {
       margin-left: auto;
       background: var(--primary);
       color: white;
       font-size: 0.65rem;
       font-weight: 700;
       padding: 1px 7px;
       border-radius: 20px;
   }

   .badge.warn {
       background: var(--warning);
   }

   .badge.muted {
       background: var(--muted);
   }

   .main {
       flex: 1;
       padding: 2rem;
       overflow-x: hidden;
   }

   .page-header {
       display: flex;
       align-items: center;
       justify-content: space-between;
       margin-bottom: 1.5rem;
       gap: 1rem;
       flex-wrap: wrap;
   }

   .page-title {
       font-size: 1.75rem;
       font-weight: 800;
       color: var(--dark);
   }

   .page-subtitle {
       color: var(--muted);
       font-size: 0.875rem;
       margin-top: 2px;
   }

   .header-actions {
       display: flex;
       gap: 0.75rem;
       align-items: center;
       flex-wrap: wrap;
   }

   .btn {
       padding: 0.55rem 1.1rem;
       border-radius: 8px;
       font-family: 'DM Sans', sans-serif;
       font-size: 0.875rem;
       font-weight: 600;
       cursor: pointer;
       transition: all 0.2s;
       border: none;
   }

   .btn-outline {
       background: white;
       border: 1.5px solid var(--border);
       color: var(--mid);
   }

   .btn-outline:hover {
       border-color: var(--primary);
       color: var(--primary);
   }

   .btn-outline:disabled {
       opacity: 0.6;
       cursor: not-allowed;
   }

   .btn-primary {
       background: #01328E;
       color: white;
   }

   .btn-primary:hover {
       background: #08A1DD;
   }

   .btn-danger {
       background: var(--danger);
       color: white;
   }

   .btn-danger:hover {
       background: #dc2626;
   }

   .stats-row {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       gap: 1rem;
       margin-bottom: 1.5rem;
   }

   .stat-card {
       background: var(--white);
       border: 1px solid var(--border);
       border-radius: 12px;
       padding: 1.25rem 1.5rem;
       position: relative;
       overflow: hidden;
       transition: box-shadow 0.2s;
   }

   .stat-card:hover {
       box-shadow: 0 4px 16px rgba(26, 86, 219, 0.08);
   }

   .stat-card::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       height: 3px;
       background: var(--primary);
       border-radius: 12px 12px 0 0;
   }

   .stat-card.warn::before {
       background: var(--warning);
   }

   .stat-card.success::before {
       background: var(--success);
   }

   .stat-card.danger::before {
       background: var(--danger);
   }

   .stat-label {
       font-size: 0.78rem;
       font-weight: 600;
       color: var(--muted);
       text-transform: uppercase;
       letter-spacing: 0.5px;
       margin-bottom: 0.5rem;
   }

   .stat-value {
       font-size: 2rem;
       font-weight: 800;
       color: var(--dark);
       line-height: 1;
   }

   .stat-change {
       font-size: 0.78rem;
       margin-top: 0.4rem;
       color: var(--success);
       font-weight: 500;
   }

   .stat-change.down {
       color: var(--danger);
   }

   .filters-bar {
       display: flex;
       align-items: center;
       gap: 0.75rem;
       margin-bottom: 1.25rem;
       flex-wrap: wrap;
   }

   .search-box {
       display: flex;
       align-items: center;
       gap: 8px;
       background: white;
       border: 1.5px solid var(--border);
       border-radius: 8px;
       padding: 0.5rem 1rem;
       flex: 1;
       max-width: 320px;
       transition: border-color 0.2s;
   }

   .search-box:focus-within {
       border-color: var(--primary);
   }

   .search-box input {
       border: none;
       outline: none;
       font-family: 'DM Sans', sans-serif;
       font-size: 0.875rem;
       color: var(--dark);
       width: 100%;
       background: transparent;
   }

   .search-box input::placeholder {
       color: var(--muted);
   }

   select {
       background: white;
       border: 1.5px solid var(--border);
       border-radius: 8px;
       padding: 0.5rem 0.875rem;
       font-family: 'DM Sans', sans-serif;
       font-size: 0.875rem;
       color: var(--mid);
       cursor: pointer;
       outline: none;
       transition: border-color 0.2s;
   }

   select:focus {
       border-color: var(--primary);
   }

   .filter-chip {
       padding: 0.4rem 0.875rem;
       border-radius: 20px;
       font-size: 0.8rem;
       font-weight: 600;
       cursor: pointer;
       border: 1.5px solid var(--border);
       background: white;
       color: var(--mid);
       transition: all 0.15s;
   }

   .filter-chip.active {
       background: #01328E;
       color: white;
   }

   .table-card {
       background: var(--white);
       border: 1px solid var(--border);
       border-radius: 12px;
       overflow: hidden;
       box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
   }

   table {
       width: 100%;
       border-collapse: collapse;
   }

   thead {
       background: var(--bg);
       border-bottom: 1px solid var(--border);
   }

   th {
       padding: 0.875rem 1.25rem;
       text-align: left;
       font-size: 0.75rem;
       font-weight: 700;
       text-transform: uppercase;
       letter-spacing: 0.5px;
       color: var(--muted);
       white-space: nowrap;
   }

   th input[type="checkbox"],
   td input[type="checkbox"] {
       width: 15px;
       height: 15px;
       cursor: pointer;
       accent-color: var(--primary);
   }

   td {
       padding: 1rem 1.25rem;
       font-size: 0.875rem;
       color: var(--mid);
       border-bottom: 1px solid var(--border);
       vertical-align: middle;
   }

   tr:last-child td {
       border-bottom: none;
   }

   tbody tr {
       transition: background 0.15s;
   }

   tbody tr:hover {
       background: #f0f5ff;
   }

   .product-cell {
       display: flex;
       align-items: center;
       gap: 12px;
   }

   .product-img {
       width: 40px;
       height: 40px;
       border-radius: 8px;
       background: var(--primary-light);
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.2rem;
       flex-shrink: 0;
   }

   .product-name {
       font-weight: 600;
       color: var(--dark);
       font-size: 0.875rem;
   }

   .product-sku {
       font-size: 0.75rem;
       color: var(--muted);
       margin-top: 1px;
   }

   .platform-badge {
       display: inline-flex;
       align-items: center;
       gap: 4px;
       padding: 2px 8px;
       border-radius: 4px;
       font-size: 0.72rem;
       font-weight: 700;
       letter-spacing: 0.3px;
   }

   .platform-tiktok {
       background: #fff0f6;
       color: #e91e8c;
   }

   .platform-amazon {
       background: #fff8e1;
       color: #e67e00;
   }

   .platform-ebay {
       background: #e8f4fd;
       color: #0064d2;
   }

   .platform-etsy {
       background: #fef3eb;
       color: #f1641e;
   }

   .stock-bar-wrap {
       display: flex;
       align-items: center;
       gap: 10px;
   }

   .stock-bar {
       width: 80px;
       height: 6px;
       background: var(--border);
       border-radius: 99px;
       overflow: hidden;
   }

   .stock-fill {
       height: 100%;
       border-radius: 99px;
       background: var(--success);
       transition: width 0.4s;
   }

   .stock-fill.med {
       background: var(--warning);
   }

   .stock-fill.low {
       background: var(--danger);
   }

   .stock-num {
       font-weight: 600;
       color: var(--dark);
       font-size: 0.875rem;
   }

   .status-pill {
       display: inline-flex;
       align-items: center;
       gap: 5px;
       padding: 3px 10px;
       border-radius: 20px;
       font-size: 0.75rem;
       font-weight: 700;
   }

   .status-pill::before {
       content: '';
       width: 6px;
       height: 6px;
       border-radius: 50%;
   }

   .status-active {
       background: #d1fae5;
       color: #065f46;
   }

   .status-active::before {
       background: var(--success);
   }

   .status-low {
       background: #fef3c7;
       color: #92400e;
   }

   .status-low::before {
       background: var(--warning);
   }

   .status-out {
       background: #fee2e2;
       color: #991b1b;
   }

   .status-out::before {
       background: var(--danger);
   }

   .action-btn {
       background: none;
       border: none;
       cursor: pointer;
       color: var(--muted);
       font-size: 1rem;
       padding: 4px 6px;
       border-radius: 6px;
       transition: all 0.15s;
   }

   .action-btn:hover {
       background: var(--bg);
       color: var(--primary);
   }

   .bulk-bar {
       display: none;
       align-items: center;
       justify-content: space-between;
       padding: 0.7rem 1.25rem;
       background: #eef4ff;
       border-bottom: 1px solid var(--border);
       font-size: 0.85rem;
       color: var(--primary-dark);
       font-weight: 600;
   }

   .pagination {
       display: flex;
       align-items: center;
       justify-content: space-between;
       padding: 1rem 1.25rem;
       border-top: 1px solid var(--border);
       background: var(--bg);
   }

   .pagination-info {
       font-size: 0.8rem;
       color: var(--muted);
   }

   .pagination-btns {
       display: flex;
       gap: 4px;
   }

   .page-btn {
       min-width: 32px;
       height: 32px;
       padding: 0 8px;
       border-radius: 6px;
       border: 1.5px solid var(--border);
       background: white;
       font-size: 0.8rem;
       font-weight: 600;
       cursor: pointer;
       color: var(--mid);
       transition: all 0.15s;
       display: flex;
       align-items: center;
       justify-content: center;
   }

   .page-btn:hover:not(:disabled) {
       border-color: var(--primary);
       color: var(--primary);
   }

   .page-btn.active {
       background: var(--primary);
       color: white;
       border-color: var(--primary);
   }

   .page-btn:disabled {
       opacity: 0.4;
       cursor: not-allowed;
   }

   .modal-overlay {
       display: none;
       position: fixed;
       inset: 0;
       background: rgba(0, 0, 0, 0.4);
       z-index: 200;
       align-items: center;
       justify-content: center;
       backdrop-filter: blur(2px);
   }

   .modal-overlay.open {
       display: flex;
   }

   .modal {
       background: white;
       border-radius: 16px;
       padding: 2rem;
       width: 480px;
       max-width: 95vw;
       box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
       animation: modalIn 0.2s ease;
   }

   @keyframes modalIn {
       from {
           transform: translateY(20px);
           opacity: 0;
       }

       to {
           transform: translateY(0);
           opacity: 1;
       }
   }

   .modal-header {
       display: flex;
       align-items: center;
       justify-content: space-between;
       margin-bottom: 1.5rem;
   }

   .modal-title {
       font-family: 'Syne', sans-serif;
       font-size: 1.25rem;
       font-weight: 800;
       color: var(--dark);
   }

   .modal-close {
       background: none;
       border: none;
       font-size: 1.25rem;
       cursor: pointer;
       color: var(--muted);
       padding: 4px;
       border-radius: 6px;
       transition: all 0.15s;
   }

   .modal-close:hover {
       background: var(--bg);
       color: var(--dark);
   }

   .form-group {
       margin-bottom: 1rem;
   }

   .form-label {
       display: block;
       font-size: 0.8rem;
       font-weight: 600;
       color: var(--mid);
       margin-bottom: 0.4rem;
       text-transform: uppercase;
       letter-spacing: 0.3px;
   }

   .form-input {
       width: 100%;
       padding: 0.625rem 0.875rem;
       border: 1.5px solid var(--border);
       border-radius: 8px;
       font-family: 'DM Sans', sans-serif;
       font-size: 0.875rem;
       color: var(--dark);
       outline: none;
       transition: border-color 0.2s;
   }

   .form-input:focus {
       border-color: var(--primary);
   }

   .form-input.field-error {
       border-color: var(--danger);
   }

   .form-row {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 1rem;
   }

   .modal-footer {
       display: flex;
       gap: 0.75rem;
       justify-content: flex-end;
       margin-top: 1.5rem;
   }

   .alert-banner {
       background: #fef3c7;
       border: 1px solid #fcd34d;
       border-radius: 10px;
       padding: 0.875rem 1.25rem;
       display: flex;
       align-items: center;
       gap: 10px;
       margin-bottom: 1.25rem;
       font-size: 0.875rem;
       color: #92400e;
       font-weight: 500;
   }

   .alert-icon {
       font-size: 1.1rem;
   }

   .toast-stack {
       position: fixed;
       top: 80px;
       right: 24px;
       z-index: 500;
       display: flex;
       flex-direction: column;
       gap: 10px;
   }

   .toast {
       background: var(--dark);
       color: white;
       padding: 0.75rem 1.1rem;
       border-radius: 8px;
       font-size: 0.85rem;
       font-weight: 500;
       box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
       display: flex;
       align-items: center;
       gap: 8px;
       animation: toastIn 0.25s ease;
       max-width: 320px;
   }

   .toast.success {
       background: #065f46;
   }

   .toast.danger {
       background: #991b1b;
   }

   @keyframes toastIn {
       from {
           opacity: 0;
           transform: translateY(-8px);
       }

       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   @keyframes fadeUp {
       from {
           opacity: 0;
           transform: translateY(12px);
       }

       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   .stats-row {
       animation: fadeUp 0.4s ease;
   }

   .table-card {
       animation: fadeUp 0.5s ease 0.1s both;
   }

   @media (max-width: 900px) {
       .sidebar {
           display: none;
       }

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