.listing-logo {
    height: 80px;
    margin-bottom: 20px;
}
a:has(.listing-logo) {
    display: block;
    width: fit-content;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.product-listing {
    flex-grow: 0;
    flex-basis: 370px;
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 24px;
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 300px 50px 160px 60px 1fr;
    justify-content: center;
    justify-items: center;
    align-items: start;
    gap: 10px;
    border: 2px solid rgb(255, 255, 255, 0);
    transition: 100ms ease-in-out;
}
.product-listing:hover {
    border-color: grey;
    background-color: #FAFAFA;
}
.product-listing > img {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 0px 2px rgb(0, 0, 0, 0.2));
    transition: 500ms ease-in-out;
    object-fit: contain;
}
.product-listing:hover > img {
    transform: scale(104%);
}

.title-container {
    width: 100%;
}
.product-title {
    display: block;
    font-size: 3rem;
    line-height: calc(3rem * 1.1);
    font-weight: 800;
    margin: 0;
    text-align: center;
    width: 100%;
}
.special {
    display: block;
    font-size: 2rem;
    line-height: calc(2rem * 1.1);
    text-align: center;
    color: rgb(200 0 0);
    font-weight: 500;
    width: 100%;
}

.product-sub-title {
    font-size: 2rem;
    line-height: calc(2rem * 1.5);
    font-weight: 800;
    margin: 0;
    text-align: center;
}
.product-specs {
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.5);
    margin-bottom: 20px;
}

.download-button, .product-form-button {
    display: block;
    background-color: #FFFFFF;
    width: fit-content;
    border-radius: 2px;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 6px 0px;
    transition: 100ms ease-in-out;
    border: 1px solid lightgrey;
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.2);
    text-transform: uppercase;
    width: 180px;
    text-align: center;
    cursor: pointer;
}
.download-button:hover, .download-button:focus, .product-form-button:hover, .product-form-button:focus {
    background-color: #EEEEEE;
}

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



@media only screen and (max-width: 950px) {

    .listing-logo {
        height: 60px;
    }

    .product-listing {
        flex-basis: 340px;
        grid-template-rows: 280px 32px 100px 60px 1fr;
    }
    
    .product-title, .product-sub-title, .product-description {
        text-align: center;
        display: block;
    }

    .product-title {
        font-size: 1.8rem;
        line-height: calc(1.8rem * 1.1);
    }
    .special {
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.1);
    }
    .product-sub-title {
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.4);
    }

    .product-specs {
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.5);    
    }

    .download-button {
        font-size: 1.4rem;
    }

    .product-form-button {
        justify-self: center;
        font-size: 1.4rem;
    }
}