/* Page anchors stay in the header while there is room; site pages live in Menu. */
.site-customized {
  --heading-scale: 1;
  --copy-scale: 1;
  --section-scale: 1;
}

.site-customized .desktop-products {
  min-width: 0;
  overflow: visible;
}

.site-customized .mobile-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-customized .more-menu {
  position: fixed;
  z-index: 40;
  top: 64px;
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
}

.site-customized main section[id],
.site-customized main form[id] {
  scroll-margin-top: 80px;
}

.site-customized .site-footer {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}

@media (max-width: 1050px) {
  .site-customized .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .site-customized .site-header {
    position: sticky;
    top: 0;
    height: 60px;
  }

  .site-customized .header-row {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-customized .desktop-products {
    display: none;
  }

  .site-customized .header-actions,
  .site-customized .mobile-more {
    display: inline-flex;
  }

  .site-customized .more-menu {
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: calc(100dvh - 60px);
  }

  .site-customized main section[id],
  .site-customized main form[id] {
    scroll-margin-top: 74px;
  }

  .site-customized .site-footer {
    grid-template-columns: 1fr;
  }
}
