/* INICIO CSS */


  * {   
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Open Sans', sans-serif;
    background-color: #E6E6E6;
    color: #292C2F;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  /* Layout principal */
  .section {
    width: calc(100% - 100px);
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
    border-radius: 10px;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
  }

  .text {
    line-height: 1.5;
    margin: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .text h2 {
    width: 100%;
    margin: 0;
    margin-bottom: 1em;
    text-align: center;
  }

  .text p {    
    font-size: 16px;
    margin-bottom: 0.5em;
  }

  /* Primeira Seção: Formulário */
  .section-one {
    display: flex;
    flex-wrap: wrap;
    background-color: #FFFFFF;
    padding: 10px;
    margin-top: 72px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .form-container {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .form-wrapper {    
    max-width: 700px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px 30px;
  }

  input, select, textarea {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 2px solid #ccc;
    box-sizing: border-box;
  }

  textarea {
    font-family: 'Open Sans', sans-serif;
  }

  input::placeholder, 
  textarea::placeholder {
    color: #757575;
    opacity: 1;
  }

  input:focus, select:focus, textarea:focus {
    outline: none;
    border: 2px solid #f27a1a;
  }

  label {
    color: #292C2F;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  /* Ajustar a largura dos campos */
  #fullName,
  #email,
  #deliveryCountry {
    width: 100%;
  }

  /* Campo de celular com código do país */
  .phone-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #countryCode {
    color: #292C2F;
    width: 60%;
    margin-right: 10px;
  }

  #customCountryCode {
    width: 65px;
    margin-right: 10px;
    display: none;
  }

  #phone {
    flex-grow: 1;
    max-width: 40%;
  }

  /* Campo de selecionar o produto */
    select option:first-child {
    color: #757575;
  }

  .product-quantity-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
  }

  /* Estilo para cada linha de produto e quantidade */
  .product-quantity-item {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  
  .product-quantity-item .product-select { 
    width: 88% !important;
    max-width: 88%;
    box-sizing: border-box;
  }

  .product-quantity-item .quantity {  
    width: 12% !important;
    max-width: 12%;
    box-sizing: border-box;
  }

  .add-button,
  .remove-button {
    border: none;
    text-align: center;
    cursor: pointer;
    background-color: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border-radius: 0;
  }

  .add-button {
    color: #3ec461;
    width: 39px;
    height: 39px;
  }

  .remove-button {
    color: #e74c3c;
    width: 39px;
    height: 39px;
  }

  .add-button i,
  .remove-button i {
    color: inherit;
  }

  .add-button:hover,
  .remove-button:hover {
    background-color: transparent !important;
    cursor: pointer !important;
  }

  /* Campo de entrega e observações */
  #deliveryAddress,
  #observations {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    overflow-y: auto;
    box-sizing: border-box;
  }

  /* Estilo para o reCAPTCHA */
  .recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 23px;
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 100%;
  }

  .g-recaptcha {
    display: block;
    margin: 0 auto;
  }

  button {
    background-color: #f27a1a;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    text-transform: none;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
  }

  .section .button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 30px;
    box-sizing: border-box;
  }

  button:hover {
    background-color: #d96b17;
  }

  /* Segunda Seção: Termo de Encomenda */
  .section-two {
    flex-direction: column;
    line-height: 1.5;
    background-color: #FFFFFF;
    padding: 40px;
    margin-bottom: 106px;
    align-items: center;
  }

  .section-two h2 {
    width: 100%;
    text-align: center;
    margin: 0;
    margin-bottom: 1.7em;
  }

  .section-two h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 0.5em;
  }

  .section-two p {
    font-size: 16px;
    margin: 0;
    margin-bottom: 1.5em;
  }

  .section-two p:last-of-type {
    margin-bottom: 0;
  }

  .section-two ul {
    list-style-position: inside;
    margin: 0;
    padding-left: 0;
  }

  .section-two ul li {
    margin-bottom: 0.5em;
  }

  /* Mensagem de envio do formulário */
  .success-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .success-box {
    background: #F5FFF7;
    border: 2px solid #3ec461;
    color: #292C2F;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }

  .success-box h2 {
    color: #3ec461;
    font-size: 30px;
    margin: 0;
    margin-bottom: 0.1em;
  }

  .success-box h3 {
    color: #3ec461;
    font-size: 22px;
    margin: 0;
    margin-bottom: 1em;
  }

  .success-box p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
  }


/* Media Query para telas menores INICIO */
@media (max-width: 768px) {
  body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .section {
    width: calc(100% - 30px);
    max-width: 768px;
  }

  .text {
    line-height: 1.5;
    margin: 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .text h2 {
    margin: 0;
    margin-bottom: 1.5em;
  }

  .text p {
    margin-bottom: 1em;
  }

  .text p:last-of-type {
    margin-bottom: 0;
  }

  .section-one,
  .section-two {
    background-color: #FFFFFF;
    justify-content: center;      
    max-width: calc(100% - 55px);
  }

  .section-one {
    flex-wrap: wrap;
    margin-top: 72px;
    align-items: flex-start;
  }

  .form-container {
    width: 80%;
    margin: 0 auto;
    display: block;
  }

  input, select, textarea {
    width: 100%;
    font-size: 16px;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  button {
    font-size: 16px;
    padding: 10px 15px;
  }

  .section-two {
    padding: 35px;
    line-height: 1.5;
    margin-bottom: 92px;
    align-items: center;
  }

  .section-two h2 {
    margin: 0;
    margin-bottom: 1.5em;
  }

  /* Mensagem de envio do formulário */
  .success-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
}


@media (max-width: 480px) {
  .section {
    width: calc(100% - 40px);
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .section-one {
    box-sizing: border-box;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .text {
    line-height: 1.5;
    padding: 0 10px;
    justify-content: center;
    align-items: center;
  }

  .text h2,
  .section-two h2 {
    font-size: 16px;
    margin-bottom: 1.5em;
    text-align: center;
  }

  .text p,
  .section-two p {
    font-size: 14px;
    margin-bottom: 1em;
  }

  .form-container {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  input, select, textarea {
    width: 100%;
    font-size: 14px;
    padding: 6px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  /* Campo de celular com código do país */
  .phone-container {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  #countryCode {
    color: #292C2F;
    width: 50%;
    margin-right: 10px;
  }

  #customCountryCode {
    width: 50px;
    margin-right: 10px;
    display: none;
  }

  #phone {
    flex-grow: 1;
    max-width: 50%;
  }

  /* Campo de selecionar o produto */
  .product-quantity-container {
    gap: 0;
    box-sizing: border-box;
  }

  .product-quantity-item {
    gap: 14.8px;
    box-sizing: border-box;
  }

  .product-quantity-item .product-select {
    width: 85% !important;
    max-width: 85%;
    box-sizing: border-box;
  }

  .product-quantity-item .quantity {
    width: 15% !important;
    max-width: 15%;
    box-sizing: border-box;
  }
  
  button {
    font-size: 14px;
    padding: 10px 15px;
  }

  label {
    font-size: 14px;
  }

  /* Estilo para o reCAPTCHA */
  .recaptcha-container {
    margin-top: 23px;
    margin-bottom: 20px;
  }

  /* Ajuste no botão */
  button {
    font-size: 14px;
  }

  .section-two {
    line-height: 1.5;
    padding: 20px 26px;
    margin-bottom: 20px;
  }

  .section-two h3 {
    font-size: 14px;
  }

  .section-two ul {
    font-size: 14px;
    list-style-position: inside;
    margin: 0 0 1em 0;
    padding-left: 0;
  }

  /* Mensagem de envio do formulário */
  .success-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .success-box h2 {
    color: #3ec461;
    font-size: 26px;
    margin: 0;
    margin-bottom: 0.1em;
  }

  .success-box h3 {
    color: #3ec461;
    font-size: 18px;
    margin: 0;
    margin-bottom: 1em;
  }

  .success-box p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
  }
}


/* FIM CSS */
