.search-bar {
      position: relative; /* THIS IS ESSENTIAL */
      display: flex;
      align-items: center;
      background: #4a2f0a;
      border-radius: 25px;
      padding: 5px 10px;
      margin: 0.5rem 0;
      width: 100%;
      max-width: 400px;
      transition: all .3s;
      box-shadow: 0 2px 8px rgba(0,0,0,.1);
    }

    .search-bar:focus-within {
      background: #5a310b;
      box-shadow: 0 4px 16px rgba(0,0,0,.2);
    }

    .search-bar input {
      background: transparent;
      border: none;
      outline: none;
      color: #F7E3BA;
      padding: 6px 12px;
      width: 100%;
      font-size: .95rem;
    }

    .search-bar input::placeholder {
      color: #F7E3BA;
      opacity: .7;
    }

    .search-bar .search-btn {
      background: none;
      border: none;
      color: #F7E3BA;
      cursor: pointer;
      padding: 6px;
      font-size: 1.1rem;
      transition: color .3s;
    }

    .search-bar .search-btn:hover {
      color: #fff;
    }

    /* Search Results - NOW positioned relative to .search-bar */
    .search-results {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: 100%;
      max-height: 400px;
      overflow-y: auto;
      background: white;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      z-index: 3;
    }

    .search-results.show {
      display: block;
    }

    .search-result-item {
      display: flex;
      padding: 12px;
      border-bottom: 1px solid #eee;
      cursor: pointer;
      transition: background-color 0.2s;
    }

    .search-result-item:last-child {
      border-bottom: none;
    }

    .search-result-item:hover {
      background-color: #f5f5f5;
    }

    .search-result-item .result-image {
      width: 60px;
      height: 60px;
      object-fit: cover;
      margin-right: 12px;
      border-radius: 4px;
      background: #ddd;
      flex-shrink: 0;
    }

    .search-result-item .result-details {
      flex: 1;
      min-width: 0;
    }

    .search-result-item h4 {
      margin: 0 0 4px 0;
      font-size: 14px;
      color: #333;
      font-weight: 600;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .search-result-item .result-price {
      margin: 0 0 4px 0;
      font-size: 13px;
      color: #0056b3;
      font-weight: 500;
    }

    .search-result-item .result-category {
      margin: 0;
      font-size: 11px;
      color: #666;
    }

    .no-results {
      padding: 20px;
      text-align: center;
      color: #666;
    }