.catalog-page {
  --catalog-ink: #183026;
  --catalog-green: #226b47;
  --catalog-green-dark: #174b34;
  --catalog-coral: #d96745;
  --catalog-blue: #2f6686;
  --catalog-muted: #627069;
  --catalog-line: #dce3dc;
  --catalog-pale: #f3f6f1;
  background: #fff;
  color: var(--catalog-ink);
  overflow-x: hidden;
}

.catalog-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--catalog-green-dark);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--catalog-coral);
}

.catalog-hero {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(24, 48, 38, .14);
  background: #e8e5df;
}

.catalog-hero::after {
  content: none;
}

.catalog-hero-media,
.catalog-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.catalog-hero-media {
  z-index: 0;
  overflow: hidden;
}

.catalog-hero-media img {
  object-fit: cover;
  object-position: center 47%;
}

.catalog-hero-inner {
  position: relative;
  z-index: 1;
}

.catalog-hero-copy {
  width: min(760px, 68%);
  padding: 38px 0 34px;
}

.catalog-hero h1 {
  max-width: 720px;
  margin: 16px 0 14px;
  color: var(--catalog-ink);
  font-size: 50px;
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.catalog-hero-copy > p {
  max-width: 620px;
  margin: 0;
  color: #506159;
  font-size: 18px;
  line-height: 1.45;
}

.catalog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.catalog-category-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(24, 48, 38, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
  color: var(--catalog-green-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.catalog-category-nav a:hover,
.catalog-category-nav a.active {
  border-color: var(--catalog-green);
  background: var(--catalog-green);
  color: #fff;
}

.catalog-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 700px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(24, 48, 38, .18);
}

.catalog-hero-facts span {
  min-width: 0;
  padding-right: 16px;
  color: var(--catalog-muted);
  font-size: 12px;
  line-height: 1.35;
}

.catalog-hero-facts span + span {
  padding-left: 16px;
  border-left: 1px solid rgba(24, 48, 38, .16);
}

.catalog-hero-facts b {
  display: block;
  margin-bottom: 2px;
  color: var(--catalog-ink);
  font-size: 14px;
}

.catalog-results {
  padding: 54px 0 60px;
}

.catalog-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.catalog-results-head h2,
.catalog-assist-copy h2,
.catalog-section-head h2,
.catalog-category-content h2 {
  margin: 10px 0 0;
  color: var(--catalog-ink);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.catalog-results-head p {
  max-width: 740px;
  margin: 10px 0 0;
  color: var(--catalog-muted);
}

.catalog-results-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-page .catalog-count {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-color: var(--catalog-line);
  border-radius: 6px;
  background: var(--catalog-pale);
  color: var(--catalog-muted);
}

.catalog-tool-panel {
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid var(--catalog-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 48, 38, .07);
}

.catalog-page .filter-bar {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.catalog-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.catalog-page .filter-search {
  position: relative;
  display: grid;
  gap: 6px;
  color: var(--catalog-muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-page .filter-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border-color: #bccbbf;
  border-radius: 6px;
  background: #fbfcfa;
  color: var(--catalog-ink);
  font-size: 16px;
}

.catalog-page .filter-search input:focus {
  border-color: var(--catalog-green);
  outline: 3px solid rgba(34, 107, 71, .12);
}

.catalog-filter-reset {
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid var(--catalog-line);
  border-radius: 6px;
  background: #fff;
  color: var(--catalog-green-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.catalog-filter-reset:hover {
  border-color: var(--catalog-green);
  background: var(--catalog-pale);
}

.catalog-filter-reset[hidden] {
  display: none;
}

.catalog-filter-details {
  border-top: 1px solid var(--catalog-line);
  padding-top: 12px;
}

.catalog-filter-details summary {
  color: var(--catalog-green-dark);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.catalog-filter-summary {
  float: right;
  margin-left: 14px;
  color: var(--catalog-muted);
  font-size: 12px;
  font-weight: 750;
}

.catalog-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 14px;
}

.catalog-filter-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--catalog-muted);
  font-size: 12px;
  font-weight: 800;
}

.catalog-filter-grid input,
.catalog-filter-grid select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-color: var(--catalog-line);
  border-radius: 6px;
  background: #fbfcfa;
}

.catalog-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-page .product-card {
  border-color: var(--catalog-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(24, 48, 38, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.catalog-page .product-card:hover {
  transform: translateY(-2px);
  border-color: #b6c8ba;
  box-shadow: 0 14px 34px rgba(24, 48, 38, .1);
}

.catalog-page .product-image {
  height: 220px;
  min-height: 0;
  aspect-ratio: auto;
  padding: 22px;
  background: #f1f5ef;
}

.catalog-page .product-image img {
  width: min(180px, 64%);
  max-height: 176px;
  opacity: 1;
}

.catalog-page .product-image-empty {
  background: #f1f2ed;
}

.catalog-page .product-availability-badge {
  position: absolute;
  top: 12px;
  right: auto;
  bottom: auto;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  border: 1px solid rgba(23, 75, 52, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: var(--catalog-green-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.catalog-page .product-status-order .product-availability-badge {
  border-color: #ead198;
  background: #fff5da;
  color: #77480f;
}

.catalog-page .product-status-muted .product-availability-badge {
  border-color: #d6dcd5;
  background: #f3f5f2;
  color: var(--catalog-muted);
}

.catalog-page .product-body {
  padding: 18px;
  gap: 10px;
}

.catalog-page .product-body h3 {
  font-size: 21px;
}

.catalog-page .product-body p {
  -webkit-line-clamp: 3;
}

.catalog-page .product-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-page .product-actions .product-cart-form {
  grid-column: 1 / -1;
}

.catalog-page .product-actions .btn {
  min-height: 42px;
}

.catalog-page .catalog-empty {
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 42px;
  border: 1px solid var(--catalog-line);
  border-left: 4px solid var(--catalog-coral);
  border-radius: 8px;
  background: var(--catalog-pale);
  box-shadow: none;
}

.catalog-page .catalog-empty h3 {
  max-width: 720px;
  margin: 0;
  color: var(--catalog-ink);
  font-size: 28px;
}

.catalog-page .catalog-empty p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--catalog-muted);
  font-size: 16px;
}

.catalog-results-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--catalog-line);
}

.catalog-results-footer div {
  display: grid;
  gap: 3px;
}

.catalog-results-footer strong {
  color: var(--catalog-ink);
}

.catalog-results-footer span {
  color: var(--catalog-muted);
  font-size: 13px;
}

.catalog-results-footer a {
  flex: 0 0 auto;
  color: var(--catalog-green-dark);
  font-weight: 850;
  text-decoration: none;
}

.catalog-results-footer a:hover {
  color: var(--catalog-coral);
}

.catalog-assist-band {
  margin: 0;
  padding: 58px 0;
  border: 0;
  border-radius: 0;
  background: var(--catalog-green-dark);
  color: #fff;
}

.catalog-assist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 64px;
  align-items: center;
}

.catalog-assist-band .catalog-label {
  color: #d7eadc;
}

.catalog-assist-copy h2 {
  max-width: 680px;
  color: #fff;
}

.catalog-assist-copy p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #cbd9d0;
  font-size: 17px;
}

.catalog-assist-copy .btn {
  min-height: 48px;
  margin-top: 24px;
}

.catalog-btn-light {
  border-color: #fff;
  background: #fff;
  color: var(--catalog-green-dark);
}

.catalog-btn-light:hover {
  border-color: #f7d6cc;
  background: #f7d6cc;
}

.catalog-intent-panel > span {
  display: block;
  margin-bottom: 10px;
  color: #d7eadc;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-assist-band .intent-shortcut-list {
  grid-template-columns: 1fr;
}

.catalog-assist-band .intent-shortcut {
  border-color: rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
}

.catalog-assist-band .intent-shortcut:hover,
.catalog-assist-band .intent-shortcut.active {
  border-color: rgba(255, 255, 255, .54);
  background: rgba(255, 255, 255, .13);
}

.catalog-assist-band .intent-shortcut b {
  color: #fff;
}

.catalog-assist-band .intent-shortcut span {
  color: #bfcfc5;
}

.catalog-process {
  padding: 58px 0;
  background: #fff;
}

.catalog-section-head {
  margin-bottom: 26px;
}

.catalog-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--catalog-line);
  border-bottom: 1px solid var(--catalog-line);
  background: var(--catalog-line);
}

.catalog-process-grid article {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 24px 24px 0;
  background: #fff;
}

.catalog-process-grid article + article {
  padding-left: 24px;
}

.catalog-process-grid article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--catalog-blue);
  color: #fff;
  font-weight: 900;
}

.catalog-process-grid h3 {
  margin: 0;
  color: var(--catalog-ink);
  font-size: 19px;
}

.catalog-process-grid p {
  margin: 7px 0 0;
  color: var(--catalog-muted);
  font-size: 14px;
}

.catalog-category-content {
  padding: 56px 0;
  border-top: 1px solid var(--catalog-line);
  background: var(--catalog-pale);
}

.catalog-page .category-content-grid {
  gap: 72px;
}

.catalog-page .category-content-grid p {
  color: var(--catalog-muted);
}

.catalog-page .category-content-grid ul {
  border-color: var(--catalog-line);
  border-radius: 8px;
  background: var(--catalog-line);
}

.catalog-seo-band {
  padding: 28px 0;
  border-top: 1px solid var(--catalog-line);
  background: #fff;
}

.catalog-seo-band p {
  max-width: 980px;
  margin: 0;
  color: var(--catalog-muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .catalog-hero-copy {
    width: min(700px, 76%);
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-assist-layout {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .catalog-hero {
    min-height: 410px;
  }

  .catalog-hero h1 {
    font-size: 44px;
  }

  .catalog-results-head,
  .catalog-results-footer {
    align-items: flex-start;
  }

  .catalog-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-assist-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .catalog-hero {
    min-height: 0;
    align-items: stretch;
    background: #f3f2ee;
  }

  .catalog-hero-media img {
    object-position: 68% center;
    opacity: .22;
  }

  .catalog-hero-copy {
    width: 100%;
    padding: 28px 0 24px;
  }

  .catalog-hero h1 {
    margin: 12px 0;
    font-size: 35px;
    line-height: 1.04;
  }

  .catalog-hero-copy > p {
    font-size: 16px;
  }

  .catalog-category-nav {
    flex-wrap: nowrap;
    margin-right: calc(var(--page-gutter, 20px) * -1);
    padding-right: var(--page-gutter, 20px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .catalog-category-nav::-webkit-scrollbar {
    display: none;
  }

  .catalog-category-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 12px;
  }

  .catalog-hero-facts {
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    margin-top: 20px;
    padding-top: 14px;
  }

  .catalog-hero-facts span:nth-child(3) {
    grid-column: 1 / -1;
    padding: 12px 0 0;
    border-top: 1px solid rgba(24, 48, 38, .12);
    border-left: 0;
  }

  .catalog-results {
    padding: 36px 0 44px;
  }

  .catalog-results-head {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
  }

  .catalog-results-head h2,
  .catalog-assist-copy h2,
  .catalog-section-head h2,
  .catalog-category-content h2 {
    font-size: 29px;
  }

  .catalog-results-actions {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-tool-panel {
    margin-bottom: 18px;
    padding: 13px;
  }

  .catalog-search-row {
    grid-template-columns: 1fr;
  }

  .catalog-filter-reset {
    width: 100%;
  }

  .catalog-filter-summary {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-filter-grid,
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-page .product-image {
    height: 176px;
  }

  .catalog-page .product-image img {
    width: min(148px, 58%);
    max-height: 142px;
  }

  .catalog-page .catalog-empty {
    min-height: 0;
    padding: 28px 22px;
  }

  .catalog-page .catalog-empty h3 {
    font-size: 24px;
  }

  .catalog-page .empty-state-actions,
  .catalog-page .empty-state-actions .btn {
    width: 100%;
  }

  .catalog-results-footer {
    display: grid;
    gap: 14px;
  }

  .catalog-assist-band,
  .catalog-process,
  .catalog-category-content {
    padding: 44px 0;
  }

  .catalog-assist-layout {
    gap: 28px;
  }

  .catalog-assist-copy p {
    font-size: 16px;
  }

  .catalog-assist-copy .btn {
    width: 100%;
  }

  .catalog-process-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: 0;
    background: transparent;
  }

  .catalog-process-grid article,
  .catalog-process-grid article + article {
    padding: 18px 0;
    border-bottom: 1px solid var(--catalog-line);
  }

  .catalog-page .category-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
