.catalog-heading { background: #e7f4f3; padding-bottom: 26px; }
.catalog-heading .breadcrumbs { padding-bottom: 14px; }
.category-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.category-intro > div { min-width: 0; }
.category-intro h1 { font-size: 38px; }
.category-description { font-size: 16px; color: var(--muted); margin: 14px 0 0; }
.category-model-photo { width: 240px; height: 144px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.model-selector { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.model-selector a { min-height: 40px; display: grid; place-items: center; padding: 6px 18px; border: 1px solid #bad4d4; border-radius: 5px; font-size: 12px; font-weight: 650; }
.model-selector a:hover { background: #d3e9e7; border-color: #438798; }
.model-selector [aria-current] { background: var(--teal); color: #fff; border-color: var(--teal); }
.model-selector [aria-current]:hover { background: #0b505b; }
.catalog-band { padding: 34px 0 48px; color: #f1f9f8; background: var(--teal); }
.catalog-band :focus-visible { outline-color: #a5ece5; }
.catalog-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 24px; }
.catalog-section-heading h2 { font-size: 25px; }
.catalog-section-heading p { font-size: 12px; color: #bdd7dc; margin: 0; }
.catalog-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; }
.catalog-sidebar { min-width: 0; }
.catalog-sidebar fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.catalog-sidebar legend { font-size: 13px; font-weight: 650; padding: 0; margin-bottom: 15px; }
.catalog-filter { display: flex; align-items: center; gap: 9px; padding-block: 10px; font-size: 12px; cursor: pointer; }
.catalog-filter input { accent-color: #8fe1d8; margin: 0; flex-shrink: 0; width: 16px; height: 16px; }
.catalog-filter-name { flex: 1; min-width: 0; overflow-wrap: break-word; }
.catalog-filter-count { color: #b0d5da; font-size: 11px; }
.catalog-sidebar-note { margin: 23px 0 0; padding-top: 22px; border-top: 1px solid #36636b; color: #bdd7dc; font-size: 12px; line-height: 1.85; }
.catalog-related { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; color: #a5ece5; font-size: 12px; }
.catalog-related:hover { text-decoration: underline; }
.catalog-related span { font-size: 20px; }
.catalog-results { min-width: 0; }
.catalog-toolbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.catalog-search { display: flex; flex: 1; min-width: 0; align-items: center; gap: 9px; border: 1px solid #58878e; background: #124b55; border-radius: 5px; padding: 0 12px; }
.catalog-search svg { width: 18px; height: 18px; color: #c4e0e1; }
.catalog-search input { width: 100%; min-width: 0; height: 44px; padding: 9px 0; border: 0; background: transparent; color: #fff; font-size: 13px; }
.catalog-search input::placeholder { color: #b6d3d7; opacity: 1; }
.catalog-sort { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.catalog-sort label { font-size: 12px; color: #bdd7dc; }
.catalog-sort select { font: inherit; font-size: 12px; min-height: 44px; max-width: 100%; border: 1px solid #58878e; border-radius: 5px; padding: 8px 10px; background: #124b55; color: #fff; color-scheme: dark; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.catalog-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #4b7a82; border-radius: 8px; background: #124b55; transition: border-color .18s; }
.catalog-card:hover { border-color: #9bd7db; }
.catalog-card-media { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.catalog-photo-link { display: grid; place-items: center; width: 100%; height: 100%; padding: 16px; border: 0; background: #fff; color: var(--ink); }
.catalog-photo-link:focus-visible { outline-offset: -5px; outline-color: #096d80; }
.catalog-card-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .2s; }
.catalog-photo-link:hover img { transform: scale(1.025); }
.catalog-image-fallback { font-size: 12px; text-align: center; color: var(--muted); }
.catalog-condition { position: absolute; top: 10px; left: 10px; background: #edf7f4; color: #256254; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px; pointer-events: none; }
.catalog-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.catalog-product-kind { margin: 0 0 7px; color: #a5ece5; font-size: 10px; font-weight: 650; }
.catalog-card h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.catalog-title-button { display: inline; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; font-weight: inherit; }
.catalog-card h3 a:hover, .catalog-title-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.catalog-card-summary { margin: 9px 0 20px; color: #c3dce0; font-size: 12px; line-height: 1.7; }
.catalog-card-bottom { margin-top: auto; }
.catalog-card-price { display: block; font-size: 22px; font-weight: 650; line-height: 1.2; }
.catalog-card-tax { display: block; color: #b0d2d7; font-size: 10px; margin: 4px 0 15px; }
.catalog-action { display: flex; justify-content: center; align-items: center; min-height: 42px; width: 100%; padding: 9px 12px; border: 1px solid #84b8bc; border-radius: 5px; background: transparent; color: #fff; font-size: 12px; font-weight: 650; text-align: center; }
.catalog-action:hover { background: #1e6370; }
.catalog-action-primary { background: #ddf3ed; border-color: #ddf3ed; color: #123f48; }
.catalog-action-primary:hover { background: #b9e5dc; }
.catalog-empty { text-align: center; padding: 60px 24px; border-block: 1px solid #36636b; }
.catalog-empty h3 { margin: 0; font-size: 21px; }
.catalog-empty p { font-size: 13px; color: #bdd7dc; margin: 12px 0 22px; }
.catalog-empty button { width: auto; margin-inline: auto; }
.catalog-preview-note { font-size: 11px; line-height: 1.7; color: #bdd7dc; margin: 25px 0 0; }
.catalog-error { color: #fff; padding: 20px; border: 1px solid #9dc8c9; border-radius: 5px; font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.catalog-dialog { width: min(860px, calc(100% - 32px)); padding: 24px; }
.catalog-dialog-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-top: 24px; }
.catalog-dialog-media { aspect-ratio: 4 / 3; display: grid; place-items: center; min-width: 0; }
.catalog-dialog-media img { height: 100%; width: 100%; object-fit: contain; max-height: none; min-height: 0; }
.catalog-dialog-media p { font-size: 13px; color: var(--muted); }
.catalog-dialog-copy > p:not(.eyebrow) { font-size: 13px; color: var(--muted); }
.catalog-dialog-compatibility { padding-block: 15px; border-block: 1px solid var(--line); }
.catalog-dialog-copy .unit-price { font-size: 27px; }
.catalog-dialog-copy > .catalog-dialog-note { font-size: 11px; margin: 20px 0 0; }
body.catalog-dialog-open { overflow: hidden; }

@media (max-width: 1120px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { gap: 24px; grid-template-columns: 165px minmax(0, 1fr); }
  .catalog-sort label { display: none; }
}
@media (max-width: 800px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  #category-filters { display: flex; flex-wrap: wrap; gap: 4px 22px; }
  .catalog-sidebar legend { margin-bottom: 4px; }
  .catalog-sidebar-note { border-top: 0; padding-top: 0; margin-top: 8px; max-width: 540px; }
  .catalog-related { margin-top: 12px; justify-content: start; }
  .category-model-photo { width: 190px; height: 114px; }
  .category-intro h1 { font-size: 32px; }
  .category-description { font-size: 14px; }
}
@media (max-width: 560px) {
  .category-intro { align-items: start; flex-direction: column; gap: 18px; }
  .category-model-photo { width: 180px; height: 108px; }
  .category-intro h1 { font-size: 32px; }
  .model-selector a { padding-inline: 14px; }
  .catalog-section-heading h2 { font-size: 23px; }
  .catalog-toolbar { flex-wrap: wrap; gap: 12px; }
  .catalog-search { flex-basis: 100%; }
  .catalog-sort { width: 100%; }
  .catalog-sort label { display: inline; }
  .catalog-sort select { flex: 1; min-width: 0; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-card-media { aspect-ratio: 3 / 2; }
  .catalog-card-body { padding: 20px; }
  .catalog-dialog { padding: 18px; }
  .catalog-dialog-content { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog-dialog-media { width: 100%; max-width: 320px; justify-self: center; }
}
