/* =========================================================
   LUX FOOTER — FINAL MERGED VERSION
========================================================= */

.lux-footer {
  margin-top: 0;
  background: #c6b79f;
  border-top: 1px solid rgba(77, 53, 39, 0.14);
  position: relative;
  overflow: hidden;
  font-family: "Quicksand", "Nunito", Arial, sans-serif;
}

.lux-footer::before {
  content: "";
  display: block;
  visibility: hidden;
  width: 100%;
  height: 32px;
  background:
    radial-gradient(circle at 12px 24px, rgba(77, 53, 39, 0.9) 0 2px, transparent 2px),
    linear-gradient(
      135deg,
      transparent 0 45%,
      rgba(77, 53, 39, 0.92) 45% 52%,
      transparent 52% 100%
    );
  background-size: 42px 32px, 34px 32px;
  opacity: 0.22;
}

#leaves {
    height: 50px;
    position: absolute;
    width: 101%;
    left: -4px;
    opacity: 0.82;
    top: 0px;
    background-image: url(../images/dividerb.png);
    background-position: 0 0, 17px 17px;
    background-size: 1334px 53px;
}

.lux-footer__inner {
 width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  font-weight: 600;
  padding: 36px 0 22px;
  display: grid;
  grid-template-columns: 1.08fr 0.9fr 0.92fr;
  gap: 24px;
  align-items: start;
}

/* =========================================================
   BRAND
========================================================= */

.lux-footer__brand h2 {
  margin: 0 0 12px;
  font-family: "Quicksand", "Nunito", Arial, sans-serif;
  font-size: 34px;
  letter-spacing: 0.18em;
  font-weight: 400;
  color: #111;
}

.lux-footer__brand p {
  margin: 0;
  color: rgba(32, 25, 20, 0.78);
  max-width: 380px;
  line-height: 1.75;
  font-size: 15px;
}

/* =========================================================
   LINKS
========================================================= */

.lux-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
}

.lux-footer__col h4,
.lux-footer__newsletter h4 {
	margin: 0 0 12px;
	    font-family: "Quicksand", "Nunito", Arial, sans-serif;
	    font-size: 17px;
	    letter-spacing: 0.16em;
	    text-transform: uppercase;
	    color: rgba(32, 25, 20, 0.76);
}

.lux-footer__col a {
  display: block;
  margin-bottom: 10px;
  color: #111;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lux-footer__col a:hover {
  opacity: 0.72;
  transform: translateX(2px);
}

/* =========================================================
   NEWSLETTER CARD
========================================================= */

.lux-footer__newsletter {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(77, 53, 39, 0.10);
  border-radius: 34px;
  padding: 22px 22px 18px;
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.lux-footer__newsletter p {
  margin: 0 0 14px;
  color: rgba(32, 25, 20, 0.78);
  line-height: 1.65;
  font-size: 15px;
  max-width: none;
}

.lux-footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.lux-footer__newsletter-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 1px solid rgba(77, 53, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 18px;
  font-size: 15px;
  outline: none;
  color: #1a1410;
  font-family: "Nunito", sans-serif;
  box-shadow: 0 8px 18px rgba(49, 31, 20, 0.04);
}

.lux-footer__newsletter-input::placeholder {
  color: rgba(32, 25, 20, 0.46);
}

.lux-footer__newsletter-input:focus {
  border-color: rgba(77, 53, 39, 0.24);
  box-shadow: 0 0 0 4px rgba(77, 53, 39, 0.08);
}

.lux-footer__newsletter-btn {
  border: none;
  cursor: pointer;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #6c4311;
  color: #fff;
  font-family: "Jura", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(49, 31, 20, 0.12);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.lux-footer__newsletter-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* =========================================================
   META
========================================================= */

.lux-footer__meta {
width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0 18px;
  font-weight: 700;
  border-top: 1px solid rgba(77, 53, 39, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(17, 17, 17, 0.88);
  font-size: 14px;
}

/* SOCIAL ICONS (UPDATED FOR FONT AWESOME) */

.lux-footer__socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lux-footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(77, 53, 39, 0.14);
  background: rgba(255, 255, 255, 0.42);
  color: #4a3423;
  text-decoration: none;
  transition: all 0.18s ease;
}

.lux-footer__socials a i {
  font-size: 16px;
}

.lux-footer__socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  color: #6c4311;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .lux-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lux-footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .lux-footer__newsletter {
    max-width: 680px;
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .lux-footer__inner {
    width: min(1280px, calc(100% - 24px));
    padding: 28px 0 20px;
  }

  .lux-footer__brand h2 {
	font-size: 39px;
	position: relative;
	display: block;
	text-align: center;
	padding-bottom: 17px;
  }

  .lux-footer__links {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lux-footer__newsletter {
    padding: 20px 16px 16px;
    border-radius: 24px;
    max-width: 100%;
  }

  .lux-footer__newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .lux-footer__newsletter-btn {
    width: 100%;
  }

  .lux-footer__meta {
    width: min(var(--container), calc(100% - 24px));
    padding: 12px 0 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.lux-footer__socials a i {
  font-size: 16px;
  line-height: 1;
}


.newsletter-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.newsletter-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.newsletter-toast__inner {
  min-width: 260px;
  max-width: 380px;
  background: rgba(34, 27, 22, 0.96);
  color: #f7f1ea;
  border: 1px solid rgba(214, 193, 167, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
  .newsletter-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .newsletter-toast__inner {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}


/* =========================================
   NEW BUTTON STYLE IN FOOTER (SAFE OVERRIDE)
========================================= */

.lux-footer__newsletter-btn.button-74 {
	height: 49px;
	line-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: bolder;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background-color: #fbeee0;
	border: 2px solid #6c4311;
	color: #4a3423;
	box-shadow: #6c4311 3px 3px 0 0;
	font-family: "Quicksand", "Nunito", Arial, sans-serif;
}

/* hover */
.lux-footer__newsletter-btn.button-74:hover {
	background-color: #fbeee0;
}

/* active press */
.lux-footer__newsletter-btn.button-74:active {
  box-shadow: #6c4311 1.5px 1.5px 0 0;
  transform: translate(1.5px, 1.5px);
}

/* =========================================
   FOOTER NEWSLETTER — LANDING PAGE STYLE
========================================= */

.footer-signup {
  width: 100%;
  display: block;
}

.footer-signup__row {
  position: relative;
  width: 100%;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(77, 53, 39, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(49, 31, 20, 0.06);
}

.footer-signup__input {
  width: 100%;
  height: 100%;
  padding: 0 128px 0 22px;
  border: none;
  outline: none;
  background: transparent;
  color: #1a1410;
  font-family: "Quicksand", "Nunito", Arial, sans-serif;
  font-size: 17.5px;
  box-shadow: none;
}

.footer-signup__input::placeholder {
  color: rgba(32, 25, 20, 0.52);
}

.footer-signup__input:focus {
  border: none;
  box-shadow: none;
}

.footer-signup__button {
	position: absolute;
	right: 0;
	top: 0;
	width: 96px;
	height: 100%;
	border-radius: 999px;
	border: 2px solid #6c4311;
	background: transparent;
	color: #2f1d14;
	font-family: "Quicksand", "Nunito", Arial, sans-serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
	transition: all 0.4s ease;
}

.footer-signup__button:hover {
  background: rgba(108, 67, 17, 0.08);
  transform: none;
  opacity: 1;
}

.footer-signup__button.is-loading {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-signup.is-success .footer-signup__button {
  width: 100%;
  background: rgba(108, 67, 17, 0.08);
}

.footer-signup.is-success .footer-signup__input {
  opacity: 0;
  color: transparent;
}

.footer-signup.is-success .footer-signup__input::placeholder {
  color: transparent;
}

@media (max-width: 768px) {
  .lux-footer__newsletter-form {
    flex-direction: unset;
    align-items: unset;
  }

  .footer-signup__row {
    height: 52px;
  }

  .footer-signup__input {
    padding: 0 104px 0 18px;
    font-size: 15px;
  }

  .footer-signup__button {
    width: 82px;
    font-size: 14px;
  }

  .footer-signup.is-success .footer-signup__button {
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}

/* =========================================================
   MOBILE FOOTER REFINEMENT
========================================================= */

@media (max-width: 768px) {

  /* Put Explore + Support beside each other */
  .lux-footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
  }

  /* Tighten spacing */
  .lux-footer__col {
    margin: 0;
  }

  .lux-footer__col h4 {
    margin-bottom: 14px;
  }

  .lux-footer__col ul {
    gap: 10px;
  }

  /* Newsletter spacing */
  .lux-footer__newsletter {
    margin-top: 0px;
  }

  /* Center bottom section */
  .lux-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
  }

  /* Center social icons */
  .lux-footer__socials {
    justify-content: center;
    width: 100%;
  }

  /* Center copyright */
    .lux-footer__copyright,
    .lux-footer__bottom p,
    .lux-footer__bottom small {
      width: 100%;
      text-align: center;
      justify-content: center;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 768px) {
    .lux-footer__meta {
      width: min(1280px, calc(100% - 24px));
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 16px;
    }

    .lux-footer__meta > div:first-child {
      width: 100%;
      text-align: center;
    }

    .lux-footer__socials {
      width: 100%;
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {

    .lux-footer__links {
      justify-items: center;
      text-align: center;
    }

    .lux-footer__col {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .lux-footer__col a {
      text-align: center;
    }
  }

