.search-form {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--text-color);
    background-color: var(--text-color);
    height: 4rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.search-form input {
    outline: none;
    font-family: inherit;
    border: none;
    width: 50rem; 
    font-size: 1.4rem;
    padding: 0 2rem;
    color: var(--background-color);
    cursor: text;
}

.search-form .btn-search {
    border: none;
    background-color: var(--primary-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    cursor: pointer;
}

.btn-search i {
    font-size: 2rem;
    color: #ffffff;
}

.toggle-search {
    display: none; 
    background-color: var(--primary-color-dark);
    border: none;
    border-radius: 50%;
    padding: 0.8rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    margin-right: 19px;
    margin-top: 1px;
}

.toggle-search i {
    font-size: 1.7rem;
    color: #fff;
}

.container-hero{
    height: 69px;
}

.container-logo {
    align-items: center;
    display: flex;
    align-content: center;
}

.container-logo h1 a {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bolder;
    font-size: 2.8rem;
}

.container-logo img {
    margin-top: 6px;
}

.suggestions-box {
    position: absolute;
    background: white;
    border-top: none;
    margin-left: 18px;
    width: 484px;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    border-radius: 0px;
    border: 1px solid #e4e3e3;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #e4e3e3;
    font-size: 12px;
}

.suggestion-item:hover {
    background: #f2f2f2;
}

.fa-heart.favorito{
    font-size: 10px;
}

@media (max-width: 480px) {

    .suggestions-box {
        margin-left: -95px;
        margin-top: 20px;
        width: 262px;
    }

    .search-form .btn-search {
        display: none;
    }

    .btn-search i {
        display: none;
    }

    .search-form {
        display: none;
        width: 30rem;
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 77px;
        margin-right: 10px;
    }

    .toggle-search {
        display: block;
    }

    .search-form.show {
        display: flex;
        margin-top: 77px;
    }

}

@media(max-width: 1250px){
    .search-form{
        margin-right: 15px;
    }
    .dropdown-content{
        z-index: 2;
    }
    .nosotros h2 {
        color:#ffffff;
    }
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    margin-left: 15px;
}

.hamburger-menu span {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    background-color: var(--text-color);
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .container-logo {
        justify-content: center;
    }

    .container-user {
        justify-content: flex-end;
        width: 100%;
    }

    .hamburger-menu {
        display: flex;
    }

    .menu {
        display: none;
        flex-direction: column;
        background-color: var(--background-color);
        position: absolute;
        margin-top: 310px;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        z-index: 9;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        text-align: center;
        padding: 1rem 0;
    }

    .menu a:hover {
        color: var(--primary-color-dark);       
    }
}

@media (max-width: 460px) {
    .logo{
        display: none
    }
}


.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

