/*==============================================================
    HEADER - ICA REFACCIONES RECUPERADAS
==============================================================*/

header{

    position:sticky;
    top:0;
    z-index:1000;

    background:#ffffff;

    border-bottom:1px solid #ececec;

    box-shadow:0 6px 20px rgba(0,0,0,.05);

}


/*==============================================================
    CONTENEDOR
==============================================================*/

.header-contenido{

    display:flex;

    align-items:center;

    gap:50px;

    min-height:98px;

}


/*==============================================================
    LOGO
==============================================================*/

.logo{

    flex-shrink:0;

}

.logo img{

    width:112px;

    height:auto;

    display:block;

    transition:.30s;

}

.logo:hover img{

    transform:scale(1.04);

}


/*==============================================================
    BUSCADOR
==============================================================*/

.buscador{

    flex:1;

    display:flex;

    align-items:center;

    max-width:900px;

}

.buscador input{

    flex:1;

    height:58px;

    border:none;

    outline:none;

    background:#ffffff;

    padding:0 28px;

    font-size:17px;

    border-radius:40px 0 0 40px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.buscador input::placeholder{

    color:#999;

}

.buscador button{

    width:95px;

    height:58px;

    border:none;

    cursor:pointer;

    background:#FF8A1C;

    color:#fff;

    font-size:20px;

    border-radius:0 40px 40px 0;

    transition:.25s;

}

.buscador button:hover{

    background:#ff7800;

}
/*==============================================================
    MENÚ
==============================================================*/

header nav{

    display:flex;

    align-items:center;

    gap:40px;

    margin-left:auto;

}

header nav a{

    text-decoration:none;

    color:#222;

    font-size:16px;

    font-weight:600;

    position:relative;

    transition:.30s;

    padding:6px 0;

}

header nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-4px;

    width:0;

    height:3px;

    background:#FFD200;

    border-radius:20px;

    transition:.30s;

}

header nav a:hover{

    color:#FF8A1C;

}

header nav a:hover::after{

    width:100%;

}


/*==============================================================
    EFECTO HEADER
==============================================================*/

header{

    transition:all .30s ease;

}


/*==============================================================
    RESPONSIVE
==============================================================*/

@media(max-width:1100px){

    .header-contenido{

        gap:20px;

    }

    .logo img{

        width:95px;

    }

    .buscador{

        max-width:none;

    }

}


@media(max-width:900px){

    .header-contenido{

        flex-wrap:wrap;

        justify-content:center;

        padding:15px 0;

    }

    .logo{

        width:100%;

        text-align:center;

    }

    .logo img{

        margin:auto;

    }

    .buscador{

        width:100%;

        order:3;

    }

    header nav{

        order:2;

        width:100%;

        justify-content:center;

        margin-top:10px;

    }

}


@media(max-width:600px){

    .buscador input{

        height:50px;

        font-size:15px;

        padding:0 18px;

    }

    .buscador button{

        width:65px;

        height:50px;

        font-size:18px;

    }

    header nav{

        gap:20px;

    }

    header nav a{

        font-size:15px;

    }

}