.listing-logo {
    height: 40px;
    margin-bottom: 60px;
}

.title-underline::after {
    background-color: var(--category-color);
}

.category-subtitle {
    display: block;
    font-weight: 600;
    font-size: 2.4rem;
    margin-bottom: 40px;
}

.category-list-feature {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 40px;
    margin-bottom: 60px;
    
}
.category-list-feature:last-child {
    margin-bottom: 0;
}
.category-list-feature > figcaption {
    flex-basis: 500px;
    flex-grow: 1;
}
.category-list-feature>figcaption > p {
    margin-bottom: 20px;
}
.category-list-feature>figcaption > p:last-child {
    margin-bottom: 0;
}
.category-list-feature>figcaption > p > strong {
    display: block;
    font-weight: 600;
}
.category-list-feature > img {
    width: 260px;
    border-radius: 4px;
    transition: 500ms ease-in-out;
}
.category-list-feature > img:hover {
    transform: scale(102%);
}

.feature-title {
    display: block;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
}

.product-listing {
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 24px;
    border: 2px solid rgb(255, 255, 255, 0);
    transition: 100ms ease-in-out;
    margin: 40px 0px;
}
.product-listing > img {
    transition: 500ms ease-in-out;
    object-fit: contain;
    width: 100%;
    max-height: 500px;
    filter: drop-shadow(0px 0px 2px rgb(0 0 0 / 0.2));
    
}
.product-listing:hover > img {
    transform: scale(102%);
}

.product-listing:hover {
    border-color: grey;
    background-color: #FAFAFA;
}

.product-title {
    color: var(--category-color);
    font-size: 4.0rem;
    line-height: calc(4.0rem * 1.4);
    font-weight: 800;
    margin: 0;
}

.product-sub-title {
    font-size: 2.0rem;
    line-height: calc(2.0rem * 1.4);
    font-weight: 700;
    margin: 0;
    display: block;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 10px;
    margin-top: 20px;
}

.product-specs {
    margin-top: 20px;
    margin-bottom: 32px;
    font-size: 1.6rem;
    line-height: 1.8;
    width: 100%;
    
}

.product-specs th {

    text-align: left;
    width: 300px;
    flex-grow: 1;
    font-weight: 600;
    padding-left: 4px;
}

.product-specs tr {
    display: block;
    margin: 10px 0px;
}

.product-specs tr::after {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgb(from var(--category-color) r g b), rgb(from var(--category-color) r g b / 0) 100%);
    content: "";
    display: block;
    border-radius: 4px;
}

.product-listing > figure {
    margin-bottom: 32px;
}

.product-listing > figure > img {
    border-radius: 4px;
}

.product-listing > figure > figcaption {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--category-color);
    margin-bottom: 10px;
    margin-left: 20px;
}

.product-form-button, .download-button {
    display: block;
    background-color: #FFFFFF;
    width: fit-content;
    border-radius: 2px;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 6px 0px;
    transition: 100ms ease-in-out;
    border: 1px solid var(--category-color);
    box-shadow: 0px 0px 2px rgb(from var(--category-color) r g b / 0.5);
    text-transform: uppercase;
    width: 200px;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
}

.download-button>img {
    height: 18px;
    display: inline;
    vertical-align: text-bottom;
    margin-left: 2px;
}

:is(.product-form-button, .download-button):hover {
    background-color: #EEEEEE;
}


@media only screen and (max-width: 950px) {
    .listing-logo {
        height: 30px;
        margin-bottom: 40px;
    }

    .category-subtitle {
        text-align: center;
        font-size: 2rem;
    }

    .category-list-feature {
        flex-direction: column;
    }
    .category-list-feature > figcaption {
        flex-basis: unset;
        text-align: center;
    }

    .feature-title {
        font-size: 1.4rem;
        line-height: calc(1.4rem * 1.5);
    }

    .product-title,
    .installation-title {
        font-size: 3rem;
        line-height: calc(3rem * 1.4);
        text-align: center;
    }

    .product-sub-title,
    .installation-sub-title {
        font-size: 1.8rem;
        line-height: calc(1.8rem * 1.4);
        text-align: center;
    }

    .product-specs {
        font-size: 1.2rem;
        line-height: 1.6rem;
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .product-specs tbody {
        display: block;
    }

    .product-specs :is(tbody, td, th) {
        display: block;
    }

    .product-specs tr {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        align-items: center;
        justify-items: center;
        margin: 0;
        column-gap: 20px;
    }

    .product-specs tr:after {
        flex-basis: 100%;
        margin: 10px;
        background: linear-gradient(to right, rgb(from var(--category-color) r g b / 0) 0%, rgb(from var(--category-color) r g b) 50%, rgb(from var(--category-color) r g b / 0) 100%);

    }

    .product-specs th {
        flex-basis: 1px;
        flex-grow: 1;
        text-align: center;
    }

    .product-specs td {
        width: auto;
        flex-basis: 1px;
        flex-grow: 1;
        text-align: center;
    }

    .product-listing > figure > figcaption {
        font-size: 2rem;
    }

    .download-button {
        font-size: 1.6rem;
        justify-self: center;
        width: 160px;
    }

    .product-form-button {
        justify-self: center;
        font-size: 1.6rem;
        width: 160px;
    }

    .installation-figure>figcaption {
        text-align: center;
    }

    .installation-figure>img {
        width: 100%;
        max-height: 300px;
    }
}