* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  background-color: #eeeeee;
}

body,
html {
  height: 100%;
}
body {
  background-color: #dc5f00;
}
header {
  text-align: center;
  background-color: #fff;
  display: inline-block;
}
h1 {
  background-color: #fff;
  color: #dc5f00;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  padding: 20px;
}
h2 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 40px;
  margin-left: 20px;
}

#acciones-carrito {
  margin-left: 20px;
  align-items: center;
}
#carrito-section {
  margin-left: 20px;
  align-items: center;
}
#guantes-container {
  /* display: flex;
  flex-wrap: nowrap; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  /* justify-content: space-between; */
  gap: 44px;
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 40px;
}
.card {
  border: 1px solid #dc5f00;
  text-align: center;
  border-radius: 12px;
  padding: 16px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
}
.card h3 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.card img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
}
.card button {
  margin-top: 8px;
}
.card input {
  border: 1px solid #dc5f00;
  width: 200px;
  height: 40px;
  border-radius: 8px;
}
button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 400px;
}

ul li {
  background: #f4f4f4;
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 16px;
  color: #333;
  transition: background 0.3s, transform 0.2s;
}

/* efecto hover */
ul li:hover {
  background: #e0e0e0; /* gris más oscuro */
  transform: translateX(5px); /* se mueve un poquito a la derecha */
}
footer {
  color: black;
  background-color: #dc5f00;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}
footer p {
  margin-bottom: 0;
}

.toast {
  font-size: 32px;
  text-align: center;
  border-radius: 8px;
}

#total {
  background: #f4f4f4;
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 32px;
  color: #333;
  transition: background 0.3s, transform 0.2s;
  max-width: 400px;
}
@media (max-width: 844px) {
  #guantes-container {
    grid-template-columns: 1fr 1fr;
  }
  .card img {
    width: 150px;
    height: 150px;
  }
}
@media (max-width: 767px) {
  #guantes-container {
    grid-template-columns: 1fr;
  }
  .card img {
    width: 150px;
    height: 150px;
  }
  .toast {
    font-size: 16px;
    text-align: center;
    border-radius: 8px;
  }
}
@media (orientation: landscape) {
  .card img {
    width: 140px;
    height: 140px;
  }
  .toast {
    font-size: 20px;
    text-align: center;
    border-radius: 8px;
  }
}
