/* Custom styles extending Tailwind for ecomm-website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.animate-in { animation: fadeIn 0.2s ease-out; }
.slide-in-from-right { animation: slideInRight 0.2s ease-out; }

/* Product card hover */
.product-card { transition: all 0.2s ease; }
.product-card:hover { transform: translateY(-2px); }

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

/* Carousel */
#carousel-slides { will-change: transform; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F3F4F6; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }

/* Focus styles */
input:focus, select:focus, textarea:focus { outline: none; }

/* Toast animation */
#toast-container > * { pointer-events: auto; transition: all 0.3s ease; }
