
#psd-product-search-results {
    position: absolute;
    z-index: 1000;
    background: #fff;
    border: 2px solid #ccc; 
border-radius:30px;
    max-height: 800px;
    overflow-y: auto;
    display: none;
    width: 848px!important;
}
input#psd-search-product{
    border: 2px solid #fff; 
    border-radius:30px;
    color:#fff;
    font-weight:700;
}
#psd-product-search-form {
    width: 848px;
    margin-top: 25px;
    margin-left: 45px;
    border: 2px solid;
}

#psd-product-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#psd-product-search-results li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    color: black;
}

#psd-product-search-results li img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#psd-product-search-results li:hover {
    background-color: #f0f0f0;
}

#psd-product-search-results li span {
    flex-grow: 1;
}

#psd-product-search-results li span:last-child {
    font-weight: bold;
    color: #333;
}
.loading-spinner {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #999;
}

.no-results-message {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #999;
}

/* Desktop Styles */
.search-results-container {
    position: absolute;
    width: 300px;
    background: white;
    z-index: 9999;
}




/* Mobile Styles */
@media only screen and (max-width: 768px) {
    #psd-product-search-form {
        width: 325px;
        margin: 10px auto; /* Center the form with smaller margins */
    }
input.psd-search-product.psd-search-productMobile {
    width: 300px;
    border: 2px solid white;
    border-radius: 27px;
}


    #psd-product-search-results {
        width: 100%!important; /* Use full width of the screen */
        max-width: 100%; /* Avoid overflow on smaller screens */
        left: 0; /* Align results container to the left */
        right: 0; /* Extend to the right */
        margin: 0 auto; /* Center the search results on mobile */
/*         position: relative; /* Position relative to its container */ */
    }

    #psd-product-search-results li {
        padding: 8px 10px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Slightly smaller text for better fit */
    }

    #psd-product-search-results li img {
        width: 40px; /* Adjust image size for mobile */
        height: 40px;
    }
input#psd-search-product {
    width: 323px;
    max-width: 340px;
}
}

.psd-search-productBox{
    position: relative;
    
	}
	#psd-product-search-results li bdi{
		margin-left:5px;
	}
.psd-search-productBtn{
	display:none;
}
.psd-search-productMobile{
	display:none;
}
.psd-search-productBox{
	display:block;
}
@media screen and (max-width: 1024px) {
	.psd-search-productBox{
    position: fixed;
    width: 100%;
    top: 0px;
    height: 100vh;
    background: white;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 99999;
		padding:20px;
	}
	.psd-search-productInputBox{
		display:flex;
	}
	/* For modern browsers */
	.psd-search-product{
		color: #000 !important;
	}
.psd-search-product::placeholder {
    color: #000 !important; /* Change this color to your desired placeholder color */
}

/* For Firefox */
.psd-search-product:-moz-placeholder {
    color: #000 !important; /* Change this color to your desired placeholder color */
}

/* For Internet Explorer 10-11 */
.psd-search-product:-ms-input-placeholder {
    color: #000 !important; /* Change this color to your desired placeholder color */
}
	button.psd-search-productBtn{
		padding:0px !important;
		background:transparent !important;
		margin:0px !important;
		display:block;
	}
	#psd-product-search-results li  *{
		font-size:14px !important;
	}

	#psd-product-search-results li a{
		display:flex;
	}
	.psd-search-productMobile{
	display:block;
	 color:#fff;
	border:1px solid #fff;
		
}  
	.psd-search-productMobile::placeholder {
    color: #fff !important; /* Change this color to your desired placeholder color */
}

/* For Firefox */
.psd-search-productMobile:-moz-placeholder {
    color: #fff !important; /* Change this color to your desired placeholder color */
}

/* For Internet Explorer 10-11 */
.psd-search-productMobile:-ms-input-placeholder {
    color: #fff !important; /* Change this color to your desired placeholder color */
}
	.psd-search-productBox{
	display:none;
}
}

#psd-product-search-form{
	position:relative;
	border:none;
}
