/* Identidade oficial ClosetFy. Os caminhos visuais ficam centralizados neste arquivo. */
:root {
  --closetfy-logo: url('/assets/brand/closetfy/logo/closetfy-logo-light.png');
  --closetfy-icon: url('/assets/brand/closetfy/icon/closetfy-icon-light.png');
}

[data-theme="reading"] {
  --closetfy-logo: url('/assets/brand/closetfy/logo/closetfy-logo-reading.png');
  --closetfy-icon: url('/assets/brand/closetfy/icon/closetfy-icon-reading.png');
}

[data-theme="dark"] {
  --closetfy-logo: url('/assets/brand/closetfy/logo/closetfy-logo-dark.png');
  --closetfy-icon: url('/assets/brand/closetfy/icon/closetfy-icon-dark.png');
}

.footer__logo,
.rv-loading__logo,
.auth-brand:not(.auth-product-brand--image),
.doc-brand,
.action-brand,
.admin-auth__brand,
.mobile-home-institutional__brand {
  display: inline-block;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  background: var(--closetfy-logo) left center / contain no-repeat;
}

.footer__logo > *,
.rv-loading__logo > *,
.auth-brand:not(.auth-product-brand--image) > *,
.doc-brand > *,
.action-brand > *,
.admin-auth__brand > *,
.mobile-home-institutional__brand > * { visibility: hidden; }

/* O cabeçalho usa o wordmark editorial compacto aprovado para a navegação. */
.navbar__logo,
.mobile-home-header__logo {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  overflow: visible;
  color: var(--text-primary) !important;
  background: none;
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: 0 !important;
  font-weight: 600;
  letter-spacing: -.055em !important;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.navbar__logo::before,
.mobile-home-header__logo::before {
  content: "ClosetFy";
  font-size: 1.85rem;
}
.navbar__logo > *,
.mobile-home-header__logo > * { display: none; }
.footer__logo { width: 148px; height: 48px; }
.rv-loading__logo { width: min(230px, 64vw); height: 78px; background-position: center; }
.auth-brand:not(.auth-product-brand--image),
.doc-brand,
.action-brand,
.admin-auth__brand { width: 170px; min-height: 52px; }
.mobile-home-institutional__brand { width: 150px; min-height: 50px; }

.adm-sidebar__brand-symbol {
  color: transparent !important;
  background: var(--closetfy-icon) center / contain no-repeat !important;
}

/* O controle de tema do Marketplace vive nos Heroes de perfil. */
.btn-tema-float { display: none !important; }

@media (max-width: 599px) {
  .navbar__logo::before,
  .mobile-home-header__logo::before { font-size: 1.65rem; }
  .auth-brand:not(.auth-product-brand--image) { width: 132px; min-height: 42px; }
}
