/*
CaspiaSupply Product Catalog v1
独立商品列表页组件
*/

.pcat-page {
    --pcat-text: #15171b;
    --pcat-muted: #6f737b;
    --pcat-line: #e5e6e8;
    --pcat-soft: #f5f5f6;
    --pcat-accent: #0fbfb2;

    width: calc(100% - 48px);
    max-width: 1440px;
    margin: 0 auto;
    padding: 46px 0 88px;
    color: var(--pcat-text);
}

.pcat-page *,
.pcat-page *::before,
.pcat-page *::after {
    box-sizing: border-box;
}

.pcat-hero {
    max-width: 820px;
    margin: 0 auto 62px;
    text-align: center;
}

.pcat-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #8a8d93;
    font-size: 13px;
}

.pcat-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.pcat-breadcrumb a:hover {
    color: var(--pcat-accent);
}

.pcat-hero h1 {
    margin: 0;
    color: #0d0f12;
    font-size: clamp(34px, 3.3vw, 52px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.pcat-hero p {
    max-width: 720px;
    margin: 17px auto 0;
    color: #666a72;
    font-size: 15px;
    line-height: 1.75;
}

.pcat-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: clamp(42px, 5vw, 78px);
}

.pcat-sidebar {
    position: sticky;
    top: 96px;
    min-width: 0;
}

.pcat-filter-group {
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--pcat-line);
}

.pcat-filter-heading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    color: #1c1e22;
    background: transparent;
    font-size: 15px;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.pcat-filter-toggle {
    color: #555960;
    font-size: 18px;
    font-weight: 400;
}

.pcat-filter-body {
    display: grid;
    gap: 6px;
    margin-top: 15px;
}

.pcat-filter-group:not(.is-open) .pcat-filter-body {
    display: none;
}

.pcat-category {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border: 0;
    color: #646870;
    background: transparent;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.pcat-category:hover {
    color: #15171b;
    transform: translateX(3px);
}

.pcat-category.is-active {
    color: #ed5c5c;
    font-weight: 600;
}

.pcat-category em {
    color: inherit;
    font-size: 13px;
    font-style: normal;
}

.pcat-check-list,
.pcat-radio-list {
    gap: 11px;
}

.pcat-check-list label,
.pcat-radio-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #62666e;
    font-size: 14px;
    cursor: pointer;
}

.pcat-check-list input,
.pcat-radio-list input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #16181c;
}

.pcat-main {
    min-width: 0;
}

.pcat-toolbar {
    min-height: 46px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.pcat-toolbar-left {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pcat-result-count {
    margin-right: 8px;
    color: #6a6e75;
    font-size: 14px;
    white-space: nowrap;
}

.pcat-result-count strong {
    color: #1b1d21;
    font-weight: 600;
}

.pcat-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pcat-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 5px;
    color: #3f4248;
    background: #f3f3f4;
    font-size: 13px;
    cursor: pointer;
}

.pcat-filter-chip::after {
    content: "×";
    color: #60646b;
    font-size: 17px;
}

.pcat-clear {
    min-height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #15171b;
    font-size: 13px;
    cursor: pointer;
}

.pcat-toolbar-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.pcat-grid-switch {
    display: flex;
    align-items: center;
    gap: 3px;
}

.pcat-grid-switch button {
    width: 28px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: #c6c8cc;
    background: transparent;
    cursor: pointer;
}

.pcat-grid-switch button.is-active {
    color: #16181c;
}

.pcat-grid-icon {
    display: grid;
    grid-auto-flow: column;
    gap: 3px;
}

.pcat-grid-icon i {
    width: 4px;
    height: 15px;
    display: block;
    border-radius: 2px;
    background: currentColor;
}

.pcat-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c7077;
    font-size: 14px;
    white-space: nowrap;
}

.pcat-sort select {
    min-width: 168px;
    padding: 9px 30px 9px 10px;
    border: 0;
    color: #303238;
    background: transparent;
    font: inherit;
    outline: none;
    cursor: pointer;
}

.pcat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 28px;
}

.pcat-grid[data-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcat-grid[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 20px;
}

.pcat-card {
    min-width: 0;
}

.pcat-card[hidden] {
    display: none !important;
}

.pcat-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f2f3;
    text-decoration: none;
}

.pcat-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease, filter .35s ease;
}

.pcat-card:hover .pcat-card-media img {
    transform: scale(1.045);
    filter: brightness(.96);
}

.pcat-image-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #b7bbc1;
}

.pcat-image-empty svg {
    width: 62px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
}

.pcat-card-category {
    position: absolute;
    top: 13px;
    left: 13px;
    max-width: calc(100% - 26px);
    padding: 7px 10px;
    overflow: hidden;
    border-radius: 999px;
    color: #30343a;
    background: rgba(255, 255, 255, .84);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.pcat-card-view {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #fff;
    background: rgba(18, 20, 24, .9);
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.pcat-card:hover .pcat-card-view {
    opacity: 1;
    transform: translateY(0);
}

.pcat-card-content {
    padding: 15px 3px 0;
}

.pcat-card-tags {
    min-height: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 7px;
}

.pcat-card-tags span {
    padding: 4px 7px;
    border-radius: 4px;
    color: #32736e;
    background: #e9f7f5;
    font-size: 10px;
    font-weight: 600;
}

.pcat-card h2 {
    min-height: 2.8em;
    margin: 0;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
}

.pcat-card h2 a {
    color: #191b1f;
    text-decoration: none;
}

.pcat-card h2 a:hover {
    color: var(--pcat-accent);
}

.pcat-card-subtitle {
    min-height: 2.8em;
    display: -webkit-box;
    margin: 7px 0 0;
    overflow: hidden;
    color: #7b7f87;
    font-size: 12px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pcat-card-specs {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
}

.pcat-card-specs div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 7px;
    border-bottom: 1px solid #ececee;
}

.pcat-card-specs dt {
    color: #8a8e95;
    font-size: 11px;
}

.pcat-card-specs dd {
    margin: 0;
    color: #4f535a;
    font-size: 11px;
    text-align: right;
}

.pcat-card-footer {
    min-height: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
}

.pcat-card-price {
    min-width: 0;
}

.pcat-card-price small {
    display: block;
    margin-bottom: 4px;
    color: #92969c;
    font-size: 10px;
}

.pcat-card-price strong {
    display: block;
    overflow: hidden;
    color: #111317;
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcat-card-arrow {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #15171b;
    font-size: 18px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.pcat-card-arrow:hover {
    background: var(--pcat-accent);
    transform: translateX(2px);
}

.pcat-empty {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777b82;
    text-align: center;
}

.pcat-empty[hidden] {
    display: none !important;
}

.pcat-empty-icon {
    margin-bottom: 12px;
    font-size: 42px;
}

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

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

    .pcat-grid[data-columns="4"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .pcat-page {
        width: calc(100% - 24px);
        padding-top: 30px;
    }

    .pcat-hero {
        margin-bottom: 34px;
    }

    .pcat-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pcat-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }

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

    .pcat-toolbar-right {
        justify-content: space-between;
    }

    .pcat-grid,
    .pcat-grid[data-columns="2"],
    .pcat-grid[data-columns="3"],
    .pcat-grid[data-columns="4"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 14px;
    }

    .pcat-grid-switch {
        display: none;
    }
}

@media (max-width: 520px) {
    .pcat-sidebar {
        grid-template-columns: 1fr;
    }

    .pcat-toolbar-right {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .pcat-sort {
        justify-content: space-between;
    }

    .pcat-sort select {
        min-width: 0;
        max-width: 62%;
    }

    .pcat-grid,
    .pcat-grid[data-columns="2"],
    .pcat-grid[data-columns="3"],
    .pcat-grid[data-columns="4"] {
        grid-template-columns: 1fr;
    }

    .pcat-card-media {
        aspect-ratio: 4 / 3;
    }
}


/* ==================================================
   Product catalog hotfix 1
   1. Entire product content area uses a white background.
   2. Ensure all filter and toolbar labels remain visible.
   ================================================== */

.pcat-page {
    position: relative;
    isolation: isolate;
    background: #ffffff;
}

.pcat-page::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    background: #ffffff;
    transform: translateX(-50%);
}

.pcat-hero,
.pcat-sidebar,
.pcat-main,
.pcat-toolbar,
.pcat-filter-heading,
.pcat-category,
.pcat-check-list label,
.pcat-radio-list label,
.pcat-result-count,
.pcat-sort {
    visibility: visible;
    opacity: 1;
}

.pcat-filter-heading > span:first-child {
    display: inline;
    color: #1c1e22;
}

.pcat-check-list label > span,
.pcat-radio-list label > span {
    display: inline;
    color: #62666e;
}

.pcat-toolbar {
    color: #1b1d21;
}

/* C0023: industrial B2B product catalog */
.pcat-page {
    --pcat-text: #101820;
    --pcat-muted: #5f6b76;
    --pcat-line: #d8dee5;
    --pcat-line-strong: #b8c2cc;
    --pcat-soft: #f5f7fa;
    --pcat-soft-alt: #eef2f6;
    --pcat-accent: #0868ac;
    --pcat-accent-soft: #e8f2f9;
    --pcat-dark: #111820;
    width: calc(100% - 40px);
    max-width: 1520px;
    padding: 34px 0 72px;
    background: #f4f6f8;
    font-variant-numeric: tabular-nums;
}

.pcat-page::before {
    background: #f4f6f8;
}

.pcat-hero {
    max-width: none;
    margin: 0 0 26px;
    padding: 22px 24px 20px;
    border: 1px solid var(--pcat-line);
    border-left: 4px solid var(--pcat-accent);
    border-radius: 2px;
    background: #fff;
    text-align: left;
}

.pcat-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 10px;
    font-size: 12px;
}

.pcat-hero h1 {
    font-size: clamp(30px, 2.8vw, 42px);
    letter-spacing: -.025em;
}

.pcat-hero p {
    max-width: 900px;
    margin: 10px 0 0;
    color: var(--pcat-muted);
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}

.pcat-layout {
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 24px;
}

.pcat-sidebar {
    top: 88px;
    overflow: hidden;
    border: 1px solid var(--pcat-line);
    border-radius: 2px;
    background: #fff;
}

.pcat-filter-group {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--pcat-line);
}

.pcat-filter-group:last-child {
    border-bottom: 0;
}

.pcat-filter-heading {
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid transparent;
    color: var(--pcat-dark);
    background: #f7f9fb;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
    text-align: left;
}

.pcat-filter-group.is-open .pcat-filter-heading {
    border-bottom-color: var(--pcat-line);
}

.pcat-filter-heading > span:first-child,
.pcat-filter-label,
.pcat-category-name {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-align: left;
}

.pcat-filter-toggle {
    flex: 0 0 auto;
    color: #33414d;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
}

.pcat-filter-body {
    gap: 2px;
    margin-top: 0;
    padding: 8px;
}

.pcat-category {
    min-height: 34px;
    gap: 10px;
    padding: 6px 8px;
    border-left: 3px solid transparent;
    color: #46525e;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.pcat-category:hover {
    color: #16212b;
    background: #f3f6f8;
    transform: none;
}

.pcat-category.is-active {
    border-left-color: var(--pcat-accent);
    color: #064f85;
    background: var(--pcat-accent-soft);
    font-weight: 700;
}

.pcat-category em {
    min-width: 24px;
    padding: 2px 5px;
    border: 1px solid var(--pcat-line);
    border-radius: 2px;
    background: #fff;
    color: #4c5965;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    text-align: center;
}

.pcat-check-list,
.pcat-radio-list {
    gap: 1px;
}

.pcat-check-list label,
.pcat-radio-list label {
    min-height: 32px;
    align-items: flex-start;
    gap: 9px;
    padding: 6px 8px;
    color: #46525e;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}

.pcat-check-list label:hover,
.pcat-radio-list label:hover {
    background: #f3f6f8;
}

.pcat-check-list label > span,
.pcat-radio-list label > span {
    min-width: 0;
    color: inherit;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-align: left;
}

.pcat-check-list input,
.pcat-radio-list input {
    appearance: none;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 1px 0 0;
    border: 1px solid #8b98a4;
    border-radius: 1px;
    background: #fff;
    cursor: pointer;
}

.pcat-check-list input:checked,
.pcat-radio-list input:checked {
    border-color: var(--pcat-accent);
    background-color: var(--pcat-accent);
    box-shadow: inset 0 0 0 3px #fff;
}

.pcat-check-list input:focus-visible,
.pcat-radio-list input:focus-visible {
    outline: 2px solid rgba(8, 104, 172, .25);
    outline-offset: 2px;
}

.pcat-main {
    min-width: 0;
}

.pcat-toolbar {
    min-height: 54px;
    align-items: center;
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid var(--pcat-line);
    border-radius: 2px;
    background: #fff;
}

.pcat-result-count {
    font-size: 13px;
}

.pcat-result-count strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 750;
}

.pcat-filter-chip,
.pcat-clear {
    min-height: 32px;
    border-radius: 2px;
    font-size: 12px;
}

.pcat-filter-chip {
    border: 1px solid var(--pcat-line);
    background: #f7f9fb;
}

.pcat-clear {
    border: 1px solid var(--pcat-dark);
    background: var(--pcat-dark);
}

.pcat-toolbar-right {
    gap: 18px;
}

.pcat-grid-switch {
    padding: 2px;
    border: 1px solid var(--pcat-line);
    background: #f7f9fb;
}

.pcat-grid-switch button {
    width: 32px;
    height: 28px;
}

.pcat-grid-switch button.is-active {
    color: #fff;
    background: var(--pcat-dark);
}

.pcat-sort {
    font-size: 13px;
    text-align: left;
}

.pcat-sort select {
    min-width: 188px;
    padding: 8px 30px 8px 10px;
    border: 1px solid var(--pcat-line);
    border-radius: 2px;
    background-color: #fff;
}

.pcat-grid {
    gap: 20px;
}

.pcat-grid[data-columns="2"] {
    gap: 24px;
}

.pcat-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pcat-line);
    border-radius: 3px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.pcat-card:hover {
    border-color: #9ba8b4;
    box-shadow: 0 4px 12px rgba(16, 24, 32, .06);
}

.pcat-card-media {
    aspect-ratio: 4 / 3;
    padding: 10px;
    border-bottom: 1px solid var(--pcat-line);
    border-radius: 0;
    background: #f5f7fa;
}

.pcat-card-media img {
    object-fit: contain;
    background: #f5f7fa;
    transition: none;
}

.pcat-card:hover .pcat-card-media img {
    transform: none;
    filter: none;
}

.pcat-card-category {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 5px 7px;
    border: 1px solid var(--pcat-line-strong);
    border-radius: 2px;
    background: rgba(255,255,255,.96);
    color: #27333d;
    font-size: 10px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: none;
}

.pcat-card-view {
    display: none;
}

.pcat-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.pcat-card-tags {
    min-height: 22px;
    gap: 5px;
    margin-bottom: 8px;
}

.pcat-card-tags span {
    padding: 3px 6px;
    border: 1px solid #9fc4db;
    border-radius: 2px;
    background: #eef6fb;
    color: #075b94;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .02em;
}

.pcat-card h2 {
    min-height: 2.7em;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-align: left;
}

.pcat-card-subtitle {
    min-height: 2.8em;
    margin-top: 6px;
    color: #697580;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-align: left;
}

.pcat-card-data-heading {
    margin: 13px 0 6px;
    color: #36434e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: left;
}

.pcat-card-specs {
    display: block;
    margin: 0;
    border: 1px solid var(--pcat-line);
    background: #fff;
}

.pcat-card-specs div {
    display: grid;
    grid-template-columns: minmax(92px, 42%) minmax(0, 1fr);
    gap: 10px;
    min-height: 32px;
    padding: 7px 8px;
    border-bottom: 1px solid var(--pcat-line);
    align-items: center;
}

.pcat-card-specs div:nth-child(even) {
    background: #f5f7fa;
}

.pcat-card-specs div:last-child {
    border-bottom: 0;
}

.pcat-card-specs dt,
.pcat-card-specs dd {
    min-width: 0;
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
    text-align: left;
}

.pcat-card-specs dt {
    color: #66727e;
    font-weight: 650;
}

.pcat-card-specs dd {
    margin: 0;
    color: #14202a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-weight: 700;
}

.pcat-card-commercial {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 9px 10px;
    border: 1px solid var(--pcat-line);
    background: #f7f9fb;
    text-align: left;
}

.pcat-card-commercial small {
    color: #687581;
    font-size: 10px;
}

.pcat-card-commercial strong {
    min-width: 0;
    color: #111820;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-align: right;
}

.pcat-card-footer {
    min-height: 0;
    margin-top: 8px;
}

.pcat-card-cta {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 13px;
    border: 1px solid var(--pcat-dark);
    border-radius: 2px;
    color: #fff;
    background: var(--pcat-dark);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    text-align: left;
    transition: background .18s ease, border-color .18s ease;
}

.pcat-card-cta span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.pcat-card-cta-icon {
    flex: 0 0 auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
}

.pcat-card-cta:hover {
    border-color: var(--pcat-accent);
    background: var(--pcat-accent);
}

html[lang="ru"] .pcat-sidebar,
html[lang="kk"] .pcat-sidebar {
    font-size: 13px;
}

html[lang="ru"] .pcat-layout,
html[lang="kk"] .pcat-layout {
    grid-template-columns: 312px minmax(0, 1fr);
}

html[lang="ru"] .pcat-card-cta,
html[lang="kk"] .pcat-card-cta {
    min-height: 48px;
}

@media (max-width: 1200px) {
    .pcat-layout,
    html[lang="ru"] .pcat-layout,
    html[lang="kk"] .pcat-layout {
        grid-template-columns: 252px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 820px) {
    .pcat-page {
        width: calc(100% - 24px);
        padding-top: 22px;
    }

    .pcat-hero {
        padding: 18px;
    }

    .pcat-layout,
    html[lang="ru"] .pcat-layout,
    html[lang="kk"] .pcat-layout {
        grid-template-columns: 1fr;
    }

    .pcat-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-bottom: 0;
    }

    .pcat-filter-group {
        border-right: 1px solid var(--pcat-line);
        border-bottom: 1px solid var(--pcat-line);
    }

    .pcat-toolbar {
        align-items: stretch;
    }
}

@media (max-width: 560px) {
    .pcat-sidebar {
        grid-template-columns: 1fr;
    }

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

    .pcat-sort {
        align-items: stretch;
        flex-direction: column;
    }

    .pcat-sort select {
        width: 100%;
        max-width: none;
    }
}

/* C0027: compact catalog hero and dual B2B actions */
.pcat-breadcrumb {
    display: none !important;
}

.pcat-hero {
    min-height: 0;
    margin: 0 0 18px;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 22px;
    border-left-width: 4px;
}

.pcat-hero h1 {
    margin: 0;
    font-size: clamp(24px, 2.15vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.pcat-hero p {
    min-width: 0;
    max-width: none;
    margin: 0;
    padding-left: 20px;
    border-left: 1px solid var(--pcat-line-strong);
    color: #56626e;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.pcat-card-actions {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr);
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
}

.pcat-card-action {
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #172432;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.pcat-card-action-detail {
    color: #172432;
    background: #fff;
}

.pcat-card-action-detail:hover {
    color: #075b96;
    border-color: #0868ac;
    background: #edf5fb;
}

.pcat-card-action-quote {
    color: #fff;
    border-color: #0d1824;
    background: #0d1824;
}

.pcat-card-action-quote:hover {
    color: #fff;
    border-color: #0868ac;
    background: #0868ac;
}

.pcat-card-action-icon {
    flex: 0 0 auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
}

html[lang="ru"] .pcat-hero,
html[lang="kk"] .pcat-hero {
    grid-template-columns: minmax(130px, max-content) minmax(0, 1fr);
}

html[lang="ru"] .pcat-card-actions,
html[lang="kk"] .pcat-card-actions {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.55fr);
}

html[lang="ru"] .pcat-card-action,
html[lang="kk"] .pcat-card-action {
    min-height: 48px;
    font-size: 11px;
}

@media (max-width: 980px) {
    .pcat-hero {
        grid-template-columns: 1fr;
        row-gap: 9px;
        padding: 14px 16px;
    }

    .pcat-hero h1 {
        white-space: normal;
    }

    .pcat-hero p {
        padding: 0;
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .pcat-card-actions,
    html[lang="ru"] .pcat-card-actions,
    html[lang="kk"] .pcat-card-actions {
        grid-template-columns: 1fr;
    }
}


/* C0029: B2B catalog typography readability upgrade
   Minimum visible catalog text is 11px; procurement data is 12px+.
*/
.pcat-page {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.pcat-hero p {
    font-size: 14px;
    line-height: 1.65;
}

.pcat-filter-heading {
    font-size: 14px;
}

.pcat-category,
.pcat-check-list label,
.pcat-radio-list label,
.pcat-result-count,
.pcat-sort {
    font-size: 13px;
}

.pcat-category em {
    min-width: 26px;
    padding: 3px 6px;
    font-size: 11px;
    line-height: 1.25;
}

.pcat-filter-chip,
.pcat-clear {
    font-size: 12px;
}

.pcat-card-category {
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.35;
}

.pcat-card-tags span {
    padding: 4px 7px;
    font-size: 11px;
    line-height: 1.25;
}

.pcat-card h2 {
    font-size: 17px;
    line-height: 1.38;
}

.pcat-card-subtitle {
    font-size: 12px;
    line-height: 1.5;
}

.pcat-card-data-heading {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .06em;
}

.pcat-card-specs div {
    min-height: 34px;
    padding: 7px 10px;
}

.pcat-card-specs dt,
.pcat-card-specs dd {
    font-size: 12px;
    line-height: 1.45;
}

.pcat-card-commercial {
    min-height: 42px;
    padding: 9px 10px;
}

.pcat-card-commercial small {
    font-size: 12px;
    line-height: 1.35;
}

.pcat-card-commercial strong {
    font-size: 14px;
    line-height: 1.35;
}

.pcat-card-action {
    min-height: 44px;
    font-size: 13px;
    line-height: 1.3;
}

.pcat-card-action-icon {
    font-size: 16px;
}

html[lang="ru"] .pcat-card-action,
html[lang="kk"] .pcat-card-action {
    min-height: 50px;
    font-size: 12px;
}

@media (max-width: 520px) {
    .pcat-card h2 {
        font-size: 16px;
    }

    .pcat-card-action,
    html[lang="ru"] .pcat-card-action,
    html[lang="kk"] .pcat-card-action {
        font-size: 13px;
    }
}
