/* Footer styles for Fresh Petal Store */

.fps-footer {
  background: radial-gradient(circle at top left, #ffeef5 0, #fdf7fb 40%, #f6f3f4 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 3rem;
  position: relative;
}

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

.fps-footer__title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: #2a1b23;
}

.fps-footer__text {
  margin: 0;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: #5d4854;
  max-width: 32rem;
}

.fps-footer__nav-title {
  font-family: "Work Sans", 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: #7a6470;
}

.fps-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

.fps-footer__link {
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #4b3742;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.fps-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f06374, #f7a6c7);
  transition: width 0.18s ease;
}

.fps-footer__link:hover::after,
.fps-footer__link:focus-visible::after {
  width: 100%;
}

.fps-footer__link:hover,
.fps-footer__link:focus-visible {
  color: #e05572;
}

.fps-footer__link:focus-visible {
  outline: 2px solid #f06374;
  outline-offset: 2px;
}

.fps-footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #4b3742;
}

.fps-footer__label {
  font-weight: 600;
  color: #2a1b23;
}

.fps-footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.9rem 1.25rem 1.2rem;
}

.fps-footer__copyright {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #7a6470;
}

/* Cookie banner */

.fps-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  background: transparent;
  pointer-events: none;
}

.fps-cookie[hidden] {
  display: none !important;
}

.fps-cookie--visible {
  display: block;
}

.fps-cookie__inner {
  max-width: 1200px;
  margin: 0 auto 1rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(240, 99, 116, 0.2);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  pointer-events: auto;
}

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

.fps-cookie__title {
  margin: 0 0 0.4rem;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #2a1b23;
}

.fps-cookie__desc {
  margin: 0 0 0.35rem;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  color: #4b3742;
}

.fps-cookie__link {
  display: inline-block;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: #e05572;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.fps-cookie__link:hover,
.fps-cookie__link:focus-visible {
  color: #c53b5b;
}

.fps-cookie__link:focus-visible {
  outline: 2px solid #f06374;
  outline-offset: 2px;
}

.fps-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.fps-cookie__btn {
  min-width: 130px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.5rem 1.2rem;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease, border-color 0.18s ease;
}

.fps-cookie__btn--secondary {
  background: #ffffff;
  color: #4b3742;
  border-color: rgba(0, 0, 0, 0.12);
}

.fps-cookie__btn--secondary:hover {
  background: #f4f0f2;
}

.fps-cookie__btn--primary {
  background: #f06374;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(240, 99, 116, 0.45);
}

.fps-cookie__btn--primary:hover {
  background: #e05572;
}

.fps-cookie__btn:hover {
  transform: translateY(-1px);
}

.fps-cookie__btn:focus-visible {
  outline: 2px solid #2a1b23;
  outline-offset: 2px;
}

/* Cookie hide animation */

.fps-cookie--hiding .fps-cookie__inner {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Responsive footer & cookie */

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

@media (max-width: 720px) {
  .fps-footer__inner {
    padding: 2rem 1.25rem 1.5rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .fps-footer__nav-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .fps-cookie__inner {
    margin: 0.75rem 0.75rem 0.9rem;
    padding: 0.9rem 0.9rem 0.9rem;
    flex-direction: column;
  }

  .fps-cookie__actions {
    width: 100%;
    justify-content: stretch;
  }

  .fps-cookie__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fps-cookie,
  .fps-cookie * {
    transition: none !important;
    animation: none !important;
  }
}
