.cat {
  padding-block: 1.25rem clamp(3.5rem, 7vw, 7rem);
}
.cat-crumbs,
.cat-links,
.cat-chips,
.cat-actions,
.cat-pagination,
.cat-result-bar,
.cat-view {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cat-crumbs {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: clamp(2rem, 4.5vw, 4rem);
}
.cat-crumbs i {
  color: #777e80;
  font-style: normal;
}
.cat-crumbs a {
  text-decoration: none;
}
.cat-crumbs a:hover,
.cat-card a:hover h3,
.cat-entry a:hover h2 {
  color: var(--copper);
  text-decoration: underline;
}
.cat-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.1rem;
}
.cat h1 {
  font-family: "Barlow Condensed", var(--sans);
  font-size: clamp(3rem, 6.2vw, 6.1rem);
  letter-spacing: -0.032em;
  font-weight: 700;
  line-height: 1.02;
}
.cat h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}
.cat h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.cat-intro p,
.cat-lead {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  margin-top: 1rem;
}
.cat-chips {
  gap: 0.5rem;
}
.cat-chips a,
.cat-pagination a,
.cat-view button {
  border: 1px solid #c6cbc9;
  border-radius: 4px;
  padding: 0.52rem 0.9rem;
  text-decoration: none;
  background: transparent;
  font-weight: 600;
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
}
.cat-chips a:is([aria-current], :hover),
.cat-pagination a:is([aria-current], :hover),
.cat-view button[aria-pressed="true"] {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}
.cat-filter {
  margin: 1.4rem 0 2.1rem;
  padding: clamp(1rem, 2vw, 1.8rem);
  background: #edeeeb;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.cat-filter-primary,
.cat-filter-more,
.cat-compare-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}
.cat-filter-more {
  grid-template-columns: repeat(4, 1fr);
  padding-top: 1rem;
}
.cat-filter label,
.cat-compare-form label {
  display: grid;
  gap: 0.38rem;
  font-weight: 600;
}
.cat-select,
.cat select,
.cat-filter input {
  padding: 0.6rem 0.85rem;
  min-height: 2.9rem;
  min-width: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #a6acaa;
  border-radius: 3px;
  font-weight: 400;
}
.cat select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23212628' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 0.7rem center;
  padding-right: 2.1rem;
}
.cat .btn {
  background: var(--dark);
  color: white;
  border: 1px solid var(--dark);
  align-items: center;
}
.cat .btn:hover {
  background: #363d3e;
}
.cat-filter summary {
  margin-top: 0.8rem;
  font-weight: 600;
  min-height: 1.8rem;
}
.cat-result-bar {
  justify-content: space-between;
  margin-bottom: 1.1rem;
  gap: 1rem;
}
.cat-result-bar h2 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
.cat-links {
  gap: 1.25rem;
}
.cat-links a,
.cat-link,
.cat-step a {
  color: var(--copper);
  font-weight: 600;
}
.cat-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  padding: 0.25rem 0;
}
.cat-cards,
.cat-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
}
.cat-card,
.cat-entry {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}
.cat-card > a,
.cat-entry > a {
  height: 100%;
  color: inherit;
  display: block;
  text-decoration: none;
}
.cat-card-image {
  aspect-ratio: 1.9;
  overflow: hidden;
  background: #d3d6d2;
}
.cat-card-image img,
.cat-entry img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.cat-card-copy,
.cat-entry a > div {
  padding: clamp(1rem, 2vw, 1.65rem);
}
.cat-card-copy > span,
.cat-eyebrow,
.cat-materials {
  font-size: 0.81rem;
  font-family: var(--mono);
  line-height: 1.4;
  color: #774321;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}
.cat-card-copy h3 {
  margin-top: 0.45rem;
}
.cat-card-copy p,
.cat-entry p,
.cat-aside p,
.cat-step p,
.cat-detail-section > div > p,
.cat-panel p {
  line-height: 1.6;
  color: var(--muted);
  margin-top: 0.7rem;
}
.cat-image-note,
.cat-figure figcaption,
.cat-service-photo figcaption,
.cat-download-state {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.cat-pagination {
  margin-top: 1.5rem;
}
.cat-pagination a {
  min-width: 2.6rem;
  justify-content: center;
}
.cat-empty,
.cat-panel,
.cat-aside {
  background: #eceeea;
  border: 1px solid var(--line);
  padding: clamp(1.3rem, 3vw, 2.7rem);
  border-radius: 4px;
}
.cat-section,
.cat-detail-section,
.cat-panel {
  margin-top: clamp(2.5rem, 5vw, 5rem);
}
.cat-section > h2 {
  margin-bottom: 1.3rem;
}
.cat [hidden] {
  display: none !important;
}
.cat-product-hero,
.cat-detail-section,
.cat-editorial {
  display: grid;
  gap: clamp(1.4rem, 5vw, 5rem);
}
.cat-product-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
}
.cat-figure-window {
  overflow: hidden;
  border-radius: 4px;
  background: #dadbd7;
  aspect-ratio: 1.45;
}
.cat-figure-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-macro {
  transform: scale(1.8);
  transform-origin: 55% 52%;
}
.cat-view {
  margin-top: 0.7rem;
  gap: 0.35rem;
}
.cat-view button {
  font-size: 0.9rem;
  padding: 0.25rem 0.7rem;
  min-height: 2.4rem;
}
.cat-eyebrow {
  margin-bottom: 0.75rem;
}
.cat-eyebrow a {
  text-decoration: none;
}
.cat-product-hero h1 {
  font-size: clamp(2.75rem, 5.2vw, 5.55rem);
}
.cat-materials {
  margin-top: 1.15rem;
  color: #475250;
}
.cat-actions {
  margin: 1.7rem 0 1.1rem;
}
.cat-actions .btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #161817;
}
.cat-actions .btn:hover {
  background: #ff9b5a;
}
.cat-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 49px;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border: 1px solid #949d98;
  border-radius: 4px;
  font-weight: 600;
}
.cat-secondary:hover {
  border-color: var(--dark);
}
.cat-detail-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.cat-spec {
  margin: 0;
}
.cat-spec > div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.7fr) minmax(0, 1.8fr);
  gap: 1.2rem;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0.2rem;
}
.cat-spec dt,
.cat-faq summary {
  font-weight: 600;
}
.cat-spec dd {
  margin: 0;
  color: var(--muted);
}
.cat-faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  max-width: 56rem;
}
.cat-faq details p {
  color: var(--muted);
  margin-top: 0.55rem;
}
.cat-compare-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  margin-bottom: 2rem;
}
.cat-table-wrap {
  overflow-x: auto;
}
.cat-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
}
.cat-table :is(td, th) {
  padding: 1rem 0.9rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.cat-table th {
  background: #eff0ed;
}
.cat-entries.with-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cat-entry h2 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}
.cat-entry img {
  aspect-ratio: 2.65;
  height: auto;
  background: #ddd;
}
.cat-editorial {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: start;
}
.cat-step {
  border-top: 1px solid var(--line);
  padding: 1.65rem 0;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.cat-step:has(.cat-step-no) {
  flex-direction: row;
  gap: 1.1rem;
}
.cat-step h2,
.cat-aside h2,
.cat-panel h2 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}
.cat-step-no {
  font: 600 1rem/1.7 var(--mono);
  color: var(--copper);
}
.cat-side-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}
.cat-aside .btn,
.cat-panel .cat-secondary {
  margin-top: 1.1rem;
}
.cat-service-photo {
  margin: 0 0 1rem;
}
.cat-service-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 850px) {
  .cat-cards,
  .cat-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat-filter-primary,
  .cat-filter-more,
  .cat-compare-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat-product-hero,
  .cat-editorial,
  .cat-detail-section {
    gap: 1.5rem;
  }
  .cat-editorial {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .cat-crumbs {
    margin-bottom: 1.5rem;
  }
  .cat-cards,
  .cat-entries,
  .cat-entries.with-images,
  .cat-product-hero,
  .cat-detail-section,
  .cat-editorial {
    grid-template-columns: minmax(0, 1fr);
  }
  .cat-chips {
    gap: 0.4rem;
  }
  .cat-chips a {
    font-size: 0.91rem;
    padding: 0.42rem 0.65rem;
  }
  .cat-card-image {
    aspect-ratio: 2.1;
  }
  .cat-product-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .cat-product-hero > figure {
    order: 1;
  }
  .cat-detail-section {
    gap: 1rem;
  }
  .cat form label {
    font-size: 0.93rem;
  }
  .cat-filter-primary .cat-search,
  .cat-filter-primary .btn {
    grid-column: 1/-1;
  }
  .cat-compare-form {
    grid-template-columns: 1fr;
  }
  .cat-result-bar {
    align-items: start;
    flex-direction: column;
  }
  .cat-filter-primary,
  .cat-filter-more {
    gap: 0.6rem;
  }
  .cat-entry img {
    aspect-ratio: 2.3;
  }
  .cat-spec > div {
    gap: 0.65rem;
  }
}
@media print {
  .mast,
  .foot,
  .skip,
  .cat-crumbs,
  .cat-chips,
  .cat-actions,
  .cat-links,
  .cat-filter,
  .cat-pagination,
  .cat-download-state,
  .cat-recent,
  .cat-view,
  .cat-section:has(.cat-cards) {
    display: none !important;
  }
  .cat {
    padding: 0;
    width: 100%;
  }
  .cat-product-hero {
    grid-template-columns: 1fr 1fr;
  }
  .cat h1 {
    font-size: 2rem;
  }
  .cat-cards,
  .cat-entries {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-spec > div,
  .cat-card,
  .cat-step {
    break-inside: avoid;
  }
  .cat-figure-window {
    max-height: 15rem;
  }
  .cat-section,
  .cat-detail-section {
    margin-top: 1.4rem;
  }
  .cat h2 {
    font-size: 1.35rem;
  }
}
.cat-template {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.cat-template summary {
  font-weight: 600;
  color: var(--copper);
}
.cat-template p {
  color: var(--muted);
  margin-top: 0.6rem;
}
.cat-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}
.cat-template-grid label {
  display: grid;
  font-weight: 600;
  gap: 0.3rem;
}
.cat-template input {
  min-width: 0;
  width: 100%;
  border: 1px solid #949c99;
  border-radius: 3px;
  padding: 0.6rem;
  background: white;
}
.cat-template button {
  grid-column: span 2;
  justify-content: center;
  background: white;
}
.cat-template .cat-template-state {
  grid-column: 1/-1;
  margin: 0;
}
.cat-template .cat-template-state:empty {
  display: none;
}
@media print {
  .cat-template {
    display: none;
  }
}
