      :root {
        --bg:            #ffffff;
        --surface:       #f7f7f7;
        --surface-2:     #eeeeee;
        --surface-3:     #e4e4e4;
        --border:        #e5e5e5;
        --border-hover:  #cccccc;
        --accent:        #f59e0b;
        --accent-dark:   #d97706;
        --accent-glow:   rgba(245,158,11,0.10);
        --accent-glow2:  rgba(245,158,11,0.20);
        --text-primary:  #0a0a0a;
        --text-secondary:#555555;
        --text-muted:    #aaaaaa;
        --green:         #3fbc62;
        --green-glow:    rgba(63,188,98,0.12);
        --red:           #bf3e3e;
        --blue:          #3b82f6;
        --radius:        10px;
        --radius-lg:     14px;
        --radius-xl:     20px;
        --shadow:        0 4px 32px rgba(0,0,0,0.07);
        --shadow-accent: 0 4px 24px rgba(245,158,11,0.22);
        --shadow-green:  0 4px 20px rgba(63,188,98,0.18);
      }

      *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
      html { scroll-behavior: smooth; }

      body {
        font-family: var(--font-body);
        background-color: var(--bg);
        color: var(--text-primary);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        line-height: 1.6;
        overflow-x: clip;
      }

      /* ── Typography ── */
      .font-display { font-family: var(--font-display); }
      h1, h2, h3, h4 { color: var(--text-primary); }



  .page-wrap { max-width: 1100px; margin: 0 auto; padding: 80px 20px 80px; }
  @media (max-width: 640px) { .page-wrap { padding: 70px 16px 80px; } }

      /* ── Navigation ── */
      .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 200;
        transition: background 0.35s ease, backdrop-filter 0.35s ease,
                    box-shadow 0.35s ease, border-color 0.35s ease,
                    transform 0.35s ease;
      }

      .site-nav.nav-hidden {
        transform: translateY(-100%);
      }

      .site-nav.scrolled {
        background: rgba(255,255,255,0.5);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 2px 24px rgba(0,0,0,0.07);
        border-bottom: 1px solid var(--border);
      }


      .nav-inner {
        max-width: 1440px;
        margin: 0 auto;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .nav-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
      }

      .nav-logo-mark {
        width: 38px;
        height: 38px;
        background: var(--accent);
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
      }

      .nav-logo:hover .nav-logo-mark {
        transform: rotate(-4deg) scale(1.08);
        box-shadow: var(--shadow-accent);
      }

      .nav-logo-mark img { width: 22px; height: 22px; }

      .nav-brand {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.35rem;
        color: var(--text-primary);
        letter-spacing: 0.5px;
        line-height: 1;
      }

      .nav-brand em { color: var(--accent); font-style: normal; }

      .btn-dashboard {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 18px;
        background: transparent;
        border: 1px solid var(--border-hover);
        border-radius: var(--radius);
        color: var(--text-secondary);
        font-family: var(--font-body);
        font-size: 0.875rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
        cursor: pointer;
      }

      .btn-dashboard:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-glow);
      }

      /* ── Main ── */
      main { flex: 1; }

      /* ── Cards ── */
      .card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
      }
      .card:hover { border-color: var(--border-hover); }
      .card-hover:hover {
        border-color: var(--accent);
        box-shadow: var(--shadow-accent);
      }

      /* ── Buttons ── */
      .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 22px;
        background: var(--accent);
        color: var(--color-white);
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 600;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        white-space: nowrap;
      }
      .btn-primary:hover:not(:disabled) {
        background: var(--accent-dark);
      }
      .btn-primary:disabled {
        background: var(--surface-2);
        color: var(--text-muted);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
      }

      .btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 22px;
        background: transparent;
        color: var(--accent);
        border: 1px solid var(--accent);
        border-radius: 50px;
        cursor: pointer;
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        white-space: nowrap;
      }
      .btn-outline:hover {
        background: var(--accent);
        color: var(--color-white);
      }

      /* ── Form Inputs ── */
      .input-field {
        width: 100%;
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        color: var(--text-primary);
        padding: 11px 16px;
        font-family: var(--font-body);
        font-size: 0.9rem;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
      }
      .input-field::placeholder { color: var(--text-muted); }
      .input-field:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-glow);
      }

      /* ── Divider ── */
      .divider { border: none; border-top: 1px solid var(--border); }

      /* ── Footer ── */
      .site-footer {
        background: #fafafa;
        border-top: 1px solid var(--border);
        margin-top: auto;
      }

      .footer-heading {
        font-family: var(--font-display);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--text-muted);
        margin-bottom: 18px;
      }

      .footer-link {
        display: block;
        padding: 3px 0;
        color: var(--text-secondary);
        font-size: 0.875rem;
        text-decoration: none;
        transition: color 0.2s ease;
      }
      .footer-link:hover { color: var(--accent); }

      .social-btn {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--text-secondary);
        font-size: 0.85rem;
        text-decoration: none;
        transition: all 0.2s ease;
      }
      .social-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-glow);
      }

      /* ── Animations ── */
      @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(18px); }
        to   { opacity: 1; transform: translateY(0); }
      }
      @keyframes scaleIn {
        from { opacity: 0; transform: scale(0.93); }
        to   { opacity: 1; transform: scale(1); }
      }

      .animate-in       { animation: fadeInUp 0.45s ease both; }
      .animate-in-d1    { animation: fadeInUp 0.45s 0.05s ease both; }
      .animate-in-d2    { animation: fadeInUp 0.45s 0.10s ease both; }
      .animate-in-d3    { animation: fadeInUp 0.45s 0.15s ease both; }
      .animate-in-d4    { animation: fadeInUp 0.45s 0.20s ease both; }
      .animate-in-d5    { animation: fadeInUp 0.45s 0.25s ease both; }
      .animate-scale-in { animation: scaleIn  0.4s ease both; }

      /* ── Nav plain link ── */
      .nav-link-plain {
        position: relative;
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        color: var(--text-primary);
        text-decoration: none;
        font-family: 'Favorit', Helvetica, Arial, sans-serif;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: color 0.2s ease;
        overflow: hidden;
      }
      .nav-link-plain::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--text-primary);
        transition: width 0.25s ease;
      }
      .nav-link-plain:hover { color: var(--text-primary); }
      .nav-link-plain:hover::after { width: 100%; }

      /* ── Nav search ── */
      .nav-search-wrap {
        position: relative;
        width: 338px;
        max-width: 338px;
        margin-left: 12px;
      }
      .nav-search-wrap i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #111;
        font-size: 1rem;
        pointer-events: none;
      }
      .nav-search-input {
        width: 100%;
        height: 48px;
        background: #f0f0f0;
        border: none;
        border-radius: 50px;
        color: #111;
        padding: 0 16px 0 42px;
        font-family: 'Favorit', Helvetica, Arial, sans-serif;
        font-size: 16px;
        font-weight: 400;
        outline: none;
        transition: background 0.2s ease;
      }
      .nav-search-input::placeholder { color: #555; opacity: 1; }
      .nav-search-input:focus { background: #e8e8e8; }

      /* ── Mobile search overlay ── */
      .mobile-search-overlay {
        display: none;
        position: absolute;
        top: 30px; left: 0; right: 0; bottom: 0;
        background: #ffffff;
        align-items: center;
        gap: 10px;
        padding: 0 16px;
        z-index: 10;
      }
      .mobile-search-overlay.open { display: flex; }
      .mobile-search-input-mob {
        flex: 1;
        width: 100%;
        height: 40px;
        background: #fff;
        border: none;
        border-radius: 50px;
        color: #111;
        padding: 0 48px 0 42px;
        font-family: var(--font-body);
        font-size: 15px;
        outline: none;
      }
      .mobile-search-input-mob::placeholder { color: #555; }
      .mobile-search-btn-icon {
        background: transparent;
        border: none;
        cursor: pointer;
        color: #111;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        flex-shrink: 0;
      }
      /* ── Search backdrop ── */
      #searchBackdrop {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.45);
        z-index: 197;
      }
      /* ── Search suggestions panel ── */
      #mobileSearchResults {
        display: none;
        position: fixed;
        left: 0; right: 0;
        background: #fff;
        z-index: 198;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 16px;
        top:60px;
        max-width: 90%;
        margin: 0 auto;

      }
      .mobile-search-result {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
        color: #111;
        text-decoration: none;
        border-bottom: 1px solid #e5e7eb;
        transition: background 0.15s ease;
      }
      .mobile-search-result:last-child { border-bottom: none; }
      .mobile-search-result:hover { background: #f3f4f6; }

      /* ── Mobile nav actions ── */
      .nav-mobile-actions {
        display: none;
        align-items: center;
        gap: 8px;
      }

      /* ── Mobile menu panel ── */
      .mobile-menu {
        display: none;
        position: fixed;
        top: 64px;
        right: 16px;
        width: 230px;
        background: #ffffff;
        border: 1px solid var(--border-hover);
        border-radius: 20px;
        z-index: 199;
        padding: 8px 0;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 12px 32px rgba(0,0,0,0.12);
        overflow: hidden;
      }
      .mobile-menu.open { display: flex; }
      .mobile-menu-link {
        padding: 13px 20px;
        color: var(--text-primary);
        font-family: var(--font-body);
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid var(--border);
        transition: background 0.15s ease, color 0.15s ease;
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
      }
      .mobile-menu-link:last-child { border-bottom: none; }
      .mobile-menu-link:hover { background: var(--surface-2); color: var(--accent); }

      /* ── Responsive ── */
      @media (max-width: 1200px) {
        .disp-text          { display: none; }
        .mobile-hide        { display: none !important; }
        .nav-search-wrap    { display: none; }
        .nav-mobile-actions { display: flex; }
        .nav-desktop-links  { display: none; }
        #userNavDropdown    { display: none; }
        #makerNavDropdown   { display: none; }

      }

      /* ── Utility ── */
      .text-accent   { color: var(--accent); }
      .text-muted-th { color: var(--text-secondary); }
      .bg-surface    { background: var(--surface); }
      .bg-surface-2  { background: var(--surface-2); }
      .border-th     { border-color: var(--border); }

      /* ── Tailwind fallbacks (in case CDN fails) ── */
      .hidden        { display: none !important; }
      .flex          { display: flex; }
      .flex-wrap     { flex-wrap: wrap; }
      .items-center  { align-items: center; }
      .gap-1         { gap: 0.25rem; }
      .gap-2         { gap: 0.5rem; }
      .gap-3         { gap: 0.75rem; }
      .gap-10        { gap: 2.5rem; }
      .grid          { display: grid; }
      .grid-cols-1   { grid-template-columns: repeat(1, minmax(0, 1fr)); }

      @media (min-width: 768px) {
        .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
      }
