/* Fondo del header superior */
#header .header-top{
    background: #ffe600 !important;
}

/* Eliminar el espacio entre la barra superior y el header */
#header .header-nav {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
}

#header .header-top {
    margin-top: 0 !important;
    border-top: 0 !important;
    padding-top: 0 !important;
}




/* Contenedor derecho */
#header .header-nav .right-nav {
    display: flex;
    align-items: center;
}

/* El buscador ocupa el espacio disponible */
#header .header-nav #search_widget {
    flex: 1;
    display: flex;
}

/* Ancho del buscador */
#header .header-nav #search_widget form {
    width: 85%;
    max-width: 800px;
    min-width: 350px;
    margin: 0;
}

/* Login y carrito permanecen a la derecha */
#header .header-nav #_desktop_user_info,
#header .header-nav #_desktop_cart {
    flex-shrink: 0;
}




/* ===========================
   BUSCADOR
   =========================== */

#header .header-nav .right-nav {
    display: flex;
    align-items: center;
}

#header .header-nav #search_widget {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    padding-left: 0px;
}

#header .header-nav #search_widget form {
    position: relative;
    width: 85%;
    max-width: 800px;
    min-width: 350px;
    height: 42px;
    margin: 0;

    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 3px;      /* <-- menos redondeado */
    box-shadow: none;        /* <-- sin sombra */
    overflow: hidden;
}

/* Campo de texto */
#header .header-nav #search_widget input[type="text"] {
    width: 100%;
    height: 42px;
    border: 0;
    padding: 0 55px 0 15px;
    font-size: 15px;
    color: #333;
    background: transparent;
    outline: none;
}

/* Placeholder */
#header .header-nav #search_widget input::placeholder {
    color: #999;
}

/* Lupa */
#header .header-nav #search_widget .search {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e5e5e5;
    color: #666;
    cursor: pointer;
}

/* Ocultar la X */
#header .header-nav #search_widget .clear {
    display: none;
}

/* Login y carrito */
#header .header-nav #_desktop_user_info,
#header .header-nav #_desktop_cart {
    flex-shrink: 0;
}

#header .header-nav .right-nav {
    margin-left: -20px;
}


/* Mover buscador más hacia la izquierda */
#header .header-nav #search_widget {
    margin-left: -40px !important;
    padding-left: 0 !important;
}
