/**

 * Tala Cosmetics — Footer (light cream / burgundy accents)

 */



:root {

  --mobile-nav-height: var(--tala-dock-h, 64px);

  --tala-footer-bg: #faf6f1;

  --tala-footer-border: #e8d5d5;

  --tala-footer-text: #3c2928;

  --tala-footer-muted: #786866;

}



.tala-footer {

  margin-top: clamp(32px, 5vw, 56px);

  background: var(--tala-footer-bg);

  color: var(--tala-footer-text);

  direction: rtl;

  text-align: start;

  overflow-x: hidden;

  border-top: 1px solid var(--tala-footer-border);

}



.tala-footer__shell {

  max-width: min(1320px, 100%);

  margin-inline: auto;

  padding: clamp(36px, 5vw, 56px) clamp(16px, 4vw, 32px) clamp(24px, 4vw, 32px);

}



@media (max-width: 1023px) {

  .tala-footer {

    padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px) + 24px);

  }

}



.tala-footer__grid {

  display: grid;

  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(0, 1fr));

  gap: clamp(24px, 4vw, 40px);

  align-items: start;

}



.tala-footer__brand {

  display: flex;

  flex-direction: column;

  gap: 14px;

  min-width: 0;

}



.tala-footer__logo {

  width: 72px;

  height: 72px;

  border-radius: 50%;

  object-fit: contain;
  background: var(--tala-cream-light, #fff9f2);

  border: 2px solid var(--tala-footer-border);

  flex-shrink: 0;

}



.tala-footer__tagline {

  margin: 0;

  font-size: clamp(0.92rem, 1.6vw, 1rem);

  line-height: 1.75;

  font-weight: 700;

  color: var(--tala-burgundy, #941a2e);

  overflow-wrap: anywhere;

}



.tala-footer__mission {

  margin: 0;

  font-size: clamp(0.82rem, 1.4vw, 0.9rem);

  line-height: 1.65;

  color: var(--tala-footer-muted);

  overflow-wrap: anywhere;

}



.tala-footer__social {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 4px;

}



.tala-footer__social-link {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 44px;

  height: 44px;

  border-radius: 50%;

  border: 1px solid var(--tala-footer-border);

  color: var(--tala-burgundy, #941a2e);

  background: #fff;

  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;

}



.tala-footer__social-link:hover,

.tala-footer__social-link:focus-visible {

  background: var(--tala-burgundy, #941a2e);

  border-color: var(--tala-burgundy, #941a2e);

  color: #fff;

  transform: translateY(-2px);

  outline: none;

}



.tala-footer__social-link:focus-visible {

  box-shadow: 0 0 0 3px rgba(148, 26, 46, 0.2);

}



.tala-footer__col {

  min-width: 0;

}



.tala-footer__heading {

  margin: 0 0 14px;

  font-size: clamp(0.95rem, 1.8vw, 1.05rem);

  font-weight: 800;

  color: var(--tala-burgundy, #941a2e);

  padding-bottom: 10px;

  border-bottom: 1px solid var(--tala-footer-border);

  position: relative;

}



.tala-footer__heading::after {

  content: "";

  position: absolute;

  inset-inline-start: 0;

  bottom: -1px;

  width: 36px;

  height: 2px;

  background: var(--tala-olive, #62632d);

  border-radius: 2px;

}



.tala-footer__links {

  list-style: none;

  margin: 0;

  padding: 0;

  display: flex;

  flex-direction: column;

  gap: 2px;

}



.tala-footer__links a {

  display: flex;

  align-items: center;

  min-height: 44px;

  padding: 6px 0;

  color: var(--tala-footer-text);

  text-decoration: none;

  font-size: clamp(0.88rem, 1.5vw, 0.95rem);

  font-weight: 600;

  line-height: 1.4;

  overflow-wrap: anywhere;

  transition: color 0.22s ease, transform 0.22s ease;

}



.tala-footer__links a:hover,

.tala-footer__links a:focus-visible {

  color: var(--tala-burgundy, #941a2e);

  transform: translateX(-3px);

  outline: none;

}



[dir="ltr"] .tala-footer__links a:hover,

[dir="ltr"] .tala-footer__links a:focus-visible {

  transform: translateX(3px);

}



.tala-footer__links a:focus-visible {

  box-shadow: 0 0 0 2px rgba(148, 26, 46, 0.18);

  border-radius: 4px;

}



.tala-footer__links a:active {

  color: var(--tala-burgundy-dark, #781323);

}



.tala-footer__contact-list {

  list-style: none;

  margin: 0 0 16px;

  padding: 0;

  display: flex;

  flex-direction: column;

  gap: 10px;

}



.tala-footer__contact-item {

  display: flex;

  flex-direction: column;

  gap: 2px;

  font-size: clamp(0.86rem, 1.4vw, 0.92rem);

  color: var(--tala-footer-muted);

  overflow-wrap: anywhere;

}



.tala-footer__contact-item strong {

  font-weight: 800;

  color: var(--tala-burgundy, #941a2e);

  font-size: 0.82rem;

}



.tala-footer__contact-item a {

  color: var(--tala-footer-text);

  text-decoration: none;

  transition: color 0.22s ease;

}



.tala-footer__contact-item a:hover,

.tala-footer__contact-item a:focus-visible {

  color: var(--tala-burgundy, #941a2e);

  outline: none;

}



.tala-footer__cta-row {

  display: flex;

  flex-direction: column;

  gap: 10px;

  align-items: stretch;

}



.tala-footer__btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 44px;

  padding: 10px 16px;

  border-radius: 999px;

  font-size: 0.88rem;

  font-weight: 800;

  text-decoration: none;

  border: 1px solid transparent;

  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;

  white-space: normal;

  text-align: center;

  line-height: 1.35;

}



.tala-footer__btn--primary {

  background: var(--tala-burgundy, #941a2e);

  color: #fff;

}



.tala-footer__btn--primary:hover,

.tala-footer__btn--primary:focus-visible {

  background: var(--tala-burgundy-dark, #781323);

  color: #fff;

  transform: translateY(-1px);

  outline: none;

}



.tala-footer__btn--secondary {

  background: #fff;

  color: var(--tala-burgundy, #941a2e);

  border-color: var(--tala-footer-border);

}



.tala-footer__btn--secondary:hover,

.tala-footer__btn--secondary:focus-visible {

  background: var(--tala-footer-border);

  border-color: var(--tala-burgundy, #941a2e);

  color: var(--tala-burgundy-dark, #781323);

  transform: translateY(-1px);

  outline: none;

}



.tala-footer__btn:focus-visible {

  box-shadow: 0 0 0 3px rgba(148, 26, 46, 0.18);

}



.tala-footer__bar {

  margin-top: clamp(28px, 4vw, 40px);

  padding-top: 18px;

  border-top: 1px solid var(--tala-footer-border);

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: space-between;

  gap: 12px 20px;

}



.tala-footer__copy {

  margin: 0;

  font-size: clamp(0.78rem, 1.3vw, 0.86rem);

  color: var(--tala-footer-muted);

  overflow-wrap: anywhere;

}



.tala-footer__legal {

  display: flex;

  flex-wrap: wrap;

  gap: 8px 14px;

  list-style: none;

  margin: 0;

  padding: 0;

}



.tala-footer__legal a {

  display: inline-flex;

  align-items: center;

  min-height: 36px;

  padding: 4px 0;

  color: var(--tala-footer-muted);

  text-decoration: none;

  font-size: clamp(0.76rem, 1.2vw, 0.84rem);

  font-weight: 600;

  transition: color 0.22s ease;

}



.tala-footer__legal a:hover,

.tala-footer__legal a:focus-visible {

  color: var(--tala-burgundy, #941a2e);

  outline: none;

}



.tala-footer__accordion {

  border: none;

  margin: 0;

  padding: 0;

  min-width: 0;

}



.tala-footer__accordion > summary {

  list-style: none;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin: 0;

  padding: 12px 0;

  font-size: clamp(0.95rem, 1.8vw, 1.05rem);

  font-weight: 800;

  color: var(--tala-burgundy, #941a2e);

  border-bottom: 1px solid var(--tala-footer-border);

  user-select: none;

  -webkit-tap-highlight-color: transparent;

}



.tala-footer__accordion > summary::-webkit-details-marker {

  display: none;

}



.tala-footer__accordion-chevron {

  flex-shrink: 0;

  width: 18px;

  height: 18px;

  color: var(--tala-olive, #62632d);

  transition: transform 0.22s ease;

}



.tala-footer__accordion[open] > summary .tala-footer__accordion-chevron {

  transform: rotate(180deg);

}



.tala-footer__accordion-body {

  padding: 8px 0 4px;

}



.tala-footer__accordion--static > summary {

  pointer-events: none;

  padding-bottom: 10px;

}



.tala-footer__accordion--static .tala-footer__accordion-chevron {

  display: none;

}



@media (min-width: 768px) {

  .tala-footer__accordion > summary {

    pointer-events: none;

    cursor: default;

    padding: 0 0 10px;

    border-bottom: 1px solid var(--tala-footer-border);

  }



  .tala-footer__accordion-chevron {

    display: none;

  }



  .tala-footer__accordion-body {

    padding: 0;

  }

}



@media (max-width: 767px) {

  .tala-footer__grid {

    grid-template-columns: 1fr;

    gap: 0;

  }



  .tala-footer__brand {

    padding-bottom: 20px;

    margin-bottom: 4px;

    border-bottom: 1px solid var(--tala-footer-border);

  }



  .tala-footer__col--accordion {

    border-bottom: 1px solid var(--tala-footer-border);

  }



  .tala-footer__col--accordion:last-of-type {

    border-bottom: none;

  }



  .tala-footer__cta-row {

    padding-bottom: 8px;

  }



  .tala-footer__bar {

    flex-direction: column;

    align-items: flex-start;

  }

}



@media (min-width: 768px) and (max-width: 1023px) {

  .tala-footer__grid {

    grid-template-columns: 1fr 1fr;

  }



  .tala-footer__brand {

    grid-column: 1 / -1;

  }

}



@media (min-width: 1024px) {

  .tala-footer__col--accordion {

    display: block;

  }

}



[data-theme="dark"] .tala-footer {

  background: #2a1818;

  border-top-color: rgba(232, 213, 213, 0.25);

  color: #f5ebe0;

}



[data-theme="dark"] .tala-footer__tagline,

[data-theme="dark"] .tala-footer__heading,

[data-theme="dark"] .tala-footer__accordion > summary,

[data-theme="dark"] .tala-footer__contact-item strong {

  color: #f0d8dc;

}



[data-theme="dark"] .tala-footer__mission,

[data-theme="dark"] .tala-footer__copy,

[data-theme="dark"] .tala-footer__legal a,

[data-theme="dark"] .tala-footer__contact-item,

[data-theme="dark"] .tala-footer__links a {

  color: rgba(245, 235, 224, 0.82);

}


