/* Footer styles for HomeShopPL */
.hs-footer {
  background-color: #f6f2ec;
  color: #2f2a24;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 3rem;
}

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

.hs-footer__brand {
  max-width: 360px;
}

.hs-footer__logo-group {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hs-footer__logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f3e6d3 0, #f3e6d3 40%, #c3b39a 70%, #7c6a55 100%);
}

.hs-footer__logo-text {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hs-footer__tagline {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5b564f;
  margin: 0;
}

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

.hs-footer__heading {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  color: #5b564f;
}

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

.hs-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: #3b342d;
  text-decoration: none;
  padding: 0.15rem 0;
}

.hs-footer__link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background-color: transparent;
  transition: background-color 0.18s ease-out, transform 0.18s ease-out;
}

.hs-footer__link:hover::before,
.hs-footer__link:focus-visible::before {
  background-color: #7e9578;
  transform: scale(1.3);
}

.hs-footer__link:hover,
.hs-footer__link:focus-visible {
  color: #1f2520;
}

.hs-footer__link:focus-visible {
  outline: 2px solid #6c8a73;
  outline-offset: 3px;
}

.hs-footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.9rem 1.25rem 1.1rem;
  text-align: center;
}

.hs-footer__copyright {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: #777068;
}

/* Cookie banner */
.hs-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  background: rgba(24, 22, 19, 0.8);
  backdrop-filter: blur(14px);
  color: #fdfaf6;
}

.hs-cookie[aria-hidden="true"] {
  display: none;
}

.hs-cookie--visible {
  display: block;
  animation: hs-cookie-slide-up 0.25s ease-out;
}

.hs-cookie--hidden {
  animation: hs-cookie-slide-down 0.22s ease-in forwards;
}

.hs-cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.hs-cookie__text {
  max-width: 720px;
}

.hs-cookie__title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: #f3e6d3;
}

.hs-cookie__description {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hs-cookie__more {
  font-size: 0.85rem;
  color: #e9ddc9;
  text-decoration: underline;
}

.hs-cookie__more:hover,
.hs-cookie__more:focus-visible {
  color: #ffffff;
}

.hs-cookie__more:focus-visible {
  outline: 2px solid #f3e6d3;
  outline-offset: 2px;
}

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

.hs-cookie__button {
  min-width: 130px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 1.1rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.hs-cookie__button--primary {
  background: linear-gradient(120deg, #9fb49b, #c79c63);
  color: #15120d;
}

.hs-cookie__button--secondary {
  background-color: transparent;
  border-color: rgba(243, 230, 211, 0.55);
  color: #f3e6d3;
}

.hs-cookie__button--primary:hover,
.hs-cookie__button--primary:focus-visible {
  filter: brightness(1.05);
}

.hs-cookie__button--secondary:hover,
.hs-cookie__button--secondary:focus-visible {
  background-color: rgba(243, 230, 211, 0.12);
}

.hs-cookie__button:focus-visible {
  outline: 2px solid #f3e6d3;
  outline-offset: 2px;
}

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

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

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

  .hs-footer__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding-inline: 1rem;
  }

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

  .hs-cookie__button {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-cookie {
    animation: none !important;
  }

  .hs-cookie--visible,
  .hs-cookie--hidden {
    animation: none !important;
  }
}
