/* styles.css */
/*
Rojo: #F60F1F
Blanco: #ffffff
Negro: #000000
Gris: #8D8E8D
Gris claro: #ABABAA
*/

body {
  margin: 0;
  font-family: 'Omega Flight', sans-serif;
  background-color: #000000;
  color: #FFFFFF;
}

h1, h2 {
  font-family: 'Michroma', sans-serif;
  color: #F60F1F;
}

header {
  font-family: 'Michroma';
  background-color: #ffffff/*Queda muy bien el #ffffff*/ /*originalA01822*/;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.marca {
  font-family: 'Michroma', sans-serif;
  font-size: 2.5em;
  margin: 0;
  color: #8D8E8D;
}

.marca .letra-d {
  color: #F60F1F;
}

.subtitulo{
  color: #ABABAA;
  margin-left: 0.3em;
}

nav a {
  margin-left: 1rem;
  color: #ABABAA;
  text-decoration: none;
}

nav a:hover {
  color: #F60F1F;
}

.hero {
  background-color:#000000 /* original #8D8E8D*/;
  padding: 4rem 2rem;
  text-align: center;
  color: #000000;
}

.frases {
  font-family: 'Michroma', sans-serif;
  font-size: 2em;
  color: #F60F1F;
  text-align: center;
  animation: escalaSuave 2s ease-in-out infinite alternate;
}

@keyframes escalaSuave{
  transform: {;
    transform: scale(1.0);
  }
  to {
    transform: scale(1.1);
  }
}

/*Carrito*/
.carrito{/*container-icon*/
  position: relative; 
}

.icono-svg{ /*icon-cart*/
  width: 40px;
  height: 40px;
  stroke: #000000;
}

.icono-svg:hover{cursor: pointer;}

.contador-productos {
  position: absolute;
  top:55%;
  right: 0;
  background-color: #8D8E8D;
  color: #ffffff;/*Ver combinaciones*/
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15%;
}

#cuenta-productos{
  font-size: 12px;
}

.carrito-mostrado {/*container-cart-products*/
  position: absolute;
  top: 50px;
  right: 0;
  width: 400px;
  z-index: 1;
  box-shadow: 0 10px 20px #000000;/*Probar también el rojo #F60F1F*/
  border-radius: 10px;
}

.carrito-hidden{          /*hidden-cart*/
  display: none;
}

.carrito-productos{/*cart-products*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid #8D8E8D;/*Línea de separación entre la lista y el total*/
}

.info-carrito{
  background-color: black;/*le puse para resaltar lo que hay que arreglar*/
  display: flex;
  justify-content: space-between;
  flex: 0.8;
}

.cantidad-productos{
  font-weight: 400;
  font-size: 12px;
}

.titulo-producto-car{/*ARREGLAR QUE QUEDA MÁS ABAJO QUE LOS OTROS*/
  font-size: 12px;
}

.precio-producto-carrito{
  font-weight: 500;
  font-size: 12px;
  margin-left: 10px;
}

.icono-cerrar{
  width: 25px;
  height: 25px;
}
.icono-cerrar:hover{
  stroke: #F60F1F;
  cursor: pointer;
}

.total-carrito{
  display: flex;
  justify-content: left;/*yo decidí así*/
  align-items: center;
  padding: 20px 0;/*20 arriba y abajo y 0 izquierda-derecha*/
  gap: 20px;
  /*background-color: #8D8E8D; /*idea mía*/
}

.total-carrito h3{
  font-size: 15px;
  font-weight: 700;
}

.total-pagar{
  font-size: 20px;
  font-weight: 900;
}

.cart-empty{
  padding: 20px;
  text-align: center;
}

.hidden{
  display: none;
}

/*Fin del carrito*/

section {
  padding: 2rem;
  border-bottom: 1px solid #ABABAA;
}

.productos {
  padding: 2rem;
  background-color: #ababaa;/*#F5F5F5*/
}

.titulo-seccion {
  font-family: 'Michroma', sans-serif;
  color: #F60F1F/* Original#A01822*/;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tarjeta-producto {
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.tarjeta-producto:hover {
  transform: scale(1.03);
}

.tarjeta-producto img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tarjeta-producto .contenido {
  padding: 1rem;
}

.tarjeta-producto h3 {
  margin: 0;
  color: #F60F1F;
  font-size: 1.2rem;
}

.tarjeta-producto p {
  color: #666;
  font-size: 0.95rem;
}

.tarjeta-producto li {
  color: #8D8E8D;
  font-family: 'Michroma', sans-serif;
}
/*Fin de las tarjeta-producto*/

/*Inicio de la tienda*/
.tienda{                        /*<--container-items*/
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background-color: #ababaa;
}

.item{
  border-radius: 10px;
}

.item:hover{
  box-shadow: 0 10px 20px #8D8E8D;

}

img{
  max-width: 100%;
}

.item img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;/*mmm no me gusta mucho este*/
  transition: all 0.5s;
}

.item figure{overflow: hidden;}
.item:hover img{transform: scale(1.2);}

.info-producto{
  padding: 15px 30px;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-producto button{
  border: none;
  background: none;
  background-color: #000000;
  color: #ffffff;
  padding: 15px 10px;
  cursor: pointer;
}

.precio{
  font-size: 18px;
}

/*Acerca de*/

#acerca {
  color: #8D8E8D;
  font-family: 'Michroma', sans-serif; /*Mismo que las listas, por si se quiere combinarlas*/
}

#wa{
  color: #25d366;
}
#facebook{
  color: #3b5998;
}
#instagram{
  color: #8134af;
}

#arriba{
  color: F60F1F;
}



footer {
  background-color: #6a0f72;
  text-align: center;
  padding: 1rem;
  color: #ABABAA;
}

#btn-mostrar-mas{
  border: none;
  background: none;
  background-color: #8D8E8D;
  color: #ffffff;
  padding: 15px 10px;
  cursor: pointer;
  border-radius: 10px;
}

#texto-oculto {
  display: none;
}
