footer {
  &:has([data-component-id="incmty:footer_bottom"].midnight) {
    background-color: var(--bg-color);
  }

  &:has([data-component-id="incmty:footer_bottom"].hk-dark) {
    background-color: var(--bg-color);
  }
}

[data-component-id="incmty:footer_bottom"] {
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  margin-top: 32px;
  border-top: 2px solid var(--text-color);

  & .social-networks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    & .social-network {
      position: relative;

      & a {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        text-indent: -999999999px;
        z-index: 1;
      }

      &:hover {
        opacity: 0.75;
        cursor: pointer;
      }
    }
  }

  & .copyright,
  & .menu {
    color: var(--text-color);
    text-align: center;
  }

  & .menu {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 24px;

    & .menu-item {
      list-style: none;
      padding: 0;

      & a {
        color: var(--text-color);
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: 18px;
        text-decoration: underline;
      }
    }
  }

  & .copyright {
    display: flex;
    align-items: center;

    p {
      color: var(--text-color);
      font-size: 12px;
      font-style: normal;
      font-weight: 400;
      line-height: 18px;
    }
  }
}

@media (max-width: 1023px) {
  [data-component-id="incmty:footer_bottom"] {
    margin-top: 16px;
  }
}

@media (min-width: 1024px) {
  [data-component-id="incmty:footer_bottom"] {
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 24px;

    & .copyright,
    & .menu {
      color: var(--text-color);
      text-align: left;
    }

    & .menu {
      flex-direction: row;
    }
  }
}
