/* ================================================
   420CreaStack — theme-ui.css v5.0
   Header, Footer, Base
   ================================================ */

/* ── Google Fonts loaded via PHP enqueue ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--cs420-body-font, 'Inter', sans-serif);
  overflow-x: clip;
  background: var(--cs420-bg, #f6f8fb);
  color: var(--cs420-text, #1a1a2e);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  /* overflow-x:hidden en body/html rompe position:sticky — NO ponerlo aquí */
}

#page { display: flex; flex-direction: column; min-height: 100vh; width:100%; max-width:100%; overflow-x: clip; }
#main { flex: 1; padding: 60px 0; }

/* ── Ancho completo para páginas Elementor ──────────────────── */
/* Elementor añade .elementor-page al <body> automáticamente    */
.elementor-page #page,
.elementor-page #main,
.elementor-page .site-main {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.elementor-page .layout-full-width {
  padding: 0 !important;
}

/* ── Utilities ── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* ================================================
   HEADER BASE
   ================================================ */

.site-header {
  width: 100%;
  /* z-index base — el menú mobile va por encima con z-index propio */
  z-index: 9990;
}

/* ── NORMAL: se desplaza con la página ── */
.site-header.mode-normal {
  position: relative;
}

/* ── STICKY: se queda pegado al llegar arriba ── */
.site-header.mode-sticky {
  position: sticky;
  top: 0;
  z-index: 9990;
}

/* ── FIXED: siempre visible sobre el contenido ── */
.site-header.mode-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
}

/* ── TRANSPARENT: fijo, empieza transparente, se vuelve sólido al bajar ── */
.site-header.mode-transparent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
}

/* ── Sombra al hacer scroll (sticky + fixed) ── */
.site-header.mode-sticky.is-scrolled .header-nav,
.site-header.mode-fixed.is-scrolled .header-nav {
  box-shadow: 0 2px 24px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.06);
}

/* ================================================
   TOP BAR
   ================================================ */

.header-bar {
  background: var(--cs420-primary, #2d1b3d);
  height: 36px;                   /* fixed — never grows */
  overflow: hidden;
}

.header-bar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-bar__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
}

.header-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
  line-height: 1;
}
.header-bar__link:hover { color: #fff; }
.header-bar__link svg { flex-shrink: 0; }

.header-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cs420-primary, #2d1b3d);
  background: var(--cs420-secondary, #e8a0b4);
  text-decoration: none;
  padding: 4px 13px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
  line-height: 1.4;
}
.header-bar__cta:hover { opacity: .88; }

/* ================================================
   MAIN NAV BAR
   ================================================ */

.header-nav {
  min-height: var(--cs420-header-height, 68px);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.header-nav__inner {
  min-height: var(--cs420-header-height, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  min-width: 0;
  width: 100%;
}
.header-nav, .header-nav__inner, .site-header {
  max-width: 100%;
  overflow-x: clip;
}

/* ── Logo ── */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
  min-width: 0;
  max-width: 100%;
}
.site-logo img,
.site-logo .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: var(--cs420-logo-height, 48px);
  max-width: 200px;
  object-fit: contain;
}
.site-logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--cs420-primary, #2d1b3d); color: #fff;
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.site-logo__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.site-logo__text b {
  display: block; font-size: 16px; font-weight: 700;
  color: var(--cs420-primary, #2d1b3d); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-logo__text small {
  display: block; font-size: 10px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  color: #9baab8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Hamburger — siempre visible ── */
.nav-toggle {
  display: inline-flex;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  border: 1px solid rgba(45,27,61,.14); border-radius: 10px;
  background: transparent; cursor: pointer; flex-shrink: 0;
  transition: background .15s;
}
.nav-toggle:hover { background: rgba(45,27,61,.05); }
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--cs420-text, #1a1a2e); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Nav overlay — siempre panel full-screen ── */
.primary-nav {
  display: none;
  min-width: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  min-height: 100dvh;
  background: rgba(253,246,249,.985);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: max(80px, env(safe-area-inset-top, 0px) + 56px) 32px max(40px, env(safe-area-inset-bottom, 0px) + 16px);
  overflow-y: auto;
  overflow-x: hidden;
}
.primary-nav.is-open {
  display: flex !important;
  animation: navIn .22s ease;
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Nav list dentro del overlay */
.nav-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  list-style: none;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.nav-list li { list-style: none; border-bottom: 1px solid rgba(45,27,61,.06); }
.nav-list li:last-child { border-bottom: none; }
.nav-list a {
  display: flex; align-items: center;
  padding: 18px 8px;
  font-size: 18px; font-weight: 500;
  color: var(--cs420-text, #1a1a2e);
  text-decoration: none;
  transition: color .15s, padding-left .15s;
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  color: var(--cs420-primary, #2d1b3d);
  padding-left: 16px;
}

/* CTA dentro del overlay */
.nav-cta {
  display: flex !important;
  align-items: center; justify-content: center;
  gap: 6px;
  background: var(--cs420-primary, #2d1b3d);
  color: #fff !important;
  text-decoration: none;
  font-size: 15px; font-weight: 600;
  padding: 15px 28px;
  border-radius: 14px;
  margin: 28px auto 0;
  width: 100%; max-width: 480px;
  transition: opacity .2s;
  box-shadow: 0 3px 12px rgba(45,27,61,.25);
}
.nav-cta:hover { opacity: .88; }

/* ── Spacer ── */
#header-spacer { height: 0; transition: height .1s; }

/* ================================================
   TRANSPARENT MODE
   ================================================ */

.mode-transparent .header-bar {
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mode-transparent .header-nav {
  background: transparent;
  border-color: rgba(255,255,255,.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* White text when transparent */
.mode-transparent .site-logo__text b     { color: #fff; }
.mode-transparent .site-logo__text small { color: rgba(255,255,255,.5); }
.mode-transparent .site-logo__mark       { background: rgba(255,255,255,.15); }
.mode-transparent .nav-list a            { color: rgba(255,255,255,.85); }
.mode-transparent .nav-list a:hover      { background: rgba(255,255,255,.12); color: #fff; }
.mode-transparent .nav-cta               { background: var(--cs420-secondary, #e8a0b4); color: var(--cs420-primary, #2d1b3d) !important; box-shadow: none; }
.mode-transparent .nav-toggle            { border-color: rgba(255,255,255,.3); }
.mode-transparent .nav-toggle span       { background: #fff; }

/* After scroll: solid */
.mode-transparent.is-scrolled .header-bar {
  background: var(--cs420-primary, #2d1b3d);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mode-transparent.is-scrolled .header-nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 2px 24px rgba(0,0,0,.10);
}
.mode-transparent.is-scrolled .site-logo__text b     { color: var(--cs420-primary, #2d1b3d); }
.mode-transparent.is-scrolled .site-logo__text small { color: #9baab8; }
.mode-transparent.is-scrolled .site-logo__mark       { background: var(--cs420-primary, #2d1b3d); }
.mode-transparent.is-scrolled .nav-list a            { color: var(--cs420-text, #1a1a2e); }
.mode-transparent.is-scrolled .nav-list a:hover      { background: rgba(45,27,61,.07); color: var(--cs420-primary, #2d1b3d); }
.mode-transparent.is-scrolled .nav-cta               { background: var(--cs420-primary, #2d1b3d); color: #fff !important; box-shadow: 0 3px 12px rgba(45,27,61,.25); }
.mode-transparent.is-scrolled .nav-toggle            { border-color: rgba(45,27,61,.14); }
.mode-transparent.is-scrolled .nav-toggle span       { background: var(--cs420-text, #1a1a2e); }

@media (max-width: 480px) {
  .header-bar__link--email { display: none; }
  .header-bar__contacts { gap: 10px; }
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
  background: #0f1520;
  color: rgba(210,225,245,.7);
  font-family: var(--cs420-body-font, 'Inter', sans-serif);
  margin-top: auto;
}

/* CTA strip */
.footer-cta {
  background: linear-gradient(135deg, var(--cs420-primary, #2d1b3d), #1a0a28);
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta__title {
  font-family: var(--cs420-heading-font, 'DM Serif Display', serif);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 4px;
}
.footer-cta__sub { font-size: 14px; color: rgba(255,255,255,.5); margin: 0; }
.footer-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cs420-secondary, #e8a0b4);
  color: var(--cs420-primary, #2d1b3d);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2);
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* Footer body */
.footer-body { padding: 60px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  font-family: var(--cs420-heading-font, 'DM Serif Display', serif);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px;
}
.footer-doctor { font-size: 14px; color: rgba(210,225,245,.8); margin: 0 0 10px; }
.footer-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(210,225,245,.45);
  border: 1px solid rgba(255,255,255,.1);
  padding: 3px 10px;
  border-radius: 999px;
}
.site-footer .custom-logo,
.site-footer img {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .75;
  margin-bottom: 14px;
}

.footer-col__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(210,225,245,.35);
  margin: 0 0 16px;
}
.footer-nav,
.footer-legal,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav li,
.footer-legal li,
.footer-contact li { list-style: none; }
.footer-nav a,
.footer-legal a,
.footer-contact a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(210,225,245,.6);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover { color: #fff; }
.footer-contact li { font-size: 14px; color: rgba(210,225,245,.55); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(210,225,245,.3);
}
.footer-bottom__inner a { color: rgba(210,225,245,.4); text-decoration: none; transition: color .2s; }
.footer-bottom__inner a:hover { color: var(--cs420-secondary, #e8a0b4); }

/* Footer responsive */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-cta__inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-cta__btns { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { justify-content: center; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}



.cs420-card {
  background: var(--cs420-card);
  border: 1px solid var(--cs420-border);
  border-radius: 20px;
  padding: 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.cs420-card:hover { box-shadow: 0 20px 48px rgba(15,30,55,0.10); transform: translateY(-3px); }
.cs420-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.cs420-page {
  background: var(--cs420-card);
  border: 1px solid var(--cs420-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(15,30,55,0.04);
}
.cs420-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(43,112,226,0.08);
  color: var(--cs420-primary);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.cs420-pill {
  display: inline-block;
  background: rgba(43,112,226,0.08);
  color: var(--cs420-primary);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Layout system */
.cs420-layout-full-width .cs420-page { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.cs420-content-area { display: block; }
.cs420-content-area.has-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; align-items: start; }
.cs420-content-area.has-sidebar.sidebar-left { grid-template-columns: 320px minmax(0,1fr); }
.cs420-content-area.has-sidebar.sidebar-left .cs420-primary { order: 2; }
.cs420-content-area.has-sidebar.sidebar-left .cs420-sidebar { order: 1; }
.cs420-sidebar { display: flex; flex-direction: column; gap: 20px; }
.cs420-widget, .cs420-sidebar .widget {
  background: var(--cs420-card); border: 1px solid var(--cs420-border);
  border-radius: 20px; padding: 24px; box-shadow: 0 4px 24px rgba(15,30,55,0.04);
}
.cs420-layout-sidebar-right .cs420-page,
.cs420-layout-sidebar-left .cs420-page,
.cs420-layout-boxed-sidebar-right .cs420-page,
.cs420-layout-boxed-sidebar-left .cs420-page { height: 100%; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */





/* ══ NAVBAR: never wraps ══ */
.cs420-navbar-inner {
  flex-wrap: nowrap;
  overflow: visible;
}

/* ══ Desktop: nav always flex row ══ */
@media (min-width: 981px) {
  .cs420-header-cta  { display: inline-flex; }
  .cs420-menu-toggle { display: none; }
  .cs420-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }
  .cs420-nav .cs420-menu,
  .cs420-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

/* ══ Tablet / Mobile: hamburger menu ══ */
@media (max-width: 980px) {
  .cs420-header-cta  { display: none; }
  .cs420-menu-toggle { display: inline-flex; }

  /* Nav: hidden by default, shown as dropdown when .is-open */
  .cs420-nav {
    display: none;
    position: absolute;
    /* sits below the full header (topbar + navbar) */
    top: 100%;
    left: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.16);
    padding: 12px;
    z-index: 9999;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .cs420-nav.is-open { display: flex; }

  .cs420-nav .cs420-menu,
  .cs420-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }
  .cs420-nav li { width: 100%; }
  .cs420-nav a {
    display: flex;
    padding: 13px 18px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 500;
    color: var(--cs420-text);
    width: 100%;
  }
  .cs420-nav a:hover,
  .cs420-nav .current-menu-item > a,
  .cs420-nav .current_page_item > a {
    background: rgba(0,0,0,0.05);
    color: var(--cs420-primary);
  }
  /* Last nav item (CTA) — pill style inside dropdown */
  .cs420-nav li:last-child > a {
    background: var(--cs420-primary);
    color: #fff;
    font-weight: 700;
    margin-top: 6px;
    border-radius: 13px;
    justify-content: center;
  }

  /* Footer */
  .cs420-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cs420-footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .cs420-card-grid { grid-template-columns: 1fr; }
  .cs420-content-area.has-sidebar { grid-template-columns: 1fr; }
}

/* ══ Small mobile ══ */
@media (max-width: 640px) {
  .cs420-wrap { padding: 0 16px; }

  /* Topbar: single compact line, hide email on very small */
  .cs420-topbar {
    height: auto;
    min-height: 38px;
    padding: 6px 0;
  }
  .cs420-topbar-inner {
    gap: 10px;
  }
  /* Hide email on smallest screens to keep topbar on one line */
  .cs420-topbar-contact a:nth-child(3),
  .cs420-topbar-contact span.cs420-topbar-sep { display: none; }

  /* Navbar height */
  .cs420-navbar { height: 60px; }
  --cs420-navbar-h: 60px;

  /* Logo size */
  .cs420-brand-logo img,
  .cs420-brand-logo .custom-logo { max-height: 38px; }
  .cs420-logo-mark { width: 36px; height: 36px; font-size: 14px; }
  .cs420-brand-sub { display: none; }
  .cs420-brand-name { font-size: 17px; }

  /* Footer */
  .cs420-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cs420-footer-body { padding: 44px 0 32px; }
  .cs420-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cs420-footer-cta-strip { padding: 36px 0; }
  .cs420-footer-cta-actions { width: 100%; flex-direction: column; }
  .cs420-footer-btn-primary, .cs420-footer-btn-secondary { width: 100%; justify-content: center; }

  .cs420-page { padding: 24px; }
  .cs420-main { padding: 40px 0; }
}

.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }







/* ── Elementor: kill any wrapper constraints ───────────────── */
/* Elementor adds .elementor-page to <body> on every Elementor page */
.elementor-page #main,
.elementor-page .site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
/* Elementor manages its own section widths */
.elementor-page .cs420-wrap,
.elementor-page .wrap {
  max-width: none !important;
  padding: 0 !important;
}

/* ── Hero: oculta columna de imagen cuando está vacía ── */
.cs420-hero-img-col,
.elementor-element.cs420-hero-img-col {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* ── Force mobile menu when header really overflows ── */
body.cs420-force-mobile .nav-toggle {
  display: inline-flex !important;
}
body.cs420-force-mobile .primary-nav {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100dvh !important;
  z-index: 99999 !important;
  background: rgba(253,246,249,.985) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  padding: max(80px, env(safe-area-inset-top, 0px) + 56px) 32px max(40px, env(safe-area-inset-bottom, 0px) + 16px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
body.cs420-force-mobile .primary-nav.is-open {
  display: flex !important;
}
body.cs420-measure-desktop .primary-nav {
  display: flex !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  z-index: auto !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  overflow: visible !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.cs420-measure-desktop .nav-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
body.cs420-measure-desktop .nav-list li {
  border-bottom: none !important;
}
body.cs420-measure-desktop .nav-list a {
  padding: 8px 10px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}
body.cs420-measure-desktop .nav-cta {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 0 10px !important;
}
body.cs420-force-mobile .nav-list {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
}
body.cs420-force-mobile .nav-list li {
  width: 100% !important;
  border-bottom: 1px solid rgba(45,27,61,.06) !important;
}
body.cs420-force-mobile .nav-list a {
  display: flex !important;
  padding: 18px 8px !important;
  font-size: 18px !important;
}
body.cs420-force-mobile .nav-cta {
  display: flex !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 28px auto 0 !important;
}

@media (min-width: 768px) {
  .header-nav__inner {
    gap: 12px;
  }
  .nav-list a {
    font-size: 13px;
  }
}
