/* Page introduction */

.products-page {
    background-color: #f7fbfe;
    min-height: 100vh;
    padding-top: 1.75rem;
    padding-bottom: 5rem;
}

.products-page-eyebrow {
    color: #0d6efd;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.products-page-title {
    color: #0b1641;
    font-size: clamp(2.25rem, 3.8vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.products-page-description {
    color: #5f6477;
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Filters */

.product-filters {
    background-color: #fff;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
}

.product-filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.product-filter-row + .product-filter-row {
    border-top: 1px solid #e5ebf2;
}

.product-filter-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 11rem;
    color: #0b1641;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background-color: #eef4ff;
    color: #0d6efd;
    border-radius: 7px;
    font-size: 1.1rem;
}

.product-filter-options {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    gap: 0.4rem;
}

.product-filter-button {
    display: inline-block;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dce3ec;
    border-radius: 5px;
    color: #5f6477;
    padding: 0.375rem 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
    transition: background-color 0.15s, border-color 0.15s;
}

.product-filter-button:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.product-filter-button.active {
    background-color: #eaf2ff;
    border-color: #0d6efd;
    color: #0d6efd;
}

/* Results */

.product-results-count {
    color: #5f6477;
    font-size: 1rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-list-item {
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr) 24px;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    border: 1px solid #e0e8f2;
    border-radius: 10px;
    padding: 1.1rem 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.product-list-item:hover {
    border-color: #b6cfff;
    box-shadow: 0 4px 18px rgba(11, 22, 65, 0.04);
}

.product-list-identity {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}

.product-list-logo {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #0b1641;
    overflow: hidden;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.product-list-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 7px;
}

.product-list-category {
    color: #6f748b;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-list-name {
    color: #0b1641;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.product-list-summary {
    color: #5f6477;
    font-size: 0.95rem;
    line-height: 1.35;
}

.product-list-reason {
    border-left: 4px solid #0d6efd;
    padding-left: 1.75rem;
    min-width: 0;
}

.product-list-reason-label {
    color: #6f748b;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-list-reason-copy {
    color: #0b1641;
    font-size: 1rem;
    line-height: 1.45;
}

.product-list-reason-copy strong {
    font-weight: 700;
}

.product-list-arrow {
    color: #0d6efd;
    font-size: 2rem;
    font-weight: 300;
    text-align: right;
}

.product-empty-state {
    padding: 3rem 1rem;
    text-align: center;
    color: #5f6477;
    background: #fff;
    border: 1px solid #e0e8f2;
    border-radius: 10px;
}

/* Responsive */

@media (max-width: 1199.98px) {
    .product-filter-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-filter-label {
        flex: none;
    }
}

@media (max-width: 991.98px) {
    .product-list-item {
        grid-template-columns: 1fr 24px;
    }

    .product-list-reason {
        grid-column: 1;
    }

    .product-list-arrow {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

@media (max-width: 767.98px) {
    .products-page {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .product-filters {
        padding: 0.75rem 1rem;
    }

    .product-list-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .product-list-identity {
        gap: 1rem;
    }

    .product-list-logo {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        font-size: 1.5rem;
    }

    .product-list-name {
        font-size: 1.05rem;
    }

    .product-list-reason {
        padding-left: 1rem;
    }
}

/* Find a product banner */

.find-tool-banner {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background-color: #e8f3ff;
    border: 1px solid #d9eafd;
    border-radius: 10px;
}

.find-tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #d7eaff;
    color: #0d6efd;
    font-size: 2rem;
    font-weight: 700;
}

.find-tool-eyebrow {
    color: #0d6efd;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.find-tool-heading {
    color: #0b1641;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.find-tool-description {
    color: #5f6477;
    font-size: 0.9rem;
    line-height: 1.45;
}

.find-tool-benefits {
    border-left: 1px solid #c3dcf5;
    padding-left: 1.75rem;
    margin: 0;
    list-style: none;
    color: #405174;
    font-size: 0.88rem;
    white-space: nowrap;
}

.find-tool-benefits li + li {
    margin-top: 0.45rem;
}

.find-tool-check {
    color: #0d6efd;
    font-weight: 700;
    margin-right: 0.4rem;
}

.find-tool-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    white-space: nowrap;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .find-tool-banner {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .find-tool-benefits {
        grid-column: 2;
        border-left: 0;
        padding-left: 0;
    }

    .find-tool-cta {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .find-tool-banner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .find-tool-benefits,
    .find-tool-cta {
        grid-column: 1;
    }

    .find-tool-cta {
        width: 100%;
    }
}
