 :root {
    --brand: #1dbf73;
    --ink: #161616;
    --ink-2: #6b7280;
    --surface: #ffffff;
    --btn: #0f1012;
  }

  .hayyat-search-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    /* Removed position: relative from here */
  }

  /* --- MAIN SEARCH BAR STYLES --- */
  .hayyat-search-wrapper .search {
    /* ⭐ CRITICAL FIX: This ensures the suggestions match this width ⭐ */
    position: relative; 
    
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 720px;
    background: var(--surface);
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease, border-radius 0.2s ease;
    z-index: 100; /* Ensure search stays on top */
  }

  /* Optional: Flattens bottom corners when suggestions are open (requires JS toggle) */
  .hayyat-search-wrapper .search.open {
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 0 3px rgba(29, 191, 115, 0.3);
  }

  .hayyat-search-wrapper .search:focus-within {
    box-shadow: 0 0 0 3px rgba(29, 191, 115, 0.3), 0 12px 32px rgba(0, 0, 0, 0.25);
  }

  .hayyat-search-wrapper .search input {
    flex: 1;
    height: 50px;
    font-size: 1rem;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 1rem;
    color: var(--ink);
    border-radius: 14px;
  }

  .hayyat-search-wrapper .search input::placeholder {
    color: var(--ink-2);
  }

  .hayyat-search-wrapper .search button {
    width: 50px;
    height: 50px;
    background: var(--btn);
    color: white;
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
  }

  .hayyat-search-wrapper .search button:hover {
    background: #000;
  }

  .hayyat-search-wrapper .search button:active {
    transform: scale(0.97);
  }

  .hayyat-search-wrapper .search svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
  }

  .hayyat-search-wrapper .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* --- SUGGESTION BOX STYLES --- */
  .hayyat-suggestions {
    list-style: none;
    margin: 0;
    padding: 10px 0 5px 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 99;
    display: none;
    margin-top: -10px;
    padding-top: 15px;
    border-top: 1px solid #d2d2d2;
    overflow-y: auto;
    max-height: 300px;
}

  .hayyat-suggestions li {
    padding: 12px 20px;
    cursor: pointer;
    transition: background .15s ease;
    font-size: 15px;
    color: #161616;
    text-align: left;
  }

  .hayyat-suggestions li:hover {
    background: #FFECB3;
    color: #000000;
}

  @media (max-width: 480px) {
    .hayyat-search-wrapper .search { padding: 0.4rem; }
    .hayyat-search-wrapper .search input { font-size: 0.95rem; padding: 0 0.8rem; }
    .hayyat-search-wrapper .search button { width: 44px; height: 44px; border-radius: 12px; }
    .hayyat-search-wrapper .search svg { width: 20px; height: 20px; }
  }
  
  
  
  /*======================== Instant Links ===============*/
    body{
/*    background-color: green;*/
  }
  .category-buttons-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 960px;
  }

  .category-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, border 0.3s ease;
    width: 100%;
    text-decoration: none;
  }

  .category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    text-decoration: none;
    color: white;
  }

  .category-btn .arrow {
    font-size: 1.1rem;
    margin-left: 0.5rem;
  }

  /* Responsive text adjustments */
  @media (max-width: 480px) {
    .category-btn {
      font-size: 0.9rem;
      padding: 0.65rem 1rem;
    }
  }