/* Toko Nandi - Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Font */
body {
    font-family: 'Inter', sans-serif;
}

/* Animation for toast */
@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.animate-bounce-in {
    animation: bounce-in 0.3s ease-out;
}

/* Animation for mobile menu */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.2s ease-out;
}

/* Hide scrollbar but allow scroll */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

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

/* Custom scrollbar for order summary */
#order-summary::-webkit-scrollbar {
    width: 4px;
}

#order-summary::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#order-summary::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#order-summary::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}