.g3-home-bestsellers {
    padding-block: var(--g3-section-gap);
}

.g3-home-bestsellers__heading {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.g3-home-bestsellers__heading h2 {
    margin: 0 0 .45rem;
    color: var(--g3-ink);
    font-size: clamp(1.75rem, 3.25vw, 2.6rem);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.14;
    text-wrap: balance;
}

.g3-home-bestsellers__heading p,
.g3-home-bestseller p {
    margin: 0;
    color: var(--g3-muted);
    font-size: .9375rem;
    line-height: 1.7;
}

.g3-home-bestsellers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: clamp(1rem, 3vw, 2.5rem);
}

.g3-home-bestseller {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--g3-line);
}

.g3-home-bestseller__photo {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 .3rem;
    border-radius: var(--g3-radius);
    background: #fff;
}

.g3-home-bestseller__photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 14rem;
    object-fit: contain;
}

.g3-home-bestseller h3 {
    margin: 0;
    color: var(--g3-ink);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.25;
    text-wrap: balance;
}

.g3-home-bestseller .g3-home-link {
    margin-top: auto;
}

@media (max-width: 39.99rem) {
    .g3-home-bestsellers__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .g3-home-bestseller__photo,
    .g3-home-bestseller__photo img {
        max-height: 11rem;
    }
}
