.catalog-page {
    --catalog-ink: #172033;
    --catalog-muted: #657086;
    --catalog-line: #dce4ef;
    --catalog-soft: #f5f8fc;
    --catalog-surface: #ffffff;
    --catalog-blue: #1675d1;
    --catalog-blue-dark: #0b4f94;
    --catalog-blue-soft: #e9f4ff;
    --catalog-green: #157347;
    --catalog-green-soft: #e8f7ef;
    color: var(--catalog-ink);
}

.catalog-page .catalog-main,
.catalog-page .catalog-main *,
.catalog-page .catalog-category-sidebar,
.catalog-page .catalog-category-sidebar * {
    box-sizing: border-box;
}

.catalog-page .catalog-main {
    margin: 14px 18px 0 205px;
    padding-bottom: 30px;
    text-align: left;
}

.catalog-mobile-categories {
    display: none;
}

.catalog-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--catalog-muted);
    font-size: 13px;
}

.catalog-breadcrumbs a,
.catalog-breadcrumbs a:link,
.catalog-breadcrumbs a:visited {
    color: #4f6079;
}

.catalog-breadcrumbs a:hover {
    color: var(--catalog-blue);
}

.catalog-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    min-height: 176px;
    margin-bottom: 18px;
    padding: clamp(24px, 4vw, 42px);
    overflow: hidden;
    color: #fff;
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 12%, rgba(100, 196, 255, 0.42), transparent 28%),
        linear-gradient(135deg, #0b4e91 0%, #1679d6 58%, #28a0dc 100%);
    box-shadow: 0 18px 42px rgba(20, 88, 151, 0.2);
}

.catalog-hero::after {
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border: 42px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

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

.catalog-hero h1 {
    max-width: 820px;
    margin: 3px 0 9px;
    color: #fff;
    font-size: clamp(27px, 3.3vw, 43px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.catalog-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.catalog-hero-copy {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.catalog-hero-stat {
    display: grid;
    flex: 0 0 auto;
    min-width: 130px;
    padding: 16px 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
}

.catalog-hero-stat strong {
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

.catalog-hero-stat span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
}

.catalog-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #cfe3f6;
    border-radius: 14px;
    background: #f3f9ff;
}

.catalog-active-label {
    margin-right: 2px;
    color: #40516b;
    font-size: 13px;
    font-weight: 700;
}

.catalog-chip,
.catalog-chip:link,
.catalog-chip:visited {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 7px 10px;
    color: #175b98;
    font-size: 12px;
    line-height: 1.2;
    border: 1px solid #bad9f3;
    border-radius: 999px;
    background: #fff;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.catalog-chip span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-chip span:last-child {
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 0.8;
}

.catalog-chip:hover {
    color: #0d4d85;
    border-color: #78b7e9;
    transform: translateY(-1px);
}

.catalog-clear-link,
.catalog-clear-link:link,
.catalog-clear-link:visited {
    margin-left: auto;
    color: #57667b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(240px, 278px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.catalog-filter-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    padding: 13px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: 0;
    border-radius: 12px;
    background: var(--catalog-blue);
    cursor: pointer;
}

.catalog-filter-count,
.catalog-summary-count {
    display: inline-grid;
    min-width: 23px;
    height: 23px;
    place-items: center;
    padding: 0 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: var(--catalog-blue);
}

.catalog-filters {
    position: sticky;
    top: 12px;
    max-height: calc(100vh - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--catalog-line);
    border-radius: 18px;
    background: var(--catalog-surface);
    box-shadow: 0 12px 30px rgba(31, 54, 82, 0.08);
    overscroll-behavior: contain;
    scrollbar-color: #b8c6d7 transparent;
    scrollbar-width: thin;
}

.catalog-filters form {
    margin: 0;
}

.catalog-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 18px 16px;
    border-bottom: 1px solid var(--catalog-line);
}

.catalog-filter-heading h2 {
    margin: 2px 0 0;
    color: var(--catalog-ink);
    font-size: 23px;
    line-height: 1;
}

.catalog-filter-kicker {
    color: var(--catalog-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.catalog-filter-block {
    padding: 16px 18px;
    border-bottom: 1px solid #e9eef5;
}

.catalog-filter-title {
    display: block;
    margin: 0 0 10px;
    color: #26354c;
    font-size: 13px;
    font-weight: 750;
}

.catalog-filter-block select,
.catalog-sort select,
.catalog-range input {
    width: 100%;
    min-height: 40px;
    color: #27364b;
    font-family: Arial, sans-serif;
    font-size: 13px;
    border: 1px solid #cbd6e3;
    border-radius: 9px;
    outline: none;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-filter-block select,
.catalog-sort select {
    padding: 0 34px 0 11px;
}

.catalog-filter-block select:focus,
.catalog-sort select:focus,
.catalog-range input:focus {
    border-color: #5da5e4;
    box-shadow: 0 0 0 3px rgba(34, 127, 207, 0.12);
}

.catalog-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.catalog-range label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    color: #79869a;
    font-size: 11px;
    border: 1px solid #cbd6e3;
    border-radius: 9px;
    background: #fff;
}

.catalog-range label:focus-within {
    border-color: #5da5e4;
    box-shadow: 0 0 0 3px rgba(34, 127, 207, 0.12);
}

.catalog-range label > span {
    padding-left: 10px;
}

.catalog-range input {
    min-width: 0;
    padding: 0 8px 0 5px;
    border: 0;
    box-shadow: none;
}

.catalog-range input:focus {
    box-shadow: none;
}

.catalog-filter-details {
    border-bottom: 1px solid #e9eef5;
    background: #fff;
}

.catalog-filter-details summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 42px 12px 18px;
    color: #26354c;
    font-size: 13px;
    font-weight: 750;
    list-style: none;
    cursor: pointer;
    position: relative;
}

.catalog-filter-details summary::-webkit-details-marker {
    display: none;
}

.catalog-filter-details summary::after {
    position: absolute;
    right: 19px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #7a8798;
    border-bottom: 2px solid #7a8798;
    content: "";
    transform: translateY(-68%) rotate(45deg);
    transition: transform 0.15s ease;
}

.catalog-filter-details[open] summary::after {
    transform: translateY(-32%) rotate(225deg);
}

.catalog-filter-details summary > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-summary-count {
    min-width: 20px;
    height: 20px;
    margin-left: auto;
    font-size: 10px;
}

.catalog-options {
    display: grid;
    max-height: 226px;
    overflow-y: auto;
    padding: 0 14px 14px 18px;
    scrollbar-color: #b8c6d7 transparent;
    scrollbar-width: thin;
}

.catalog-option {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 32px;
    color: #33435a;
    font-family: Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
}

.catalog-option:hover .catalog-option-name {
    color: var(--catalog-blue);
}

.catalog-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--catalog-blue);
}

.catalog-option-name {
    min-width: 0;
    line-height: 1.25;
}

.catalog-option-count {
    color: #5f6d80;
    font-size: 11px;
}

.catalog-numeric-range {
    padding: 0 18px 16px;
}

.catalog-filter-note {
    margin: 0;
    padding: 16px 18px;
    color: var(--catalog-muted);
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    border-bottom: 1px solid #e9eef5;
    background: #f8fafc;
}

.catalog-filter-actions {
    position: sticky;
    z-index: 3;
    bottom: 0;
    display: grid;
    gap: 8px;
    padding: 16px 18px 18px;
    background: #f8fafc;
    box-shadow: 0 -8px 18px rgba(31, 54, 82, 0.07);
}

.catalog-button,
.catalog-button:link,
.catalog-button:visited {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: #26354c;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.catalog-button:hover {
    transform: translateY(-1px);
}

.catalog-button-primary,
.catalog-button-primary:link,
.catalog-button-primary:visited {
    color: #fff;
    border-color: var(--catalog-blue);
    background: var(--catalog-blue);
    box-shadow: 0 7px 16px rgba(22, 117, 209, 0.2);
}

.catalog-button-primary:hover {
    color: #fff;
    border-color: var(--catalog-blue-dark);
    background: var(--catalog-blue-dark);
}

.catalog-button-secondary,
.catalog-button-secondary:link,
.catalog-button-secondary:visited {
    color: #40516a;
    border-color: #cbd6e3;
    background: #fff;
}

.catalog-button-secondary:hover {
    color: #1f4f7c;
    border-color: #8dbce2;
}

.catalog-results {
    min-width: 0;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 3px 0;
}

.catalog-toolbar h2 {
    margin: 0 0 3px;
    color: var(--catalog-ink);
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.1;
}

.catalog-toolbar p {
    margin: 0;
    color: var(--catalog-muted);
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.catalog-toolbar-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.catalog-sort {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
    min-width: 210px;
}

.catalog-sort label {
    grid-column: 1 / -1;
    color: var(--catalog-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-sort select {
    min-height: 38px;
}

.catalog-sort-submit {
    min-height: 38px;
    padding: 0 11px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--catalog-blue);
    border-radius: 9px;
    background: var(--catalog-blue);
    cursor: pointer;
}

.catalog-sort-submit:hover {
    background: var(--catalog-blue-dark);
}

.catalog-view-switch {
    display: flex;
    overflow: hidden;
    border: 1px solid #cbd6e3;
    border-radius: 9px;
    background: #fff;
}

.catalog-view-switch a,
.catalog-view-switch a:link,
.catalog-view-switch a:visited {
    display: grid;
    width: 39px;
    height: 38px;
    place-items: center;
    color: #69778a;
    font-size: 18px;
    border-left: 1px solid #dbe3ec;
}

.catalog-view-switch a:first-child {
    border-left: 0;
}

.catalog-view-switch a:hover,
.catalog-view-switch a.is-active {
    color: #fff;
    background: var(--catalog-blue);
}

.catalog-products.is-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.catalog-products.is-list {
    display: grid;
    gap: 12px;
}

.catalog-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--catalog-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 19px rgba(36, 55, 79, 0.055);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.catalog-product-card:hover {
    border-color: #afd2ef;
    box-shadow: 0 14px 30px rgba(30, 87, 139, 0.12);
    transform: translateY(-2px);
}

.catalog-product-image {
    position: relative;
    display: grid;
    aspect-ratio: 1 / 0.82;
    place-items: center;
    min-height: 170px;
    padding: 18px;
    overflow: hidden;
    border-bottom: 1px solid #edf1f6;
    background:
        radial-gradient(circle at center, #fff 40%, transparent 72%),
        linear-gradient(145deg, #f8fafc, #edf4fa);
}

.catalog-product-image img {
    display: block;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.catalog-product-card:hover .catalog-product-image img {
    transform: scale(1.025);
}

.catalog-stock-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 5px 8px;
    color: var(--catalog-green);
    font-size: 10px;
    font-weight: 800;
    border: 1px solid #bce3ce;
    border-radius: 999px;
    background: var(--catalog-green-soft);
}

.catalog-product-content {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 14px 15px 8px;
}

.catalog-product-meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    overflow: hidden;
    color: #59677a;
    font-family: Arial, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
}

.catalog-product-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-product-meta span[aria-hidden] {
    flex: 0 0 auto;
}

.catalog-product-content h3 {
    min-height: 43px;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.catalog-product-content h3 a,
.catalog-product-content h3 a:link,
.catalog-product-content h3 a:visited {
    color: #1b2b42;
}

.catalog-product-content h3 a:hover {
    color: var(--catalog-blue);
}

.catalog-product-specs {
    display: grid;
    gap: 5px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.catalog-product-specs li {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 8px;
    min-width: 0;
    color: #5d6b7f;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.25;
}

.catalog-product-specs span,
.catalog-product-specs strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-product-specs strong {
    color: #46566d;
    font-weight: 600;
    text-align: right;
}

.catalog-photo-link,
.catalog-photo-link:link,
.catalog-photo-link:visited {
    align-self: flex-start;
    margin-top: auto;
    color: #6e7d91;
    font-family: Arial, sans-serif;
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.catalog-photo-link:hover {
    color: var(--catalog-blue);
}

.catalog-product-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px 15px;
}

.catalog-product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
}

.catalog-product-price strong {
    color: #132339;
    font-size: 22px;
    line-height: 1;
}

.catalog-product-price span {
    color: #657287;
    font-size: 11px;
    font-weight: 700;
}

.catalog-product-purchase form {
    margin: 0;
}

.catalog-buy-button {
    min-height: 38px;
    padding: 8px 12px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 750;
    border: 1px solid var(--catalog-blue);
    border-radius: 9px;
    background: var(--catalog-blue);
    box-shadow: 0 6px 14px rgba(22, 117, 209, 0.18);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.catalog-buy-button:hover {
    background: var(--catalog-blue-dark);
    transform: translateY(-1px);
}

.catalog-products.is-list .catalog-product-card {
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr) minmax(170px, auto);
    align-items: stretch;
}

.catalog-products.is-list .catalog-product-image {
    min-height: 150px;
    aspect-ratio: auto;
    border-right: 1px solid #edf1f6;
    border-bottom: 0;
}

.catalog-products.is-list .catalog-product-image img {
    max-height: 126px;
}

.catalog-products.is-list .catalog-product-content {
    padding: 17px 18px;
}

.catalog-products.is-list .catalog-product-content h3 {
    min-height: 0;
    font-size: 17px;
}

.catalog-products.is-list .catalog-product-specs {
    max-width: 580px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-products.is-list .catalog-product-purchase {
    min-width: 170px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 18px;
    border-left: 1px solid #edf1f6;
    background: #fbfcfe;
}

.catalog-products.is-list .catalog-product-price {
    justify-content: center;
}

.catalog-products.is-list .catalog-buy-button {
    width: 100%;
}

.catalog-empty {
    display: grid;
    min-height: 330px;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 38px 24px;
    text-align: center;
    border: 1px dashed #bdcddd;
    border-radius: 18px;
    background: #f8fafc;
}

.catalog-empty-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #6b91b5;
    font-size: 29px;
    border-radius: 50%;
    background: #e6f1fa;
}

.catalog-empty h3 {
    margin: 3px 0 0;
    color: #26354c;
    font-size: 22px;
}

.catalog-empty p {
    max-width: 420px;
    margin: 0 0 8px;
    color: var(--catalog-muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
}

.catalog-pagination a,
.catalog-pagination a:link,
.catalog-pagination a:visited,
.catalog-pagination .is-current {
    display: grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    padding: 0 8px;
    color: #44536a;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #ced9e5;
    border-radius: 9px;
    background: #fff;
}

.catalog-pagination a:hover,
.catalog-pagination .is-current {
    color: #fff;
    border-color: var(--catalog-blue);
    background: var(--catalog-blue);
}

.catalog-pagination .catalog-page-arrow {
    font-size: 17px;
}

.catalog-page-gap {
    padding: 0 4px;
    color: #8390a1;
}

.catalog-page .catalog-category-sidebar {
    width: 190px;
    margin-top: 14px;
    overflow: hidden;
    color: var(--catalog-ink);
    border: 1px solid var(--catalog-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31, 54, 82, 0.08);
}

.catalog-side-heading {
    padding: 17px 14px 14px;
    color: #fff;
    background: linear-gradient(135deg, #125fa8, #1985d7);
}

.catalog-side-heading > span {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-side-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 21px;
}

.catalog-category-list {
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.catalog-category-list details {
    border-bottom: 1px solid #e8edf3;
}

.catalog-category-list details:last-child {
    border-bottom: 0;
}

.catalog-category-list summary {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 22px 10px 11px;
    color: #33445b;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
}

.catalog-category-list summary::-webkit-details-marker {
    display: none;
}

.catalog-category-list summary::after {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 6px;
    height: 6px;
    border-right: 1px solid #74849a;
    border-bottom: 1px solid #74849a;
    content: "";
    transform: translateY(-65%) rotate(45deg);
}

.catalog-category-list details[open] summary::after {
    transform: translateY(-25%) rotate(225deg);
}

.catalog-category-list summary.is-active {
    color: #0d5d9f;
    background: #edf7ff;
}

.catalog-category-list summary small {
    color: #5e6b7e;
    font-size: 10px;
    font-weight: 700;
}

.catalog-category-list ul {
    margin: 0;
    padding: 4px 7px 9px;
    list-style: none;
    background: #f8fafc;
}

.catalog-category-list li {
    margin: 1px 0;
}

.catalog-category-list li a,
.catalog-category-list li a:link,
.catalog-category-list li a:visited {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 7px 7px;
    color: #56647a;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1.25;
    border-radius: 7px;
}

.catalog-category-list li a:hover,
.catalog-category-list li a.is-active {
    color: #0c5796;
    background: #e5f2fd;
}

.catalog-category-list li a span {
    color: #5e6b7e;
    font-size: 10px;
}

@media (max-width: 1120px) {
    .catalog-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog-filter-toggle {
        display: flex;
    }

    .catalog-filters {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .catalog-filters.is-collapsible:not(.is-open) {
        display: none;
    }

    .catalog-filters.is-collapsible.is-open {
        max-height: min(78vh, 760px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

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

    .catalog-filter-heading,
    .catalog-filter-actions,
    .catalog-filter-note {
        grid-column: 1 / -1;
    }

    .catalog-filter-block,
    .catalog-filter-details {
        border-right: 1px solid #e9eef5;
    }

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

@media (max-width: 950px) {
    .catalog-page .cont {
        float: none;
        width: auto;
    }

    .catalog-page .catalog-main {
        margin: 12px;
    }

    .catalog-mobile-categories {
        display: block;
        margin-bottom: 10px;
        overflow: hidden;
        border: 1px solid #bfd8ed;
        border-radius: 12px;
        background: #fff;
    }

    .catalog-mobile-categories > summary {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 9px;
        padding: 12px 38px 12px 13px;
        color: #23405e;
        font-size: 12px;
        list-style: none;
        cursor: pointer;
        position: relative;
    }

    .catalog-mobile-categories > summary::-webkit-details-marker {
        display: none;
    }

    .catalog-mobile-categories > summary::after {
        position: absolute;
        top: 50%;
        right: 15px;
        width: 8px;
        height: 8px;
        border-right: 2px solid #5f7891;
        border-bottom: 2px solid #5f7891;
        content: "";
        transform: translateY(-70%) rotate(45deg);
    }

    .catalog-mobile-categories[open] > summary::after {
        transform: translateY(-25%) rotate(225deg);
    }

    .catalog-mobile-categories > summary span {
        color: var(--catalog-blue);
        font-weight: 800;
        text-transform: uppercase;
    }

    .catalog-mobile-categories > summary strong {
        min-width: 0;
        overflow: hidden;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .catalog-mobile-category-forms {
        display: grid;
        gap: 9px;
        padding: 12px;
        border-top: 1px solid #dce7f1;
        background: #f6faff;
    }

    .catalog-mobile-category-forms form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px 8px;
        margin: 0;
    }

    .catalog-mobile-category-forms label {
        grid-column: 1 / -1;
        color: #5b6a7f;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .catalog-mobile-category-forms select {
        min-width: 0;
        min-height: 40px;
        padding: 0 9px;
        color: #26364b;
        border: 1px solid #bdccdc;
        border-radius: 8px;
        background: #fff;
    }

    .catalog-mobile-category-forms button {
        min-height: 40px;
        padding: 0 13px;
        color: #fff;
        font-weight: 700;
        border: 0;
        border-radius: 8px;
        background: var(--catalog-blue);
    }

    .catalog-page .catalog-category-sidebar {
        float: none;
        width: auto;
        margin: 6px 12px 70px;
    }

    .catalog-category-list {
        max-height: 430px;
    }

    .catalog-hero {
        border-radius: 17px;
    }
}

@media (max-width: 700px) {
    .catalog-hero {
        display: grid;
        min-height: 0;
        padding: 24px 20px;
    }

    .catalog-hero-stat {
        grid-template-columns: auto auto;
        align-items: baseline;
        justify-content: center;
        gap: 7px;
        min-width: 0;
        padding: 11px 14px;
    }

    .catalog-hero-stat strong {
        font-size: 23px;
    }

    .catalog-active-filters {
        align-items: stretch;
    }

    .catalog-active-label {
        width: 100%;
    }

    .catalog-clear-link {
        width: 100%;
        margin: 3px 0 0;
    }

    .catalog-filters form {
        display: block;
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-toolbar-actions {
        align-items: stretch;
    }

    .catalog-sort {
        min-width: 0;
        flex: 1 1 auto;
    }

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

    .catalog-products.is-list .catalog-product-card {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .catalog-products.is-list .catalog-product-image {
        min-height: 142px;
    }

    .catalog-products.is-list .catalog-product-content {
        padding: 14px;
    }

    .catalog-products.is-list .catalog-product-specs {
        grid-template-columns: 1fr;
    }

    .catalog-products.is-list .catalog-product-purchase {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        border-top: 1px solid #edf1f6;
        border-left: 0;
    }
}

@media (max-width: 510px) {
    .catalog-page .korheadr {
        display: flex;
        float: none;
        width: 100%;
        height: 54px;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

    .catalog-page .korheadr .inner {
        position: static;
        margin: 0;
    }

    .catalog-page .solidblockmenu {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }

    .catalog-page .solidblockmenu ul {
        display: flex;
        width: max-content;
        min-width: 100%;
        flex-wrap: nowrap;
    }

    .catalog-page .solidblockmenu ul li {
        display: block;
        width: auto;
        height: 40px;
        flex: 0 0 auto;
        margin: 0;
    }

    .catalog-page .solidblockmenu ul li a {
        display: flex;
        width: auto;
        min-width: 112px;
        height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
    }

    .catalog-page .solidblockmenu .search {
        width: 185px;
        height: 40px;
    }

    .catalog-page .solidblockmenu .search #ps {
        width: 145px;
        margin-top: 10px;
    }

    .catalog-page .catalog-main {
        margin: 8px;
    }

    .catalog-breadcrumbs {
        margin-left: 3px;
    }

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

    .catalog-hero {
        gap: 12px;
        padding: 19px 18px;
    }

    .catalog-eyebrow {
        display: none;
    }

    .catalog-hero-copy {
        font-size: 13px;
        line-height: 1.4;
    }

    .catalog-products.is-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog-product-image {
        height: 230px;
        min-height: 230px;
        aspect-ratio: auto;
    }

    .catalog-toolbar-actions {
        flex-wrap: wrap;
    }

    .catalog-sort {
        width: 100%;
        flex-basis: 100%;
    }

    .catalog-products.is-list .catalog-product-card {
        grid-template-columns: 1fr;
    }

    .catalog-products.is-list .catalog-product-image {
        min-height: 190px;
        border-right: 0;
        border-bottom: 1px solid #edf1f6;
    }

    .catalog-products.is-list .catalog-product-image img {
        max-height: 170px;
    }

    .catalog-products.is-list .catalog-product-purchase {
        grid-column: auto;
    }

    .catalog-page .catalog-category-sidebar {
        margin-right: 8px;
        margin-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-page *,
    .catalog-page *::before,
    .catalog-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
