/* Footer styles for MyEcoCosmetic */

.mec-footer {
  background: #141014;
  color: #f6f2f4;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
  border-top: 1px solid rgba(218, 193, 204, 0.25);
}

.mec-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2.5rem;
}

.mec-footer__brand {
  max-width: 420px;
}

.mec-footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.mec-footer__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fbe9f1 0, #e3c0ce 40%, #a66d7d 100%);
}

.mec-footer__logo-text {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #f9f3f6;
}

.mec-footer__description {
  margin: 0;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d9ccd2;
}

.mec-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.mec-footer__heading {
  margin: 0 0 0.75rem;
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6f2f4;
}

.mec-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.mec-footer__list a {
  font-size: 0.9rem;
  color: #d7c7cf;
  text-decoration: none;
  transition: color 0.15s ease-out, transform 0.15s ease-out;
}

.mec-footer__list a:hover {
  color: #f4dde6;
  transform: translateX(1px);
}

.mec-footer__list a:focus-visible {
  outline: 2px solid #e2b3c4;
  outline-offset: 2px;
}

.mec-footer__bottom {
  max-width: 1200px;
  margin: 2.25rem auto 0;
  padding-inline: 1.25rem;
  border-top: 1px solid rgba(218, 193, 204, 0.25);
  padding-top: 1.25rem;
}

.mec-footer__copyright {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdaab5;
}

/* Cookie consent banner */
.mec-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1100;
  display: flex;
  justify-content: center;
  padding: 0.75rem 0.75rem 1.1rem;
  background: linear-gradient(to top, rgba(8, 3, 5, 0.92), rgba(8, 3, 5, 0.85));
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.mec-cookie--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mec-cookie--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.mec-cookie__inner {
  max-width: 1100px;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(232, 189, 208, 0.55);
  background: radial-gradient(circle at 0 0, rgba(232, 193, 210, 0.18), transparent 60%),
              linear-gradient(135deg, rgba(23, 12, 16, 0.96), rgba(18, 9, 12, 0.97));
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mec-cookie__text {
  flex: 1;
  min-width: 0;
}

.mec-cookie__title {
  margin: 0 0 0.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #fdf7fa;
}

.mec-cookie__description {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #ecdde5;
}

.mec-cookie__link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #f4d7e4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mec-cookie__link:hover {
  color: #ffffff;
}

.mec-cookie__link:focus-visible {
  outline: 2px solid #f4d7e4;
  outline-offset: 2px;
}

.mec-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.mec-cookie__button {
  min-width: 125px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, transform 0.1s ease-out, box-shadow 0.15s ease-out;
}

.mec-cookie__button--secondary {
  background: transparent;
  color: #f4dde6;
  border-color: rgba(241, 200, 217, 0.6);
}

.mec-cookie__button--secondary:hover {
  background: rgba(241, 200, 217, 0.1);
}

.mec-cookie__button--primary {
  background: #f4d7e4;
  color: #1b1014;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(23, 6, 12, 0.45);
}

.mec-cookie__button--primary:hover {
  background: #ffe4f0;
}

.mec-cookie__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.mec-cookie__button:active {
  transform: translateY(1px);
  box-shadow: none;
}

@media (max-width: 900px) {
  .mec-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .mec-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mec-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1rem;
  }

  .mec-cookie__actions {
    justify-content: stretch;
  }

  .mec-cookie__button {
    flex: 1 1 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .mec-footer {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .mec-footer__inner {
    padding-inline: 1.25rem;
  }

  .mec-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .mec-footer__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .mec-cookie__description {
    font-size: 0.86rem;
  }
}
