body {
  background: linear-gradient(to right, #000000, #3b3b3b, #8d8d99);
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

header {
  background-color: #000000; /* Gris oscuro elegante */
  color: white;              /* Contraste fuerte */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Título */
header h1 {
  font-size: 1.8em;
  letter-spacing: 1px;
}

/* Barra de búsqueda */
header input {
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  width: 250px;
  outline: none;
}


nav {
  background: linear-gradient(to right, #49494e, #000000);
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px ;
}

/* Estilo de los botones/enlaces */
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transform: scale(1.10);
}

nav a:hover{
  background-color: rgb(0, 0, 0);
  transform: scale(1.15);
  box-shadow: 0px 5px 15px #000000;
  transition: transform 0.5s ease, box-shadow 0.5s ease; 
}

  

.estilo_boton{
  background-color: #595363;
  border: 1px solid #000000;
  border-radius: 15px;
  margin: 5px;
  padding: 5px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ===== Sección de productos ===== */
main {
  padding: 20px;
}

section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;

}

 

/* ===== Pie de página ===== */
footer {
  background: #000000;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

.cuadro{
    justify-items: center;       
    margin: 50px auto;
    max-width: 500px;
    max-height: 700px;
    padding: 15px;
    border-radius: 20px;
    background-color: #7598a3;
    color: #fff;
    border-color: #000000 1px solid;
}


.cuadrotitulo {
  text-align: center;
}

.cuadrotitulo h2 {
  color: #ffffff; 
  font-size: 2.2em;
}

.cuadro2{
    justify-items: center;       
    margin: 50px auto;
    max-width: 700px;
    max-height: 700px;
    padding: 15px;
    border-radius: 20px;
    background-color: #7598a3;
    color: #fff;
    border-color: #000000 1px solid;
}


.boton2{
  background-color: #ce8525;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}



article {
  padding: 10px;
  width: 200px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center; 
  color: #fff;

}

article:nth-child(1) { background-color: #A8E6CF; } 
article:nth-child(2) { background-color: #A0E7E5; } 
article:nth-child(3) { background-color: #B0BEC5; } 
article:nth-child(4) { background-color: #DAB6FC; } 
article:nth-child(5) { background-color: #A0E7E5; } 
article:nth-child(6) { background-color: #A8E6CF; } 


article img {
  width: 100%;
  border-radius: 6px;
}


article:hover{
      transition: transform 0.4s ease, box-shadow 0.4s ease; 
      box-shadow:  0px 10px 25px #000000;
      transform: scale(1.05)
}

.cuadro3 {
  width: 250px;                /* Tamaño fijo o ajustable */
  border-radius: 10px;       
  padding: 15px;
  text-align: center;
  align-items: flex-start;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;


}


.cuadro3 img {
  width: 100%;
  height: 160px;
  object-fit: cover;           /* Ajusta la imagen sin deformar */
  border-radius: 8px;
}


.cuadro3:hover {
  transition: transform 0.4s ease, box-shadow 0.4s ease; 
  box-shadow:  0px 10px 25px #000000;
  transform: scale(1.05);
}

.cuadro3:nth-child(1) { background-color: #A8E6CF; } /* Hogar */
.cuadro3:nth-child(2) { background-color: #A0E7E5; } /* Bebidas */
.cuadro3:nth-child(3) { background-color: #B0BEC5; } /* Electrónica */
.cuadro3:nth-child(4) { background-color: #DAB6FC; } /* Contacto */

button { 
  background-color: #252525;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #555;
}

  
/* ---------- CUADRO CONTACTO ---------- */
.cuadroContacto {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px 25px;
  border-radius: 20px;
  background: linear-gradient(145deg, #A8E6CF, #DDF3E3);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  color: #333333;
}

.cuadroContacto h2 {
  text-align: center;
  font-size: 2em;
}

.cuadroContacto p {
  text-align: center;
  margin-bottom: 25px;
}

/* ---------- FORMULARIO ---------- */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  font-weight: 600;
  margin-bottom: 5px;
}

form input,
form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1em;
  transition: 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #089797;
  box-shadow: 0 0 8px rgba(8,151,151,0.4);
}

/* ---------- BOTÓN ---------- */
form button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(to right, #089797, #48484b);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: linear-gradient(to right, #00b8b8, #6a6a6a);
  transform: scale(1.05);
}


/* ---------- CUADRO DE CONFIRMACIÓN ---------- */
.cuadroConfirmacion {
  max-width: 600px;
  margin: 60px auto;
  padding: 30px 25px;
  border-radius: 20px;
  background: linear-gradient(145deg, #A8E6CF, #DDF3E3);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  color: #333333;
  text-align: center;
}

.cuadroConfirmacion h2 {
  font-size: 3em;
}


/* ---------- BOTÓN ---------- */
.boton1 {
  margin-top: 20px;
}

.boton1 button {
  padding: 12px 25px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(to right, #089797, #48484b);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin: 0 10px;
}

.boton1 button:hover {
  background: linear-gradient(to right, #00b8b8, #6a6a6a);
  transform: scale(1.05);
}