html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--site-scroll-header, 16px);
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

@media (max-width: 991px) {
    html:has(.app-mobile-bottom-nav) {
        scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }
}

@media (pointer: fine) {
    html .desktop-product-row {
        scrollbar-width: thin;
        scrollbar-color: #b98989 #f4eded;
    }

    html .desktop-product-row::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    html .desktop-product-row::-webkit-scrollbar-thumb {
        background: #b98989;
        border-radius: 999px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html,
    html .desktop-product-row,
    html .mobile-home-product-row,
    html .mobile-category-grid,
    html .mobile-1mg-rail,
    html .mobile-1mg-content {
        scroll-behavior: auto;
    }
}
