@media only screen and (max-width: 1440px) {
	
    #imagen_bottom{
        min-height: 568px;
    }
}

@media only screen and (max-width: 1350px) {
    
    #tienda_btn span{
        display: none;
    }

    #delivery_btn {
        transform: translateY(8px);
        padding: 8px 10px;
    }

    #delivery_btn span{
        display: none;
    }

    #delivery_btn img{
        margin-left: 0px;
    }

}


@media only screen and (max-width: 1200px) {

    header {
        height: 90px;
    }

    header ul li {
        margin: 0 5px;
    }

    header ul li:last-child {
        margin-right: 10px;
    }

    header nav.m-l-40 {
        margin-left: 10px;
    }

    #logo {
        width: 185px;
    }

    #texto_legal {
        margin-top: 90px;
    }
    
    #imagen_bottom{
        min-height: 425px;
    }
    
    #banner{
        height: 590px;
    }

}

@media only screen and (max-width: 1000px) {

    #texto_legal .text {
        max-width: 94%;
    }

    header {
        height: 75px;
        z-index: 12;
    }

    header nav{
        display: none;
    }

    header nav.m-l-40{
        display: inline-block;
        position: absolute;
        top: 0;
        right: 15px;
        transform: translateY(20px);
    }

    header nav.m-l-40 ul li:first-child{
        display: none;
    }

    #logo {
        width: 145px;
    }

    #texto_legal {
        margin-top: 75px;
    }

    #mobile_button{
        font-weight: 700;
        color: #fff;
        background-color: #8cc15d;
        padding: 7px 15px;
        border-radius: 20px;
        display: inline-block;
        float: right;
        margin-top: 5px;
    }

    #mobile_button img{
        width: 25px;
    }

    #mobile_menu{
        width: 30px;
        height: 30px;
        float: left;
        margin-top: 12px;
    }

    #mobile_menu span{
        width: 100%;
        height: 4px;
        background-color: #03548a;
        display: block;
        margin-bottom: 5px;
    }

    .mobile{
        display: inline-block;
    }

    #mobile_menu_nav{
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #03548a;
        z-index: 11;
        text-align: center;
        font-size: 16px;
        color: #fff;
        transform: translateX(-120%);
        transition: 1s;
    }

    #mobile_menu_nav.active{
        transform: translateX(0%);
    }

    #closemenu{
        font-size: 60px;
        font-weight: 100;
        position: absolute;
        top: 5px;
        right: 15px;
        transform: rotate(45deg); 
        color: #fff; 
        text-decoration: none;      
    }

    .logo_mobile{
        text-align: center;
        padding: 15px 0;
    }

    #mobile_menu_nav ul{
        margin-top: 20px;
    }

    #mobile_menu_nav li{
        padding: 15px 0;
    }

    #mobile_menu_nav a{
        color: #fff;
        text-decoration: none;
    }

    #mobile_menu_nav li#siguenos_btn_mov{
        font-family: 'ColunaRounded';
        font-size: 25px;
        padding-top: 20px;
    }

    #mobile_menu_nav li#siguenos_btn_mov a{
        width: 50px;
        height: 50px;
        background-color: #fff;
        display: inline-block;
        border-radius: 50%;
        text-align: center;
        color: #03548a;
        font-size: 34px;
        line-height: 57px;
        margin: 15px 5px 5px;
    }

    #como_cocinamos .grid3 {
        transform: scale(0.9);
        background-size: 760px;
        height: 340px;
    }

    #como_cocinamos .grid3 div {
        margin-bottom: 30px;
        text-align: left;
    }

    #productos #prev, #productos #next{
        display: none;
    }

    #productos .snap_mobile{
        overflow: auto;
    }

    #productos .grid5:before, #productos .grid5:after{
        display: none;
    }

    #popupvideo video{
        width: 640px;
        height: 360px;
    }

    .otros_productos .grid_4 img {
        width: 120px;
    }

}

@media only screen and (max-width: 700px) {

    #banner {
        height: 650px;
        margin-top: 75px;
        background-position: top left;
        background-image: url(../img/banner_mov.jpg);
    }

    #banner.ios {
    	background-attachment: initial;
        background-position: top center!important;
    }

    #banner div {
        /*top: 38%;*/
        top: 43%;
    }

    #banner h1 {
        font-size: 65px;
    }

    #banner h1 span {
        font-size: 45px;
    }

    #banner h1 span small {
        font-size: 25px;
        display: block;
    }

    #banner h2 {
        font-size: 16px;
        max-width: 200px;
        margin: 0 auto;
        line-height: 22px;
    }

    #banner .subrayado img {
        clip-path: polygon(100% 0, 0 0, 0 100%, 100% 100%);
    }

    header nav.m-l-40 {
        transform: translateY(22px);
    }

    header nav.m-l-40 ul li span{
        display: none;
    }

    header nav.m-l-40 ul #tienda_btn{
        font-weight: 700;
        color: #fff;
        background-color: #8cc15d;
        padding: 11px 8px;
        border-radius: 40px;
    }

    header nav.m-l-40 ul #tienda_btn img {
        transform: translateY(5px);
        width: 25px;
    }

    #logo {
        width: 145px;
        transform: translateX(-15px);
    }

    #conocenos{
        height: 730px;
        background-image: url(../img/banner_mov.jpg);
        mask: url(bg1_mov.svg);
        /*mask-size: 100%;*/
        -webkit-mask: url(../img/bg1_mov.svg);
        /*-webkit-mask-size: 100%;*/
    }

    #conocenos div.text {
        top: 42%;
    }

    #conocenos h1{
        font-size: 45px;
        max-width: 295px;
        margin: 0 auto;
    }

    #conocenos h1 span {
        font-size: 38px;
    }

    #conocenos h1 br{
        display: none;
    }

    #conocenos p{
        max-width: 280px;
        margin: 25px auto 0;
    }

    #conocenos .subrayado {
        text-align: center;
        padding-right: 0px;
    }

    #conocenos .subrayado img{
        clip-path: polygon(100% 0, 0 0, 0 100%, 100% 100%);
        width: 145px;
    }

    #conocenos h2{
        font-size: 25px;
        max-width: 275px;
        margin: 40px auto 0;
        line-height: 32px;
    }

    #conocenos h2 b {
        font-size: 27px;
    }

    #conocenos h2 br{
        /*display: none;*/
    }

    #como_cocinamos{
        mask: url(../img/bg2_mov.svg);
        /*mask-size: 100%;*/
        -webkit-mask: url(../img/bg2_mov.svg);
        /*-webkit-mask-size: 100%;*/
    }

    #como_cocinamos .inside {
       padding-top: 100px;
    }

    #como_cocinamos h1{
        font-size: 38px;
        line-height: 44px;
    }

    #como_cocinamos h1 b{
        font-size: 45px;
    }

    #como_cocinamos p {
        max-width: 85%;
        margin: 25px auto 0;
    }

    #como_cocinamos .grid3 {
        grid-template-columns: 1fr;
        background-image: url(../img/pasos_mov.png);
        height: auto;
        max-width: 320px;
        transform: scale(1);
        background-size: initial;
    }    

    #como_cocinamos .grid3 div {
        padding: 0px;
        margin: 170px auto 0;
        text-align: center;
    }

    #como_cocinamos .grid3 div:nth-child(2) {
        margin: 180px auto 0;
        max-width: 240px;
    }

    #como_cocinamos .grid3 div:last-child {
        margin-bottom: 0px;
    }

    #como_cocinamos .grid3 div:last-child div {
        float: none;
        margin-top: 30px;
        padding: 0px;
        max-width: 280px;
        margin-bottom: 0;
    }

    #como_cocinamos .grid6 {
        grid-template-columns: 1fr 1fr 1fr;
        font-size: 17px;
    }

    #como_cocinamos h2 {
        font-size: 24px;
    }

    #como_cocinamos h2 b {
        font-size: 30px;
    }

    #como_cocinamos .grid6 b {
        font-size: 30px;
    }

    #como_cocinamos .grid6 figure {
        line-height: 19px;
        margin-bottom: 20px;
    }

    #como_cocinamos .grid6 figcaption {
        margin-top: 10px;
    }

    #como_cocinamos .grid6 figure:first-child figcaption, #como_cocinamos .grid6 figure:last-child figcaption {
       line-height: 23px;
    }

    #como_cocinamos h1 b:before {
        width: 127px;
        height: 7px;
        bottom: 2px;
        left: -6px;
    }

    #productos{
       mask: url(../img/bg2_mov.svg);
        /*mask-size: 100%;*/
        -webkit-mask: url(../img/bg2_mov.svg);
        /*-webkit-mask-size: 100%;*/
    }

    #productos h1{
        font-size: 38px;
        max-width: 250px;
        margin: 35px auto 0;
        line-height: 45px;
    }

    #info_producto h3 {
        max-width: 230px;
    }

    #productos h1 span{
        font-size: 45px;
    }

    #productos h1 span.subrayado:before {
        bottom: 0px;
        left: -2px;
        width: 145px;
        background-size: 145px;
        background-repeat: no-repeat;
    }

    #productos .snap_mobile{
        scroll-snap-type: x mandatory;
        overflow: auto;
        position: relative;
    }

    #productos .snap_mobile figure {
        scroll-snap-align: center;
        width: 100vw;
    }

    #productos #prev, #productos #next{
        position: absolute;
        bottom: 220px;
        left: 15px;
        display: block;
    }

    #productos #next{
        right: 15px;
        left: initial;
        transform: rotate(180deg);
        display: block;
    }

    #video{
        mask: url(../img/bg1_mov.svg);
        /*mask-size: 100%;*/
        -webkit-mask: url(../img/bg1_mov.svg);
        /*-webkit-mask-size: 100%;*/
    }


    #video h1{
        font-size: 38px;
        max-width: 250px;
        margin: 35px auto 0;
        line-height: 45px;
    }

    #video h1 span{
        font-size: 45px;
    }

    #video {
        min-height: 520px;
    }

    #video h1 {
        top: 36%;
        transform: translate(-50%, -50%);
    }

    #texto_legal{
        padding: 40px 0 90px;
    }

    #texto_legal h1 {
        font-size: 40px;
    }

    #texto_legal h3 {
        font-size: 18px;
        padding-right: 35px;
        line-height: 23px;
    }

    #texto_legal p {
        font-size: 14px;
        line-height: 20px;
    }

    #texto_legal h2 {
        font-size: 20px;
        margin: 35px auto 25px;
        line-height: 26px;
    }   
    
    #banner.producto h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .arrow{
        left: 5px;
    }

    .arrow span{
        display: none;
    }

    .arrow.prev:before, .arrow.next:after {
        width: 20px;
        height: 40px;
        background-size: cover;
    }

    .arrow.next{
        right: 5px;
    }

    #info_producto .text {
        grid-template-columns: 1fr;
        width: 90%;
        padding-top: 70px;
    }  
    
    .producto_img{
        width: 100%;
        max-width: 340px;
    }

    #info_producto{
       mask: url(../img/bg1_mov.svg);
        /*mask-size: 100%;*/
        -webkit-mask: url(../img/bg1_mov.svg);
        /*-webkit-mask-size: 100%;*/
    }

    #info_producto .logos img{
        max-width: 90%;
    }

    #info_producto .text h2 {
        font-size: 28px;
        margin-top: 25px;
    }

    #info_producto .text h2 span.subrayado {
        font-size: 45px;
    }

    #info_producto .iconos img {
        max-width: 50px;
    }

    #info_producto .iconos {
        margin: 20px 0;
    }

    #imagen_bottom{
        mask: url(../img/bg2_mov.svg);
        /*mask-size: 100%;*/
        -webkit-mask: url(../img/bg2_mov.svg);
       /* -webkit-mask-size: 100%;*/
    }

    #mapa_tiendas{
        background-color: #85bfe0;
        padding-bottom: 120px;
        margin-top: 75px;
    }

    .overflow_tiendas {
        max-height: initial;
        overflow: initial;
    }

    #map {
        height: 300px;
        width: 90%;
        margin: 15px auto;
    }

    #map.hidden{
        display: none;
    }

    #buscador {
        width: 90%;
        margin: 0 auto;
        left: 0%;
        top: 15px;
        position: relative;
    } 

    .mobilemap{
        padding-top: 10px;
    }
    
    .mobilemap img{
        width: 100%;
    }

    footer .grid2 {
        font-size: 38px;
        grid-template-columns: 1fr;
        max-width: 550px;
        padding-top: 60px;
        gap: 25px;
        padding-bottom: 30px;
    }

    #popup{
        box-sizing: border-box;
    }

    #popup .grid8{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    #popup .grid8 figure {
        margin-bottom: 15px;
    }

    #popup .grid8 figure:nth-child(4) {
        border-right: 0;
    }

    footer{
       mask: url(../img/bg1_mov.svg);
        /*mask-size: 100%;*/
        -webkit-mask: url(../img/bg1_mov.svg);
        /*-webkit-mask-size: 100%;*/
    }

    footer .grid2 div.cell:last-child a#tienda_btn {
        font-size: 17px;
        padding: 20px 30px;
    }

    footer .grid2 div.cell:last-child a#tienda_btn img {
        width: 40px;
        transform: translateY(9px);
    }

    footer .volver_btn {
        padding: 80px 0 0;
    }

    footer nav {
        padding: 40px 0 40px;
    }

    footer nav li{
        display: block;
        margin-bottom: 5px;
    }

    .otros_productos .grid_4 {
        grid-template-columns: 1fr 1fr;
        padding: 50px 0 40px;
        gap: 20px;
        width: 90%;
    }

    /*.otros_productos .grid_4 figure:last-child {
        grid-column-start: 1;
        grid-column-end: -1;
    } */   

    .otros_productos .grid_4 img {
        width: 110px;
    }

    .otros_productos .grid_4 a {
        font-size: 22px;
    }

    .otros_productos .grid_4 .atun figcaption span:before {
        right: -26px;
    }

    #popupvideo video{
        width: 300px;
        height: 200px;
    }

    #video video{
        height: 500px;
        top: -40px;
        position: relative;
    }

    #productos .grid5 figure img{
        width: auto;
    }

    #delivery_btn {
        transform: translateY(5px);
        padding: 7px 8px;
    }

    #delivery_btn img{
        height: 25px;
    }

    header nav.m-l-40 ul #tienda_btn {
        padding: 9px 8px;
    }

    header.barcelona  ul{
        transform: translateY(-10px);
    }

    #cookie-modal-content {
        padding: 25px;
        position: absolute;
        top: 80px;
        left: 50%;
        max-width: 600px;
        transform: translate(-50%, 0%);
        background: #eceae5;
        box-sizing: border-box;
        width: 90%;
    }

    #cookie-modal{
        top: 0;
        bottom: initial;
        height: 100vh;
        overflow: auto;
    }


}

@media only screen and (max-width: 500px) {
    
    #texto_legal form div.grid2 {
        grid-template-columns: 1fr;
    }

    #texto_legal form {
        font-size: 14px;
    }

    #texto_legal form select, #texto_legal form input[type="text"] {
        font-size: 14px;
    }

    #texto_legal form div.grid2.p-t-10{
        grid-template-columns: 1fr 1fr;
    }

    #texto_legal form input[type="submit"] {
        margin: 25px auto 0;
    }

}
