/* Cardstop centered mobile header and compact price heading v9.0 */
.mobile-site-nav { display: none; }

@media (max-width: 900px) {
  .top-header { overflow: visible; }

  .header-inner {
    position: relative;
    justify-content: center;
    width: min(100% - 20px, 1240px);
  }

  .header-inner > .brand {
    position: absolute;
    left: 50%;
    width: 118px;
    height: 54px;
    margin: 0;
    transform: translateX(-50%);
  }

  .header-inner > .brand img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  .header-inner > .header-actions {
    position: absolute;
    right: 0;
    margin-left: 0;
  }

  .mobile-site-nav {
    z-index: 4;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dededb;
    border-radius: 13px;
    color: #171717;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .06);
    transition: border-color .18s, background .18s, transform .18s;
  }

  .mobile-menu-toggle:active { transform: scale(.94); }

  .mobile-menu-toggle:focus-visible {
    outline: 3px solid rgba(227, 7, 20, .18);
    outline-offset: 2px;
  }

  .mobile-menu-icon {
    position: relative;
    width: 17px;
    height: 12px;
  }

  .mobile-menu-icon::before,
  .mobile-menu-icon::after,
  .mobile-menu-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 17px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: top .2s, transform .2s, opacity .15s;
  }

  .mobile-menu-icon::before { top: 0; }
  .mobile-menu-icon span { top: 5px; }
  .mobile-menu-icon::after { top: 10px; }

  .mobile-site-nav.is-open .mobile-menu-icon::before {
    top: 5px;
    transform: rotate(45deg);
  }

  .mobile-site-nav.is-open .mobile-menu-icon span { opacity: 0; }

  .mobile-site-nav.is-open .mobile-menu-icon::after {
    top: 5px;
    transform: rotate(-45deg);
  }

  .mobile-nav-panel {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 206px;
    padding: 8px;
    border: 1px solid #dfdfdc;
    border-radius: 17px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .17);
    transform: translateY(-6px) scale(.98);
    transform-origin: top left;
    transition: visibility .18s, opacity .18s, transform .18s;
    pointer-events: none;
  }

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

  .mobile-nav-kicker {
    display: block;
    padding: 7px 10px 8px;
    color: #999;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .18em;
  }

  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 47px;
    padding: 0 12px;
    border-radius: 11px;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 900;
    transition: color .18s, background .18s;
  }

  .mobile-nav-panel a + a { margin-top: 3px; }

  .mobile-nav-panel a::after {
    content: "→";
    color: #e30714;
    font-size: 13px;
  }

  .mobile-nav-panel a.is-current {
    color: #fff;
    background: #151515;
  }

  .mobile-nav-panel a.is-current::after { color: #ff3d47; }
}

@media (max-width: 720px) {
  .header-inner { height: 64px; }

  .header-inner > .brand {
    width: 112px;
    height: 50px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .section-heading h2 {
    white-space: nowrap;
    font-size: clamp(31px, 8.8vw, 36px);
    letter-spacing: -.055em;
    line-height: 1;
  }

  html[data-cardstop-lang="en"] .section-heading h2 {
    font-size: clamp(21px, 6.75vw, 27px);
    letter-spacing: -.06em;
  }
}

@media (max-width: 350px) {
  .header-inner > .brand { width: 104px; }
  .lang-switch { padding: 3px; }
  .lang-switch button { padding: 6px 7px; font-size: 9px; }
  .mobile-nav-panel { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle,
  .mobile-menu-icon::before,
  .mobile-menu-icon::after,
  .mobile-menu-icon span,
  .mobile-nav-panel { transition-duration: .01ms; }
}
