.related-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625rem;
    margin-block: 0 1rem;
}
.related-product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    padding: .4rem;
    border: 1px solid #dde5df;
    border-radius: .6rem;
    background: #f8fbf6;
}
.related-product-photo {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: .3rem;
    background: #fff;
}
.related-product-photo > img:first-child {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.related-product-logo {
    position: absolute;
    inset: .25rem .25rem auto auto;
    max-width: 44%;
    max-height: 1.15rem;
    width: auto;
    height: auto;
    padding: .125rem;
    border-radius: .2rem;
    background: #fff;
}
.related-product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    min-width: 0;
    padding: .45rem .2rem .2rem;
    text-align: center;
}
.related-product-content .related-product-quote {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    min-height: 36px;
    padding: .3rem .55rem;
    border-radius: .375rem;
    background: #ffb900;
    color: #202810;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.related-product-content .related-product-quote:hover { background: #ffca3d; }
.related-product-content .related-product-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    width: 100%;
    max-height: 5.2em;
    color: #23382b;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.related-product-content .related-product-name:hover { text-decoration: underline; }

@media (min-width: 576px) {
    .related-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
}
@media (min-width: 1200px) {
    .related-products-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
