.home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.home-shortcuts .chip { padding-inline: 14px; background: var(--sand); }
.home-shortcuts .home-shortcut-all { border-color: var(--gold); background: transparent; }
.home-product-shelf { margin-block: 20px 24px; }
.home-product-rail { display: block; }
.home-product-shelf .section-head { align-items: center; gap: 4px 12px; margin-block: 0 4px; }
.home-product-shelf h2 { font-size: clamp(1.25rem, 4vw, 1.85rem); }
.home-product-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.home-product-track { margin: 0; gap: clamp(8px, 1vw, 14px); list-style: none; }
.home-product-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.home-product-track > li { display: flex; flex: 0 0 44%; min-width: 0; scroll-snap-align: start; }
.home-product-track .tile { width: 100%; overflow-wrap: anywhere; }
.home-product-track .tile-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-product-track .money { font-weight: 800; }
.home-shelf-empty { padding: 10px 0 14px; color: var(--text); font-size: .875rem; }
@media (min-width: 600px) {
  .home-product-track > li { flex-basis: 29%; }
}
@media (min-width: 960px) {
  .home-product-track > li { flex-basis: min(24%, 236px); }
}
.folder-directory { margin-block: 10px 15px; }
.folder-directory summary {
  display: list-item;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.folder-directory .catalog-tabs { margin-block: 0 10px; }

.brand-search { width: min(100%, 41rem); gap: 8px; margin-block: 15px 20px; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 106px), 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.brand-tile {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 104px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.brand-tile:hover { border-color: var(--gold); }
.brand-tile strong { font-size: .875rem; line-height: 1.2; }
.brand-tile small { color: var(--text); font-size: .8125rem; }
.brand-logo-box { display: grid; place-items: center; min-height: 52px; width: 100%; max-width: 125px; }
.brand-logo-box img { display: block; width: 100%; height: 52px; object-fit: contain; }
.brand-initials {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 750;
  letter-spacing: .025em;
}
.brand-page-heading { justify-content: start; align-items: center; gap: 12px 18px; }
.brand-page-heading .brand-logo-box { background: var(--paper); padding: 5px 9px; border-radius: 10px; }
.brand-page-heading p { flex-basis: 100%; }
.source-stamp .brand-logo-box {
  flex: 0 0 102px;
  padding: 5px 8px;
  border-radius: 10px;
  background: var(--paper);
}
.source-stamp .brand-logo-box img { height: 44px; }

.missing-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 100%;
  min-height: 36px;
  background: var(--sand);
  color: var(--text);
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.25;
}
.missing-photo svg { width: 28px; height: 28px; }
.alternative .missing-photo, .cart-line .missing-photo {
  flex: 0 0 auto;
  gap: 2px;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  font-size: .5625rem;
}
.alternative .missing-photo svg, .cart-line .missing-photo svg { width: 16px; height: 16px; }

.search-page { margin-block-end: 24px; }
.search-input { position: relative; min-width: 0; }
.search-suggestions {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  inset-block-start: calc(100% + 5px);
  min-width: min(290px, calc(100vw - 52px));
  max-height: min(21rem, 48vh);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
.search-suggestions-heading { margin: 0; padding: 9px 12px 4px; font-size: .75rem; font-weight: 700; }
.search-suggestions a {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  gap: 2px 8px;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.search-suggestions a:is(:hover, [aria-selected=true]) { background: var(--sand); }
.search-suggestions a + a { border-top: 1px solid var(--line); }
.search-suggestions-price { white-space: nowrap; color: var(--text); }
.search-page .search-form, .search-empty, .search-suggestion { max-width: 43rem; }
.search-suggestion {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin-block: 12px 20px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sand);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.search-suggestion .text-link { min-width: 0; font-size: inherit; font-weight: 750; }
.search-results h2 {
  margin-block-end: 4px;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  overflow-wrap: anywhere;
}
.search-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "previous position next";
}
.search-pager [rel=prev] { grid-area: previous; justify-self: start; }
.search-pager [aria-current=page] { grid-area: position; justify-self: center; }
.search-pager [rel=next] { grid-area: next; justify-self: end; }
@media (max-width: 480px) {
  .search-pager {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "position position" "previous next";
    gap: 8px;
  }
  .search-pager .secondary { padding-inline: 14px; }
}
