.auth-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-soft);
  font-weight: 850;
  font-size: .88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-nav-user strong {
  color: var(--heading);
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-nav-session-note {
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  background: var(--accent-soft);
  border-radius: 22px;
  padding: 16px;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.auth-nav-session-note strong {
  color: var(--heading);
}

.auth-nav-session-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-nav-link-disabled {
  opacity: .52;
  pointer-events: none;
}

@media (max-width: 820px) {
  .auth-nav-user {
    max-width: 100%;
    justify-content: center;
  }
}


/* ===== V85 Header único, sesión estable y tema solo con iconos ===== */
.topbar-v15 {
  border-bottom: 1px solid var(--border, #e6ddd3);
  background: color-mix(in srgb, var(--surface, #fffaf5) 92%, transparent);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-v15 {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-links-v15 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
}

.nav-main-v15,
.nav-actions-v15 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-main-v15 {
  justify-content: center;
  flex: 1;
}

.nav-actions-v15 {
  justify-content: flex-end;
}

.nav-link {
  color: var(--text-soft, #5d6778);
  text-decoration: none;
  font-weight: 850;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--heading, #101928);
  background: var(--surface-alt, #f2eadf);
}

.auth-nav-user.auth-nav-user-link {
  text-decoration: none;
}

.auth-nav-user span {
  color: var(--text-soft, #5d6778);
}

.theme-chip-icon-only {
  width: 78px;
  min-width: 78px;
  justify-content: center;
  gap: 8px;
  padding-inline: 12px;
}

.theme-chip-icon-only .theme-label-hidden {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.theme-icon {
  font-size: .95rem;
  line-height: 1;
  color: var(--heading, #101928);
}

.btn-subtle {
  opacity: .88;
}

@media (max-width: 960px) {
  .nav-v15 {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
  }

  .nav-links-v15,
  .nav-main-v15,
  .nav-actions-v15 {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}


/* ===== V86 Header forzado + Comprar con Vendidas ===== */
.topbar-v15[data-auth-nav-header],
.topbar-v15 {
  border-bottom: 1px solid var(--border, #e6ddd3);
  background: color-mix(in srgb, var(--surface, #fffaf5) 94%, transparent);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-v15 {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-links-v15 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
}

.nav-main-v15,
.nav-actions-v15 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-main-v15 {
  justify-content: center;
  flex: 1;
}

.nav-actions-v15 {
  justify-content: flex-end;
}

.nav-link {
  color: var(--text-soft, #5d6778);
  text-decoration: none;
  font-weight: 850;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--heading, #101928);
  background: var(--surface-alt, #f2eadf);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  border: 1px solid var(--border, #e6ddd3);
  border-radius: 18px;
  background: var(--surface, #fffaf5);
  box-shadow: 0 18px 45px rgba(20, 28, 42, .16);
  padding: 8px;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  text-decoration: none;
  color: var(--text, #263348);
  font-weight: 850;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-alt, #f2eadf);
  color: var(--heading, #101928);
}

.auth-nav-user.auth-nav-user-link {
  text-decoration: none;
}

.auth-nav-user span {
  color: var(--text-soft, #5d6778);
}

.theme-chip-icon-only {
  width: 78px;
  min-width: 78px;
  justify-content: center;
  gap: 8px;
  padding-inline: 12px;
}

.theme-chip-icon-only .theme-label-hidden {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.theme-icon {
  font-size: .95rem;
  line-height: 1;
  color: var(--heading, #101928);
}

@media (max-width: 960px) {
  .nav-v15 {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
  }

  .nav-links-v15,
  .nav-main-v15,
  .nav-actions-v15 {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    width: 100%;
    margin-top: 6px;
  }
}


/* ===== V87 Vendidas visible dentro de Comprar ===== */
.nav-buy-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--border, #e6ddd3) 72%, transparent);
  background: color-mix(in srgb, var(--surface, #fffaf5) 88%, transparent);
  border-radius: 999px;
  padding: 3px;
}

.nav-buy-group > .nav-link {
  margin: 0;
}

.nav-sold-pill {
  text-decoration: none;
  color: var(--text-soft, #5d6778);
  font-size: .82rem;
  font-weight: 950;
  padding: 8px 10px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.nav-sold-pill:hover,
.nav-sold-pill.is-active {
  background: color-mix(in srgb, var(--accent, #b98547) 16%, var(--surface-alt, #f2eadf));
  color: var(--heading, #101928);
}

@media (max-width: 960px) {
  .nav-buy-group {
    flex-wrap: wrap;
  }
}


/* ===== V88 Vendidas no va en header ===== */
.nav-buy-group,
.nav-sold-pill,
.nav-dropdown-menu[data-buy-menu] {
  display: none !important;
}


/* ===== V90 header estable sobre archivos reales ===== */
.topbar-v15[data-auth-nav-header="v90-forced-header-realfiles"] .nav-v15 {
  min-height: 72px;
}

.topbar-v15[data-auth-nav-header="v90-forced-header-realfiles"] .nav-main-v15 {
  order: 1;
}

.topbar-v15[data-auth-nav-header="v90-forced-header-realfiles"] .nav-actions-v15 {
  order: 2;
}

.topbar-v15[data-auth-nav-header="v90-forced-header-realfiles"] [data-theme-label] {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ===== v217 Header con sesión de comprador/cliente ===== */
.auth-nav-customer-bell-v217 {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 6px;
  min-width: 46px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent, #b77943) 28%, var(--border, #e6ddd3));
  background: color-mix(in srgb, var(--surface, #fffaf5) 86%, var(--accent, #b77943) 14%);
  color: var(--heading, #101928);
  text-decoration: none;
  font-weight: 900;
}

.auth-nav-customer-bell-v217 strong {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--heading, #101928);
  color: var(--surface, #fffaf5);
  font-size: .72rem;
  line-height: 1;
}

.auth-nav-customer-user-v217 {
  border-color: color-mix(in srgb, var(--accent, #b77943) 34%, var(--border, #e6ddd3));
}

@media (max-width: 760px) {
  .auth-nav-customer-bell-v217,
  .auth-nav-customer-user-v217 {
    width: 100%;
    justify-content: center;
  }
}


/* V246.13 - Campanita global de notificaciones para publicador/vendedor */
.seller-header-bell-v24613,
.seller-header-bell-v24612 {
  position: relative;
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--border, #d8c8b6) 78%, var(--accent, #b06f38) 22%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface, #fffaf4) 92%, var(--accent-soft, #f5e5d3));
  color: var(--heading, #1f2937);
  text-decoration: none;
  font-weight: 950;
}

.seller-header-bell-v24613:hover,
.seller-header-bell-v24613:focus-visible,
.seller-header-bell-v24612:hover,
.seller-header-bell-v24612:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--accent, #b06f38) 62%, var(--border, #d8c8b6));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #b06f38) 16%, transparent);
}

.seller-header-bell-v24613.has-unread,
.seller-header-bell-v24612.has-unread {
  color: var(--accent-strong, #8a4f1d);
}

.seller-header-bell-v24613 strong,
.seller-header-bell-v24612 strong {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  border: 2px solid var(--surface, #fffaf4);
  background: #ef4444;
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(239,68,68,.28);
}


/* V246.14 - Badge global de atención pendiente */
.seller-header-bell-v24614 {
  position: relative;
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--border, #d8c8b6) 78%, var(--accent, #b06f38) 22%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface, #fffaf4) 92%, var(--accent-soft, #f5e5d3));
  color: var(--heading, #1f2937);
  text-decoration: none;
  font-weight: 950;
}

.seller-header-bell-v24614:hover,
.seller-header-bell-v24614:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--accent, #b06f38) 62%, var(--border, #d8c8b6));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #b06f38) 16%, transparent);
}

.seller-header-bell-v24614.has-unread {
  color: var(--accent-strong, #8a4f1d);
}

.seller-header-bell-v24614 strong {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  border: 2px solid var(--surface, #fffaf4);
  background: #ef4444;
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(239,68,68,.28);
}

/* V246.19 · Campanita vendedor con desglose contextual */
.seller-header-bell-wrap-v24619 {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.seller-header-bell-v24619.has-mix::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.75;
  position: absolute;
  right: 3px;
  bottom: 3px;
}

.seller-attention-menu-v24619 {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 9999;
  width: min(340px, calc(100vw - 24px));
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 18px;
  background: var(--surface, #ffffff);
  color: var(--text, #182238);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
  padding: 10px;
}

.seller-attention-menu-v24619[hidden] {
  display: none !important;
}

.seller-attention-menu-head {
  padding: 8px 10px 10px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  margin-bottom: 6px;
}

.seller-attention-menu-head strong,
.seller-attention-menu-head small,
.seller-attention-menu-row strong,
.seller-attention-menu-row small {
  display: block;
}

.seller-attention-menu-head small,
.seller-attention-menu-row small {
  opacity: 0.72;
  font-size: 0.78rem;
  line-height: 1.25;
}

.seller-attention-menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border-radius: 14px;
}

.seller-attention-menu-row:hover,
.seller-attention-menu-row:focus-visible {
  background: color-mix(in srgb, currentColor 7%, transparent);
  outline: none;
}

.seller-attention-menu-row b {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-size: 0.82rem;
  padding: 0 8px;
}

html[data-theme='dark'] .seller-attention-menu-v24619,
body.theme-dark .seller-attention-menu-v24619,
.dark .seller-attention-menu-v24619 {
  background: #111827;
  color: #f8fafc;
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 720px) {
  .seller-attention-menu-v24619 {
    right: -72px;
    width: min(320px, calc(100vw - 20px));
  }
}

/* V248.90 · Campanita del header comprador: el contador del header es rojo con texto blanco.
   No modifica los círculos/badges del panel izquierdo del portal. */
.auth-nav-customer-bell-v217 strong {
  background: #ef4444 !important;
  color: #fff !important;
  border: 2px solid var(--surface, #fffaf4);
  box-shadow: 0 8px 18px rgba(239, 68, 68, .28);
}
.auth-nav-customer-bell-v217 strong[hidden],
.auth-nav-customer-bell-v217 strong:empty { display: none !important; }

/* ===== V249.19 · Header móvil global con menú hamburguesa auto-retraíble ===== */
.auth-nav-mobile-controls-v24919,
.auth-nav-mobile-panel-head-v24919 {
  display: none;
}

.auth-nav-mobile-panel-v24919 {
  display: contents;
}

.auth-nav-mobile-toggle-v24919 {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent, #b77943) 32%, var(--border, #e6ddd3));
  background: color-mix(in srgb, var(--surface, #fffaf5) 88%, var(--accent, #b77943) 12%);
  color: var(--heading, #101928);
  display: inline-grid;
  place-items: center;
  gap: 4px;
  padding: 9px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.auth-nav-mobile-toggle-v24919 span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.auth-nav-mobile-toggle-v24919[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.auth-nav-mobile-toggle-v24919[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.auth-nav-mobile-toggle-v24919[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.auth-nav-mobile-toggle-v24919:hover,
.auth-nav-mobile-toggle-v24919:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--accent, #b77943) 70%, var(--border, #e6ddd3));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #b77943) 18%, transparent);
}

@media (max-width: 900px) {
  .topbar-v15[data-auth-nav-header],
  .topbar-v15 {
    z-index: 10000;
  }

  .topbar-v15 .nav-v15,
  .topbar-v15[data-auth-nav-header] .nav-v15 {
    min-height: 62px;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 10px;
    padding-block: 8px !important;
  }

  .topbar-v15 .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .topbar-v15 .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .topbar-v15 .brand-copy {
    min-width: 0;
  }

  .topbar-v15 .brand-title {
    display: block;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .92rem;
    line-height: 1.05;
  }

  .topbar-v15 .brand-subtitle {
    display: block;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .68rem;
    line-height: 1.05;
  }

  .nav-links-v15 {
    width: auto !important;
    flex: 0 0 auto;
    justify-content: flex-end !important;
    gap: 8px;
  }

  .auth-nav-mobile-controls-v24919 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .auth-nav-mobile-controls-v24919 .auth-nav-customer-bell-v217,
  .auth-nav-mobile-controls-v24919 .seller-header-bell-v24614,
  .auth-nav-mobile-controls-v24919 .seller-header-bell-v24619 {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }

  .auth-nav-mobile-panel-v24919 {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 72px);
    left: 12px;
    right: 12px;
    z-index: 10001;
    display: grid;
    gap: 10px;
    max-height: calc(100dvh - 90px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--accent, #b77943) 18%, var(--border, #e6ddd3));
    border-radius: 22px;
    background: color-mix(in srgb, var(--surface, #fffaf5) 96%, transparent);
    color: var(--text, #263348);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    transform: translateY(-8px) scale(.985);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    backdrop-filter: blur(14px);
  }

  [data-auth-nav-managed][data-auth-mobile-open='1'] .auth-nav-mobile-panel-v24919 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .auth-nav-mobile-panel-head-v24919 {
    display: grid;
    gap: 2px;
    padding: 4px 4px 10px;
    border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  }

  .auth-nav-mobile-panel-head-v24919 strong {
    color: var(--heading, #101928);
    font-size: 1rem;
  }

  .auth-nav-mobile-panel-head-v24919 small {
    color: var(--text-soft, #5d6778);
    font-weight: 750;
  }

  .auth-nav-mobile-panel-v24919 .nav-main-v15,
  .auth-nav-mobile-panel-v24919 .nav-actions-v15 {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-content: stretch !important;
    align-items: stretch;
  }

  .auth-nav-mobile-panel-v24919 .nav-link,
  .auth-nav-mobile-panel-v24919 .btn,
  .auth-nav-mobile-panel-v24919 .auth-nav-user,
  .auth-nav-mobile-panel-v24919 .theme-chip-icon-only {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    min-height: 44px;
  }

  .auth-nav-mobile-panel-v24919 .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--border, #e6ddd3) 74%, transparent);
    background: color-mix(in srgb, var(--surface-alt, #f2eadf) 42%, transparent);
  }

  .auth-nav-mobile-panel-v24919 .nav-link.is-active {
    border-color: color-mix(in srgb, var(--accent, #b77943) 42%, var(--border, #e6ddd3));
    background: color-mix(in srgb, var(--accent, #b77943) 14%, var(--surface-alt, #f2eadf));
  }

  .auth-nav-mobile-panel-v24919 .auth-nav-user {
    max-width: 100%;
  }

  .auth-nav-mobile-panel-v24919 .auth-nav-user strong {
    max-width: 100%;
  }

  .auth-nav-mobile-panel-v24919 .seller-header-bell-wrap-v24619,
  .auth-nav-mobile-panel-v24919 .auth-nav-customer-bell-v217 {
    display: none !important;
  }

  .seller-attention-menu-v24619 {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 72px);
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 90px);
    overflow: auto;
  }
}

@media (max-width: 420px) {
  .topbar-v15 .brand-title {
    max-width: 42vw;
    font-size: .86rem;
  }

  .topbar-v15 .brand-subtitle {
    display: none;
  }

  .auth-nav-mobile-panel-v24919 {
    left: 8px;
    right: 8px;
    border-radius: 20px;
  }
}

/* ===== V249.20 · Header móvil compacto real en una sola fila =====
   Objetivo: corregir la regresión visual donde el menú hamburguesa quedaba en una
   segunda fila/panel horizontal. Esta capa anula reglas históricas de styles.css
   (v232/v233) que forzaban flex-wrap/flex-basis:100% bajo 1040px. */
@media (max-width: 1040px) {
  .topbar-v15[data-auth-nav-header] {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .topbar-v15[data-auth-nav-header] .nav-v15,
  .topbar-v15[data-auth-nav-header] .container.nav.nav-v15,
  .topbar-v15 .container.nav.nav-v15[data-auth-nav-fixed-row] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 58px !important;
    gap: 8px !important;
    padding-block: 8px !important;
  }

  .topbar-v15[data-auth-nav-header] .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 142px) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .topbar-v15[data-auth-nav-header] .brand-mark {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    object-fit: contain !important;
  }

  .topbar-v15[data-auth-nav-header] .brand-copy {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .topbar-v15[data-auth-nav-header] .brand-title {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: clamp(.78rem, 3.7vw, .95rem) !important;
    line-height: 1.05 !important;
    letter-spacing: .10em !important;
  }

  .topbar-v15[data-auth-nav-header] .brand-subtitle {
    display: none !important;
  }

  .topbar-v15[data-auth-nav-header] .nav-links-v15 {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    min-width: max-content !important;
  }

  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-toggle-v24919,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .auth-nav-customer-bell-v217,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .seller-header-bell-v24614,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .seller-header-bell-v24619 {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .auth-nav-customer-bell-v217 span,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .seller-header-bell-v24619 span,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .seller-header-bell-v24614 span {
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-panel-v24919 {
    top: calc(env(safe-area-inset-top, 0px) + 62px) !important;
  }

  .topbar-v15[data-auth-nav-header] .seller-attention-menu-v24619 {
    top: calc(env(safe-area-inset-top, 0px) + 62px) !important;
  }
}

@media (max-width: 420px) {
  .topbar-v15[data-auth-nav-header] .nav-v15,
  .topbar-v15[data-auth-nav-header] .container.nav.nav-v15 {
    min-height: 54px !important;
    padding-block: 7px !important;
  }

  .topbar-v15[data-auth-nav-header] .brand {
    max-width: calc(100vw - 128px) !important;
    gap: 7px !important;
  }

  .topbar-v15[data-auth-nav-header] .brand-mark {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
  }

  .topbar-v15[data-auth-nav-header] .brand-title {
    font-size: .78rem !important;
    letter-spacing: .09em !important;
  }

  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-toggle-v24919,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .auth-nav-customer-bell-v217,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .seller-header-bell-v24614,
  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-controls-v24919 .seller-header-bell-v24619 {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .topbar-v15[data-auth-nav-header] .auth-nav-mobile-panel-v24919,
  .topbar-v15[data-auth-nav-header] .seller-attention-menu-v24619 {
    top: calc(env(safe-area-inset-top, 0px) + 58px) !important;
  }
}


/* ===== V249.21 · Menú móvil: etiqueta de sesión más clara y panel menos invasivo ===== */
@media (max-width: 1040px) {
  .auth-nav-mobile-panel-v24919 .auth-nav-customer-user-v217 span,
  .auth-nav-mobile-panel-v24919 .auth-nav-user span {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .78;
  }

  .auth-nav-mobile-panel-v24919 .auth-nav-user strong {
    font-size: .92rem;
  }

  .auth-nav-mobile-panel-v24919 .nav-actions-v15 {
    gap: 7px;
  }
}

@media (max-width: 680px) {
  .auth-nav-mobile-panel-v24919 {
    max-height: calc(100dvh - 76px - env(safe-area-inset-top, 0px));
    overflow: auto;
  }
}

/* ===== V249.89 · Header público: cliente visible con iniciales nombre/apellido ===== */
.auth-nav-customer-initials-header-v24989 {
  min-width: 0;
  max-width: 132px;
  padding-inline: 12px;
}

.auth-nav-customer-initials-header-v24989 strong {
  min-width: 2.1em;
  text-align: center;
  letter-spacing: .08em;
  font-weight: 950;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 760px) {
  .auth-nav-customer-initials-header-v24989 {
    width: auto;
    min-width: 92px;
  }
}

/* ===== V249.91 · Campanita cliente estable en header público y portal =====
   Regla: abrir campanita/menú NO marca como leído. Solo muestra ruta directa o menú por sección. */
.customer-header-bell-wrap-v24902 {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.auth-nav-customer-bell-v217.has-unread,
.notification-bell-v138.has-unread {
  border-color: color-mix(in srgb, #ef4444 38%, var(--border, #e5e7eb));
  box-shadow: 0 0 0 3px color-mix(in srgb, #ef4444 10%, transparent);
}
.auth-nav-customer-bell-v217.has-mix::after,
.notification-bell-v138.has-mix::after {
  content: '';
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: .68;
}
.customer-attention-menu-v24902 {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10050;
  width: min(360px, calc(100vw - 24px));
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: var(--surface, #fffaf4);
  color: var(--text, #182238);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  padding: 10px;
}
.customer-attention-menu-v24902[hidden] { display: none !important; }
.customer-attention-menu-head-v24902 {
  padding: 8px 10px 10px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  margin-bottom: 6px;
}
.customer-attention-menu-head-v24902 strong,
.customer-attention-menu-head-v24902 small,
.customer-attention-menu-row-v24902 strong,
.customer-attention-menu-row-v24902 small {
  display: block;
}
.customer-attention-menu-head-v24902 small,
.customer-attention-menu-row-v24902 small {
  opacity: .72;
  font-size: .78rem;
  line-height: 1.25;
}
.customer-attention-menu-row-v24902 {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 10px;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
}
.customer-attention-menu-row-v24902:hover,
.customer-attention-menu-row-v24902:focus-visible {
  background: color-mix(in srgb, currentColor 7%, transparent);
  outline: none;
}
.customer-attention-menu-row-v24902 b {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-size: .82rem;
  padding: 0 8px;
}
html[data-theme='dark'] .customer-attention-menu-v24902,
body.theme-dark .customer-attention-menu-v24902,
.dark .customer-attention-menu-v24902 {
  background: #111827;
  color: #f8fafc;
  border-color: rgba(255,255,255,.14);
}
@media (max-width: 680px) {
  .customer-attention-menu-v24902 {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(340px, calc(100vw - 20px));
  }
}
