:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --switch-bg: #ccc;
}

.dark-theme {
    --bg-color: #1a1a1a;
    --text-color: #6d6c6c;
    --switch-bg: #4d4d4d;
}

body {
    margin: 0;
    font-family: sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}



h1, h2, h3, h4, h5, h6,
p, span, a, li, button {
    color: var(--text-color);
}


.dark-theme body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.dark-theme h1, .dark-theme h2, .dark-theme h3, .dark-theme h4, .dark-theme h5, .dark-theme h6,
.dark-theme p, .dark-theme span, .dark-theme a, .dark-theme li, .dark-theme button {
    color: var(--text-color);
}

li {
    list-style: none;
    display: flex;
    justify-content: center;
   
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.contenedor_tienda {
    width: 100vw;
    height: 123vh;
    padding: 1vh;
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    
}

.main_tienda {
    width: 60%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    
    display: flex;
    flex-direction: column;
}
#producto-en-main{
     border-radius: 5px;
        text-align: center;
        position: relative;
        border: 2px solid rgba(151, 151, 151, 0.5); /* Borde delgado */ 
        
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra alrededor del borde */
    
}

.article_tienda {
    width: 37%;
    height: 99%;
     padding: 0px;
    align-content: center;
    box-sizing: border-box;
    border-radius: 5px;
   display: flex;
   justify-content: start;
   flex-direction: column;
   flex-wrap: nowrap;
        text-align: center;
        position: relative;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra alrededor del borde */
    
  
}

#tituloOfertas{
    width: 100%;
    height: auto;
   /* margin-top: -5%;*/
  padding: 0%;
    
}
#caja_lateral{
    width: 100%;
    
    max-height: 70%;
    max-height: 550rem;
  /*  background-color: yellowgreen; /*/
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 0%;
   /* max-height: fit-content;*/
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-self: auto;
    padding: 0%;
  
  
}

.caja_productos_lateral {
    width: 30%;
    max-height: fit-content;
    /*height: 90%; pendiente para eliminar*/
    margin: 1px;
    height: -webkit-fill-available;
  margin-top: -0rem;
  max-height: fit-content;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra alrededor del borde */
    background-color:#ffffff;
    border: 2px solid rgba(151, 151, 151, 0.5); /* Borde delgado */
    
}

.caja_productos_lateral .producto-info,
.caja_productos_lateral .descripcion,
.caja_productos_lateral .detalles {
    font-size: 0.6em; /* Ajusta este valor según tus necesidades */
}

.caja_productos_lateral .ul_producto-fijos li,
.caja_productos_lateral .ul_detalles_produtos li {
    font-size: 0.6rem; /* Ajusta este valor según tus necesidades */
}


.producto button,
#producto-en-main button {
    background-color: #ffbb00;
    color: rgb(0, 0, 0);
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    margin-bottom: 0px;
    max-width: 6rem;
}

.producto .descripcion,
#producto-en-main .descripcion {
    margin-top: 10px;
  /* text-align: justify; */
    width: 90%;
    border-radius: 5px;
   
}

.producto .detalles,
#producto-en-main .detalles {
   
    margin-top: 10px;
   /* text-align: justify;*/
    display: flex;
    
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color:#f8f8f8 ;
    
    width: 99%;
    border-radius: 5px;
   
}

.producto .detalles span,
#producto-en-main .detalles span {
    display: block;
    margin-bottom: 5px;
    width: 90%;
    border-radius: 5px;
    font-size: large;
    
}

.producto button img,
#producto-en-main button img,
.minifoto-en-producto {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.minifoto-en-producto {
    position: absolute;
    top: 10px;
    right: 10px;
    
}

.producto {
    width: 100%; /*** para cheqiar***/
    height: 100%; /** para elininar**/
    max-height: 300rem;
    margin: 0.2rem;
    margin: auto;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.producto img {
    max-width: 100%;
    max-height: 33rem;
    object-fit: contain;
}

.producto-en-main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
  width: 100%;
  height: 30rem;

   object-fit: contain;
}

.img_producto_mein{
   
  width: 100%;
  height: 20rem;
  
 object-fit: contain;
   /* background-color: ;*/
}

.producto-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   margin-top:1rem;
  
   
}

.producto-info span {
    margin-bottom: 2px;
    display: flex;
    justify-content: center;
    margin-top: 5px;
    background-color:#f8f8f8 ;
  
}





/**** parte de inferior ****/

.producto-inferior {
    width: 12rem;
   /* background-color: #FF9700;*/
   margin-top: 1rem;
    margin: 0.5rem;
  /*  background-color: yellowgreen; */
}



.productoInferior {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra alrededor del borde */
    margin: 1px;
   /* height: 10rem;*/
   height: 21.5rem;
 
    display: flex;
    flex-direction: column;
   /* justify-content: center;*/
    background-color: #f8f8f8;
   /* background-color: aqua;*/
    align-items: center;
    height: 100%;
}

.imgeninferior {
   
    max-width: 100%;
    max-height: 26rem;
    object-fit:contain;
  
}

.producto-info {
 /*  box-sizing: border-box;*/
    /*height: 5rem;*/
   /* width: 99%;*/
   margin-top: 1px;
    border-radius:5px;
    background-color: #ffbb00;
    background-color: #f8f8f8;
}



.descripcion {
    width: 100%;
    height: 6rem;
    box-sizing: border-box;
    width: 90%;
    border-radius: 5px;
    
   
   
}

.descripcionMAIN p{
    margin-top: 1rem;
    height: 5rem;
   /* background-color:;*/
    font-size: 0.9em;
    text-align: center;
    width: 99%;
    border-radius: 5px;
   
    }

    .descripcion{
        display: none;
        height: 5rem;
        width: 100%;
        background-color:#f8f8f8 ;
        margin-top: rem;
        height: 10rem;
        max-height: 1.5rem;
       /* background-color: blue;  */
    }

.descripcion p,
.detalles span,
.producto-info span {
    font-size: 0.7rem; /* Ajusta este valor según tus necesidades */
    width: 100%;
 /*  display: ; */
    box-sizing: border-box;
  /*  padding: 5px;  */
    margin: 1px 0;
    background-color:#f8f8f8;
  /*  background-color: violet;*/
  
}


.producto-info span{
  /*  display: ;*/
}

/*
.detalles span{
   
 
}   */
.detalles{
   
    background-color: #FF9700;
} 

.declaracion_productos{
    display: flex;
    flex-direction: column;
    background-color: blueviolet;
}

.claseIferior {
    height: auto;
}

.caja_producto_inferior {
    height: 3rem;
    
}

.article-inferor {
    margin-top: 15rem;
    width: 100%;
    height: auto;
   /* height: 21rem;*/
    padding: 20px;
   /* background-color: ;*/
    display: flex;
    justify-content: center;
    flex-direction: row;
    border-radius: 5px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra alrededor del borde */
/*background-color: #333333;*/
}

.article-inferor {
    /* Estilos adicionales si es necesario */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra alrededor del borde */
}
.detalles span {
    width: 100%;
    display: none;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
}


.texto_descripcion {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-wrap: break-word;
}

.producto-full-width {
    width: 100%;
    margin: 0;
}

ul.xul, ul.xul li.xli {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.botonCompra {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
   /* margin-top: -5px;*/
   /* padding: 10px;*/
    border-radius: 5px;
}

.botonCompra a {
    text-decoration: none;
    color: white;
}

.botonCompra button {
    background-color: #ffbb00;
   /* background-color: coral;*/
    color: rgb(0, 0, 0);
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    border-radius: 5px;
    margin-bottom: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra alrededor del borde */
}

.botones{
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 5rem;
    
    ;
}

.botonIferior{
    width: 50%;
}

.link_botones{
   text-decoration: none;
   
   
}

/*
.imgeninferior{

}
*/
.imagenDecompra{
    width: 1rem;
    height: 1rem;
    flex: 1 1 auto;
}


.mainMANTENIMIENTOS{
    width: 100%;
   /* height: 100vh; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: auto;

    background-color: #ffbb00;
}

.mainDEmantenimiento{
    width: 50%;
    height: 50%;
}
/**mini carrusel**/

#mini_carrusel{
    margin-top: 2rem;
    width: 99%;
    height: 15rem;
    max-height: 15rem;
   
    max-height: fit-content;
}

.ssliderr{
    width: 100%;
    height: 100px;
    height: 15rem;
    
    max-height: 15rem;
    overflow: hidden;
  }
  .ssliderr ul{
      display: flex;
      animation: cambio 20s infinite alternate linear;
      width: 400%;
  }
  .ssliderr li{
      width: 100%;
      list-style: none;
      max-height: 15rem;
  }
  .ssliderr img{
      width: 60%;
      height: 15rem;
      max-height: 15rem;
      max-height: fit-content;
      object-fit:contain;
  }
  @keyframes cambio{
      0%{margin-left: 0;}
      20%{margin-left: 0;}
      
      25%{margin-left: -100%;}
      45%{margin-left: -100%;}
      
      50%{margin-left: -200%;}
      70%{margin-left: -200%;}
      
      75%{margin-left: -300%;}
      100%{margin-left: -300%;}
  }
  @media only screen and (min-width:320px) and (max-width:768px){
  .ssliderr, .ssliderr ul, .ssliderr img{
      height: 100vh;
    
  }
  }

@media (max-width: 768px) {
    .contenedor_tienda {
        height: auto;
        display: flex;
        justify-content: center;
        
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
      
    }

    .main_tienda {
        width: 90%;
    }

    .article_tienda {
        width: 90%;
    }

    .caja_productos_lateral {
        width: 90%;
    }

   /**mini carrusel**/

#mini_carrusel{
    margin-top: 9%;
   background-color: #FF9700;
    width: 100%;
    height: 5rem;
    height: auto;
   
}

.ssliderr{
    width: 100%;
    height: 100px;
    height: 5rem;
   background-color: #FFFFFF;
    overflow: hidden;
  }
  .ssliderr ul{
      display: flex;
      animation: cambio 20s infinite alternate linear;
      width: 400%;
  }
  .ssliderr li{
      width: 100%;
      list-style: none;
  }
  .ssliderr img{
      width: 100%;
      height: 5rem;
    /*  min-height: 20rem;*/
      
     /* object-fit:contain;*/
     
  }
}
  @keyframes cambio{
      0%{margin-left: 0;}
      20%{margin-left: 0;}
      
      25%{margin-left: -100%;}
      45%{margin-left: -100%;}
      
      50%{margin-left: -200%;}
      70%{margin-left: -200%;}
      
      75%{margin-left: -300%;}
      100%{margin-left: -300%;}
  }
  @media only screen and (min-width:320px) and (max-width:768px){
  .ssliderr, .ssliderr ul, .ssliderr img{
      height: 100vh;
      height: auto;
      height: #FFFFFF;
      
  }
     

    

}

/*** tablet***/

@media (width <= 345px  <=768px){

body{
    height: auto;
}
main{
    width: 100vw;
    height: auto;
}
    .contenedor_tienda {
        width: 99%;
        height: 90%;
      /*  height: ;*/
   
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
        flex-wrap: nowrap;
     
       
    }

    .main_tienda {
        width: 95%;
        height: 70%;
       margin-top: 0.5rem;
        
        box-sizing: border-box;
        border-radius: 5px;
        display: flex ;
        flex-direction: column;
        justify-content: baseline;
    }

    .article_tienda{
        margin-top: 2rem;
        
    }

    #tituloOfertas {
        width: 100%;
        height: auto;
      
        padding: 0%;
    }

  /*  .caja_productos_lateral{
    } */
}


/***movol**/
@media (width <= 344px) {


    header{
        height: auto;
    }
    .contenedor_tienda {
       /* height:;*/
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
       
    }

    .main_tienda {
        width: 95%;
    }

    .article_tienda {
        margin-top: 2rem;
        width: 90%;
        height: 140rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }

    #tituloOfertas {
        width: 100%;
        height: auto;
        margin-top:-1rem ;
        padding: 0%;
    }
   #caja_lateral{
        width: 90%;
       display: flex;
       justify-content: center;
       flex-direction: column;
       flex-wrap: nowrap;
    }

    .caja_productos_lateral {
        width:auto;
       display: flex;
       justify-content: center;
       flex-direction: column;
       flex-wrap: nowrap;
    margin-top: 1rem;
    }

    .article-inferor{
        display: flex;
        justify-content: center;
        flex-direction: column;
        
        flex-wrap: wrap;
      /*  background-color: #01FFB9;*/
    }

    .producto-inferior{
        width: auto;
    }

    .carousel__item img {
        height: 5rem;
    }
/*    .Ccomentari{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
      
    }
*/


#mini_carrusel{
    margin-top: 9%;
   background-color: #FF9700;
    width: 89%;
    height: 15rem;
    height: auto;
}

.ssliderr{
    width: 100%;
    height: 100px;
    
   background-color: #FFFFFF;
    overflow: hidden;
  }
  .ssliderr ul{
      display: flex;
      animation: cambio 20s infinite alternate linear;
      width: 400%;
  }
  .ssliderr li{
      width: 100%;
      list-style: none;
  }
  .ssliderr img{
      width: 100%;
      height: 15rem;
    /*  min-height: 20rem;*/
      
      object-fit:contain;
     
  }
  @keyframes cambio{
      0%{margin-left: 0;}
      20%{margin-left: 0;}
      
      25%{margin-left: -100%;}
      45%{margin-left: -100%;}
      
      50%{margin-left: -200%;}
      70%{margin-left: -200%;}
      
      75%{margin-left: -300%;}
      100%{margin-left: -300%;}
  }
  @media only screen and (min-width:320px) and (max-width:768px){
  .ssliderr, .ssliderr ul, .ssliderr img{
      height: 100vh;
      height: auto;
      background-color: #FFFFFF;
      
  }
  }
  
    


  }
  
/****   commmits ***/

.nonex{
    display: none;
    background-color: #FF9700;

}

.ACajaNavegador{
    display: none;
}
  
