/* Footer-specific styles for VOODIES LTD */

.voodies-footer {
  background-color: #ffffff;
  color: var(--color-text);
}

.voodies-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.voodies-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.voodies-footer__logo-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

.voodies-footer__logo-mark .fa-seedling {
  font-size: 1.1rem;
}

.voodies-footer__brand-text {
  display: flex;
  flex-direction: column;
}

.voodies-footer__name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.voodies-footer__tagline {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.voodies-footer__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-6);
}

.voodies-footer__heading {
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}

.voodies-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.voodies-footer__list li {
  margin-bottom: 0.45rem;
}

.voodies-footer__list a {
  font-size: 0.9rem;
  color: var(--color-text);
}

.voodies-footer__list a:hover,
.voodies-footer__list a:focus-visible {
  color: var(--color-primary-dark);
}

.voodies-footer__column--contact {
  font-size: 0.9rem;
}

.voodies-footer__contact-item {
  margin-bottom: 0.75rem;
}

.voodies-footer__bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.voodies-footer__meta {
  max-width: 32rem;
}

@media (min-width: 768px) {
  .voodies-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .voodies-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Cookie consent banner */

.voodies-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: var(--space-3) var(--space-4);
  pointer-events: none;
}

.voodies-cookie__inner {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: auto;
}

.voodies-cookie__title {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.voodies-cookie__description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.voodies-cookie__link {
  font-size: 0.85rem;
}

.voodies-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.voodies-cookie__btn {
  width: auto;
}

@media (min-width: 640px) {
  .voodies-cookie__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .voodies-cookie__text {
    max-width: 70%;
  }

  .voodies-cookie__actions {
    justify-content: flex-end;
  }
}

/* Show / hide transitions */

.voodies-cookie[hidden] {
  display: none;
}

.voodies-cookie--visible {
  animation: voodies-cookie-slide-up 220ms ease-out;
}

.voodies-cookie--hiding {
  animation: voodies-cookie-slide-down 200ms ease-in forwards;
}

@keyframes voodies-cookie-slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes voodies-cookie-slide-down {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}
