/* Shared site footer (Beauty Check style) — used on Bazak + Beauty Check */
.footer-section {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-section .container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.footer-section .footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section .footer-brand {
  text-align: right;
}

.footer-section .footer-logo {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.footer-section .footer-logo.brand-logo,
.footer-section .brand-logo {
  height: 4rem;
  width: auto;
  margin: 0 0 16px;
  border-radius: 12px;
  object-fit: contain;
}

.footer-section .footer-description {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

.footer-section .footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-section .footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  text-align: right;
}

.footer-section .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section .footer-column li {
  margin-bottom: 12px;
}

.footer-section .footer-column a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  text-align: right;
  display: block;
}

.footer-section .footer-column a:hover {
  color: #BB8588;
}

.footer-section .footer-social {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-section .footer-social h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  width: 100%;
}

.footer-section .social-links {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.footer-section .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section .social-link:hover {
  background: #BB8588;
  color: #fff;
  transform: translateY(-2px);
}

.footer-section .footer-phone-text,
.footer-section .footer-contact-text {
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section .footer-contact-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  align-self: flex-start;
  text-decoration: none;
}

.footer-section .footer-contact-row + .footer-contact-row {
  margin-top: 12px;
}

.footer-section .footer-contact-row .social-link {
  pointer-events: none;
}

.footer-section .footer-contact-row:hover .footer-phone-text,
.footer-section .footer-contact-row:hover .footer-contact-text {
  color: #BB8588;
}

.footer-section .footer-contact-row:hover .social-link {
  background: #BB8588;
  color: #fff;
  transform: translateY(-2px);
}

.footer-section .footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-section .footer-copyright p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-section .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-section .footer-brand,
  .footer-section .footer-column h4,
  .footer-section .footer-column a,
  .footer-section .footer-social {
    text-align: center;
  }

  .footer-section .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-section .footer-social {
    align-items: center;
  }

  .footer-section .social-links {
    justify-content: center;
  }

  .footer-section .footer-contact-row {
    justify-content: center;
    align-self: center;
  }

  .footer-section .footer-bottom {
    justify-content: center;
  }
}

/* Clear fixed mobile bottom nav on Bazak SPA */
@media (max-width: 768px) {
  body:has(.bottom-nav) .footer-section {
    padding-bottom: calc(24px + var(--bottom-nav-height, 72px) + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .footer-section {
    padding-top: 40px;
    padding-inline: 0;
  }

  body:not(:has(.bottom-nav)) .footer-section {
    padding-bottom: 18px;
  }

  .footer-section .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-section .footer-logo {
    font-size: 28px;
  }

  .footer-section .social-links {
    gap: 12px;
  }

  .footer-section .social-link {
    width: 36px;
    height: 36px;
  }
}
