/* =========================================
   LUX FOOTER — SOLUTION 2 PREMIUM ECOMMERCE
========================================= */

.lux-footer {
  background: #fafafa;
  color: #111;
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 64px 0 28px;
}

.lux-footer__inner {
  width: min(1340px, calc(100% - 76px));
  margin: 0 auto;
}

.lux-footer__grid {
  display: grid;
  grid-template-columns: .7fr 1fr 1fr 1fr 1.45fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  padding-bottom: 48px;
}

.lux-footcol h4 {
  margin: 0 0 18px;
  font-family: var(--lux-font-ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #111;
}

.lux-footcol a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0,0,0,.68);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.lux-footcol a:hover {
  color: #111;
  transform: translateX(3px);
}

.lux-footcol p {
  max-width: 360px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0,0,0,.64);
}

.lux-footcol--brand {
  display: flex;
  align-items: flex-start;
}

.lux-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.lux-footer__social a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,0,0,.13);
  border-radius: 50%;
  color: #111;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.035);
  transition: background .22s ease, color .22s ease, transform .22s ease, border-color .22s ease;
}

.lux-footer__social a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-2px);
}

.lux-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.lux-footcol--newsletter {
  justify-self: end;
  width: min(100%, 380px);
}

.lux-newsletter {
  display: flex;
  width: 100%;
  height: 52px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.16);
}

.lux-newsletter input {
  flex: 1;
  border: 0;
  padding: 0 18px;
  font-size: 14px;
  color: #111;
  background: transparent;
  outline: none;
}

.lux-newsletter button {
  width: 58px;
  border: 0;
  border-left: 1px solid rgba(0,0,0,.12);
  background: transparent;
  color: #111;
  font-size: 22px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.lux-newsletter button:hover {
  background: #111;
  color: #fff;
}

/* BOTTOM */
.lux-footer__bottom {
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 24px;

  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
}

.lux-footer__copy,
.lux-footer__country,
.lux-footer__legal a {
  font-family: var(--lux-font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(0,0,0,.5);
}

.lux-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.lux-footer__legal a {
  text-decoration: none;
  white-space: nowrap;
}

.lux-footer__legal a:hover {
  color: #111;
}

.lux-footer__country {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .lux-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lux-footcol--brand,
  .lux-footcol--newsletter {
    grid-column: span 3;
    justify-self: start;
  }

  .lux-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .lux-footer__country {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .lux-footer {
    padding: 48px 0 26px;
  }

  .lux-footer__inner {
    width: min(1340px, calc(100% - 34px));
  }

  .lux-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }

  .lux-footcol--brand,
  .lux-footcol--newsletter {
    grid-column: auto;
  }

  .lux-footer__bottom {
    justify-items: start;
    text-align: left;
    gap: 16px;
  }

  .lux-footer__legal {
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .lux-footer__copy,
  .lux-footer__country,
  .lux-footer__legal a {
    font-size: 9px;
    letter-spacing: .12em;
  }
}