#footerDummy {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

#footer {
  /* Debe ocupar espacio después de #content; en absoluto se superpone al slider. */
  position: relative;
  bottom: 0;
  width: 100%;
  height: auto;
  background: var(--base);
  overflow: hidden;
  z-index: 3;
  color: var(--secondary);
}

.columnsContainer {
  display: flex;
  width: 95%;
  margin: auto;
  height: 298px;
  justify-content: flex-end;
}

.adminColumnsContainer {
  width: calc(75% - 4rem);
  display: flex;
}

.columnContainer {
  width: calc(100% / 4);
  padding: 3.5rem 0rem 4rem;
  padding-bottom: 0;
  box-sizing: border-box;
}

.column {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
}

.columnHeading {
  text-transform: uppercase;
  font-weight: 700;
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  margin-top: 0;
  margin-bottom: 1rem;
}

.columnItem {
  margin-top: 0.3rem;
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.newsletterColumn {
  width: 35%;
  margin-top: 50px;
  margin-right: 3rem;
}

.newsletterHeadeing {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.newsletterContainer {
  width: 100%;
  margin: auto;
  padding: 0.5rem 0 0.9rem;
}

.suscribeNewsContainer {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  justify-content: flex-start;
  width: 28rem;
}

.newsletterGo {
  position: absolute;
  right: 0;
  letter-spacing: 0;
  font-weight: 400;
  font-size: var(--base-font-size);
  text-transform: uppercase;
  cursor: pointer;
  color: var(--base);
  padding: 13px 20px;
  background: var(--secondary);
}

.mediaLink {
  position: relative;
  display: block;
  width: auto;
  float: left;
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
  margin-right: 3rem;
  font-weight: 700;
}

.mediaLink:hover {
  color: var(--darkGrey);
}

.paymentTypesContainer {
  position: relative;
  width: 100%;
  height: 50px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--grey);
  display: flex;
  justify-content: center;
  align-items: center;
}

#footerBottom {
  background-color: var(--base);
  color: var(--base-aux);
  border-top: 1px solid var(--base-aux);
  height: 58px;
}

.rights {
  position: absolute;
  margin-left: 2.5%;
  font-size: var(--body-font-size);
  font-weight: 400;
  text-align: left;
  line-height: 58px;
  letter-spacing: 0;
  width: 100%;
}

#emailFooterInput {
  border: none;
  border-bottom: 1px solid var(--base);
  padding: 0;
  border-radius: 0;
  line-height: 2.8rem;
  font-size: 14px;
  font-weight: 300;
  width: 72%;
  min-width: 10px;
  border-bottom: 1px solid var(--secondary);
  background: var(--base);
}

#emailFooterInput::-webkit-input-placeholder {
  color: var(--secondary);
  opacity: 1;
  font-weight: 300;
}

#emailFooterInput:-moz-placeholder {
  color: var(--secondary);
  opacity: 1;
  font-weight: 300;
}

#emailFooterInput::-moz-placeholder {
  color: var(--secondary);
  opacity: 1;
  font-weight: 300;
}

#emailFooterInput:-ms-input-placeholder {
  color: var(--secondary);
  opacity: 1;
  font-weight: 300;
}

#emailFooterInput::-ms-input-placeholder {
  color: var(--secondary);
  opacity: 1;
  font-weight: 300;
}

.byluna {
  pointer-events: none;
  margin-right: 0;
  margin-top: 5px;
  height: 30px;
}

.lunaLink {
  display: block;
  overflow: hidden;
  margin-right: 2.5%;
  width: fit-content;
  float: right;
  height: 100%;
  align-content: center;
}

.columnItem.lineEffectLeft::after,
.columnItem a.lineEffectLeft::after {
  background: var(--secondary);
  bottom: -2px;
}

.columnItem.lineEffectCenter::before,
.columnItem a.lineEffectCenter::before {
  background: var(--secondary);
  bottom: -2px;
}

@media screen and (max-width: 1100px) {
  .columnsContainer {
    width: 100%;
    flex-direction: column;
  }

  .adminColumnsContainer {
    flex-direction: column;
    width: 100%;
    font-size: 15px;
  }

  .columnHeading {
    margin-top: 0;
    font-size: 22px;
  }

  .columnContainer {
    border: none;
    border-bottom: 1px solid var(--grey);
    width: 100%;
    text-align: left;
    padding: 0;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .newsletterColumn {
    width: 100%;
    margin: 0 auto;
    border-bottom: 1px solid var(--grey);
  }

  .newsletterContainer {
    width: 90%;
    padding-top: 4rem;
    padding-bottom: 1.5rem;
  }

  .newsletterHeadeing {
    max-width: unset;
  }

  .suscribeNewsContainer {
    margin-bottom: 5rem;
  }

  .rights {
    line-height: 4.8rem;
  }

  #emailFooterInput {
    width: 100%;
    border-bottom: 1px solid var(--grey);
  }

  .column {
    width: 90%;
  }

  .mediaLink {
    text-align: left;
    font-weight: 400;
    width: 100%;
    margin-bottom: 2rem;
  }

  a .columnItem:hover::before,
  .mediaLink:hover::before {
    opacity: 0;
  }

  #footer {
    z-index: 4;
  }

  .paymentTypesImages {
    width: 95%;
  }
}

@media screen and (max-width: 768px) {
  #footer {
    background: var(--base);
    color: var(--secondary);
    overflow: visible;
  }

  .columnsContainer {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 18px 0px;
    box-sizing: border-box;
  }

  .newsletterColumn,
  .adminColumnsContainer,
  .columnContainer,
  .column {
    width: 100%;
    margin: 0;
  }

  .newsletterColumn {
    border: 0;
  }

  .newsletterContainer {
    width: 100%;
    padding: 51px 0 35px;
    box-sizing: border-box;
  }

  .newsletterHeadeing {
    margin: 0 0 20px;
    font-size: 22px;
    line-height: 20px;
    letter-spacing: 0;
  }

  .suscribeNewsContainer {
    width: 100%;
    height: 34px;
    margin: 0;
    gap: 5px;
  }

  #emailFooterInput {
    width: auto;
    min-width: 0;
    height: 43px;
    flex: 1;
    font-size: var(--base-font-size);
    line-height: 34px;
    border-bottom: 1px solid var(--secondary);
  }

  .newsletterGo {
    position: static;
    flex: 0 0 105px;
    height: 43px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--base-font-size);
    line-height: 1;
  }

  .adminColumnsContainer {
    display: block;
    font-size: 11px;
  }

  .columnContainer {
    padding: 0 0 38px;
    border: 0;
  }

  .columnHeading {
    margin: 0 0 15px;
    font-size: var(--base-font-size);
    line-height: var(--base-line-height);
  }

  .columnItem {
    margin: 0 0 4px;
    font-size: var(--base-font-size);
    line-height: var(--base-line-height);
  }

  #footerBottom {
    position: relative;
    height: 58px;
    border-top-color: var(--secondary);
  }

  .rights {
    margin-left: 18px;
    font-size: var(--body-font-size);
    line-height: 58px;
  }

  .lunaLink {
    height: 58px;
    margin-right: 18px;
  }

  .byluna {
    height: 27px;
    margin: 0;
  }
}
