/* Custom CSS to complement Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar for a premium look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
    background: #16a34a; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15803d; 
}

/* Hide scrollbar for cart items but allow scroll */
#cart-items-container::-webkit-scrollbar {
    width: 4px;
}

/* Cart Overlay transitions */
.cart-overlay-active {
    display: block !important;
    opacity: 1 !important;
}

.cart-drawer-active {
    transform: translateX(0) !important;
}

/* Product Card Hover Effect */
.product-card {
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.product-image-container img {
    transition: transform 0.5s ease;
}
.product-card:hover .product-image-container img {
    transform: scale(1.05);
}
