/* Global mobile foundations */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
}

#site-root,
#masterPage,
.c1dmp-overflow-wrapper,
.c1dmp-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

#site-root img {
  max-width: 100%;
  height: auto;
}

#site-root .wrichtext,
#site-root .wixui-rich-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1023px) {
  /*
   * Wix exports use 1cqw for scaling on modern browsers, which can compute
   * against an oversized container and blow up margins/fonts on phones.
   */
  :root {
    --one-unit: 1vw !important;
    --browser-zoom: 1 !important;
    --scrollbar-width: 0px !important;
  }

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  #site-root,
  #masterPage,
  #SITE_PAGES,
  main[id^="PAGE_SECTIONS"],
  .c1dmp,
  .c1dmp-overflow-wrapper,
  .c1dmp-container,
  footer[id^="comp-"],
  header[id^="comp-"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip;
  }

  /* Centered Wix containers use margin-left: 100 * one-unit — reset on mobile */
  #site-root :where([class$="-container"].max-width-container),
  #site-root :where([class*="-container-pinned"]) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  #site-root :where([data-block-level-container="Section"]) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #site-root :where(.wixui-rich-text),
  #site-root :where(.wrichtext) {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #site-root :where(.wixui-rich-text) h1,
  #site-root :where(.wixui-rich-text) h2,
  #site-root :where(.wrichtext) h1,
  #site-root :where(.wrichtext) h2 {
    font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }

  #site-root :where(.wixui-rich-text) p,
  #site-root :where(.wrichtext) p {
    font-size: clamp(0.9rem, 3.8vw, 1rem) !important;
    line-height: 1.6 !important;
  }

  /* Custom notify blocks — full width, isolated from Wix scaling */
  .notify-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
    pointer-events: auto !important;
  }

  .notify-section .notify-heading {
    font-size: clamp(1.65rem, 8.5vw, 2.35rem) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .notify-section .notify-sub,
  .notify-section .notify-eyebrow,
  .notify-section .notify-privacy,
  .notify-section .notify-success {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .notify-inner {
    width: 100% !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Force mobile menu preset when Wix container queries do not apply */
  .comp-mb7ogqrp_r_comp-mmp2pfoi-presets-wrapper {
    --preset-2eeafb3d: z3a8413ab !important;
  }

  /* Single-row mobile header: logo | profile | menu */
  #site-root :where(.comp-mb7ogqrp_r_comp-mb7ogqqn) {
    position: sticky;
    top: 0;
    z-index: 120;
    width: 100% !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mdr142kt) .comp-mb7ogqrp_r_comp-mdr142kt-container {
    display: grid !important;
    grid-template-columns: var(--header-icon-size, 40px) 1fr auto !important;
    grid-template-rows: minmax(56px, auto) !important;
    align-items: center !important;
    padding: calc(8px + env(safe-area-inset-top, 0px)) clamp(20px, 5vw, 28px) 8px !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    min-height: 56px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  #site-root .header-actions {
    grid-area: 1 / 3 / 2 / 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    height: 36px !important;
    margin: 0 !important;
    justify-self: end !important;
    align-self: center !important;
    pointer-events: none;
  }

  #site-root .header-actions > * {
    pointer-events: auto;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfjc) {
    grid-area: 1 / 1 / 2 / 2 !important;
    width: var(--header-icon-size, 40px) !important;
    min-width: var(--header-icon-size, 40px) !important;
    max-width: var(--header-icon-size, 40px) !important;
    height: var(--header-icon-size, 40px) !important;
    margin: 0 !important;
    align-self: center !important;
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfjc) img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmq4x45x),
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2ph0l),
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfse) {
    display: none !important;
  }

  /* Hide leaked desktop navigation */
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .navbar,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) [data-part="navbar"],
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .dropdown,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) ._root_12ho9_1 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    z-index: 120 !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .hamburgerOpenButton-presets-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .comp-mb7ogqrp_r_comp-mmp2pfoi-menu-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .hamburger-open-button,
  .hamburgerOpenButton-presets-wrapper .hamburger-open-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .hamburger-open-button .animated-icon,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .hamburger-open-button ._animatedIcon_18zas_2,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .hamburger-open-button ._icon_tpqnr_78,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .hamburger-open-button svg {
    display: none !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp2pfoi) .hamburger-open-button::before {
    content: "";
    display: block;
    width: 18px;
    height: 12px;
    background:
      linear-gradient(#fff, #fff) 0 0 / 18px 2px no-repeat,
      linear-gradient(#fff, #fff) 0 5px / 18px 2px no-repeat,
      linear-gradient(#fff, #fff) 0 10px / 18px 2px no-repeat;
    border-radius: 1px;
    box-shadow: none;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    z-index: 130;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50).login-social-bar {
    align-items: center !important;
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
    flex-direction: row !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._login_101h2_1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) .login-social-bar__avatar-icon,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._avatar_2paxv_7 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    --icon-size: 36px !important;
    --logged-out-icon-size: 36px !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._avatar_2paxv_7 img,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._avatar_2paxv_7 svg {
    width: 36px !important;
    height: 36px !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._avatarPlaceholder_2paxv_32,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._svgRoot_qpqmm_19 {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
  }

  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._avatarPlaceholder_2paxv_32 svg,
  #site-root :where(.comp-mb7ogqrp_r_comp-mmp1kp50) ._svgRoot_qpqmm_19 svg {
    position: static !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
  }

  .profile-dropdown {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px));
    right: 12px;
    left: auto;
    width: min(260px, calc(100vw - 24px));
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  }

  .notify-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .notify-section--top {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .header-notify-divider {
    width: 100% !important;
    max-width: 100% !important;
    height: 72px !important;
    margin: 0 !important;
    grid-column: 1 / -1 !important;
    background: #fff !important;
    border: 0 !important;
    z-index: 130 !important;
  }

  .header-notify-divider--bottom {
    height: 44px !important;
  }

  .notify-sub {
    margin-bottom: 28px;
  }

  .notify-input {
    font-size: 16px;
  }

  .notify-btn {
    min-height: 48px;
    padding: 14px 20px;
  }
}

@media (max-width: 767px) {
  .notify-heading {
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
  }

  .notify-eyebrow {
    margin-bottom: 14px;
  }
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 24px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.645, 0.045, 0.355, 1);
  overflow-y: auto;
}

.mobile-nav-overlay.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-nav-account {
  display: block;
  flex: 1;
  min-width: 0;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 8px 0;
  line-height: 1.3;
}

.mobile-nav-account:hover {
  opacity: 0.75;
}

.mobile-nav-close {
  flex-shrink: 0;
  align-self: flex-start;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  color: #111;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.mobile-nav-link,
.mobile-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: transparent;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-sublist {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 8px 12px;
}

.mobile-nav-group.is-open .mobile-nav-sublist {
  display: flex;
}

.mobile-nav-sublink {
  display: block;
  padding: 10px 0;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.mobile-nav-sublink:hover,
.mobile-nav-link:hover {
  opacity: 0.7;
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .mobile-nav-overlay {
    display: none !important;
  }
}
