/*MODIFICACIONES GENERALES*/

*{
    margin: 0;
    padding: 0; 
    user-select: none;
    font-family: fuenteFormatrol;
}


:root{
    --color-grisopaco: rgba(26,26,26,1);
    --color-naranja: rgba(255, 123, 12, 0.7);
    --color-fondo: rgba(208,211,212,1);
}


html{
    scroll-behavior: smooth;
}


body{
    /*background:rgba(252, 162, 40, 0.7)*/
    background-image: linear-gradient(to bottom, rgba(208,211,212,1), rgba(208,211,212,1), rgba(208,211,212,1), rgba(255, 123, 12, 0.5));   
}

@font-face{
    font-family: fuenteFormatrol;
    src: url("../fuentes/FrankRuhlLibre-Regular.ttf");
}










/*ESTILO DE CABECERA - HEADER*/

/*Menú lateral  - sidebar*/

/*Boton de apertura de Sidebar*/
.boton-menu label{
    position: fixed;
    top:80px;
    left:40px;
    font-size: 30px;
    color:#fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.boton-menu label:hover{
    transform: scale(1.1);
    font-weight: bold;
}

.boton-menu label:active{
    color: rgba(235, 152, 78, 1); 
}

/*Bloqueo de scroll y cerrar sidebar por touch*/
.bloquear-scroll{
    overflow: hidden;
}






/*Boton de cierre de Sidebar*/
.cerrarSidebar label{
    position: absolute;
    color: rgba(208,211,212,0.9);
    font-size: 28px;
    right: 3%;
    top: 1%;
    border: solid 1px rgba(208,211,212,0.4);
    padding: 2px 6px;
    cursor: pointer;
    z-index: 990;
}

.cerrarSidebar label:hover{
    font-weight: bold;
    color: #fff;
    border: solid 1px rgba(208,211,212,1);
}

.cerrarSidebar label:active{
    color: rgba(235, 152, 78, 1);
    border: solid 1px rgba(235, 152, 78, 0.5);
}

/*Botón del checkbox*/
#boton-menu{
    display: none;
    z-index: 990;
}

#boton-menu:checked ~ aside{
    opacity: 1;
    visibility:visible;
}


/*Estructura restante del sidebar*/
aside{
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100vh; 
    z-index: 1000;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
}

.sidebar{
    background: linear-gradient(to bottom, rgba(26,26,26,1), rgba(26,26,26,1),  rgb(106, 109, 110, 0.97));
    width: 80%;
    min-width: 200px; 
    max-width: 285px;
    height: 100vh;
    position: fixed;
    transition: transform 0.3s linear;
    transform: translateX(-100%);
    z-index: 999;
}



.sidebar img{
    width: 250px;
    height: auto;
    margin: 30px auto 20px auto;
    display: block;
}



#boton-menu:checked ~ aside img{
    animation: rotacionImgIn  0.5s linear;
}

#boton-menu:not(:checked) ~ aside img{
    animation: rotacionImgOut  0.5s linear;
}


@keyframes rotacionImgIn{
    from{
        transform: rotate(90deg);
    }

    to{ 
        transform: rotate(360deg);
    }
}


@keyframes rotacionImgOut{
    from{
        transform: rotate(360deg);
    }

    to{ 
        transform: rotate(0deg);
    }
}



#boton-menu:checked ~ aside .sidebar{
    transform: translateX(0%);
}


.sidebar nav{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    top: 0px;
    justify-content: center;
}


.sidebar nav a{
    display: block;
    text-decoration: none;
    font-size: 21px;
    font-style: italic; 
    font-weight: 300;
    padding: 27px 12%;
    color: #fff;
    border-left: solid 8px transparent;
}

.sidebar nav a:hover{
    background-color: rgba(208,211,212,0.9);
    color: #000;
    font-weight: bold;
    border-left: solid 8px rgba(255, 123, 12, 0.9);
}








/*Desarrollo de logo y menú*/

.cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2%;
  position: relative;
}

.img{
    position: absolute;
    width: 265px;
    height: 86%;
    left:90px;
    top:8.5%;
}   

header{
    background: rgba(35,35,35,1);
    height:190px;                                                         
    width: 100%;
    position: fixed;
    top:0;
    z-index: 10;
    background-image: linear-gradient(to right, rgba(26,26,26,1), rgba(26,26,26,0.9),  rgb(106, 109, 110, 0.77));
}



.menu {
   position: absolute;
   top:82px;
   right: 100px;
   display: flex;
   gap: 50px;
   display: flex;
}

.menu li a{
    padding-bottom: 8px;
    padding:5px 5px;
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size:22px;
    font-style: italic;
    display: inline-block;
    font-weight: 500;
}


.menu li a:hover{
    border-bottom: solid;
    border-width: 3px;
    border-color: rgba(255, 123, 12, 0.7);
    font-weight: bold;
 }

#noborder{
    border: none;
}



/*Shopping cart*/
.menu .cart {
    cursor: pointer;
    border: none;
    font-weight: 100;
}

.productosheader{
    margin-right: 2px;
}

.boton-info{
    display: none;
}


/*Despligue de Menú de navegación*/

ul, li{
    list-style: none;
}

.subproductos{
    position: absolute;
    display:none;
    border: none;
}

.subproductos li a{
    font-size:20px;
    border: none;
    padding-top: 18px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
    background: rgba(208,211,212,1);
    color: #000;
    width: 130px;
    text-align: center;
    font-weight:600;
    box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.5);
}


#subproductos-cajas li a{
    width: 190px;
}


.subproductos li a:hover{
    background: rgba(235, 152, 78, 1);
    color: #fff;
    border: none;
}


/*Aparición de menús*/
.botonproductos:hover .subproductos{
    display: block;
}

.botoncontacto:hover .subproductos{
    display: block;
}









/*ESTILO DE BANNER - ESTRUCTURA INICIAL*/

.wrapper{
    margin-top: 150px;
}

.banner{
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 200px;
    height: 300px;
    box-shadow:0px 0px 50px 30px rgba(0, 0, 0, 1);
    cursor: default ;
    margin-bottom: 20px;
    /*background: linear-gradient(to left, rgba(26,26,26,1),  rgba(253, 158, 80, 0.6), rgba(26,26,26,1));*/
}


.banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.capa{
    position: absolute;
    width: 100%;
    height:100%;
    top:0;
    left:0;
    background-color:rgba(0, 0, 0, 0.77);
    z-index: 1;
}


.capa h1{
    color: var(--color-fondo);
    position: absolute;
    top: 60%;
    left: 50%;
    font-size: 100px;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    animation:slidedown 0.3s linear;
}

@keyframes slidedown{
    from{
        transform: translate(-50%, -250%);
    }

    to{
        transform: translate(-50%, -60%)
    }
}



/*Botones flotantes*/

.floats{
    position: fixed;
    bottom: 19px;
    right: 20px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    animation: slidefloats 1.5s;
}

@keyframes slidefloats{
    from{
        transform: translateY(-80%);
    }

    to{
        transform: translateY(0);
    }
}

.floats a{
    transition:transform 0.2s ease;
}

.floats a:hover{
    transform: scale(1.1);
}


.floats i{
    color: var(--color-fondo);
    font-size: 47px;    
    text-decoration: none;
    background: linear-gradient(to left bottom, rgba(26,26,26,1), rgba(26,26,26,1),  rgb(106, 109, 110, 1));
    padding: 10px 12px;
    margin-bottom: 15px;
    border-radius: 300px;
    border: solid 3px rgba(255, 123, 12, 0.7);
    font-weight: 100;
}   





/*CONTENIDO PRINCIPAL*/
/*Productos cajas*/
.productos{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 0px;
    padding: 75px;
    max-width: 100%;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.producto{
    margin-bottom: 80px;
    cursor: pointer;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.4);
    transition: 0.2s linear;
}

.producto:hover{
    transform: scale(1.04);
    box-shadow: 0px 1px 15px 5px rgba(0, 0, 0, 0.5);
}


.productos .producto img{
    width: 260px;
    height: 260px;
    aspect-ratio: 1/1;
    display: block;
}


.cont-producto{
    position: relative;
    background: linear-gradient(to bottom, rgba(70, 70, 70, 0.6), rgba(70, 70, 70, 0.3), rgba(106, 109, 110, 0.3), rgba(106, 109, 110, 0.3));
    height: 90px;
    cursor: default;
}

.caracteristicas{
    position: absolute;
    color: rgba(0, 0, 0, 0.7);
    top: 10%;
    left: 30%;
    font-size: 18px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
    font-style: italic;
}


.wppproductos{
    position: absolute;
    text-decoration: none;
    color: rgba(208,211,212,0.9) !important;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    cursor: pointer;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    width: 130px;
    padding: 5px 12px;
    background-image: linear-gradient(to left bottom, rgba(26,26,26,1), rgba(26,26,26,0.6), rgba(26,26,26,0.8), rgba(106, 109, 110, 0.9), rgba(106, 109, 110, 0.77));
    border-radius: 10px;
    box-shadow: 0px 0px 10px 3.5px rgba(0, 0, 0, 0.2);
}





/*Modal para productos*/
.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
    transition: opacity 300ms linear;
    pointer-events: none;
    opacity: 0;
}

.modal.activo{
    opacity: 1;
    pointer-events: all;
}


.modal-cont {
    position: relative; 
    max-width: 90%;
    max-height: 80vh;
}

.img-modal {
    width: 100%;         
    max-width: 600px;    
    height: auto;        
    border-radius: 8px;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 5px 10px;
    cursor: pointer;
}











/*ESTILO DE FOOTER*/

footer{
    position: relative;
    background: linear-gradient(to bottom right, rgba(26,26,26,1), rgba(26,26,26,1),  rgb(106, 109, 110, 0.97));    
    color: #fff;
    width: 100%;
    height: 230px;
    bottom: 0%;
    display: flex;
    justify-content: center;
}

.secciones{
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 10%;
    top: 15%;
    gap: 160px;
}

.seccioncontacto, .seccioninfo, .seccionredes{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.seccioncontacto a, .seccioninfo a, .seccionredes a{
    text-decoration: none;
    color: rgba(231, 235, 218, 0.7);
    font-size: 18px;
    cursor: pointer;
}

.seccioncontacto a:hover, .seccioninfo a:hover, .seccionredes a:hover{
    color: var(--color-naranja);
}


iframe{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    border: solid;
    border-color: rgba(255, 123, 12, 0.9);
    border-width: 15px;
    border-radius: 2px;
}


.mapareal{
position: absolute;
display: block;
object-fit: cover;
width: 700px;
height: 170px;
margin-left:auto;
right: 12.5%;
top:15%;
}  
    
.capamapa{
 position: absolute;
 background-color: rgba(0, 0, 0, 0.4);
 overflow: hidden;
 top:0;
 left: 0;
 z-index:5;
 pointer-events: none;
 width: 100%;
 height: 100%;

}


.seccioncontacto, .seccionredes, .seccioninfo{
    margin-left: -6%;
}














/*AJUSTES DE DISEÑO RESPONSIVE*/

@media (max-width: 1600px) {

    /*header*/
    .sidebar{
        overflow-y: auto;
    }

    /*contenido*/
    .productos{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }


    /*footer*/
    .mapareal{
    right: 9%;
    }

    .secciones{
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 7%;
    top: 15%;
    gap: 100px;
}


}






@media (max-width: 1440px) {

   /*header*/
    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
    .productos{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }


    /*footer*/
    .seccioncontacto, .seccionredes, .seccioninfo{
        margin-left: -5%;
    }

    .mapareal{
        width: 600px;
    }
    

}






@media (max-width: 1280px) {
  /* Ajustes para laptops */

   /*header*/
    .sidebar img{
        width: 225px;
        height: 225px;
        top: 1%;
        left: 10%;
    }


    .sidebar nav a{
        top: 0px;
    }

    .menu{
        gap: 15px;
    }

    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/

    .capa h1{
        font-size: 90px;
    }
     
    .productos{
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }




    /*footer*/
    .seccioncontacto, .seccionredes, .seccioninfo{
        margin-left: -5%;
    }

    .mapareal{
        width: 400px;
    }
    
}






@media (max-width: 1024px) {
  /* Ajustes para tablets */


   /*header*/
    .boton-menu label{
    left:4%;
    }

    .menu{
        gap: 15px;
        right: 5%;
    }

   
    .sidebar nav a{
        top: 0px;
    }


    .sidebar{
        overflow-y: auto;
    }



    /*contenido*/
    .capa h1{
        font-size: 95px;
    }

    .productos{
        grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    }




    /*footer*/
    .secciones{
        gap: 45px;
    }


    .mapareal{
        width: 350px;
        right: 11.5%;
    }
    
}




@media (max-width: 984px) {

   /*header*/
    .menu li a{
        font-size: 19px;
    }

    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
    .capa h1{
        font-size: 90px;
    }
    
     .productos{
        grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    }

  
    


    /*footer*/
     .seccioncontacto, .seccionredes, .seccioninfo{
        margin-left: -5%;
    }

    .mapareal{
        width: 300px;
        right: 11.5%;
    }
    

}





@media (max-width: 869px) {

   
   /*header*/
    .img{
        left: 50%;
        transform: translateX(-50%);
    }

    .botoninicio, .botonproductos, .botoncontacto, .botoninformacion{
        display: none;
    }

    .boton-menu label{
        position: fixed;
        font-size: 40px;
        left: 15%;
    }

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 40px;
        right: 15%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }

    .sidebar{
        overflow-y: auto;
    }

    .sidebar .redes-sidebar:hover{
        background-color: inherit;
        color: #fff;
        font-weight: initial;
        border-left: transparent;
    }

    .boton-info a i:hover{
        border: none;
    }

    .boton-info a i:active{
        color: rgba(235, 152, 78, 1);
    }

    .boton-info a{
        -webkit-tap-highlight-color: transparent;
    }

    .menu .carrito a:hover,
    .menu .boton-info a:hover {
        border-bottom: none;
    }

    

    /*contenido*/
     .capa h1{
        font-size: 80px;
    }

     .productos{
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    }
    
    .producto:hover{
        transform: none;
    }

    .cont-producto a:hover{
        color: rgba(0,0,0,0.8);
    }


    /*footer*/
    .secciones a{
        font-size: 16px;
    }

      .mapareal{
        width: 270px;
        right: 11.5%;
    }

    .secciones a:hover{
        transform: none;
        color: rgba(231, 235, 218, 0.7);
    }

    .floats a:hover{
        transform: inherit;
    }
    
}




@media (max-width: 768px) {
  /* Ajustes para móviles grandes o tablets en vertical */

   /*header*/
    .img{
        left: 50%;
        transform: translateX(-50%);
    }

    .botoninicio, .botonproductos, .botoncontacto, .botoninformacion{
        display: none;
    }

    .boton-menu label{
        position: fixed;
        font-size: 40px;
        left: 15%;
    }

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 40px;
        right: 15%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }


    .sidebar{
        overflow-y: auto;
    }


    

    /*contenido*/
    .capa h1{
        font-size: 70px;
    }
    
     .productos{
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .productos .producto img{
        width: 200px;
        height: 200px;
        aspect-ratio: 1/1;
    }

    .caracteristicas{
        font-size: 15px;
    }

    .wppproductos{
        font-size: 15px;  
    }



    /*footer*/

    .mapareal{
        display: none;
    }


    .secciones{
        left: 47%;
        gap: 50px;
        transform: translateX(-50%);
    }

}






@media (max-width: 588px) {

    /*contenido*/
    .productos{
        grid-template-columns: 1fr;
    }

    .capa h1{
        font-size: 55px;
    }

    .productos .producto img{
        width: 270px;
        height: 270px;
        aspect-ratio: 1/1;
    }

    .caracteristicas{
        font-size: 17px;
    }

    .wppproductos{
        font-size: 17px; 
    }

}






@media (max-width: 490px) {
  /* Ajustes para móviles normales */

   /*header*/
     .img{
        width: 250px;
        height: 82%;
        left: 50%;
        transform: translateX(-50%);
    }

    .boton-menu label{
        position: fixed;
        font-size: 40px;
        left: 5%;
    }

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 40px;
        right: 5%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }

    .sidebar{
        overflow-y: auto;
    }



    /*contenido*/
     .capa h1{
        font-size: 45px;
    }
    
      .productos{
        grid-template-columns: 1fr;
    }

    .productos .producto img{
        width: 230px;
        height: 230px;
        aspect-ratio: 1/1;
    }

    .caracteristicas{
        font-size: 15px;
    }

    .wppproductos{
        font-size: 15px;  
    }

    




    /*footer*/

    .secciones{
        gap: 30px;
        left: 42%;
    }

      .seccioncontacto a, .seccionredes a, .seccioninfo a{
        font-size: 14px;
    }

    
    .floats{
        right: 10px;
    }



    .floats i{
        font-size: 40px;    
    }   


}



@media (max-width: 414px) {

    /*contenido*/
     .capa h1{
        font-size: 40px;
    }
    
}




    

@media (max-width: 360px) {
  /* Ajustes para móviles muy pequeños */

   /*header*/
    .img{
        width: 230px;
        height: 80%;
        left: 50%;
        transform: translateX(-50%);
    }

    .boton-menu label{
        position: fixed;
        font-size: 30px;
        left: 5%;
    }

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 30px;
        right: 5%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }

    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
      .capa h1{
        font-size: 35px;
    }
    
     .productos{
        grid-template-columns: 1fr;
    }

    .productos .producto img{
        width: 210px;
        height: 210px;
        aspect-ratio: 1/1;
    }
    

    


    /*footer*/

    
    .secciones{
        gap: 20px;
        left: 40%;
        top: 20%;
    }

      .seccioncontacto a, .seccionredes a, .seccioninfo a{
        font-size: 12px;
    }

}


