/* V18.56 — a compact shop toolbar, not a second page header.
 * Shop-only presentation. Product cards, prices, filters and cart logic stay intact.
 */
.shop-compact-view .shop-compact-intro {
  padding: 12px 0 20px;
}
.shop-compact-view .shop-compact-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 28px;
  border-bottom: 1px solid var(--shop-line);
}
.shop-compact-view .shop-category-nav {
  display: flex;
  flex: 0 1 auto;
  align-self: stretch;
  min-width: 0;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-padding-inline: 4px;
}
.shop-compact-view .shop-category-nav::-webkit-scrollbar { display: none; }
.shop-compact-view .shop-category-nav a {
  position: relative;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 14px 4px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #58616c;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.shop-compact-view .shop-category-nav a:hover {
  color: var(--shop-ink);
  background: transparent;
}
.shop-compact-view .shop-category-nav a[aria-current] {
  color: var(--shop-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}
.shop-compact-view .shop-category-nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 4px 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--shop-orange);
}
.shop-compact-view .shop-category-nav a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: -4px;
  border-radius: 5px;
}
.shop-compact-view .shop-installation-note {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 0;
  color: #296243;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.shop-compact-view .shop-installation-note svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* A product grid does not need another card around all of its product cards. */
.shop-compact-view .shop-results {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.shop-compact-view .shop-products-head {
  min-height: 46px;
  margin-bottom: 16px;
}
.shop-compact-view .shop-products-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.65px;
}
.shop-compact-view .shop-sort {
  min-height: 44px;
  font-size: 16px;
}
.shop-compact-view .shop-result-count { font-size: 15px; }

@media (max-width: 1100px) {
  .shop-compact-view .shop-compact-toolbar { column-gap: 18px; }
  .shop-compact-view .shop-category-nav { gap: 18px; }
  .shop-compact-view .shop-installation-note { max-width: 310px; }
}
@media (max-width: 900px) {
  .shop-compact-view .shop-compact-intro { padding: 6px 0 16px; }
  .shop-compact-view .shop-compact-toolbar {
    display: block;
    border-bottom: 0;
  }
  .shop-compact-view .shop-category-nav {
    width: 100%;
    gap: 20px;
    border-bottom: 1px solid var(--shop-line);
  }
  .shop-compact-view .shop-category-nav a {
    min-height: 50px;
    padding: 12px 4px 14px;
    font-size: 17px;
  }
  .shop-compact-view .shop-installation-note {
    max-width: none;
    padding: 10px 0 0;
    font-size: 15px;
    line-height: 1.5;
  }
  .shop-compact-view .shop-products-head {
    gap: 10px;
    margin-bottom: 12px;
  }
  .shop-compact-view .shop-products-title h2 { font-size: 23px; }
  .shop-compact-view .shop-mobile-search input { font-size: 17px; }
}
@media (max-width: 390px) {
  .shop-compact-view .shop-category-nav { gap: 16px; }
  .shop-compact-view .shop-installation-note { align-items: flex-start; }
  .shop-compact-view .shop-installation-note svg { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-compact-view .shop-category-nav { scroll-behavior: auto; }
}
