/* Footer styles for Beautycosma */

.bc-footer {
  background: #faf7fa;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  color: #4b3c46;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-top: 2rem;
}

.bc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.75rem;
}

.bc-footer__brand {
  margin-bottom: 2rem;
}

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

.bc-footer__logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffeef5, #f0dce8);
  border: 1px solid rgba(204, 160, 189, 0.45);
}

.bc-footer__logo-text {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #1f1a1d;
}

.bc-footer__tagline {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: #6a5566;
}

.bc-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.bc-footer__column {
  min-width: 0;
}

.bc-footer__heading {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #352732;
  margin: 0 0 0.75rem;
}

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

.bc-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.92rem;
  color: #6a5566;
  text-decoration: none;
  padding: 0.15rem 0;
}

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

.bc-footer__link:hover,
.bc-footer__link:focus-visible {
  color: #332530;
}

.bc-footer__link:hover::before,
.bc-footer__link:focus-visible::before {
  background-color: #c89abf;
  transform: scale(1.25);
}

.bc-footer__link:focus-visible {
  outline: 2px solid #c89abf;
  outline-offset: 3px;
}

.bc-footer__text {
  font-size: 0.92rem;
  color: #6a5566;
  margin: 0 0 0.75rem;
}

.bc-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 154, 191, 0.7);
  background-color: #ffffff;
  color: #3a2b36;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bc-footer__cta:hover,
.bc-footer__cta:focus-visible {
  background-color: #f6edf4;
  border-color: #c89abf;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.bc-footer__cta:focus-visible {
  outline: 2px solid #c89abf;
  outline-offset: 3px;
}

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

.bc-footer__copyright {
  margin: 0;
  font-size: 0.8rem;
  color: #8a748b;
}

/* Cookie banner */

.bc-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  padding: 0.75rem 0.75rem 1rem;
  background: linear-gradient(0deg, rgba(32, 24, 32, 0.86), rgba(32, 24, 32, 0.86));
  color: #fdf9fd;
}

.bc-cookie.is-visible {
  display: block;
  animation: bc-cookie-slide-up 0.28s ease-out forwards;
}

.bc-cookie.is-hiding {
  animation: bc-cookie-slide-down 0.25s ease-in forwards;
}

.bc-cookie__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.bc-cookie__content {
  flex: 1 1 auto;
  min-width: 0;
}

.bc-cookie__title {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.bc-cookie__text {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #f0e5f1;
}

.bc-cookie__link {
  font-size: 0.85rem;
  color: #f7c5df;
  text-decoration: underline;
}

.bc-cookie__link:hover,
.bc-cookie__link:focus-visible {
  color: #ffdaec;
}

.bc-cookie__link:focus-visible {
  outline: 2px solid #f7c5df;
  outline-offset: 2px;
}

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

.bc-cookie__btn {
  min-width: 7.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bc-cookie__btn--secondary {
  background: transparent;
  color: #f7c5df;
  border-color: rgba(247, 197, 223, 0.75);
}

.bc-cookie__btn--secondary:hover,
.bc-cookie__btn--secondary:focus-visible {
  background-color: rgba(247, 197, 223, 0.12);
  box-shadow: 0 0 0 1px rgba(247, 197, 223, 0.8);
}

.bc-cookie__btn--primary {
  background: #f7c5df;
  color: #23141f;
}

.bc-cookie__btn--primary:hover,
.bc-cookie__btn--primary:focus-visible {
  background: #ffd4e7;
  box-shadow: 0 0 0 1px #ffd4e7;
}

.bc-cookie__btn:focus-visible {
  outline: 2px solid #ffd4e7;
  outline-offset: 2px;
}

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

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

/* Responsive footer & cookie banner */

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

  .bc-footer__column--contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .bc-footer__inner {
    padding-inline: 1.1rem;
  }

  .bc-footer__grid {
    grid-template-columns: 1fr;
  }

  .bc-footer__bottom {
    text-align: left;
  }

  .bc-cookie__inner {
    flex-direction: column;
  }

  .bc-cookie__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 400px) {
  .bc-cookie__btn {
    flex: 1 1 100%;
    text-align: center;
  }
}
