/* Footer styles for ToyHavenKidsPL */

.thk-footer {
  background: linear-gradient(135deg, #eff6ff 0%, #fefce8 40%, #fff7ed 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 2.5rem;
  position: relative;
}

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

.thk-footer__brand {
  max-width: 20rem;
}

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

.thk-footer__logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: radial-gradient(circle at 30% 30%, #bfdbfe 0, #60a5fa 40%, #2563eb 100%);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.thk-footer__logo-text {
  font-family: "Baloo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.thk-footer__tagline {
  margin-top: 0.7rem;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
}

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

.thk-footer__nav-title {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.thk-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.thk-footer__nav-list li + li {
  margin-top: 0.35rem;
}

.thk-footer__nav-list a {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  color: #1e293b;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.15rem 0.4rem;
}

.thk-footer__nav-list a:hover {
  background: rgba(59, 130, 246, 0.08);
}

.thk-footer__nav-list a:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.thk-footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.9rem 1.25rem 1.1rem;
}

.thk-footer__copyright {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Cookie banner */
.thk-cookie-banner {
  position: fixed;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  max-width: 36rem;
  margin-inline: auto;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.8);
  padding: 0.9rem 1rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.thk-cookie-banner--hiding {
  opacity: 0;
  transform: translateY(120%);
}

.thk-cookie-banner__content {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.thk-cookie-banner__text {
  flex: 1;
}

.thk-cookie-banner__title {
  font-family: "Baloo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #facc15;
  margin: 0 0 0.25rem;
}

.thk-cookie-banner__description {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #e5e7eb;
}

.thk-cookie-banner__link {
  display: inline-block;
  margin-top: 0.3rem;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #7dd3fc;
}

.thk-cookie-banner__link:hover {
  text-decoration: underline;
}

.thk-cookie-banner__link:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

.thk-cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.thk-cookie-banner__btn {
  border-radius: 999px;
  border: none;
  padding: 0.45rem 0.9rem;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.thk-cookie-banner__btn--primary {
  background: linear-gradient(135deg, #22c55e, #a3e635);
  color: #052e16;
}

.thk-cookie-banner__btn--primary:hover {
  filter: brightness(1.05);
}

.thk-cookie-banner__btn--secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.thk-cookie-banner__btn--secondary:hover {
  background: rgba(15, 23, 42, 0.7);
}

.thk-cookie-banner__btn:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .thk-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

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

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

  .thk-cookie-banner {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
    border-radius: 1rem;
  }

  .thk-cookie-banner__content {
    flex-direction: column;
    gap: 0.6rem;
  }

  .thk-cookie-banner__actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thk-cookie-banner {
    transition: none !important;
  }
}
