/* Apple-Inspired Design - Additional Enhancements */

/* Enhanced Typography */
.store-header h1,
.store-navbar .nav-link,
.store-footer h5,
.store-footer h6 {
    font-family: 'Avenir Next World', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* Enhanced Shadows and Depth */
.store-header {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.store-navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

/* Enhanced Hover Effects */
.store-navbar .navbar-nav .nav-link:hover {
    background-color: rgba(0, 122, 255, 0.08) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15) !important;
}

.store-navbar .navbar-nav .nav-link.active {
    background-color: rgba(0, 122, 255, 0.12) !important;
    color: #007AFF !important;
    font-weight: 600 !important;
}

/* Enhanced Form Controls */
.store-navbar .form-control {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
}

.store-navbar .form-control:focus {
    transform: scale(1.02) !important;
    transition: all 0.2s ease !important;
}

/* Enhanced Buttons */
.store-navbar .btn {
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

.store-navbar .btn:hover {
    transform: translateY(-2px) !important;
    transition: all 0.2s ease !important;
}

/* Enhanced Icons */
.cart-icon, .user-menu {
    font-size: 1.1rem !important;
    opacity: 0.9 !important;
}

.cart-icon:hover, .user-menu:hover {
    opacity: 1 !important;
    transform: translateY(-1px) scale(1.05) !important;
}

/* Enhanced Cart Badge */
.cart-badge {
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Enhanced Footer */
.store-footer {
    background: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 100%) !important;
}

.store-footer .social-links a {
    font-size: 1.1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.store-footer .social-links a:hover {
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.25) !important;
}

/* Enhanced Language Switcher */
.language-switcher .dropdown-toggle {
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

.language-switcher .dropdown-toggle:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15) !important;
}

/* Enhanced Currency Badge */
.currency-badge .badge {
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    transition: all 0.2s ease !important;
}

.currency-badge .badge:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 50%, #007AFF 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Store Logo */
.store-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.store-logo:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) !important;
    transform: scale(1.05) !important;
}

/* Enhanced Navigation Items */
.store-navbar .navbar-nav .nav-item {
    margin: 0 0.125rem !important;
}

.store-navbar .navbar-nav .nav-link {
    position: relative !important;
    overflow: hidden !important;
}

.store-navbar .navbar-nav .nav-link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent) !important;
    transition: left 0.5s ease !important;
}

.store-navbar .navbar-nav .nav-link:hover::before {
    left: 100% !important;
}

/* Enhanced Search Bar */
.store-navbar .form-control {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.store-navbar .form-control:focus {
    transform: scale(1.02) !important;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1), 0 4px 12px rgba(0, 122, 255, 0.15) !important;
}

/* Enhanced Dropdown Menus */
.dropdown-menu {
    animation: slideDown 0.2s ease !important;
    transform-origin: top center !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.dropdown-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dropdown-item:hover {
    transform: translateX(4px) !important;
    background-color: rgba(0, 122, 255, 0.08) !important;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .store-header h1 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
    }
    
    .store-navbar .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .store-navbar .form-control {
        min-width: 250px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .store-header h1 {
        font-size: 1.1rem !important;
    }
    
    .store-navbar .navbar-nav .nav-link {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .store-navbar .form-control {
        min-width: 200px !important;
        font-size: 0.85rem !important;
    }
    
    .store-logo {
        max-height: 35px !important;
    }
}

/* Enhanced RTL Support */
[dir="rtl"] .store-navbar .navbar-nav .nav-link::before {
    left: 100% !important;
    right: -100% !important;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent) !important;
}

[dir="rtl"] .store-navbar .navbar-nav .nav-link:hover::before {
    left: -100% !important;
    right: 100% !important;
}

[dir="rtl"] .dropdown-item:hover {
    transform: translateX(-4px) !important;
}

/* Enhanced Focus States */
.store-navbar .nav-link:focus,
.store-navbar .btn:focus,
.store-navbar .form-control:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2) !important;
}

/* Enhanced Loading States */
.store-navbar .btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    .store-navbar .navbar-nav .nav-link,
    .store-navbar .btn,
    .store-navbar .form-control,
    .cart-icon,
    .user-menu,
    .store-logo,
    .store-footer .social-links a {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* Enhanced Print Styles */
@media print {
    .store-header,
    .store-navbar,
    .store-footer {
        background: white !important;
        box-shadow: none !important;
    }
    
    .store-navbar .navbar-nav .nav-link:hover,
    .store-navbar .btn:hover {
        background: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

