.home-page .shelf-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.shelf-choice {
  position: relative;
  min-width: 0;
}

.shelf-choice select {
  display: block;
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 3px 29px 3px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: 650 clamp(1.4rem, 2.5vw, 2rem)/1.35 var(--editorial-serif);
  cursor: pointer;
}
.shelf-choice select option { color: var(--ink); background: white; font: 1rem sans-serif; }
.shelf-choice::after {
  content: "";
  position: absolute;
  right: 7px;
  top: calc(50% - 5px);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.shelf-heading .browse-all, .shelf-heading #nextShelf { min-height: 44px; white-space: nowrap; }

@media (min-width: 701px) {
  .department-grid, .rak-dept-buttons { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .department-grid, .rak-dept-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .department-grid { gap: 9px 7px; }
  .department-grid button { min-height: 44px; }
  .department-grid button span { font-size: .875rem; line-height: 1.45; }
  .rak-dept-tiles:not([data-active-dept=""]) .rak-dept-buttons button { grid-template: auto / 1fr; min-height: 44px; text-align: center; }
  .rak-dept-tiles:not([data-active-dept=""]) .rak-dept-buttons img { display: none; }
  .home-page .shelf-heading { margin-bottom: 7px; }
}
