
body.loading {
    pointer-events: none;   /* Disable clicks */
    overflow: hidden;      /* Disable scrolling */
}

body.loading::before {
    content: 'Loading...';   /* Optional: loading text */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 9999;
}

  

  /* Navigation Styles */
  nav {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 0.5rem;
    color: #4a6bff;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: #4a6bff;
}

.nav-links i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.cart-count-nav {
    /* background-color: #4a6bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    margin-left: 0.3rem; */

    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    margin-top: -10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}


/* Footer Styles */
footer {
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    list-style: none;
}

.social-links li {
    margin-left: 1rem;
}

.social-links a {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4a6bff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
}
