/* Products catalog Fix 1: explicit catalog entry and stable focus target. */
.catalog-results-header h2:focus-visible {
    outline: 3px solid rgba(9, 103, 218, 0.38);
    outline-offset: 5px;
}

.homepage-condensed #hardware .hardware-catalog-entry {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.homepage-condensed #hardware .hardware-catalog-helper {
    margin: 0;
    color: #536982;
    font-size: 14px;
    line-height: 1.5;
}

.homepage-condensed #hardware .hardware-catalog-primary {
    display: inline-flex;
    min-height: 48px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border-color: #0967da;
    background: #0967da;
    color: #fff;
    box-shadow: 0 12px 26px rgba(9, 103, 218, 0.2);
}

.homepage-condensed #hardware .hardware-catalog-primary:hover {
    border-color: #0757b8;
    background: #0757b8;
    color: #fff;
}

.homepage-condensed #hardware .hardware-slot-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    max-width: 440px;
    gap: 8px;
}

.homepage-condensed #hardware .hardware-slot-links a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(9, 103, 218, 0.24);
    border-radius: 6px;
    background: #fff;
    color: #075fcb;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 760px) {
    .homepage-condensed #hardware .hardware-catalog-entry .cinema-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .homepage-condensed #hardware .hardware-catalog-entry .cinema-hero-actions > a {
        width: 100%;
        min-height: 48px;
    }

    .homepage-condensed #hardware .hardware-slot-links {
        width: 100%;
        max-width: none;
        gap: 6px;
    }
}

/* Product catalog procurement browser: equipment type -> slot count -> model. */
.product-catalog-page .product-catalog-hero--tool {
    display: grid;
    grid-template-columns: minmax(0, 880px) minmax(260px, 360px);
    gap: 40px;
    min-height: 0;
    padding-top: 104px;
    padding-bottom: 30px;
    align-items: end;
    justify-content: space-between;
}

.product-catalog-page .product-catalog-hero--tool h1 {
    max-width: 760px;
    margin-bottom: 16px;
    font-size: clamp(40px, 4.2vw, 56px);
    line-height: 1.04;
}

.product-catalog-page .product-catalog-hero--tool p {
    max-width: 780px;
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
}

.catalog-language-note {
    display: inline-flex;
    min-height: 28px;
    margin-left: 10px;
    padding: 5px 9px;
    align-items: center;
    border: 1px solid rgba(96, 128, 170, 0.24);
    border-radius: 999px;
    color: #566b84;
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

.catalog-language-status {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 128, 170, 0.24);
    border-radius: 8px;
    color: #19304d;
    font-size: 13px;
    font-weight: 800;
}

.catalog-hero-actions {
    display: flex;
    min-width: 250px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
}

.catalog-hero-actions > a {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 128, 170, 0.28);
    border-radius: 8px;
    color: #17304f;
    font-weight: 800;
    text-align: center;
}

.catalog-hero-actions > .cinema-button {
    border-color: #0967da;
    color: #fff;
}

.catalog-browser {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    width: min(100% - 48px, 1480px);
    margin: 0 auto;
    padding: 28px 0 72px;
    align-items: start;
    scroll-margin-top: 96px;
}

.catalog-browser [hidden] {
    display: none !important;
}

.catalog-filter-panel {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 22px;
    padding-right: 28px;
    border-right: 1px solid rgba(96, 128, 170, 0.2);
}

.catalog-filter-group {
    display: grid;
    gap: 10px;
}

.catalog-filter-label {
    color: #667990;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-category-tabs,
.catalog-model-options {
    display: grid;
    gap: 4px;
}

.catalog-category-tabs button,
.catalog-model-options button,
.catalog-slot-options button {
    min-width: 0;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #21334c;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    text-align: left;
}

.catalog-category-tabs button,
.catalog-model-options button {
    padding: 10px 12px;
}

.catalog-category-tabs button:hover,
.catalog-model-options button:hover,
.catalog-slot-options button:hover {
    border-color: rgba(9, 103, 218, 0.24);
    background: #f4f8fd;
}

.catalog-category-tabs button[aria-selected="true"],
.catalog-model-options button[aria-pressed="true"],
.catalog-slot-options button[aria-pressed="true"] {
    border-color: rgba(9, 103, 218, 0.28);
    background: #eaf3ff;
    color: #075fcb;
}

.catalog-slot-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.catalog-slot-options button {
    display: grid;
    padding: 7px 4px;
    place-items: center;
    text-align: center;
}

.catalog-slot-options button small {
    color: #73849a;
    font-size: 10px;
    font-weight: 700;
}

.catalog-factory-note {
    padding: 14px 0 0;
    border-top: 1px solid rgba(96, 128, 170, 0.18);
}

.catalog-factory-note strong {
    color: #14253d;
    font-size: 13px;
}

.catalog-factory-note p {
    margin: 6px 0 0;
    color: #64758b;
    font-size: 12px;
    line-height: 1.55;
}

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

.catalog-results-header {
    display: flex;
    min-height: 72px;
    margin-bottom: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(96, 128, 170, 0.2);
}

.catalog-results-header span,
.catalog-card-source,
.catalog-capability-panel article > span {
    color: #0967da;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-results-header h2 {
    margin: 4px 0;
    color: #0b1729;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
}

.catalog-results-header p {
    margin: 0 0 12px;
    color: #6b7c91;
    font-size: 13px;
}

.catalog-results-header .cinema-button {
    min-height: 44px;
}

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

.catalog-model-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(96, 128, 170, 0.2);
    border-radius: 8px;
    background: #fff;
}

.catalog-model-card figure {
    display: grid;
    min-height: 250px;
    margin: 0;
    padding: 14px;
    place-items: center;
    background: #f5f8fd;
}

.catalog-model-card figure img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.catalog-model-card-body {
    display: flex;
    min-width: 0;
    padding: 18px;
    flex-direction: column;
}

.catalog-model-card h3,
.catalog-capability-panel h3 {
    margin: 5px 0 8px;
    color: #101f35;
    font-size: 22px;
    line-height: 1.2;
}

.catalog-model-card-body > p,
.catalog-capability-panel p {
    margin: 0 0 14px;
    color: #5a6c83;
    font-size: 13px;
    line-height: 1.55;
}

.catalog-model-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
    margin: 0 0 16px;
}

.catalog-model-card dt {
    color: #7b899a;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-model-card dd {
    margin: 2px 0 0;
    color: #263950;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.catalog-model-card .catalog-card-note {
    margin-top: -4px;
    color: #7b4d0e;
}

.catalog-card-actions {
    display: flex;
    margin-top: auto;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-card-actions a,
.catalog-capability-panel a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #0967da;
    font-size: 13px;
    font-weight: 800;
}

.catalog-card-actions a + a {
    color: #4f6078;
}

.catalog-technical-details {
    margin-top: 24px;
    border-top: 1px solid rgba(96, 128, 170, 0.2);
}

.catalog-technical-details > summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    color: #21334c;
    cursor: pointer;
    font-weight: 800;
}

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

.catalog-capability-panel article {
    padding: 24px 0;
    border-top: 1px solid rgba(96, 128, 170, 0.2);
}

.catalog-capability-panel article:nth-child(-n + 2) {
    border-top: 0;
}

@media (max-width: 1180px) {
    .catalog-model-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .product-catalog-page .product-catalog-hero--tool {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 100px;
    }

    .catalog-hero-actions {
        min-width: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .catalog-hero-actions > a {
        flex: 1 1 220px;
    }

    .catalog-browser {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .catalog-filter-panel {
        position: static;
        gap: 16px;
        padding: 0 0 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(96, 128, 170, 0.2);
    }

    .catalog-category-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .catalog-model-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .catalog-category-tabs button,
    .catalog-model-options button {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .product-catalog-page .product-catalog-hero--tool {
        gap: 18px;
        padding-top: 88px;
        padding-bottom: 26px;
    }

    .product-catalog-page .product-catalog-hero--tool h1 {
        margin-top: 8px;
        font-size: 36px;
        line-height: 1.06;
    }

    .product-catalog-page .product-catalog-hero--tool p {
        font-size: 15px;
    }

    .catalog-browser {
        width: calc(100% - 32px);
        padding-top: 14px;
        padding-bottom: 48px;
    }

    .catalog-category-tabs,
    .catalog-model-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-slot-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-category-tabs button,
    .catalog-model-options button,
    .catalog-slot-options button {
        min-height: 48px;
        font-size: 13px;
    }

    .catalog-results-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 16px;
    }

    .catalog-results-header .cinema-button {
        width: 100%;
        min-height: 48px;
    }

    .catalog-model-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .catalog-model-card figure {
        min-height: 100%;
        padding: 8px;
    }

    .catalog-model-card figure img {
        height: 190px;
    }

    .catalog-model-card-body {
        padding: 15px;
    }

    .catalog-model-card h3 {
        font-size: 19px;
    }

    .catalog-model-card-body > p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .catalog-model-card dl {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .catalog-card-actions {
        gap: 8px;
    }

    .catalog-card-actions a {
        min-width: 0;
    }

    .catalog-capability-panel {
        grid-template-columns: 1fr;
    }

    .catalog-capability-panel article:nth-child(2) {
        border-top: 1px solid rgba(96, 128, 170, 0.2);
    }
}

@media (max-width: 430px) {
    .product-catalog-page .catalog-hero-actions > .cinema-button {
        min-height: 44px;
    }
}
