	

  .search-query-text {
    font-size: 30px;
    margin-bottom: 1rem;
    color: black;
  }

  .search-query {
    font-weight: bold;
    color: #0066cc;
    background-color: yellow;
  }

  .search-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Accordion Styles */
  .accordion-filter {
    width: 100%;
    margin-bottom: 10px;
  }

  .accordion-header {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .accordion-header:hover {
    border-color: #1b6fc3;
    background: #e5e8ea;
  }

  .accordion-header.active {
    border-color: #1b6fc3;
    background: #e3f2fd;
  }

  .accordion-header .fa-chevron-down {
    transition: transform 0.3s ease;
  }

  .accordion-header.active .fa-chevron-down {
    transform: rotate(180deg);
  }

  
  .accordion-content {
    display: none;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
  }

  .accordion-content.show {
    display: block;
    animation: fadeIn 0.2s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .filter-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
  }

  .filter-option:hover {
    background-color: #DBEAFE;
  }

  .filter-option.active {
    background-color: #2a7ccd;
    color: #333;
  }

  .filter-option:last-child {
    border-bottom: none;
  }

  .search-result {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .search-result-title { 
    margin-bottom: 0.5rem;
  }

  .search-result-title a {
    text-decoration: none;
    color: #0066cc;
    font-size: 1.25rem;
    font-weight: 600;
  }

  .search-result-title a:hover {
    text-decoration: none;
    color:#00b3ff;
  }

  .search-result-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
  }

  /*
  .highlight {
    background-color: #f6f864;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: bold;
  }
  */

  .checkbox-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
  }

  .checkbox-option input[type="checkbox"] {
    margin-right: 8px;
  }

  .checkbox-option label {
    cursor: pointer;
    margin: 0;
    flex: 1;
  }

  .apply-inputs-filter, .apply-outputs-filter, .apply-power-supply-filter, .apply-size-filter, .apply-technologies-filter {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 0 0 4px 4px;
    cursor: pointer;
    margin-top: 5px;
  }

  .apply-inputs-filter:hover, .apply-outputs-filter:hover, .apply-power-supply-filter:hover, .apply-size-filter:hover, .apply-technologies-filter:hover {
    background: #0056b3;
  }

  .active-filter {
    background-color: #e3f2fd !important;
    border-color: #2196f3 !important;
    color: #1976d2;
  }

  /* ----- NEW LAYOUT STYLES ----- */

  .filter-sidebar {
    background-color: #f9f9f9;
    border-right: 1px solid #eee;
    padding-right: 25px;
    padding-left: 25px;
    padding-top: 5px;
    min-height: 100vh;
  }

  .filter-sidebar .search-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .filter-sidebar .filter-clear {
    margin-top: 10px;
    width: 100%;
  }

  /* Right-side results */
  #searchResults {
    margin-top: 1rem;
  }

  .btn-lg {
    width: 100%;
    max-width: 250px;
    text-align: left;
  }

  /* === FILTER HEADER (Filters + Clear) === */
  .search-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .filter-container p {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0;
  }

  #clearFilter {
    background: none;
    border: none;
    color: #d00;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    outline: none;
  }

  #clearFilter:hover {
    text-decoration: underline;
    color: #a00;
  }

  .filter-group,
  .filter-container:nth-child(2),
  .filter-container:nth-child(3) {
    margin-top: 1rem;
  }

  /* Search Suggestions Styles */
  .search-suggestions-container {
    position: relative;
    width: 100%;
  }

  .search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .search-suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
  }

  .search-suggestion-item:hover {
    background-color: #f5f5f5;
  }

  .search-suggestion-item:last-child {
    border-bottom: none;
  }

  @media (max-width: 768px) {
    .search-controls {
      flex-direction: column;
      align-items: stretch;
    }

    .filter-container {
      width: 100%;
    }

    .accordion-content {
      width: 100%;
      left: 0;
      right: 0;
      max-height: 300px;
    }

    .search-query-text {
      font-size: 20px;
    }

    .search-query {
      font-weight: bold;
      color: #0066cc;
    }
    
    #clearFilter {
      font-size: 14px;
    }
  }


  /* Responsive: stack filters on top on small screens */
  @media (max-width: 992px) {
    .filter-sidebar {
      border-right: none;
      border-bottom: 1px solid #eee;
      padding-bottom: 1.5rem;
      min-height: auto;
    }

    .filter-sidebar .search-controls {
      flex-direction: column;
      gap: 0.75rem;
    }
  }
  
  #searchform-1 {
    z-index: 99;
  }
 
  .u-dropdown--css-animation {
    z-index: 99 !important;
  }
 
  .hs-mega-menu {
    z-index: 100 !important;
  }
 
  .u-header {
    z-index: 101;
  }
 
  .navbar {
    z-index: 101;
  }

  /* @media (max-width: 600px) {
			.search-container {
				position: relative;

				display: flex;
				right: -48%;

			}
      #searchform-1{
        margin-right: -30px;
      }

		} */



    @media (max-width: 600px) {
    .search-controls {
      flex-direction: row !important;
      align-items: center;
      justify-content: space-between;
    }
 
    .filter-container .row {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
 
    .filter-container .row .col-lg-6 {
      flex: 1;
      padding: 0 !important;
      width: auto;
    }
 
    .filter-container .row .col-lg-6:first-child {
      text-align: left;
      padding-left: 30px !important;
    }
 
    .filter-container .row .col-lg-6:last-child {
      text-align: right;
      padding-left: 120px !important;
    }
 
    #clearFilter {
      white-space: nowrap;
      margin-left: 10px;
    }
  }
  
  
  svg {
			
			fill: #3398dc;
	    margin-bottom: 6px;


		}

		svg:hover {
			fill: #006b94;
		}




		.u-btn-outline-lightblue:hover {
			background-color: #DBEAFE;

		}

    /* Search Suggestions Styles */
    .search-suggestions-container {
      position: relative;
      width: 100%;
    }

    .search-suggestions-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border: 1px solid #ddd;
      border-top: none;
      border-radius: 0 0 4px 4px;
      max-height: 200px;
      overflow-y: auto;
      scrollbar-width: thin;
      z-index: 1000;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .search-suggestion-item {
      padding: 10px 15px;
      cursor: pointer;
      border-bottom: 1px solid #f0f0f0;
      transition: background-color 0.2s;
    }

    .search-suggestion-item:hover {
      background-color: #f5f5f5;
    }

    .search-suggestion-item:last-child {
      border-bottom: none;
    } 

    
/* @media (max-width: 600px) {
			.search-container {
				position: relative;
				margin-inline-end: 5px;
				display: flex;
				right: -49%;

			}

      #searchform-1{
        margin-right: -30px;
        
      }
		} */

   
    /* iPad Portrait (768px to 1023px) */
    @media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
        .search-container {
            position: absolute;
            right: 65px;
            top: 2px;
            z-index: 1001;
        }

        .g-valign-middle.search-container {
            margin-right: 0;
        }

        #searchform-1 {
            position: fixed;
            top: 70px;
            right: 20px;
            width: 300px;
            z-index: 1002;
            margin-right: 50px;
        }

        .search-suggestions-container {
            width: 100%;
        }

        .u-searchform-v1 {
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Adjust header for better search positioning */
        .u-header__section {
            position: relative;
            min-height: 70px;
        }
    }

    /* iPad Landscape (768px to 1023px) */
    @media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
        .search-container {
            position: absolute;
            right: 60px;
            top: 15px;
            z-index: 1001;
        }

        .g-valign-middle.search-container {
            margin-right: 0;
        }

        #searchform-1 {
            position: fixed;
            top: 75px;
            right: 25px;
            width: 320px;
            z-index: 1002;
            margin-right: 0;
        }

        .search-suggestions-container {
            width: 100%;
        }

        .u-searchform-v1 {
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Adjust for landscape navigation */
        .navbar-nav {
            padding-right: 80px;
        }
    }

    /* Larger iPad Pro Screens (1024px to 1366px) */
    @media (min-width: 1024px) and (max-width: 1366px) {
        .search-container {
            position: relative;
            right: 0;
            margin-left: auto;
        }

        #searchform-1 {
            position: absolute;
            top: 100%;
            right: 0;
            width: 350px;
            z-index: 1001;
            margin-right: 0;
        }
    }

    
    


    /* Phone Screens (up to 767px) */
    @media (max-width: 767px) {
        .search-container {
            position: absolute;
            right: 60px;
            top: 1px;
            
        }

       

        #searchform-1 {
             
            top: 35px;
            right: 10px;
            left: 10px;
            
           
        }


        /* Fix for smaller phones */
        @media (max-width: 480px) {
            .search-container {
                right: 60px;
                top: 1px;
            }

            #searchform-1 {
                top: 40px;
                right: 10px;
                left: 10px;
                 
            }
        }

        /* Fix for very small phones */
        @media (max-width: 360px) {
            .search-container {
                right: 60px;
                top: 1px;
            }

            #searchform-1 {
                margin-right: -10px;
               
             
            }
        }
    }

    