/* Event page shell: header, footer, menus, and mobile search. Homepage hero, grids, and carousels stay in example-home.css. */

/* PURPL example landing — SeatGeek-inspired discovery, scoped to body.ex-home */

:root {
  --ex-purple: #3d15ce;
  --ex-purple-mid: #6b3dd4;
  --ex-purple-light: #9046ea;
  --ex-black: #050508;
  --ex-gray-50: #fafafa;
  --ex-gray-100: #f4f4f5;
  --ex-gray-400: #a1a1aa;
  --ex-gray-500: #52525b;
  --ex-gray-600: #52525b;
  --ex-gray-700: #3f3f46;
  --ex-gray-800: #27272a;
  --ex-gray-900: #18181b;
  --ex-radius: 16px;
  --ex-radius-sm: 12px;
  --ex-max: 1200px;
  /* Carrusel destacado: puede ser algo más ancho que --ex-max en pantallas grandes */
  --ex-spotlight-max: 1572px;
  --ex-hero-pad-x: 24px;
  --ex-header-h: 76px;
  --ex-hero-header-btn: 36px;
}

body.ex-home {
  background: #f4f4f5;
  color: var(--ex-gray-900);
  font-family: var(--font-roobert);
  /* Extensión del blanco hacia el hero (mismo ritmo que búsqueda→banner); ver .ex-home-sheet */
  --ex-sheet-bg-lift: 1.5rem;
}

/* /unete — landing clara de organizadores (header con .site-header-light) */
body.ex-home.ex-page-unete {
  background: #ffffff;
  color: #141416;
}

/* /seguro — misma idea que /unete: fondo oscuro + footer oscuro (header transparente sobre body) */
body.ex-home.ex-page-seguro {
  background: #000000;
  color: #f1f1f5;
}

body.ex-home.ex-page-seguro footer.footer.ex-footer {
  background-color: #0f0f12;
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .ex-footer__divider {
  background-color: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .footer-logo svg {
  filter: brightness(0) invert(1);
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .footeropyright,
body.ex-home.ex-page-seguro footer.footer.ex-footer .language-text {
  color: rgba(255, 255, 255, 0.55);
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .language-icon svg path {
  fill: rgba(255, 255, 255, 0.45);
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .footer-link {
  color: rgba(255, 255, 255, 0.7);
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .footer-link:hover {
  color: #fff;
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .ex-footer__description {
  color: rgba(255, 255, 255, 0.55);
}

body.ex-home.ex-page-seguro footer.footer.ex-footer .ex-footer__address p {
  color: rgba(255, 255, 255, 0.45);
}

/* Páginas con header sobre fondo claro: fondo blanco puro (no el gris del home) */
body.ex-home.site-header-light {
  background: #ffffff;
}

/* Franja del header 100% blanca (sin transparencia: evita que se vea gris el hero/degradados detrás) */
body.ex-home.site-header-light > .main-header,
body.ex-home.site-header-light > .main-header .header-container {
  background: #ffffff;
  background-image: none;
}

body.ex-home .ex-hero {
  border-bottom: none;
}

/* ——— Nav dentro del hero (flujo normal, sobre fondo oscuro) ——— */
body.ex-home .ex-hero .main-header,
body.ex-home > .main-header {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

/* Solo el hero oscuro oculta la línea; páginas claras conservan .main-header::after (como event.ejs) */
body.ex-home .ex-hero .main-header::after,
body.ex-home:not(.site-header-light) > .main-header::after {
  display: none;
}

/* Header claro: misma jerarquía que event.ejs (mega menú y borde inferior visibles) */
body.ex-home.site-header-light > .main-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.ex-home.site-header-light.ex-solutions-menu-open > .main-header {
  z-index: 110;
}

body.ex-home.ex-account-menu-open > .main-header,
body.ex-home.ex-account-menu-open .ex-hero .main-header,
body.ex-home.site-header-light.ex-account-menu-open > .main-header {
  z-index: 1200;
}

body.ex-home .ex-hero .main-header .nav-link:not(.btn-create-event),
body.ex-home > .main-header .nav-link:not(.btn-create-event) {
  color: rgba(255, 255, 255, 0.88);
}

body.ex-home .ex-hero .main-header .nav-link:not(.btn-create-event):hover,
body.ex-home > .main-header .nav-link:not(.btn-create-event):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.ex-home .ex-hero .main-header .mobile-menu-btn,
body.ex-home .ex-hero .main-header .search-btn,
body.ex-home .ex-hero .main-header .nav-account-btn,
body.ex-home > .main-header .mobile-menu-btn,
body.ex-home > .main-header .search-btn,
body.ex-home > .main-header .nav-account-btn {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.ex-home .ex-hero .main-header .mobile-menu-btn:hover,
body.ex-home .ex-hero .main-header .search-btn:hover,
body.ex-home .ex-hero .main-header .nav-account-btn:hover,
body.ex-home > .main-header .mobile-menu-btn:hover,
body.ex-home > .main-header .search-btn:hover,
body.ex-home > .main-header .nav-account-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Subpáginas con fondo claro: mismo layout; texto e iconos legibles */
body.ex-home.site-header-light > .main-header .nav-link:not(.btn-create-event) {
  color: var(--ex-gray-800);
}

body.ex-home.site-header-light > .main-header .nav-link:not(.btn-create-event):hover {
  color: var(--ex-gray-900);
  background: rgba(0, 0, 0, 0.06);
}

body.ex-home.site-header-light > .main-header .mobile-menu-btn,
body.ex-home.site-header-light > .main-header .search-btn,
body.ex-home.site-header-light > .main-header .nav-account-btn,
body.ex-home.site-header-light > .main-header a.search-btn {
  color: var(--ex-gray-800);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  box-sizing: border-box;
}

body.ex-home.site-header-light > .main-header .mobile-menu-btn:hover,
body.ex-home.site-header-light > .main-header .search-btn:hover,
body.ex-home.site-header-light > .main-header .nav-account-btn:hover,
body.ex-home.site-header-light > .main-header a.search-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--ex-gray-900);
}

/* Soluciones: mismo color/hover que .nav-link (reglas arriba con :not(.btn-create-event)) */

body.ex-home.site-header-light > .main-header .nav-solutions-btn[aria-expanded="true"] {
  color: var(--ex-gray-900);
  background: rgba(0, 0, 0, 0.06);
}

/* Misma caja de contenido que el hero */
body.ex-home .header-container {
  max-width: var(--ex-max);
  margin-left: auto;
  margin-right: auto;
  min-height: var(--ex-header-h);
  padding: 12px var(--ex-hero-pad-x);
  box-sizing: border-box;
  overflow: visible;
}

@media (max-width: 768px) {
  body.ex-home {
    --ex-header-h: 66px;
  }

  body.ex-home .ex-hero .header-container,
  body.ex-home > .main-header .header-container {
    min-height: 62px;
    padding: 8px var(--ex-hero-pad-x) 10px;
    gap: 6px;
    align-items: center;
  }

  body.ex-home .ex-hero .header-container .logo-section,
  body.ex-home > .main-header .header-container .logo-section {
    flex: 1;
    justify-content: flex-start;
    min-width: 0;
  }

  body.ex-home .ex-hero .header-container .logo-section .logo-icon svg,
  body.ex-home > .main-header .header-container .logo-section .logo-icon svg {
    width: 100px;
    height: auto;
    max-height: 30px;
  }

  body.ex-home .ex-hero .header-container .search-btn,
  body.ex-home > .main-header .header-container .search-btn {
    display: none !important;
  }

  body.ex-home .ex-hero .header-container .desktop-actions,
  body.ex-home > .main-header .header-container .desktop-actions {
    display: flex !important;
    order: 3;
    margin-left: auto;
    flex-shrink: 0;
  }

  body.ex-home .ex-hero .main-header .mobile-menu-btn,
  body.ex-home .ex-hero .main-header .nav-account-btn,
  body.ex-home > .main-header .mobile-menu-btn,
  body.ex-home > .main-header .nav-account-btn {
    width: var(--ex-hero-header-btn);
    height: var(--ex-hero-header-btn);
    min-width: var(--ex-hero-header-btn);
    min-height: var(--ex-hero-header-btn);
    padding: 0;
    border-radius: 11px;
    font-size: 1.05rem;
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  body.ex-home .ex-hero .main-header .nav-account-btn svg,
  body.ex-home > .main-header .nav-account-btn svg {
    width: 20px;
    height: 20px;
  }

  body.ex-home .ex-hero .main-header .nav-account-panel,
  body.ex-home > .main-header .nav-account-panel {
    z-index: 1001;
    min-width: 0;
    width: max-content;
    max-width: min(252px, calc(100vw - 1.5rem));
    padding: 4px;
  }

  body.ex-home .ex-hero .main-header .nav-account-panel .nav-account-item,
  body.ex-home > .main-header .nav-account-panel .nav-account-item {
    gap: 8px;
    padding: 8px 10px;
    font-size: 0.8125rem;
  }

  body.ex-home .ex-hero .main-header .nav-account-panel .nav-account-avatar,
  body.ex-home > .main-header .nav-account-panel .nav-account-avatar {
    width: 28px;
    height: 28px;
  }

  body.ex-home .ex-hero .main-header .nav-account-panel .nav-account-logout,
  body.ex-home > .main-header .nav-account-panel .nav-account-logout {
    width: 28px;
    height: 28px;
  }

  body.ex-home .ex-hero .main-header .nav-account-panel .nav-account-item__icon,
  body.ex-home > .main-header .nav-account-panel .nav-account-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  body.ex-home .ex-hero .main-header .nav-account-panel .nav-account-item__icon svg,
  body.ex-home > .main-header .nav-account-panel .nav-account-item__icon svg {
    width: 16px;
    height: 16px;
  }

  body.ex-home .ex-hero .main-header .mobile-menu-btn::before,
  body.ex-home > .main-header .mobile-menu-btn::before {
    display: none;
  }

  body.ex-home .ex-hero .main-header .mobile-menu-btn:hover,
  body.ex-home .ex-hero .main-header .nav-account-btn:hover,
  body.ex-home > .main-header .mobile-menu-btn:hover,
  body.ex-home > .main-header .nav-account-btn:hover {
    transform: none;
  }

  body.ex-home .ex-hero .main-header .mobile-menu-btn:active,
  body.ex-home .ex-hero .main-header .nav-account-btn:active,
  body.ex-home > .main-header .mobile-menu-btn:active,
  body.ex-home > .main-header .nav-account-btn:active {
    transform: scale(0.96);
  }

  /*
   * Páginas claras + mobile: styles.css fuerza .mobile-menu-btn sin caja (block, sin borde, ripple ::before).
   * Misma geometría que el hero (36×36, 11px); colores legibles sobre blanco.
   */
  body.ex-home.site-header-light > .main-header .mobile-menu-btn,
  body.ex-home.site-header-light > .main-header .nav-account-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: var(--ex-hero-header-btn) !important;
    height: var(--ex-hero-header-btn) !important;
    min-width: var(--ex-hero-header-btn) !important;
    min-height: var(--ex-hero-header-btn) !important;
    padding: 0 !important;
    border-radius: 11px !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    color: var(--ex-gray-800) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: visible !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
  }

  body.ex-home.site-header-light > .main-header .mobile-menu-btn:hover,
  body.ex-home.site-header-light > .main-header .nav-account-btn:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: var(--ex-gray-900) !important;
    transform: none !important;
  }

  body.ex-home.site-header-light > .main-header .mobile-menu-btn:active,
  body.ex-home.site-header-light > .main-header .nav-account-btn:active {
    transform: scale(0.96) !important;
  }

  body.ex-home.site-header-light > .main-header .mobile-menu-btn::before {
    display: none !important;
    content: none !important;
  }
}

@media (min-width: 769px) {
  /*
   * Centrado real del nav: columnas iguales izq/der (logo vs cuenta).
   * Con flex + space-between el nav se desplazaba al lado más angosto.
   */
  body.ex-home .header-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }

  body.ex-home .header-container .logo-section {
    grid-column: 1;
    justify-self: start;
  }

  body.ex-home .header-container .logo-section .logo-icon svg {
    width: 122px;
    height: 38px;
  }

  body.ex-home .navigation.desktop-nav {
    grid-column: 2;
    justify-self: center;
    flex: none;
    width: auto;
    margin: 0;
    gap: 4px 18px;
    overflow: visible;
  }

  body.ex-home .nav-link {
    padding: 6px 12px;
  }

  body.ex-home .desktop-actions {
    grid-column: 3;
    justify-self: end;
    flex-shrink: 0;
  }
}


/* Shared footer partial (views/partials/ex-home-footer.ejs) — all breakpoints, overrides styles.css */
footer.footer.ex-footer {
  border-top: 1px solid #e4e4e7;
  background-color: #f8f9fa;
  margin-top: 48px;
  padding: 0;
  box-sizing: border-box;
}

/* Event page: body is white (site-header-light) and .event-main is gray; default footer margin exposed the body as a white strip above the footer */
body.ex-home main.event-main ~ footer.footer.ex-footer {
  margin-top: 0;
}

footer.footer.ex-footer .footeropyright,
footer.footer.ex-footer .language-text {
  font-size: 0.875rem;
  color: var(--ex-gray-600, #52525b);
}

footer.footer.ex-footer .footer-link {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--ex-gray-600, #52525b);
  font-weight: 400;
}

footer.footer.ex-footer .footer-link:hover {
  color: var(--ex-gray-900, #18181b);
}

footer.footer.ex-footer .ex-footer__container {
  max-width: var(--ex-max);
  margin-left: auto;
  margin-right: auto;
  padding: 40px 16px 32px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  footer.footer.ex-footer .ex-footer__container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 1024px) {
  footer.footer.ex-footer .ex-footer__container {
    padding: 48px 40px 40px;
  }
}

@media (min-width: 1280px) {
  footer.footer.ex-footer .ex-footer__container {
    padding: 56px 48px 48px;
  }
}

@media (min-width: 1800px) {
  footer.footer.ex-footer .ex-footer__container {
    padding-left: 56px;
    padding-right: 56px;
  }
}

@media (min-width: 2200px) {
  footer.footer.ex-footer .ex-footer__container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

footer.footer.ex-footer .footer-left.ex-footer__brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

footer.footer.ex-footer .ex-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 32px;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  footer.footer.ex-footer .ex-footer__top {
    gap: 32px 48px;
  }
}

footer.footer.ex-footer .ex-footer__brand {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  footer.footer.ex-footer .ex-footer__brand {
    flex: 0 1 280px;
    min-width: 220px;
  }
}

footer.footer.ex-footer .ex-footer__brand .footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

footer.footer.ex-footer .footer-logo-mark {
  display: block;
  width: 26px;
  height: auto;
}

footer.footer.ex-footer .ex-footer__lang {
  margin-top: 20px;
  opacity: 0.85;
}

footer.footer.ex-footer .ex-footer__links {
  flex: 1 1 100%;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  footer.footer.ex-footer .ex-footer__links {
    flex: 1 1 340px;
    min-width: 280px;
    justify-content: flex-end;
  }
}

footer.footer.ex-footer .ex-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px 18px;
}

@media (min-width: 1024px) {
  footer.footer.ex-footer .ex-footer__nav {
    justify-content: flex-end;
    gap: 8px 22px;
    max-width: 520px;
  }
}

@media (min-width: 1024px) {
  footer.footer.ex-footer .ex-footer__nav .footer-link {
    white-space: nowrap;
  }
}

footer.footer.ex-footer .ex-footer__divider {
  margin: 24px 0;
  opacity: 0.7;
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
}

@media (min-width: 1024px) {
  footer.footer.ex-footer .ex-footer__divider {
    margin: 28px 0;
  }
}

footer.footer.ex-footer .ex-footer__middle {
  margin: 0;
  max-width: 48rem;
}

footer.footer.ex-footer .ex-footer__description {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ex-gray-600, #52525b);
  margin: 0;
}

footer.footer.ex-footer .ex-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px 32px;
  padding-top: 8px;
  margin-top: 0;
}

footer.footer.ex-footer .ex-footer__address p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ex-gray-500);
}

@media (max-width: 768px) {
  footer.footer.ex-footer .ex-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  footer.footer.ex-footer .ex-footer__social {
    align-self: flex-end;
  }
}

/* ── Soluciones dropdown — desktop ─────────────────────────────────── */
.nav-solutions-wrapper {
  position: relative;
  background: transparent;
  isolation: isolate;
}

/* Oscurece cuando el mega menú está abierto (sin blur): velos siempre definidos + transition opacity.
   - body::before: sobre sheet/footer; por debajo de .ex-hero cuando el menú está abierto.
   - .ex-hero::after: mismo tinte dentro del hero (título, búsqueda); header/panel por encima al abrir. */
body.ex-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(4, 4, 10, 0.42);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ex-home.ex-solutions-menu-open::before {
  opacity: 1;
}

body.ex-home.ex-solutions-menu-open .ex-hero {
  z-index: 20;
}

body.ex-home .ex-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(4, 4, 10, 0.42);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ex-home.ex-solutions-menu-open .ex-hero::after {
  opacity: 1;
}

body.ex-home.ex-solutions-menu-open .ex-hero .main-header,
body.ex-home.ex-solutions-menu-open > .main-header {
  z-index: 30;
}

@media (prefers-reduced-motion: reduce) {
  body.ex-home::before,
  body.ex-home .ex-hero::after {
    transition-duration: 0.01ms;
  }
}

.nav-solutions-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  cursor: pointer;
  background: none;
  border: none;
  /* Typography/spacing: do not set font-size/weight — same element also has .nav-link (responsive 18px→15px, etc.) */
  line-height: normal;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  appearance: none;
}

.nav-solutions-chevron {
  transition: transform 0.22s ease, color 0.2s ease;
  flex-shrink: 0;
}

.nav-solutions-btn[aria-expanded="true"] .nav-solutions-chevron {
  transform: rotate(180deg);
}

body.ex-home:not(.site-header-light) .ex-hero .main-header .nav-solutions-btn[aria-expanded="true"],
body.ex-home:not(.site-header-light) > .main-header .nav-solutions-btn[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.nav-solutions-panel {
  position: absolute;
  top: calc(100% + 34px);
  left: 50%;
  width: min(920px, calc(100vw - 40px));
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.04),
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 18px 42px rgba(61, 21, 206, 0.09),
    0 28px 68px rgba(15, 23, 42, 0.08);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-5px);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s ease;
}

/* Flecha sutil hacia “Soluciones”; sin overflow:hidden en el panel para que no recorte artefactos laterales */
.nav-solutions-panel::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: -1px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
  filter: drop-shadow(0 -1px 0 rgba(15, 23, 42, 0.04));
}

.nav-solutions-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-solutions-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: start;
  padding: 17px 20px 21px;
}

.nav-solutions-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.nav-solutions-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9CA3AF;
  padding: 0 6px 10px;
  margin-bottom: 0;
}

.nav-solution-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 6px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.nav-solution-item:hover {
  background: #F5F3FF;
}

.nav-solution-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7C3AED;
  flex-shrink: 0;
}

.nav-solution-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.nav-solution-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  min-width: 0;
  padding-top: 2px;
}

.nav-solution-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: #111827;
  line-height: 1.3;
}

.nav-solution-desc {
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.4;
}

/* ── Soluciones accordion — mobile nav ──────────────────────────────── */
.mobile-nav-solutions-btn {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
}

.mobile-solutions-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.mobile-nav-solutions-btn.open .mobile-solutions-chevron {
  transform: rotate(180deg);
}

.mobile-nav-solutions-list {
  display: none;
  padding: 4px 0 4px 8px;
}

.mobile-nav-solutions-list.open {
  display: block;
}

.mobile-solutions-section-title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9CA3AF;
  padding: 10px 16px 4px;
}

.mobile-solution-link {
  font-size: 0.9rem !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ── Mobile: hero búsqueda en pantalla completa (sheet) ─────────────────── */
body.ex-mobile-search-open {
  overflow: hidden;
}

.ex-hero__search-sheet-close {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin: 0 0 4px;
  border: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  color: #18181b;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ex-hero__search-sheet-close svg {
  flex-shrink: 0;
}

.ex-hero__search-wrap.is-mobile-search-sheet .ex-hero__search-sheet-close:not([hidden]) {
  display: inline-flex;
}

@media (max-width: 767px) {
  .ex-hero__search-wrap.is-mobile-search-sheet {
    position: fixed;
    inset: 0;
    z-index: 10050;
    max-width: none;
    margin: 0;
    padding: max(10px, env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
    background: #f4f4f5;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
  }

  .ex-hero__search-wrap.is-mobile-search-sheet .ex-hero__search {
    flex-shrink: 0;
  }

  .ex-hero__search-wrap.is-mobile-search-sheet .ex-hero-search-dropdown {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    flex: 1;
    min-height: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 8px;
  }

  .ex-hero__search-wrap.is-mobile-search-sheet .ex-hero-search-dropdown__list-scroll {
    max-height: calc(100vh - 200px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .ex-hero__search-wrap.is-mobile-search-sheet .ex-hero-search-dropdown__panel {
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

/* ── Búsqueda global móvil: pantalla completa (patrón menú hamburger) ───────── */
.ex-global-mobile-search {
  position: fixed;
  inset: 0;
  z-index: 10060;
  pointer-events: none;
}

.ex-global-mobile-search:not([hidden]) {
  pointer-events: auto;
}

.ex-global-mobile-search[hidden] {
  display: none !important;
}

/* Capa bajo el panel: oculta el sitio detrás (misma idea que .mobile-nav-overlay) */
.ex-global-mobile-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.42s;
}

.ex-global-mobile-search:not([hidden]) .ex-global-mobile-search__backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s;
}

.ex-global-mobile-search__sheet {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
  background: #fff;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.ex-global-mobile-search:not([hidden]) .ex-global-mobile-search__sheet {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .ex-global-mobile-search__sheet {
    transition: none;
    transform: none;
  }

  .ex-global-mobile-search:not([hidden]) .ex-global-mobile-search__sheet {
    transform: none;
  }

  .ex-global-mobile-search__backdrop {
    transition: none;
  }
}

/* Barra superior fija: solo buscador + cerrar (estilo .mobile-nav-header) */
.ex-global-mobile-search__sticky-top {
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.ex-global-mobile-search__top-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 1.5rem 1.25rem;
  box-sizing: border-box;
}

.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search {
  flex: 1;
  min-width: 0;
  background: #f3f4f6;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  gap: 10px;
  box-shadow: none;
  cursor: text;
}

.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search:focus-within {
  border-color: #d1d5db;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.ex-global-mobile-search__field .ex-hero__search-icon {
  color: #6b7280;
}

.ex-global-mobile-search__field .ex-hero__search-icon svg path {
  stroke: currentColor;
}

.ex-global-mobile-search__field .search-input::placeholder,
.ex-global-mobile-search__field .ex-hero__search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Anula .search-input:focus de styles.css (#3d15ce + halo morado) en este modal */
.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search .search-input,
.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search .ex-hero__search-input {
  border: none;
  box-shadow: none;
  background: transparent;
}

.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search .search-input:focus,
.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search .search-input:focus-visible,
.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search .ex-hero__search-input:focus,
.ex-global-mobile-search__top-inner .ex-global-mobile-search__field.ex-hero__search .ex-hero__search-input:focus-visible {
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.ex-global-mobile-search__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #000;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.ex-global-mobile-search__close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.ex-global-mobile-search__close:hover,
.ex-global-mobile-search__close:focus-visible {
  background: #e5e7eb;
  outline: none;
}

.ex-global-mobile-search__close:active {
  background: #d1d5db;
}

.ex-global-mobile-search__panel-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.ex-global-mobile-search__panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.ex-global-mobile-search__panel .ex-hero-search-dropdown__section-title {
  padding: 14px 1.5rem 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #52525b;
  flex-shrink: 0;
}

.ex-global-mobile-search__panel .ex-hero-search-dropdown__section-title--sub {
  padding: 12px 1.5rem 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9ca3af;
}

.ex-global-mobile-search__scroll {
  flex: 1;
  min-height: 0;
  max-height: none;
  padding: 4px 10px 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ex-global-mobile-search__scroll .ex-hero-search-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ex-global-mobile-search .ex-global-mobile-search__discover-item {
  gap: 12px;
  padding: 10px 12px;
  margin: 0;
  border-radius: 12px;
}

.ex-global-mobile-search .ex-global-mobile-search__discover-item:hover,
.ex-global-mobile-search .ex-global-mobile-search__discover-item:focus-visible {
  background: #f3f4f6;
  outline: none;
}

.ex-global-mobile-search .ex-global-mobile-search__discover-item:active {
  background: #e5e7eb;
}

.ex-global-mobile-search .ex-global-mobile-search__discover-item .ex-hero-search-dropdown__item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.ex-global-mobile-search .ex-global-mobile-search__discover-item .ex-hero-search-dropdown__item-icon svg.lucide {
  width: 20px;
  height: 20px;
  opacity: 1;
  filter: none;
}

.ex-global-mobile-search .ex-global-mobile-search__discover-item .ex-hero-search-dropdown__item-label {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #18181b;
}

.ex-global-mobile-search__row-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  line-height: 0;
}

.ex-global-mobile-search .ex-hero-search-dropdown__item--event {
  gap: 12px;
  padding: 10px 12px;
  margin: 0;
  border-radius: 12px;
}

.ex-global-mobile-search .ex-hero-search-dropdown__item--event:hover,
.ex-global-mobile-search .ex-hero-search-dropdown__item--event:focus-visible {
  background: #f3f4f6;
  outline: none;
}

.ex-global-mobile-search .ex-hero-search-dropdown__chips {
  padding: 2px 8px 10px;
  gap: 8px;
}

.ex-global-mobile-search .ex-hero-search-dropdown__chip {
  background: #f3f4f6;
  border-color: #e5e7eb;
  font-weight: 600;
}

.ex-global-mobile-search .ex-hero-search-dropdown__chip:hover,
.ex-global-mobile-search .ex-hero-search-dropdown__chip:focus-visible {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827;
}

.ex-global-mobile-search .ex-hero-search-dropdown__empty {
  padding: 24px 1.5rem 28px;
  flex-shrink: 0;
}

.ex-global-mobile-search .ex-hero-search-dropdown__empty-title {
  color: #27272a;
}

/* Soluciones (landings estilo invite): aire bajo el CTA final */
body.ex-home.invite-page .invite-section.exclusividad {
  padding-bottom: clamp(104px, 12vw, 168px);
}

@media (max-width: 768px) {
  body.ex-home.invite-page .invite-section.exclusividad {
    padding-bottom: clamp(96px, 22vw, 140px);
  }
}

/* ── Account menu (profile icon + dropdown) ─────────────────────────── */
.nav-account-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}

.nav-account-btn svg {
  display: block;
}

body.ex-home:not(.site-header-light) .ex-hero .main-header .nav-account-btn[aria-expanded="true"],
body.ex-home:not(.site-header-light) > .main-header .nav-account-btn[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

body.ex-home.site-header-light > .main-header .nav-account-btn[aria-expanded="true"] {
  color: var(--ex-gray-900);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.14);
}

.nav-account-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 248px;
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  padding: 6px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 16px 36px rgba(61, 21, 206, 0.1),
    0 24px 48px rgba(15, 23, 42, 0.08);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.18s ease;
}

.nav-account-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #18181b;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-account-item:hover,
.nav-account-item:focus-visible {
  background: rgba(124, 58, 237, 0.08);
  color: #3d15ce;
  outline: none;
}

.nav-account-item:has(.nav-account-item__icon--tickets):hover,
.nav-account-item:has(.nav-account-item__icon--tickets):focus-visible,
.nav-account-item:has(.nav-account-item__icon--resale):hover,
.nav-account-item:has(.nav-account-item__icon--resale):focus-visible {
  background: #f4f4f5;
  color: #18181b;
}

.nav-account-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-account-item__icon--tickets,
.nav-account-item__icon--resale {
  color: #71717a;
  background: #f4f4f5;
}

.nav-account-item:hover .nav-account-item__icon--tickets,
.nav-account-item:focus-visible .nav-account-item__icon--tickets,
.nav-account-item:hover .nav-account-item__icon--resale,
.nav-account-item:focus-visible .nav-account-item__icon--resale {
  color: #52525b;
  background: #e4e4e7;
}

.nav-account-item__icon--store {
  color: #6b3dd4;
  background: rgba(124, 58, 237, 0.1);
}

.nav-account-item:hover .nav-account-item__icon--store,
.nav-account-item:focus-visible .nav-account-item__icon--store {
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.16);
}

.nav-account-item__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-account-item__label {
  flex: 1;
  min-width: 0;
}

.nav-account-item__text .nav-account-item__label {
  flex: none;
}

.nav-account-item__meta,
.nav-account-user__meta {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #71717a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-account-item__chevron {
  flex-shrink: 0;
  color: #a1a1aa;
  margin-left: 2px;
}

.nav-account-item--profile .nav-account-item__label {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-account-item--profile:hover,
.nav-account-item--profile:focus-visible {
  background: #f4f4f5;
  color: #18181b;
}

.nav-account-item--profile:hover .nav-account-item__chevron,
.nav-account-item--profile:focus-visible .nav-account-item__chevron {
  color: #71717a;
}

.nav-account-item--organizer:hover .nav-account-item__meta,
.nav-account-item--organizer:focus-visible .nav-account-item__meta {
  color: #71717a;
}

.nav-account-avatar__initials {
  line-height: 1;
}

.nav-account-sep {
  height: 1px;
  margin: 4px 8px;
  background: #f4f4f5;
  border: 0;
}

.nav-account-item[hidden],
.nav-account-user--guest[hidden],
.nav-account-user--client[hidden],
.nav-account-panel.is-client .nav-account-user--guest {
  display: none !important;
}

.nav-account-panel.is-client .nav-account-user--client {
  display: flex;
}

.nav-account-user--client {
  cursor: default;
}

.nav-account-avatar {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-account-avatar--guest {
  background: #f4f4f5;
  color: #71717a;
}

.nav-account-avatar--client {
  background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
  color: #5b21b6;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-account-avatar__dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.nav-account-logout {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #71717a;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-account-logout:hover,
.nav-account-logout:focus-visible {
  background: #fef2f2;
  color: #dc2626;
  outline: none;
}

.nav-account-logout:disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* Mobile drawer account menu */
.nav-account-menu--mobile {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.nav-account-btn--mobile {
  width: 100%;
  height: auto;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  gap: 10px;
  justify-content: flex-start;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-roobert);
  color: #18181b;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
}

.nav-account-btn--mobile::after {
  content: "Mi cuenta";
  flex: 1;
  text-align: left;
}

.nav-account-btn--mobile[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.nav-account-panel--mobile {
  position: static;
  width: 100%;
  min-width: 0;
  margin-top: -1px;
  padding: 4px;
  border-radius: 0 0 10px 10px;
  border-top: none;
  box-shadow: none;
  transform: none;
  opacity: 1;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.22s ease, visibility 0.18s ease, padding 0.18s ease;
}

.nav-account-panel--mobile.open {
  visibility: visible;
  max-height: 420px;
  pointer-events: auto;
  border: 1px solid #e4e4e7;
  border-top: 1px solid #ececef;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nav-account-panel--mobile .nav-account-item {
  font-size: 0.9375rem;
  padding: 9px 10px;
  gap: 10px;
}

.nav-account-panel--mobile .nav-account-item__icon {
  width: 30px;
  height: 30px;
}

.nav-account-panel--mobile .nav-account-item__icon svg {
  width: 16px;
  height: 16px;
}

.nav-account-panel--mobile .nav-account-avatar {
  width: 30px;
  height: 30px;
}

.nav-account-panel--mobile .nav-account-logout {
  width: 30px;
  height: 30px;
}

.nav-account-panel--mobile {
  max-width: none;
  width: 100%;
}

.nav-account-confirm {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
}

.nav-account-confirm.is-visible,
.nav-account-confirm.is-closing {
  display: flex;
}

.nav-account-confirm.is-open {
  pointer-events: auto;
}

.nav-account-confirm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.48);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.nav-account-confirm.is-open .nav-account-confirm__backdrop {
  opacity: 1;
}

.nav-account-confirm__dialog {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 1.25rem 1.2rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1), transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-account-confirm.is-open .nav-account-confirm__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-account-confirm.is-visible:not(.is-open) .nav-account-confirm__backdrop {
  opacity: 0;
  transition-duration: 0.22s;
}

.nav-account-confirm.is-visible:not(.is-open) .nav-account-confirm__dialog {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.nav-account-confirm__title {
  margin: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #18181b;
}

.nav-account-confirm__actions {
  display: flex;
  gap: 8px;
  margin-top: 1.1rem;
}

.nav-account-confirm__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-account-confirm__btn--ghost {
  border: 1px solid #e4e4e7;
  background: #fff;
  color: #3f3f46;
}

.nav-account-confirm__btn--ghost:hover,
.nav-account-confirm__btn--ghost:focus-visible {
  background: #f4f4f5;
  outline: none;
}

.nav-account-confirm__btn--danger {
  border: 1px solid transparent;
  background: #dc2626;
  color: #fff;
}

.nav-account-confirm__btn--danger:hover,
.nav-account-confirm__btn--danger:focus-visible {
  background: #b91c1c;
  outline: none;
}

.nav-account-confirm__btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.nav-account-toast-host {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1400;
  width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}

.nav-account-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  color: #18181b;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-account-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-account-toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition-duration: 0.2s;
}

.nav-account-toast__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #15803d;
  background: #dcfce7;
}

@media (prefers-reduced-motion: reduce) {
  .nav-account-confirm__backdrop,
  .nav-account-confirm__dialog,
  .nav-account-toast {
    transition: none;
  }
}

@media (max-width: 1023px) {
  body.ex-home .ex-hero__copy {
    display: none;
  }
}

body.ex-home #searchOpen.search-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  order: 0;
  width: 100%;
  height: 44px;
  margin: 0 0 8px;
  padding: 0 12px;
  gap: 10px;
  border: 1px solid #B8B8BE;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  color: #52525b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: text;
}

body.ex-home #searchOpen.search-btn .search-icon {
  position: static;
  left: auto;
  flex: none;
  width: 18px;
  height: 18px;
  color: #3A3A3C;
  pointer-events: none;
}

body.ex-home #searchOpen.search-btn:focus-visible,
body.ex-home #searchOpen.search-btn:active {
  border-color: #B8B8BE;
  box-shadow: none;
  color: #52525b;
}


/* Same content width as the homepage, without the homepage layout rules. */
@media (min-width: 1024px) {
  body.ex-home { --ex-max: 1240px; --ex-hero-pad-x: 32px; }
}
@media (min-width: 1280px) {
  body.ex-home { --ex-max: 1450px; --ex-hero-pad-x: 40px; }
}
@media (min-width: 1536px) {
  body.ex-home { --ex-max: 1580px; --ex-hero-pad-x: 48px; }
}
@media (min-width: 1800px) {
  body.ex-home { --ex-max: 1680px; --ex-hero-pad-x: 56px; }
}
@media (min-width: 2200px) {
  body.ex-home { --ex-max: 1780px; --ex-hero-pad-x: 64px; }
}