footer {
  position: relative;
  bottom: 0;
  background-color: var(--background-muted);
  z-index: 2;
  padding-bottom: 1px;
  /* border-top: 2px solid #fbbe75; */
  font-size: var(--text-sm);

  .block-content {
    padding-block: 0;
  }
}

.footer-wrapper {
  padding: 2rem 0;

  .block-content:last-child {
    margin-bottom: 0;
  }
}

.footer-title {
  position: relative;
  display: flex;

  padding: 1.2rem;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  text-transform: uppercase;
  border-top: 1px solid var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.footer-title p {
  margin-bottom: 0;
}

.footer-link {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-checkbox {
  display: none;
}

/* .footer-link:last-of-type {
	margin-bottom: 1rem;
} */

.footer-menu {
  padding: 0 1.2rem;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(0.87, 0, 0.13, 1);
  overflow: hidden;
}

.footer-copyright,
.footer-menu,
.footer-title {
  a {
    color: var(--foreground);
  }
}

.footer-block {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--accent);
}

.footer-checkbox:checked+.footer-title+.footer-menu {
  transition: max-height 0.25s cubic-bezier(0.87, 0, 0.13, 1);
  max-height: 600px;
}

.footer-checkbox:checked+label .plus-minus:before {
  transform: rotate(180deg);
}

.footer-checkbox:checked+label .plus-minus:after {
  transform: rotate(180deg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  padding: 0 2rem;
}

.footer-copyright {
  position: relative;
  color: var(--foreground);
  text-align: center;
  width: 100%;
  font-size: var(--text-xs);
  text-align: center;
  display: flex;
  gap: 1rem;
  flex-direction: column;

  div {
    display: flex;
    gap: 2rem;
    justify-content: center;
  }
}

.footer-copyright a {
  font-family: "Figtree", sans-serif;
  font-weight: 100;
}

.left-content {
  display: flex;
  align-items: center;
  flex-direction: column;

  .footer-block {
    border-top: 0;
  }
}

.footer-logo {
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 300px;
  display: block;
  margin: 0;
}

.social-links {
  display: flex;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  background-color: color-mix(in srgb, var(--primary) 100%, 0.5);
  border-radius: 50px;
  margin-right: 9px;
  transition: 0.2s ease-in-out;

  color: var(--foreground);
}

.social {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social p {
  text-transform: uppercase;
  margin: 0;
}

.icon-minus,
.icon-plus {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #fbbe75;
  cursor: pointer;
  width: 2rem;
  text-align: center;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-minus {
  font-size: 2rem;
}

.icon-plus {
  font-size: 1.125rem;
}

.plus-minus {
  padding: 0;
  position: absolute;
  top: 50%;
  right: 2%;
  min-height: 0;
  background-color: rgba(0, 0, 0, 0);
}

.plus-minus:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background-color: var(--foreground);
  right: 0;
  top: 50%;
  transition: all 0.25s cubic-bezier(1, 0, 0, 1);
}

.plus-minus:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background-color: var(--foreground);
  right: 0;
  top: 50%;
  transform: rotate(90deg);
  transition: all 0.25s cubic-bezier(1, 0, 0, 1);
}

.footer-address {
  padding: 0 1.2rem;
}

.footer-address p {
  color: var(--foreground);
  font-family: "Figtree", sans-serif;
  line-height: 2;
  margin-bottom: 2rem;
}

.footer-sign-up p {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-weight: 600;
  line-height: 1.25;
}

.newsletter-group {
  display: flex;
  width: 100%;
}

.newsletter-group .btn {
  border: 1px solid #949494;
  border-left: 0;
  width: 50px;
}

.newsletter-group .icon-send {
  /* font-size: 1.25rem; */
}

.footer-sign-up .newsletter-group {
  max-width: 100%;
  margin-bottom: 2rem;
}

.footer-sign-up .newsletter-group .btn.pri-btn {
  background-color: #231e1a;
  height: 46px;
}

@media only screen and (min-width: 1024px) {
  .footer-wrapper {
    padding-bottom: 0;

    .block-content {
      display: flex;
      gap: 5rem;
      justify-content: space-between;
      margin-block: 0;
    }
  }

  .social {
    justify-content: flex-start;
  }

  .footer-menu {
    display: block !important;
    margin-bottom: 1rem;
  }

  .footer-block {
    border: 0;
  }

  .footer-content.left-content {
    flex: 0 0 25rem;
  }

  .footer-content.right-content {
    flex: 1;
    display: flex;
    gap: 2rem;
  }

  .footer-content.right-content .footer-block {
    width: 33.3333333333%;
  }

  .footer-title {
    padding: 0;
    border-top: 0;
    margin-bottom: 0.5rem;
  }

  .plus-minus {
    display: none;
  }

  .footer-copyright {
    padding-block: 1rem;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid var(--accent);
  }

  .footer-link {
    margin-bottom: 0;
  }
}

.dark,
[data-theme="dark"] {
  .section-title {
    color: var(--secondary-muted);
  }

  .social-links a {
    color: white;
  }
}