/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Inter', 'Arial', sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #ffffff;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.grid {
    display: grid;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hidden-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* iOS Performance Optimizations */
@supports (-webkit-touch-callout: none) {
    /* Disable ALL backdrop filters on iOS for better performance */
    * {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    
    /* Use solid backgrounds instead of backdrop filters for key elements */
    .navbar {
        background: rgba(26, 26, 46, 0.95) !important;
    }
    
    .hero-sale-text-content {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .modal-overlay {
        background: rgba(0, 0, 0, 0.8) !important;
    }
    
    .chat-window {
        background: rgba(24, 25, 42, 0.98) !important;
    }
    
    .cart-sidebar {
        background: rgba(24, 25, 42, 0.98) !important;
    }
    
    .quickview-overlay {
        background: rgba(0, 0, 0, 0.8) !important;
    }
    
    /* Additional elements that commonly use backdrop filters */
    .product-card,
    .card,
    .glass-effect,
    .frosted-glass,
    .blur-bg,
    .modal-content,
    .dropdown-menu,
    .tooltip,
    .notification,
    .toast {
        background: rgba(24, 25, 42, 0.9) !important;
    }
} 