/* navbar 1 */
/* Contenedor de búsqueda */
.search-container {
    background-color: #ffffff;
    border-radius: 17px;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    width: 100%;
    height: 43px !important;
    position: relative;
}

/* Input dentro del contenedor */
.custom-search {
    border: none;
    outline: none;
    flex: 1;
    padding: 18px;
    font-size: 16px;
    right: 14px;
    top: 4px;
    height: 36px !important;
    border-radius: 17px;
}

.custom-search:focus {
    outline: none;
    box-shadow: none !important;
}

.btn-search-menu {
    color: #fff;
    background-color: #ff7140 !important;
    border-color: #ff7140 !important;
    width: 43px;
    height: 43px;
    border-radius: 50px !important;
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-search-menu:hover {
    background-color: #ff7140;
    border-color: #ff7140;
}

.custom-img {
    max-width: 254px !important;
    height: 40px !important;
}

.buttons-container {
    display: flex;
    gap: 10px;
    justify-content: right;
    align-items: center;
}

.custom-button-top {
    border-radius: 10px !important;
    width: 140px;
    height: 43px;
    /* height: 50px; */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Asegura que los elementos estén alineados correctamente en pantallas pequeñas */
@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }

    .navbar-container {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        text-align: center;
    }

    .btn-search-menu {
        width: 43px;
        height: 43px;
        top: 49%;
        right: 29%;
    }

    .logo-container,
    .search-container,
    .buttons-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center !important;
        margin-bottom: 15px;
    }

    .custom-search {
        width: 80%;
        font-size: 1.2rem;
        height: calc(1.5em + .75rem + 2px) !important; 
    }

    .buttons-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .custom-button-top {
        font-size: 1rem;
        padding: 8px 12px;
    }
}


/* Ajustes para móviles más pequeños */
@media (max-width: 435px) {
    .navbar-container {
        flex-direction: column;
    }

    .logo-container,
    .search-container,
    .buttons-container {
        text-align: center !important;
        align-items: center !important;
        justify-content: center;
        width: 100%;
    }

    .btn-search-menu {
        right: 20px; 
        top: 50%;
    }
}

.h2-custom {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}