

/* HTML */

html {
  scroll-behavior: smooth;
}


/* Boton Flotante */

.boton-flotante {
position: fixed;
bottom: 30px;
right: 20px;
padding: 16px;
border-radius: 50%;
background-color: #002403;
color: #fff;
border: none;
font-size: 30px;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;


}

.boton-flotante.visible {
  color: #EEE5D4;
  transition: color 0.4s ease;
  text-shadow: 0 0 3px #fff, 0 0 2px #EEE5D4;
  opacity: 1;
  pointer-events: auto;
}

.boton-flotante:hover {

  color: #564e24;

}


/* Header Estilos */


header {
  display: flex;
  background-color: #001d02;  
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;    
}

header img {
  width: 5.7rem;
}


nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}


nav {
position: relative;
z-index: 10;
}

main > div:first-child {
pointer-events: none;
position: relative;
z-index: 1;
}




.carritoVacio{
display: none;
position: absolute; 
right: 2rem; 
top: 1.63rem; 
width: 27rem; 
height: 15.7rem; 
background: linear-gradient(
  135deg,
  #f9f5ec 0%,
  #eee5d4 20%,
  #a79e8c 40%,
  #f4eada 60%,
  #cfc2a5 80%,
  #f3ecdf 100%
); 
border-radius:12px; 
overflow: auto; 
z-index: 1000; 
border: 2px solid transparent;
background-clip: border-box; 
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease-in-out; 


flex-direction: column;        

justify-content: center; 
align-items: center;     
text-align: center;


}

.carritoVacio.mostrar {
display: block;
}


.carrito-ventana {
display: none;
position: absolute; 
right: 2rem; 
top: 1.63rem; 
width: 31rem; 
height: 30rem; 
background: linear-gradient(
  135deg,
  #f9f5ec 0%,
  #eee5d4 20%,
  #a79e8c 40%,
  #f4eada 60%,
  #cfc2a5 80%,
  #f3ecdf 100%
); 
border-radius:12px; 
overflow: auto; 
z-index: 1000; 
border: 2px solid transparent; 
background-clip: border-box; 
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.15); /* Sombra que da apariencia de ser "flotante"*/
transition: all 0.3s ease-in-out; 
}



.carrito-ventana.mostrar {
display: block;       
}


.carritoVacio p {


color: #a79e8c; 
font-weight: 900;
font-size: 1.37rem;
font-family: 'Georgia', serif;
text-align: center;
margin: 2rem 0 2.7rem 0;

/* Sombra que da "brillo" */
text-shadow:
  0 0 5px #cfc2a5,
  0 0 10px #eee5d4;

display: flex;
justify-content: center;
align-items: center;
text-align: center;
height: auto; 


}






#titCarrito {
  font-size: 2rem; 
  font-family: 'Cinzel', serif; 
  text-align: center;
  padding: 0.8rem 1.2rem; 

  background: linear-gradient(135deg, 
      #6D2A2A 0%,  
      #5e2323 30%, 
      #7f3838 60%, 
      #6f2d2d 100% 
  );

  color: #fff; 
  
  
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), 0 0 5px rgba(255, 255, 0, 0.3);

  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #7f3838, #6D2A2A, #5e2323) 1;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.2); 
  

  margin: 1rem auto;
  width: 85%; 
  border-radius: 8px; 
}




.contCarrito {
font-size: 1.3rem;
} 





#carrito {
  font-size: 1.9rem;
  position: relative;
  padding-right: 10px;       
  border: none;     
  background: none; 
  cursor: pointer;  
  display: inline-flex;
  align-items: center;
  color: inherit;
   
}

#contadorCarri {
background-color: rgb(224, 30, 69);
color: white;
font-size: 10.9px;
font-weight:lighter;
border-radius: 50%;
padding: 2px 6px;
position: absolute;
top: 2px;
right: 2px;
user-select: none;
}

#contadorCarri:empty {
display: none;
}



nav ul li a, nav ul li button {
  text-decoration: none;
  color: #EEE5D4;
  font-size: 1rem;
  transition: color 0.4s ease;
  margin-left: 10px;
  font-size: 1.25rem;
  text-shadow: 0 0 3px #fff, 0 0 2px #EEE5D4;
  
}

nav ul li a:hover, nav ul li button:hover i {
color: #564e24;
}



header ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-right: 20px;
  color: #EEE5D4;
  font-size: 20px;
}


.cal-sans-regular {
font-family: "Cal Sans", sans-serif;
font-weight: 400;
font-style: normal;
}

@media (max-width: 768px) {
  header {
      flex-direction: column;
      align-items: flex-start;
  }

  nav ul {
      flex-direction: column;
      width: 100%;
      padding-left: 0;
  }

  nav ul li {
      width: 100%;
      padding: 0.5rem 0;
  }
}




/* Main Estilos */



main {
  background: linear-gradient(
      135deg,
      #f9f5ec 0%,
      #eee5d4 20%,
      #a79e8c 40%,
      #f4eada 60%,
      #cfc2a5 80%,
      #f3ecdf 100%
  );



  box-shadow:
  0 3px 6px rgba(0, 0, 0, 0.15),
  inset 0 3px 6px rgba(255, 255, 255, 0.5);
  display: grid;
  color: #2A0E0F;
  grid-template-rows: auto 1fr;
  font-family:Georgia, 'Times New Roman', Times, serif;

}

.seccionProd, .seccionOpin {

  color: #2A0E0F;
  text-align: center;
  font-family:Georgia, 'Times New Roman', Times, serif;
  padding-bottom: 20px;


}

h2{
  font-size: 2rem;
  margin-bottom: 3rem;
  margin-top: 3rem;
  text-shadow:
  1px 1px 0 #ccc,
  2px 2px 4px rgba(131, 14, 14, 0.474);


}



#productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.produc {
  background-color: #2c2b24;
  width: 15rem;
  color: aliceblue;
  border-radius: 10px;
  box-shadow:
  8px 8px 16px rgba(0, 0, 0, 0.15),
  -6px -6px 12px rgba(255, 255, 255, 0.7);
}

.produc img {
  width: 100%;
  background-color: #EEE5D4;
  border-radius:10px
}

.produc .tituloProduc {
padding-top: 1rem;
}

.produc span {
  display: block;
  margin-bottom: 1rem;
  color: #8799f5;
  
}

#precio {
  font-size: 1.23rem;
  color: #EEE5D4;
  font-weight: 900;
  
}



.boton-comprar {
background-color: #001D02;        
color: #EEE5D4;                   
border: 2px solid #56725a;        
padding: 10px 20px;
border-radius: 8px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
margin-bottom: 1rem;
text-shadow: 0 0 3px #fff, 0 0 2px #EEE5D4;
text-decoration: none;
transition:
  background-color 0.3s ease,
  transform 0.2s ease,
  box-shadow 0.3s ease,
  text-shadow 0.3s ease;
  }

.boton-comprar:hover {
background-color: #001D02; 
color: #dfffd6; 
transform: scale(1.05);
box-shadow: 0 0 15px #EEE5D4, 0 0 30px #EEE5D4; 
text-shadow: 0 0 8px #EEE5D4;
}



.resenias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  place-items: center;
}

.resen {
  background-color: #51514d;
  border-radius: 10px;
  color:#EEE5D4 ;
  width: 14rem;
  height: 30rem;
  box-shadow:
  8px 8px 16px rgba(0, 0, 0, 0.15),
  -6px -6px 12px #51514D;


  
}


.resen img {
  width: 100%;
  height: 21rem;
  border-radius: 1rem;
  object-fit: cover;

}

.resen .nombreResen{
padding-top: 1rem;
}

.nombreResen i {
  color: gold;
  
}

.resen .resen-nombre {
font-weight: 900;
}

.resen .resen-fecha {
font-weight: 900;
padding-top: 1rem;
color: rgb(135, 153, 245);
}

.resen p {
margin-top: 1rem;
font-weight: 650;
font-style: italic;
font-size: 0.9rem;
color: #f4eada;
}

form,
form input,
form select,
form textarea,
form button {
font-size: 1 rem;         
padding: 10px 12px;      
margin-bottom: 10px;
text-align: center;

background-color: #001D02;        
color: #EEE5D4;                   
border: 2px solid #56725a;        
border-radius: 8px;
font-weight: bold;
margin-bottom: 1rem;
    
}

form input,
form select,
form textarea,
form button {
cursor: pointer;
}

form button:hover, form select:hover {
background-color: #001D02; 
color: #dfffd6; 
transform: scale(1.05);
box-shadow: 0 0 15px #EEE5D4, 0 0 9px #EEE5D4; 
text-shadow: 0 0 8px #EEE5D4;
}


#contacto {
  
  justify-items: center;
}

.campos {
  margin-bottom: 1rem;
  text-align: right;
  
}

.campos label {
  font-size: 1.7rem;
}

.responsive-iframe {
width: 100%;
aspect-ratio: 16 / 9;
border: 0;
}

textarea {
  border-radius: 5px;
  border: 3px solid #360707b5;
}


#tituloMaps {
  font-size: 1.57rem;
  text-shadow:
  1px 1px 0 #ccc,
  2px 2px 4px rgba(0, 0, 0, 0.3);

}


footer {
background-color: #001d02;
color: #EEE5D4;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
font-family: "Cal Sans", sans-serif;
font-size: 0.9rem;
flex-wrap: wrap;
}

footer nav ul,
.footer-redes ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
gap: 1rem;
}

footer ul li {
margin: 0;
}

footer a {
color: #EEE5D4;
text-decoration: none;
transition: color 0.3s ease;
}

footer a:hover {
color: #ffd700;
}

.footer-redes {
display: flex;
align-items: center;
gap: 1rem;
}

.footer-redes h4 {
margin: 0;
font-size: 1rem;
}

.footer-redes ul {
display: flex;
gap: 1rem;
}

.footer-redes i {
margin-right: 0.3rem;
}

/* Responsive pantalas chicas */
@media (max-width: 600px) {
footer {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

footer nav ul,
.footer-redes ul {
  flex-direction: column;
  gap: 0.5rem;
}
}



.carrito-ventana .conteProduc .producCasiComp .e {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
}





#ventanaCarrito ul {
color: #2A0E0F; 
padding: 0.5rem; 
border-radius: 8px; 
}
#ventanaCarrito ul li {
  padding: 1rem 0; 
  border-bottom: 1px solid #ddd; /* Linea que divide los productos sutil...*/
}

.carrito-ventana:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 12px 32px rgba(0, 0, 0, 0.25); 
border-color: #751623; 
}

#ventanaCarrito ul li:hover {
  background-color:#EFE7D7; 
  cursor: pointer;
}



.producto-imagen {
width: 25%; 
height: 80%; 
object-fit: cover; 
border-radius: 5px;

}


.detalles-producto {
display: flex;
flex-direction: column;
justify-content: flex-start;
gap: 5px;
width: 70%; 
}

/* Botones de cantidad */
.carrito-ventana .conteProduc .producCasiComp .cantidad {
display: flex;
gap: 0.1rem;
align-items: center;
padding-left: 0.2rem;
}

/* Botones + y - */
.cantidad button {
background-color: #001D02;
color: #EEE5D4;
border: 2px solid #EEE5D4;
padding: 0.4rem;
font-size: 0.9rem;
border-radius: 50%;
cursor: pointer;
margin-top: 9px;
margin-left: 0;


}

.cantidad button:hover {
background-color: #EEE5D4;
color: #001D02;
border-color: #001D02;
}





.cantidad span{



 margin-top: 0;
 font-size: 1.5rem;
 background: linear-gradient(

  135deg,
  #f9f5ec 0%,
  #eee5d4 20%,
  #a79e8c 40%,
  #f4eada 60%,
  #cfc2a5 80%,
  #f3ecdf 100%);
 background-clip: text;  /* aplica el gradiente solo al texto */
 color: transparent; /* funciona para que el texto sea transparente, dejando el fondo visible */
 font-weight: bold;
 text-align: center;
 text-shadow:
  1px 1px 0 #ccc,
  2px 2px 4px rgba(0, 0, 0, 0.3);
 min-width: 3rem;

   
}


.detalles-producto div {
  margin-top: 9px;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  
  
  background: linear-gradient(
      135deg,
      #f9f5ec 0%,
      #eee5d4 20%,
      #a79e8c 40%,
      #f4eada 60%,
      #cfc2a5 80%,
      #f3ecdf 100%
  );
  background-clip: text; 
  color: transparent; 
  
  text-shadow: 
      1px 1px 0 #6d2a2a, 
      1px 1px 2px rgba(0, 0, 0, 0.2); 
  
  padding: 8px 20px; 
  border: 5px solid transparent; 
  border-radius: 8px; 
  
  /* aplica el gradiente al borde */
  border-image: linear-gradient(
  135deg,
  #450a0e 0%, 
  #5a1c2b 25%, 
  #6e1b32 50%, 
  #7f1e3b 75%, 
  #450a18 100% 
) 1; 
}

/* estilos para el precio */
.detalles-producto span, .carrito-ventana .conteProduc {
display: flex;
}
.detalles-producto .total {
padding: 0 5px;
}

.detalles-producto span .etiqueta, .detalles-producto span .valor-precio {
font-size: 1.2rem;
font-weight: bold;
color: #002903; 
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}


.detalles-producto .total .etiqueta-total, .detalles-producto .total .valor-total {
font-size: 1.4rem;
font-weight: bold;
color: #f9f5ec; 
background: linear-gradient(135deg, #f9f5ec, #cfc2a5);
background-clip: text;
color: transparent;
text-shadow: 1px 1px 0 #5b4607, 2px 2px 4px rgba(52, 51, 51, 0.5);

}

.botonPapele {
width: 5%;  
margin-left: auto;
border: none;     
background: none;
font-weight: bold;
cursor: pointer;
outline: none; 

}

.botonPapele i {
color: #564e24;
transition: color 0.3s ease;
}

.botonPapele:hover i {
color: #EEE5D4;
}





.carrito-ventana .finalCompra {
display: flex;
border-bottom: 1px solid #ddd;
padding: 0.9rem  1.1rem;
gap: 1.5rem;



}

.carrito-ventana .finalCompraA, .carrito-ventana .finalCompraB
{
display: flex;

font-size: 1rem;
font-weight: bold;
text-shadow: 1px 1px 0 #5b4607, 2px 2px 4px rgba(52, 51, 51, 0.5);
color: #f9f5ec; 
background-clip: text;
align-items: center;  
font-family: "Cal Sans", sans-serif;



}


.carrito-ventana .finalCompraB .signoMasPrecio{
display: flex;
color:#3d3c37a2;
align-items: center;
min-width: 5.61rem;


}

.carrito-ventana .finalCompraA .totalProd ,.carrito-ventana .finalCompraB .totalComp {
padding-right: 1rem;
}


.carrito-ventana .finalCompraA .numTotalProductos, .carrito-ventana .finalCompraB .valorTotalCompra {
font-size: 1.3rem;
font-weight: bold;
text-shadow: 1px 1px 0 #5b4607, 2px 2px 4px rgba(52, 51, 51, 0.5);
color: #3d3c37a2; 
background-clip: text;
}




.carrito-ventana .finalCompra .botonComprarCarri {
background-color: #001D02;
border-radius: 7px;
color: #450a18;
font-family: 'Playfair Display', serif;

transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
margin-left: 0; 
margin-top: 0.3rem;
text-decoration: none;
background: linear-gradient(
      135deg,
      #f9f5ec 0%,
      #eee5d4 20%,
      #a79e8c 40%,
      #f4eada 60%,
      #cfc2a5 80%,
      #f3ecdf 100%
  );
text-shadow: 1px 1px 0 #6d2a2a, 
      1px 1px 2px rgba(0, 0, 0, 0.2);
width: 9rem ;
height: 2rem;  


}

.carrito-ventana .finalCompra .botonComprarCarri:hover {
background-color: #6d2a2a;
color: #EEE5D4;
border-color: #6d2a2a;
cursor: pointer; 
}

.carritoVacio .agregarDesdeLista {
background-color: #001D02;
color: #EEE5D4;
border: 2px solid #EEE5D4;
padding: 0.6rem 1.4rem;
font-size: 1rem;
font-family: 'Playfair Display', serif;
border-radius: 8px; 
letter-spacing: 0.5px;                         
text-transform: uppercase;         
cursor: pointer;  

transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
margin-left: 0; 
margin-top: 0.3rem;
text-decoration: none;
}

.carritoVacio .agregarDesdeLista:hover {
background-color: #EEE5D4;
color: #001D02;
border-color: #001D02;
cursor: pointer; 
}




.carrito-ventana .agregarDesdeLista {
background-color: #001D02;
color: #EEE5D4;
border: 2px solid #EEE5D4;
padding: 0.6rem 1.4rem;
font-size: 0.7rem;
font-family: 'Playfair Display', serif;
border-radius: 8px; 
letter-spacing: 0.5px;                         
text-transform: uppercase;         
cursor: pointer;                 

transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
margin-left: 0; 
margin-top: 0.3rem;
text-decoration: none;
}

.carrito-ventana .agregarDesdeLista:hover {
background-color: #EEE5D4;
color: #001D02;
border-color: #001D02;
cursor: pointer; 
} 


.carrito-ventana .vaciarCarri {
background-color: #6f0303;
color: #EEE5D4;
border: 2px solid #EEE5D4;
padding: 0.6rem 1.4rem;
font-size: 0.7rem;
font-family: 'Playfair Display', serif;
border-radius: 8px;
letter-spacing: 0.5px;
text-transform: uppercase;
cursor: pointer;  

transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
margin-left: 0; 
margin-top: 0.3rem;
text-decoration: none;
}

.carrito-ventana .vaciarCarri:hover {
background-color: #EEE5D4;
color: #001D02;
border-color: #001D02;
cursor: pointer; 
}

.carrito-ventana .botonFinalCarri {
  display:flex;
  justify-content:space-around;
  padding: 1rem 0; 
  border-bottom: 1px solid #ddd;


}





.carrito-ventana .botonFinalCarri {
  display:flex;
  justify-content:space-around;
  padding: 1rem 0; 
  border-bottom: 1px solid #ddd;


}




@media (max-width: 768px) {
.carritoVacio,
.carrito-ventana {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 80vh;
  max-height: 100vh;
  border-radius: 0;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 1000;
}

.carrito-ventana .conteProduc {
  flex-direction: column;
  align-items: stretch;
}

.producto-imagen {
  width: 50%;
  height: auto;
}

.detalles-producto {
  width: 100%;
  text-align: center;
}

.carrito-ventana .finalCompra {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.carrito-ventana .botonFinalCarri {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.cantidad {
  justify-content: center;
}

.botonPapele {
  align-self: center;
}
}


.fondo-oscuro {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5); 
z-index: 999;
display: none;
}

.fondo-oscuro.activo {
display: block;
}