/* Catalogue extends the ref1 tokens and components without changing the home. */
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.catalog-page main {
  padding-bottom: 100px;
}

.catalog-page h1 {
  font-size: clamp(38px, 5.2vw, 84px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 400;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.catalog-page main>section {
  min-width: 0;
}

.breadcrumbs {
  margin-block: 24px 36px;
  padding: 16px 20px;
  border: 1px solid var(--card-line);
  border-radius: 12px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  padding: 0;
  margin: 0;
  list-style: none;
  font: clamp(8px, 1vw, 20px)/1 var(--font-mono);
  color: var(--secondary);
}

.breadcrumbs li {
  display: inline;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.breadcrumbs li+li::before {
  content: '/';
  margin: 0 12px;
  color: #59595e;
}

.breadcrumbs [aria-current] {
  color: #dadad9;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs a {
  text-underline-offset: 4px;
  transition: color var(--transition);
}

.breadcrumbs a:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 4px;
  border-radius: 2px;
}

.catalog-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 24px 0 58px;
}

.catalog-intro-note {
  padding-bottom: 4px;
}

.catalog-intro-note p {
  margin-top: 24px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-intro-note .badge {
  color: #d6d6d2;
}

.category-card {
  min-height: 310px;
}

.category-card h2 {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 29px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.category-card-bottom {
  margin-top: auto;
}

.catalog-request-strip h2,
.product-delivery h2 {
  font-size: clamp(28px, 3.3vw, 50px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.catalog-request-strip {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-top: 70px;
  padding: 42px 0 0;
  border-top: 1px solid var(--line);
}

.catalog-request-strip .eyebrow {
  margin-bottom: 22px;
}

.catalog-request-strip .button {
  flex: 0 0 auto;
}

/* Category hero and sidebar */
.category-intro {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 20px 0 50px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.category-intro h1 {
  font-size: clamp(36px, 4.5vw, 70px);
  max-width: 1100px;
}

.category-intro p {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 26px;
  max-width: 680px;
}

.category-intro-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  border: 1px solid var(--card-line);
  border-radius: 22px;
  background: radial-gradient(ellipse, #303238, #222325);
}

.category-intro-image img {
  width: 90%;
  height: 220px;
  object-fit: contain;
  filter: saturate(.3);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.catalog-sidebar {
  min-width: 0;
}

.category-nav {
  border: 1px solid var(--card-line);
  border-radius: 12px;
  overflow: hidden;
}

.category-nav summary {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  list-style: none;
  font: 11px/1.5 var(--font-mono);
  letter-spacing: .04em;
}

.category-nav summary::-webkit-details-marker {
  display: none;
}

.category-nav summary>span {
  display: none;
}

.category-nav nav {
  padding: 0 10px 12px;
}

.category-nav-link {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 6px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.45;
}

.category-nav-link>span:last-child {
  font: 10px var(--font-mono);
  color: var(--muted);
}

.category-nav-link.active {
  color: var(--text);
  background: #303137;
}

.category-nav-link:hover {
  color: var(--text);
  background: #27282c;
}

.category-nav-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 20px;
  font-size: 11px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  margin-left: 10px;
}

.category-nav-sub>span:first-child {
  min-width: 0;
}

.category-nav-count {
  flex-shrink: 0;
  color: var(--muted);
  font: 10px var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.category-nav-sub.active {
  color: var(--text);
}

.category-nav-sub:hover {
  color: var(--text);
}

.sidebar-help {
  margin-top: 22px;
  padding: 25px 20px;
  border: 1px solid var(--card-line);
  border-radius: 12px;
  background: radial-gradient(ellipse at bottom, #2c2e35, var(--bg));
}

.sidebar-help .line-symbol {
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
}

.sidebar-help h2 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.sidebar-help p {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.65;
  margin: 18px 0 22px;
}

.sidebar-help .button {
  min-height: 44px;
  padding: 12px;
  width: 100%;
  font-size: 11px;
}

.catalog-listing {
  min-width: 0;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--card-line);
  border-radius: 12px;
  background: #222326;
}

.catalog-page main>.catalog-filters {
  margin-bottom: 32px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 120px;
  min-width: 0;
}

.filter-field>span {
  color: var(--secondary);
  font: 9px/1.4 var(--font-mono);
  letter-spacing: .025em;
}

.filter-search {
  flex: 2 1 230px;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 11px 12px;
  border: 1px solid #49494f;
  border-radius: 5px;
  color: var(--text);
  background: #1c1d1f;
  font-size: 12px;
}

.filter-field input::placeholder {
  color: #84848b;
}

.filter-reset {
  height: 44px;
  padding: 12px 3px;
  border: 0;
  font-size: 11px;
  color: var(--secondary);
  background: none;
  cursor: pointer;
}

.filter-reset:hover {
  color: var(--text);
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0 20px;
  align-items: baseline;
}

.listing-meta h2 {
  font: 10px/1.5 var(--font-mono);
  letter-spacing: .04em;
}

.listing-meta>span {
  font: 9px/1.5 var(--font-mono);
  color: var(--secondary);
}

/* Technical product list */
.product-table-wrap {
  width: 100%;
  min-width: 0;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.product-table th {
  padding: 15px 12px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font: 9px/1.5 var(--font-mono);
  white-space: nowrap;
}

.product-table th:first-child {
  padding-left: 0;
  width: 54%;
}

.product-table td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--card-line);
  color: #c5c5c8;
  font-size: 12px;
  line-height: 1.45;
}

.product-table td:first-child {
  padding-left: 0;
}

.product-table td:last-child {
  padding-right: 0;
}

.product-table tr:hover td {
  background: #242529;
}

.product-row-title {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  letter-spacing: -.025em;
  color: var(--text);
}

.product-row-title small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}

.row-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
  background: #ffffff;
}

.row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price-request {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.catalog-pagination a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: 11px var(--font-mono);
}

.catalog-pagination a[aria-current] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.catalog-pagination a:hover {
  border-color: #bbb;
}

#show-more {
  display: flex;
  margin: 28px auto 0;
}

.empty-results {
  padding: 45px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  font-size: 14px;
}

.category-text {
  padding: 42px 0 0;
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.category-text h2 {
  max-width: 680px;
  font-size: 26px;
  letter-spacing: -.04em;
  line-height: 1.25;
}

.category-text p {
  max-width: 750px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 20px;
}

/* Product page: original technical image and a quiet specification sheet. */
.product-heading {
  padding: 16px 0 44px;
}

.product-heading h1 {
  font-size: clamp(35px, 4.4vw, 72px);
}

.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-visual {
  min-width: 0;
  position: sticky;
  top: 28px;
}

.product-media {
  display: grid;
  place-items: center;
  padding: 24px;
  aspect-ratio: 1.2;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary {
  min-width: 0;
}

.product-summary>.eyebrow {
  margin-bottom: 24px;
}

.product-specs {
  border-top: 1px solid var(--line);
}

.product-specs>div {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--card-line);
}

.product-specs dt {
  color: var(--secondary);
  font-size: 12px;
}

.product-specs dd {
  color: var(--text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.quote-panel {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: radial-gradient(ellipse at 85% 85%, #2d3039, #232426 80%);
}

.quote-price>span {
  display: block;
  font-size: 26px;
  letter-spacing: -.04em;
}

.quote-price small {
  display: block;
  margin-top: 10px;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.65;
}

.quote-quantity {
  margin-top: 27px;
}

.quote-quantity>label {
  display: block;
  color: var(--secondary);
  font: 9px var(--font-mono);
  margin-bottom: 12px;
}

.quote-quantity>div {
  display: flex;
  align-items: center;
  max-width: 280px;
  gap: 0;
}

.quote-quantity button {
  width: 40px;
  height: 44px;
  flex: 0 0 40px;
  border: 1px solid #505159;
  border-radius: 5px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.quote-quantity input {
  width: 90px;
  min-width: 0;
  height: 44px;
  margin: 0 5px;
  padding: 12px 3px;
  border: 1px solid #505159;
  border-radius: 5px;
  text-align: center;
  color: var(--text);
  background: #212225;
  font-size: 14px;
  appearance: textfield;
}

.quote-quantity input::-webkit-inner-spin-button {
  appearance: none;
}

.quote-quantity select {
  height: 44px;
  margin-left: 14px;
  padding: 9px 12px;
  border: 1px solid #505159;
  border-radius: 5px;
  background: #212225;
  color: var(--text);
  font-size: 13px;
}

.weight-estimate {
  min-height: 17px;
  margin-top: 12px;
  color: var(--secondary);
  font: 10px/1.7 var(--font-mono);
}

#product-quote>.button {
  width: 100%;
  margin-top: 22px;
}

.quote-phone {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  color: var(--secondary);
  font-size: 11px;
}

.quote-phone:hover {
  color: var(--text);
}

.product-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 90px;
  background: radial-gradient(ellipse at 35% 30%, #2c2e3666, transparent 70%);
}

.product-information article+article {
  border-left: 1px solid var(--line);
}

.product-information .eyebrow {
  margin-bottom: 26px;
}

.product-information h2 {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -.04em;
  margin-bottom: 28px;
}

.product-information p,
.technical-notes {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.8;
}

.product-information p+p {
  margin-top: 20px;
}

.technical-notes li {
  margin-bottom: 9px;
}

.product-delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.product-delivery .eyebrow {
  margin-bottom: 22px;
}

.product-delivery p {
  max-width: 550px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.product-delivery .text-link {
  margin: 0 25px 14px 0;
}

.related-products {
  margin-top: 80px;
}

.catalog-not-found {
  padding: 80px 0;
}

.catalog-not-found .eyebrow {
  margin-bottom: 28px;
}

.catalog-not-found p {
  color: var(--secondary);
  margin-block: 30px;
}

@media (max-width: 1200px) {
  .catalog-layout {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 25px;
  }

  .product-row-title {
    gap: 12px;
    font-size: 12px;
  }

  .product-table td {
    padding-inline: 8px;
    font-size: 11px;
  }

  .product-table th {
    padding-inline: 8px;
    font-size: 8px;
  }

  .product-detail {
    gap: 32px;
  }

  .product-specs>div {
    grid-template-columns: 1fr 1.2fr;
    gap: 15px;
  }

  .product-specs dd {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .catalog-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 35px;
  }

  .catalog-intro-note {
    display: flex;
    gap: 24px;
    align-items: start;
  }

  .catalog-intro-note p {
    margin-top: 0;
  }

  .catalog-intro-note .badge {
    flex: 0 0 auto;
  }

  .category-intro {
    gap: 30px;
    grid-template-columns: 2fr 1fr;
  }

  .category-intro-image {
    min-height: 180px;
  }

  .category-intro-image img {
    height: 170px;
  }

  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .category-nav summary {
    cursor: pointer;
  }

  .category-nav summary>span {
    display: inline;
  }

  .category-nav nav {
    display: flex;
    flex-direction: column;
  }

  .sidebar-help {
    display: none;
  }

  .product-row-title {
    font-size: 14px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-visual {
    position: static;
  }

  .product-media {
    max-height: 500px;
    aspect-ratio: 1.5;
  }

  .product-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    align-items: start;
  }

  .product-summary>.eyebrow {
    grid-column: 1;
  }

  .product-specs {
    grid-column: 1;
  }

  .quote-panel {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
    padding: 24px;
  }

  .quote-price>span {
    font-size: 23px;
  }

  .product-information {
    margin-top: 65px;
  }

  .product-information .grid-cell {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .catalog-page main {
    padding-bottom: 65px;
  }

  .breadcrumbs {
    margin-block: 18px 27px;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .breadcrumbs li+li::before {
    margin-inline: 7px;
  }

  .catalog-page h1 {
    font-size: clamp(30px, 8.4vw, 46px);
  }

  .catalog-intro {
    padding-top: 14px;
    gap: 28px;
  }

  .catalog-intro-note {
    display: block;
  }

  .catalog-intro-note p {
    font-size: 12px;
    margin-top: 20px;
  }

  .category-card {
    min-height: 235px;
  }

  .category-card h2 {
    font-size: 18px;
  }

  .category-card img {
    height: 200px;
  }

  .catalog-request-strip h2,
  .product-delivery h2 {
    font-size: 30px;
  }

  .catalog-request-strip {
    display: block;
    margin-top: 50px;
    padding-top: 30px;
  }

  .catalog-request-strip .button {
    margin-top: 26px;
  }

  .category-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 10px 0 30px;
    margin-bottom: 24px;
  }

  .category-intro .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }

  .category-intro p {
    font-size: 12px;
    margin-top: 22px;
  }

  .category-intro-image {
    min-height: 0;
    height: 185px;
  }

  .category-intro-image img {
    width: 80%;
    height: 170px;
  }

  .category-nav summary {
    padding: 17px;
    font-size: 10px;
  }

  .category-nav nav {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    padding: 17px;
    gap: 14px;
  }

  .catalog-filters .filter-search {
    flex-basis: 100%;
  }

  .filter-field {
    flex-basis: 100px;
  }

  .filter-field>span {
    font-size: 8px;
  }

  .filter-field input,
  .filter-field select {
    font-size: 11px;
  }

  .filter-reset {
    flex-basis: 100%;
    height: 30px;
    padding: 5px 0;
    text-align: left;
  }

  .listing-meta {
    margin-top: 26px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .listing-meta h2 {
    font-size: 9px;
  }

  .listing-meta>span {
    font-size: 8px;
  }

  .product-table,
  .product-table tbody {
    display: block;
  }

  .product-table thead {
    display: none;
  }

  .product-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    gap: 15px 8px;
  }

  .product-table tr:first-child {
    border-top: 1px solid var(--line);
  }

  .product-table td {
    display: block;
    border: 0;
    padding: 0;
    font-size: 12px;
  }

  .product-table td:first-child {
    grid-column: 1 / -1;
  }

  .product-table td[data-label]::before {
    display: block;
    margin-bottom: 6px;
    content: attr(data-label);
    color: var(--muted);
    font: 8px/1.4 var(--font-mono);
    text-transform: uppercase;
  }

  .product-table td:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .product-row-title {
    font-size: 15px;
    gap: 15px;
  }

  .row-thumb {
    width: 60px;
    height: 52px;
    flex-basis: 60px;
  }

  .product-row-title small {
    font-size: 10px;
  }

  .product-table tr:hover td {
    background: transparent;
  }

  .category-text {
    margin-top: 32px;
    padding-top: 30px;
  }

  .category-text h2 {
    font-size: 24px;
  }

  .category-text p {
    font-size: 12px;
  }

  .product-heading {
    padding: 10px 0 30px;
  }

  .product-heading .eyebrow {
    font-size: 8px;
  }

  .product-heading h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .product-detail {
    gap: 32px;
  }

  .product-media {
    padding: 12px;
    aspect-ratio: 1.15;
    border-radius: 18px;
  }

  .product-summary {
    display: block;
  }

  .product-summary>.eyebrow {
    font-size: 10px;
  }

  .product-specs>div {
    padding: 16px 0;
  }

  .product-specs dt {
    font-size: 11px;
  }

  .product-specs dd {
    font-size: 12px;
  }

  .quote-panel {
    margin-top: 26px;
  }

  .quote-price>span {
    font-size: 26px;
  }

  .product-information {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .product-information article+article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-information .grid-cell {
    padding: 30px 24px;
  }

  .product-information h2 {
    font-size: 28px;
  }

  .product-information p,
  .technical-notes {
    font-size: 12px;
  }

  .product-delivery {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 58px;
  }

  .product-delivery p {
    font-size: 13px;
  }

  .related-products {
    margin-top: 58px;
  }

  .catalog-not-found {
    padding-block: 45px;
  }
}

@media (max-width: 600px) {
  #product-results tr {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  #product-results td[data-label] {
    display: none;
  }
}

@media (max-width: 600px) {
  .category-intro-image {
    display: none;
  }
}

@media (max-width: 600px) {
  .catalog-filters {
    display: none;
  }
}

@media (max-width: 600px) {
  .category-nav {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .category-nav summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    height: 60px;
    padding: 0 22px;
    border: 1px solid #ffffff24;
    border-radius: 999px;
    background: radial-gradient(ellipse at 70% 40%, #303137, transparent 70%), #202123;
    color: #ededed;
    font: 500 12px/1.4 var(--font-mono);
    letter-spacing: .04em;
    cursor: pointer;
  }

  .category-nav summary::before {
    content: '';
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: url('assets/category-grid-icon.webp') center / contain no-repeat;
  }

  .category-nav summary>span {
    display: none;
  }

  .category-nav summary::after {
    content: '';
    width: 9px;
    height: 9px;
    margin-left: auto;
    margin-right: 3px;
    border-right: 2px solid #ededed;
    border-bottom: 2px solid #ededed;
    transform: translateY(-3px) rotate(45deg);
    transition: transform var(--transition);
  }

  .category-nav[open] summary::after {
    transform: translateY(3px) rotate(225deg);
  }

  .category-nav nav {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--card-line);
    border-radius: 20px;
    background: #202123;
  }
}

@media (max-width: 600px) {
  .category-intro p {
    display: none;
  }
}

.category-drawer-backdrop,
.category-drawer-close {
  display: none;
}

@media (max-width: 600px) {
  .category-nav nav {
    position: fixed;
    z-index: 101;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 100dvh;
    margin: 0;
    padding: 76px 14px 28px;
    border: 0;
    border-left: 1px solid #ffffff24;
    border-radius: 22px 0 0 22px;
    background: radial-gradient(ellipse at 70% 40%, #303137, transparent 70%), #202123;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 260ms ease-out;
  }

  .category-nav.drawer-open nav {
    transform: translateX(0);
  }

  .category-drawer-backdrop {
    display: block;
    position: fixed;
    z-index: 100;
    inset: 0;
    border: 0;
    background: #0005;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease-out;
  }

  .category-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .category-nav nav .category-drawer-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff30;
    border-radius: 50%;
    background: #202123;
    color: #ededed;
    padding: 0;
    cursor: pointer;
  }

  .category-drawer-close::before,
  .category-drawer-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #ededed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .category-drawer-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .category-nav nav .category-drawer-title {
    position: absolute;
    top: 26px;
    left: 20px;
    font: 12px var(--font-mono);
    letter-spacing: .04em;
  }
}

@media (min-width: 601px) {
  .category-drawer-title {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .category-nav nav,
  .category-drawer-backdrop {
    transition: none;
  }
}