.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    overscroll-behavior-y: contain;
}

button,
a,
input {
    touch-action: manipulation;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.product-card {
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.product-card:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 151, 169, 0.25);
    box-shadow: 0 10px 24px rgba(0, 84, 142, 0.08);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .view {
        padding-bottom: 5.5rem;
    }
}

@media (min-width: 768px) {
    body {
        padding-bottom: 7rem;
    }

    nav {
        left: 50% !important;
        right: auto !important;
        bottom: 1rem !important;
        width: min(42rem, calc(100vw - 2rem));
        transform: translateX(-50%);
        border: 1px solid rgba(0, 84, 142, 0.12);
        border-radius: 9999px;
        overflow: hidden;
        box-shadow: 0 18px 50px rgba(0, 58, 98, 0.16);
    }

    nav .nav-tab {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 2rem;
    }

    nav {
        top: 0.75rem !important;
        bottom: auto !important;
        left: auto !important;
        right: max(1rem, calc((100vw - 72rem) / 2)) !important;
        width: 24rem;
        transform: none;
        box-shadow: 0 8px 28px rgba(0, 58, 98, 0.16);
    }

    nav .nav-tab {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }
}
