* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

:root {
  --main-color: white;
  --secundary-color: #c0bbbb;
  --tertiary-color: #6fa9e4;
}

body {
  background: var(--main-color);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.politica-container {
  background-color: var(--main-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  max-width: 1200px;
  width: 100%;
  text-align: left;
  overflow-y: auto;
  max-height: 90vh;
}

.politica-container h2 {
  margin-bottom: 20px;
  color: var(--tertiary-color);
  text-align: center;
}

.politica-container h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--tertiary-color);
}

.politica-container p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.produto-detalhes img {
  max-width: 25%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.finalizar-compra {
  position: absolute;
  left: 50%;
  top: 20%;
}

.finalizar-compra img {
  width: 30%;
  height: auto;
}

.btn-finalizar {
  margin-top: -10px;
  padding: 30px 100px;
  color: rgb(0, 0, 0);
  border: 1px solid #000;
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.btn-finalizar:hover {
  background-color: #000;
  color: white;
}

.texto {
  margin-top: 10px;
  max-width: 500px;
}

.texto p {
  font-size: 17px;
}

.footer {
  margin-top: 30px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

@media screen and (max-width: 826px) {
  .politica-container {
    padding: 40px;
    height: 100%;
    margin-top: 100px;
    max-height: none;
  }

  .finalizar-compra {
    position: absolute;
  }

  .finalizar-compra img {
    width: 70%;
    position: absolute;
    left: 10%;
    top: -7%;
    height: auto;
  }

  .btn-finalizar {
    margin-top: 320px;
    margin-left: -150px;
    padding: 15px 20px;
    background-color: #000;
    color: white;
  }

  .texto {
    margin-top: 10px;
    margin-left: -150px;
    max-width: 300px;
    padding: 0px;
  }

  .texto p {
    font-size: 11px;
  }

  .footer {
    margin-top: 250px;
  }
}
