.cabecera-interior { gap: 12px; min-width: 0; }
.menu-escritorio { gap: 14px; min-width: 0; }
.menu-escritorio a { letter-spacing: 0.02em; white-space: nowrap; }
.cuenta { position: relative; flex: 0 1 auto; min-width: 0; }
.cuenta-boton,
.cuenta-boton:hover {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 16rem;
  min-height: 44px;
  padding: 0.15rem 0.7rem 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  color: white;
  text-decoration: none;
  transform: none;
}
.cuenta-boton .icono { width: 1.15rem; height: 1.15rem; flex: none; }
.cuenta-texto {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cuenta-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 230px;
  padding: 0.35rem;
  background: white;
  color: var(--azul-noche);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 18, 40, 0.18);
}
.cuenta-menu a,
.cuenta-menu button,
.cuenta-menu button:hover {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--azul-noche);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transform: none;
}
.cuenta-menu a:hover,
.cuenta-menu button:hover { background: #f4f7fb; }
.menu-movil .cuenta-enlace { font-size: 1.15rem; max-width: 100%; }
.ventana-clientes.abierta { width: 265px; }
.ventana-panel {
  padding: 0.58rem 0.78rem 0.55rem;
  border-radius: 16px;
}
.ventana-panel h2 {
  margin: 0.1rem 1.8rem 0.08rem 0;
  font-size: 1.26rem;
}
.ventana-panel p {
  margin: 0 0 0.28rem;
  font-size: 0.84rem;
  line-height: 1.3;
}
.ventana-marca { width: 1.65rem; height: 1.65rem; }
.ventana-boton {
  min-height: 40px;
  margin-top: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
}
.horario { display: grid; gap: 0.15rem; margin: 0; }
.horario span { display: block; }
.ventana-alta { margin-top: 0.42rem; font-size: 0.76rem; }
.ventana-minimizar,
.ventana-minimizar:hover { width: 36px; height: 36px; top: 0.15rem; right: 0.12rem; }
.qr-marco { display: inline-block; margin: 0.4rem 0; padding: 8px; background: white; border-radius: 12px; }
.qr { display: block; width: 180px; height: 180px; }
#clave-manual { letter-spacing: 0.08em; word-break: break-all; }
@media (max-width: 1180px) {
  .menu-escritorio { gap: 10px; }
  .menu-escritorio a { font-size: 12px; letter-spacing: 0; }
  .cuenta-boton { max-width: 12rem; }
}
@media (max-width: 720px) {
  .cuenta-texto {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .cuenta-boton,
  .cuenta-boton:hover { padding: 0.2rem; border-color: transparent; }
}
