#search-form {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

	
#search-form .search-container {
	position: relative;
}

.cerrar-busqueda {
    display: none;
}	
	
#search-input {
	width: 100%;
	padding: 10px;
	font-size: 14px;
	border: 1px solid #e9e9e9;
	border-radius: 5px;	
    padding-right: 50px;
    outline: none;
}

#suggestions-container {
    position: absolute;
    top: 100%;
    top: 52px;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    padding-top: 5px;
    display: none;
    border-radius: 5px;
    box-shadow: 1px -1px 15px 0px #7087a563;
    max-height: 430px;
    overflow: auto;
    z-index: 1;
}
	
#suggestions-container .titulo-lista {
	font-size: 16px;
}	

.suggestion {
  padding: 10px 6px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;	
}

.suggestion.active {
    background-color: #f4f6f7;
    border-bottom: 1px solid #f4f6f7;
}
	
.suggestion:last-child {
  border-bottom: 0px solid #ccc;	
}	
	
.suggestion img {
  width: 68px;
  height: 50px;
  margin-right: 10px;
}

.suggestion .datos-producto{
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 100%;
}	
	
.suggestion .datos-producto p{
margin: 0px;
}
	
.suggestion .datos-producto p.precio-producto{
	font-weight: 500;
	/*text-align: end;*/
}
	
.suggestion .datos-producto p.precio-producto b{
	font-weight: 300;
	color: #999;
    text-decoration: line-through;
}	

.suggestion .datos-producto .oferta-producto{
    background-color: #4CAF50;
    color: white;
    border-radius: 3px;
    display: inline-flex;
    width: fit-content;
    padding: 0px 7px;
    font-size: 13px;
    font-weight: 500;
    margin: 3px 0px;
    line-height: 20px;
	
	margin-left: 9px;
	font-style: normal;
}	
	
.suggestion span {
	font-size: 14px;
	font-weight: 400;
	color: #666666;
}

#suggestions-container::-webkit-scrollbar {
	width: 14px;
	height:8px;
}
#suggestions-container::-webkit-scrollbar-button {
	width: 8px;
	height:0px;
}
#suggestions-container::-webkit-scrollbar-track {
        background: #ffffff;
        border: thin solid #ffffff;
        box-shadow: 0px 0px 3px #ffffff inset;
        border-radius: 5px;
}
#suggestions-container::-webkit-scrollbar-thumb {
        background: #e2edf1;
        border: 4px solid #ffffff;
        border-radius: 50px;
}
#suggestions-container::-webkit-scrollbar-thumb:hover {
	background:#e2edf1;
}
    
/* Estilos para el botón de búsqueda */
.search-button {
    background-color: #fff;
    color: #000000;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 4px;
}

.search-button:hover {
        background-color: #007fb3;
    color: antiquewhite;
}
    


@media (max-width: 767px){	
#search-form .search-container.abierto {
    position: fixed;
    top: 0px;
    height: 100vh;
    background-color: white;
    width: 100%;
    left: 0px;
    z-index: 10000;
    padding: 10px 25px 25px;
    box-shadow: none;
    max-height: inherit;
    display: block;
    padding-top: 26px;
	
	margin-top: 70px;
}

.search-container.abierto:after {
        content: "Buscador";
        position: absolute;
        height: 72px;
        width: 100%;
        background-color: #007fb3;
        top: -70px;
        left: 0;
        color: white;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 14px;
        line-height: 57px;
        padding-left: 15px;
}
	
.search-container.abierto:before {
	content: "";
	position: absolute;
	height: 30px;
	width: 100%;
	background-color: #ffffff;
	top: -15px;
	left: 0;
	border-radius: 25px;
	z-index: 1;
}		

#suggestions-container {
	/* position: fixed; */
	top: 80px;
	background-color: white;
	width: 100%;
	left: 0px;
	z-index: 10000;
	padding: 10px 25px 25px;
	box-shadow: none;
	max-height: -webkit-fill-available;
	border: 0px;
}
	
.search-container.abierto .cerrar-busqueda {
	display: block;
	position: absolute;
	top: -52px;
	z-index: 1;
	right: 20px;
	color: white;
	
        font-weight: 700;
}	
	
.search-container.abierto  .search-button {
    right: 28px;
}         
    
}
    
.suggestion .suggestion-link {
    display: block; 
    text-decoration: none;
    color: inherit; 
    cursor: pointer; 
    width: 100%; 
    box-sizing: border-box;
}

.suggestion.producto .suggestion-link {
    display: flex; 
    align-items: center;
    gap: 10px; 
}

.suggestion:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.suggestion.active {
    background-color: #e0e0e0;
}    

.search-container .ver-todos-btn {
    padding: 10px;
    display: block;
    margin-top: 10px;
    border-radius: 5px;
    border: solid 1px green;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: green;
} 
    
.search-container .ver-todos-btn:hover {
    background-color: green;
    color: white;
}     
    
    
.search-input-group {
    display: flex; 
    align-items: center; 
    width: 100%;
    /*border: 1px solid #ccc; */
    border-radius: 5px; 
    overflow: hidden; 
}


.search-input {
    flex-grow: 1; 
}