@import url("./header.css");
@import url("./banners.css");
@import url("./mini-banners.css");
@import url("./products.css");
@import url("./budget.css");
@import url("./footer.css");
@import url("./list-products.css");
@import url("./nav-small.css");
@import url("/js/cart/cart.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 14rem;
}

body {
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
  background: #313131;
}

button {
  font-family: "Poppins", sans-serif;
  transition: all 200ms ease-out;
}

.center {
  margin: auto;
  width: 96%;
  max-width: 1024px;
}

.title {
  font-size: 1.8rem;
  text-align: center;
  font-weight: 500;
  color: var(--black-l-90);
  text-transform: capitalize;

  &::after {
    content: "";
    display: block;
    width: 20%;
    height: 0.4rem;
    background-color: var(--orange);
    margin-top: 0.8rem;
    border-radius: 8px;
  }
}

a {
  text-decoration: none;
  transition: all 200ms ease-out;
}

.hidden {
  display: none !important;
}

.strong {
  font-weight: bold;
}

.badge-budget {
  background-color: #e9ecef;
  color: #495057;
  padding: 0.6rem;
  border-radius: 4px;
  font-size: 1.45rem;
  font-weight: 600;
  text-align: center;
}

.price-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  & .sell-value {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--orange-d-30);
    align-self: flex-start;
    display: flex;
    align-items: end;
    gap: 0.8rem;
  }

  & .mini-text {
    font-size: 1.4rem;
    color: var(--black-l-50);
  }
}

.card-title {
  font-size: 1.6rem;
  color: var(--black-l-10);
  text-transform: capitalize;
  text-align: left;
  flex: 1;
}

.margin-top {
  margin-top: 2.4rem;
}

.whatsapp {
  & a {
    position: fixed;
    right: 1rem;
    bottom: 1.6rem;
    background-color: var(--light-green);
    padding: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    animation: animation-menu 200ms ease-out;

    &:hover {
      box-shadow: 0 0 0 0.4rem var(--light-green);
    }
  }

  & .bi-whatsapp {
    fill: var(--ct-secundary);
    width: 3.2rem;
    height: 3.2rem;
  }
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(30px); /* Começa 30px para baixo */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Termina na posição original */
  }
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-3rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 748px) {
  .title {
    font-size: 2.1rem;
    text-align: left;
  }

  .whatsapp {
    & a {
      right: 2.4rem;
      bottom: 2.4rem;
    }
  }
}
