body.woocommerce-account.woocommerce-edit-address .woocommerce-input-wrapper .select2-container .select2-selection--single {
  height: 100%;
  font-size: 15px;
  background: #fafafa;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid #E4E6EB;
  border-radius: 12px;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-input-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

#billing_first_name_field,
#billing_last_name_field {
  width: inherit;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-address-fields p .button[type="submit"] {
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  background: #2d8f6f;
  color: #FFFFFF;

  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* Headline spacing */
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content h3,
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content h2 {
  margin-bottom: 18px;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  width: 100%;
}

/* 1. Esconde o texto dentro do link "Editar" */
body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title a.edit {
  font-size: 0; /* Torna o texto invisível */
  color: transparent; /* Garante que o texto não aparece */
  width: 24px;  /* Define a largura do ícone */
  height: 24px; /* Define a altura do ícone */
  display: block; /* Garante que as dimensões são aplicadas */
  position: relative;
  margin-left: 20px;
}

/* 2. Adiciona o ícone de lápis como imagem de fundo */
body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title a.edit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d8f6f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'%3E%3C/path%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.2s ease;
}

/* 3. (Opcional) Muda a opacidade do ícone ao passar o rato por cima */
body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title a.edit:hover::before {
  opacity: 0.7;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content {
  /* max-width: 720px; */
  /* margin: 24px auto; */
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  padding: 24px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  margin-top: 10px;
}