body {
    font-family: "Cairo", sans-serif;
    scroll-behavior: smooth;
}

.hidden {
    display: none;
}

.price-old {
    text-decoration: line-through;
}

.deal-glow {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(3, 203, 230, 0.836);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
    }
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateY(-100%);
    opacity: 0;
}

#mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
}

#mobile-menu-btn svg {
    transition: transform 0.3s ease;
}

#mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

/* Mobile Menu Animation */
.mobile-menu-slide {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Menu Item Hover Effects */
#mobile-menu a:hover {
    transform: translateX(-5px);
}

/* Mobile Menu Search Input */
#mobile-menu input:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Mobile Menu Responsive */
@media (max-width: 768px) {
    #mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 40;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* Search Results Styling */
#search-results,
#mobile-search-results {
    min-width: 300px;
}

.search-result-item:hover {
    background-color: #f0fdfa;
}

/* Dashboard Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#dashboard-page > div {
    animation: fadeIn 0.3s ease-out;
}