.ga-bestsellers {
    background: #f7f8f3;
}

.ga-bestsellers-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.ga-bestsellers-heading p:not(.ga-kicker) {
    margin-top: 8px;
    color: #52645a;
}

.ga-bestsellers-controls {
    display: flex;
    gap: 9px;
    flex-shrink: 0;
}

.ga-bestsellers-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid #bfd2c4;
    border-radius: 11px;
    background: #fff;
    color: #173f34;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
}

.ga-bestsellers-arrow:hover:not(:disabled) {
    background: #173f34;
    color: #fff;
}

.ga-bestsellers-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.ga-bestsellers-arrow:focus-visible,
.ga-bestsellers-track:focus-visible {
    outline: 3px solid #d6b400;
    outline-offset: 3px;
}

.ga-bestsellers-track {
    --ga-bs-gap: 16px;
    display: flex;
    gap: var(--ga-bs-gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 3px 2px 14px;
    margin-top: 24px;
}

.ga-bestsellers-track > .ga-product-card {
    flex: 0 0 calc((100% - 4 * var(--ga-bs-gap)) / 5);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

@media (max-width: 1100px) {
    .ga-bestsellers-track > .ga-product-card {
        flex-basis: calc((100% - 2 * var(--ga-bs-gap)) / 3);
    }
}

@media (max-width: 650px) {
    .ga-bestsellers-heading {
        align-items: flex-end;
    }

    .ga-bestsellers-track > .ga-product-card {
        flex-basis: min(78%, 285px);
    }

    .ga-bestsellers-controls {
        gap: 6px;
    }

    .ga-bestsellers-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ga-bestsellers-track {
        scroll-behavior: auto;
    }
}
