/* Google Fonts Fallback */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Material Symbols configuration - Enhanced for reliability */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', 'Material Icons', 'Roboto', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 24px !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    direction: ltr !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    vertical-align: middle !important;
    user-select: none !important;
    text-rendering: optimizeLegibility !important;
}

.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}

/* Safety overrides for Indigo colors */
.bg-indigo-600 {
    background-color: #4f46e5 !important;
}

.bg-indigo-700 {
    background-color: #4338ca !important;
}

.text-indigo-600 {
    color: #4f46e5 !important;
}

.border-indigo-500\/50 {
    border-color: rgba(99, 102, 241, 0.5) !important;
}

.border-indigo-500\/30 {
    border-color: rgba(99, 102, 241, 0.3) !important;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

body {
    min-height: 100vh;
}

/* Banner Carousel Enhancements */
.banner-slide {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-dot {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Product Cards */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Cart Sidebar & Overlays */
#cartSidebar {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cartOverlay {
    transition: opacity 0.3s ease;
}

#cartBar {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modal Enhancements */
.modal-open {
    overflow: hidden;
}

@keyframes modalContentIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-modal-content {
    animation: modalContentIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Specific Store Fixes */
.object-contain {
    object-fit: contain !important;
}

/* Fix for corrupted text-white class */
.text-white {
    --tw-text-opacity: 1 !important;
    color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
}

/* Custom transition override */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

/* User overrides requested via chat */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.border-slate-100 {
    --tw-border-opacity: 1;
    border-color: rgb(215 215 215);
}