/**
 * Uomo — site footer (uomo-footer-* izole sınıflar)
 * Sepet / hesap ile aynı dil: Urbanist, açık zemin, ince border.
 */

.uomo-footer {
  --uomo-ft-accent: #111111;
  --uomo-ft-muted: #6b7280;
  --uomo-ft-border: #e5e7eb;
  --uomo-ft-surface: #ffffff;
  --uomo-ft-bg: #f9fafb;
  --uomo-ft-radius: 10px;
  --uomo-ft-shell-max: 1400px;
  font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--uomo-ft-accent);
  background: var(--uomo-ft-bg);
  border-top: 1px solid var(--uomo-ft-border);
}

.uomo-footer__shell {
  max-width: var(--uomo-ft-shell-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .uomo-footer__shell {
    padding: 0 1.5rem;
  }
}

.uomo-footer__main {
  padding: 2.25rem 0 1.75rem;
}

@media (min-width: 992px) {
  .uomo-footer__main {
    padding: 3rem 0 2.25rem;
  }
}

.uomo-footer__grid {
  display: grid;
  gap: 1.75rem 2rem;
}

@media (min-width: 768px) {
  .uomo-footer__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
    align-items: start;
  }
}

.uomo-footer__brand {
  min-width: 0;
}

.uomo-footer__logo {
  display: inline-block;
  margin-bottom: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.uomo-footer__logo-img {
  display: block;
  max-height: 44px;
  width: auto;
}

.uomo-footer__logo-text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.uomo-footer__meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.uomo-footer__meta-item,
.uomo-footer__meta-item a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--uomo-ft-muted);
  text-decoration: none;
}

.uomo-footer__meta-item a:hover {
  color: var(--uomo-ft-accent);
}

.uomo-footer__meta-item svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
}

.uomo-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.uomo-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--uomo-ft-border);
  border-radius: 999px;
  background: var(--uomo-ft-surface);
  color: var(--uomo-ft-accent);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.uomo-footer__social:hover {
  border-color: var(--uomo-ft-accent);
  background: var(--uomo-ft-accent);
  color: #fff;
}

.uomo-footer__social i {
  font-size: 0.875rem;
  line-height: 1;
}

.uomo-footer__menus {
  display: grid;
  gap: 1.35rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 992px) {
  .uomo-footer__menus {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.uomo-footer__menu-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--uomo-ft-accent);
}

.uomo-footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.uomo-footer__menu-link {
  font-size: 0.875rem;
  color: var(--uomo-ft-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.uomo-footer__menu-link:hover {
  color: var(--uomo-ft-accent);
}

.uomo-footer__bottom {
  border-top: 1px solid var(--uomo-ft-border);
  background: var(--uomo-ft-surface);
  padding: 1rem 0;
}

.uomo-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.uomo-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--uomo-ft-muted);
  max-width: 42rem;
}

.uomo-footer__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--uomo-ft-muted);
}

.uomo-footer__trust img {
  display: block;
  max-height: 28px;
  width: auto;
}

/* Mobile bottom bar */
.uomo-footer-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--uomo-ft-border, #e5e7eb);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.2rem 0 calc(0.2rem + env(safe-area-inset-bottom));
  font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.uomo-footer-mobile__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0.35rem;
}

.uomo-footer-mobile__nav--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uomo-footer-mobile__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-height: 48px;
  padding: 0.35rem 0.25rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1.15;
  transition: color 0.15s ease;
}

.uomo-footer-mobile__link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.uomo-footer-mobile__link:hover,
.uomo-footer-mobile__link.is-active {
  color: #111111;
}

.uomo-footer-mobile__link--wa {
  color: #16a34a;
}

.uomo-footer-mobile__link--wa:hover {
  color: #15803d;
}

@media (min-width: 768px) {
  .uomo-footer-mobile {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom));
  }

  /* Cart / checkout already have their own mobile bars */
  body.uomo-cart-body,
  body.uomo-checkout-body {
    padding-bottom: calc(var(--uomo-cart-mobile-bar-h, 72px) + env(safe-area-inset-bottom));
  }

  body.uomo-checkout-body {
    padding-bottom: calc(var(--uomo-checkout-mobile-bar-h, 72px) + env(safe-area-inset-bottom));
  }

  body.uomo-cart-body .uomo-footer-mobile,
  body.uomo-checkout-body .uomo-footer-mobile {
    display: none !important;
  }

  .uomo-footer {
    margin-bottom: 0.25rem;
  }
}
