/* Mobile homepage is a product-first entry point; desktop storytelling remains unchanged. */
@media (max-width: 640px) {
  main > .proto-scene:not(.scene-products) {
    display: none !important;
  }

  body {
    background: #f5f5f7;
  }

  .proto-header {
    height: 60px;
    padding: 0 16px;
    background: rgba(8, 8, 11, .9);
  }

  #reactbits-header .staggered-menu-wrapper .sm-logo-img {
    filter: invert(1);
  }

  .proto-logo strong {
    font-size: 16px;
  }

  .proto-logo span,
  .header-progress,
  .proto-account a[href*="register"],
  .proto-account form {
    display: none;
  }

  .proto-account a {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
  }

  .scene-products,
  .scene-products .sticky-stage {
    height: auto;
    min-height: 100dvh;
  }

  .scene-products .sticky-stage {
    padding: 78px 16px 36px;
  }

  .catalog-heading {
    display: block;
    margin-bottom: 16px;
  }

  .catalog-heading .scene-label .eyebrow {
    margin-bottom: 8px;
    color: #777783;
    font-size: 9px;
  }

  .catalog-heading .scene-label h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .catalog-heading > p {
    display: none;
  }

  .catalog-browser {
    display: block;
  }

  .catalog-sidebar {
    display: block;
    overflow: visible;
  }

  .catalog-switch-label {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 9px;
    color: #303038;
    font-size: 10px;
  }

  .catalog-switch-label span {
    color: #9999a2;
    font-size: 8px;
  }

  .catalog-filters {
    display: flex;
    width: calc(100% + 16px);
    margin: 0;
    padding: 0 16px 4px 0;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
  }

  .catalog-filters::-webkit-scrollbar {
    display: none;
  }

  .catalog-filter {
    flex: 0 0 auto;
    width: auto;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #d7d7de;
    border-radius: 999px;
    color: #777783;
    font-size: 10px;
  }

  .catalog-filter.is-active {
    border-color: #17171b;
    background: #17171b;
    color: #fff;
  }

  .catalog-filter.is-active b {
    color: #c9b6ff;
  }

  .catalog-results {
    margin-top: 18px;
    overflow: visible;
  }

  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .catalog-card {
    min-width: 0;
    flex: initial;
    scroll-snap-align: none;
  }

  .catalog-card picture {
    aspect-ratio: 1 / 1.08;
    border: 1px solid #e0e0e6;
    background: #fff;
  }

  .catalog-card picture img {
    padding: 8px;
  }

  .catalog-card figcaption {
    align-items: flex-start;
    margin: 8px 2px 0;
    gap: 2px;
    text-align: left;
  }

  .catalog-card figcaption strong {
    font-size: 13px;
  }

  .catalog-card figcaption span {
    font-size: 9px;
    line-height: 1.4;
  }

  .catalog-scroll-cue {
    display: none;
  }
}
