.dust-hero { background: #202b24; color: #f3f6ef; }
.dust-hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 86px);
}
.dust-hero-copy h1 {
  margin-block: 14px 20px;
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: .95;
  letter-spacing: -.062em;
}
.dust-hero-copy > p { color: #d1dcd0; max-width: 450px; }
.dust-hero-copy .button { color: var(--ink); }
.dust-hero .dust-breadcrumb { display: flex; align-items: baseline; gap: 12px; font-size: .9rem; }
.dust-breadcrumb > a { text-decoration: underline; text-underline-offset: 4px; }
.dust-breadcrumb > span { color: #93a18f; }
.dust-hero-photo {
  overflow: hidden;
  border: 1px solid #69736a;
  border-radius: 9px;
  background: #e1e4d9;
  color: var(--ink);
}
.dust-hero-photo .dust-card-image img { aspect-ratio: 1.53; }
.dust-hero-photo figcaption {
  padding: 9px 13px;
  border-top: 1px solid #bbc4b5;
  font-size: .8rem;
}
.dust-hero :focus-visible { outline-color: var(--lime); }

.dust-catalogue { padding-block: clamp(46px, 6vw, 82px); }
.dust-catalogue .section-heading { align-items: end; }
.dust-catalogue .section-heading > p { max-width: 520px; }
.dust-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eff2eb;
}
.dust-filter label { display: grid; gap: 5px; font-size: .9rem; font-weight: 550; }
.dust-filter input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 8px 10px;
  border: 1px solid #cad2c9;
  border-radius: 4px;
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
}
.dust-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; }
.configuration-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.configuration-filter select { width: 100%; height: 43px; padding: 8px 10px; border: 1px solid #cad2c9; border-radius: 4px; background: #fff; font-size: 1rem; font-weight: 400; }
.configuration-comparison .spec-table td, .configuration-comparison .spec-table th { white-space: normal; }
.configuration-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 18px; }
.dust-catalogue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; margin-block: 19px 12px; }
.dust-catalogue-toolbar p { font-size: .9rem; }
.dust-comparison { margin-bottom: 16px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; }
.reference-comparison { overflow-x: auto; }
.reference-comparison .spec-table { min-width: 650px; }
.reference-comparison .spec-table td { width: auto; }
.dust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
#reference-catalogue + .dust-catalogue { padding-top: 0; }
.dust-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.dust-card-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e1e4d9;
}
.dust-card-image:focus-visible { outline-offset: -4px; }
.dust-card-image img { height: auto; aspect-ratio: 1.78; object-fit: cover; }
.dust-card-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  background: #284636;
  border: 1px solid #42634f;
  border-radius: 5px;
  color: #fff;
  box-shadow: 0 2px 8px #172e2450;
  font-size: .88rem;
  font-weight: 610;
}
.dust-card-image { cursor: pointer; }
.dust-card-image:is(:hover, :focus-visible) .dust-card-action {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.dust-card-image:active .dust-card-action { scale: .97; }
@media (prefers-reduced-motion: no-preference) {
  .dust-card-action { transition: background-color .16s, color .16s, scale .16s; }
}
.dust-card-body { padding: 17px clamp(13px, 2vw, 24px); }
.dust-card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 13px; }
.dust-card-title h3 { font-size: clamp(1.42rem, 2.75vw, 2rem); letter-spacing: -.025em; }
.dust-card-title > span { color: var(--secondary); font-size: .82rem; }
.dust-dimensions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.reference-dimensions { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.dust-dimensions dt { color: var(--secondary); font-size: .8rem; }
.dust-dimensions dd { margin: 0; font-size: .95rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.dust-dimensions dd span { color: var(--secondary); font-size: .76rem; font-weight: 400; }
.dust-reference-note { color: var(--secondary); margin-top: 14px; font-size: .82rem; }
.dust-empty { padding: 23px 19px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; }
.dust-empty p { margin-top: 7px; }
.dust-empty a { text-decoration: underline; text-underline-offset: 3px; }
.dust-custom { background: #eff2eb; border-top: 1px solid var(--line); }

.dust-viewer {
  width: min(1000px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  overscroll-behavior: contain;
}
body:has(.dust-viewer[open]) { overflow: hidden; }
.dust-viewer::backdrop { background: #18221bbd; }
.dust-viewer-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px clamp(14px, 3vw, 27px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.dust-viewer-header h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); letter-spacing: -.03em; }
.dust-viewer-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 11px;
  border: 1px solid #cad2c9;
  border-radius: 4px;
  background: var(--card);
}
.dust-viewer-close span { font-size: 1.28rem; }
.dust-viewer-content { padding: clamp(14px, 3vw, 27px); }
.dust-viewer-media { --viewer-image-height: clamp(240px, 33vw, 390px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; margin-bottom: 15px; }
.dust-viewer-media figure { margin: 0; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.dust-viewer-media img { display: block; height: auto; aspect-ratio: 680 / 410; object-fit: contain; flex: 1; }
.dust-viewer-photo { background: #d9ded2; }
.dust-viewer-drawing { background: #fcfdfb; }
.dust-viewer-media figcaption { padding: 8px 10px; border-top: 1px solid var(--line); background: var(--card); font-size: .79rem; color: var(--secondary); }
.dust-viewer-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-top: 17px; }

@media (min-width: 1080px) {
  .reference-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reference-grid .reference-dimensions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .dust-dimensions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dust-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dust-filter label:first-child { grid-column: 1 / -1; }
  .configuration-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dust-hero-inner { grid-template-columns: 1fr; }
  .dust-hero-copy h1 { font-size: clamp(3.0rem, 12.2vw, 5rem); }
  .dust-hero-photo img { max-height: 400px; }
  .dust-card-image img { aspect-ratio: 1.5; }
}
@media (max-width: 550px) {
  .dust-filter { padding: 12px; gap: 10px; }
  .dust-filter label { font-size: .82rem; }
  .dust-grid { grid-template-columns: 1fr; }
  .dust-viewer-media { grid-template-columns: 1fr; }
  .dust-viewer-drawing { order: -1; }
  .dust-viewer-actions { justify-content: flex-start; }
  .configuration-comparison { overflow-x: auto; }
  .dust-catalogue-toolbar:has(.configuration-links) { align-items: flex-start; flex-direction: column; }
  .configuration-links { justify-content: flex-start; }
}

.dust-model { background: radial-gradient(ellipse at center, #edf0e9, #d9ded2); }
.dust-model canvas { display: block; width: 100%; height: auto; cursor: grab; touch-action: none; }
.dust-model canvas:active { cursor: grabbing; }
.dust-model-caption, .dust-model-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.dust-model-caption { justify-content: space-between; }
.dust-model-controls { justify-content: center; padding: 0 8px 10px; }
.dust-model-controls button {
  min-height: 36px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
}
.dust-model:has([role="status"]:not([hidden])) :is(canvas, .dust-model-controls) { display: none; }

.dust-viewer [hidden] { display: none; }
.measurement-hint { margin: 0 0 .65rem; color: #415044; font-size: .9rem; }
.measurement-toggle {
  font: inherit;
  color: #304b31;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
  padding: .2rem 0;
}
.measurement-toggle[aria-pressed="true"] { color: #a44814; font-weight: 700; }

.dust-model-controls button[aria-pressed="true"] {
  background: #344e35;
  color: #fff;
}

.dust-viewer-photo.has-product-photos { background: #ced2cf; }

.product-photo-frame:not([hidden]) {
  display: grid;
  place-items: center;
  flex: none;
  height: var(--viewer-image-height);
  overflow: hidden;
}
.dust-viewer-media .product-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.product-photo-frame.is-zoomed img { transform: scale(1.25); }

.product-photo-frame,
.drawing-frame { position: relative; }
.drawing-frame { height: var(--viewer-image-height); flex: none; min-width: 0; }
.dust-viewer-media .drawing-frame img { width: 100%; height: 100%; aspect-ratio: auto; }
.viewer-image-zoom {
  position: absolute;
  z-index: 1;
  bottom: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #42634f;
  border-radius: 6px;
  color: #fff;
  background: #284636;
  cursor: pointer;
}
.viewer-image-zoom svg { width: 100%; height: 100%; }
.viewer-image-zoom:is(:hover, :focus-visible, [aria-pressed="true"]) {
  background: var(--lime);
  color: var(--ink);
}

.viewer-photo-toolbar { grid-column: 1 / -1; font-size: .79rem; color: var(--secondary); }
.dust-viewer-photo { position: relative; }
.viewer-photo-angles {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 0;
  gap: 4px;
}
.viewer-photo-angles button { min-height: 38px; }
#viewer-model-toggle {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #42634f;
  border-radius: 6px;
  background: #284636;
  color: #fff;
  text-decoration: none;
  font-size: .79rem;
}
#viewer-model-toggle:is(:hover, :focus-visible) { background: var(--lime); color: var(--ink); }
.dust-viewer-photo:has(#viewer-model-toggle:not([hidden])) .viewer-image-zoom { bottom: 52px; }
.dust-viewer-photo:has(.dust-model:not([hidden])) #viewer-model-toggle { top: 8px; bottom: auto; }
@media (max-width: 420px) {
  .viewer-photo-angles { bottom: 52px; max-width: calc(100% - 64px); }
}
.dust-viewer-photo .dust-model:not([hidden]) { display: flex; flex-direction: column; height: var(--viewer-image-height); min-height: 0; }
.dust-viewer-photo .dust-model canvas { flex: 1; min-height: 0; object-fit: contain; }
