
  :root {
    --topbar-h: 74px;
    --sidebar-w: 220px;
    --border: #ddd;
    --bg: #eeeeef;
  }

  /* =========================
     TOPBAR
     ========================= */

  .topbar {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: var(--topbar-h);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    font-family: Arial, sans-serif;
  }

  .topbar a {
    color: #111;
    text-decoration: none;
  }

  .hamb {
    display: none;
    width: 40px;
    height: 60px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    z-index: 2000;
  }

  .brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
  }

  .brand img {
    height: var(--topbar-h);
    width: auto;
    display: block;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 6px;
  }

  .user-mail {
    font-size: 12px;
    color: #666;
  }

  .top-right {
    margin-left: auto;
    font-size: 16px;
  }

  /* =========================
     SIDEBAR
     ========================= */

  #sideMenu.sidebar {
    position: fixed;
    left: 0;
    top: var(--topbar-h);
    height: 99vh;
    width: var(--sidebar-w);
    background: var(--bg);
    border-right: 1px solid var(--border);
    z-index: 1100;
    padding: 10px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    overflow-y: auto;
  }

  #sideMenu.sidebar a {
    display: block;
    padding: 8px 6px;
    border-radius: 8px;
    color: #111;
    text-decoration: none;
  }

  #sideMenu.sidebar a:hover {
    background: #f2f2f2;
  }

  .seller-pending {
    display: block;
    margin: 6px 0;
    padding: 8px 6px;
    border-radius: 8px;
    background: #fff7e6;
    border: 1px solid #f5c26b;
    color: #8a5a00;
    font-size: 13px;
  }

  /* =========================
     SEITENINHALT
     ========================= */

  .page {
    padding-top: var(--topbar-h);
    margin-left: var(--sidebar-w);
  }

  /* =========================
     SUCHFELD
     ========================= */

  .search-wrapper {
    width: 50vw;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 20vw;
    position: fixed;
    top: 10px;
    left: 150px;
    z-index: 2000;
  }

  .search-wrapper span {
    white-space: nowrap;
  }

  .search-form {
    width: 100%;
    max-width: 900px;
  }

  .search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    border: 2px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    overflow: hidden;
    box-sizing: border-box;
  }

  .search-category {
    border: none;
    background: #f5f5f5;
    padding: 12px;
    font-size: 14px;
    outline: none;
    border-right: 1px solid #ddd;
    width: 120px;
  }

  .search-icon {
    padding: 0 12px;
    display: flex;
    align-items: center;
  }

  .search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 12px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
  }

  .search-btn {
    flex-shrink: 0;
    border: none;
    background: #2e7d32;
    color: #fff;
    padding: 0 20px;
    height: 44px;
    cursor: pointer;
    font-size: 15px;
    transition: background .3s;
  }

  .search-btn:hover {
    background: #1b5e20;
  }

  /* Suchvorschläge */

  #suggestionsBox {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 20vw;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    z-index: 99999;
    box-sizing: border-box;
  }

  .suggest-item {
    padding: 8px;
    cursor: pointer;
  }

  .suggest-item:hover {
    background: #eee;
  }

  /* =========================
     KONTO UND WARENKORB
     ========================= */

  .account-cart {
    display: flex;
    align-items: center;
    gap: 1px;
    white-space: nowrap;
  }

  .account-links {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #333;
    margin: 0;
  }

  .account-links a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
  }

  .cart-container {
    display: inline-flex;
    align-items: center;
  }

  .cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2e7d32;
    font-weight: 600;
    padding: 8px 1px;
    border-radius: 30px;
    transition: background .2s ease;
  }

  .cart-link:hover {
    background: rgba(46, 125, 50, .08);
  }

  .cart-icon {
    display: inline-flex;
    align-items: center;
  }

  .cart-icon svg {
    width: 32px;
    height: 32px;
  }

  .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 20px;
  }

  .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 3px;
    box-sizing: border-box;
    background: #e53935;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    z-index: 4100;
  }

  /* =========================
     MOBILE / TABLET
     ========================= */

  @media (max-width: 1000px) {

    .hamb {
      display: flex;
    }

    .page {
      margin-left: 0;
      padding-top: 100px;
    }

    body {
      margin-left: 0 !important;
    }

    .brand {
      height: 30px;
      display: flex;
      align-items: center;
      font-size: 18px;
    }

    .brand img {
      height: calc(var(--topbar-h) - 20px);
      width: auto;
    }

    /* Mobiles Seitenmenü */

    #sideMenu.sidebar {
      padding-top: 70px;
      width: min(var(--sidebar-w), 86vw);
      height: auto;
      top: var(--topbar-h);
      bottom: 0;
      transform: translateX(-105%);
      transition: transform .2s ease;
      z-index: 1100;
      box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    }

    #sideMenu.sidebar.open {
      transform: translateX(0);
    }

    .menu-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      top: var(--topbar-h);
      background: rgba(0, 0, 0, .28);
      z-index: 1050;
    }

    .menu-backdrop.show {
      display: block;
    }

    /* Mobiles Suchfeld */

    .search-wrapper {
      width: 99vw;
      display: flex;
      justify-content: flex-start;
      margin: 0;
      position: fixed;
      left: 0;
      top: 70px;
      z-index: 2000;
    }

    .search-form {
      width: 100%;
      max-width: 500px;
    }

    .search-box {
      width: 100%;
    }

    .search-box input {
      flex: 2;
      width: 50%;
      min-width: 0;
      padding: 12px;
      font-size: 16px;
    }

    .search-btn {
      width: 60px;
      padding: 0;
      height: 44px;
      font-size: 15px;
    }

    .search-category {
      width: 120px;
      flex-shrink: 0;
    }

    #suggestionsBox {
      left: 50px;
      right: 0;
      width: 70vw;
    }

    /* Konto und Warenkorb mobil */

    .account-cart {
      position: fixed;
      top: 17px;
      right: 5px;
      display: flex !important;
      flex-direction: row !important;
      align-items: center;
      gap: 0;
      flex-wrap: nowrap !important;
      width: auto !important;
      z-index: 5000;
    }

    .account-links {
      position: fixed !important;
      left: 230px;
      display: inline-flex !important;
      flex-direction: row !important;
      margin-left: 20px !important;
      width: auto !important;
      flex: 0 0 auto !important;
    }

    .cart-container {
      position: static !important;
      display: inline-flex !important;
      width: auto !important;
      flex: 0 0 auto !important;
    }

    .cart-link {
      position: static !important;
      display: inline-flex !important;
      padding: 5px !important;
    }

    .cart-icon svg {
      width: 30px;
      height: 30px;
    }

    /* Badge auf Mobilgeräten */

    .cart-badge {
      position: relative;
      left: 45px;
      top: -10px;
      right: auto;
      min-width: 0;
      height: auto;
      line-height: normal;
      padding: 1px 7px;
      margin-left: 0;
      margin-right: 30px;
      background: #f00;
      color: #fff;
      border-radius: 999px;
      font-size: 16px;
      font-weight: 700;
      z-index: 4100;
    }
  }


  
