.listing-logo {
    height: 50px;
    margin-bottom: 60px;
}
a:has(.listing-logo) {
    display: block;
    width: fit-content;
}

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

.category-description {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.category-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.category-images > img {
    border-radius: 4px;
    transition: 500ms ease-in-out;
}
.category-images > img:hover {
    transform: scale(104%);
}

.flex-side-by-side {
    gap: unset;
}

.flex-side-by-side > img {
    transition: 500ms ease-in-out;
}
.flex-side-by-side > img:hover {
    transform: scale(104%);
}

.flex-side-by-side > .category-description {
    flex-basis: 400px;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.3);
    list-style-type: disc;
}
.product-features > li {
    margin-left: 20px;
}

.grid-product-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    
}

.full-width {
    max-width: unset;
    width: 100%;
}

.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;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
}

.product-listing>img {
    display: block;
    width: 200px;
    filter: drop-shadow(0px 0px 2px rgb(0, 0, 0, 0.2));
    transition: 500ms ease-in-out;
}

.product-listing:hover>img {
    transform: scale(104%);
}


.product-description {
    margin-bottom: 16px;
}

.product-text-container > ul {
    margin-bottom: 30px;
}

.product-text-container > ul > li {
    font-weight: 500;
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.3);
    margin: 8px 0px;
}



.product-text-container {
    flex-basis: 400px;
    flex-grow: 1;
}

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

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


.download-button,
.product-form-button {
    display: block;
    background-color: #FFFFFF;
    width: fit-content;
    border-radius: 2px;
    font-size: 1.4rem;
    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;
    margin-bottom: 18px;
    width: 160px;
    text-align: center;
    cursor: pointer;
}

.product-form-button-large {
    font-size: 2rem;
    width: 220px;
    margin-top: 30px;
    border-color: var(--brand-color);
    box-shadow: 0px 0px 2px rgb(from var(--brand-color) r g b / 0.5);
    font-weight: 600;
}

.justify-center {
    justify-self: center;
}

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

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

.download-button-large {
    font-size: 2rem;
    width: 220px;
    margin-top: 30px;
    border-color: var(--brand-color);
    box-shadow: 0px 0px 2px rgb(from var(--brand-color) r g b / 0.5);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-button-large > img {
    height: 2.0rem;
    margin-right: 6px;
}

.title-features {
    text-transform: uppercase;
    font-size: 3.4rem;
    line-height: calc(3.4rem * 1.3);
    margin-bottom: 10px;
}
.title-features::after {
    display: block;
    background-color: var(--brand-color);
    border-radius: 2px;
    position: absolute;
    content: "";
    width: 40px;
    height: 6px;
    bottom: -6px;
}

.specs-image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.specs-image-container > img {
    transition: 500ms ease-in-out;
}
.specs-image-container > img:hover {
    transform: scale(104%);
}

.specs-table {
    display: flex;
    justify-content: center;
}

.specs-table > tbody {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
    gap: 20px;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.specs-table tr {
    display: block;
    max-width: 300px;
    border: 1px solid grey;
    box-shadow: 0 0 2px rgb(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 8px;
    width: 100%;
    transition: 200ms ease-in-out;
}

.specs-table tr:hover {
    transform: scale(102%);
    background-color: rgb(0, 0, 0, 0.05);
}

.specs-table :is(th, td) {
    display: block;
    text-align: center;
}

.specs-table th {
    font-weight: 600;
    font-size: 1.8rem;
}

.margin-bottom {
    margin-bottom: 20px;
}


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

    .listing-logo {
        height: 50px;
    }

    .product-title,
    .product-sub-title,
    .product-description {
        text-align: center;
        display: block;
    }

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

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

    .product-text-container > ul > li{
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.3);
        text-align: center;
        width: 100%;
    }

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

    .bubble-container-title {
        font-size: 2.4rem;
        line-height: calc(2.4rem * 1.5);
        margin-bottom: 6px;
    }

    .title-features {
        font-size: 2.8rem;
        line-height: calc(2.8rem * 1.3);
        margin-bottom: 14px;
    }
    .title-features::after {
        width: min(40px, 50%);
        left: calc(50% - min(40px, 50%) / 2);
    }

    .resource-links {
        display: flex;
        justify-content: center;
    }

    .download-button {
        font-size: 1.2rem;
        width: 140px;
    }

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

    .product-form-button-large, .download-button-large {
        font-size: 1.8rem;
        width: 200px;
    }

    .mobile-center {
        width: 100%;
        text-align: center;
    }

    .specs-table th {
        font-size: 1.6rem;
    }
    .specs-table td {
        font-size: 1.4rem;
    }
}