/* =============== ASIDE =============== */
/* =============== ASIDE =============== */

.content__ranking {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.content__ranking .item__ranking {
  width: 44%;
}
/* ===============       =============== */
/* ===============  FIM  =============== */

/* ===============   MAIN    =============== */
/* ===============           =============== */

.main__content_principal .content__perfil {
  height: auto;
  padding-bottom: 2rem;
}

.content_capa_perfil_empresa {
  display: flex;
  width: 90%;
  margin: 0 auto;

  position: relative;
  top: 5rem;
}

/* CAPA DE PERFIL DO USUÁRIO */
.capa {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.capa img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  top: 25%;
  border: 4px solid white;
}
/* IMAGEM DE CAPA DA EMPRESA */
.capa,
.capa_perfil_empresa {
  height: 20vh;
  background: linear-gradient(#000, #cca3329d),
    url(../../img/bg-tela/bg-empresa.jpg) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* IMAGEM DO PERFIL DA EMPRESA */
.content_capa_perfil_empresa .foto {
  width: 80%;
}

.content_capa_perfil_empresa img {
  width: 80px;
  height: 80px;

  padding: 1rem;
  position: relative;
  top: 1rem;

  background: white;
}

.content_capa_perfil_empresa .seetings_empresa {
  position: relative;
  top: 2rem;
}

.content_capa_perfil_empresa .seetings_empresa .row__seetings {
  display: flex;
  gap: 0.5rem;
}

.content_capa_perfil_empresa .seetings_empresa .row__seetings button {
  border: 0;
  padding: 0.5rem 0.5rem;

  border-radius: 0.2rem;
  background: white;
}

/* DESCRIÇÃO DA EMPRESA */
.content__empresa,
.content__describe__empresa {
  width: 90%;
  margin: 0 auto;
}
.content__describe__empresa {
  margin-inline: auto;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.content__describe__empresa .name__data {
  display: flex;
  flex-direction: column;
}

.content__describe__empresa .name__data h3 {
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.6rem;
}

.content__describe__empresa .name__data p {
  line-height: 2rem;
}

.content__describe__empresa .name__data p span {
  color: green;
  font-weight: bold;
}

.content__describe__empresa .name__data p strong {
  color: red;
}

/* Estrelas */
.content__describe__empresa .estrelas {
  display: flex;
  align-items: flex-end;
  margin-left: -0.3rem;
}

.content__describe__empresa .estrelas button {
  background: none;
  border: 0;
}

.content__describe__empresa .estrelas button i {
  color: var(--bg-primary);
}

/* Fidelizar */
.content__describe__empresa .fidelizar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 1rem;
}

.content__describe__empresa .fidelizar button {
  background: var(--bg-primary);
  border: 0;

  color: white;
  padding: 0.3rem 0.6rem;
}

.content__describe__empresa .fidelizar button:last-child {
  background: green;
}

.content__describe__empresa .fidelizar .tipo__empresa h4 {
  font-size: 1.1rem;
}

/* VITRINE */
.content__empresa {
  display: flex;
  flex-direction: column;

  gap: 1rem;
}

.content__empresa .content__list_empresa {
  display: flex;
  justify-content: space-between;
}

.content__empresa .item__produto {
  width: 30%;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  padding: 1rem;
  color: #000;
}

.content__empresa .item__produto:hover {
  background: var(--bg-secondary);
}

.content__empresa .item__produto img {
  width: 70px;
  height: 70px;
}

.content__empresa .item__produto h4 {
  font-weight: 400;
  font-size: 1rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  main .main__content_principal {
    width: 100% !important;
  }

  main .content__describe__empresa {
    margin-top: 4rem;
  }

  main .content__empresa {
    gap: 0.5rem;
  }

  main .content__empresa .item__produto {
    width: 100%;
  }

  main .content__empresa .title {
    text-align: center;
  }

  .content__empresa .content__list_empresa {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  main .content__describe__empresa {
    text-align: center;
  }

  .content__describe__empresa .estrelas {
    text-align: center;
    margin: 0 auto;
  }

  .content__describe__empresa .fidelizar,
  .content__describe__empresa .tipo__empresa {
    margin: 0 auto;
    text-align: center;
  }
}
