/*
Theme Name: Sheshi Light Mobile Hero Follow-up
Version: 0.28.3
Description: Makes light mode permanent, compacts the mobile hero and clarifies horizontal category scrolling.
*/

html,
html[data-theme="light"] {
  color-scheme: light !important;
}

@media (max-width: 767px) {
  .sheshi-nav {
    grid-template-columns: auto minmax(0, 1fr) 44px !important;
  }

  .sheshi-mobile-menu {
    grid-column: 3 !important;
  }

  body.sheshi-home .sheshi-hero {
    padding: 0 !important;
  }

  body.sheshi-home .sheshi-hero > .sheshi-wrap {
    padding-top: 32px !important;
    padding-bottom: 28px !important;
  }

  body.sheshi-home .sheshi-quick-categories {
    position: relative;
    overflow: hidden !important;
  }

  body.sheshi-home .sheshi-quick-categories::after {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 4px;
    width: 44px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--surface-page) 84%);
    content: "";
    opacity: 0;
    transition: opacity 120ms ease;
  }

  body.sheshi-home .sheshi-quick-categories.has-scroll-more::after {
    opacity: 1;
  }

  body.sheshi-home .sheshi-quick-categories > div {
    padding-right: 32px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sheshi-home .sheshi-quick-categories::after {
    transition: none;
  }
}
