/********** Template CSS **********/
:root {
  --primary: rgb(247, 144, 30);
  --secondary: rgb(252, 179, 22);
  --light: #FFF;
  --dark: rgb(35, 31, 32);
}


body{
font-family: Arial, Helvetica;
font-size: 12px;
color: var(--dark);
background-color: var(--light);

}

.c_card {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin: 3%;
}

.cuerpo {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: center;
width: 90%;
max-width: 1000px;
margin: 0 auto;
margin-top: 20px;
gap: 10px;
text-align: center;
}

.s_categoria {
position: absolute;
width: 100%;
max-width: 200px;
margin: 30px 25px 10px 20px;
padding: 20px;
border-radius: 15px;
border: 2px solid var(--primary);
background-color: #ffffff;
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card {
  width: 280px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card .foto img {
border-radius: 10px;
padding: 10px;
max-width: 250PX;
height: 250PX;
transition: transform 0.3s ease;
}

.card .nombre_pro .titulo {
font-size: 1.2rem;
color: #333;
padding-top: 5px;
}

.card .container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
gap: 5px;
}

.card .precio {
font-size: 1.5rem;
font-weight: bold;
color: #28a745;

}

.card .tventa {
font-size: 1.1rem;
color: #888;
}

.card .icono {
padding: 10px 20px;
background-color: var(--primary);
color: black;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
font-weight: bolder;
}

.card .icono:hover {
background-color: var(--secondary);
transform: scale(1.05);
}

h2.titulo {
  font-size: 12px;
  text-align: center;
  
}

 h2.titulo:hover {
  cursor: pointer;
 }

.dtlle {
  cursor: pointer;
  margin-top:10px;
  margin-left: 5px;
  color: var(--dark);
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 5px ;
  padding-bottom:5px;
}

.dtlle:hover {
  cursor: pointer;
  margin-left: 5px;
  color: var(--primary);
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  
  text-align: center;
  
  padding: 5px 10px;
}


.container {
  padding: 2px 16px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  margin-left: 1%;
  
}

.pagination li {
  margin: 0 5px;
}

.pagination li a {
  display: block;
  padding: 10px 15px;
  color: var(--dark);
  background-color: var(--light);
  border: 1px solid var(--primary);
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.pagination li a:hover {
  background-color: var(--primary);
  color: var(--light);
}

.pagination li a.active {
  background-color: var(--secondary);
  color: var(--light);
  border-color: var(--secondary);
  border: 1px solid var(--primary);
  border-radius: 5px;
}

.active_p {
  background-color: var(--secondary);
  color: var(--light);
  border-color: var(--secondary);
  border: 1px solid var(--primary);
  border-radius: 5px;
}

.pagination li a.disabled {
  background-color: var(--light);
  color: var(--dark);
  border-color: var(--primary);
  cursor: not-allowed;
}

.buscador{
margin: 1rem;
padding: 1rem;
text-align: center;
}

.tbuscador{
  width:25% !important;
  height:40px;
  text-align: left;
  margin-left: 2px;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgb(7, 7, 7);
  }

.buscador-btn{
   width: 140px;
   height: 35px;
   border-radius: 05px;
   margin-left: 10px;
   box-shadow: 2px 2px 5px rgb(7, 7, 7);
}

.btn-primary{
  width: 240px;
  height: 35px;
  background-color:var(--primary);
  color: #fff;
  font-size: 16px;
  border-radius: 05px;
  box-shadow: 2px 2px 5px rgb(7, 7, 7);
}

.btn-shop {

display:block;
width:70px;
height:70px;
color: rgba(255, 255, 255, 0);
position: fixed;
right:20px;
top: 50%;
padding: 2px;
border-radius:50px;
box-shadow: grey 0px 0px 10px;
cursor: pointer;
line-height:80px;
text-align:center;
z-index:999;

}

.categoria{
width: fit-content;
height: 40px;
border-radius: 05px;
margin-left: 10px;
border-color: 1px solid grey;
}

.resultados {
  position: absolute;
  top: 69px;
  left: 270px;
  width: 30%;
  cursor: pointer;
  background-color: white;
  box-shadow: 2px 2px 5px rgb(35, 31, 32);
  
}
.btn-shop:hover {
color: rgba(255, 255, 255, 0); 
box-shadow: rgb(21, 21, 21) 0px 0px 10px;
}

.descuento{
font-size: 23px;;
text-align: left;
color: red;
}
.cali{
float: right;
position: absolute;
padding: 3px;
right: 5px;

}
.cali:hover{
color: var(--primary)
}
.pre_des{
font-size: 19px;;
text-align: left;
color:grey;
}

.precio{
font-size: 20px;;
text-align: left;
color: var(--dark);
text-shadow: #000000;
font-weight: bold;
}

.error{
font-size: 25px;
margin: 1rem;
padding: 1rem;
text-align: center;
color: red;
}

.icono{
width: 190px;
height: 35px;
text-align: center;
padding: 3px;
cursor: pointer;
margin: auto;
border-radius: 05px;
box-shadow: 2px 2px 5px rgb(7, 7, 7);
background-color: var(--primary);
margin-bottom: 10px;
}

.nombre_pro{
min-height: 56px;
max-height: 56px;
font-size: 16px;
margin-top: 5px;
text-align: left;
color: var(--secondary);
margin-left: 5px;
}
.venta{
width: 100%;
height: 40px;
bottom: 0px;
display: flex;
gap: 3px;
align-items: flex-end;
justify-content: flex-end;

}
.cuadro_v{
top:10px;
z-index: 0 !important;
padding: 10px;
display: flex;
flex-direction: column;
grid-template-columns: repeat(
auto-fit,
 minmax(
     150px,
     1fr
    )
);
gap: 5px;
width: 90%;
margin: auto;

}

.cant{
width: 80px;
height: 30px;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
margin-right: 5px;
padding: 4px;
border-radius: 2px;
/* desactivar spinner */

}

.list_cant{
text-align: right;
padding: 3px;
}

.tventa{
font-size: 16px;
margin-top: 10px;
padding-right: 5px;

}

.thanks{
top:30%;
width: 50%;
height: 40%;
margin: 0 auto;
margin-top: -30px;
border: #000000 1px solid;
border-radius: 10px;
box-shadow: 2px 2px 5px rgb(7, 7, 7);
position: relative;
}

.thanks:hover{
box-shadow: 2px 2px 5px rgba(255, 242, 0, 0.922);
}

input[type=number]::-webkit-outer-spin-button, 
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: inner-spin-button !important;
  opacity: 1 !important;
}

.errormsj {
  width: 80%; /* Ajusta según el tamaño deseado */
  height: 200px; /* Ajusta según el tamaño deseado */
  position: relative;
  z-index: 1000; /* Ajusta el valor según el contexto de tu aplicación */
}


@media screen and  (max-width: 1020px) and (orientation: landscape) {

  .cuerpo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    gap: 10px;
    text-align: center;
    }

.s_categoria{
  position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-left: 35px;
margin-right: 15px;
margin-top: 10px;
margin-bottom: 10px;
width: fit-content;
height:fit-content;

}

.btn-whatsapp{
display: none;
} 
.btn-shop{
top: 35%;
}
.resultados {
  position: absolute;
  top: 192px;
  left: 10px;
  width: 82%;
  cursor: pointer;
  background-color: white;
  box-shadow: 2px 2px 5px rgb(35, 31, 32);
  
}
}


@media screen and (max-width: 1020px) {

  .cuerpo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    gap: 10px;
    text-align: center;
    }


.s_categoria{
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 35px;
  margin-right: 25px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: fit-content;
  height:fit-content;
 
}

.categoria{
  width: 100% !important;
  height:40px;
  text-align: left;
  margin-left: 2px;
  margin-bottom: 5px;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgb(7, 7, 7);
}



.buscador-btn{
  width: 100% !important;
  height: 35px;
  border-radius: 05px;
  margin-left: 10px;
  margin-bottom: 5px;
  box-shadow: 2px 2px 5px rgb(7, 7, 7);
  align-items: center;
}

.logo{
  width: 90px;
  height: 90px;
}


input[type=number]::-webkit-outer-spin-button, 
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: textfield !important;
  -moz-appearance: textfield !important;
}


.resultados {
  position: absolute;
  top: 192px;
  left: 10px;
  width: 78%;
  cursor: pointer;
  background-color: white;
  box-shadow: 2px 2px 5px rgb(35, 31, 32);
  
}

}
