@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
body,
html {
  max-height: 100vw;
  scroll-behavior: smooth;
  background-color: #3c3c3c;
  padding: 1rem;
}
.container {
  max-width: min(100vw, 1280px);
  background-color: white;
  border-radius: 1rem;
  margin: 0 auto;
  padding: 2rem;
  box-shadow: 1px 2px 4px rgb(0, 0, 0);
}

header h1 {
  margin: 2rem 0;
  text-align: center;
}
header img {
  width: 100%;
}
section {
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}
.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}
.card {
  display: grid;
  gap: 0.1rem;
  place-items: center;
  background-color: white;
  box-shadow: 0.5px 5px 1px hsla(0, 0%, 0%, 0.7);
  border-radius: 1rem;
  padding: 1rem;
  overflow: hidden;
  transition: transform 250ms;
}
.card:hover {
  box-shadow: 0px 5px 1px hsl(210, 100%, 31%);
  transform: translateY(-5px);
}
.card p {
  font: bold 1rem/1 sans-serif;
}
.card img {
  width: 200px;
  margin-bottom: 0.2rem;
}
article {
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 1rem;
  margin-bottom: 1rem;
  padding: 2rem 0;
}
article .field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  gap: 1rem;
}
article .field input {
  width: 70%;
  border: none;
  box-shadow: 0.2px 2px 1px hsla(0, 0%, 0%, 0.7);
  padding: 0.5rem 0.5rem;
  font-size: 1.25rem;
  border-radius: 0.2rem;
  outline: none;
}

article .field input:focus {
  outline: none;
  box-shadow: 0.2px 2px 1px hsl(210, 100%, 31%);
}

button {
  background-color: #0069d9;
  color: white;
  width: 100%;
  border: none;
  padding: 0.75rem 0.75rem;
  border-radius: 0.2rem;
  font-size: 1rem;
  margin-top: 2rem;
  cursor: pointer;
  box-shadow: 1px 3px 1px hsla(0, 0%, 0%, 0.7);
  transition: border-color 0.3s ease, 0.3s ease; /* Suaviza a transição da borda e da sombra */
}
button:hover {
  background-color: hsla(0, 0%, 0%, 0.7);
  box-shadow: 0px 3px 1px #004e9c;
}
.footer {
  display: grid;
  gap: 1rem;
  margin: 1rem;
}
li{
  margin: 0 3.5rem;
}
.finalPrice {
  font-weight: 700;
  margin: 1rem;
}

/* style button quantity  */

.quantity {
  display: block;
  margin: auto 0;
}

.quantity .input-text.qty {
  width: 35px;
  height: 39px;
  padding: 0 5px;
  text-align: center;
  background-color: transparent;
  border: 1px solid #efefef;
}

.quantity.buttons_added {
  text-align: left;
  position: relative;
  white-space: nowrap;
  vertical-align: top;
}

.quantity.buttons_added input {
  display: inline-block;
  margin: 0;
  vertical-align: top;
  box-shadow: none;
}

.quantity.buttons_added .minus,
.quantity.buttons_added .plus {
  padding: 7px 10px 8px;
  height: 41px;
  background-color: #ffffff;
  border: 1px solid #efefef;
  cursor: pointer;
}

.quantity.buttons_added .minus {
  border-right: 0;
}

.quantity.buttons_added .plus {
  border-left: 0;
}

.quantity.buttons_added .minus:hover,
.quantity.buttons_added .plus:hover {
  background: #eeeeee;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity.buttons_added .minus:focus,
.quantity.buttons_added .plus:focus {
  outline: none;
}
