/* Footer Styles for ChefUtensilsPL */

.cu-footer {
  background-color: #0f172a;
  color: #e5e7eb;
  padding-top: 3rem;
  padding-bottom: 4.5rem;
  position: relative;
}

.cu-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cu-footer__brand {
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
}

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

.cu-footer__logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #facc6b 0, #f97316 40%, #2f4b3a 100%);
  color: #f9fafb;
}

.cu-footer__logo-text {
  display: flex;
  flex-direction: column;
}

.cu-footer__logo-main {
  font-family: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.cu-footer__logo-sub {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #9ca3af;
}

.cu-footer__description {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Footer Grid */

.cu-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.cu-footer__heading {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d1d5db;
  margin-bottom: 0.9rem;
}

.cu-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cu-footer__links li + li {
  margin-top: 0.35rem;
}

.cu-footer__links a {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: none;
}

.cu-footer__links a:hover,
.cu-footer__links a:focus-visible {
  color: #e5e7eb;
}

.cu-footer__links a:focus-visible,
.cu-footer__social-link:focus-visible,
.cu-footer__contact-list a:focus-visible {
  outline: 2px solid #facc6b;
  outline-offset: 3px;
  border-radius: 4px;
}

.cu-footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.cu-footer__contact-list li + li {
  margin-top: 0.35rem;
}

.cu-footer__contact-list a {
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
}

.cu-footer__contact-list a:hover {
  color: #facc6b;
}

.cu-footer__social {
  display: flex;
  gap: 0.5rem;
}

.cu-footer__social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.cu-footer__social-link:hover {
  background-color: #facc6b;
  color: #111827;
}

/* Bottom */

.cu-footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}

.cu-footer__copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Cookie Banner */

.cu-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1100;
  padding: 0.75rem 0.5rem 0.85rem;
  background: linear-gradient(to right, #111827, #0f172a);
  color: #e5e7eb;
  box-shadow: 0 -18px 45px rgba(15, 23, 42, 0.75);
}

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

.cu-cookie__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.7rem 1rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cu-cookie__text {
  flex: 1 1 auto;
}

.cu-cookie__title {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: #f9fafb;
}

.cu-cookie__description {
  margin: 0;
  font-size: 0.85rem;
  color: #d1d5db;
}

.cu-cookie__description a {
  color: #facc6b;
}

.cu-cookie__description a:hover,
.cu-cookie__description a:focus-visible {
  color: #fde68a;
}

.cu-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cu-cookie__button {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}

.cu-cookie__button--primary {
  background: linear-gradient(135deg, #b45309, #facc6b);
  color: #111827;
}

.cu-cookie__button--secondary {
  background-color: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.cu-cookie__button:focus-visible {
  outline: 2px solid #facc6b;
  outline-offset: 3px;
}

.cu-cookie--hiding {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

@media (max-width: 900px) {
  .cu-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.75rem;
  }
}

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

  .cu-footer__inner {
    padding: 0 1.25rem;
  }

  .cu-footer__brand {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .cu-footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
  }

  .cu-cookie__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cu-cookie__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cu-cookie__button {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cu-footer__grid {
    grid-template-columns: 1fr;
  }

  .cu-cookie__inner {
    padding-inline: 0.75rem;
  }
}

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