/* Compact category navigation above the catalog; the sticky rail is filters only. */
.page-shell:has(.store-listing--category) { padding-top: 10px; }
.page-shell:has(.store-listing--category) .breadcrumbs { margin-bottom: 5px; }
.page-shell:has(.store-listing--category) .page-top { margin-bottom: 9px; }
.page-shell:has(.store-listing--category) .page-top .kicker { display: none; }
.page-shell:has(.store-listing--category) .page-title {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.9px;
}
.store-listing--category { padding-top: 0; }

.store-category-strip {
  margin-bottom: 11px;
  padding: 9px 11px 8px;
  border: 1px solid #dbe7f1;
  border-radius: 12px;
  background: #fff;
}
.store-category-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.store-category-strip-head h2 { margin: 0; color: #12395f; font: 800 14px Manrope,sans-serif; }
.store-category-strip-head a { color: #236a9c; font-size: 11px; font-weight: 800; }
.store-category-strip-row { display: flex; align-items: stretch; gap: 5px; }
.store-category-strip-row > button {
  flex: none;
  width: 27px;
  border: 1px solid #dce8f1;
  border-radius: 8px;
  background: #f6f9fc;
  color: #174768;
  font-size: 22px;
  cursor: pointer;
}
.store-category-strip-row > button:hover { background: #e8f2fa; }
.store-category-strip-list {
  display: flex;
  flex: 1 1 0;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px 22px;
  mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 20px), transparent 100%);
  scrollbar-color: #aec5d8 transparent;
  scrollbar-width: none;
  padding: 1px 0;
}
.store-category-strip-list::-webkit-scrollbar { display: none; }
.store-category-strip-list a {
  display: flex;
  flex: 0 0 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
  min-width: 0;
  min-height: 66px;
  padding: 7px 10px;
  border: 1px solid #e1eaf2;
  border-radius: 9px;
  background: #f7fafd;
  color: #12395f;
  scroll-snap-align: start;
  text-decoration: none;
}
.store-category-strip-list a:hover,.store-category-strip-list a:focus-visible {
  border-color: #8ab4d6;
  background: #edf5fb;
  outline: none;
}
.store-category-strip-list a[aria-current='page'] { border-color: #e9b65b; background: #fff4df; }
.store-category-strip-list strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 11px;
  line-height: 1.2;
}
.store-category-strip-list strong { font-size: 12px; line-height: 1.35; }
.store-category-strip-list a { align-items: flex-start; justify-content: center; min-height: 60px; }
.store-category-strip-list a:focus-visible { outline: 2px solid #075dd2; outline-offset: 2px; }

.store-listing--category .store-listing-layout { grid-template-columns: 212px minmax(0,1fr); gap: 15px; }
.store-listing--category .store-listing-sidebar {
  top: 10px;
  max-height: calc(100dvh - 20px);
  gap: 0;
  overflow-y: auto;
  padding-right: 2px;
}
.store-listing--category .store-listing-sidebar .store-category-sidebar { display: none; }
.store-listing--category .store-filter-panel {
  padding: 12px;
  border: 1px solid #dbe7f1;
  border-radius: 12px;
  background: #fff;
}
.store-listing--category .store-filter-panel::before { display: none; }
.store-listing--category .store-filter-head { margin-bottom: 9px; }
.store-listing--category .store-filter-head strong { font-size: 14px; }
.store-listing--category .store-list-controls { margin-bottom: 10px; }
.store-listing--category .store-filter-label { margin-bottom: 6px; font-size: 11px; }
.store-listing--category .store-tabs { gap: 5px; }
.store-listing--category .store-tabs button { min-height: 32px; padding: 4px 5px; font-size: 10px; }
.store-listing--category .store-filter-fields { gap: 8px; }
.store-listing--category .store-price-form { gap: 6px; }
.store-listing--category .store-price-form label { font-size: 9px; }
.store-listing--category .store-brand-field select,
.store-listing--category .store-price-form input { height: 35px; min-height: 35px; }
.store-listing--category .store-price-form button { min-height: 36px; margin-top: 0; }

.store-listing--category .store-results-toolbar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: auto;
  max-width: 100%;
  min-height: 40px;
  padding: 4px 10px;
  margin: 0 0 10px;
  border: 1px solid #dbe7f1;
  border-radius: 10px;
  background: #fff;
}
.store-listing--category .store-result-count { margin: 0; font-size: 12px; white-space: nowrap; }
.store-listing--category .store-toolbar-actions { gap: 0; margin-left: 0; }
.store-listing--category .store-sort-label {
  gap: 5px;
  margin: 0;
  padding-left: 11px;
  border-left: 1px solid #dbe7f1;
  font-size: 11px;
}
.store-listing--category .store-sort-label select {
  min-height: 31px;
  padding: 4px 8px;
  border: 0;
  border-radius: 7px;
  background: #f0f6fb;
  color: #12395f;
  font-size: 11px;
}

@media (max-width: 900px) {
  .store-listing--category .store-listing-layout { display: block; }
  .store-listing--category .store-listing-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    max-height: 100dvh;
    width: min(410px, 92vw);
    padding: 0 14px 16px;
    overflow-y: auto;
  }
  .store-listing--category .store-listing-sidebar[data-view='categories'] .store-category-sidebar { display: block; }
  .store-listing--category .store-category-sidebar-head { padding: 12px 15px; }
  .store-listing--category .store-category-sidebar-head h2 { margin: 0; }
  .store-listing--category .store-category-sidebar nav { max-height: none; overflow: visible; }
  .store-listing--category .store-category-sidebar nav a { min-height: 44px; padding: 7px 10px; }
  .store-listing--category .store-category-sidebar nav a strong { font-size: 12px; }
  .store-listing--category .store-category-sidebar nav a small { color: #33739f; font-size: 10px; font-weight: 800; }
  .store-category-all { display: block; padding: 11px 17px; color: #205983; font-size: 12px; font-weight: 800; }
  .store-listing--category .store-tabs button { min-height: 44px; }
  .store-category-strip { margin-bottom: 6px; padding: 0; border: 0; background: transparent; }
  .store-category-strip-head { margin-bottom: 5px; }
  .store-category-strip-head h2 { font-size: 12px; }
  .store-category-strip-head a { display: none; }
  .store-category-strip-row > button { display: none; }
  .store-category-strip-list { gap: 6px; padding-bottom: 4px; }
  .store-category-strip-list a { flex-basis: auto; min-height: 44px; padding: 9px 12px; }
  .store-category-strip-list strong { display: block; font-size: 12px; white-space: nowrap; }
  .store-category-strip-list small { display: none; }
  .store-listing--category .store-mobile-tools { position: static; margin: 0 0 6px; padding: 3px 0; background: transparent; box-shadow: none; }
}

@media (max-width: 520px) {
  .page-shell:has(.store-listing--category) .page-title { font-size: 25px; }
  .store-listing--category .store-results-toolbar { width: 100%; justify-content: space-between; gap: 5px; padding: 4px 6px; }
  .store-listing--category .store-result-count { font-size: 10px; }
  .store-listing--category .store-sort-label { gap: 3px; padding-left: 6px; font-size: 10px; }
  .store-listing--category .store-sort-label select { max-width: 132px; min-height: 37px; font-size: 10px; }
}

/* Keep short filtered result sets balanced instead of reserving a fourth slot. */
@media (min-width: 901px) {
  .store-listing-results .store-product-grid:has(> :first-child:last-child) { grid-template-columns: minmax(0, 300px); justify-content: center; }
  .store-listing-results .store-product-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
  .store-listing-results .store-product-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; }
}

.store-card.home-product-card .store-card-action button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  width: 100%;
}
.store-card .cart-glyph,.store-card .cart-glyph svg { display: block; width: 17px; height: 17px; flex: none; }
.store-card .cart-glyph svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cart-header-icon { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; flex: none; }
.cart-header-icon svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-actions .cart-action { padding-right: 18px; }
.header-actions .cart-action #cart-count { top: 3px; left: 29px; min-width: 18px; height: 18px; padding: 1px 4px; line-height: 16px; }

.preview-strip { background: #e5f0f9; color: #12395f; font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: .1px; }
.preview-strip span { color: #32638a; }
@media (max-width: 520px) { .preview-strip { font-size: 11px; } }

.store-listing--category .store-tabs button { min-height: 40px; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.store-listing--category .store-price-form label { color: #31526d; font-size: 11px; font-weight: 800; line-height: 1.3; }
.store-listing--category .store-price-form input::placeholder { color: #59738a; opacity: 1; }
.store-listing--category .store-price-form input { color: #12395f; }

.store-listing-results .store-card .product-meta { color: #345a78; font-size: 11px; font-weight: 900; line-height: 1.25; letter-spacing: .25px; text-transform: uppercase; }

.store-card.home-product-card .home-shipping { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 5px 8px; font-size: 11px; line-height: 1.2; }
.store-card.home-product-card .home-shipping svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.store-listing-results .store-card .home-card-image,
.store-listing-results .store-card .product-img,
.store-listing-results .store-card .product-img img { background: #fff; }
.store-listing-results .store-card .product-img img { object-fit: contain; object-position: center; }
.store-listing-results .store-card .product-img img[src*='zicco-zcp-855'] { transform: scale(1.15); }
.store-listing-results .store-card .product-img img[src*='exec-cfc76613'] { transform: scale(.93); filter: brightness(1.06) contrast(1.04); }

.store-listing-results .store-card .product-info h3 { text-wrap: balance; overflow-wrap: anywhere; min-height: 2.65em; }
@media (max-width: 520px) { .store-listing-results .store-card .product-info h3 { min-height: 2.55em; } }

.store-card.home-product-card .product-price { font-variant-numeric: tabular-nums; letter-spacing: -.35px; }
.store-card.home-product-card .price-currency { display: inline-block; margin-right: 1px; font-size: .83em; vertical-align: 1px; }
.store-card.home-product-card .home-vat { color: #486884; font-size: 11px; font-weight: 700; line-height: 1.25; }

.page-shell:has(.store-listing--category) .page-top { margin-bottom: 14px; }
.page-shell:has(.store-listing--category) .page-title { font-size: clamp(25px, 2vw, 31px); line-height: 1.2; letter-spacing: -.35px; }

html:has(.store-listing--category) { scrollbar-gutter: stable; }
body:has(.store-listing--category) .site-header,
body:has(.store-listing--category) .page-shell { max-width: 100%; }

.store-listing--category .store-results-toolbar { border: 0; border-radius: 0; background: transparent; padding: 0; gap: 12px; }
.store-listing--category .store-sort-label { padding-left: 0; border-left: 0; gap: 8px; color: #365b79; font-size: 12px; font-weight: 800; }
.store-listing--category .store-sort-label select { min-height: 38px; border: 1px solid #cbddea; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 800; }
@media (max-width: 520px) { .store-listing--category .store-results-toolbar { width: 100%; justify-content: space-between; } }

.store-listing--category .store-price-form button { border-color: #075dd2; background: #075dd2; color: #fff; }
.store-listing--category .store-price-form button:hover { border-color: #034caa; background: #034caa; }
.store-listing--category .store-tabs button.selected { border-color: #e5af52; background: #fff2d8; color: #12395f; }
