/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.store-nav-badge {
    margin-left: 0.65rem;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    -webkit-text-fill-color: #3730a3;
}

.nav-shell-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 0.8rem;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.logo i {
    margin-right: 0.8rem;
    color: #3b82f6;
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    z-index: 1000;
    top: 100%;
    left: 0;
    border: 3px solid #3b82f6;
    overflow: hidden;
}

.dropdown-content a {
    color: #2c3e50;
    padding: 1rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    font-weight: 500;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transform: translateX(8px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-avatar-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    font-weight: 500;
}

.user-avatar-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border: 2px solid #3b82f6;
    z-index: 1000;
    margin-top: 10px;
}

.user-dropdown.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.user-info {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
    border-radius: 13px 13px 0 0;
}

.user-info span {
    font-weight: 600;
    color: #2c3e50;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.user-dropdown a:last-child {
    border-bottom: none;
    border-radius: 0 0 13px 13px;
}

.user-dropdown a:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transform: translateX(5px);
}

.user-dropdown a i {
    margin-right: 0.8rem;
    width: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        margin-right: 0.6rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
        margin-right: 0.5rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}


/* Cart Button */
.cart-btn {
    position: relative;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cart-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4) !important;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Auth Button */
.auth-btn {
    background: #2563eb !important;
    color: white !important;
    border: 1px solid transparent;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.auth-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24) !important;
    background: #1d4ed8 !important;
}

.login-btn {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.login-btn:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.register-btn {
    background: #2563eb !important;
    color: #ffffff !important;
}
