:root {
  --primary-color: #1565c0;
  --secondary-color: #29b6f6;
  --neutral-color: #dfdfdf;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

header {
  background: white;
  color: #333;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 2px solid #ddd;
}

.logo {
  font-size: 24px;
  padding: 5px 10px;
  font-weight: 700;
  color: var(--primary-color);
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  margin-right: 20px;
}

nav ul li {
  text-decoration: none;
  margin: 0 15px;
  font-size: 20px;
  font-weight: normal;
  color: #474747;
}

input {
  font-size: 14px;
  padding: 5px;
  width: 183px;
  height: 25px;
  border-radius: 10px;
  border: 1px solid #dfdfdf;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  width: 403px;
  height: 84px;
  margin-bottom: 10px;
}

.old-elect {
  font-weight: 600;
  color: var(--primary-color);
}

.user-info {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 59px;
  height: 25px;
  margin-left: 20px;
  border: 1px solid #dfdfdf;
  border-radius: 10px;
}

.cart {
  width: 16px;
  height: 16px;
}

.subtitle {
  margin-bottom: 20px;
}

#price-tag {
  display: flex;
  margin-bottom: 20px;
}

.tag {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.sale {
  width: 167px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-color);
}

.pix {
  font-size: 10px;
  font-weight: 500;
  color: #474747;
}

.price {
  width: 86px;
  height: 38px;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  background-color: var(--neutral-color);
  border-radius: 10px;
  padding: 4px;
}

.text {
  width: 391px;
  height: 52px;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 20px;
}

.product {
  background: white;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  width: 900px;
}

.product-container {
  display: flex;
  align-items: flex-start;
  border-radius: 20px;
}

.box-product {
  width: 375px;
  height: 330px;
  background-color: var(--neutral-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.box-products {
  width: 90px;
  height: 79px;
  background-color: var(--neutral-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail {
  display: flex;
  gap: 3.2rem;
}

.product-info {
  padding-left: 20px;
}

.product img.main-image {
  width: 191px;
  height: 326px;
  background-color: var(--neutral-color);
}

#shop-cart {
  display: flex;
}

label {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #474747;
}

#quantity {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#input-qtd {
  width: 45px;
  height: 35px;
  border-radius: 10px;
  border: 1px solid #474747;
}

.btn-add {
  width: 175px;
  height: 46px;
  font-weight: 600;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
  margin-top: 10px;
  margin-left: 10px;
}

footer {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .product-container {
      flex-direction: column;
      align-items: center;
  }

  .product {
      width: 95%;
      padding: 10px;
  }

  nav ul {
      flex-direction: column;
      margin-right: 0;
  }

  nav ul li {
      margin: 5px 0;
  }

  .btn-add {
      width: 100%;
  }
}
