/* Gallop Galerie — editorial filter navigation, refined mobile layout.
   Scope everything to this page so experience pages remain unchanged. */
.gallery-filter-label-short,
.gallery-toolbar { display: none; }

@media (max-width: 680px) {
  /* The intro divider now leads straight into the collections. */
  body.page-editorial .page-intro.shell {
    padding-bottom: 22px;
    border-bottom-color: rgba(169, 121, 60, .26);
  }
  body.page-editorial .gallery-section.section {
    padding-top: 18px;
    padding-bottom: 64px;
  }

  .gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 0 0 8px;
  }
  .gallery-toolbar-name {
    font-family: var(--sans);
    font-size: .59rem;
    font-weight: 650;
    letter-spacing: .19em;
    color: #9a7548;
  }
  .gallery-toolbar-swipe {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--sans);
    font-size: .67rem;
    font-weight: 400;
    letter-spacing: .012em;
    color: #938879;
  }
  .gallery-toolbar-arrow {
    font-size: 1.05rem;
    line-height: 1;
  }

  /* One-row horizontal tabs instead of a stack of large rounded pills. */
  body.page-editorial .gallery-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    margin: 0 0 24px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(169, 151, 124, .35);
  }
  body.page-editorial .gallery-filters::-webkit-scrollbar { display: none; }
  body.page-editorial .gallery-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    margin: 0;
    padding: 9px 0 12px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
    color: #746b61;
    font-family: var(--sans);
    font-size: .77rem;
    font-weight: 450;
    letter-spacing: .005em;
    line-height: 1.2;
    transition: color .16s ease, border-color .16s ease;
    -webkit-tap-highlight-color: transparent;
  }
  body.page-editorial .gallery-filter[aria-pressed="true"] {
    color: #211c17;
    font-weight: 650;
    background: transparent;
    border-bottom-color: #a9793c;
  }
  body.page-editorial .gallery-filter:focus-visible {
    outline: 2px solid #a9793c;
    outline-offset: -4px;
  }
  .gallery-filter-label-full { display: none; }
  .gallery-filter-label-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-editorial .gallery-filter { transition: none; }
}
